2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.68.
6
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
11
# This configure script is free software; the Free Software Foundation
12
# gives unlimited permission to copy, distribute and modify it.
13
## -------------------- ##
14
## M4sh Initialization. ##
15
## -------------------- ##
17
# Be more Bourne compatible
18
DUALCASE=1; export DUALCASE # for MKS sh
19
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23
# is contrary to our usage. Disable this feature.
24
alias -g '${1+"$@"}'='"$@"'
27
case `(set -o) 2>/dev/null` in #(
39
# Printing a long string crashes Solaris 7 /usr/bin/printf.
40
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43
# Prefer a ksh shell builtin over an external printf program on Solaris,
44
# but without wasting forks for bash or zsh.
45
if test -z "$BASH_VERSION$ZSH_VERSION" \
46
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48
as_echo_n='print -rn --'
49
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55
as_echo_n='/usr/ucb/echo -n'
57
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62
expr "X$arg" : "X\\(.*\\)$as_nl";
63
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68
as_echo_n='sh -c $as_echo_n_body as_echo'
71
as_echo='sh -c $as_echo_body as_echo'
74
# The user is always right.
75
if test "${PATH_SEPARATOR+set}" != set; then
77
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85
# We need space, tab and new line, in precisely that order. Quoting is
86
# there to prevent editors from complaining about space-tab.
87
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88
# splitting by setting IFS to empty value.)
91
# Find who we are. Look in the path if we contain no directory separator.
94
*[\\/]* ) as_myself=$0 ;;
95
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99
test -z "$as_dir" && as_dir=.
100
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106
# We did not find ourselves, most probably we were run as `sh COMMAND'
107
# in which case we are not to be found in the path.
108
if test "x$as_myself" = x; then
111
if test ! -f "$as_myself"; then
112
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116
# Unset variables that we do not need and which cause bugs (e.g. in
117
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118
# suppresses any "Segmentation fault" message there. '((' could
119
# trigger a bug in pdksh 5.2.14.
120
for as_var in BASH_ENV ENV MAIL MAILPATH
121
do eval test x\${$as_var+set} = xset \
122
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
135
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137
if test "x$CONFIG_SHELL" = x; then
138
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
142
# is contrary to our usage. Disable this feature.
143
alias -g '\${1+\"\$@\"}'='\"\$@\"'
146
case \`(set -o) 2>/dev/null\` in #(
154
as_required="as_fn_return () { (exit \$1); }
155
as_fn_success () { as_fn_return 0; }
156
as_fn_failure () { as_fn_return 1; }
157
as_fn_ret_success () { return 0; }
158
as_fn_ret_failure () { return 1; }
161
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
162
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
163
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
164
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
165
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168
exitcode=1; echo positional parameters were not saved.
170
test x\$exitcode = x0 || exit 1"
171
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
172
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
173
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
174
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
175
test \$(( 1 + 1 )) = 2 || exit 1
177
test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
178
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
179
ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
180
ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181
PATH=/empty FPATH=/empty; export PATH FPATH
182
test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
183
|| test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
184
if (eval "$as_required") 2>/dev/null; then :
189
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
192
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
194
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
197
test -z "$as_dir" && as_dir=.
201
for as_base in sh bash ksh sh5; do
202
# Try only shells that exist, to save several forks.
203
as_shell=$as_dir/$as_base
204
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
205
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
206
CONFIG_SHELL=$as_shell as_have_required=yes
207
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
215
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
216
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
217
CONFIG_SHELL=$SHELL as_have_required=yes
222
if test "x$CONFIG_SHELL" != x; then :
223
# We cannot yet assume a decent shell, so we have to provide a
224
# neutralization value for shells without unset; and this also
225
# works around shells that cannot unset nonexistent variables.
226
# Preserve -v and -x to the replacement shell.
229
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
232
*v*x* | *x*v* ) as_opts=-vx ;;
237
exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
240
if test x$as_have_required = xno; then :
241
$as_echo "$0: This script requires a shell more modern than all"
242
$as_echo "$0: the shells that I found on your system."
243
if test x${ZSH_VERSION+set} = xset ; then
244
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
245
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
247
$as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
248
$0: including any error possibly output before this
249
$0: message. Then install a modern shell, or manually run
250
$0: the script under such a shell if you do have one."
256
SHELL=${CONFIG_SHELL-/bin/sh}
258
# Unset more variables known to interfere with behavior of common tools.
259
CLICOLOR_FORCE= GREP_OPTIONS=
260
unset CLICOLOR_FORCE GREP_OPTIONS
262
## --------------------- ##
263
## M4sh Shell Functions. ##
264
## --------------------- ##
267
# Portably unset VAR.
270
{ eval $1=; unset $1;}
274
# as_fn_set_status STATUS
275
# -----------------------
276
# Set $? to STATUS, without forking.
284
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
294
# Create "$as_dir" as a directory, including parents if necessary.
299
-*) as_dir=./$as_dir;;
301
test -d "$as_dir" || eval $as_mkdir_p || {
305
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
308
as_dirs="'$as_qdir' $as_dirs"
309
as_dir=`$as_dirname -- "$as_dir" ||
310
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
311
X"$as_dir" : 'X\(//\)[^/]' \| \
312
X"$as_dir" : 'X\(//\)$' \| \
313
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
314
$as_echo X"$as_dir" |
315
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
332
test -d "$as_dir" && break
334
test -z "$as_dirs" || eval "mkdir $as_dirs"
335
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
339
# as_fn_append VAR VALUE
340
# ----------------------
341
# Append the text in VALUE to the end of the definition contained in VAR. Take
342
# advantage of any shell optimizations that allow amortized linear growth over
343
# repeated appends, instead of the typical quadratic growth present in naive
345
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
346
eval 'as_fn_append ()
359
# Perform arithmetic evaluation on the ARGs, and store the result in the
360
# global $as_val. Take advantage of shells that can avoid forks. The arguments
361
# must be portable across $(()) and expr.
362
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
370
as_val=`expr "$@" || test $? -eq 1`
375
# as_fn_error STATUS ERROR [LINENO LOG_FD]
376
# ----------------------------------------
377
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
378
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
379
# script with STATUS, using 1 if that was 0.
382
as_status=$1; test $as_status -eq 0 && as_status=1
384
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
385
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
387
$as_echo "$as_me: error: $2" >&2
388
as_fn_exit $as_status
391
if expr a : '\(a\)' >/dev/null 2>&1 &&
392
test "X`expr 00001 : '.*\(...\)'`" = X001; then
398
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
404
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
410
as_me=`$as_basename -- "$0" ||
411
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
412
X"$0" : 'X\(//\)$' \| \
413
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
415
sed '/^.*\/\([^/][^/]*\)\/*$/{
429
# Avoid depending upon Character Ranges.
430
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
431
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
432
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
433
as_cr_digits='0123456789'
434
as_cr_alnum=$as_cr_Letters$as_cr_digits
437
as_lineno_1=$LINENO as_lineno_1a=$LINENO
438
as_lineno_2=$LINENO as_lineno_2a=$LINENO
439
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
440
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
441
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
453
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
457
chmod +x "$as_me.lineno" ||
458
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
460
# Don't try to exec as it changes $[0], causing all sort of problems
461
# (the dirname of $[0] is not the place where we might find the
462
# original and so on. Autoconf is especially sensitive to this).
464
# Exit status is that of the last command.
468
ECHO_C= ECHO_N= ECHO_T=
469
case `echo -n x` in #(((((
471
case `echo 'xy\c'` in
472
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
474
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
481
rm -f conf$$ conf$$.exe conf$$.file
482
if test -d conf$$.dir; then
483
rm -f conf$$.dir/conf$$.file
486
mkdir conf$$.dir 2>/dev/null
488
if (echo >conf$$.file) 2>/dev/null; then
489
if ln -s conf$$.file conf$$ 2>/dev/null; then
491
# ... but there are two gotchas:
492
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
493
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
494
# In both cases, we have to default to `cp -p'.
495
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
497
elif ln conf$$.file conf$$ 2>/dev/null; then
505
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
506
rmdir conf$$.dir 2>/dev/null
508
if mkdir -p . 2>/dev/null; then
509
as_mkdir_p='mkdir -p "$as_dir"'
511
test -d ./-p && rmdir ./-p
515
if test -x / >/dev/null 2>&1; then
518
if ls -dL / >/dev/null 2>&1; then
525
if test -d "$1"; then
531
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
532
???[sx]*):;;*)false;;esac;fi
536
as_executable_p=$as_test_x
538
# Sed expression to map a string onto a valid CPP name.
539
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
541
# Sed expression to map a string onto a valid variable name.
542
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
544
SHELL=${CONFIG_SHELL-/bin/sh}
547
test -n "$DJDIR" || exec 7<&0 </dev/null
551
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
552
# so uname gets run too.
553
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
558
ac_default_prefix=/usr/local
560
ac_config_libobj_dir=.
567
# Identity of this package.
575
ac_unique_file="src/indicator-session.c"
576
# Factoring default headers for most tests.
577
ac_includes_default="\
579
#ifdef HAVE_SYS_TYPES_H
580
# include <sys/types.h>
582
#ifdef HAVE_SYS_STAT_H
583
# include <sys/stat.h>
589
# ifdef HAVE_STDLIB_H
594
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
599
#ifdef HAVE_STRINGS_H
600
# include <strings.h>
602
#ifdef HAVE_INTTYPES_H
603
# include <inttypes.h>
612
ac_subst_vars='am__EXEEXT_FALSE
648
BUILD_GTKLOGOUTHELPER_FALSE
649
BUILD_GTKLOGOUTHELPER_TRUE
651
GTKLOGOUTHELPER_CFLAGS
659
SESSIONSERVICE_CFLAGS
720
INTLTOOL_SERVICE_RULE
722
INTLTOOL_SCHEMAS_RULE
724
INTLTOOL_XML_NOMERGE_RULE
729
INTLTOOL_SOUNDLIST_RULE
736
INTLTOOL_DIRECTORY_RULE
737
INTLTOOL_DESKTOP_RULE
738
intltool__v_merge_options_0
739
intltool__v_merge_options_
740
INTLTOOL_V_MERGE_OPTIONS
755
GSETTINGS_DISABLE_SCHEMAS_COMPILE
757
MAINTAINER_MODE_FALSE
767
INSTALL_STRIP_PROGRAM
809
program_transform_name
822
enable_option_checking
823
enable_maintainer_mode
824
enable_schemas_compile
826
enable_dependency_tracking
836
enable_gtklogouthelper
841
ac_precious_vars='build_alias
855
SESSIONSERVICE_CFLAGS
859
GTKLOGOUTHELPER_CFLAGS
860
GTKLOGOUTHELPER_LIBS'
863
# Initialize some variables set by options.
865
ac_init_version=false
866
ac_unrecognized_opts=
868
# The variables have the same names as the options, with
869
# dashes changed to underlines.
877
program_transform_name=s,x,x,
885
# Installation directory options.
886
# These are left unexpanded so users can "make install exec_prefix=/foo"
887
# and all the variables that are supposed to be based on exec_prefix
888
# by default will actually change.
889
# Use braces instead of parens because sh, perl, etc. also accept them.
890
# (The list follows the same order as the GNU Coding Standards.)
891
bindir='${exec_prefix}/bin'
892
sbindir='${exec_prefix}/sbin'
893
libexecdir='${exec_prefix}/libexec'
894
datarootdir='${prefix}/share'
895
datadir='${datarootdir}'
896
sysconfdir='${prefix}/etc'
897
sharedstatedir='${prefix}/com'
898
localstatedir='${prefix}/var'
899
includedir='${prefix}/include'
900
oldincludedir='/usr/include'
901
docdir='${datarootdir}/doc/${PACKAGE}'
902
infodir='${datarootdir}/info'
907
libdir='${exec_prefix}/lib'
908
localedir='${datarootdir}/locale'
909
mandir='${datarootdir}/man'
915
# If the previous option needs an argument, assign it.
916
if test -n "$ac_prev"; then
917
eval $ac_prev=\$ac_option
923
*=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
928
# Accept the important Cygnus configure options, so we can diagnose typos.
930
case $ac_dashdash$ac_option in
934
-bindir | --bindir | --bindi | --bind | --bin | --bi)
936
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
939
-build | --build | --buil | --bui | --bu)
940
ac_prev=build_alias ;;
941
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
942
build_alias=$ac_optarg ;;
944
-cache-file | --cache-file | --cache-fil | --cache-fi \
945
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
946
ac_prev=cache_file ;;
947
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
948
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
949
cache_file=$ac_optarg ;;
952
cache_file=config.cache ;;
954
-datadir | --datadir | --datadi | --datad)
956
-datadir=* | --datadir=* | --datadi=* | --datad=*)
957
datadir=$ac_optarg ;;
959
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
960
| --dataroo | --dataro | --datar)
961
ac_prev=datarootdir ;;
962
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
963
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
964
datarootdir=$ac_optarg ;;
966
-disable-* | --disable-*)
967
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
968
# Reject names that are not valid shell variable names.
969
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
970
as_fn_error $? "invalid feature name: $ac_useropt"
971
ac_useropt_orig=$ac_useropt
972
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
973
case $ac_user_opts in
977
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
978
ac_unrecognized_sep=', ';;
980
eval enable_$ac_useropt=no ;;
982
-docdir | --docdir | --docdi | --doc | --do)
984
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
987
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
989
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
992
-enable-* | --enable-*)
993
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
994
# Reject names that are not valid shell variable names.
995
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
996
as_fn_error $? "invalid feature name: $ac_useropt"
997
ac_useropt_orig=$ac_useropt
998
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
999
case $ac_user_opts in
1001
"enable_$ac_useropt"
1003
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1004
ac_unrecognized_sep=', ';;
1006
eval enable_$ac_useropt=\$ac_optarg ;;
1008
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1009
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1010
| --exec | --exe | --ex)
1011
ac_prev=exec_prefix ;;
1012
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1013
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1014
| --exec=* | --exe=* | --ex=*)
1015
exec_prefix=$ac_optarg ;;
1017
-gas | --gas | --ga | --g)
1018
# Obsolete; use --with-gas.
1021
-help | --help | --hel | --he | -h)
1022
ac_init_help=long ;;
1023
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1024
ac_init_help=recursive ;;
1025
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1026
ac_init_help=short ;;
1028
-host | --host | --hos | --ho)
1029
ac_prev=host_alias ;;
1030
-host=* | --host=* | --hos=* | --ho=*)
1031
host_alias=$ac_optarg ;;
1033
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1035
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1037
htmldir=$ac_optarg ;;
1039
-includedir | --includedir | --includedi | --included | --include \
1040
| --includ | --inclu | --incl | --inc)
1041
ac_prev=includedir ;;
1042
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1043
| --includ=* | --inclu=* | --incl=* | --inc=*)
1044
includedir=$ac_optarg ;;
1046
-infodir | --infodir | --infodi | --infod | --info | --inf)
1048
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1049
infodir=$ac_optarg ;;
1051
-libdir | --libdir | --libdi | --libd)
1053
-libdir=* | --libdir=* | --libdi=* | --libd=*)
1054
libdir=$ac_optarg ;;
1056
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1057
| --libexe | --libex | --libe)
1058
ac_prev=libexecdir ;;
1059
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1060
| --libexe=* | --libex=* | --libe=*)
1061
libexecdir=$ac_optarg ;;
1063
-localedir | --localedir | --localedi | --localed | --locale)
1064
ac_prev=localedir ;;
1065
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1066
localedir=$ac_optarg ;;
1068
-localstatedir | --localstatedir | --localstatedi | --localstated \
1069
| --localstate | --localstat | --localsta | --localst | --locals)
1070
ac_prev=localstatedir ;;
1071
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1072
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1073
localstatedir=$ac_optarg ;;
1075
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1077
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1078
mandir=$ac_optarg ;;
1080
-nfp | --nfp | --nf)
1081
# Obsolete; use --without-fp.
1084
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
1085
| --no-cr | --no-c | -n)
1088
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
1089
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1092
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1093
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1094
| --oldin | --oldi | --old | --ol | --o)
1095
ac_prev=oldincludedir ;;
1096
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1097
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1098
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1099
oldincludedir=$ac_optarg ;;
1101
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1103
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1104
prefix=$ac_optarg ;;
1106
-program-prefix | --program-prefix | --program-prefi | --program-pref \
1107
| --program-pre | --program-pr | --program-p)
1108
ac_prev=program_prefix ;;
1109
-program-prefix=* | --program-prefix=* | --program-prefi=* \
1110
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1111
program_prefix=$ac_optarg ;;
1113
-program-suffix | --program-suffix | --program-suffi | --program-suff \
1114
| --program-suf | --program-su | --program-s)
1115
ac_prev=program_suffix ;;
1116
-program-suffix=* | --program-suffix=* | --program-suffi=* \
1117
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1118
program_suffix=$ac_optarg ;;
1120
-program-transform-name | --program-transform-name \
1121
| --program-transform-nam | --program-transform-na \
1122
| --program-transform-n | --program-transform- \
1123
| --program-transform | --program-transfor \
1124
| --program-transfo | --program-transf \
1125
| --program-trans | --program-tran \
1126
| --progr-tra | --program-tr | --program-t)
1127
ac_prev=program_transform_name ;;
1128
-program-transform-name=* | --program-transform-name=* \
1129
| --program-transform-nam=* | --program-transform-na=* \
1130
| --program-transform-n=* | --program-transform-=* \
1131
| --program-transform=* | --program-transfor=* \
1132
| --program-transfo=* | --program-transf=* \
1133
| --program-trans=* | --program-tran=* \
1134
| --progr-tra=* | --program-tr=* | --program-t=*)
1135
program_transform_name=$ac_optarg ;;
1137
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1139
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1140
pdfdir=$ac_optarg ;;
1142
-psdir | --psdir | --psdi | --psd | --ps)
1144
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1147
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1148
| -silent | --silent | --silen | --sile | --sil)
1151
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1153
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1155
sbindir=$ac_optarg ;;
1157
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1158
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1159
| --sharedst | --shareds | --shared | --share | --shar \
1161
ac_prev=sharedstatedir ;;
1162
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1163
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1164
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1166
sharedstatedir=$ac_optarg ;;
1168
-site | --site | --sit)
1170
-site=* | --site=* | --sit=*)
1173
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1175
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1176
srcdir=$ac_optarg ;;
1178
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1179
| --syscon | --sysco | --sysc | --sys | --sy)
1180
ac_prev=sysconfdir ;;
1181
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1182
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1183
sysconfdir=$ac_optarg ;;
1185
-target | --target | --targe | --targ | --tar | --ta | --t)
1186
ac_prev=target_alias ;;
1187
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1188
target_alias=$ac_optarg ;;
1190
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1193
-version | --version | --versio | --versi | --vers | -V)
1194
ac_init_version=: ;;
1197
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1198
# Reject names that are not valid shell variable names.
1199
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1200
as_fn_error $? "invalid package name: $ac_useropt"
1201
ac_useropt_orig=$ac_useropt
1202
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1203
case $ac_user_opts in
1207
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1208
ac_unrecognized_sep=', ';;
1210
eval with_$ac_useropt=\$ac_optarg ;;
1212
-without-* | --without-*)
1213
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1214
# Reject names that are not valid shell variable names.
1215
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1216
as_fn_error $? "invalid package name: $ac_useropt"
1217
ac_useropt_orig=$ac_useropt
1218
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1219
case $ac_user_opts in
1223
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1224
ac_unrecognized_sep=', ';;
1226
eval with_$ac_useropt=no ;;
1229
# Obsolete; use --with-x.
1232
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1233
| --x-incl | --x-inc | --x-in | --x-i)
1234
ac_prev=x_includes ;;
1235
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1236
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1237
x_includes=$ac_optarg ;;
1239
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1240
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1241
ac_prev=x_libraries ;;
1242
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1243
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1244
x_libraries=$ac_optarg ;;
1246
-*) as_fn_error $? "unrecognized option: \`$ac_option'
1247
Try \`$0 --help' for more information"
1251
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1252
# Reject names that are not valid shell variable names.
1253
case $ac_envvar in #(
1254
'' | [0-9]* | *[!_$as_cr_alnum]* )
1255
as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1257
eval $ac_envvar=\$ac_optarg
1258
export $ac_envvar ;;
1261
# FIXME: should be removed in autoconf 3.0.
1262
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1263
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1264
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1265
: "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1271
if test -n "$ac_prev"; then
1272
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1273
as_fn_error $? "missing argument to $ac_option"
1276
if test -n "$ac_unrecognized_opts"; then
1277
case $enable_option_checking in
1279
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1280
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1284
# Check all directory arguments for consistency.
1285
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1286
datadir sysconfdir sharedstatedir localstatedir includedir \
1287
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1288
libdir localedir mandir
1290
eval ac_val=\$$ac_var
1291
# Remove trailing slashes.
1294
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1295
eval $ac_var=\$ac_val;;
1297
# Be sure to have absolute directory names.
1299
[\\/$]* | ?:[\\/]* ) continue;;
1300
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1302
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1305
# There might be people who depend on the old broken behavior: `$host'
1306
# used to hold the argument of --host etc.
1307
# FIXME: To remove some day.
1310
target=$target_alias
1312
# FIXME: To remove some day.
1313
if test "x$host_alias" != x; then
1314
if test "x$build_alias" = x; then
1315
cross_compiling=maybe
1316
$as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1317
If a cross compiler is detected then cross compile mode will be used" >&2
1318
elif test "x$build_alias" != "x$host_alias"; then
1324
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1326
test "$silent" = yes && exec 6>/dev/null
1329
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1330
ac_ls_di=`ls -di .` &&
1331
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1332
as_fn_error $? "working directory cannot be determined"
1333
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1334
as_fn_error $? "pwd does not report name of working directory"
1337
# Find the source files, if location was not specified.
1338
if test -z "$srcdir"; then
1339
ac_srcdir_defaulted=yes
1340
# Try the directory containing this script, then the parent directory.
1341
ac_confdir=`$as_dirname -- "$as_myself" ||
1342
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1343
X"$as_myself" : 'X\(//\)[^/]' \| \
1344
X"$as_myself" : 'X\(//\)$' \| \
1345
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1346
$as_echo X"$as_myself" |
1347
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1365
if test ! -r "$srcdir/$ac_unique_file"; then
1369
ac_srcdir_defaulted=no
1371
if test ! -r "$srcdir/$ac_unique_file"; then
1372
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1373
as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1375
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1377
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1379
# When building in place, set srcdir=.
1380
if test "$ac_abs_confdir" = "$ac_pwd"; then
1383
# Remove unnecessary trailing slashes from srcdir.
1384
# Double slashes in file names in object file debugging info
1385
# mess up M-x gdb in Emacs.
1387
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1389
for ac_var in $ac_precious_vars; do
1390
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1391
eval ac_env_${ac_var}_value=\$${ac_var}
1392
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1393
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1397
# Report the --help message.
1399
if test "$ac_init_help" = "long"; then
1400
# Omit some internal or obsolete options to make the list less imposing.
1401
# This message is too long to be a string in the A/UX 3.1 sh.
1403
\`configure' configures this package to adapt to many kinds of systems.
1405
Usage: $0 [OPTION]... [VAR=VALUE]...
1407
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1408
VAR=VALUE. See below for descriptions of some of the useful variables.
1410
Defaults for the options are specified in brackets.
1413
-h, --help display this help and exit
1414
--help=short display options specific to this package
1415
--help=recursive display the short help of all the included packages
1416
-V, --version display version information and exit
1417
-q, --quiet, --silent do not print \`checking ...' messages
1418
--cache-file=FILE cache test results in FILE [disabled]
1419
-C, --config-cache alias for \`--cache-file=config.cache'
1420
-n, --no-create do not create output files
1421
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1423
Installation directories:
1424
--prefix=PREFIX install architecture-independent files in PREFIX
1425
[$ac_default_prefix]
1426
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1429
By default, \`make install' will install all the files in
1430
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1431
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1432
for instance \`--prefix=\$HOME'.
1434
For better control, use the options below.
1436
Fine tuning of the installation directories:
1437
--bindir=DIR user executables [EPREFIX/bin]
1438
--sbindir=DIR system admin executables [EPREFIX/sbin]
1439
--libexecdir=DIR program executables [EPREFIX/libexec]
1440
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1441
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1442
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1443
--libdir=DIR object code libraries [EPREFIX/lib]
1444
--includedir=DIR C header files [PREFIX/include]
1445
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1446
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1447
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1448
--infodir=DIR info documentation [DATAROOTDIR/info]
1449
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1450
--mandir=DIR man documentation [DATAROOTDIR/man]
1451
--docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1452
--htmldir=DIR html documentation [DOCDIR]
1453
--dvidir=DIR dvi documentation [DOCDIR]
1454
--pdfdir=DIR pdf documentation [DOCDIR]
1455
--psdir=DIR ps documentation [DOCDIR]
1461
--program-prefix=PREFIX prepend PREFIX to installed program names
1462
--program-suffix=SUFFIX append SUFFIX to installed program names
1463
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1466
--build=BUILD configure for building on BUILD [guessed]
1467
--host=HOST cross-compile to build programs to run on HOST [BUILD]
1471
if test -n "$ac_init_help"; then
1476
--disable-option-checking ignore unrecognized --enable/--with options
1477
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1478
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1479
--enable-maintainer-mode enable make rules and dependencies not useful
1480
(and sometimes confusing) to the casual installer
1481
--disable-schemas-compile
1482
Disable regeneration of gschemas.compiled on install
1483
--disable-nls do not use Native Language Support
1484
--disable-dependency-tracking speeds up one-time build
1485
--enable-dependency-tracking do not reject slow dependency extractors
1486
--enable-shared[=PKGS] build shared libraries [default=yes]
1487
--enable-static[=PKGS] build static libraries [default=yes]
1488
--enable-fast-install[=PKGS]
1489
optimize for fast installation [default=yes]
1490
--disable-libtool-lock avoid locking (might break parallel builds)
1491
--enable-silent-rules less verbose build output (undo: `make V=1')
1492
--disable-silent-rules verbose build output (undo: `make V=0')
1493
--enable-gtklogouthelper
1494
enable GTK Logout Helper
1495
--disable-apt disable APT support
1496
--enable-localinstall install all of the files localy instead of system
1497
directories (for distcheck)
1498
--enable-gcov enable coverage testing with gcov
1501
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1502
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1503
--with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1505
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
1506
--with-sysroot=DIR Search for dependent libraries within DIR
1507
(or the compiler's sysroot if not specified).
1508
--with-gtk Which version of gtk to use for the indicator
1511
Some influential environment variables:
1512
PKG_CONFIG path to pkg-config utility
1514
directories to add to pkg-config's search path
1516
path overriding pkg-config's built-in search path
1517
CC C compiler command
1518
CFLAGS C compiler flags
1519
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1520
nonstandard directory <lib dir>
1521
LIBS libraries to pass to the linker, e.g. -l<library>
1522
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1523
you have headers in a nonstandard directory <include dir>
1526
C compiler flags for APPLET, overriding pkg-config
1527
APPLET_LIBS linker flags for APPLET, overriding pkg-config
1528
SESSIONSERVICE_CFLAGS
1529
C compiler flags for SESSIONSERVICE, overriding pkg-config
1531
linker flags for SESSIONSERVICE, overriding pkg-config
1533
C compiler flags for GUDEV, overriding pkg-config
1534
GUDEV_LIBS linker flags for GUDEV, overriding pkg-config
1535
GTKLOGOUTHELPER_CFLAGS
1536
C compiler flags for GTKLOGOUTHELPER, overriding pkg-config
1537
GTKLOGOUTHELPER_LIBS
1538
linker flags for GTKLOGOUTHELPER, overriding pkg-config
1540
Use these variables to override the choices made by `configure' or to help
1541
it to find libraries and programs with nonstandard names/locations.
1543
Report bugs to the package provider.
1548
if test "$ac_init_help" = "recursive"; then
1549
# If there are subdirs, report their specific --help.
1550
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1551
test -d "$ac_dir" ||
1552
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1557
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1559
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1560
# A ".." for each directory in $ac_dir_suffix.
1561
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1562
case $ac_top_builddir_sub in
1563
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1564
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1567
ac_abs_top_builddir=$ac_pwd
1568
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1569
# for backward compatibility:
1570
ac_top_builddir=$ac_top_build_prefix
1573
.) # We are building in place.
1575
ac_top_srcdir=$ac_top_builddir_sub
1576
ac_abs_top_srcdir=$ac_pwd ;;
1577
[\\/]* | ?:[\\/]* ) # Absolute name.
1578
ac_srcdir=$srcdir$ac_dir_suffix;
1579
ac_top_srcdir=$srcdir
1580
ac_abs_top_srcdir=$srcdir ;;
1582
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1583
ac_top_srcdir=$ac_top_build_prefix$srcdir
1584
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1586
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1588
cd "$ac_dir" || { ac_status=$?; continue; }
1589
# Check for guested configure.
1590
if test -f "$ac_srcdir/configure.gnu"; then
1592
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1593
elif test -f "$ac_srcdir/configure"; then
1595
$SHELL "$ac_srcdir/configure" --help=recursive
1597
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1599
cd "$ac_pwd" || { ac_status=$?; break; }
1603
test -n "$ac_init_help" && exit $ac_status
1604
if $ac_init_version; then
1607
generated by GNU Autoconf 2.68
1609
Copyright (C) 2010 Free Software Foundation, Inc.
1610
This configure script is free software; the Free Software Foundation
1611
gives unlimited permission to copy, distribute and modify it.
1616
## ------------------------ ##
1617
## Autoconf initialization. ##
1618
## ------------------------ ##
1620
# ac_fn_c_try_compile LINENO
1621
# --------------------------
1622
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1623
ac_fn_c_try_compile ()
1625
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1626
rm -f conftest.$ac_objext
1627
if { { ac_try="$ac_compile"
1629
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1630
*) ac_try_echo=$ac_try;;
1632
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1633
$as_echo "$ac_try_echo"; } >&5
1634
(eval "$ac_compile") 2>conftest.err
1636
if test -s conftest.err; then
1637
grep -v '^ *+' conftest.err >conftest.er1
1638
cat conftest.er1 >&5
1639
mv -f conftest.er1 conftest.err
1641
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1642
test $ac_status = 0; } && {
1643
test -z "$ac_c_werror_flag" ||
1644
test ! -s conftest.err
1645
} && test -s conftest.$ac_objext; then :
1648
$as_echo "$as_me: failed program was:" >&5
1649
sed 's/^/| /' conftest.$ac_ext >&5
1653
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1654
as_fn_set_status $ac_retval
1656
} # ac_fn_c_try_compile
1658
# ac_fn_c_try_link LINENO
1659
# -----------------------
1660
# Try to link conftest.$ac_ext, and return whether this succeeded.
1663
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1664
rm -f conftest.$ac_objext conftest$ac_exeext
1665
if { { ac_try="$ac_link"
1667
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1668
*) ac_try_echo=$ac_try;;
1670
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1671
$as_echo "$ac_try_echo"; } >&5
1672
(eval "$ac_link") 2>conftest.err
1674
if test -s conftest.err; then
1675
grep -v '^ *+' conftest.err >conftest.er1
1676
cat conftest.er1 >&5
1677
mv -f conftest.er1 conftest.err
1679
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1680
test $ac_status = 0; } && {
1681
test -z "$ac_c_werror_flag" ||
1682
test ! -s conftest.err
1683
} && test -s conftest$ac_exeext && {
1684
test "$cross_compiling" = yes ||
1685
$as_test_x conftest$ac_exeext
1689
$as_echo "$as_me: failed program was:" >&5
1690
sed 's/^/| /' conftest.$ac_ext >&5
1694
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1695
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1696
# interfere with the next link command; also delete a directory that is
1697
# left behind by Apple's compiler. We do this before executing the actions.
1698
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1699
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1700
as_fn_set_status $ac_retval
1702
} # ac_fn_c_try_link
1704
# ac_fn_c_check_func LINENO FUNC VAR
1705
# ----------------------------------
1706
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1707
ac_fn_c_check_func ()
1709
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1710
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1711
$as_echo_n "checking for $2... " >&6; }
1712
if eval \${$3+:} false; then :
1713
$as_echo_n "(cached) " >&6
1715
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1716
/* end confdefs.h. */
1717
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1718
For example, HP-UX 11i <limits.h> declares gettimeofday. */
1719
#define $2 innocuous_$2
1721
/* System header to define __stub macros and hopefully few prototypes,
1722
which can conflict with char $2 (); below.
1723
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1724
<limits.h> exists even on freestanding compilers. */
1727
# include <limits.h>
1729
# include <assert.h>
1734
/* Override any GCC internal prototype to avoid an error.
1735
Use char because int might match the return type of a GCC
1736
builtin and then its argument prototype would still apply. */
1741
/* The GNU C library defines this for functions which it implements
1742
to always fail with ENOSYS. Some functions are actually named
1743
something starting with __ and the normal name is an alias. */
1744
#if defined __stub_$2 || defined __stub___$2
1756
if ac_fn_c_try_link "$LINENO"; then :
1761
rm -f core conftest.err conftest.$ac_objext \
1762
conftest$ac_exeext conftest.$ac_ext
1765
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1766
$as_echo "$ac_res" >&6; }
1767
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1769
} # ac_fn_c_check_func
1771
# ac_fn_c_try_cpp LINENO
1772
# ----------------------
1773
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1776
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1777
if { { ac_try="$ac_cpp conftest.$ac_ext"
1779
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1780
*) ac_try_echo=$ac_try;;
1782
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1783
$as_echo "$ac_try_echo"; } >&5
1784
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1786
if test -s conftest.err; then
1787
grep -v '^ *+' conftest.err >conftest.er1
1788
cat conftest.er1 >&5
1789
mv -f conftest.er1 conftest.err
1791
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1792
test $ac_status = 0; } > conftest.i && {
1793
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1794
test ! -s conftest.err
1798
$as_echo "$as_me: failed program was:" >&5
1799
sed 's/^/| /' conftest.$ac_ext >&5
1803
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1804
as_fn_set_status $ac_retval
1808
# ac_fn_c_try_run LINENO
1809
# ----------------------
1810
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1811
# that executables *can* be run.
1814
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1815
if { { ac_try="$ac_link"
1817
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1818
*) ac_try_echo=$ac_try;;
1820
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1821
$as_echo "$ac_try_echo"; } >&5
1822
(eval "$ac_link") 2>&5
1824
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1825
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1826
{ { case "(($ac_try" in
1827
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1828
*) ac_try_echo=$ac_try;;
1830
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1831
$as_echo "$ac_try_echo"; } >&5
1832
(eval "$ac_try") 2>&5
1834
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1835
test $ac_status = 0; }; }; then :
1838
$as_echo "$as_me: program exited with status $ac_status" >&5
1839
$as_echo "$as_me: failed program was:" >&5
1840
sed 's/^/| /' conftest.$ac_ext >&5
1842
ac_retval=$ac_status
1844
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1845
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1846
as_fn_set_status $ac_retval
1850
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1851
# -------------------------------------------------------
1852
# Tests whether HEADER exists and can be compiled using the include files in
1853
# INCLUDES, setting the cache variable VAR accordingly.
1854
ac_fn_c_check_header_compile ()
1856
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1857
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1858
$as_echo_n "checking for $2... " >&6; }
1859
if eval \${$3+:} false; then :
1860
$as_echo_n "(cached) " >&6
1862
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1863
/* end confdefs.h. */
1867
if ac_fn_c_try_compile "$LINENO"; then :
1872
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1875
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1876
$as_echo "$ac_res" >&6; }
1877
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1879
} # ac_fn_c_check_header_compile
1881
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1882
# -------------------------------------------------------
1883
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1884
# the include files in INCLUDES and setting the cache variable VAR
1886
ac_fn_c_check_header_mongrel ()
1888
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1889
if eval \${$3+:} false; then :
1890
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1891
$as_echo_n "checking for $2... " >&6; }
1892
if eval \${$3+:} false; then :
1893
$as_echo_n "(cached) " >&6
1896
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1897
$as_echo "$ac_res" >&6; }
1899
# Is the header compilable?
1900
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1901
$as_echo_n "checking $2 usability... " >&6; }
1902
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1903
/* end confdefs.h. */
1907
if ac_fn_c_try_compile "$LINENO"; then :
1908
ac_header_compiler=yes
1910
ac_header_compiler=no
1912
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1913
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1914
$as_echo "$ac_header_compiler" >&6; }
1916
# Is the header present?
1917
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1918
$as_echo_n "checking $2 presence... " >&6; }
1919
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1920
/* end confdefs.h. */
1923
if ac_fn_c_try_cpp "$LINENO"; then :
1924
ac_header_preproc=yes
1926
ac_header_preproc=no
1928
rm -f conftest.err conftest.i conftest.$ac_ext
1929
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1930
$as_echo "$ac_header_preproc" >&6; }
1932
# So? What about this header?
1933
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1935
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1936
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1937
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1938
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1941
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1942
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1943
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1944
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1945
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1946
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1947
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1948
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1949
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1950
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1953
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1954
$as_echo_n "checking for $2... " >&6; }
1955
if eval \${$3+:} false; then :
1956
$as_echo_n "(cached) " >&6
1958
eval "$3=\$ac_header_compiler"
1961
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1962
$as_echo "$ac_res" >&6; }
1964
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1966
} # ac_fn_c_check_header_mongrel
1967
cat >config.log <<_ACEOF
1968
This file contains any messages produced by compilers while
1969
running configure, to aid debugging if configure makes a mistake.
1971
It was created by $as_me, which was
1972
generated by GNU Autoconf 2.68. Invocation command line was
1984
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1985
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1986
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1987
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1988
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1990
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1991
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1993
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1994
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1995
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1996
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1997
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1998
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1999
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2003
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2007
test -z "$as_dir" && as_dir=.
2008
$as_echo "PATH: $as_dir"
2024
# Keep a trace of the command line.
2025
# Strip out --no-create and --no-recursion so they do not pile up.
2026
# Strip out --silent because we don't want to record it for future runs.
2027
# Also quote any args containing shell meta-characters.
2028
# Make two passes to allow for proper duplicate-argument suppression.
2032
ac_must_keep_next=false
2038
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2039
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
2040
| -silent | --silent | --silen | --sile | --sil)
2043
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2046
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2048
as_fn_append ac_configure_args1 " '$ac_arg'"
2049
if test $ac_must_keep_next = true; then
2050
ac_must_keep_next=false # Got value, back to normal.
2053
*=* | --config-cache | -C | -disable-* | --disable-* \
2054
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2055
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2056
| -with-* | --with-* | -without-* | --without-* | --x)
2057
case "$ac_configure_args0 " in
2058
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2061
-* ) ac_must_keep_next=true ;;
2064
as_fn_append ac_configure_args " '$ac_arg'"
2069
{ ac_configure_args0=; unset ac_configure_args0;}
2070
{ ac_configure_args1=; unset ac_configure_args1;}
2072
# When interrupted or exit'd, cleanup temporary files, and complete
2073
# config.log. We remove comments because anyway the quotes in there
2074
# would cause problems or look ugly.
2075
# WARNING: Use '\'' to represent an apostrophe within the trap.
2076
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2077
trap 'exit_status=$?
2078
# Save into config.log some information that might help in debugging.
2082
$as_echo "## ---------------- ##
2083
## Cache variables. ##
2084
## ---------------- ##"
2086
# The following way of writing the cache mishandles newlines in values,
2088
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2089
eval ac_val=\$$ac_var
2093
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2094
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2097
_ | IFS | as_nl) ;; #(
2098
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2099
*) { eval $ac_var=; unset $ac_var;} ;;
2104
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2105
*${as_nl}ac_space=\ *)
2107
"s/'\''/'\''\\\\'\'''\''/g;
2108
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2111
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2118
$as_echo "## ----------------- ##
2119
## Output variables. ##
2120
## ----------------- ##"
2122
for ac_var in $ac_subst_vars
2124
eval ac_val=\$$ac_var
2126
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2128
$as_echo "$ac_var='\''$ac_val'\''"
2132
if test -n "$ac_subst_files"; then
2133
$as_echo "## ------------------- ##
2134
## File substitutions. ##
2135
## ------------------- ##"
2137
for ac_var in $ac_subst_files
2139
eval ac_val=\$$ac_var
2141
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2143
$as_echo "$ac_var='\''$ac_val'\''"
2148
if test -s confdefs.h; then
2149
$as_echo "## ----------- ##
2156
test "$ac_signal" != 0 &&
2157
$as_echo "$as_me: caught signal $ac_signal"
2158
$as_echo "$as_me: exit $exit_status"
2160
rm -f core *.core core.conftest.* &&
2161
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2164
for ac_signal in 1 2 13 15; do
2165
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2169
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2170
rm -f -r conftest* confdefs.h
2172
$as_echo "/* confdefs.h */" > confdefs.h
2174
# Predefined preprocessor variables.
2176
cat >>confdefs.h <<_ACEOF
2177
#define PACKAGE_NAME "$PACKAGE_NAME"
2180
cat >>confdefs.h <<_ACEOF
2181
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2184
cat >>confdefs.h <<_ACEOF
2185
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2188
cat >>confdefs.h <<_ACEOF
2189
#define PACKAGE_STRING "$PACKAGE_STRING"
2192
cat >>confdefs.h <<_ACEOF
2193
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2196
cat >>confdefs.h <<_ACEOF
2197
#define PACKAGE_URL "$PACKAGE_URL"
2201
# Let the site file select an alternate cache file if it wants to.
2202
# Prefer an explicitly selected file to automatically selected ones.
2205
if test -n "$CONFIG_SITE"; then
2206
# We do not want a PATH search for config.site.
2207
case $CONFIG_SITE in #((
2208
-*) ac_site_file1=./$CONFIG_SITE;;
2209
*/*) ac_site_file1=$CONFIG_SITE;;
2210
*) ac_site_file1=./$CONFIG_SITE;;
2212
elif test "x$prefix" != xNONE; then
2213
ac_site_file1=$prefix/share/config.site
2214
ac_site_file2=$prefix/etc/config.site
2216
ac_site_file1=$ac_default_prefix/share/config.site
2217
ac_site_file2=$ac_default_prefix/etc/config.site
2219
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2221
test "x$ac_site_file" = xNONE && continue
2222
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2223
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2224
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2225
sed 's/^/| /' "$ac_site_file" >&5
2227
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2228
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2229
as_fn_error $? "failed to load site script $ac_site_file
2230
See \`config.log' for more details" "$LINENO" 5; }
2234
if test -r "$cache_file"; then
2235
# Some versions of bash will fail to source /dev/null (special files
2236
# actually), so we avoid doing that. DJGPP emulates it as a regular file.
2237
if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2238
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2239
$as_echo "$as_me: loading cache $cache_file" >&6;}
2241
[\\/]* | ?:[\\/]* ) . "$cache_file";;
2242
*) . "./$cache_file";;
2246
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2247
$as_echo "$as_me: creating cache $cache_file" >&6;}
2251
# Check that the precious variables saved in the cache have kept the same
2253
ac_cache_corrupted=false
2254
for ac_var in $ac_precious_vars; do
2255
eval ac_old_set=\$ac_cv_env_${ac_var}_set
2256
eval ac_new_set=\$ac_env_${ac_var}_set
2257
eval ac_old_val=\$ac_cv_env_${ac_var}_value
2258
eval ac_new_val=\$ac_env_${ac_var}_value
2259
case $ac_old_set,$ac_new_set in
2261
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2262
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2263
ac_cache_corrupted=: ;;
2265
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2266
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2267
ac_cache_corrupted=: ;;
2270
if test "x$ac_old_val" != "x$ac_new_val"; then
2271
# differences in whitespace do not lead to failure.
2272
ac_old_val_w=`echo x $ac_old_val`
2273
ac_new_val_w=`echo x $ac_new_val`
2274
if test "$ac_old_val_w" != "$ac_new_val_w"; then
2275
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2276
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2277
ac_cache_corrupted=:
2279
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2280
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2281
eval $ac_var=\$ac_old_val
2283
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2284
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2285
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2286
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2289
# Pass precious variables to config.status.
2290
if test "$ac_new_set" = set; then
2292
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2293
*) ac_arg=$ac_var=$ac_new_val ;;
2295
case " $ac_configure_args " in
2296
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2297
*) as_fn_append ac_configure_args " '$ac_arg'" ;;
2301
if $ac_cache_corrupted; then
2302
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2303
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2304
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2305
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2306
as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2308
## -------------------- ##
2309
## Main body of script. ##
2310
## -------------------- ##
2313
ac_cpp='$CPP $CPPFLAGS'
2314
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2315
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2316
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2322
ac_config_headers="$ac_config_headers config.h"
2324
am__api_version='1.11'
2327
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2328
if test -f "$ac_dir/install-sh"; then
2330
ac_install_sh="$ac_aux_dir/install-sh -c"
2332
elif test -f "$ac_dir/install.sh"; then
2334
ac_install_sh="$ac_aux_dir/install.sh -c"
2336
elif test -f "$ac_dir/shtool"; then
2338
ac_install_sh="$ac_aux_dir/shtool install -c"
2342
if test -z "$ac_aux_dir"; then
2343
as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2346
# These three variables are undocumented and unsupported,
2347
# and are intended to be withdrawn in a future Autoconf release.
2348
# They can cause serious problems if a builder's source tree is in a directory
2349
# whose full name contains unusual characters.
2350
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2351
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2352
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2355
# Find a good install program. We prefer a C program (faster),
2356
# so one script is as good as another. But avoid the broken or
2357
# incompatible versions:
2358
# SysV /etc/install, /usr/sbin/install
2359
# SunOS /usr/etc/install
2360
# IRIX /sbin/install
2362
# AmigaOS /C/install, which installs bootblocks on floppy discs
2363
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2364
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2365
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2366
# OS/2's system install, which has a completely different semantic
2367
# ./install, which can be erroneously created by make from ./install.sh.
2368
# Reject install programs that cannot install multiple files.
2369
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2370
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2371
if test -z "$INSTALL"; then
2372
if ${ac_cv_path_install+:} false; then :
2373
$as_echo_n "(cached) " >&6
2375
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2379
test -z "$as_dir" && as_dir=.
2380
# Account for people who put trailing slashes in PATH elements.
2381
case $as_dir/ in #((
2382
./ | .// | /[cC]/* | \
2383
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2384
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2387
# OSF1 and SCO ODT 3.0 have their own names for install.
2388
# Don't use installbsd from OSF since it installs stuff as root
2390
for ac_prog in ginstall scoinst install; do
2391
for ac_exec_ext in '' $ac_executable_extensions; do
2392
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2393
if test $ac_prog = install &&
2394
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2395
# AIX install. It has an incompatible calling convention.
2397
elif test $ac_prog = install &&
2398
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2399
# program-specific install script used by HP pwplus--don't use.
2402
rm -rf conftest.one conftest.two conftest.dir
2403
echo one > conftest.one
2404
echo two > conftest.two
2406
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2407
test -s conftest.one && test -s conftest.two &&
2408
test -s conftest.dir/conftest.one &&
2409
test -s conftest.dir/conftest.two
2411
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2424
rm -rf conftest.one conftest.two conftest.dir
2427
if test "${ac_cv_path_install+set}" = set; then
2428
INSTALL=$ac_cv_path_install
2430
# As a last resort, use the slow shell script. Don't cache a
2431
# value for INSTALL within a source directory, because that will
2432
# break other packages using the cache if that directory is
2433
# removed, or if the value is a relative name.
2434
INSTALL=$ac_install_sh
2437
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2438
$as_echo "$INSTALL" >&6; }
2440
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2441
# It thinks the first close brace ends the variable substitution.
2442
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2444
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2446
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2448
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2449
$as_echo_n "checking whether build environment is sane... " >&6; }
2452
echo timestamp > conftest.file
2453
# Reject unsafe characters in $srcdir or the absolute working directory
2454
# name. Accept space and tab only in the latter.
2458
*[\\\"\#\$\&\'\`$am_lf]*)
2459
as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2462
*[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2463
as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2466
# Do `set' in a subshell so we don't clobber the current shell's
2467
# arguments. Must try -L first in case configure is actually a
2468
# symlink; some systems play weird games with the mod time of symlinks
2469
# (eg FreeBSD returns the mod time of the symlink's containing
2472
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2473
if test "$*" = "X"; then
2475
set X `ls -t "$srcdir/configure" conftest.file`
2478
if test "$*" != "X $srcdir/configure conftest.file" \
2479
&& test "$*" != "X conftest.file $srcdir/configure"; then
2481
# If neither matched, then we have a broken ls. This can happen
2482
# if, for instance, CONFIG_SHELL is bash and it inherits a
2483
# broken ls alias from the environment. This has actually
2484
# happened. Such a system could not be considered "sane".
2485
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2486
alias in your environment" "$LINENO" 5
2489
test "$2" = conftest.file
2495
as_fn_error $? "newly created file is older than distributed files!
2496
Check your system clock" "$LINENO" 5
2498
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2499
$as_echo "yes" >&6; }
2500
test "$program_prefix" != NONE &&
2501
program_transform_name="s&^&$program_prefix&;$program_transform_name"
2502
# Use a double $ so make ignores it.
2503
test "$program_suffix" != NONE &&
2504
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2505
# Double any \ or $.
2506
# By default was `s,x,x', remove it if useless.
2507
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2508
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2510
# expand $ac_aux_dir to an absolute path
2511
am_aux_dir=`cd $ac_aux_dir && pwd`
2513
if test x"${MISSING+set}" != xset; then
2516
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2518
MISSING="\${SHELL} $am_aux_dir/missing" ;;
2521
# Use eval to expand $SHELL
2522
if eval "$MISSING --run true"; then
2523
am_missing_run="$MISSING --run "
2526
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2527
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2530
if test x"${install_sh}" != xset; then
2533
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2535
install_sh="\${SHELL} $am_aux_dir/install-sh"
2539
# Installed binaries are usually stripped using `strip' when the user
2540
# run `make install-strip'. However `strip' might not be the right
2541
# tool to use in cross-compilation environments, therefore Automake
2542
# will honor the `STRIP' environment variable to overrule this program.
2543
if test "$cross_compiling" != no; then
2544
if test -n "$ac_tool_prefix"; then
2545
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2546
set dummy ${ac_tool_prefix}strip; ac_word=$2
2547
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2548
$as_echo_n "checking for $ac_word... " >&6; }
2549
if ${ac_cv_prog_STRIP+:} false; then :
2550
$as_echo_n "(cached) " >&6
2552
if test -n "$STRIP"; then
2553
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2555
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2559
test -z "$as_dir" && as_dir=.
2560
for ac_exec_ext in '' $ac_executable_extensions; do
2561
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2562
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2563
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2572
STRIP=$ac_cv_prog_STRIP
2573
if test -n "$STRIP"; then
2574
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2575
$as_echo "$STRIP" >&6; }
2577
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2578
$as_echo "no" >&6; }
2583
if test -z "$ac_cv_prog_STRIP"; then
2585
# Extract the first word of "strip", so it can be a program name with args.
2586
set dummy strip; ac_word=$2
2587
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2588
$as_echo_n "checking for $ac_word... " >&6; }
2589
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2590
$as_echo_n "(cached) " >&6
2592
if test -n "$ac_ct_STRIP"; then
2593
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2595
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2599
test -z "$as_dir" && as_dir=.
2600
for ac_exec_ext in '' $ac_executable_extensions; do
2601
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2602
ac_cv_prog_ac_ct_STRIP="strip"
2603
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2612
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2613
if test -n "$ac_ct_STRIP"; then
2614
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2615
$as_echo "$ac_ct_STRIP" >&6; }
2617
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2618
$as_echo "no" >&6; }
2621
if test "x$ac_ct_STRIP" = x; then
2624
case $cross_compiling:$ac_tool_warned in
2626
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2627
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2628
ac_tool_warned=yes ;;
2633
STRIP="$ac_cv_prog_STRIP"
2637
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2639
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2640
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2641
if test -z "$MKDIR_P"; then
2642
if ${ac_cv_path_mkdir+:} false; then :
2643
$as_echo_n "(cached) " >&6
2645
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2646
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2649
test -z "$as_dir" && as_dir=.
2650
for ac_prog in mkdir gmkdir; do
2651
for ac_exec_ext in '' $ac_executable_extensions; do
2652
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2653
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2654
'mkdir (GNU coreutils) '* | \
2655
'mkdir (coreutils) '* | \
2656
'mkdir (fileutils) '4.1*)
2657
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2667
test -d ./--version && rmdir ./--version
2668
if test "${ac_cv_path_mkdir+set}" = set; then
2669
MKDIR_P="$ac_cv_path_mkdir -p"
2671
# As a last resort, use the slow shell script. Don't cache a
2672
# value for MKDIR_P within a source directory, because that will
2673
# break other packages using the cache if that directory is
2674
# removed, or if the value is a relative name.
2675
MKDIR_P="$ac_install_sh -d"
2678
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2679
$as_echo "$MKDIR_P" >&6; }
2683
[\\/$]* | ?:[\\/]*) ;;
2684
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2687
for ac_prog in gawk mawk nawk awk
2689
# Extract the first word of "$ac_prog", so it can be a program name with args.
2690
set dummy $ac_prog; ac_word=$2
2691
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2692
$as_echo_n "checking for $ac_word... " >&6; }
2693
if ${ac_cv_prog_AWK+:} false; then :
2694
$as_echo_n "(cached) " >&6
2696
if test -n "$AWK"; then
2697
ac_cv_prog_AWK="$AWK" # Let the user override the test.
2699
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2703
test -z "$as_dir" && as_dir=.
2704
for ac_exec_ext in '' $ac_executable_extensions; do
2705
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2706
ac_cv_prog_AWK="$ac_prog"
2707
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2717
if test -n "$AWK"; then
2718
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2719
$as_echo "$AWK" >&6; }
2721
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2722
$as_echo "no" >&6; }
2726
test -n "$AWK" && break
2729
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2730
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2732
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2733
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2734
$as_echo_n "(cached) " >&6
2736
cat >conftest.make <<\_ACEOF
2739
@echo '@@@%%%=$(MAKE)=@@@%%%'
2741
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2742
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2744
eval ac_cv_prog_make_${ac_make}_set=yes;;
2746
eval ac_cv_prog_make_${ac_make}_set=no;;
2750
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2751
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2752
$as_echo "yes" >&6; }
2755
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2756
$as_echo "no" >&6; }
2757
SET_MAKE="MAKE=${MAKE-make}"
2760
rm -rf .tst 2>/dev/null
2761
mkdir .tst 2>/dev/null
2762
if test -d .tst; then
2767
rmdir .tst 2>/dev/null
2769
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2770
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2771
# is not polluted with repeated "-I."
2772
am__isrc=' -I$(srcdir)'
2773
# test to see if srcdir already configured
2774
if test -f $srcdir/config.status; then
2775
as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2779
# test whether we have cygpath
2780
if test -z "$CYGPATH_W"; then
2781
if (cygpath --version) >/dev/null 2>/dev/null; then
2782
CYGPATH_W='cygpath -w'
2789
# Define the identity of the package.
2790
PACKAGE=indicator-session
2794
cat >>confdefs.h <<_ACEOF
2795
#define PACKAGE "$PACKAGE"
2799
cat >>confdefs.h <<_ACEOF
2800
#define VERSION "$VERSION"
2803
# Some tools Automake needs.
2805
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2808
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2811
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2814
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2817
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2819
# We need awk for the "check" target. The system "awk" is bad on
2821
# Always define AMTAR for backward compatibility. Yes, it's still used
2822
# in the wild :-( We should find a proper way to deprecate it ...
2825
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2833
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2834
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2835
# Check whether --enable-maintainer-mode was given.
2836
if test "${enable_maintainer_mode+set}" = set; then :
2837
enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2839
USE_MAINTAINER_MODE=no
2842
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2843
$as_echo "$USE_MAINTAINER_MODE" >&6; }
2844
if test $USE_MAINTAINER_MODE = yes; then
2845
MAINTAINER_MODE_TRUE=
2846
MAINTAINER_MODE_FALSE='#'
2848
MAINTAINER_MODE_TRUE='#'
2849
MAINTAINER_MODE_FALSE=
2852
MAINT=$MAINTAINER_MODE_TRUE
2858
# Check whether --enable-schemas-compile was given.
2859
if test "${enable_schemas_compile+set}" = set; then :
2860
enableval=$enable_schemas_compile; case ${enableval} in
2861
yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE="" ;;
2862
no) GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;;
2863
*) as_fn_error $? "bad value ${enableval} for --enable-schemas-compile" "$LINENO" 5 ;;
2875
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
2876
if test -n "$ac_tool_prefix"; then
2877
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
2878
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
2879
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2880
$as_echo_n "checking for $ac_word... " >&6; }
2881
if ${ac_cv_path_PKG_CONFIG+:} false; then :
2882
$as_echo_n "(cached) " >&6
2886
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
2889
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2893
test -z "$as_dir" && as_dir=.
2894
for ac_exec_ext in '' $ac_executable_extensions; do
2895
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2896
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
2897
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2907
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
2908
if test -n "$PKG_CONFIG"; then
2909
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
2910
$as_echo "$PKG_CONFIG" >&6; }
2912
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2913
$as_echo "no" >&6; }
2918
if test -z "$ac_cv_path_PKG_CONFIG"; then
2919
ac_pt_PKG_CONFIG=$PKG_CONFIG
2920
# Extract the first word of "pkg-config", so it can be a program name with args.
2921
set dummy pkg-config; ac_word=$2
2922
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2923
$as_echo_n "checking for $ac_word... " >&6; }
2924
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
2925
$as_echo_n "(cached) " >&6
2927
case $ac_pt_PKG_CONFIG in
2929
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
2932
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2936
test -z "$as_dir" && as_dir=.
2937
for ac_exec_ext in '' $ac_executable_extensions; do
2938
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2939
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
2940
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2950
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
2951
if test -n "$ac_pt_PKG_CONFIG"; then
2952
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
2953
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
2955
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2956
$as_echo "no" >&6; }
2959
if test "x$ac_pt_PKG_CONFIG" = x; then
2962
case $cross_compiling:$ac_tool_warned in
2964
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2965
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2966
ac_tool_warned=yes ;;
2968
PKG_CONFIG=$ac_pt_PKG_CONFIG
2971
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
2975
if test -n "$PKG_CONFIG"; then
2976
_pkg_min_version=0.16
2977
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
2978
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
2979
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
2980
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2981
$as_echo "yes" >&6; }
2983
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2984
$as_echo "no" >&6; }
2988
gsettingsschemadir=${datadir}/glib-2.0/schemas
2990
if test x$cross_compiling != xyes; then
2991
GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable glib_compile_schemas gio-2.0`
2993
# Extract the first word of "glib-compile-schemas", so it can be a program name with args.
2994
set dummy glib-compile-schemas; ac_word=$2
2995
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2996
$as_echo_n "checking for $ac_word... " >&6; }
2997
if ${ac_cv_path_GLIB_COMPILE_SCHEMAS+:} false; then :
2998
$as_echo_n "(cached) " >&6
3000
case $GLIB_COMPILE_SCHEMAS in
3002
ac_cv_path_GLIB_COMPILE_SCHEMAS="$GLIB_COMPILE_SCHEMAS" # Let the user override the test with a path.
3005
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3009
test -z "$as_dir" && as_dir=.
3010
for ac_exec_ext in '' $ac_executable_extensions; do
3011
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3012
ac_cv_path_GLIB_COMPILE_SCHEMAS="$as_dir/$ac_word$ac_exec_ext"
3013
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3023
GLIB_COMPILE_SCHEMAS=$ac_cv_path_GLIB_COMPILE_SCHEMAS
3024
if test -n "$GLIB_COMPILE_SCHEMAS"; then
3025
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_COMPILE_SCHEMAS" >&5
3026
$as_echo "$GLIB_COMPILE_SCHEMAS" >&6; }
3028
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3029
$as_echo "no" >&6; }
3035
if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then
3036
as_fn_error $? "glib-compile-schemas not found." "$LINENO" 5
3042
.PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas
3044
mostlyclean-am: clean-gsettings-schemas
3046
gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE))
3048
%.gschema.valid: %.gschema.xml $(gsettings__enum_file)
3049
$(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 $@
3051
all-am: $(gsettings_SCHEMAS:.xml=.valid)
3052
uninstall-am: uninstall-gsettings-schemas
3053
install-data-am: install-gsettings-schemas
3055
.SECONDARY: $(gsettings_SCHEMAS)
3057
install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file)
3059
if test -n "$^"; then \
3060
test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"; \
3061
$(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"; \
3062
test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); \
3065
uninstall-gsettings-schemas:
3066
@$(NORMAL_UNINSTALL)
3067
@list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \
3068
files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \
3069
test -n "$$files" || exit 0; \
3070
echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \
3071
cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files
3072
test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir)
3074
clean-gsettings-schemas:
3075
rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file)
3077
ifdef gsettings_ENUM_NAMESPACE
3078
$(gsettings__enum_file): $(gsettings_ENUM_FILES)
3079
$(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 $@
3090
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
3091
$as_echo_n "checking whether NLS is requested... " >&6; }
3092
# Check whether --enable-nls was given.
3093
if test "${enable_nls+set}" = set; then :
3094
enableval=$enable_nls; USE_NLS=$enableval
3099
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
3100
$as_echo "$USE_NLS" >&6; }
3103
DEPDIR="${am__leading_dot}deps"
3105
ac_config_commands="$ac_config_commands depfiles"
3108
am_make=${MAKE-make}
3109
cat > confinc << 'END'
3111
@echo this is the am__doit target
3114
# If we don't find an include directive, just comment out the code.
3115
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3116
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3120
# First try GNU make style include.
3121
echo "include confinc" > confmf
3122
# Ignore all kinds of additional output from `make'.
3123
case `$am_make -s -f confmf 2> /dev/null` in #(
3124
*the\ am__doit\ target*)
3130
# Now try BSD make style include.
3131
if test "$am__include" = "#"; then
3132
echo '.include "confinc"' > confmf
3133
case `$am_make -s -f confmf 2> /dev/null` in #(
3134
*the\ am__doit\ target*)
3135
am__include=.include
3143
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3144
$as_echo "$_am_result" >&6; }
3145
rm -f confinc confmf
3147
# Check whether --enable-dependency-tracking was given.
3148
if test "${enable_dependency_tracking+set}" = set; then :
3149
enableval=$enable_dependency_tracking;
3152
if test "x$enable_dependency_tracking" != xno; then
3153
am_depcomp="$ac_aux_dir/depcomp"
3157
if test "x$enable_dependency_tracking" != xno; then
3167
ac_cpp='$CPP $CPPFLAGS'
3168
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3169
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3170
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3171
if test -n "$ac_tool_prefix"; then
3172
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3173
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3174
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3175
$as_echo_n "checking for $ac_word... " >&6; }
3176
if ${ac_cv_prog_CC+:} false; then :
3177
$as_echo_n "(cached) " >&6
3179
if test -n "$CC"; then
3180
ac_cv_prog_CC="$CC" # Let the user override the test.
3182
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3186
test -z "$as_dir" && as_dir=.
3187
for ac_exec_ext in '' $ac_executable_extensions; do
3188
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3189
ac_cv_prog_CC="${ac_tool_prefix}gcc"
3190
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3200
if test -n "$CC"; then
3201
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3202
$as_echo "$CC" >&6; }
3204
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3205
$as_echo "no" >&6; }
3210
if test -z "$ac_cv_prog_CC"; then
3212
# Extract the first word of "gcc", so it can be a program name with args.
3213
set dummy gcc; ac_word=$2
3214
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3215
$as_echo_n "checking for $ac_word... " >&6; }
3216
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3217
$as_echo_n "(cached) " >&6
3219
if test -n "$ac_ct_CC"; then
3220
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3222
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3226
test -z "$as_dir" && as_dir=.
3227
for ac_exec_ext in '' $ac_executable_extensions; do
3228
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3229
ac_cv_prog_ac_ct_CC="gcc"
3230
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3239
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3240
if test -n "$ac_ct_CC"; then
3241
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3242
$as_echo "$ac_ct_CC" >&6; }
3244
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3245
$as_echo "no" >&6; }
3248
if test "x$ac_ct_CC" = x; then
3251
case $cross_compiling:$ac_tool_warned in
3253
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3254
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3255
ac_tool_warned=yes ;;
3263
if test -z "$CC"; then
3264
if test -n "$ac_tool_prefix"; then
3265
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3266
set dummy ${ac_tool_prefix}cc; ac_word=$2
3267
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3268
$as_echo_n "checking for $ac_word... " >&6; }
3269
if ${ac_cv_prog_CC+:} false; then :
3270
$as_echo_n "(cached) " >&6
3272
if test -n "$CC"; then
3273
ac_cv_prog_CC="$CC" # Let the user override the test.
3275
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3279
test -z "$as_dir" && as_dir=.
3280
for ac_exec_ext in '' $ac_executable_extensions; do
3281
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3282
ac_cv_prog_CC="${ac_tool_prefix}cc"
3283
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3293
if test -n "$CC"; then
3294
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3295
$as_echo "$CC" >&6; }
3297
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3298
$as_echo "no" >&6; }
3304
if test -z "$CC"; then
3305
# Extract the first word of "cc", so it can be a program name with args.
3306
set dummy cc; ac_word=$2
3307
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3308
$as_echo_n "checking for $ac_word... " >&6; }
3309
if ${ac_cv_prog_CC+:} false; then :
3310
$as_echo_n "(cached) " >&6
3312
if test -n "$CC"; then
3313
ac_cv_prog_CC="$CC" # Let the user override the test.
3316
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3320
test -z "$as_dir" && as_dir=.
3321
for ac_exec_ext in '' $ac_executable_extensions; do
3322
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3323
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3324
ac_prog_rejected=yes
3328
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3335
if test $ac_prog_rejected = yes; then
3336
# We found a bogon in the path, so make sure we never use it.
3337
set dummy $ac_cv_prog_CC
3339
if test $# != 0; then
3340
# We chose a different compiler from the bogus one.
3341
# However, it has the same basename, so the bogon will be chosen
3342
# first if we set CC to just the basename; use the full file name.
3344
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3350
if test -n "$CC"; then
3351
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3352
$as_echo "$CC" >&6; }
3354
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3355
$as_echo "no" >&6; }
3360
if test -z "$CC"; then
3361
if test -n "$ac_tool_prefix"; then
3362
for ac_prog in cl.exe
3364
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3365
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3366
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3367
$as_echo_n "checking for $ac_word... " >&6; }
3368
if ${ac_cv_prog_CC+:} false; then :
3369
$as_echo_n "(cached) " >&6
3371
if test -n "$CC"; then
3372
ac_cv_prog_CC="$CC" # Let the user override the test.
3374
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3378
test -z "$as_dir" && as_dir=.
3379
for ac_exec_ext in '' $ac_executable_extensions; do
3380
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3381
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3382
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3392
if test -n "$CC"; then
3393
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3394
$as_echo "$CC" >&6; }
3396
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3397
$as_echo "no" >&6; }
3401
test -n "$CC" && break
3404
if test -z "$CC"; then
3406
for ac_prog in cl.exe
3408
# Extract the first word of "$ac_prog", so it can be a program name with args.
3409
set dummy $ac_prog; ac_word=$2
3410
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3411
$as_echo_n "checking for $ac_word... " >&6; }
3412
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3413
$as_echo_n "(cached) " >&6
3415
if test -n "$ac_ct_CC"; then
3416
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3418
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3422
test -z "$as_dir" && as_dir=.
3423
for ac_exec_ext in '' $ac_executable_extensions; do
3424
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3425
ac_cv_prog_ac_ct_CC="$ac_prog"
3426
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3435
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3436
if test -n "$ac_ct_CC"; then
3437
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3438
$as_echo "$ac_ct_CC" >&6; }
3440
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3441
$as_echo "no" >&6; }
3445
test -n "$ac_ct_CC" && break
3448
if test "x$ac_ct_CC" = x; then
3451
case $cross_compiling:$ac_tool_warned in
3453
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3454
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3455
ac_tool_warned=yes ;;
3464
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3465
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3466
as_fn_error $? "no acceptable C compiler found in \$PATH
3467
See \`config.log' for more details" "$LINENO" 5; }
3469
# Provide some information about the compiler.
3470
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3473
for ac_option in --version -v -V -qversion; do
3474
{ { ac_try="$ac_compiler $ac_option >&5"
3476
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3477
*) ac_try_echo=$ac_try;;
3479
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3480
$as_echo "$ac_try_echo"; } >&5
3481
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
3483
if test -s conftest.err; then
3485
... rest of stderr output deleted ...
3486
10q' conftest.err >conftest.er1
3487
cat conftest.er1 >&5
3489
rm -f conftest.er1 conftest.err
3490
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3491
test $ac_status = 0; }
3494
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3495
/* end confdefs.h. */
3505
ac_clean_files_save=$ac_clean_files
3506
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3507
# Try to create an executable without -o first, disregard a.out.
3508
# It will help us diagnose broken compilers, and finding out an intuition
3510
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3511
$as_echo_n "checking whether the C compiler works... " >&6; }
3512
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3514
# The possible output files:
3515
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3518
for ac_file in $ac_files
3521
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3522
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
3527
if { { ac_try="$ac_link_default"
3529
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3530
*) ac_try_echo=$ac_try;;
3532
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3533
$as_echo "$ac_try_echo"; } >&5
3534
(eval "$ac_link_default") 2>&5
3536
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3537
test $ac_status = 0; }; then :
3538
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3539
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3540
# in a Makefile. We should not override ac_cv_exeext if it was cached,
3541
# so that the user can short-circuit this test for compilers unknown to
3543
for ac_file in $ac_files ''
3545
test -f "$ac_file" || continue
3547
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3550
# We found the default executable, but exeext='' is most
3554
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3556
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3558
# We set ac_cv_exeext here because the later test for it is not
3559
# safe: cross compilers may not add the suffix if given an `-o'
3560
# argument, so we may need to know it at that point already.
3561
# Even if this section looks crufty: it has the advantage of
3568
test "$ac_cv_exeext" = no && ac_cv_exeext=
3573
if test -z "$ac_file"; then :
3574
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3575
$as_echo "no" >&6; }
3576
$as_echo "$as_me: failed program was:" >&5
3577
sed 's/^/| /' conftest.$ac_ext >&5
3579
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3580
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3581
as_fn_error 77 "C compiler cannot create executables
3582
See \`config.log' for more details" "$LINENO" 5; }
3584
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3585
$as_echo "yes" >&6; }
3587
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3588
$as_echo_n "checking for C compiler default output file name... " >&6; }
3589
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3590
$as_echo "$ac_file" >&6; }
3591
ac_exeext=$ac_cv_exeext
3593
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3594
ac_clean_files=$ac_clean_files_save
3595
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3596
$as_echo_n "checking for suffix of executables... " >&6; }
3597
if { { ac_try="$ac_link"
3599
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3600
*) ac_try_echo=$ac_try;;
3602
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3603
$as_echo "$ac_try_echo"; } >&5
3604
(eval "$ac_link") 2>&5
3606
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3607
test $ac_status = 0; }; then :
3608
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3609
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3610
# work properly (i.e., refer to `conftest.exe'), while it won't with
3612
for ac_file in conftest.exe conftest conftest.*; do
3613
test -f "$ac_file" || continue
3615
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3616
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3622
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3623
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3624
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3625
See \`config.log' for more details" "$LINENO" 5; }
3627
rm -f conftest conftest$ac_cv_exeext
3628
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3629
$as_echo "$ac_cv_exeext" >&6; }
3631
rm -f conftest.$ac_ext
3632
EXEEXT=$ac_cv_exeext
3634
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3635
/* end confdefs.h. */
3640
FILE *f = fopen ("conftest.out", "w");
3641
return ferror (f) || fclose (f) != 0;
3647
ac_clean_files="$ac_clean_files conftest.out"
3648
# Check that the compiler produces executables we can run. If not, either
3649
# the compiler is broken, or we cross compile.
3650
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3651
$as_echo_n "checking whether we are cross compiling... " >&6; }
3652
if test "$cross_compiling" != yes; then
3653
{ { ac_try="$ac_link"
3655
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3656
*) ac_try_echo=$ac_try;;
3658
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3659
$as_echo "$ac_try_echo"; } >&5
3660
(eval "$ac_link") 2>&5
3662
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3663
test $ac_status = 0; }
3664
if { ac_try='./conftest$ac_cv_exeext'
3665
{ { case "(($ac_try" in
3666
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3667
*) ac_try_echo=$ac_try;;
3669
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3670
$as_echo "$ac_try_echo"; } >&5
3671
(eval "$ac_try") 2>&5
3673
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3674
test $ac_status = 0; }; }; then
3677
if test "$cross_compiling" = maybe; then
3680
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3681
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3682
as_fn_error $? "cannot run C compiled programs.
3683
If you meant to cross compile, use \`--host'.
3684
See \`config.log' for more details" "$LINENO" 5; }
3688
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3689
$as_echo "$cross_compiling" >&6; }
3691
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3692
ac_clean_files=$ac_clean_files_save
3693
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3694
$as_echo_n "checking for suffix of object files... " >&6; }
3695
if ${ac_cv_objext+:} false; then :
3696
$as_echo_n "(cached) " >&6
3698
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3699
/* end confdefs.h. */
3709
rm -f conftest.o conftest.obj
3710
if { { ac_try="$ac_compile"
3712
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3713
*) ac_try_echo=$ac_try;;
3715
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3716
$as_echo "$ac_try_echo"; } >&5
3717
(eval "$ac_compile") 2>&5
3719
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3720
test $ac_status = 0; }; then :
3721
for ac_file in conftest.o conftest.obj conftest.*; do
3722
test -f "$ac_file" || continue;
3724
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3725
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3730
$as_echo "$as_me: failed program was:" >&5
3731
sed 's/^/| /' conftest.$ac_ext >&5
3733
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3734
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3735
as_fn_error $? "cannot compute suffix of object files: cannot compile
3736
See \`config.log' for more details" "$LINENO" 5; }
3738
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3740
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3741
$as_echo "$ac_cv_objext" >&6; }
3742
OBJEXT=$ac_cv_objext
3744
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3745
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3746
if ${ac_cv_c_compiler_gnu+:} false; then :
3747
$as_echo_n "(cached) " >&6
3749
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3750
/* end confdefs.h. */
3763
if ac_fn_c_try_compile "$LINENO"; then :
3768
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3769
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3772
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3773
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3774
if test $ac_compiler_gnu = yes; then
3779
ac_test_CFLAGS=${CFLAGS+set}
3780
ac_save_CFLAGS=$CFLAGS
3781
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3782
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3783
if ${ac_cv_prog_cc_g+:} false; then :
3784
$as_echo_n "(cached) " >&6
3786
ac_save_c_werror_flag=$ac_c_werror_flag
3787
ac_c_werror_flag=yes
3790
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3791
/* end confdefs.h. */
3801
if ac_fn_c_try_compile "$LINENO"; then :
3805
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3806
/* end confdefs.h. */
3816
if ac_fn_c_try_compile "$LINENO"; then :
3819
ac_c_werror_flag=$ac_save_c_werror_flag
3821
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3822
/* end confdefs.h. */
3832
if ac_fn_c_try_compile "$LINENO"; then :
3835
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3837
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3839
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3840
ac_c_werror_flag=$ac_save_c_werror_flag
3842
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3843
$as_echo "$ac_cv_prog_cc_g" >&6; }
3844
if test "$ac_test_CFLAGS" = set; then
3845
CFLAGS=$ac_save_CFLAGS
3846
elif test $ac_cv_prog_cc_g = yes; then
3847
if test "$GCC" = yes; then
3853
if test "$GCC" = yes; then
3859
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3860
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3861
if ${ac_cv_prog_cc_c89+:} false; then :
3862
$as_echo_n "(cached) " >&6
3864
ac_cv_prog_cc_c89=no
3866
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3867
/* end confdefs.h. */
3870
#include <sys/types.h>
3871
#include <sys/stat.h>
3872
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3873
struct buf { int x; };
3874
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3875
static char *e (p, i)
3881
static char *f (char * (*g) (char **, int), char **p, ...)
3886
s = g (p, va_arg (v,int));
3891
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3892
function prototypes and stuff, but not '\xHH' hex character constants.
3893
These don't provoke an error unfortunately, instead are silently treated
3894
as 'x'. The following induces an error, until -std is added to get
3895
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3896
array size at least. It's necessary to write '\x00'==0 to get something
3897
that's true only with -std. */
3898
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3900
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3901
inside strings and character constants. */
3903
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3905
int test (int i, double x);
3906
struct s1 {int (*f) (int a);};
3907
struct s2 {int (*f) (double a);};
3908
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3914
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3919
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3920
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3922
CC="$ac_save_CC $ac_arg"
3923
if ac_fn_c_try_compile "$LINENO"; then :
3924
ac_cv_prog_cc_c89=$ac_arg
3926
rm -f core conftest.err conftest.$ac_objext
3927
test "x$ac_cv_prog_cc_c89" != "xno" && break
3929
rm -f conftest.$ac_ext
3934
case "x$ac_cv_prog_cc_c89" in
3936
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3937
$as_echo "none needed" >&6; } ;;
3939
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3940
$as_echo "unsupported" >&6; } ;;
3942
CC="$CC $ac_cv_prog_cc_c89"
3943
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3944
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3946
if test "x$ac_cv_prog_cc_c89" != xno; then :
3951
ac_cpp='$CPP $CPPFLAGS'
3952
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3953
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3954
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3956
depcc="$CC" am_compiler_list=
3958
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3959
$as_echo_n "checking dependency style of $depcc... " >&6; }
3960
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3961
$as_echo_n "(cached) " >&6
3963
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3964
# We make a subdir and do the tests there. Otherwise we can end up
3965
# making bogus files that we don't know about and never remove. For
3966
# instance it was reported that on HP-UX the gcc test will end up
3967
# making a dummy file named `D' -- because `-MD' means `put the output
3971
# Copy depcomp to subdir because otherwise we won't find it if we're
3972
# using a relative directory.
3973
cp "$am_depcomp" conftest.dir
3975
# We will build objects and dependencies in a subdirectory because
3976
# it helps to detect inapplicable dependency modes. For instance
3977
# both Tru64's cc and ICC support -MD to output dependencies as a
3978
# side effect of compilation, but ICC will put the dependencies in
3979
# the current directory while Tru64 will put them in the object
3983
am_cv_CC_dependencies_compiler_type=none
3984
if test "$am_compiler_list" = ""; then
3985
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3988
case " $depcc " in #(
3989
*\ -arch\ *\ -arch\ *) am__universal=true ;;
3992
for depmode in $am_compiler_list; do
3993
# Setup a source with many dependencies, because some compilers
3994
# like to wrap large dependency lists on column 80 (with \), and
3995
# we should not choose a depcomp mode which is confused by this.
3997
# We need to recreate these files for each test, as the compiler may
3998
# overwrite some of them when testing with obscure command lines.
3999
# This happens at least with the AIX C compiler.
4001
for i in 1 2 3 4 5 6; do
4002
echo '#include "conftst'$i'.h"' >> sub/conftest.c
4003
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4004
# Solaris 8's {/usr,}/bin/sh.
4005
touch sub/conftst$i.h
4007
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4009
# We check with `-c' and `-o' for the sake of the "dashmstdout"
4010
# mode. It turns out that the SunPro C++ compiler does not properly
4011
# handle `-M -o', and we need to detect this. Also, some Intel
4012
# versions had trouble with output in subdirs
4013
am__obj=sub/conftest.${OBJEXT-o}
4014
am__minus_obj="-o $am__obj"
4017
# This depmode causes a compiler race in universal mode.
4018
test "$am__universal" = false || continue
4021
# after this tag, mechanisms are not by side-effect, so they'll
4022
# only be used when explicitly requested
4023
if test "x$enable_dependency_tracking" = xyes; then
4029
msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4030
# This compiler won't grok `-c -o', but also, the minuso test has
4031
# not run yet. These depmodes are late enough in the game, and
4032
# so weak that their functioning should not be impacted.
4033
am__obj=conftest.${OBJEXT-o}
4038
if depmode=$depmode \
4039
source=sub/conftest.c object=$am__obj \
4040
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4041
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4042
>/dev/null 2>conftest.err &&
4043
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4044
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4045
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4046
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4047
# icc doesn't choke on unknown options, it will just issue warnings
4048
# or remarks (even with -Werror). So we grep stderr for any message
4049
# that says an option was ignored or not supported.
4050
# When given -MP, icc 7.0 and 7.1 complain thusly:
4051
# icc: Command line warning: ignoring option '-M'; no argument required
4052
# The diagnosis changed in icc 8.0:
4053
# icc: Command line remark: option '-MP' not supported
4054
if (grep 'ignoring option' conftest.err ||
4055
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4056
am_cv_CC_dependencies_compiler_type=$depmode
4065
am_cv_CC_dependencies_compiler_type=none
4069
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4070
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4071
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4074
test "x$enable_dependency_tracking" != xno \
4075
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4077
am__fastdepCC_FALSE='#'
4079
am__fastdepCC_TRUE='#'
4080
am__fastdepCC_FALSE=
4087
case "$am__api_version" in
4089
as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
4095
INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
4096
INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
4097
INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
4098
if test -n "0.35.0"; then
4099
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.35.0" >&5
4100
$as_echo_n "checking for intltool >= 0.35.0... " >&6; }
4101
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
4102
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
4103
test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
4104
as_fn_error $? "Your intltool is too old. You need intltool 0.35.0 or later." "$LINENO" 5
4107
# Extract the first word of "intltool-update", so it can be a program name with args.
4108
set dummy intltool-update; ac_word=$2
4109
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4110
$as_echo_n "checking for $ac_word... " >&6; }
4111
if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
4112
$as_echo_n "(cached) " >&6
4114
case $INTLTOOL_UPDATE in
4116
ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
4119
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4123
test -z "$as_dir" && as_dir=.
4124
for ac_exec_ext in '' $ac_executable_extensions; do
4125
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4126
ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
4127
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4137
INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
4138
if test -n "$INTLTOOL_UPDATE"; then
4139
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
4140
$as_echo "$INTLTOOL_UPDATE" >&6; }
4142
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4143
$as_echo "no" >&6; }
4147
# Extract the first word of "intltool-merge", so it can be a program name with args.
4148
set dummy intltool-merge; ac_word=$2
4149
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4150
$as_echo_n "checking for $ac_word... " >&6; }
4151
if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
4152
$as_echo_n "(cached) " >&6
4154
case $INTLTOOL_MERGE in
4156
ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
4159
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4163
test -z "$as_dir" && as_dir=.
4164
for ac_exec_ext in '' $ac_executable_extensions; do
4165
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4166
ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
4167
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4177
INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
4178
if test -n "$INTLTOOL_MERGE"; then
4179
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
4180
$as_echo "$INTLTOOL_MERGE" >&6; }
4182
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4183
$as_echo "no" >&6; }
4187
# Extract the first word of "intltool-extract", so it can be a program name with args.
4188
set dummy intltool-extract; ac_word=$2
4189
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4190
$as_echo_n "checking for $ac_word... " >&6; }
4191
if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
4192
$as_echo_n "(cached) " >&6
4194
case $INTLTOOL_EXTRACT in
4196
ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
4199
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4203
test -z "$as_dir" && as_dir=.
4204
for ac_exec_ext in '' $ac_executable_extensions; do
4205
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4206
ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
4207
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4217
INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
4218
if test -n "$INTLTOOL_EXTRACT"; then
4219
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
4220
$as_echo "$INTLTOOL_EXTRACT" >&6; }
4222
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4223
$as_echo "no" >&6; }
4227
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
4228
as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
4231
if test -z "$AM_DEFAULT_VERBOSITY"; then
4232
AM_DEFAULT_VERBOSITY=1
4236
INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
4237
INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
4238
INTLTOOL__v_MERGE_0='@echo " ITMRG " $@;'
4243
INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
4244
intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
4245
intltool__v_merge_options_0='-q'
4250
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 $< $@'
4251
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 $< $@'
4252
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 $< $@'
4253
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 $< $@'
4254
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 $< $@'
4255
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 $< $@'
4256
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 $< $@'
4257
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 $< $@'
4258
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 $< $@'
4259
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 $< $@'
4260
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 $< $@'
4261
if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
4262
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 $< $@'
4264
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'
4266
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 $< $@'
4267
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 $< $@'
4268
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 $< $@'
4269
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 $< $@'
4270
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 $< $@'
4271
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 $< $@'
4272
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 $< $@'
4370
# Check the gettext tools to make sure they are GNU
4371
# Extract the first word of "xgettext", so it can be a program name with args.
4372
set dummy xgettext; ac_word=$2
4373
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4374
$as_echo_n "checking for $ac_word... " >&6; }
4375
if ${ac_cv_path_XGETTEXT+:} false; then :
4376
$as_echo_n "(cached) " >&6
4380
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
4383
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4387
test -z "$as_dir" && as_dir=.
4388
for ac_exec_ext in '' $ac_executable_extensions; do
4389
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4390
ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
4391
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4401
XGETTEXT=$ac_cv_path_XGETTEXT
4402
if test -n "$XGETTEXT"; then
4403
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
4404
$as_echo "$XGETTEXT" >&6; }
4406
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4407
$as_echo "no" >&6; }
4411
# Extract the first word of "msgmerge", so it can be a program name with args.
4412
set dummy msgmerge; ac_word=$2
4413
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4414
$as_echo_n "checking for $ac_word... " >&6; }
4415
if ${ac_cv_path_MSGMERGE+:} false; then :
4416
$as_echo_n "(cached) " >&6
4420
ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
4423
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4427
test -z "$as_dir" && as_dir=.
4428
for ac_exec_ext in '' $ac_executable_extensions; do
4429
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4430
ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
4431
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4441
MSGMERGE=$ac_cv_path_MSGMERGE
4442
if test -n "$MSGMERGE"; then
4443
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
4444
$as_echo "$MSGMERGE" >&6; }
4446
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4447
$as_echo "no" >&6; }
4451
# Extract the first word of "msgfmt", so it can be a program name with args.
4452
set dummy msgfmt; ac_word=$2
4453
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4454
$as_echo_n "checking for $ac_word... " >&6; }
4455
if ${ac_cv_path_MSGFMT+:} false; then :
4456
$as_echo_n "(cached) " >&6
4460
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
4463
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4467
test -z "$as_dir" && as_dir=.
4468
for ac_exec_ext in '' $ac_executable_extensions; do
4469
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4470
ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
4471
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4481
MSGFMT=$ac_cv_path_MSGFMT
4482
if test -n "$MSGFMT"; then
4483
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
4484
$as_echo "$MSGFMT" >&6; }
4486
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4487
$as_echo "no" >&6; }
4491
# Extract the first word of "gmsgfmt", so it can be a program name with args.
4492
set dummy gmsgfmt; ac_word=$2
4493
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4494
$as_echo_n "checking for $ac_word... " >&6; }
4495
if ${ac_cv_path_GMSGFMT+:} false; then :
4496
$as_echo_n "(cached) " >&6
4500
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
4503
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4507
test -z "$as_dir" && as_dir=.
4508
for ac_exec_ext in '' $ac_executable_extensions; do
4509
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4510
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
4511
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4518
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
4522
GMSGFMT=$ac_cv_path_GMSGFMT
4523
if test -n "$GMSGFMT"; then
4524
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
4525
$as_echo "$GMSGFMT" >&6; }
4527
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4528
$as_echo "no" >&6; }
4532
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
4533
as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
4535
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
4536
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
4537
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
4538
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
4539
as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
4542
# Extract the first word of "perl", so it can be a program name with args.
4543
set dummy perl; ac_word=$2
4544
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4545
$as_echo_n "checking for $ac_word... " >&6; }
4546
if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
4547
$as_echo_n "(cached) " >&6
4549
case $INTLTOOL_PERL in
4551
ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
4554
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4558
test -z "$as_dir" && as_dir=.
4559
for ac_exec_ext in '' $ac_executable_extensions; do
4560
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4561
ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
4562
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4572
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
4573
if test -n "$INTLTOOL_PERL"; then
4574
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
4575
$as_echo "$INTLTOOL_PERL" >&6; }
4577
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4578
$as_echo "no" >&6; }
4582
if test -z "$INTLTOOL_PERL"; then
4583
as_fn_error $? "perl not found" "$LINENO" 5
4585
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
4586
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
4587
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
4588
if test $? -ne 0; then
4589
as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
4591
IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
4592
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
4593
$as_echo "$IT_PERL_VERSION" >&6; }
4595
if test "x" != "xno-xml"; then
4596
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
4597
$as_echo_n "checking for XML::Parser... " >&6; }
4598
if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
4599
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
4600
$as_echo "ok" >&6; }
4602
as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
4606
# Substitute ALL_LINGUAS so we can use it in po/Makefile
4609
# Set DATADIRNAME correctly if it is not set yet
4610
# (copied from glib-gettext.m4)
4611
if test -z "$DATADIRNAME"; then
4612
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4613
/* end confdefs.h. */
4618
extern int _nl_msg_cat_cntr;
4619
return _nl_msg_cat_cntr
4624
if ac_fn_c_try_link "$LINENO"; then :
4629
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
4630
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
4642
rm -f core conftest.err conftest.$ac_objext \
4643
conftest$ac_exeext conftest.$ac_ext
4651
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
4652
$as_echo_n "checking for library containing strerror... " >&6; }
4653
if ${ac_cv_search_strerror+:} false; then :
4654
$as_echo_n "(cached) " >&6
4656
ac_func_search_save_LIBS=$LIBS
4657
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4658
/* end confdefs.h. */
4660
/* Override any GCC internal prototype to avoid an error.
4661
Use char because int might match the return type of a GCC
4662
builtin and then its argument prototype would still apply. */
4675
for ac_lib in '' cposix; do
4676
if test -z "$ac_lib"; then
4677
ac_res="none required"
4680
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4682
if ac_fn_c_try_link "$LINENO"; then :
4683
ac_cv_search_strerror=$ac_res
4685
rm -f core conftest.err conftest.$ac_objext \
4687
if ${ac_cv_search_strerror+:} false; then :
4691
if ${ac_cv_search_strerror+:} false; then :
4694
ac_cv_search_strerror=no
4697
LIBS=$ac_func_search_save_LIBS
4699
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
4700
$as_echo "$ac_cv_search_strerror" >&6; }
4701
ac_res=$ac_cv_search_strerror
4702
if test "$ac_res" != no; then :
4703
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4708
ac_cpp='$CPP $CPPFLAGS'
4709
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4710
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4711
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4712
if test -n "$ac_tool_prefix"; then
4713
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4714
set dummy ${ac_tool_prefix}gcc; ac_word=$2
4715
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4716
$as_echo_n "checking for $ac_word... " >&6; }
4717
if ${ac_cv_prog_CC+:} false; then :
4718
$as_echo_n "(cached) " >&6
4720
if test -n "$CC"; then
4721
ac_cv_prog_CC="$CC" # Let the user override the test.
4723
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4727
test -z "$as_dir" && as_dir=.
4728
for ac_exec_ext in '' $ac_executable_extensions; do
4729
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4730
ac_cv_prog_CC="${ac_tool_prefix}gcc"
4731
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4741
if test -n "$CC"; then
4742
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4743
$as_echo "$CC" >&6; }
4745
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4746
$as_echo "no" >&6; }
4751
if test -z "$ac_cv_prog_CC"; then
4753
# Extract the first word of "gcc", so it can be a program name with args.
4754
set dummy gcc; ac_word=$2
4755
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4756
$as_echo_n "checking for $ac_word... " >&6; }
4757
if ${ac_cv_prog_ac_ct_CC+:} false; then :
4758
$as_echo_n "(cached) " >&6
4760
if test -n "$ac_ct_CC"; then
4761
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4763
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4767
test -z "$as_dir" && as_dir=.
4768
for ac_exec_ext in '' $ac_executable_extensions; do
4769
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4770
ac_cv_prog_ac_ct_CC="gcc"
4771
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4780
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4781
if test -n "$ac_ct_CC"; then
4782
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4783
$as_echo "$ac_ct_CC" >&6; }
4785
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4786
$as_echo "no" >&6; }
4789
if test "x$ac_ct_CC" = x; then
4792
case $cross_compiling:$ac_tool_warned in
4794
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4795
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4796
ac_tool_warned=yes ;;
4804
if test -z "$CC"; then
4805
if test -n "$ac_tool_prefix"; then
4806
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4807
set dummy ${ac_tool_prefix}cc; ac_word=$2
4808
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4809
$as_echo_n "checking for $ac_word... " >&6; }
4810
if ${ac_cv_prog_CC+:} false; then :
4811
$as_echo_n "(cached) " >&6
4813
if test -n "$CC"; then
4814
ac_cv_prog_CC="$CC" # Let the user override the test.
4816
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4820
test -z "$as_dir" && as_dir=.
4821
for ac_exec_ext in '' $ac_executable_extensions; do
4822
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4823
ac_cv_prog_CC="${ac_tool_prefix}cc"
4824
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4834
if test -n "$CC"; then
4835
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4836
$as_echo "$CC" >&6; }
4838
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4839
$as_echo "no" >&6; }
4845
if test -z "$CC"; then
4846
# Extract the first word of "cc", so it can be a program name with args.
4847
set dummy cc; ac_word=$2
4848
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4849
$as_echo_n "checking for $ac_word... " >&6; }
4850
if ${ac_cv_prog_CC+:} false; then :
4851
$as_echo_n "(cached) " >&6
4853
if test -n "$CC"; then
4854
ac_cv_prog_CC="$CC" # Let the user override the test.
4857
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4861
test -z "$as_dir" && as_dir=.
4862
for ac_exec_ext in '' $ac_executable_extensions; do
4863
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4864
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4865
ac_prog_rejected=yes
4869
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4876
if test $ac_prog_rejected = yes; then
4877
# We found a bogon in the path, so make sure we never use it.
4878
set dummy $ac_cv_prog_CC
4880
if test $# != 0; then
4881
# We chose a different compiler from the bogus one.
4882
# However, it has the same basename, so the bogon will be chosen
4883
# first if we set CC to just the basename; use the full file name.
4885
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4891
if test -n "$CC"; then
4892
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4893
$as_echo "$CC" >&6; }
4895
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4896
$as_echo "no" >&6; }
4901
if test -z "$CC"; then
4902
if test -n "$ac_tool_prefix"; then
4903
for ac_prog in cl.exe
4905
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4906
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4907
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4908
$as_echo_n "checking for $ac_word... " >&6; }
4909
if ${ac_cv_prog_CC+:} false; then :
4910
$as_echo_n "(cached) " >&6
4912
if test -n "$CC"; then
4913
ac_cv_prog_CC="$CC" # Let the user override the test.
4915
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4919
test -z "$as_dir" && as_dir=.
4920
for ac_exec_ext in '' $ac_executable_extensions; do
4921
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4922
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4923
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4933
if test -n "$CC"; then
4934
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4935
$as_echo "$CC" >&6; }
4937
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4938
$as_echo "no" >&6; }
4942
test -n "$CC" && break
4945
if test -z "$CC"; then
4947
for ac_prog in cl.exe
4949
# Extract the first word of "$ac_prog", so it can be a program name with args.
4950
set dummy $ac_prog; ac_word=$2
4951
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4952
$as_echo_n "checking for $ac_word... " >&6; }
4953
if ${ac_cv_prog_ac_ct_CC+:} false; then :
4954
$as_echo_n "(cached) " >&6
4956
if test -n "$ac_ct_CC"; then
4957
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4959
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4963
test -z "$as_dir" && as_dir=.
4964
for ac_exec_ext in '' $ac_executable_extensions; do
4965
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4966
ac_cv_prog_ac_ct_CC="$ac_prog"
4967
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4976
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4977
if test -n "$ac_ct_CC"; then
4978
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4979
$as_echo "$ac_ct_CC" >&6; }
4981
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4982
$as_echo "no" >&6; }
4986
test -n "$ac_ct_CC" && break
4989
if test "x$ac_ct_CC" = x; then
4992
case $cross_compiling:$ac_tool_warned in
4994
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4995
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4996
ac_tool_warned=yes ;;
5005
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5006
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5007
as_fn_error $? "no acceptable C compiler found in \$PATH
5008
See \`config.log' for more details" "$LINENO" 5; }
5010
# Provide some information about the compiler.
5011
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5014
for ac_option in --version -v -V -qversion; do
5015
{ { ac_try="$ac_compiler $ac_option >&5"
5017
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5018
*) ac_try_echo=$ac_try;;
5020
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5021
$as_echo "$ac_try_echo"; } >&5
5022
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
5024
if test -s conftest.err; then
5026
... rest of stderr output deleted ...
5027
10q' conftest.err >conftest.er1
5028
cat conftest.er1 >&5
5030
rm -f conftest.er1 conftest.err
5031
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5032
test $ac_status = 0; }
5035
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5036
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5037
if ${ac_cv_c_compiler_gnu+:} false; then :
5038
$as_echo_n "(cached) " >&6
5040
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5041
/* end confdefs.h. */
5054
if ac_fn_c_try_compile "$LINENO"; then :
5059
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5060
ac_cv_c_compiler_gnu=$ac_compiler_gnu
5063
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5064
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
5065
if test $ac_compiler_gnu = yes; then
5070
ac_test_CFLAGS=${CFLAGS+set}
5071
ac_save_CFLAGS=$CFLAGS
5072
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5073
$as_echo_n "checking whether $CC accepts -g... " >&6; }
5074
if ${ac_cv_prog_cc_g+:} false; then :
5075
$as_echo_n "(cached) " >&6
5077
ac_save_c_werror_flag=$ac_c_werror_flag
5078
ac_c_werror_flag=yes
5081
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5082
/* end confdefs.h. */
5092
if ac_fn_c_try_compile "$LINENO"; then :
5096
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5097
/* end confdefs.h. */
5107
if ac_fn_c_try_compile "$LINENO"; then :
5110
ac_c_werror_flag=$ac_save_c_werror_flag
5112
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5113
/* end confdefs.h. */
5123
if ac_fn_c_try_compile "$LINENO"; then :
5126
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5128
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5130
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5131
ac_c_werror_flag=$ac_save_c_werror_flag
5133
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5134
$as_echo "$ac_cv_prog_cc_g" >&6; }
5135
if test "$ac_test_CFLAGS" = set; then
5136
CFLAGS=$ac_save_CFLAGS
5137
elif test $ac_cv_prog_cc_g = yes; then
5138
if test "$GCC" = yes; then
5144
if test "$GCC" = yes; then
5150
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5151
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5152
if ${ac_cv_prog_cc_c89+:} false; then :
5153
$as_echo_n "(cached) " >&6
5155
ac_cv_prog_cc_c89=no
5157
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5158
/* end confdefs.h. */
5161
#include <sys/types.h>
5162
#include <sys/stat.h>
5163
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5164
struct buf { int x; };
5165
FILE * (*rcsopen) (struct buf *, struct stat *, int);
5166
static char *e (p, i)
5172
static char *f (char * (*g) (char **, int), char **p, ...)
5177
s = g (p, va_arg (v,int));
5182
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5183
function prototypes and stuff, but not '\xHH' hex character constants.
5184
These don't provoke an error unfortunately, instead are silently treated
5185
as 'x'. The following induces an error, until -std is added to get
5186
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5187
array size at least. It's necessary to write '\x00'==0 to get something
5188
that's true only with -std. */
5189
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5191
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5192
inside strings and character constants. */
5194
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5196
int test (int i, double x);
5197
struct s1 {int (*f) (int a);};
5198
struct s2 {int (*f) (double a);};
5199
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5205
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5210
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5211
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5213
CC="$ac_save_CC $ac_arg"
5214
if ac_fn_c_try_compile "$LINENO"; then :
5215
ac_cv_prog_cc_c89=$ac_arg
5217
rm -f core conftest.err conftest.$ac_objext
5218
test "x$ac_cv_prog_cc_c89" != "xno" && break
5220
rm -f conftest.$ac_ext
5225
case "x$ac_cv_prog_cc_c89" in
5227
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5228
$as_echo "none needed" >&6; } ;;
5230
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5231
$as_echo "unsupported" >&6; } ;;
5233
CC="$CC $ac_cv_prog_cc_c89"
5234
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5235
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5237
if test "x$ac_cv_prog_cc_c89" != xno; then :
5242
ac_cpp='$CPP $CPPFLAGS'
5243
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5244
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5245
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5247
depcc="$CC" am_compiler_list=
5249
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5250
$as_echo_n "checking dependency style of $depcc... " >&6; }
5251
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5252
$as_echo_n "(cached) " >&6
5254
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5255
# We make a subdir and do the tests there. Otherwise we can end up
5256
# making bogus files that we don't know about and never remove. For
5257
# instance it was reported that on HP-UX the gcc test will end up
5258
# making a dummy file named `D' -- because `-MD' means `put the output
5262
# Copy depcomp to subdir because otherwise we won't find it if we're
5263
# using a relative directory.
5264
cp "$am_depcomp" conftest.dir
5266
# We will build objects and dependencies in a subdirectory because
5267
# it helps to detect inapplicable dependency modes. For instance
5268
# both Tru64's cc and ICC support -MD to output dependencies as a
5269
# side effect of compilation, but ICC will put the dependencies in
5270
# the current directory while Tru64 will put them in the object
5274
am_cv_CC_dependencies_compiler_type=none
5275
if test "$am_compiler_list" = ""; then
5276
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5279
case " $depcc " in #(
5280
*\ -arch\ *\ -arch\ *) am__universal=true ;;
5283
for depmode in $am_compiler_list; do
5284
# Setup a source with many dependencies, because some compilers
5285
# like to wrap large dependency lists on column 80 (with \), and
5286
# we should not choose a depcomp mode which is confused by this.
5288
# We need to recreate these files for each test, as the compiler may
5289
# overwrite some of them when testing with obscure command lines.
5290
# This happens at least with the AIX C compiler.
5292
for i in 1 2 3 4 5 6; do
5293
echo '#include "conftst'$i'.h"' >> sub/conftest.c
5294
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5295
# Solaris 8's {/usr,}/bin/sh.
5296
touch sub/conftst$i.h
5298
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5300
# We check with `-c' and `-o' for the sake of the "dashmstdout"
5301
# mode. It turns out that the SunPro C++ compiler does not properly
5302
# handle `-M -o', and we need to detect this. Also, some Intel
5303
# versions had trouble with output in subdirs
5304
am__obj=sub/conftest.${OBJEXT-o}
5305
am__minus_obj="-o $am__obj"
5308
# This depmode causes a compiler race in universal mode.
5309
test "$am__universal" = false || continue
5312
# after this tag, mechanisms are not by side-effect, so they'll
5313
# only be used when explicitly requested
5314
if test "x$enable_dependency_tracking" = xyes; then
5320
msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5321
# This compiler won't grok `-c -o', but also, the minuso test has
5322
# not run yet. These depmodes are late enough in the game, and
5323
# so weak that their functioning should not be impacted.
5324
am__obj=conftest.${OBJEXT-o}
5329
if depmode=$depmode \
5330
source=sub/conftest.c object=$am__obj \
5331
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5332
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5333
>/dev/null 2>conftest.err &&
5334
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5335
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5336
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5337
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5338
# icc doesn't choke on unknown options, it will just issue warnings
5339
# or remarks (even with -Werror). So we grep stderr for any message
5340
# that says an option was ignored or not supported.
5341
# When given -MP, icc 7.0 and 7.1 complain thusly:
5342
# icc: Command line warning: ignoring option '-M'; no argument required
5343
# The diagnosis changed in icc 8.0:
5344
# icc: Command line remark: option '-MP' not supported
5345
if (grep 'ignoring option' conftest.err ||
5346
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5347
am_cv_CC_dependencies_compiler_type=$depmode
5356
am_cv_CC_dependencies_compiler_type=none
5360
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5361
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5362
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5365
test "x$enable_dependency_tracking" != xno \
5366
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5368
am__fastdepCC_FALSE='#'
5370
am__fastdepCC_TRUE='#'
5371
am__fastdepCC_FALSE=
5375
if test "x$CC" != xcc; then
5376
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
5377
$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
5379
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
5380
$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
5382
set dummy $CC; ac_cc=`$as_echo "$2" |
5383
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5384
if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
5385
$as_echo_n "(cached) " >&6
5387
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5388
/* end confdefs.h. */
5398
# Make sure it works both with $CC and with simple cc.
5399
# We do the test twice because some compilers refuse to overwrite an
5400
# existing .o file with -o, though they will create one.
5401
ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5403
if { { case "(($ac_try" in
5404
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5405
*) ac_try_echo=$ac_try;;
5407
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5408
$as_echo "$ac_try_echo"; } >&5
5409
(eval "$ac_try") 2>&5
5411
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5412
test $ac_status = 0; } &&
5413
test -f conftest2.$ac_objext && { { case "(($ac_try" in
5414
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5415
*) ac_try_echo=$ac_try;;
5417
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5418
$as_echo "$ac_try_echo"; } >&5
5419
(eval "$ac_try") 2>&5
5421
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5422
test $ac_status = 0; };
5424
eval ac_cv_prog_cc_${ac_cc}_c_o=yes
5425
if test "x$CC" != xcc; then
5426
# Test first that cc exists at all.
5427
if { ac_try='cc -c conftest.$ac_ext >&5'
5428
{ { case "(($ac_try" in
5429
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5430
*) ac_try_echo=$ac_try;;
5432
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5433
$as_echo "$ac_try_echo"; } >&5
5434
(eval "$ac_try") 2>&5
5436
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5437
test $ac_status = 0; }; }; then
5438
ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5440
if { { case "(($ac_try" in
5441
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5442
*) ac_try_echo=$ac_try;;
5444
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5445
$as_echo "$ac_try_echo"; } >&5
5446
(eval "$ac_try") 2>&5
5448
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5449
test $ac_status = 0; } &&
5450
test -f conftest2.$ac_objext && { { case "(($ac_try" in
5451
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5452
*) ac_try_echo=$ac_try;;
5454
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5455
$as_echo "$ac_try_echo"; } >&5
5456
(eval "$ac_try") 2>&5
5458
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5459
test $ac_status = 0; };
5464
# cc exists but doesn't like -o.
5465
eval ac_cv_prog_cc_${ac_cc}_c_o=no
5470
eval ac_cv_prog_cc_${ac_cc}_c_o=no
5472
rm -f core conftest*
5475
if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
5476
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5477
$as_echo "yes" >&6; }
5479
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5480
$as_echo "no" >&6; }
5482
$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
5486
# FIXME: we rely on the cache variable name because
5487
# there is no other way.
5489
am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5490
eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
5491
if test "$am_t" != yes; then
5492
# Losing compiler, so override with the script.
5493
# FIXME: It is wrong to rewrite CC.
5494
# But if we don't then we get into trouble of one sort or another.
5495
# A longer-term fix would be to have automake use am__CC in this case,
5496
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5497
CC="$am_aux_dir/compile $CC"
5502
ac_cpp='$CPP $CPPFLAGS'
5503
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5504
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5505
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5506
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5507
$as_echo_n "checking how to run the C preprocessor... " >&6; }
5508
# On Suns, sometimes $CPP names a directory.
5509
if test -n "$CPP" && test -d "$CPP"; then
5512
if test -z "$CPP"; then
5513
if ${ac_cv_prog_CPP+:} false; then :
5514
$as_echo_n "(cached) " >&6
5516
# Double quotes because CPP needs to be expanded
5517
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5520
for ac_c_preproc_warn_flag in '' yes
5522
# Use a header file that comes with gcc, so configuring glibc
5523
# with a fresh cross-compiler works.
5524
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5525
# <limits.h> exists even on freestanding compilers.
5526
# On the NeXT, cc -E runs the code through the compiler's parser,
5527
# not just through cpp. "Syntax error" is here to catch this case.
5528
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5529
/* end confdefs.h. */
5531
# include <limits.h>
5533
# include <assert.h>
5537
if ac_fn_c_try_cpp "$LINENO"; then :
5540
# Broken: fails on valid input.
5543
rm -f conftest.err conftest.i conftest.$ac_ext
5545
# OK, works on sane cases. Now check whether nonexistent headers
5546
# can be detected and how.
5547
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5548
/* end confdefs.h. */
5549
#include <ac_nonexistent.h>
5551
if ac_fn_c_try_cpp "$LINENO"; then :
5552
# Broken: success on invalid input.
5555
# Passes both tests.
5559
rm -f conftest.err conftest.i conftest.$ac_ext
5562
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5563
rm -f conftest.i conftest.err conftest.$ac_ext
5564
if $ac_preproc_ok; then :
5576
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5577
$as_echo "$CPP" >&6; }
5579
for ac_c_preproc_warn_flag in '' yes
5581
# Use a header file that comes with gcc, so configuring glibc
5582
# with a fresh cross-compiler works.
5583
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5584
# <limits.h> exists even on freestanding compilers.
5585
# On the NeXT, cc -E runs the code through the compiler's parser,
5586
# not just through cpp. "Syntax error" is here to catch this case.
5587
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5588
/* end confdefs.h. */
5590
# include <limits.h>
5592
# include <assert.h>
5596
if ac_fn_c_try_cpp "$LINENO"; then :
5599
# Broken: fails on valid input.
5602
rm -f conftest.err conftest.i conftest.$ac_ext
5604
# OK, works on sane cases. Now check whether nonexistent headers
5605
# can be detected and how.
5606
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5607
/* end confdefs.h. */
5608
#include <ac_nonexistent.h>
5610
if ac_fn_c_try_cpp "$LINENO"; then :
5611
# Broken: success on invalid input.
5614
# Passes both tests.
5618
rm -f conftest.err conftest.i conftest.$ac_ext
5621
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5622
rm -f conftest.i conftest.err conftest.$ac_ext
5623
if $ac_preproc_ok; then :
5626
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5627
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5628
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5629
See \`config.log' for more details" "$LINENO" 5; }
5633
ac_cpp='$CPP $CPPFLAGS'
5634
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5635
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5636
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5639
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5640
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5641
if ${ac_cv_path_GREP+:} false; then :
5642
$as_echo_n "(cached) " >&6
5644
if test -z "$GREP"; then
5645
ac_path_GREP_found=false
5646
# Loop through the user's path and test for each of PROGNAME-LIST
5647
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5648
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5651
test -z "$as_dir" && as_dir=.
5652
for ac_prog in grep ggrep; do
5653
for ac_exec_ext in '' $ac_executable_extensions; do
5654
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5655
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5656
# Check for GNU ac_path_GREP and select it if it is found.
5657
# Check for GNU $ac_path_GREP
5658
case `"$ac_path_GREP" --version 2>&1` in
5660
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5663
$as_echo_n 0123456789 >"conftest.in"
5666
cat "conftest.in" "conftest.in" >"conftest.tmp"
5667
mv "conftest.tmp" "conftest.in"
5668
cp "conftest.in" "conftest.nl"
5669
$as_echo 'GREP' >> "conftest.nl"
5670
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5671
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5672
as_fn_arith $ac_count + 1 && ac_count=$as_val
5673
if test $ac_count -gt ${ac_path_GREP_max-0}; then
5674
# Best one so far, save it but keep looking for a better one
5675
ac_cv_path_GREP="$ac_path_GREP"
5676
ac_path_GREP_max=$ac_count
5678
# 10*(2^10) chars as input seems more than enough
5679
test $ac_count -gt 10 && break
5681
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5684
$ac_path_GREP_found && break 3
5689
if test -z "$ac_cv_path_GREP"; then
5690
as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5693
ac_cv_path_GREP=$GREP
5697
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5698
$as_echo "$ac_cv_path_GREP" >&6; }
5699
GREP="$ac_cv_path_GREP"
5702
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5703
$as_echo_n "checking for egrep... " >&6; }
5704
if ${ac_cv_path_EGREP+:} false; then :
5705
$as_echo_n "(cached) " >&6
5707
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5708
then ac_cv_path_EGREP="$GREP -E"
5710
if test -z "$EGREP"; then
5711
ac_path_EGREP_found=false
5712
# Loop through the user's path and test for each of PROGNAME-LIST
5713
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5714
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5717
test -z "$as_dir" && as_dir=.
5718
for ac_prog in egrep; do
5719
for ac_exec_ext in '' $ac_executable_extensions; do
5720
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5721
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5722
# Check for GNU ac_path_EGREP and select it if it is found.
5723
# Check for GNU $ac_path_EGREP
5724
case `"$ac_path_EGREP" --version 2>&1` in
5726
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5729
$as_echo_n 0123456789 >"conftest.in"
5732
cat "conftest.in" "conftest.in" >"conftest.tmp"
5733
mv "conftest.tmp" "conftest.in"
5734
cp "conftest.in" "conftest.nl"
5735
$as_echo 'EGREP' >> "conftest.nl"
5736
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5737
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5738
as_fn_arith $ac_count + 1 && ac_count=$as_val
5739
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5740
# Best one so far, save it but keep looking for a better one
5741
ac_cv_path_EGREP="$ac_path_EGREP"
5742
ac_path_EGREP_max=$ac_count
5744
# 10*(2^10) chars as input seems more than enough
5745
test $ac_count -gt 10 && break
5747
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5750
$ac_path_EGREP_found && break 3
5755
if test -z "$ac_cv_path_EGREP"; then
5756
as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5759
ac_cv_path_EGREP=$EGREP
5764
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5765
$as_echo "$ac_cv_path_EGREP" >&6; }
5766
EGREP="$ac_cv_path_EGREP"
5769
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5770
$as_echo_n "checking for ANSI C header files... " >&6; }
5771
if ${ac_cv_header_stdc+:} false; then :
5772
$as_echo_n "(cached) " >&6
5774
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5775
/* end confdefs.h. */
5789
if ac_fn_c_try_compile "$LINENO"; then :
5790
ac_cv_header_stdc=yes
5792
ac_cv_header_stdc=no
5794
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5796
if test $ac_cv_header_stdc = yes; then
5797
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5798
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5799
/* end confdefs.h. */
5803
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5804
$EGREP "memchr" >/dev/null 2>&1; then :
5807
ac_cv_header_stdc=no
5813
if test $ac_cv_header_stdc = yes; then
5814
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5815
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5816
/* end confdefs.h. */
5820
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5821
$EGREP "free" >/dev/null 2>&1; then :
5824
ac_cv_header_stdc=no
5830
if test $ac_cv_header_stdc = yes; then
5831
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5832
if test "$cross_compiling" = yes; then :
5835
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5836
/* end confdefs.h. */
5839
#if ((' ' & 0x0FF) == 0x020)
5840
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5841
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5843
# define ISLOWER(c) \
5844
(('a' <= (c) && (c) <= 'i') \
5845
|| ('j' <= (c) && (c) <= 'r') \
5846
|| ('s' <= (c) && (c) <= 'z'))
5847
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5850
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5855
for (i = 0; i < 256; i++)
5856
if (XOR (islower (i), ISLOWER (i))
5857
|| toupper (i) != TOUPPER (i))
5862
if ac_fn_c_try_run "$LINENO"; then :
5865
ac_cv_header_stdc=no
5867
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5868
conftest.$ac_objext conftest.beam conftest.$ac_ext
5873
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5874
$as_echo "$ac_cv_header_stdc" >&6; }
5875
if test $ac_cv_header_stdc = yes; then
5877
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
5883
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5884
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5889
macro_version='2.4.2'
5890
macro_revision='1.3337'
5904
ltmain="$ac_aux_dir/ltmain.sh"
5906
# Make sure we can run config.sub.
5907
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5908
as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5910
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5911
$as_echo_n "checking build system type... " >&6; }
5912
if ${ac_cv_build+:} false; then :
5913
$as_echo_n "(cached) " >&6
5915
ac_build_alias=$build_alias
5916
test "x$ac_build_alias" = x &&
5917
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5918
test "x$ac_build_alias" = x &&
5919
as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5920
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5921
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5924
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5925
$as_echo "$ac_cv_build" >&6; }
5926
case $ac_cv_build in
5928
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5931
ac_save_IFS=$IFS; IFS='-'
5937
# Remember, the first character of IFS is used to create $*,
5938
# except with old shells:
5941
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5944
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5945
$as_echo_n "checking host system type... " >&6; }
5946
if ${ac_cv_host+:} false; then :
5947
$as_echo_n "(cached) " >&6
5949
if test "x$host_alias" = x; then
5950
ac_cv_host=$ac_cv_build
5952
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5953
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5957
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5958
$as_echo "$ac_cv_host" >&6; }
5961
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5964
ac_save_IFS=$IFS; IFS='-'
5970
# Remember, the first character of IFS is used to create $*,
5971
# except with old shells:
5974
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5977
# Backslashify metacharacters that are still active within
5978
# double-quoted strings.
5979
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5981
# Same as above, but do not quote variable references.
5982
double_quote_subst='s/\(["`\\]\)/\\\1/g'
5984
# Sed substitution to delay expansion of an escaped shell variable in a
5985
# double_quote_subst'ed string.
5986
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5988
# Sed substitution to delay expansion of an escaped single quote.
5989
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5991
# Sed substitution to avoid accidental globbing in evaled expressions
5992
no_glob_subst='s/\*/\\\*/g'
5994
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5995
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5996
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5998
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5999
$as_echo_n "checking how to print strings... " >&6; }
6000
# Test print first, because it will be a builtin if present.
6001
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
6002
test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6004
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6007
# Use this function as a fallback that always works.
6008
func_fallback_echo ()
6010
eval 'cat <<_LTECHO_EOF
6014
ECHO='func_fallback_echo'
6017
# func_echo_all arg...
6018
# Invoke $ECHO with all args, space-separated.
6025
printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6026
$as_echo "printf" >&6; } ;;
6027
print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6028
$as_echo "print -r" >&6; } ;;
6029
*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6030
$as_echo "cat" >&6; } ;;
6046
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6047
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
6048
if ${ac_cv_path_SED+:} false; then :
6049
$as_echo_n "(cached) " >&6
6051
ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6052
for ac_i in 1 2 3 4 5 6 7; do
6053
ac_script="$ac_script$as_nl$ac_script"
6055
echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6056
{ ac_script=; unset ac_script;}
6057
if test -z "$SED"; then
6058
ac_path_SED_found=false
6059
# Loop through the user's path and test for each of PROGNAME-LIST
6060
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6064
test -z "$as_dir" && as_dir=.
6065
for ac_prog in sed gsed; do
6066
for ac_exec_ext in '' $ac_executable_extensions; do
6067
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6068
{ test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
6069
# Check for GNU ac_path_SED and select it if it is found.
6070
# Check for GNU $ac_path_SED
6071
case `"$ac_path_SED" --version 2>&1` in
6073
ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6076
$as_echo_n 0123456789 >"conftest.in"
6079
cat "conftest.in" "conftest.in" >"conftest.tmp"
6080
mv "conftest.tmp" "conftest.in"
6081
cp "conftest.in" "conftest.nl"
6082
$as_echo '' >> "conftest.nl"
6083
"$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6084
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6085
as_fn_arith $ac_count + 1 && ac_count=$as_val
6086
if test $ac_count -gt ${ac_path_SED_max-0}; then
6087
# Best one so far, save it but keep looking for a better one
6088
ac_cv_path_SED="$ac_path_SED"
6089
ac_path_SED_max=$ac_count
6091
# 10*(2^10) chars as input seems more than enough
6092
test $ac_count -gt 10 && break
6094
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6097
$ac_path_SED_found && break 3
6102
if test -z "$ac_cv_path_SED"; then
6103
as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6110
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6111
$as_echo "$ac_cv_path_SED" >&6; }
6112
SED="$ac_cv_path_SED"
6115
test -z "$SED" && SED=sed
6116
Xsed="$SED -e 1s/^X//"
6128
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6129
$as_echo_n "checking for fgrep... " >&6; }
6130
if ${ac_cv_path_FGREP+:} false; then :
6131
$as_echo_n "(cached) " >&6
6133
if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6134
then ac_cv_path_FGREP="$GREP -F"
6136
if test -z "$FGREP"; then
6137
ac_path_FGREP_found=false
6138
# Loop through the user's path and test for each of PROGNAME-LIST
6139
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6140
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6143
test -z "$as_dir" && as_dir=.
6144
for ac_prog in fgrep; do
6145
for ac_exec_ext in '' $ac_executable_extensions; do
6146
ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6147
{ test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
6148
# Check for GNU ac_path_FGREP and select it if it is found.
6149
# Check for GNU $ac_path_FGREP
6150
case `"$ac_path_FGREP" --version 2>&1` in
6152
ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6155
$as_echo_n 0123456789 >"conftest.in"
6158
cat "conftest.in" "conftest.in" >"conftest.tmp"
6159
mv "conftest.tmp" "conftest.in"
6160
cp "conftest.in" "conftest.nl"
6161
$as_echo 'FGREP' >> "conftest.nl"
6162
"$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6163
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6164
as_fn_arith $ac_count + 1 && ac_count=$as_val
6165
if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6166
# Best one so far, save it but keep looking for a better one
6167
ac_cv_path_FGREP="$ac_path_FGREP"
6168
ac_path_FGREP_max=$ac_count
6170
# 10*(2^10) chars as input seems more than enough
6171
test $ac_count -gt 10 && break
6173
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6176
$ac_path_FGREP_found && break 3
6181
if test -z "$ac_cv_path_FGREP"; then
6182
as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6185
ac_cv_path_FGREP=$FGREP
6190
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6191
$as_echo "$ac_cv_path_FGREP" >&6; }
6192
FGREP="$ac_cv_path_FGREP"
6195
test -z "$GREP" && GREP=grep
6215
# Check whether --with-gnu-ld was given.
6216
if test "${with_gnu_ld+set}" = set; then :
6217
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6223
if test "$GCC" = yes; then
6224
# Check if gcc -print-prog-name=ld gives a path.
6225
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6226
$as_echo_n "checking for ld used by $CC... " >&6; }
6229
# gcc leaves a trailing carriage return which upsets mingw
6230
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6232
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6235
# Accept absolute paths.
6237
re_direlt='/[^/][^/]*/\.\./'
6238
# Canonicalize the pathname of ld
6239
ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6240
while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6241
ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6243
test -z "$LD" && LD="$ac_prog"
6246
# If it fails, then pretend we aren't using GCC.
6250
# If it is relative, then search for the first ld in PATH.
6254
elif test "$with_gnu_ld" = yes; then
6255
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6256
$as_echo_n "checking for GNU ld... " >&6; }
6258
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6259
$as_echo_n "checking for non-GNU ld... " >&6; }
6261
if ${lt_cv_path_LD+:} false; then :
6262
$as_echo_n "(cached) " >&6
6264
if test -z "$LD"; then
6265
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6266
for ac_dir in $PATH; do
6268
test -z "$ac_dir" && ac_dir=.
6269
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6270
lt_cv_path_LD="$ac_dir/$ac_prog"
6271
# Check to see if the program is GNU ld. I'd rather use --version,
6272
# but apparently some variants of GNU ld only accept -v.
6273
# Break only if it was the GNU/non-GNU ld that we prefer.
6274
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6275
*GNU* | *'with BFD'*)
6276
test "$with_gnu_ld" != no && break
6279
test "$with_gnu_ld" != yes && break
6286
lt_cv_path_LD="$LD" # Let the user override the test with a path.
6291
if test -n "$LD"; then
6292
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6293
$as_echo "$LD" >&6; }
6295
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6296
$as_echo "no" >&6; }
6298
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6299
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6300
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6301
if ${lt_cv_prog_gnu_ld+:} false; then :
6302
$as_echo_n "(cached) " >&6
6304
# I'd rather use --version here, but apparently some GNU lds only accept -v.
6305
case `$LD -v 2>&1 </dev/null` in
6306
*GNU* | *'with BFD'*)
6307
lt_cv_prog_gnu_ld=yes
6310
lt_cv_prog_gnu_ld=no
6314
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6315
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
6316
with_gnu_ld=$lt_cv_prog_gnu_ld
6326
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6327
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6328
if ${lt_cv_path_NM+:} false; then :
6329
$as_echo_n "(cached) " >&6
6331
if test -n "$NM"; then
6332
# Let the user override the test.
6335
lt_nm_to_check="${ac_tool_prefix}nm"
6336
if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6337
lt_nm_to_check="$lt_nm_to_check nm"
6339
for lt_tmp_nm in $lt_nm_to_check; do
6340
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6341
for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6343
test -z "$ac_dir" && ac_dir=.
6344
tmp_nm="$ac_dir/$lt_tmp_nm"
6345
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6346
# Check to see if the nm accepts a BSD-compat flag.
6347
# Adding the `sed 1q' prevents false positives on HP-UX, which says:
6348
# nm: unknown option "B" ignored
6349
# Tru64's nm complains that /dev/null is an invalid object file
6350
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6351
*/dev/null* | *'Invalid file or object type'*)
6352
lt_cv_path_NM="$tmp_nm -B"
6356
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6358
lt_cv_path_NM="$tmp_nm -p"
6362
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6363
continue # so that we can try to find one that supports BSD flags
6372
: ${lt_cv_path_NM=no}
6375
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6376
$as_echo "$lt_cv_path_NM" >&6; }
6377
if test "$lt_cv_path_NM" != "no"; then
6380
# Didn't find any BSD compatible name lister, look for dumpbin.
6381
if test -n "$DUMPBIN"; then :
6382
# Let the user override the test.
6384
if test -n "$ac_tool_prefix"; then
6385
for ac_prog in dumpbin "link -dump"
6387
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6388
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6389
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6390
$as_echo_n "checking for $ac_word... " >&6; }
6391
if ${ac_cv_prog_DUMPBIN+:} false; then :
6392
$as_echo_n "(cached) " >&6
6394
if test -n "$DUMPBIN"; then
6395
ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6397
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6401
test -z "$as_dir" && as_dir=.
6402
for ac_exec_ext in '' $ac_executable_extensions; do
6403
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6404
ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6405
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6414
DUMPBIN=$ac_cv_prog_DUMPBIN
6415
if test -n "$DUMPBIN"; then
6416
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6417
$as_echo "$DUMPBIN" >&6; }
6419
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6420
$as_echo "no" >&6; }
6424
test -n "$DUMPBIN" && break
6427
if test -z "$DUMPBIN"; then
6428
ac_ct_DUMPBIN=$DUMPBIN
6429
for ac_prog in dumpbin "link -dump"
6431
# Extract the first word of "$ac_prog", so it can be a program name with args.
6432
set dummy $ac_prog; ac_word=$2
6433
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6434
$as_echo_n "checking for $ac_word... " >&6; }
6435
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6436
$as_echo_n "(cached) " >&6
6438
if test -n "$ac_ct_DUMPBIN"; then
6439
ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6441
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6445
test -z "$as_dir" && as_dir=.
6446
for ac_exec_ext in '' $ac_executable_extensions; do
6447
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6448
ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6449
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6458
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6459
if test -n "$ac_ct_DUMPBIN"; then
6460
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6461
$as_echo "$ac_ct_DUMPBIN" >&6; }
6463
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6464
$as_echo "no" >&6; }
6468
test -n "$ac_ct_DUMPBIN" && break
6471
if test "x$ac_ct_DUMPBIN" = x; then
6474
case $cross_compiling:$ac_tool_warned in
6476
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6477
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6478
ac_tool_warned=yes ;;
6480
DUMPBIN=$ac_ct_DUMPBIN
6484
case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6486
DUMPBIN="$DUMPBIN -symbols"
6494
if test "$DUMPBIN" != ":"; then
6498
test -z "$NM" && NM=nm
6505
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6506
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
6507
if ${lt_cv_nm_interface+:} false; then :
6508
$as_echo_n "(cached) " >&6
6510
lt_cv_nm_interface="BSD nm"
6511
echo "int some_variable = 0;" > conftest.$ac_ext
6512
(eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6513
(eval "$ac_compile" 2>conftest.err)
6514
cat conftest.err >&5
6515
(eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6516
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6517
cat conftest.err >&5
6518
(eval echo "\"\$as_me:$LINENO: output\"" >&5)
6519
cat conftest.out >&5
6520
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6521
lt_cv_nm_interface="MS dumpbin"
6525
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6526
$as_echo "$lt_cv_nm_interface" >&6; }
6528
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6529
$as_echo_n "checking whether ln -s works... " >&6; }
6531
if test "$LN_S" = "ln -s"; then
6532
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6533
$as_echo "yes" >&6; }
6535
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6536
$as_echo "no, using $LN_S" >&6; }
6539
# find the maximum length of command line arguments
6540
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6541
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
6542
if ${lt_cv_sys_max_cmd_len+:} false; then :
6543
$as_echo_n "(cached) " >&6
6550
# On DJGPP, this test can blow up pretty badly due to problems in libc
6551
# (any single argument exceeding 2000 bytes causes a buffer overrun
6552
# during glob expansion). Even if it were fixed, the result of this
6553
# check would be larger than it should be.
6554
lt_cv_sys_max_cmd_len=12288; # 12K is about right
6558
# Under GNU Hurd, this test is not required because there is
6559
# no limit to the length of command line arguments.
6560
# Libtool will interpret -1 as no limit whatsoever
6561
lt_cv_sys_max_cmd_len=-1;
6564
cygwin* | mingw* | cegcc*)
6565
# On Win9x/ME, this test blows up -- it succeeds, but takes
6566
# about 5 minutes as the teststring grows exponentially.
6567
# Worse, since 9x/ME are not pre-emptively multitasking,
6568
# you end up with a "frozen" computer, even though with patience
6569
# the test eventually succeeds (with a max line length of 256k).
6570
# Instead, let's just punt: use the minimum linelength reported by
6571
# all of the supported platforms: 8192 (on NT/2K/XP).
6572
lt_cv_sys_max_cmd_len=8192;
6576
# On MiNT this can take a long time and run out of memory.
6577
lt_cv_sys_max_cmd_len=8192;
6581
# On AmigaOS with pdksh, this test takes hours, literally.
6582
# So we just punt and use a minimum line length of 8192.
6583
lt_cv_sys_max_cmd_len=8192;
6586
netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6587
# This has been around since 386BSD, at least. Likely further.
6588
if test -x /sbin/sysctl; then
6589
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6590
elif test -x /usr/sbin/sysctl; then
6591
lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6593
lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6595
# And add a safety zone
6596
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6597
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6601
# We know the value 262144 and hardcode it with a safety zone (like BSD)
6602
lt_cv_sys_max_cmd_len=196608
6606
# The test takes a long time on OS/2.
6607
lt_cv_sys_max_cmd_len=8192
6611
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6612
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6613
# nice to cause kernel panics so lets avoid the loop below.
6614
# First set a reasonable default.
6615
lt_cv_sys_max_cmd_len=16384
6617
if test -x /sbin/sysconfig; then
6618
case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6619
*1*) lt_cv_sys_max_cmd_len=-1 ;;
6624
lt_cv_sys_max_cmd_len=102400
6626
sysv5* | sco5v6* | sysv4.2uw2*)
6627
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6628
if test -n "$kargmax"; then
6629
lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6631
lt_cv_sys_max_cmd_len=32768
6635
lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6636
if test -n "$lt_cv_sys_max_cmd_len"; then
6637
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6638
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6640
# Make teststring a little bigger before we do anything with it.
6641
# a 1K string should be a reasonable start.
6642
for i in 1 2 3 4 5 6 7 8 ; do
6643
teststring=$teststring$teststring
6645
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6646
# If test is not a shell built-in, we'll probably end up computing a
6647
# maximum length that is only half of the actual maximum length, but
6649
while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
6650
= "X$teststring$teststring"; } >/dev/null 2>&1 &&
6651
test $i != 17 # 1/2 MB should be enough
6654
teststring=$teststring$teststring
6656
# Only check the string length outside the loop.
6657
lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6659
# Add a significant safety factor because C++ compilers can tack on
6660
# massive amounts of additional arguments before passing them to the
6661
# linker. It appears as though 1/2 is a usable value.
6662
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6669
if test -n $lt_cv_sys_max_cmd_len ; then
6670
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6671
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6673
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6674
$as_echo "none" >&6; }
6676
max_cmd_len=$lt_cv_sys_max_cmd_len
6687
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6688
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6689
# Try some XSI features
6692
test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
6694
&& eval 'test $(( 1 + 1 )) -eq 2 \
6695
&& test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6697
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6698
$as_echo "$xsi_shell" >&6; }
6701
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6702
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6704
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6706
&& lt_shell_append=yes
6707
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6708
$as_echo "$lt_shell_append" >&6; }
6711
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6721
# test EBCDIC or ASCII
6722
case `echo X|tr X '\101'` in
6723
A) # ASCII based system
6724
# \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6725
lt_SP2NL='tr \040 \012'
6726
lt_NL2SP='tr \015\012 \040\040'
6728
*) # EBCDIC based system
6729
lt_SP2NL='tr \100 \n'
6730
lt_NL2SP='tr \r\n \100\100'
6742
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6743
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6744
if ${lt_cv_to_host_file_cmd+:} false; then :
6745
$as_echo_n "(cached) " >&6
6750
*-*-mingw* ) # actually msys
6751
lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6754
lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6756
* ) # otherwise, assume *nix
6757
lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6763
*-*-mingw* ) # actually msys
6764
lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6767
lt_cv_to_host_file_cmd=func_convert_file_noop
6769
* ) # otherwise, assume *nix
6770
lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6774
* ) # unhandled hosts (and "normal" native builds)
6775
lt_cv_to_host_file_cmd=func_convert_file_noop
6781
to_host_file_cmd=$lt_cv_to_host_file_cmd
6782
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6783
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
6789
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6790
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6791
if ${lt_cv_to_tool_file_cmd+:} false; then :
6792
$as_echo_n "(cached) " >&6
6794
#assume ordinary cross tools, or native build.
6795
lt_cv_to_tool_file_cmd=func_convert_file_noop
6799
*-*-mingw* ) # actually msys
6800
lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6808
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6809
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6810
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6816
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6817
$as_echo_n "checking for $LD option to reload object files... " >&6; }
6818
if ${lt_cv_ld_reload_flag+:} false; then :
6819
$as_echo_n "(cached) " >&6
6821
lt_cv_ld_reload_flag='-r'
6823
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6824
$as_echo "$lt_cv_ld_reload_flag" >&6; }
6825
reload_flag=$lt_cv_ld_reload_flag
6826
case $reload_flag in
6828
*) reload_flag=" $reload_flag" ;;
6830
reload_cmds='$LD$reload_flag -o $output$reload_objs'
6832
cygwin* | mingw* | pw32* | cegcc*)
6833
if test "$GCC" != yes; then
6838
if test "$GCC" = yes; then
6839
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6841
reload_cmds='$LD$reload_flag -o $output$reload_objs'
6854
if test -n "$ac_tool_prefix"; then
6855
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6856
set dummy ${ac_tool_prefix}objdump; ac_word=$2
6857
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6858
$as_echo_n "checking for $ac_word... " >&6; }
6859
if ${ac_cv_prog_OBJDUMP+:} false; then :
6860
$as_echo_n "(cached) " >&6
6862
if test -n "$OBJDUMP"; then
6863
ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6865
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6869
test -z "$as_dir" && as_dir=.
6870
for ac_exec_ext in '' $ac_executable_extensions; do
6871
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6872
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6873
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6882
OBJDUMP=$ac_cv_prog_OBJDUMP
6883
if test -n "$OBJDUMP"; then
6884
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6885
$as_echo "$OBJDUMP" >&6; }
6887
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6888
$as_echo "no" >&6; }
6893
if test -z "$ac_cv_prog_OBJDUMP"; then
6894
ac_ct_OBJDUMP=$OBJDUMP
6895
# Extract the first word of "objdump", so it can be a program name with args.
6896
set dummy objdump; ac_word=$2
6897
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6898
$as_echo_n "checking for $ac_word... " >&6; }
6899
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6900
$as_echo_n "(cached) " >&6
6902
if test -n "$ac_ct_OBJDUMP"; then
6903
ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6905
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6909
test -z "$as_dir" && as_dir=.
6910
for ac_exec_ext in '' $ac_executable_extensions; do
6911
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6912
ac_cv_prog_ac_ct_OBJDUMP="objdump"
6913
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6922
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6923
if test -n "$ac_ct_OBJDUMP"; then
6924
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6925
$as_echo "$ac_ct_OBJDUMP" >&6; }
6927
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6928
$as_echo "no" >&6; }
6931
if test "x$ac_ct_OBJDUMP" = x; then
6934
case $cross_compiling:$ac_tool_warned in
6936
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6937
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6938
ac_tool_warned=yes ;;
6940
OBJDUMP=$ac_ct_OBJDUMP
6943
OBJDUMP="$ac_cv_prog_OBJDUMP"
6946
test -z "$OBJDUMP" && OBJDUMP=objdump
6956
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6957
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
6958
if ${lt_cv_deplibs_check_method+:} false; then :
6959
$as_echo_n "(cached) " >&6
6961
lt_cv_file_magic_cmd='$MAGIC_CMD'
6962
lt_cv_file_magic_test_file=
6963
lt_cv_deplibs_check_method='unknown'
6964
# Need to set the preceding variable on all platforms that support
6965
# interlibrary dependencies.
6966
# 'none' -- dependencies not supported.
6967
# `unknown' -- same as none, but documents that we really don't know.
6968
# 'pass_all' -- all dependencies passed with no checks.
6969
# 'test_compile' -- check by making test program.
6970
# 'file_magic [[regex]]' -- check by looking for files in library path
6971
# which responds to the $file_magic_cmd with a given extended regex.
6972
# If you have `file' or equivalent on your system and you're not sure
6973
# whether `pass_all' will *always* work, you probably want this one.
6977
lt_cv_deplibs_check_method=pass_all
6981
lt_cv_deplibs_check_method=pass_all
6985
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6986
lt_cv_file_magic_cmd='/usr/bin/file -L'
6987
lt_cv_file_magic_test_file=/shlib/libc.so
6991
# func_win32_libid is a shell function defined in ltmain.sh
6992
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6993
lt_cv_file_magic_cmd='func_win32_libid'
6997
# Base MSYS/MinGW do not provide the 'file' command needed by
6998
# func_win32_libid shell function, so use a weaker test based on 'objdump',
6999
# unless we find 'file', for example because we are cross-compiling.
7000
# func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7001
if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
7002
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7003
lt_cv_file_magic_cmd='func_win32_libid'
7005
# Keep this pattern in sync with the one in func_win32_libid.
7006
lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
7007
lt_cv_file_magic_cmd='$OBJDUMP -f'
7012
# use the weaker test based on 'objdump'. See mingw*.
7013
lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7014
lt_cv_file_magic_cmd='$OBJDUMP -f'
7017
darwin* | rhapsody*)
7018
lt_cv_deplibs_check_method=pass_all
7021
freebsd* | dragonfly*)
7022
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7025
# Not sure whether the presence of OpenBSD here was a mistake.
7026
# Let's accept both of them until this is cleared up.
7027
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7028
lt_cv_file_magic_cmd=/usr/bin/file
7029
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7033
lt_cv_deplibs_check_method=pass_all
7038
lt_cv_deplibs_check_method=pass_all
7042
lt_cv_deplibs_check_method=pass_all
7045
hpux10.20* | hpux11*)
7046
lt_cv_file_magic_cmd=/usr/bin/file
7049
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7050
lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7053
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]'
7054
lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7057
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7058
lt_cv_file_magic_test_file=/usr/lib/libc.sl
7064
# PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7065
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7068
irix5* | irix6* | nonstopux*)
7070
*-32|*"-32 ") libmagic=32-bit;;
7071
*-n32|*"-n32 ") libmagic=N32;;
7072
*-64|*"-64 ") libmagic=64-bit;;
7073
*) libmagic=never-match;;
7075
lt_cv_deplibs_check_method=pass_all
7078
# This must be glibc/ELF.
7079
linux* | k*bsd*-gnu | kopensolaris*-gnu)
7080
lt_cv_deplibs_check_method=pass_all
7083
netbsd* | netbsdelf*-gnu)
7084
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7085
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7087
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7092
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7093
lt_cv_file_magic_cmd=/usr/bin/file
7094
lt_cv_file_magic_test_file=/usr/lib/libnls.so
7098
lt_cv_deplibs_check_method=pass_all
7102
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7103
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7105
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7109
osf3* | osf4* | osf5*)
7110
lt_cv_deplibs_check_method=pass_all
7114
lt_cv_deplibs_check_method=pass_all
7118
lt_cv_deplibs_check_method=pass_all
7121
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7122
lt_cv_deplibs_check_method=pass_all
7126
case $host_vendor in
7128
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]'
7129
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7132
lt_cv_deplibs_check_method=pass_all
7135
lt_cv_file_magic_cmd='/bin/file'
7136
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7139
lt_cv_file_magic_cmd='/bin/file'
7140
lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7141
lt_cv_file_magic_test_file=/lib/libc.so
7144
lt_cv_deplibs_check_method=pass_all
7147
lt_cv_deplibs_check_method=pass_all
7153
lt_cv_deplibs_check_method=pass_all
7158
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7159
$as_echo "$lt_cv_deplibs_check_method" >&6; }
7163
if test "$build" = "$host"; then
7166
if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
7169
file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
7175
file_magic_cmd=$lt_cv_file_magic_cmd
7176
deplibs_check_method=$lt_cv_deplibs_check_method
7177
test -z "$deplibs_check_method" && deplibs_check_method=unknown
7200
if test -n "$ac_tool_prefix"; then
7201
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7202
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7203
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7204
$as_echo_n "checking for $ac_word... " >&6; }
7205
if ${ac_cv_prog_DLLTOOL+:} false; then :
7206
$as_echo_n "(cached) " >&6
7208
if test -n "$DLLTOOL"; then
7209
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7211
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7215
test -z "$as_dir" && as_dir=.
7216
for ac_exec_ext in '' $ac_executable_extensions; do
7217
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7218
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7219
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7228
DLLTOOL=$ac_cv_prog_DLLTOOL
7229
if test -n "$DLLTOOL"; then
7230
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7231
$as_echo "$DLLTOOL" >&6; }
7233
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7234
$as_echo "no" >&6; }
7239
if test -z "$ac_cv_prog_DLLTOOL"; then
7240
ac_ct_DLLTOOL=$DLLTOOL
7241
# Extract the first word of "dlltool", so it can be a program name with args.
7242
set dummy dlltool; ac_word=$2
7243
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7244
$as_echo_n "checking for $ac_word... " >&6; }
7245
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7246
$as_echo_n "(cached) " >&6
7248
if test -n "$ac_ct_DLLTOOL"; then
7249
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7251
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7255
test -z "$as_dir" && as_dir=.
7256
for ac_exec_ext in '' $ac_executable_extensions; do
7257
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7258
ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7259
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7268
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7269
if test -n "$ac_ct_DLLTOOL"; then
7270
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7271
$as_echo "$ac_ct_DLLTOOL" >&6; }
7273
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7274
$as_echo "no" >&6; }
7277
if test "x$ac_ct_DLLTOOL" = x; then
7280
case $cross_compiling:$ac_tool_warned in
7282
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7283
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7284
ac_tool_warned=yes ;;
7286
DLLTOOL=$ac_ct_DLLTOOL
7289
DLLTOOL="$ac_cv_prog_DLLTOOL"
7292
test -z "$DLLTOOL" && DLLTOOL=dlltool
7303
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
7304
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
7305
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
7306
$as_echo_n "(cached) " >&6
7308
lt_cv_sharedlib_from_linklib_cmd='unknown'
7311
cygwin* | mingw* | pw32* | cegcc*)
7312
# two different shell functions defined in ltmain.sh
7313
# decide which to use based on capabilities of $DLLTOOL
7314
case `$DLLTOOL --help 2>&1` in
7315
*--identify-strict*)
7316
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
7319
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
7324
# fallback: assume linklib IS sharedlib
7325
lt_cv_sharedlib_from_linklib_cmd="$ECHO"
7330
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
7331
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
7332
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
7333
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
7341
if test -n "$ac_tool_prefix"; then
7344
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7345
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7346
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7347
$as_echo_n "checking for $ac_word... " >&6; }
7348
if ${ac_cv_prog_AR+:} false; then :
7349
$as_echo_n "(cached) " >&6
7351
if test -n "$AR"; then
7352
ac_cv_prog_AR="$AR" # Let the user override the test.
7354
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7358
test -z "$as_dir" && as_dir=.
7359
for ac_exec_ext in '' $ac_executable_extensions; do
7360
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7361
ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
7362
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7372
if test -n "$AR"; then
7373
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7374
$as_echo "$AR" >&6; }
7376
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7377
$as_echo "no" >&6; }
7381
test -n "$AR" && break
7384
if test -z "$AR"; then
7388
# Extract the first word of "$ac_prog", so it can be a program name with args.
7389
set dummy $ac_prog; ac_word=$2
7390
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7391
$as_echo_n "checking for $ac_word... " >&6; }
7392
if ${ac_cv_prog_ac_ct_AR+:} false; then :
7393
$as_echo_n "(cached) " >&6
7395
if test -n "$ac_ct_AR"; then
7396
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7398
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7402
test -z "$as_dir" && as_dir=.
7403
for ac_exec_ext in '' $ac_executable_extensions; do
7404
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7405
ac_cv_prog_ac_ct_AR="$ac_prog"
7406
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7415
ac_ct_AR=$ac_cv_prog_ac_ct_AR
7416
if test -n "$ac_ct_AR"; then
7417
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7418
$as_echo "$ac_ct_AR" >&6; }
7420
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7421
$as_echo "no" >&6; }
7425
test -n "$ac_ct_AR" && break
7428
if test "x$ac_ct_AR" = x; then
7431
case $cross_compiling:$ac_tool_warned in
7433
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7434
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7435
ac_tool_warned=yes ;;
7454
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
7455
$as_echo_n "checking for archiver @FILE support... " >&6; }
7456
if ${lt_cv_ar_at_file+:} false; then :
7457
$as_echo_n "(cached) " >&6
7460
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7461
/* end confdefs.h. */
7471
if ac_fn_c_try_compile "$LINENO"; then :
7472
echo conftest.$ac_objext > conftest.lst
7473
lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7474
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7475
(eval $lt_ar_try) 2>&5
7477
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7478
test $ac_status = 0; }
7479
if test "$ac_status" -eq 0; then
7480
# Ensure the archiver fails upon bogus file names.
7481
rm -f conftest.$ac_objext libconftest.a
7482
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7483
(eval $lt_ar_try) 2>&5
7485
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7486
test $ac_status = 0; }
7487
if test "$ac_status" -ne 0; then
7491
rm -f conftest.* libconftest.a
7494
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7497
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7498
$as_echo "$lt_cv_ar_at_file" >&6; }
7500
if test "x$lt_cv_ar_at_file" = xno; then
7503
archiver_list_spec=$lt_cv_ar_at_file
7512
if test -n "$ac_tool_prefix"; then
7513
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7514
set dummy ${ac_tool_prefix}strip; ac_word=$2
7515
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7516
$as_echo_n "checking for $ac_word... " >&6; }
7517
if ${ac_cv_prog_STRIP+:} false; then :
7518
$as_echo_n "(cached) " >&6
7520
if test -n "$STRIP"; then
7521
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7523
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7527
test -z "$as_dir" && as_dir=.
7528
for ac_exec_ext in '' $ac_executable_extensions; do
7529
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7530
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7531
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7540
STRIP=$ac_cv_prog_STRIP
7541
if test -n "$STRIP"; then
7542
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7543
$as_echo "$STRIP" >&6; }
7545
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7546
$as_echo "no" >&6; }
7551
if test -z "$ac_cv_prog_STRIP"; then
7553
# Extract the first word of "strip", so it can be a program name with args.
7554
set dummy strip; ac_word=$2
7555
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7556
$as_echo_n "checking for $ac_word... " >&6; }
7557
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7558
$as_echo_n "(cached) " >&6
7560
if test -n "$ac_ct_STRIP"; then
7561
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7563
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7567
test -z "$as_dir" && as_dir=.
7568
for ac_exec_ext in '' $ac_executable_extensions; do
7569
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7570
ac_cv_prog_ac_ct_STRIP="strip"
7571
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7580
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7581
if test -n "$ac_ct_STRIP"; then
7582
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7583
$as_echo "$ac_ct_STRIP" >&6; }
7585
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7586
$as_echo "no" >&6; }
7589
if test "x$ac_ct_STRIP" = x; then
7592
case $cross_compiling:$ac_tool_warned in
7594
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7595
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7596
ac_tool_warned=yes ;;
7601
STRIP="$ac_cv_prog_STRIP"
7604
test -z "$STRIP" && STRIP=:
7611
if test -n "$ac_tool_prefix"; then
7612
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7613
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7614
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7615
$as_echo_n "checking for $ac_word... " >&6; }
7616
if ${ac_cv_prog_RANLIB+:} false; then :
7617
$as_echo_n "(cached) " >&6
7619
if test -n "$RANLIB"; then
7620
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7622
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7626
test -z "$as_dir" && as_dir=.
7627
for ac_exec_ext in '' $ac_executable_extensions; do
7628
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7629
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7630
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7639
RANLIB=$ac_cv_prog_RANLIB
7640
if test -n "$RANLIB"; then
7641
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7642
$as_echo "$RANLIB" >&6; }
7644
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7645
$as_echo "no" >&6; }
7650
if test -z "$ac_cv_prog_RANLIB"; then
7651
ac_ct_RANLIB=$RANLIB
7652
# Extract the first word of "ranlib", so it can be a program name with args.
7653
set dummy ranlib; ac_word=$2
7654
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7655
$as_echo_n "checking for $ac_word... " >&6; }
7656
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7657
$as_echo_n "(cached) " >&6
7659
if test -n "$ac_ct_RANLIB"; then
7660
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7662
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7666
test -z "$as_dir" && as_dir=.
7667
for ac_exec_ext in '' $ac_executable_extensions; do
7668
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7669
ac_cv_prog_ac_ct_RANLIB="ranlib"
7670
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7679
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7680
if test -n "$ac_ct_RANLIB"; then
7681
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7682
$as_echo "$ac_ct_RANLIB" >&6; }
7684
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7685
$as_echo "no" >&6; }
7688
if test "x$ac_ct_RANLIB" = x; then
7691
case $cross_compiling:$ac_tool_warned in
7693
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7694
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7695
ac_tool_warned=yes ;;
7697
RANLIB=$ac_ct_RANLIB
7700
RANLIB="$ac_cv_prog_RANLIB"
7703
test -z "$RANLIB" && RANLIB=:
7710
# Determine commands to create old-style static archives.
7711
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7712
old_postinstall_cmds='chmod 644 $oldlib'
7713
old_postuninstall_cmds=
7715
if test -n "$RANLIB"; then
7718
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7721
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7724
old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7729
lock_old_archive_extraction=yes ;;
7731
lock_old_archive_extraction=no ;;
7772
# If no C compiler was specified, use CC.
7775
# If no C compiler flags were specified, use CFLAGS.
7776
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7778
# Allow CC to be a program name with arguments.
7782
# Check for command to grab the raw symbol name followed by C symbol from nm.
7783
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7784
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7785
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7786
$as_echo_n "(cached) " >&6
7789
# These are sane defaults that work on at least a few old systems.
7790
# [They come from Ultrix. What could be older than Ultrix?!! ;)]
7792
# Character class describing NM global symbol codes.
7793
symcode='[BCDEGRST]'
7795
# Regexp to match symbols that can be accessed directly from C.
7796
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7798
# Define system-specific variables.
7803
cygwin* | mingw* | pw32* | cegcc*)
7804
symcode='[ABCDGISTW]'
7807
if test "$host_cpu" = ia64; then
7808
symcode='[ABCDEGRST]'
7812
symcode='[BCDEGRST]'
7815
symcode='[BCDEGQRST]'
7826
sysv5* | sco5v6* | unixware* | OpenUNIX*)
7834
# If we're using GNU nm, then use its standard symbol codes.
7835
case `$NM -V 2>&1` in
7836
*GNU* | *'with BFD'*)
7837
symcode='[ABCDGIRSTW]' ;;
7840
# Transform an extracted symbol line into a proper C declaration.
7841
# Some systems (esp. on ia64) link data and code symbols differently,
7842
# so use this general approach.
7843
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7845
# Transform an extracted symbol line into symbol name and symbol address
7846
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7847
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'"
7849
# Handle CRLF in mingw tool chain
7853
opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7857
# Try without a prefix underscore, then with it.
7858
for ac_symprfx in "" "_"; do
7860
# Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7861
symxfrm="\\1 $ac_symprfx\\2 \\2"
7863
# Write the raw and C identifiers.
7864
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7865
# Fake it for dumpbin and say T for any non-static function
7866
# and D for any global variable.
7867
# Also find C++ and __fastcall symbols from MSVC++,
7868
# which start with @ or ?.
7869
lt_cv_sys_global_symbol_pipe="$AWK '"\
7870
" {last_section=section; section=\$ 3};"\
7871
" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7872
" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7873
" \$ 0!~/External *\|/{next};"\
7874
" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7875
" {if(hide[section]) next};"\
7876
" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7877
" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7878
" s[1]~/^[@?]/{print s[1], s[1]; next};"\
7879
" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7880
" ' prfx=^$ac_symprfx"
7882
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7884
lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7886
# Check to see that the pipe works correctly.
7890
cat > conftest.$ac_ext <<_LT_EOF
7895
void nm_test_func(void);
7896
void nm_test_func(void){}
7900
int main(){nm_test_var='a';nm_test_func();return(0);}
7903
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7904
(eval $ac_compile) 2>&5
7906
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7907
test $ac_status = 0; }; then
7908
# Now try to grab the symbols.
7910
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7911
(eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7913
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7914
test $ac_status = 0; } && test -s "$nlist"; then
7915
# Try sorting and uniquifying the output.
7916
if sort "$nlist" | uniq > "$nlist"T; then
7917
mv -f "$nlist"T "$nlist"
7922
# Make sure that we snagged all the symbols we need.
7923
if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7924
if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7925
cat <<_LT_EOF > conftest.$ac_ext
7926
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7927
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7928
/* DATA imports from DLLs on WIN32 con't be const, because runtime
7929
relocations are performed -- see ld's documentation on pseudo-relocs. */
7930
# define LT_DLSYM_CONST
7931
#elif defined(__osf__)
7932
/* This system does not cope well with relocations in const data. */
7933
# define LT_DLSYM_CONST
7935
# define LT_DLSYM_CONST const
7943
# Now generate the symbol file.
7944
eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7946
cat <<_LT_EOF >> conftest.$ac_ext
7948
/* The mapping between symbol names and symbols. */
7949
LT_DLSYM_CONST struct {
7953
lt__PROGRAM__LTX_preloaded_symbols[] =
7955
{ "@PROGRAM@", (void *) 0 },
7957
$SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7958
cat <<\_LT_EOF >> conftest.$ac_ext
7962
/* This works around a problem in FreeBSD linker */
7963
#ifdef FREEBSD_WORKAROUND
7964
static const void *lt_preloaded_setup() {
7965
return lt__PROGRAM__LTX_preloaded_symbols;
7973
# Now try linking the two files.
7974
mv conftest.$ac_objext conftstm.$ac_objext
7975
lt_globsym_save_LIBS=$LIBS
7976
lt_globsym_save_CFLAGS=$CFLAGS
7977
LIBS="conftstm.$ac_objext"
7978
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7979
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7980
(eval $ac_link) 2>&5
7982
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7983
test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7986
LIBS=$lt_globsym_save_LIBS
7987
CFLAGS=$lt_globsym_save_CFLAGS
7989
echo "cannot find nm_test_func in $nlist" >&5
7992
echo "cannot find nm_test_var in $nlist" >&5
7995
echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7998
echo "$progname: failed program was:" >&5
7999
cat conftest.$ac_ext >&5
8001
rm -rf conftest* conftst*
8003
# Do not use the global_symbol_pipe unless it works.
8004
if test "$pipe_works" = yes; then
8007
lt_cv_sys_global_symbol_pipe=
8013
if test -z "$lt_cv_sys_global_symbol_pipe"; then
8014
lt_cv_sys_global_symbol_to_cdecl=
8016
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8017
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
8018
$as_echo "failed" >&6; }
8020
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8021
$as_echo "ok" >&6; }
8024
# Response file support.
8025
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8026
nm_file_list_spec='@'
8027
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
8028
nm_file_list_spec='@'
8057
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
8058
$as_echo_n "checking for sysroot... " >&6; }
8060
# Check whether --with-sysroot was given.
8061
if test "${with_sysroot+set}" = set; then :
8062
withval=$with_sysroot;
8069
case ${with_sysroot} in #(
8071
if test "$GCC" = yes; then
8072
lt_sysroot=`$CC --print-sysroot 2>/dev/null`
8076
lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
8081
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
8082
$as_echo "${with_sysroot}" >&6; }
8083
as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
8087
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
8088
$as_echo "${lt_sysroot:-no}" >&6; }
8094
# Check whether --enable-libtool-lock was given.
8095
if test "${enable_libtool_lock+set}" = set; then :
8096
enableval=$enable_libtool_lock;
8099
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8101
# Some flags need to be propagated to the compiler or linker for good
8105
# Find out which ABI we are using.
8106
echo 'int i;' > conftest.$ac_ext
8107
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8108
(eval $ac_compile) 2>&5
8110
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8111
test $ac_status = 0; }; then
8112
case `/usr/bin/file conftest.$ac_objext` in
8124
# Find out which ABI we are using.
8125
echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8126
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8127
(eval $ac_compile) 2>&5
8129
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8130
test $ac_status = 0; }; then
8131
if test "$lt_cv_prog_gnu_ld" = yes; then
8132
case `/usr/bin/file conftest.$ac_objext` in
8134
LD="${LD-ld} -melf32bsmip"
8137
LD="${LD-ld} -melf32bmipn32"
8140
LD="${LD-ld} -melf64bmip"
8144
case `/usr/bin/file conftest.$ac_objext` in
8160
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
8161
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8162
# Find out which ABI we are using.
8163
echo 'int i;' > conftest.$ac_ext
8164
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8165
(eval $ac_compile) 2>&5
8167
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8168
test $ac_status = 0; }; then
8169
case `/usr/bin/file conftest.o` in
8172
x86_64-*kfreebsd*-gnu)
8173
LD="${LD-ld} -m elf_i386_fbsd"
8176
LD="${LD-ld} -m elf_i386"
8178
ppc64-*linux*|powerpc64-*linux*)
8179
LD="${LD-ld} -m elf32ppclinux"
8182
LD="${LD-ld} -m elf_s390"
8185
LD="${LD-ld} -m elf32_sparc"
8191
x86_64-*kfreebsd*-gnu)
8192
LD="${LD-ld} -m elf_x86_64_fbsd"
8195
LD="${LD-ld} -m elf_x86_64"
8197
ppc*-*linux*|powerpc*-*linux*)
8198
LD="${LD-ld} -m elf64ppc"
8200
s390*-*linux*|s390*-*tpf*)
8201
LD="${LD-ld} -m elf64_s390"
8204
LD="${LD-ld} -m elf64_sparc"
8214
# On SCO OpenServer 5, we need -belf to get full-featured binaries.
8215
SAVE_CFLAGS="$CFLAGS"
8216
CFLAGS="$CFLAGS -belf"
8217
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8218
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8219
if ${lt_cv_cc_needs_belf+:} false; then :
8220
$as_echo_n "(cached) " >&6
8223
ac_cpp='$CPP $CPPFLAGS'
8224
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8225
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8226
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8228
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8229
/* end confdefs.h. */
8239
if ac_fn_c_try_link "$LINENO"; then :
8240
lt_cv_cc_needs_belf=yes
8242
lt_cv_cc_needs_belf=no
8244
rm -f core conftest.err conftest.$ac_objext \
8245
conftest$ac_exeext conftest.$ac_ext
8247
ac_cpp='$CPP $CPPFLAGS'
8248
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8249
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8250
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8253
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8254
$as_echo "$lt_cv_cc_needs_belf" >&6; }
8255
if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8256
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8257
CFLAGS="$SAVE_CFLAGS"
8261
# Find out which ABI we are using.
8262
echo 'int i;' > conftest.$ac_ext
8263
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8264
(eval $ac_compile) 2>&5
8266
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8267
test $ac_status = 0; }; then
8268
case `/usr/bin/file conftest.o` in
8270
case $lt_cv_prog_gnu_ld in
8274
LD="${LD-ld} -m elf_x86_64"
8277
LD="${LD-ld} -m elf64_sparc"
8280
# GNU ld 2.21 introduced _sol2 emulations. Use them if available.
8281
if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
8286
if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8298
need_locks="$enable_libtool_lock"
8300
if test -n "$ac_tool_prefix"; then
8301
# Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
8302
set dummy ${ac_tool_prefix}mt; ac_word=$2
8303
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8304
$as_echo_n "checking for $ac_word... " >&6; }
8305
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
8306
$as_echo_n "(cached) " >&6
8308
if test -n "$MANIFEST_TOOL"; then
8309
ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
8311
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8315
test -z "$as_dir" && as_dir=.
8316
for ac_exec_ext in '' $ac_executable_extensions; do
8317
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8318
ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
8319
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8328
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
8329
if test -n "$MANIFEST_TOOL"; then
8330
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
8331
$as_echo "$MANIFEST_TOOL" >&6; }
8333
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8334
$as_echo "no" >&6; }
8339
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8340
ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
8341
# Extract the first word of "mt", so it can be a program name with args.
8342
set dummy mt; ac_word=$2
8343
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8344
$as_echo_n "checking for $ac_word... " >&6; }
8345
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
8346
$as_echo_n "(cached) " >&6
8348
if test -n "$ac_ct_MANIFEST_TOOL"; then
8349
ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8351
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8355
test -z "$as_dir" && as_dir=.
8356
for ac_exec_ext in '' $ac_executable_extensions; do
8357
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8358
ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
8359
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8368
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8369
if test -n "$ac_ct_MANIFEST_TOOL"; then
8370
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
8371
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
8373
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8374
$as_echo "no" >&6; }
8377
if test "x$ac_ct_MANIFEST_TOOL" = x; then
8380
case $cross_compiling:$ac_tool_warned in
8382
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8383
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8384
ac_tool_warned=yes ;;
8386
MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
8389
MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
8392
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8393
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8394
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8395
if ${lt_cv_path_mainfest_tool+:} false; then :
8396
$as_echo_n "(cached) " >&6
8398
lt_cv_path_mainfest_tool=no
8399
echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8400
$MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8401
cat conftest.err >&5
8402
if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8403
lt_cv_path_mainfest_tool=yes
8407
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8408
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
8409
if test "x$lt_cv_path_mainfest_tool" != xyes; then
8419
rhapsody* | darwin*)
8420
if test -n "$ac_tool_prefix"; then
8421
# Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8422
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8423
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8424
$as_echo_n "checking for $ac_word... " >&6; }
8425
if ${ac_cv_prog_DSYMUTIL+:} false; then :
8426
$as_echo_n "(cached) " >&6
8428
if test -n "$DSYMUTIL"; then
8429
ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8431
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8435
test -z "$as_dir" && as_dir=.
8436
for ac_exec_ext in '' $ac_executable_extensions; do
8437
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8438
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8439
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8448
DSYMUTIL=$ac_cv_prog_DSYMUTIL
8449
if test -n "$DSYMUTIL"; then
8450
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8451
$as_echo "$DSYMUTIL" >&6; }
8453
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8454
$as_echo "no" >&6; }
8459
if test -z "$ac_cv_prog_DSYMUTIL"; then
8460
ac_ct_DSYMUTIL=$DSYMUTIL
8461
# Extract the first word of "dsymutil", so it can be a program name with args.
8462
set dummy dsymutil; ac_word=$2
8463
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8464
$as_echo_n "checking for $ac_word... " >&6; }
8465
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8466
$as_echo_n "(cached) " >&6
8468
if test -n "$ac_ct_DSYMUTIL"; then
8469
ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8471
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8475
test -z "$as_dir" && as_dir=.
8476
for ac_exec_ext in '' $ac_executable_extensions; do
8477
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8478
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8479
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8488
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8489
if test -n "$ac_ct_DSYMUTIL"; then
8490
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8491
$as_echo "$ac_ct_DSYMUTIL" >&6; }
8493
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8494
$as_echo "no" >&6; }
8497
if test "x$ac_ct_DSYMUTIL" = x; then
8500
case $cross_compiling:$ac_tool_warned in
8502
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8503
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8504
ac_tool_warned=yes ;;
8506
DSYMUTIL=$ac_ct_DSYMUTIL
8509
DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8512
if test -n "$ac_tool_prefix"; then
8513
# Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8514
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8515
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8516
$as_echo_n "checking for $ac_word... " >&6; }
8517
if ${ac_cv_prog_NMEDIT+:} false; then :
8518
$as_echo_n "(cached) " >&6
8520
if test -n "$NMEDIT"; then
8521
ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8523
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8527
test -z "$as_dir" && as_dir=.
8528
for ac_exec_ext in '' $ac_executable_extensions; do
8529
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8530
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8531
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8540
NMEDIT=$ac_cv_prog_NMEDIT
8541
if test -n "$NMEDIT"; then
8542
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8543
$as_echo "$NMEDIT" >&6; }
8545
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8546
$as_echo "no" >&6; }
8551
if test -z "$ac_cv_prog_NMEDIT"; then
8552
ac_ct_NMEDIT=$NMEDIT
8553
# Extract the first word of "nmedit", so it can be a program name with args.
8554
set dummy nmedit; ac_word=$2
8555
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8556
$as_echo_n "checking for $ac_word... " >&6; }
8557
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8558
$as_echo_n "(cached) " >&6
8560
if test -n "$ac_ct_NMEDIT"; then
8561
ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8563
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8567
test -z "$as_dir" && as_dir=.
8568
for ac_exec_ext in '' $ac_executable_extensions; do
8569
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8570
ac_cv_prog_ac_ct_NMEDIT="nmedit"
8571
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8580
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8581
if test -n "$ac_ct_NMEDIT"; then
8582
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8583
$as_echo "$ac_ct_NMEDIT" >&6; }
8585
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8586
$as_echo "no" >&6; }
8589
if test "x$ac_ct_NMEDIT" = x; then
8592
case $cross_compiling:$ac_tool_warned in
8594
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8595
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8596
ac_tool_warned=yes ;;
8598
NMEDIT=$ac_ct_NMEDIT
8601
NMEDIT="$ac_cv_prog_NMEDIT"
8604
if test -n "$ac_tool_prefix"; then
8605
# Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8606
set dummy ${ac_tool_prefix}lipo; ac_word=$2
8607
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8608
$as_echo_n "checking for $ac_word... " >&6; }
8609
if ${ac_cv_prog_LIPO+:} false; then :
8610
$as_echo_n "(cached) " >&6
8612
if test -n "$LIPO"; then
8613
ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8615
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8619
test -z "$as_dir" && as_dir=.
8620
for ac_exec_ext in '' $ac_executable_extensions; do
8621
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8622
ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8623
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8632
LIPO=$ac_cv_prog_LIPO
8633
if test -n "$LIPO"; then
8634
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8635
$as_echo "$LIPO" >&6; }
8637
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8638
$as_echo "no" >&6; }
8643
if test -z "$ac_cv_prog_LIPO"; then
8645
# Extract the first word of "lipo", so it can be a program name with args.
8646
set dummy lipo; ac_word=$2
8647
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8648
$as_echo_n "checking for $ac_word... " >&6; }
8649
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8650
$as_echo_n "(cached) " >&6
8652
if test -n "$ac_ct_LIPO"; then
8653
ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8655
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8659
test -z "$as_dir" && as_dir=.
8660
for ac_exec_ext in '' $ac_executable_extensions; do
8661
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8662
ac_cv_prog_ac_ct_LIPO="lipo"
8663
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8672
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8673
if test -n "$ac_ct_LIPO"; then
8674
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8675
$as_echo "$ac_ct_LIPO" >&6; }
8677
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8678
$as_echo "no" >&6; }
8681
if test "x$ac_ct_LIPO" = x; then
8684
case $cross_compiling:$ac_tool_warned in
8686
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8687
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8688
ac_tool_warned=yes ;;
8693
LIPO="$ac_cv_prog_LIPO"
8696
if test -n "$ac_tool_prefix"; then
8697
# Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8698
set dummy ${ac_tool_prefix}otool; ac_word=$2
8699
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8700
$as_echo_n "checking for $ac_word... " >&6; }
8701
if ${ac_cv_prog_OTOOL+:} false; then :
8702
$as_echo_n "(cached) " >&6
8704
if test -n "$OTOOL"; then
8705
ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8707
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8711
test -z "$as_dir" && as_dir=.
8712
for ac_exec_ext in '' $ac_executable_extensions; do
8713
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8714
ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8715
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8724
OTOOL=$ac_cv_prog_OTOOL
8725
if test -n "$OTOOL"; then
8726
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8727
$as_echo "$OTOOL" >&6; }
8729
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8730
$as_echo "no" >&6; }
8735
if test -z "$ac_cv_prog_OTOOL"; then
8737
# Extract the first word of "otool", so it can be a program name with args.
8738
set dummy otool; ac_word=$2
8739
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8740
$as_echo_n "checking for $ac_word... " >&6; }
8741
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8742
$as_echo_n "(cached) " >&6
8744
if test -n "$ac_ct_OTOOL"; then
8745
ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8747
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8751
test -z "$as_dir" && as_dir=.
8752
for ac_exec_ext in '' $ac_executable_extensions; do
8753
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8754
ac_cv_prog_ac_ct_OTOOL="otool"
8755
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8764
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8765
if test -n "$ac_ct_OTOOL"; then
8766
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8767
$as_echo "$ac_ct_OTOOL" >&6; }
8769
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8770
$as_echo "no" >&6; }
8773
if test "x$ac_ct_OTOOL" = x; then
8776
case $cross_compiling:$ac_tool_warned in
8778
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8779
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8780
ac_tool_warned=yes ;;
8785
OTOOL="$ac_cv_prog_OTOOL"
8788
if test -n "$ac_tool_prefix"; then
8789
# Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8790
set dummy ${ac_tool_prefix}otool64; ac_word=$2
8791
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8792
$as_echo_n "checking for $ac_word... " >&6; }
8793
if ${ac_cv_prog_OTOOL64+:} false; then :
8794
$as_echo_n "(cached) " >&6
8796
if test -n "$OTOOL64"; then
8797
ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8799
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8803
test -z "$as_dir" && as_dir=.
8804
for ac_exec_ext in '' $ac_executable_extensions; do
8805
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8806
ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8807
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8816
OTOOL64=$ac_cv_prog_OTOOL64
8817
if test -n "$OTOOL64"; then
8818
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8819
$as_echo "$OTOOL64" >&6; }
8821
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8822
$as_echo "no" >&6; }
8827
if test -z "$ac_cv_prog_OTOOL64"; then
8828
ac_ct_OTOOL64=$OTOOL64
8829
# Extract the first word of "otool64", so it can be a program name with args.
8830
set dummy otool64; ac_word=$2
8831
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8832
$as_echo_n "checking for $ac_word... " >&6; }
8833
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8834
$as_echo_n "(cached) " >&6
8836
if test -n "$ac_ct_OTOOL64"; then
8837
ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8839
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8843
test -z "$as_dir" && as_dir=.
8844
for ac_exec_ext in '' $ac_executable_extensions; do
8845
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8846
ac_cv_prog_ac_ct_OTOOL64="otool64"
8847
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8856
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8857
if test -n "$ac_ct_OTOOL64"; then
8858
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8859
$as_echo "$ac_ct_OTOOL64" >&6; }
8861
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8862
$as_echo "no" >&6; }
8865
if test "x$ac_ct_OTOOL64" = x; then
8868
case $cross_compiling:$ac_tool_warned in
8870
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8871
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8872
ac_tool_warned=yes ;;
8874
OTOOL64=$ac_ct_OTOOL64
8877
OTOOL64="$ac_cv_prog_OTOOL64"
8906
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8907
$as_echo_n "checking for -single_module linker flag... " >&6; }
8908
if ${lt_cv_apple_cc_single_mod+:} false; then :
8909
$as_echo_n "(cached) " >&6
8911
lt_cv_apple_cc_single_mod=no
8912
if test -z "${LT_MULTI_MODULE}"; then
8913
# By default we will add the -single_module flag. You can override
8914
# by either setting the environment variable LT_MULTI_MODULE
8915
# non-empty at configure time, or by adding -multi_module to the
8917
rm -rf libconftest.dylib*
8918
echo "int foo(void){return 1;}" > conftest.c
8919
echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8920
-dynamiclib -Wl,-single_module conftest.c" >&5
8921
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8922
-dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8924
# If there is a non-empty error log, and "single_module"
8925
# appears in it, assume the flag caused a linker warning
8926
if test -s conftest.err && $GREP single_module conftest.err; then
8927
cat conftest.err >&5
8928
# Otherwise, if the output was created with a 0 exit code from
8929
# the compiler, it worked.
8930
elif test -f libconftest.dylib && test $_lt_result -eq 0; then
8931
lt_cv_apple_cc_single_mod=yes
8933
cat conftest.err >&5
8935
rm -rf libconftest.dylib*
8939
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8940
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8942
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8943
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8944
if ${lt_cv_ld_exported_symbols_list+:} false; then :
8945
$as_echo_n "(cached) " >&6
8947
lt_cv_ld_exported_symbols_list=no
8948
save_LDFLAGS=$LDFLAGS
8949
echo "_main" > conftest.sym
8950
LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8951
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8952
/* end confdefs.h. */
8962
if ac_fn_c_try_link "$LINENO"; then :
8963
lt_cv_ld_exported_symbols_list=yes
8965
lt_cv_ld_exported_symbols_list=no
8967
rm -f core conftest.err conftest.$ac_objext \
8968
conftest$ac_exeext conftest.$ac_ext
8969
LDFLAGS="$save_LDFLAGS"
8972
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8973
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8975
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8976
$as_echo_n "checking for -force_load linker flag... " >&6; }
8977
if ${lt_cv_ld_force_load+:} false; then :
8978
$as_echo_n "(cached) " >&6
8980
lt_cv_ld_force_load=no
8981
cat > conftest.c << _LT_EOF
8982
int forced_loaded() { return 2;}
8984
echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8985
$LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8986
echo "$AR cru libconftest.a conftest.o" >&5
8987
$AR cru libconftest.a conftest.o 2>&5
8988
echo "$RANLIB libconftest.a" >&5
8989
$RANLIB libconftest.a 2>&5
8990
cat > conftest.c << _LT_EOF
8991
int main() { return 0;}
8993
echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8994
$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8996
if test -s conftest.err && $GREP force_load conftest.err; then
8997
cat conftest.err >&5
8998
elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
8999
lt_cv_ld_force_load=yes
9001
cat conftest.err >&5
9003
rm -f conftest.err libconftest.a conftest conftest.c
9004
rm -rf conftest.dSYM
9007
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
9008
$as_echo "$lt_cv_ld_force_load" >&6; }
9010
rhapsody* | darwin1.[012])
9011
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
9013
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9014
darwin*) # darwin 5.x on
9015
# if running on 10.5 or later, the deployment target defaults
9016
# to the OS version, if on x86, and 10.4, the deployment
9017
# target defaults to 10.4. Don't you love it?
9018
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9019
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
9020
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9022
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9024
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9028
if test "$lt_cv_apple_cc_single_mod" = "yes"; then
9029
_lt_dar_single_mod='$single_module'
9031
if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9032
_lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9034
_lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
9036
if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
9037
_lt_dsymutil='~$DSYMUTIL $lib || :'
9044
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
9045
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
9046
inttypes.h stdint.h unistd.h
9048
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9049
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
9051
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9052
cat >>confdefs.h <<_ACEOF
9053
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9061
for ac_header in dlfcn.h
9063
ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9065
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
9066
cat >>confdefs.h <<_ACEOF
9067
#define HAVE_DLFCN_H 1
9088
# Check whether --enable-shared was given.
9089
if test "${enable_shared+set}" = set; then :
9090
enableval=$enable_shared; p=${PACKAGE-default}
9092
yes) enable_shared=yes ;;
9093
no) enable_shared=no ;;
9096
# Look at the argument we got. We use all the common list separators.
9097
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9098
for pkg in $enableval; do
9100
if test "X$pkg" = "X$p"; then
9119
# Check whether --enable-static was given.
9120
if test "${enable_static+set}" = set; then :
9121
enableval=$enable_static; p=${PACKAGE-default}
9123
yes) enable_static=yes ;;
9124
no) enable_static=no ;;
9127
# Look at the argument we got. We use all the common list separators.
9128
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9129
for pkg in $enableval; do
9131
if test "X$pkg" = "X$p"; then
9151
# Check whether --with-pic was given.
9152
if test "${with_pic+set}" = set; then :
9153
withval=$with_pic; lt_p=${PACKAGE-default}
9155
yes|no) pic_mode=$withval ;;
9158
# Look at the argument we got. We use all the common list separators.
9159
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9160
for lt_pkg in $withval; do
9162
if test "X$lt_pkg" = "X$lt_p"; then
9174
test -z "$pic_mode" && pic_mode=default
9182
# Check whether --enable-fast-install was given.
9183
if test "${enable_fast_install+set}" = set; then :
9184
enableval=$enable_fast_install; p=${PACKAGE-default}
9186
yes) enable_fast_install=yes ;;
9187
no) enable_fast_install=no ;;
9189
enable_fast_install=no
9190
# Look at the argument we got. We use all the common list separators.
9191
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9192
for pkg in $enableval; do
9194
if test "X$pkg" = "X$p"; then
9195
enable_fast_install=yes
9202
enable_fast_install=yes
9215
# This can be used to rebuild libtool when needed
9216
LIBTOOL_DEPS="$ltmain"
9218
# Always use our own libtool.
9219
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9250
test -z "$LN_S" && LN_S="ln -s"
9265
if test -n "${ZSH_VERSION+set}" ; then
9266
setopt NO_GLOB_SUBST
9269
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9270
$as_echo_n "checking for objdir... " >&6; }
9271
if ${lt_cv_objdir+:} false; then :
9272
$as_echo_n "(cached) " >&6
9274
rm -f .libs 2>/dev/null
9275
mkdir .libs 2>/dev/null
9276
if test -d .libs; then
9279
# MS-DOS does not allow filenames that begin with a dot.
9282
rmdir .libs 2>/dev/null
9284
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9285
$as_echo "$lt_cv_objdir" >&6; }
9286
objdir=$lt_cv_objdir
9292
cat >>confdefs.h <<_ACEOF
9293
#define LT_OBJDIR "$lt_cv_objdir/"
9301
# AIX sometimes has problems with the GCC collect2 program. For some
9302
# reason, if we set the COLLECT_NAMES environment variable, the problems
9303
# vanish in a puff of smoke.
9304
if test "X${COLLECT_NAMES+set}" != Xset; then
9306
export COLLECT_NAMES
9313
can_build_shared=yes
9315
# All known linkers require a `.a' archive for static linking (except MSVC,
9316
# which needs '.lib').
9319
with_gnu_ld="$lt_cv_prog_gnu_ld"
9322
old_CFLAGS="$CFLAGS"
9324
# Set sane defaults for various variables
9325
test -z "$CC" && CC=cc
9326
test -z "$LTCC" && LTCC=$CC
9327
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9328
test -z "$LD" && LD=ld
9329
test -z "$ac_objext" && ac_objext=o
9331
for cc_temp in $compiler""; do
9333
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9334
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9339
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9342
# Only perform the check for file, if the check method requires it
9343
test -z "$MAGIC_CMD" && MAGIC_CMD=file
9344
case $deplibs_check_method in
9346
if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9347
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9348
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9349
if ${lt_cv_path_MAGIC_CMD+:} false; then :
9350
$as_echo_n "(cached) " >&6
9354
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9357
lt_save_MAGIC_CMD="$MAGIC_CMD"
9358
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9359
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9360
for ac_dir in $ac_dummy; do
9362
test -z "$ac_dir" && ac_dir=.
9363
if test -f $ac_dir/${ac_tool_prefix}file; then
9364
lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9365
if test -n "$file_magic_test_file"; then
9366
case $deplibs_check_method in
9368
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9369
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9370
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9371
$EGREP "$file_magic_regex" > /dev/null; then
9376
*** Warning: the command libtool uses to detect shared libraries,
9377
*** $file_magic_cmd, produces output that libtool cannot recognize.
9378
*** The result is that libtool may fail to recognize shared libraries
9379
*** as such. This will affect the creation of libtool libraries that
9380
*** depend on shared libraries, but programs linked with such libtool
9381
*** libraries will work regardless of this problem. Nevertheless, you
9382
*** may want to report the problem to your system manager and/or to
9383
*** bug-libtool@gnu.org
9393
MAGIC_CMD="$lt_save_MAGIC_CMD"
9398
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9399
if test -n "$MAGIC_CMD"; then
9400
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9401
$as_echo "$MAGIC_CMD" >&6; }
9403
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9404
$as_echo "no" >&6; }
9411
if test -z "$lt_cv_path_MAGIC_CMD"; then
9412
if test -n "$ac_tool_prefix"; then
9413
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9414
$as_echo_n "checking for file... " >&6; }
9415
if ${lt_cv_path_MAGIC_CMD+:} false; then :
9416
$as_echo_n "(cached) " >&6
9420
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9423
lt_save_MAGIC_CMD="$MAGIC_CMD"
9424
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9425
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9426
for ac_dir in $ac_dummy; do
9428
test -z "$ac_dir" && ac_dir=.
9429
if test -f $ac_dir/file; then
9430
lt_cv_path_MAGIC_CMD="$ac_dir/file"
9431
if test -n "$file_magic_test_file"; then
9432
case $deplibs_check_method in
9434
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9435
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9436
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9437
$EGREP "$file_magic_regex" > /dev/null; then
9442
*** Warning: the command libtool uses to detect shared libraries,
9443
*** $file_magic_cmd, produces output that libtool cannot recognize.
9444
*** The result is that libtool may fail to recognize shared libraries
9445
*** as such. This will affect the creation of libtool libraries that
9446
*** depend on shared libraries, but programs linked with such libtool
9447
*** libraries will work regardless of this problem. Nevertheless, you
9448
*** may want to report the problem to your system manager and/or to
9449
*** bug-libtool@gnu.org
9459
MAGIC_CMD="$lt_save_MAGIC_CMD"
9464
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9465
if test -n "$MAGIC_CMD"; then
9466
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9467
$as_echo "$MAGIC_CMD" >&6; }
9469
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9470
$as_echo "no" >&6; }
9483
# Use C for the default configuration in the libtool script
9487
ac_cpp='$CPP $CPPFLAGS'
9488
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9489
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9490
ac_compiler_gnu=$ac_cv_c_compiler_gnu
9493
# Source file extension for C test sources.
9496
# Object file extension for compiled C test sources.
9500
# Code to be used in simple compile tests
9501
lt_simple_compile_test_code="int some_variable = 0;"
9503
# Code to be used in simple link tests
9504
lt_simple_link_test_code='int main(){return(0);}'
9512
# If no C compiler was specified, use CC.
9515
# If no C compiler flags were specified, use CFLAGS.
9516
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9518
# Allow CC to be a program name with arguments.
9521
# Save the default compiler, since it gets overwritten when the other
9522
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9523
compiler_DEFAULT=$CC
9525
# save warnings/boilerplate of simple test code
9526
ac_outfile=conftest.$ac_objext
9527
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9528
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9529
_lt_compiler_boilerplate=`cat conftest.err`
9532
ac_outfile=conftest.$ac_objext
9533
echo "$lt_simple_link_test_code" >conftest.$ac_ext
9534
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9535
_lt_linker_boilerplate=`cat conftest.err`
9540
## There is no encapsulation within the following macros, do not change
9541
## the running order or otherwise move them around unless you know exactly
9542
## what you are doing...
9543
if test -n "$compiler"; then
9545
lt_prog_compiler_no_builtin_flag=
9547
if test "$GCC" = yes; then
9548
case $cc_basename in
9550
lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9552
lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9555
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9556
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9557
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9558
$as_echo_n "(cached) " >&6
9560
lt_cv_prog_compiler_rtti_exceptions=no
9561
ac_outfile=conftest.$ac_objext
9562
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9563
lt_compiler_flag="-fno-rtti -fno-exceptions"
9564
# Insert the option either (1) after the last *FLAGS variable, or
9565
# (2) before a word containing "conftest.", or (3) at the end.
9566
# Note that $ac_compile itself does not contain backslashes and begins
9567
# with a dollar sign (not a hyphen), so the echo should work correctly.
9568
# The option is referenced via a variable to avoid confusing sed.
9569
lt_compile=`echo "$ac_compile" | $SED \
9570
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9571
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9572
-e 's:$: $lt_compiler_flag:'`
9573
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9574
(eval "$lt_compile" 2>conftest.err)
9576
cat conftest.err >&5
9577
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9578
if (exit $ac_status) && test -s "$ac_outfile"; then
9579
# The compiler can only warn and ignore the option if not recognized
9580
# So say no if there are warnings other than the usual output.
9581
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9582
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9583
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9584
lt_cv_prog_compiler_rtti_exceptions=yes
9590
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9591
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9593
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9594
lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9606
lt_prog_compiler_wl=
9607
lt_prog_compiler_pic=
9608
lt_prog_compiler_static=
9611
if test "$GCC" = yes; then
9612
lt_prog_compiler_wl='-Wl,'
9613
lt_prog_compiler_static='-static'
9617
# All AIX code is PIC.
9618
if test "$host_cpu" = ia64; then
9619
# AIX 5 now supports IA64 processor
9620
lt_prog_compiler_static='-Bstatic'
9627
# see comment about AmigaOS4 .so support
9628
lt_prog_compiler_pic='-fPIC'
9631
# FIXME: we need at least 68020 code to build shared libraries, but
9632
# adding the `-m68020' flag to GCC prevents building anything better,
9634
lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9639
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9640
# PIC is the default for these OSes.
9643
mingw* | cygwin* | pw32* | os2* | cegcc*)
9644
# This hack is so that the source file can tell whether it is being
9645
# built for inclusion in a dll (and should export symbols for example).
9646
# Although the cygwin gcc ignores -fPIC, still need this for old-style
9647
# (--disable-auto-import) libraries
9648
lt_prog_compiler_pic='-DDLL_EXPORT'
9651
darwin* | rhapsody*)
9652
# PIC is the default on this platform
9653
# Common symbols not allowed in MH_DYLIB files
9654
lt_prog_compiler_pic='-fno-common'
9658
# PIC is the default for Haiku.
9659
# The "-static" flag exists, but is broken.
9660
lt_prog_compiler_static=
9664
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9665
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9666
# sets the default TLS model and affects inlining.
9672
lt_prog_compiler_pic='-fPIC'
9678
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
9679
# Instead, we relocate shared libraries at runtime.
9683
# Just because we use GCC doesn't mean we suddenly get shared libraries
9684
# on systems that don't support them.
9685
lt_prog_compiler_can_build_shared=no
9690
# QNX uses GNU C++, but need to define -shared option too, otherwise
9692
lt_prog_compiler_pic='-fPIC -shared'
9696
if test -d /usr/nec; then
9697
lt_prog_compiler_pic=-Kconform_pic
9702
lt_prog_compiler_pic='-fPIC'
9706
case $cc_basename in
9707
nvcc*) # Cuda Compiler Driver 2.2
9708
lt_prog_compiler_wl='-Xlinker '
9709
if test -n "$lt_prog_compiler_pic"; then
9710
lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9715
# PORTME Check for flag to pass linker flags through the system compiler.
9718
lt_prog_compiler_wl='-Wl,'
9719
if test "$host_cpu" = ia64; then
9720
# AIX 5 now supports IA64 processor
9721
lt_prog_compiler_static='-Bstatic'
9723
lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9727
mingw* | cygwin* | pw32* | os2* | cegcc*)
9728
# This hack is so that the source file can tell whether it is being
9729
# built for inclusion in a dll (and should export symbols for example).
9730
lt_prog_compiler_pic='-DDLL_EXPORT'
9733
hpux9* | hpux10* | hpux11*)
9734
lt_prog_compiler_wl='-Wl,'
9735
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9742
lt_prog_compiler_pic='+Z'
9745
# Is there a better lt_prog_compiler_static that works with the bundled CC?
9746
lt_prog_compiler_static='${wl}-a ${wl}archive'
9749
irix5* | irix6* | nonstopux*)
9750
lt_prog_compiler_wl='-Wl,'
9751
# PIC (with -KPIC) is the default.
9752
lt_prog_compiler_static='-non_shared'
9755
linux* | k*bsd*-gnu | kopensolaris*-gnu)
9756
case $cc_basename in
9757
# old Intel for x86_64 which still supported -KPIC.
9759
lt_prog_compiler_wl='-Wl,'
9760
lt_prog_compiler_pic='-KPIC'
9761
lt_prog_compiler_static='-static'
9763
# icc used to be incompatible with GCC.
9764
# ICC 10 doesn't accept -KPIC any more.
9766
lt_prog_compiler_wl='-Wl,'
9767
lt_prog_compiler_pic='-fPIC'
9768
lt_prog_compiler_static='-static'
9770
# Lahey Fortran 8.1.
9772
lt_prog_compiler_wl='-Wl,'
9773
lt_prog_compiler_pic='--shared'
9774
lt_prog_compiler_static='--static'
9777
# NAG Fortran compiler
9778
lt_prog_compiler_wl='-Wl,-Wl,,'
9779
lt_prog_compiler_pic='-PIC'
9780
lt_prog_compiler_static='-Bstatic'
9782
pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9783
# Portland Group compilers (*not* the Pentium gcc compiler,
9784
# which looks to be a dead project)
9785
lt_prog_compiler_wl='-Wl,'
9786
lt_prog_compiler_pic='-fpic'
9787
lt_prog_compiler_static='-Bstatic'
9790
lt_prog_compiler_wl='-Wl,'
9791
# All Alpha code is PIC.
9792
lt_prog_compiler_static='-non_shared'
9794
xl* | bgxl* | bgf* | mpixl*)
9795
# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9796
lt_prog_compiler_wl='-Wl,'
9797
lt_prog_compiler_pic='-qpic'
9798
lt_prog_compiler_static='-qstaticlink'
9801
case `$CC -V 2>&1 | sed 5q` in
9802
*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9803
# Sun Fortran 8.3 passes all unrecognized flags to the linker
9804
lt_prog_compiler_pic='-KPIC'
9805
lt_prog_compiler_static='-Bstatic'
9806
lt_prog_compiler_wl=''
9808
*Sun\ F* | *Sun*Fortran*)
9809
lt_prog_compiler_pic='-KPIC'
9810
lt_prog_compiler_static='-Bstatic'
9811
lt_prog_compiler_wl='-Qoption ld '
9815
lt_prog_compiler_pic='-KPIC'
9816
lt_prog_compiler_static='-Bstatic'
9817
lt_prog_compiler_wl='-Wl,'
9819
*Intel*\ [CF]*Compiler*)
9820
lt_prog_compiler_wl='-Wl,'
9821
lt_prog_compiler_pic='-fPIC'
9822
lt_prog_compiler_static='-static'
9825
lt_prog_compiler_wl='-Wl,'
9826
lt_prog_compiler_pic='-fpic'
9827
lt_prog_compiler_static='-Bstatic'
9835
lt_prog_compiler_pic='-KPIC'
9836
lt_prog_compiler_static='-Bstatic'
9840
# QNX uses GNU C++, but need to define -shared option too, otherwise
9842
lt_prog_compiler_pic='-fPIC -shared'
9845
osf3* | osf4* | osf5*)
9846
lt_prog_compiler_wl='-Wl,'
9847
# All OSF/1 code is PIC.
9848
lt_prog_compiler_static='-non_shared'
9852
lt_prog_compiler_static='-non_shared'
9856
lt_prog_compiler_pic='-KPIC'
9857
lt_prog_compiler_static='-Bstatic'
9858
case $cc_basename in
9859
f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9860
lt_prog_compiler_wl='-Qoption ld ';;
9862
lt_prog_compiler_wl='-Wl,';;
9867
lt_prog_compiler_wl='-Qoption ld '
9868
lt_prog_compiler_pic='-PIC'
9869
lt_prog_compiler_static='-Bstatic'
9872
sysv4 | sysv4.2uw2* | sysv4.3*)
9873
lt_prog_compiler_wl='-Wl,'
9874
lt_prog_compiler_pic='-KPIC'
9875
lt_prog_compiler_static='-Bstatic'
9879
if test -d /usr/nec ;then
9880
lt_prog_compiler_pic='-Kconform_pic'
9881
lt_prog_compiler_static='-Bstatic'
9885
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9886
lt_prog_compiler_wl='-Wl,'
9887
lt_prog_compiler_pic='-KPIC'
9888
lt_prog_compiler_static='-Bstatic'
9892
lt_prog_compiler_wl='-Wl,'
9893
lt_prog_compiler_can_build_shared=no
9897
lt_prog_compiler_pic='-pic'
9898
lt_prog_compiler_static='-Bstatic'
9902
lt_prog_compiler_can_build_shared=no
9908
# For platforms which do not support PIC, -DPIC is meaningless:
9910
lt_prog_compiler_pic=
9913
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9917
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9918
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9919
if ${lt_cv_prog_compiler_pic+:} false; then :
9920
$as_echo_n "(cached) " >&6
9922
lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9924
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9925
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
9926
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9929
# Check to make sure the PIC flag actually works.
9931
if test -n "$lt_prog_compiler_pic"; then
9932
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9933
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9934
if ${lt_cv_prog_compiler_pic_works+:} false; then :
9935
$as_echo_n "(cached) " >&6
9937
lt_cv_prog_compiler_pic_works=no
9938
ac_outfile=conftest.$ac_objext
9939
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9940
lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9941
# Insert the option either (1) after the last *FLAGS variable, or
9942
# (2) before a word containing "conftest.", or (3) at the end.
9943
# Note that $ac_compile itself does not contain backslashes and begins
9944
# with a dollar sign (not a hyphen), so the echo should work correctly.
9945
# The option is referenced via a variable to avoid confusing sed.
9946
lt_compile=`echo "$ac_compile" | $SED \
9947
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9948
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9949
-e 's:$: $lt_compiler_flag:'`
9950
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9951
(eval "$lt_compile" 2>conftest.err)
9953
cat conftest.err >&5
9954
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9955
if (exit $ac_status) && test -s "$ac_outfile"; then
9956
# The compiler can only warn and ignore the option if not recognized
9957
# So say no if there are warnings other than the usual output.
9958
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9959
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9960
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9961
lt_cv_prog_compiler_pic_works=yes
9967
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9968
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9970
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9971
case $lt_prog_compiler_pic in
9973
*) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9976
lt_prog_compiler_pic=
9977
lt_prog_compiler_can_build_shared=no
9993
# Check to make sure the static flag actually works.
9995
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9996
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9997
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9998
if ${lt_cv_prog_compiler_static_works+:} false; then :
9999
$as_echo_n "(cached) " >&6
10001
lt_cv_prog_compiler_static_works=no
10002
save_LDFLAGS="$LDFLAGS"
10003
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10004
echo "$lt_simple_link_test_code" > conftest.$ac_ext
10005
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10006
# The linker can only warn and ignore the option if not recognized
10007
# So say no if there are warnings
10008
if test -s conftest.err; then
10009
# Append any errors to the config.log.
10010
cat conftest.err 1>&5
10011
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10012
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10013
if diff conftest.exp conftest.er2 >/dev/null; then
10014
lt_cv_prog_compiler_static_works=yes
10017
lt_cv_prog_compiler_static_works=yes
10021
LDFLAGS="$save_LDFLAGS"
10024
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10025
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10027
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
10030
lt_prog_compiler_static=
10039
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10040
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10041
if ${lt_cv_prog_compiler_c_o+:} false; then :
10042
$as_echo_n "(cached) " >&6
10044
lt_cv_prog_compiler_c_o=no
10045
$RM -r conftest 2>/dev/null
10049
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10051
lt_compiler_flag="-o out/conftest2.$ac_objext"
10052
# Insert the option either (1) after the last *FLAGS variable, or
10053
# (2) before a word containing "conftest.", or (3) at the end.
10054
# Note that $ac_compile itself does not contain backslashes and begins
10055
# with a dollar sign (not a hyphen), so the echo should work correctly.
10056
lt_compile=`echo "$ac_compile" | $SED \
10057
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10058
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10059
-e 's:$: $lt_compiler_flag:'`
10060
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10061
(eval "$lt_compile" 2>out/conftest.err)
10063
cat out/conftest.err >&5
10064
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10065
if (exit $ac_status) && test -s out/conftest2.$ac_objext
10067
# The compiler can only warn and ignore the option if not recognized
10068
# So say no if there are warnings
10069
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10070
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10071
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10072
lt_cv_prog_compiler_c_o=yes
10077
# SGI C++ compiler will create directory out/ii_files/ for
10078
# template instantiation
10079
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10080
$RM out/* && rmdir out
10086
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10087
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10094
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10095
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10096
if ${lt_cv_prog_compiler_c_o+:} false; then :
10097
$as_echo_n "(cached) " >&6
10099
lt_cv_prog_compiler_c_o=no
10100
$RM -r conftest 2>/dev/null
10104
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10106
lt_compiler_flag="-o out/conftest2.$ac_objext"
10107
# Insert the option either (1) after the last *FLAGS variable, or
10108
# (2) before a word containing "conftest.", or (3) at the end.
10109
# Note that $ac_compile itself does not contain backslashes and begins
10110
# with a dollar sign (not a hyphen), so the echo should work correctly.
10111
lt_compile=`echo "$ac_compile" | $SED \
10112
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10113
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10114
-e 's:$: $lt_compiler_flag:'`
10115
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10116
(eval "$lt_compile" 2>out/conftest.err)
10118
cat out/conftest.err >&5
10119
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10120
if (exit $ac_status) && test -s out/conftest2.$ac_objext
10122
# The compiler can only warn and ignore the option if not recognized
10123
# So say no if there are warnings
10124
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10125
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10126
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10127
lt_cv_prog_compiler_c_o=yes
10132
# SGI C++ compiler will create directory out/ii_files/ for
10133
# template instantiation
10134
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10135
$RM out/* && rmdir out
10141
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10142
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10147
hard_links="nottested"
10148
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
10149
# do not overwrite the value of need_locks provided by the user
10150
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10151
$as_echo_n "checking if we can lock with hard links... " >&6; }
10154
ln conftest.a conftest.b 2>/dev/null && hard_links=no
10156
ln conftest.a conftest.b 2>&5 || hard_links=no
10157
ln conftest.a conftest.b 2>/dev/null && hard_links=no
10158
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10159
$as_echo "$hard_links" >&6; }
10160
if test "$hard_links" = no; then
10161
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10162
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10174
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10175
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10178
allow_undefined_flag=
10179
always_export_symbols=no
10181
archive_expsym_cmds=
10182
compiler_needs_object=no
10183
enable_shared_with_static_runtimes=no
10184
export_dynamic_flag_spec=
10185
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10186
hardcode_automatic=no
10188
hardcode_direct_absolute=no
10189
hardcode_libdir_flag_spec=
10190
hardcode_libdir_separator=
10191
hardcode_minus_L=no
10192
hardcode_shlibpath_var=unsupported
10194
link_all_deplibs=unknown
10196
module_expsym_cmds=
10197
old_archive_from_new_cmds=
10198
old_archive_from_expsyms_cmds=
10199
thread_safe_flag_spec=
10200
whole_archive_flag_spec=
10201
# include_expsyms should be a list of space-separated symbols to be *always*
10202
# included in the symbol list
10204
# exclude_expsyms can be an extended regexp of symbols to exclude
10205
# it will be wrapped by ` (' and `)$', so one must not match beginning or
10206
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10207
# as well as any symbol that contains `d'.
10208
exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10209
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10210
# platforms (ab)use it in PIC code, but their linkers get confused if
10211
# the symbol is explicitly referenced. Since portable code cannot
10212
# rely on this symbol name, it's probably fine to never include it in
10213
# preloaded symbol tables.
10214
# Exclude shared library initialization/finalization symbols.
10215
extract_expsyms_cmds=
10218
cygwin* | mingw* | pw32* | cegcc*)
10219
# FIXME: the MSVC++ port hasn't been tested in a loooong time
10220
# When not using gcc, we currently assume that we are using
10221
# Microsoft Visual C++.
10222
if test "$GCC" != yes; then
10227
# we just hope/assume this is gcc and not c89 (= MSVC++)
10233
linux* | k*bsd*-gnu | gnu*)
10234
link_all_deplibs=no
10240
# On some targets, GNU ld is compatible enough with the native linker
10241
# that we're better off using the native interface for both.
10242
lt_use_gnu_ld_interface=no
10243
if test "$with_gnu_ld" = yes; then
10246
# The AIX port of GNU ld has always aspired to compatibility
10247
# with the native linker. However, as the warning in the GNU ld
10248
# block says, versions before 2.19.5* couldn't really create working
10249
# shared libraries, regardless of the interface used.
10250
case `$LD -v 2>&1` in
10251
*\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10252
*\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10253
*\ \(GNU\ Binutils\)\ [3-9]*) ;;
10255
lt_use_gnu_ld_interface=yes
10260
lt_use_gnu_ld_interface=yes
10265
if test "$lt_use_gnu_ld_interface" = yes; then
10266
# If archive_cmds runs LD, not CC, wlarc should be empty
10269
# Set some defaults for GNU ld with shared library support. These
10270
# are reset later if shared libraries are not supported. Putting them
10271
# here allows them to be overridden if necessary.
10272
runpath_var=LD_RUN_PATH
10273
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10274
export_dynamic_flag_spec='${wl}--export-dynamic'
10275
# ancient GNU ld didn't support --whole-archive et. al.
10276
if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10277
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10279
whole_archive_flag_spec=
10281
supports_anon_versioning=no
10282
case `$LD -v 2>&1` in
10283
*GNU\ gold*) supports_anon_versioning=yes ;;
10284
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10285
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10286
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10287
*\ 2.11.*) ;; # other 2.11 versions
10288
*) supports_anon_versioning=yes ;;
10291
# See if GNU ld supports shared libraries.
10294
# On AIX/PPC, the GNU linker is very broken
10295
if test "$host_cpu" != ia64; then
10299
*** Warning: the GNU linker, at least up to release 2.19, is reported
10300
*** to be unable to reliably create shared libraries on AIX.
10301
*** Therefore, libtool is disabling shared libraries support. If you
10302
*** really care for shared libraries, you may want to install binutils
10303
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10304
*** You will then need to restart the configuration process.
10313
# see comment about AmigaOS4 .so support
10314
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10315
archive_expsym_cmds=''
10318
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)'
10319
hardcode_libdir_flag_spec='-L$libdir'
10320
hardcode_minus_L=yes
10326
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10327
allow_undefined_flag=unsupported
10328
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10329
# support --undefined. This deserves some investigation. FIXME
10330
archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10336
cygwin* | mingw* | pw32* | cegcc*)
10337
# _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10338
# as there is no search path for DLLs.
10339
hardcode_libdir_flag_spec='-L$libdir'
10340
export_dynamic_flag_spec='${wl}--export-all-symbols'
10341
allow_undefined_flag=unsupported
10342
always_export_symbols=no
10343
enable_shared_with_static_runtimes=yes
10344
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'
10345
exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10347
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10348
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10349
# If the export-symbols file already is a .def file (1st line
10350
# is EXPORTS), use it as is; otherwise, prepend...
10351
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10352
cp $export_symbols $output_objdir/$soname.def;
10354
echo EXPORTS > $output_objdir/$soname.def;
10355
cat $export_symbols >> $output_objdir/$soname.def;
10357
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10364
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10365
link_all_deplibs=yes
10370
hardcode_shlibpath_var=no
10371
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10372
export_dynamic_flag_spec='${wl}-E'
10373
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10374
# Instead, shared libraries are loaded at an image base (0x10000000 by
10375
# default) and relocated if they conflict, which is a slow very memory
10376
# consuming and fragmenting process. To avoid this, we pick a random,
10377
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10378
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
10379
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10380
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'
10383
gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10385
if test "$host_os" = linux-dietlibc; then
10386
case $cc_basename in
10387
diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
10390
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10391
&& test "$tmp_diet" = no
10393
tmp_addflag=' $pic_flag'
10394
tmp_sharedflag='-shared'
10395
case $cc_basename,$host_cpu in
10396
pgcc*) # Portland Group C compiler
10397
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'
10398
tmp_addflag=' $pic_flag'
10400
pgf77* | pgf90* | pgf95* | pgfortran*)
10401
# Portland Group f77 and f90 compilers
10402
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'
10403
tmp_addflag=' $pic_flag -Mnomain' ;;
10404
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
10405
tmp_addflag=' -i_dynamic' ;;
10406
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
10407
tmp_addflag=' -i_dynamic -nofor_main' ;;
10408
ifc* | ifort*) # Intel Fortran compiler
10409
tmp_addflag=' -nofor_main' ;;
10410
lf95*) # Lahey Fortran 8.1
10411
whole_archive_flag_spec=
10412
tmp_sharedflag='--shared' ;;
10413
xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10414
tmp_sharedflag='-qmkshrobj'
10416
nvcc*) # Cuda Compiler Driver 2.2
10417
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'
10418
compiler_needs_object=yes
10421
case `$CC -V 2>&1 | sed 5q` in
10422
*Sun\ C*) # Sun C 5.9
10423
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'
10424
compiler_needs_object=yes
10425
tmp_sharedflag='-G' ;;
10426
*Sun\ F*) # Sun Fortran 8.3
10427
tmp_sharedflag='-G' ;;
10429
archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10431
if test "x$supports_anon_versioning" = xyes; then
10432
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10433
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10434
echo "local: *; };" >> $output_objdir/$libname.ver~
10435
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10438
case $cc_basename in
10439
xlf* | bgf* | bgxlf* | mpixlf*)
10440
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10441
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10442
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10443
archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10444
if test "x$supports_anon_versioning" = xyes; then
10445
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10446
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10447
echo "local: *; };" >> $output_objdir/$libname.ver~
10448
$LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10457
netbsd* | netbsdelf*-gnu)
10458
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10459
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10462
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10463
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10468
if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10472
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
10473
*** create shared libraries on Solaris systems. Therefore, libtool
10474
*** is disabling shared libraries support. We urge you to upgrade GNU
10475
*** binutils to release 2.9.1 or newer. Another option is to modify
10476
*** your PATH or compiler configuration so that the native linker is
10477
*** used, and then restart.
10480
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10481
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10482
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10488
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10489
case `$LD -v 2>&1` in
10490
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10494
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10495
*** reliably create shared libraries on SCO systems. Therefore, libtool
10496
*** is disabling shared libraries support. We urge you to upgrade GNU
10497
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10498
*** your PATH or compiler configuration so that the native linker is
10499
*** used, and then restart.
10504
# For security reasons, it is highly recommended that you always
10505
# use absolute paths for naming shared libraries, and exclude the
10506
# DT_RUNPATH tag from executables and libraries. But doing so
10507
# requires that you compile everything twice, which is a pain.
10508
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10509
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10510
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10511
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10520
archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10522
hardcode_direct=yes
10523
hardcode_shlibpath_var=no
10527
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10528
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10529
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10536
if test "$ld_shlibs" = no; then
10538
hardcode_libdir_flag_spec=
10539
export_dynamic_flag_spec=
10540
whole_archive_flag_spec=
10543
# PORTME fill in a description of your system's linker (not GNU ld)
10546
allow_undefined_flag=unsupported
10547
always_export_symbols=yes
10548
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'
10549
# Note: this linker hardcodes the directories in LIBPATH if there
10550
# are no directories specified by -L.
10551
hardcode_minus_L=yes
10552
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10553
# Neither direct hardcoding nor static linking is supported with a
10555
hardcode_direct=unsupported
10560
if test "$host_cpu" = ia64; then
10561
# On IA64, the linker does run time linking by default, so we don't
10562
# have to do anything special.
10563
aix_use_runtimelinking=no
10564
exp_sym_flag='-Bexport'
10567
# If we're using GNU nm, then we don't want the "-C" option.
10568
# -C means demangle to AIX nm, but means don't demangle with GNU nm
10569
# Also, AIX nm treats weak defined symbols like other global
10570
# defined symbols, whereas GNU nm marks them as "W".
10571
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10572
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'
10574
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'
10576
aix_use_runtimelinking=no
10578
# Test if we are trying to use run time linking or normal
10579
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
10580
# need to do runtime linking.
10581
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10582
for ld_flag in $LDFLAGS; do
10583
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10584
aix_use_runtimelinking=yes
10591
exp_sym_flag='-bexport'
10592
no_entry_flag='-bnoentry'
10595
# When large executables or shared objects are built, AIX ld can
10596
# have problems creating the table of contents. If linking a library
10597
# or program results in "error TOC overflow" add -mminimal-toc to
10598
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10599
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10602
hardcode_direct=yes
10603
hardcode_direct_absolute=yes
10604
hardcode_libdir_separator=':'
10605
link_all_deplibs=yes
10606
file_list_spec='${wl}-f,'
10608
if test "$GCC" = yes; then
10609
case $host_os in aix4.[012]|aix4.[012].*)
10610
# We only want to do this on AIX 4.2 and lower, the check
10611
# below for broken collect2 doesn't work under 4.3+
10612
collect2name=`${CC} -print-prog-name=collect2`
10613
if test -f "$collect2name" &&
10614
strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10616
# We have reworked collect2
10619
# We have old collect2
10620
hardcode_direct=unsupported
10621
# It fails to find uninstalled libraries when the uninstalled
10622
# path is not listed in the libpath. Setting hardcode_minus_L
10623
# to unsupported forces relinking
10624
hardcode_minus_L=yes
10625
hardcode_libdir_flag_spec='-L$libdir'
10626
hardcode_libdir_separator=
10630
shared_flag='-shared'
10631
if test "$aix_use_runtimelinking" = yes; then
10632
shared_flag="$shared_flag "'${wl}-G'
10634
link_all_deplibs=no
10637
if test "$host_cpu" = ia64; then
10638
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10639
# chokes on -Wl,-G. The following line is correct:
10642
if test "$aix_use_runtimelinking" = yes; then
10643
shared_flag='${wl}-G'
10645
shared_flag='${wl}-bM:SRE'
10650
export_dynamic_flag_spec='${wl}-bexpall'
10651
# It seems that -bexpall does not export symbols beginning with
10652
# underscore (_), so it is better to generate a list of symbols to export.
10653
always_export_symbols=yes
10654
if test "$aix_use_runtimelinking" = yes; then
10655
# Warning - without using the other runtime loading flags (-brtl),
10656
# -berok will link without error, but may produce a broken library.
10657
allow_undefined_flag='-berok'
10658
# Determine the default libpath from the value encoded in an
10659
# empty executable.
10660
if test "${lt_cv_aix_libpath+set}" = set; then
10661
aix_libpath=$lt_cv_aix_libpath
10663
if ${lt_cv_aix_libpath_+:} false; then :
10664
$as_echo_n "(cached) " >&6
10666
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10667
/* end confdefs.h. */
10677
if ac_fn_c_try_link "$LINENO"; then :
10679
lt_aix_libpath_sed='
10680
/Import File Strings/,/^$/ {
10682
s/^0 *\([^ ]*\) *$/\1/
10686
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10687
# Check for a 64-bit object if we didn't find anything.
10688
if test -z "$lt_cv_aix_libpath_"; then
10689
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10692
rm -f core conftest.err conftest.$ac_objext \
10693
conftest$ac_exeext conftest.$ac_ext
10694
if test -z "$lt_cv_aix_libpath_"; then
10695
lt_cv_aix_libpath_="/usr/lib:/lib"
10700
aix_libpath=$lt_cv_aix_libpath_
10703
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10704
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"
10706
if test "$host_cpu" = ia64; then
10707
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10708
allow_undefined_flag="-z nodefs"
10709
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"
10711
# Determine the default libpath from the value encoded in an
10712
# empty executable.
10713
if test "${lt_cv_aix_libpath+set}" = set; then
10714
aix_libpath=$lt_cv_aix_libpath
10716
if ${lt_cv_aix_libpath_+:} false; then :
10717
$as_echo_n "(cached) " >&6
10719
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10720
/* end confdefs.h. */
10730
if ac_fn_c_try_link "$LINENO"; then :
10732
lt_aix_libpath_sed='
10733
/Import File Strings/,/^$/ {
10735
s/^0 *\([^ ]*\) *$/\1/
10739
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10740
# Check for a 64-bit object if we didn't find anything.
10741
if test -z "$lt_cv_aix_libpath_"; then
10742
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10745
rm -f core conftest.err conftest.$ac_objext \
10746
conftest$ac_exeext conftest.$ac_ext
10747
if test -z "$lt_cv_aix_libpath_"; then
10748
lt_cv_aix_libpath_="/usr/lib:/lib"
10753
aix_libpath=$lt_cv_aix_libpath_
10756
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10757
# Warning - without using the other run time loading flags,
10758
# -berok will link without error, but may produce a broken library.
10759
no_undefined_flag=' ${wl}-bernotok'
10760
allow_undefined_flag=' ${wl}-berok'
10761
if test "$with_gnu_ld" = yes; then
10762
# We only use this code for GNU lds that support --whole-archive.
10763
whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10765
# Exported symbols can be pulled into shared objects from archives
10766
whole_archive_flag_spec='$convenience'
10768
archive_cmds_need_lc=yes
10769
# This is similar to how AIX traditionally builds its shared libraries.
10770
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'
10778
# see comment about AmigaOS4 .so support
10779
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10780
archive_expsym_cmds=''
10783
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)'
10784
hardcode_libdir_flag_spec='-L$libdir'
10785
hardcode_minus_L=yes
10791
export_dynamic_flag_spec=-rdynamic
10794
cygwin* | mingw* | pw32* | cegcc*)
10795
# When not using gcc, we currently assume that we are using
10796
# Microsoft Visual C++.
10797
# hardcode_libdir_flag_spec is actually meaningless, as there is
10798
# no search path for DLLs.
10799
case $cc_basename in
10802
hardcode_libdir_flag_spec=' '
10803
allow_undefined_flag=unsupported
10804
always_export_symbols=yes
10806
# Tell ltmain to make .lib files, not .a files.
10808
# Tell ltmain to make .dll files, not .so files.
10810
# FIXME: Setting linknames here is a bad hack.
10811
archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10812
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10813
sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
10815
sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
10817
$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10819
# The linker will not automatically build a static lib if we build a DLL.
10820
# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10821
enable_shared_with_static_runtimes=yes
10822
exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10823
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10825
old_postinstall_cmds='chmod 644 $oldlib'
10826
postlink_cmds='lt_outputfile="@OUTPUT@"~
10827
lt_tool_outputfile="@TOOL_OUTPUT@"~
10828
case $lt_outputfile in
10831
lt_outputfile="$lt_outputfile.exe"
10832
lt_tool_outputfile="$lt_tool_outputfile.exe"
10835
if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10836
$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10837
$RM "$lt_outputfile.manifest";
10841
# Assume MSVC wrapper
10842
hardcode_libdir_flag_spec=' '
10843
allow_undefined_flag=unsupported
10844
# Tell ltmain to make .lib files, not .a files.
10846
# Tell ltmain to make .dll files, not .so files.
10848
# FIXME: Setting linknames here is a bad hack.
10849
archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10850
# The linker will automatically build a .lib file if we build a DLL.
10851
old_archive_from_new_cmds='true'
10852
# FIXME: Should let the user specify the lib program.
10853
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10854
enable_shared_with_static_runtimes=yes
10859
darwin* | rhapsody*)
10862
archive_cmds_need_lc=no
10864
hardcode_automatic=yes
10865
hardcode_shlibpath_var=unsupported
10866
if test "$lt_cv_ld_force_load" = "yes"; then
10867
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\"`'
10870
whole_archive_flag_spec=''
10872
link_all_deplibs=yes
10873
allow_undefined_flag="$_lt_dar_allow_undefined"
10874
case $cc_basename in
10875
ifort*) _lt_dar_can_shared=yes ;;
10876
*) _lt_dar_can_shared=$GCC ;;
10878
if test "$_lt_dar_can_shared" = "yes"; then
10879
output_verbose_link_cmd=func_echo_all
10880
archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10881
module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10882
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}"
10883
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}"
10892
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10893
hardcode_libdir_flag_spec='-L$libdir'
10894
hardcode_shlibpath_var=no
10897
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10898
# support. Future versions do this automatically, but an explicit c++rt0.o
10899
# does not break anything, and helps significantly (at the cost of a little
10902
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10903
hardcode_libdir_flag_spec='-R$libdir'
10904
hardcode_direct=yes
10905
hardcode_shlibpath_var=no
10908
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
10910
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10911
hardcode_direct=yes
10912
hardcode_minus_L=yes
10913
hardcode_shlibpath_var=no
10916
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10917
freebsd* | dragonfly*)
10918
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10919
hardcode_libdir_flag_spec='-R$libdir'
10920
hardcode_direct=yes
10921
hardcode_shlibpath_var=no
10925
if test "$GCC" = yes; then
10926
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'
10928
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'
10930
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10931
hardcode_libdir_separator=:
10932
hardcode_direct=yes
10934
# hardcode_minus_L: Not really in the search PATH,
10935
# but as the default location of the library.
10936
hardcode_minus_L=yes
10937
export_dynamic_flag_spec='${wl}-E'
10941
if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10942
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10944
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10946
if test "$with_gnu_ld" = no; then
10947
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10948
hardcode_libdir_separator=:
10949
hardcode_direct=yes
10950
hardcode_direct_absolute=yes
10951
export_dynamic_flag_spec='${wl}-E'
10952
# hardcode_minus_L: Not really in the search PATH,
10953
# but as the default location of the library.
10954
hardcode_minus_L=yes
10959
if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10962
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10965
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10968
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10974
archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10977
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10981
# Older versions of the 11.00 compiler do not understand -b yet
10982
# (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10983
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10984
$as_echo_n "checking if $CC understands -b... " >&6; }
10985
if ${lt_cv_prog_compiler__b+:} false; then :
10986
$as_echo_n "(cached) " >&6
10988
lt_cv_prog_compiler__b=no
10989
save_LDFLAGS="$LDFLAGS"
10990
LDFLAGS="$LDFLAGS -b"
10991
echo "$lt_simple_link_test_code" > conftest.$ac_ext
10992
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10993
# The linker can only warn and ignore the option if not recognized
10994
# So say no if there are warnings
10995
if test -s conftest.err; then
10996
# Append any errors to the config.log.
10997
cat conftest.err 1>&5
10998
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10999
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11000
if diff conftest.exp conftest.er2 >/dev/null; then
11001
lt_cv_prog_compiler__b=yes
11004
lt_cv_prog_compiler__b=yes
11008
LDFLAGS="$save_LDFLAGS"
11011
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11012
$as_echo "$lt_cv_prog_compiler__b" >&6; }
11014
if test x"$lt_cv_prog_compiler__b" = xyes; then
11015
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11017
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11023
if test "$with_gnu_ld" = no; then
11024
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11025
hardcode_libdir_separator=:
11030
hardcode_shlibpath_var=no
11033
hardcode_direct=yes
11034
hardcode_direct_absolute=yes
11035
export_dynamic_flag_spec='${wl}-E'
11037
# hardcode_minus_L: Not really in the search PATH,
11038
# but as the default location of the library.
11039
hardcode_minus_L=yes
11045
irix5* | irix6* | nonstopux*)
11046
if test "$GCC" = yes; then
11047
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'
11048
# Try to use the -exported_symbol ld option, if it does not
11049
# work, assume that -exports_file does not work either and
11050
# implicitly export all symbols.
11051
# This should be the same for all languages, so no per-tag cache variable.
11052
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11053
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11054
if ${lt_cv_irix_exported_symbol+:} false; then :
11055
$as_echo_n "(cached) " >&6
11057
save_LDFLAGS="$LDFLAGS"
11058
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11059
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11060
/* end confdefs.h. */
11061
int foo (void) { return 0; }
11063
if ac_fn_c_try_link "$LINENO"; then :
11064
lt_cv_irix_exported_symbol=yes
11066
lt_cv_irix_exported_symbol=no
11068
rm -f core conftest.err conftest.$ac_objext \
11069
conftest$ac_exeext conftest.$ac_ext
11070
LDFLAGS="$save_LDFLAGS"
11072
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11073
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
11074
if test "$lt_cv_irix_exported_symbol" = yes; then
11075
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'
11078
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'
11079
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'
11081
archive_cmds_need_lc='no'
11082
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11083
hardcode_libdir_separator=:
11085
link_all_deplibs=yes
11088
netbsd* | netbsdelf*-gnu)
11089
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11090
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11092
archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11094
hardcode_libdir_flag_spec='-R$libdir'
11095
hardcode_direct=yes
11096
hardcode_shlibpath_var=no
11100
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11101
hardcode_direct=yes
11102
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11103
hardcode_libdir_separator=:
11104
hardcode_shlibpath_var=no
11111
if test -f /usr/libexec/ld.so; then
11112
hardcode_direct=yes
11113
hardcode_shlibpath_var=no
11114
hardcode_direct_absolute=yes
11115
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11116
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11117
archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11118
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11119
export_dynamic_flag_spec='${wl}-E'
11122
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
11123
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11124
hardcode_libdir_flag_spec='-R$libdir'
11127
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11128
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11138
hardcode_libdir_flag_spec='-L$libdir'
11139
hardcode_minus_L=yes
11140
allow_undefined_flag=unsupported
11141
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'
11142
old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11146
if test "$GCC" = yes; then
11147
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11148
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'
11150
allow_undefined_flag=' -expect_unresolved \*'
11151
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'
11153
archive_cmds_need_lc='no'
11154
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11155
hardcode_libdir_separator=:
11158
osf4* | osf5*) # as osf3* with the addition of -msym flag
11159
if test "$GCC" = yes; then
11160
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11161
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'
11162
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11164
allow_undefined_flag=' -expect_unresolved \*'
11165
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'
11166
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~
11167
$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'
11169
# Both c and cxx compiler support -rpath directly
11170
hardcode_libdir_flag_spec='-rpath $libdir'
11172
archive_cmds_need_lc='no'
11173
hardcode_libdir_separator=:
11177
no_undefined_flag=' -z defs'
11178
if test "$GCC" = yes; then
11180
archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11181
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11182
$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'
11184
case `$CC -V 2>&1` in
11187
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11188
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11189
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11193
archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11194
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11195
$CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11199
hardcode_libdir_flag_spec='-R$libdir'
11200
hardcode_shlibpath_var=no
11202
solaris2.[0-5] | solaris2.[0-5].*) ;;
11204
# The compiler driver will combine and reorder linker options,
11205
# but understands `-z linker_flag'. GCC discards it without `$wl',
11206
# but is careful enough not to reorder.
11207
# Supported since Solaris 2.6 (maybe 2.5.1?)
11208
if test "$GCC" = yes; then
11209
whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11211
whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11215
link_all_deplibs=yes
11219
if test "x$host_vendor" = xsequent; then
11220
# Use $CC to link under sequent, because it throws in some extra .o
11221
# files that make .init and .fini sections work.
11222
archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11224
archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11226
hardcode_libdir_flag_spec='-L$libdir'
11227
hardcode_direct=yes
11228
hardcode_minus_L=yes
11229
hardcode_shlibpath_var=no
11233
case $host_vendor in
11235
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11236
hardcode_direct=yes # is this really true???
11239
## LD is ld it makes a PLAMLIB
11240
## CC just makes a GrossModule.
11241
archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11242
reload_cmds='$CC -r -o $output$reload_objs'
11246
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11247
hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11250
runpath_var='LD_RUN_PATH'
11251
hardcode_shlibpath_var=no
11255
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11256
hardcode_shlibpath_var=no
11257
export_dynamic_flag_spec='-Bexport'
11261
if test -d /usr/nec; then
11262
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11263
hardcode_shlibpath_var=no
11264
runpath_var=LD_RUN_PATH
11265
hardcode_runpath_var=yes
11270
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11271
no_undefined_flag='${wl}-z,text'
11272
archive_cmds_need_lc=no
11273
hardcode_shlibpath_var=no
11274
runpath_var='LD_RUN_PATH'
11276
if test "$GCC" = yes; then
11277
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11278
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11280
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11281
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11285
sysv5* | sco3.2v5* | sco5v6*)
11286
# Note: We can NOT use -z defs as we might desire, because we do not
11287
# link with -lc, and that would cause any symbols used from libc to
11288
# always be unresolved, which means just about no library would
11289
# ever link correctly. If we're not using GNU ld we use -z text
11290
# though, which does catch some bad symbols but isn't as heavy-handed
11292
no_undefined_flag='${wl}-z,text'
11293
allow_undefined_flag='${wl}-z,nodefs'
11294
archive_cmds_need_lc=no
11295
hardcode_shlibpath_var=no
11296
hardcode_libdir_flag_spec='${wl}-R,$libdir'
11297
hardcode_libdir_separator=':'
11298
link_all_deplibs=yes
11299
export_dynamic_flag_spec='${wl}-Bexport'
11300
runpath_var='LD_RUN_PATH'
11302
if test "$GCC" = yes; then
11303
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11304
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11306
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11307
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11312
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11313
hardcode_libdir_flag_spec='-L$libdir'
11314
hardcode_shlibpath_var=no
11322
if test x$host_vendor = xsni; then
11324
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11325
export_dynamic_flag_spec='${wl}-Blargedynsym'
11331
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11332
$as_echo "$ld_shlibs" >&6; }
11333
test "$ld_shlibs" = no && can_build_shared=no
11335
with_gnu_ld=$with_gnu_ld
11352
# Do we need to explicitly link libc?
11354
case "x$archive_cmds_need_lc" in
11356
# Assume -lc should be added
11357
archive_cmds_need_lc=yes
11359
if test "$enable_shared" = yes && test "$GCC" = yes; then
11360
case $archive_cmds in
11362
# FIXME: we may have to deal with multi-command sequences.
11365
# Test whether the compiler implicitly links with -lc since on some
11366
# systems, -lgcc has to come before -lc. If gcc already passes -lc
11367
# to ld, don't add -lc before -lgcc.
11368
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11369
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11370
if ${lt_cv_archive_cmds_need_lc+:} false; then :
11371
$as_echo_n "(cached) " >&6
11374
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11376
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11377
(eval $ac_compile) 2>&5
11379
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11380
test $ac_status = 0; } 2>conftest.err; then
11383
libobjs=conftest.$ac_objext
11385
wl=$lt_prog_compiler_wl
11386
pic_flag=$lt_prog_compiler_pic
11392
lt_save_allow_undefined_flag=$allow_undefined_flag
11393
allow_undefined_flag=
11394
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11395
(eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11397
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11398
test $ac_status = 0; }
11400
lt_cv_archive_cmds_need_lc=no
11402
lt_cv_archive_cmds_need_lc=yes
11404
allow_undefined_flag=$lt_save_allow_undefined_flag
11406
cat conftest.err 1>&5
11411
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11412
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11413
archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11571
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11572
$as_echo_n "checking dynamic linker characteristics... " >&6; }
11574
if test "$GCC" = yes; then
11576
darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11577
*) lt_awk_arg="/^libraries:/" ;;
11580
mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11581
*) lt_sed_strip_eq="s,=/,/,g" ;;
11583
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11584
case $lt_search_path_spec in
11586
# if the path contains ";" then we assume it to be the separator
11587
# otherwise default to the standard path separator (i.e. ":") - it is
11588
# assumed that no part of a normal pathname contains ";" but that should
11589
# okay in the real world where ";" in dirpaths is itself problematic.
11590
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11593
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11596
# Ok, now we have the path, separated by spaces, we can step through it
11597
# and add multilib dir if necessary.
11598
lt_tmp_lt_search_path_spec=
11599
lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11600
for lt_sys_path in $lt_search_path_spec; do
11601
if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11602
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11604
test -d "$lt_sys_path" && \
11605
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11608
lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11609
BEGIN {RS=" "; FS="/|\n";} {
11612
for (lt_i = NF; lt_i > 0; lt_i--) {
11613
if ($lt_i != "" && $lt_i != ".") {
11614
if ($lt_i == "..") {
11617
if (lt_count == 0) {
11618
lt_foo="/" $lt_i lt_foo;
11625
if (lt_foo != "") { lt_freq[lt_foo]++; }
11626
if (lt_freq[lt_foo] == 1) { print lt_foo; }
11628
# AWK program above erroneously prepends '/' to C:/dos/paths
11631
mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11632
$SED 's,/\([A-Za-z]:\),\1,g'` ;;
11634
sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11636
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11638
library_names_spec=
11639
libname_spec='lib$name'
11643
postuninstall_cmds=
11647
shlibpath_overrides_runpath=unknown
11649
dynamic_linker="$host_os ld.so"
11650
sys_lib_dlsearch_path_spec="/lib /usr/lib"
11651
need_lib_prefix=unknown
11652
hardcode_into_libs=no
11654
# when you set need_version to no, make sure it does not cause -set_version
11655
# flags to be left without arguments
11656
need_version=unknown
11660
version_type=linux # correct to gnu/linux during the next big refactor
11661
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11662
shlibpath_var=LIBPATH
11664
# AIX 3 has no versioning support, so we append a major version to the name.
11665
soname_spec='${libname}${release}${shared_ext}$major'
11669
version_type=linux # correct to gnu/linux during the next big refactor
11672
hardcode_into_libs=yes
11673
if test "$host_cpu" = ia64; then
11674
# AIX 5 supports IA64
11675
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11676
shlibpath_var=LD_LIBRARY_PATH
11678
# With GCC up to 2.95.x, collect2 would create an import file
11679
# for dependence libraries. The import file would start with
11680
# the line `#! .'. This would cause the generated library to
11681
# depend on `.', always an invalid library. This was fixed in
11682
# development snapshots of GCC prior to 3.0.
11684
aix4 | aix4.[01] | aix4.[01].*)
11685
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11687
echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11690
can_build_shared=no
11694
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11695
# soname into executable. Probably we can add versioning support to
11696
# collect2, so additional links can be useful in future.
11697
if test "$aix_use_runtimelinking" = yes; then
11698
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
11699
# instead of lib<name>.a to let people know that these are not
11700
# typical AIX shared libraries.
11701
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11703
# We preserve .a as extension for shared libraries through AIX4.2
11704
# and later when we are not doing run time linking.
11705
library_names_spec='${libname}${release}.a $libname.a'
11706
soname_spec='${libname}${release}${shared_ext}$major'
11708
shlibpath_var=LIBPATH
11715
# Since July 2007 AmigaOS4 officially supports .so libraries.
11716
# When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11717
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11720
library_names_spec='$libname.ixlibrary $libname.a'
11721
# Create ${libname}_ixlibrary.a entries in /sys/libs.
11722
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'
11728
library_names_spec='${libname}${shared_ext}'
11729
dynamic_linker="$host_os ld.so"
11730
shlibpath_var=LIBRARY_PATH
11734
version_type=linux # correct to gnu/linux during the next big refactor
11736
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11737
soname_spec='${libname}${release}${shared_ext}$major'
11738
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11739
shlibpath_var=LD_LIBRARY_PATH
11740
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11741
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11742
# the default ld.so.conf also contains /usr/contrib/lib and
11743
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11744
# libtool to hard-code these into programs
11747
cygwin* | mingw* | pw32* | cegcc*)
11748
version_type=windows
11753
case $GCC,$cc_basename in
11756
library_names_spec='$libname.dll.a'
11757
# DLL is installed to $(libdir)/../bin by postinstall_cmds
11758
postinstall_cmds='base_file=`basename \${file}`~
11759
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11760
dldir=$destdir/`dirname \$dlpath`~
11761
test -d \$dldir || mkdir -p \$dldir~
11762
$install_prog $dir/$dlname \$dldir/$dlname~
11763
chmod a+x \$dldir/$dlname~
11764
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11765
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11767
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11768
dlpath=$dir/\$dldll~
11770
shlibpath_overrides_runpath=yes
11774
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
11775
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11777
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11780
# MinGW DLLs use traditional 'lib' prefix
11781
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11784
# pw32 DLLs use 'pw' prefix rather than 'lib'
11785
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11788
dynamic_linker='Win32 ld.exe'
11793
libname_spec='$name'
11794
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11795
library_names_spec='${libname}.dll.lib'
11799
sys_lib_search_path_spec=
11802
for lt_path in $LIB
11805
# Let DOS variable expansion print the short 8.3 style file name.
11806
lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11807
sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11810
# Convert to MSYS style.
11811
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11814
# Convert to unix form, then to dos form, then back to unix form
11815
# but this time dos style (no spaces!) so that the unix form looks
11816
# like /cygdrive/c/PROGRA~1:/cygdr...
11817
sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11818
sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11819
sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11822
sys_lib_search_path_spec="$LIB"
11823
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11824
# It is most probably a Windows format PATH.
11825
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11827
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11829
# FIXME: find the short name or the path components, as spaces are
11830
# common. (e.g. "Program Files" -> "PROGRA~1")
11834
# DLL is installed to $(libdir)/../bin by postinstall_cmds
11835
postinstall_cmds='base_file=`basename \${file}`~
11836
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11837
dldir=$destdir/`dirname \$dlpath`~
11838
test -d \$dldir || mkdir -p \$dldir~
11839
$install_prog $dir/$dlname \$dldir/$dlname'
11840
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11841
dlpath=$dir/\$dldll~
11843
shlibpath_overrides_runpath=yes
11844
dynamic_linker='Win32 link.exe'
11848
# Assume MSVC wrapper
11849
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11850
dynamic_linker='Win32 ld.exe'
11853
# FIXME: first we should search . and the directory the executable is in
11857
darwin* | rhapsody*)
11858
dynamic_linker="$host_os dyld"
11859
version_type=darwin
11862
library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11863
soname_spec='${libname}${release}${major}$shared_ext'
11864
shlibpath_overrides_runpath=yes
11865
shlibpath_var=DYLD_LIBRARY_PATH
11866
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11868
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11869
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11873
version_type=linux # correct to gnu/linux during the next big refactor
11876
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11877
soname_spec='${libname}${release}${shared_ext}$major'
11878
shlibpath_var=LD_LIBRARY_PATH
11881
freebsd* | dragonfly*)
11882
# DragonFly does not have aout. When/if they implement a new
11883
# versioning mechanism, adjust this.
11884
if test -x /usr/bin/objformat; then
11885
objformat=`/usr/bin/objformat`
11888
freebsd[23].*) objformat=aout ;;
11889
*) objformat=elf ;;
11892
version_type=freebsd-$objformat
11893
case $version_type in
11895
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11900
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11904
shlibpath_var=LD_LIBRARY_PATH
11907
shlibpath_overrides_runpath=yes
11909
freebsd3.[01]* | freebsdelf3.[01]*)
11910
shlibpath_overrides_runpath=yes
11911
hardcode_into_libs=yes
11913
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11914
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11915
shlibpath_overrides_runpath=no
11916
hardcode_into_libs=yes
11918
*) # from 4.6 on, and DragonFly
11919
shlibpath_overrides_runpath=yes
11920
hardcode_into_libs=yes
11926
version_type=linux # correct to gnu/linux during the next big refactor
11929
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11930
soname_spec='${libname}${release}${shared_ext}$major'
11931
shlibpath_var=LD_LIBRARY_PATH
11932
shlibpath_overrides_runpath=no
11933
hardcode_into_libs=yes
11937
version_type=linux # correct to gnu/linux during the next big refactor
11940
dynamic_linker="$host_os runtime_loader"
11941
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11942
soname_spec='${libname}${release}${shared_ext}$major'
11943
shlibpath_var=LIBRARY_PATH
11944
shlibpath_overrides_runpath=yes
11945
sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11946
hardcode_into_libs=yes
11949
hpux9* | hpux10* | hpux11*)
11950
# Give a soname corresponding to the major version so that dld.sl refuses to
11951
# link against other versions.
11958
hardcode_into_libs=yes
11959
dynamic_linker="$host_os dld.so"
11960
shlibpath_var=LD_LIBRARY_PATH
11961
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11962
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11963
soname_spec='${libname}${release}${shared_ext}$major'
11964
if test "X$HPUX_IA64_MODE" = X32; then
11965
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11967
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11969
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11973
hardcode_into_libs=yes
11974
dynamic_linker="$host_os dld.sl"
11975
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11976
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11977
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11978
soname_spec='${libname}${release}${shared_ext}$major'
11979
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11980
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11984
dynamic_linker="$host_os dld.sl"
11985
shlibpath_var=SHLIB_PATH
11986
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11987
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11988
soname_spec='${libname}${release}${shared_ext}$major'
11991
# HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11992
postinstall_cmds='chmod 555 $lib'
11993
# or fails outright, so override atomically:
11994
install_override_mode=555
11998
version_type=linux # correct to gnu/linux during the next big refactor
12001
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12002
soname_spec='${libname}${release}${shared_ext}$major'
12003
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12004
shlibpath_var=LD_LIBRARY_PATH
12005
shlibpath_overrides_runpath=no
12006
hardcode_into_libs=yes
12009
irix5* | irix6* | nonstopux*)
12011
nonstopux*) version_type=nonstopux ;;
12013
if test "$lt_cv_prog_gnu_ld" = yes; then
12014
version_type=linux # correct to gnu/linux during the next big refactor
12021
soname_spec='${libname}${release}${shared_ext}$major'
12022
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12024
irix5* | nonstopux*)
12025
libsuff= shlibsuff=
12028
case $LD in # libtool.m4 will add one of these switches to LD
12029
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12030
libsuff= shlibsuff= libmagic=32-bit;;
12031
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12032
libsuff=32 shlibsuff=N32 libmagic=N32;;
12033
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12034
libsuff=64 shlibsuff=64 libmagic=64-bit;;
12035
*) libsuff= shlibsuff= libmagic=never-match;;
12039
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12040
shlibpath_overrides_runpath=no
12041
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12042
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
12043
hardcode_into_libs=yes
12046
# No shared lib support for Linux oldld, aout, or coff.
12047
linux*oldld* | linux*aout* | linux*coff*)
12051
# This must be glibc/ELF.
12052
linux* | k*bsd*-gnu | kopensolaris*-gnu)
12053
version_type=linux # correct to gnu/linux during the next big refactor
12056
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12057
soname_spec='${libname}${release}${shared_ext}$major'
12058
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12059
shlibpath_var=LD_LIBRARY_PATH
12060
shlibpath_overrides_runpath=no
12062
# Some binutils ld are patched to set DT_RUNPATH
12063
if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
12064
$as_echo_n "(cached) " >&6
12066
lt_cv_shlibpath_overrides_runpath=no
12067
save_LDFLAGS=$LDFLAGS
12068
save_libdir=$libdir
12069
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12070
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12071
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12072
/* end confdefs.h. */
12082
if ac_fn_c_try_link "$LINENO"; then :
12083
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
12084
lt_cv_shlibpath_overrides_runpath=yes
12087
rm -f core conftest.err conftest.$ac_objext \
12088
conftest$ac_exeext conftest.$ac_ext
12089
LDFLAGS=$save_LDFLAGS
12090
libdir=$save_libdir
12094
shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
12096
# This implies no fast_install, which is unacceptable.
12097
# Some rework will be needed to allow for fast_install
12098
# before this can be enabled.
12099
hardcode_into_libs=yes
12101
# Append ld.so.conf contents to the search path
12102
if test -f /etc/ld.so.conf; then
12103
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' ' '`
12104
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
12107
# We used to test for /lib/ld.so.1 and disable shared libraries on
12108
# powerpc, because MkLinux only supported shared libraries with the
12109
# GNU dynamic linker. Since this was broken with cross compilers,
12110
# most powerpc-linux boxes support dynamic linking these days and
12111
# people can always --disable-shared, the test was removed, and we
12112
# assume the GNU/Linux dynamic linker is in use.
12113
dynamic_linker='GNU/Linux ld.so'
12120
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12121
soname_spec='${libname}${release}${shared_ext}$major'
12122
shlibpath_var=LD_LIBRARY_PATH
12123
shlibpath_overrides_runpath=no
12124
hardcode_into_libs=yes
12125
dynamic_linker='NetBSD ld.elf_so'
12132
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12133
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12134
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12135
dynamic_linker='NetBSD (a.out) ld.so'
12137
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12138
soname_spec='${libname}${release}${shared_ext}$major'
12139
dynamic_linker='NetBSD ld.elf_so'
12141
shlibpath_var=LD_LIBRARY_PATH
12142
shlibpath_overrides_runpath=yes
12143
hardcode_into_libs=yes
12147
version_type=linux # correct to gnu/linux during the next big refactor
12148
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12149
shlibpath_var=LD_LIBRARY_PATH
12150
shlibpath_overrides_runpath=yes
12157
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12158
soname_spec='${libname}${release}${shared_ext}$major'
12159
shlibpath_var=LD_LIBRARY_PATH
12160
shlibpath_overrides_runpath=no
12161
hardcode_into_libs=yes
12162
dynamic_linker='ldqnx.so'
12167
sys_lib_dlsearch_path_spec="/usr/lib"
12169
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12171
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
12172
*) need_version=no ;;
12174
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12175
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12176
shlibpath_var=LD_LIBRARY_PATH
12177
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12179
openbsd2.[89] | openbsd2.[89].*)
12180
shlibpath_overrides_runpath=no
12183
shlibpath_overrides_runpath=yes
12187
shlibpath_overrides_runpath=yes
12192
libname_spec='$name'
12195
library_names_spec='$libname${shared_ext} $libname.a'
12196
dynamic_linker='OS/2 ld.exe'
12197
shlibpath_var=LIBPATH
12200
osf3* | osf4* | osf5*)
12204
soname_spec='${libname}${release}${shared_ext}$major'
12205
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12206
shlibpath_var=LD_LIBRARY_PATH
12207
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12208
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
12216
version_type=linux # correct to gnu/linux during the next big refactor
12219
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12220
soname_spec='${libname}${release}${shared_ext}$major'
12221
shlibpath_var=LD_LIBRARY_PATH
12222
shlibpath_overrides_runpath=yes
12223
hardcode_into_libs=yes
12224
# ldd complains unless libraries are executable
12225
postinstall_cmds='chmod +x $lib'
12230
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12231
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12232
shlibpath_var=LD_LIBRARY_PATH
12233
shlibpath_overrides_runpath=yes
12234
if test "$with_gnu_ld" = yes; then
12241
version_type=linux # correct to gnu/linux during the next big refactor
12242
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12243
soname_spec='${libname}${release}${shared_ext}$major'
12244
shlibpath_var=LD_LIBRARY_PATH
12245
case $host_vendor in
12247
shlibpath_overrides_runpath=no
12249
runpath_var=LD_RUN_PATH
12257
shlibpath_overrides_runpath=no
12258
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12264
if test -d /usr/nec ;then
12265
version_type=linux # correct to gnu/linux during the next big refactor
12266
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12267
soname_spec='$libname${shared_ext}.$major'
12268
shlibpath_var=LD_LIBRARY_PATH
12272
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12273
version_type=freebsd-elf
12276
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12277
soname_spec='${libname}${release}${shared_ext}$major'
12278
shlibpath_var=LD_LIBRARY_PATH
12279
shlibpath_overrides_runpath=yes
12280
hardcode_into_libs=yes
12281
if test "$with_gnu_ld" = yes; then
12282
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12284
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12287
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12291
sys_lib_dlsearch_path_spec='/usr/lib'
12295
# TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12296
version_type=linux # correct to gnu/linux during the next big refactor
12299
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12300
shlibpath_var=LD_LIBRARY_PATH
12301
shlibpath_overrides_runpath=no
12302
hardcode_into_libs=yes
12306
version_type=linux # correct to gnu/linux during the next big refactor
12307
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12308
soname_spec='${libname}${release}${shared_ext}$major'
12309
shlibpath_var=LD_LIBRARY_PATH
12316
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12317
$as_echo "$dynamic_linker" >&6; }
12318
test "$dynamic_linker" = no && can_build_shared=no
12320
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12321
if test "$GCC" = yes; then
12322
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12325
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12326
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
12328
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12329
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
12423
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12424
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12426
if test -n "$hardcode_libdir_flag_spec" ||
12427
test -n "$runpath_var" ||
12428
test "X$hardcode_automatic" = "Xyes" ; then
12430
# We can hardcode non-existent directories.
12431
if test "$hardcode_direct" != no &&
12432
# If the only mechanism to avoid hardcoding is shlibpath_var, we
12433
# have to relink, otherwise we might link with an installed library
12434
# when we should be linking with a yet-to-be-installed one
12435
## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12436
test "$hardcode_minus_L" != no; then
12437
# Linking always hardcodes the temporary library directory.
12438
hardcode_action=relink
12440
# We can link without hardcoding, and we can hardcode nonexisting dirs.
12441
hardcode_action=immediate
12444
# We cannot hardcode anything, or else we can only hardcode existing
12446
hardcode_action=unsupported
12448
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12449
$as_echo "$hardcode_action" >&6; }
12451
if test "$hardcode_action" = relink ||
12452
test "$inherit_rpath" = yes; then
12453
# Fast installation is not supported
12454
enable_fast_install=no
12455
elif test "$shlibpath_overrides_runpath" = yes ||
12456
test "$enable_shared" = no; then
12457
# Fast installation is not necessary
12458
enable_fast_install=needless
12466
if test "x$enable_dlopen" != xyes; then
12467
enable_dlopen=unknown
12468
enable_dlopen_self=unknown
12469
enable_dlopen_self_static=unknown
12476
lt_cv_dlopen="load_add_on"
12478
lt_cv_dlopen_self=yes
12481
mingw* | pw32* | cegcc*)
12482
lt_cv_dlopen="LoadLibrary"
12487
lt_cv_dlopen="dlopen"
12492
# if libdl is installed we need to link against it
12493
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12494
$as_echo_n "checking for dlopen in -ldl... " >&6; }
12495
if ${ac_cv_lib_dl_dlopen+:} false; then :
12496
$as_echo_n "(cached) " >&6
12498
ac_check_lib_save_LIBS=$LIBS
12500
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12501
/* end confdefs.h. */
12503
/* Override any GCC internal prototype to avoid an error.
12504
Use char because int might match the return type of a GCC
12505
builtin and then its argument prototype would still apply. */
12518
if ac_fn_c_try_link "$LINENO"; then :
12519
ac_cv_lib_dl_dlopen=yes
12521
ac_cv_lib_dl_dlopen=no
12523
rm -f core conftest.err conftest.$ac_objext \
12524
conftest$ac_exeext conftest.$ac_ext
12525
LIBS=$ac_check_lib_save_LIBS
12527
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12528
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12529
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12530
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12533
lt_cv_dlopen="dyld"
12535
lt_cv_dlopen_self=yes
12542
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12543
if test "x$ac_cv_func_shl_load" = xyes; then :
12544
lt_cv_dlopen="shl_load"
12546
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12547
$as_echo_n "checking for shl_load in -ldld... " >&6; }
12548
if ${ac_cv_lib_dld_shl_load+:} false; then :
12549
$as_echo_n "(cached) " >&6
12551
ac_check_lib_save_LIBS=$LIBS
12553
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12554
/* end confdefs.h. */
12556
/* Override any GCC internal prototype to avoid an error.
12557
Use char because int might match the return type of a GCC
12558
builtin and then its argument prototype would still apply. */
12566
return shl_load ();
12571
if ac_fn_c_try_link "$LINENO"; then :
12572
ac_cv_lib_dld_shl_load=yes
12574
ac_cv_lib_dld_shl_load=no
12576
rm -f core conftest.err conftest.$ac_objext \
12577
conftest$ac_exeext conftest.$ac_ext
12578
LIBS=$ac_check_lib_save_LIBS
12580
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12581
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12582
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12583
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12585
ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12586
if test "x$ac_cv_func_dlopen" = xyes; then :
12587
lt_cv_dlopen="dlopen"
12589
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12590
$as_echo_n "checking for dlopen in -ldl... " >&6; }
12591
if ${ac_cv_lib_dl_dlopen+:} false; then :
12592
$as_echo_n "(cached) " >&6
12594
ac_check_lib_save_LIBS=$LIBS
12596
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12597
/* end confdefs.h. */
12599
/* Override any GCC internal prototype to avoid an error.
12600
Use char because int might match the return type of a GCC
12601
builtin and then its argument prototype would still apply. */
12614
if ac_fn_c_try_link "$LINENO"; then :
12615
ac_cv_lib_dl_dlopen=yes
12617
ac_cv_lib_dl_dlopen=no
12619
rm -f core conftest.err conftest.$ac_objext \
12620
conftest$ac_exeext conftest.$ac_ext
12621
LIBS=$ac_check_lib_save_LIBS
12623
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12624
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12625
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12626
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12628
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12629
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
12630
if ${ac_cv_lib_svld_dlopen+:} false; then :
12631
$as_echo_n "(cached) " >&6
12633
ac_check_lib_save_LIBS=$LIBS
12634
LIBS="-lsvld $LIBS"
12635
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12636
/* end confdefs.h. */
12638
/* Override any GCC internal prototype to avoid an error.
12639
Use char because int might match the return type of a GCC
12640
builtin and then its argument prototype would still apply. */
12653
if ac_fn_c_try_link "$LINENO"; then :
12654
ac_cv_lib_svld_dlopen=yes
12656
ac_cv_lib_svld_dlopen=no
12658
rm -f core conftest.err conftest.$ac_objext \
12659
conftest$ac_exeext conftest.$ac_ext
12660
LIBS=$ac_check_lib_save_LIBS
12662
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12663
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12664
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12665
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12667
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12668
$as_echo_n "checking for dld_link in -ldld... " >&6; }
12669
if ${ac_cv_lib_dld_dld_link+:} false; then :
12670
$as_echo_n "(cached) " >&6
12672
ac_check_lib_save_LIBS=$LIBS
12674
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12675
/* end confdefs.h. */
12677
/* Override any GCC internal prototype to avoid an error.
12678
Use char because int might match the return type of a GCC
12679
builtin and then its argument prototype would still apply. */
12687
return dld_link ();
12692
if ac_fn_c_try_link "$LINENO"; then :
12693
ac_cv_lib_dld_dld_link=yes
12695
ac_cv_lib_dld_dld_link=no
12697
rm -f core conftest.err conftest.$ac_objext \
12698
conftest$ac_exeext conftest.$ac_ext
12699
LIBS=$ac_check_lib_save_LIBS
12701
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12702
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12703
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12704
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12725
if test "x$lt_cv_dlopen" != xno; then
12731
case $lt_cv_dlopen in
12733
save_CPPFLAGS="$CPPFLAGS"
12734
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12736
save_LDFLAGS="$LDFLAGS"
12737
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12740
LIBS="$lt_cv_dlopen_libs $LIBS"
12742
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12743
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
12744
if ${lt_cv_dlopen_self+:} false; then :
12745
$as_echo_n "(cached) " >&6
12747
if test "$cross_compiling" = yes; then :
12748
lt_cv_dlopen_self=cross
12750
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12751
lt_status=$lt_dlunknown
12752
cat > conftest.$ac_ext <<_LT_EOF
12753
#line $LINENO "configure"
12754
#include "confdefs.h"
12763
# define LT_DLGLOBAL RTLD_GLOBAL
12766
# define LT_DLGLOBAL DL_GLOBAL
12768
# define LT_DLGLOBAL 0
12772
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12773
find out it does not work in some platform. */
12774
#ifndef LT_DLLAZY_OR_NOW
12776
# define LT_DLLAZY_OR_NOW RTLD_LAZY
12779
# define LT_DLLAZY_OR_NOW DL_LAZY
12782
# define LT_DLLAZY_OR_NOW RTLD_NOW
12785
# define LT_DLLAZY_OR_NOW DL_NOW
12787
# define LT_DLLAZY_OR_NOW 0
12794
/* When -fvisbility=hidden is used, assume the code has been annotated
12795
correspondingly for the symbols needed. */
12796
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12797
int fnord () __attribute__((visibility("default")));
12800
int fnord () { return 42; }
12803
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12804
int status = $lt_dlunknown;
12808
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12811
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12812
else puts (dlerror ());
12814
/* dlclose (self); */
12822
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12823
(eval $ac_link) 2>&5
12825
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12826
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12827
(./conftest; exit; ) >&5 2>/dev/null
12829
case x$lt_status in
12830
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12831
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12832
x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12835
# compilation failed
12836
lt_cv_dlopen_self=no
12843
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12844
$as_echo "$lt_cv_dlopen_self" >&6; }
12846
if test "x$lt_cv_dlopen_self" = xyes; then
12847
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12848
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12849
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12850
if ${lt_cv_dlopen_self_static+:} false; then :
12851
$as_echo_n "(cached) " >&6
12853
if test "$cross_compiling" = yes; then :
12854
lt_cv_dlopen_self_static=cross
12856
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12857
lt_status=$lt_dlunknown
12858
cat > conftest.$ac_ext <<_LT_EOF
12859
#line $LINENO "configure"
12860
#include "confdefs.h"
12869
# define LT_DLGLOBAL RTLD_GLOBAL
12872
# define LT_DLGLOBAL DL_GLOBAL
12874
# define LT_DLGLOBAL 0
12878
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12879
find out it does not work in some platform. */
12880
#ifndef LT_DLLAZY_OR_NOW
12882
# define LT_DLLAZY_OR_NOW RTLD_LAZY
12885
# define LT_DLLAZY_OR_NOW DL_LAZY
12888
# define LT_DLLAZY_OR_NOW RTLD_NOW
12891
# define LT_DLLAZY_OR_NOW DL_NOW
12893
# define LT_DLLAZY_OR_NOW 0
12900
/* When -fvisbility=hidden is used, assume the code has been annotated
12901
correspondingly for the symbols needed. */
12902
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12903
int fnord () __attribute__((visibility("default")));
12906
int fnord () { return 42; }
12909
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12910
int status = $lt_dlunknown;
12914
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12917
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12918
else puts (dlerror ());
12920
/* dlclose (self); */
12928
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12929
(eval $ac_link) 2>&5
12931
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12932
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12933
(./conftest; exit; ) >&5 2>/dev/null
12935
case x$lt_status in
12936
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12937
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12938
x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12941
# compilation failed
12942
lt_cv_dlopen_self_static=no
12949
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12950
$as_echo "$lt_cv_dlopen_self_static" >&6; }
12953
CPPFLAGS="$save_CPPFLAGS"
12954
LDFLAGS="$save_LDFLAGS"
12959
case $lt_cv_dlopen_self in
12960
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12961
*) enable_dlopen_self=unknown ;;
12964
case $lt_cv_dlopen_self_static in
12965
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12966
*) enable_dlopen_self_static=unknown ;;
12988
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12989
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
12990
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12991
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12992
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12993
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12994
$as_echo "yes" >&6; }
12996
# FIXME - insert some real tests, host_os isn't really good enough
12999
if test -n "$STRIP" ; then
13000
striplib="$STRIP -x"
13001
old_striplib="$STRIP -S"
13002
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13003
$as_echo "yes" >&6; }
13005
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13006
$as_echo "no" >&6; }
13010
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13011
$as_echo "no" >&6; }
13027
# Report which library types will actually be built
13028
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13029
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
13030
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13031
$as_echo "$can_build_shared" >&6; }
13033
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13034
$as_echo_n "checking whether to build shared libraries... " >&6; }
13035
test "$can_build_shared" = "no" && enable_shared=no
13037
# On AIX, shared libraries and static libraries use the same namespace, and
13038
# are all built from PIC.
13041
test "$enable_shared" = yes && enable_static=no
13042
if test -n "$RANLIB"; then
13043
archive_cmds="$archive_cmds~\$RANLIB \$lib"
13044
postinstall_cmds='$RANLIB $lib'
13049
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13050
test "$enable_shared" = yes && enable_static=no
13054
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13055
$as_echo "$enable_shared" >&6; }
13057
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13058
$as_echo_n "checking whether to build static libraries... " >&6; }
13059
# Make sure either enable_shared or enable_static is yes.
13060
test "$enable_shared" = yes || enable_static=yes
13061
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13062
$as_echo "$enable_static" >&6; }
13069
ac_cpp='$CPP $CPPFLAGS'
13070
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13071
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13072
ac_compiler_gnu=$ac_cv_c_compiler_gnu
13090
ac_config_commands="$ac_config_commands libtool"
13095
# Only expand once:
13102
# Check whether --enable-silent-rules was given.
13103
if test "${enable_silent_rules+set}" = set; then :
13104
enableval=$enable_silent_rules;
13107
case $enable_silent_rules in
13108
yes) AM_DEFAULT_VERBOSITY=0;;
13109
no) AM_DEFAULT_VERBOSITY=1;;
13110
*) AM_DEFAULT_VERBOSITY=0;;
13112
am_make=${MAKE-make}
13113
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
13114
$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
13115
if ${am_cv_make_support_nested_variables+:} false; then :
13116
$as_echo_n "(cached) " >&6
13118
if $as_echo 'TRUE=$(BAR$(V))
13124
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
13125
am_cv_make_support_nested_variables=yes
13127
am_cv_make_support_nested_variables=no
13130
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
13131
$as_echo "$am_cv_make_support_nested_variables" >&6; }
13132
if test $am_cv_make_support_nested_variables = yes; then
13134
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
13136
AM_V=$AM_DEFAULT_VERBOSITY
13137
AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
13142
###########################
13144
###########################
13146
GTK_REQUIRED_VERSION=2.12
13147
GTK3_REQUIRED_VERSION=3.0
13148
INDICATOR_REQUIRED_VERSION=0.3.19
13149
DBUSMENUGTK_REQUIRED_VERSION=0.5.90
13150
POLKIT_REQUIRED_VERSION=0.92
13153
# Check whether --with-gtk was given.
13154
if test "${with_gtk+set}" = set; then :
13161
if test "x$with_gtk" = x3; then :
13164
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for APPLET" >&5
13165
$as_echo_n "checking for APPLET... " >&6; }
13167
if test -n "$APPLET_CFLAGS"; then
13168
pkg_cv_APPLET_CFLAGS="$APPLET_CFLAGS"
13169
elif test -n "$PKG_CONFIG"; then
13170
if test -n "$PKG_CONFIG" && \
13171
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= \$GTK3_REQUIRED_VERSION
13172
indicator3-0.4 >= \$INDICATOR_REQUIRED_VERSION
13173
dbusmenu-gtk3-0.4 >= \$DBUSMENUGTK_REQUIRED_VERSION\""; } >&5
13174
($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= $GTK3_REQUIRED_VERSION
13175
indicator3-0.4 >= $INDICATOR_REQUIRED_VERSION
13176
dbusmenu-gtk3-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION") 2>&5
13178
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13179
test $ac_status = 0; }; then
13180
pkg_cv_APPLET_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0 >= $GTK3_REQUIRED_VERSION
13181
indicator3-0.4 >= $INDICATOR_REQUIRED_VERSION
13182
dbusmenu-gtk3-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION" 2>/dev/null`
13183
test "x$?" != "x0" && pkg_failed=yes
13190
if test -n "$APPLET_LIBS"; then
13191
pkg_cv_APPLET_LIBS="$APPLET_LIBS"
13192
elif test -n "$PKG_CONFIG"; then
13193
if test -n "$PKG_CONFIG" && \
13194
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= \$GTK3_REQUIRED_VERSION
13195
indicator3-0.4 >= \$INDICATOR_REQUIRED_VERSION
13196
dbusmenu-gtk3-0.4 >= \$DBUSMENUGTK_REQUIRED_VERSION\""; } >&5
13197
($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= $GTK3_REQUIRED_VERSION
13198
indicator3-0.4 >= $INDICATOR_REQUIRED_VERSION
13199
dbusmenu-gtk3-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION") 2>&5
13201
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13202
test $ac_status = 0; }; then
13203
pkg_cv_APPLET_LIBS=`$PKG_CONFIG --libs "gtk+-3.0 >= $GTK3_REQUIRED_VERSION
13204
indicator3-0.4 >= $INDICATOR_REQUIRED_VERSION
13205
dbusmenu-gtk3-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION" 2>/dev/null`
13206
test "x$?" != "x0" && pkg_failed=yes
13216
if test $pkg_failed = yes; then
13217
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13218
$as_echo "no" >&6; }
13220
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13221
_pkg_short_errors_supported=yes
13223
_pkg_short_errors_supported=no
13225
if test $_pkg_short_errors_supported = yes; then
13226
APPLET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-3.0 >= $GTK3_REQUIRED_VERSION
13227
indicator3-0.4 >= $INDICATOR_REQUIRED_VERSION
13228
dbusmenu-gtk3-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION" 2>&1`
13230
APPLET_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-3.0 >= $GTK3_REQUIRED_VERSION
13231
indicator3-0.4 >= $INDICATOR_REQUIRED_VERSION
13232
dbusmenu-gtk3-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION" 2>&1`
13234
# Put the nasty error message in config.log where it belongs
13235
echo "$APPLET_PKG_ERRORS" >&5
13237
as_fn_error $? "Package requirements (gtk+-3.0 >= $GTK3_REQUIRED_VERSION
13238
indicator3-0.4 >= $INDICATOR_REQUIRED_VERSION
13239
dbusmenu-gtk3-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION) were not met:
13243
Consider adjusting the PKG_CONFIG_PATH environment variable if you
13244
installed software in a non-standard prefix.
13246
Alternatively, you may set the environment variables APPLET_CFLAGS
13247
and APPLET_LIBS to avoid the need to call pkg-config.
13248
See the pkg-config man page for more details." "$LINENO" 5
13249
elif test $pkg_failed = untried; then
13250
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13251
$as_echo "no" >&6; }
13252
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13253
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13254
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13255
is in your PATH or set the PKG_CONFIG environment variable to the full
13256
path to pkg-config.
13258
Alternatively, you may set the environment variables APPLET_CFLAGS
13259
and APPLET_LIBS to avoid the need to call pkg-config.
13260
See the pkg-config man page for more details.
13262
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13263
See \`config.log' for more details" "$LINENO" 5; }
13265
APPLET_CFLAGS=$pkg_cv_APPLET_CFLAGS
13266
APPLET_LIBS=$pkg_cv_APPLET_LIBS
13267
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13268
$as_echo "yes" >&6; }
13272
elif test "x$with_gtk" = x2; then :
13275
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for APPLET" >&5
13276
$as_echo_n "checking for APPLET... " >&6; }
13278
if test -n "$APPLET_CFLAGS"; then
13279
pkg_cv_APPLET_CFLAGS="$APPLET_CFLAGS"
13280
elif test -n "$PKG_CONFIG"; then
13281
if test -n "$PKG_CONFIG" && \
13282
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= \$GTK_REQUIRED_VERSION
13283
indicator-0.4 >= \$INDICATOR_REQUIRED_VERSION
13284
dbusmenu-gtk-0.4 >= \$DBUSMENUGTK_REQUIRED_VERSION\""; } >&5
13285
($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= $GTK_REQUIRED_VERSION
13286
indicator-0.4 >= $INDICATOR_REQUIRED_VERSION
13287
dbusmenu-gtk-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION") 2>&5
13289
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13290
test $ac_status = 0; }; then
13291
pkg_cv_APPLET_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= $GTK_REQUIRED_VERSION
13292
indicator-0.4 >= $INDICATOR_REQUIRED_VERSION
13293
dbusmenu-gtk-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION" 2>/dev/null`
13294
test "x$?" != "x0" && pkg_failed=yes
13301
if test -n "$APPLET_LIBS"; then
13302
pkg_cv_APPLET_LIBS="$APPLET_LIBS"
13303
elif test -n "$PKG_CONFIG"; then
13304
if test -n "$PKG_CONFIG" && \
13305
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= \$GTK_REQUIRED_VERSION
13306
indicator-0.4 >= \$INDICATOR_REQUIRED_VERSION
13307
dbusmenu-gtk-0.4 >= \$DBUSMENUGTK_REQUIRED_VERSION\""; } >&5
13308
($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= $GTK_REQUIRED_VERSION
13309
indicator-0.4 >= $INDICATOR_REQUIRED_VERSION
13310
dbusmenu-gtk-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION") 2>&5
13312
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13313
test $ac_status = 0; }; then
13314
pkg_cv_APPLET_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= $GTK_REQUIRED_VERSION
13315
indicator-0.4 >= $INDICATOR_REQUIRED_VERSION
13316
dbusmenu-gtk-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION" 2>/dev/null`
13317
test "x$?" != "x0" && pkg_failed=yes
13327
if test $pkg_failed = yes; then
13328
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13329
$as_echo "no" >&6; }
13331
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13332
_pkg_short_errors_supported=yes
13334
_pkg_short_errors_supported=no
13336
if test $_pkg_short_errors_supported = yes; then
13337
APPLET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0 >= $GTK_REQUIRED_VERSION
13338
indicator-0.4 >= $INDICATOR_REQUIRED_VERSION
13339
dbusmenu-gtk-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION" 2>&1`
13341
APPLET_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0 >= $GTK_REQUIRED_VERSION
13342
indicator-0.4 >= $INDICATOR_REQUIRED_VERSION
13343
dbusmenu-gtk-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION" 2>&1`
13345
# Put the nasty error message in config.log where it belongs
13346
echo "$APPLET_PKG_ERRORS" >&5
13348
as_fn_error $? "Package requirements (gtk+-2.0 >= $GTK_REQUIRED_VERSION
13349
indicator-0.4 >= $INDICATOR_REQUIRED_VERSION
13350
dbusmenu-gtk-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION) were not met:
13354
Consider adjusting the PKG_CONFIG_PATH environment variable if you
13355
installed software in a non-standard prefix.
13357
Alternatively, you may set the environment variables APPLET_CFLAGS
13358
and APPLET_LIBS to avoid the need to call pkg-config.
13359
See the pkg-config man page for more details." "$LINENO" 5
13360
elif test $pkg_failed = untried; then
13361
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13362
$as_echo "no" >&6; }
13363
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13364
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13365
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13366
is in your PATH or set the PKG_CONFIG environment variable to the full
13367
path to pkg-config.
13369
Alternatively, you may set the environment variables APPLET_CFLAGS
13370
and APPLET_LIBS to avoid the need to call pkg-config.
13371
See the pkg-config man page for more details.
13373
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13374
See \`config.log' for more details" "$LINENO" 5; }
13376
APPLET_CFLAGS=$pkg_cv_APPLET_CFLAGS
13377
APPLET_LIBS=$pkg_cv_APPLET_LIBS
13378
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13379
$as_echo "yes" >&6; }
13384
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13385
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13386
as_fn_error $? "Value for --with-indicator-gtk was neither 2 nor 3
13387
See \`config.log' for more details" "$LINENO" 5; }
13394
DBUSMENUGLIB_REQUIRED_VERSION=0.1.1
13396
if test "x$with_gtk" = x3; then :
13399
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SESSIONSERVICE" >&5
13400
$as_echo_n "checking for SESSIONSERVICE... " >&6; }
13402
if test -n "$SESSIONSERVICE_CFLAGS"; then
13403
pkg_cv_SESSIONSERVICE_CFLAGS="$SESSIONSERVICE_CFLAGS"
13404
elif test -n "$PKG_CONFIG"; then
13405
if test -n "$PKG_CONFIG" && \
13406
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbusmenu-glib-0.4 >= \$DBUSMENUGLIB_REQUIRED_VERSION
13407
dbusmenu-gtk3-0.4 >= \$DBUSMENUGTK_REQUIRED_VERSION
13410
indicator3-0.4 >= \$INDICATOR_REQUIRED_VERSION
13411
packagekit-glib2\""; } >&5
13412
($PKG_CONFIG --exists --print-errors "dbusmenu-glib-0.4 >= $DBUSMENUGLIB_REQUIRED_VERSION
13413
dbusmenu-gtk3-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION
13416
indicator3-0.4 >= $INDICATOR_REQUIRED_VERSION
13417
packagekit-glib2") 2>&5
13419
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13420
test $ac_status = 0; }; then
13421
pkg_cv_SESSIONSERVICE_CFLAGS=`$PKG_CONFIG --cflags "dbusmenu-glib-0.4 >= $DBUSMENUGLIB_REQUIRED_VERSION
13422
dbusmenu-gtk3-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION
13425
indicator3-0.4 >= $INDICATOR_REQUIRED_VERSION
13426
packagekit-glib2" 2>/dev/null`
13427
test "x$?" != "x0" && pkg_failed=yes
13434
if test -n "$SESSIONSERVICE_LIBS"; then
13435
pkg_cv_SESSIONSERVICE_LIBS="$SESSIONSERVICE_LIBS"
13436
elif test -n "$PKG_CONFIG"; then
13437
if test -n "$PKG_CONFIG" && \
13438
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbusmenu-glib-0.4 >= \$DBUSMENUGLIB_REQUIRED_VERSION
13439
dbusmenu-gtk3-0.4 >= \$DBUSMENUGTK_REQUIRED_VERSION
13442
indicator3-0.4 >= \$INDICATOR_REQUIRED_VERSION
13443
packagekit-glib2\""; } >&5
13444
($PKG_CONFIG --exists --print-errors "dbusmenu-glib-0.4 >= $DBUSMENUGLIB_REQUIRED_VERSION
13445
dbusmenu-gtk3-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION
13448
indicator3-0.4 >= $INDICATOR_REQUIRED_VERSION
13449
packagekit-glib2") 2>&5
13451
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13452
test $ac_status = 0; }; then
13453
pkg_cv_SESSIONSERVICE_LIBS=`$PKG_CONFIG --libs "dbusmenu-glib-0.4 >= $DBUSMENUGLIB_REQUIRED_VERSION
13454
dbusmenu-gtk3-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION
13457
indicator3-0.4 >= $INDICATOR_REQUIRED_VERSION
13458
packagekit-glib2" 2>/dev/null`
13459
test "x$?" != "x0" && pkg_failed=yes
13469
if test $pkg_failed = yes; then
13470
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13471
$as_echo "no" >&6; }
13473
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13474
_pkg_short_errors_supported=yes
13476
_pkg_short_errors_supported=no
13478
if test $_pkg_short_errors_supported = yes; then
13479
SESSIONSERVICE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "dbusmenu-glib-0.4 >= $DBUSMENUGLIB_REQUIRED_VERSION
13480
dbusmenu-gtk3-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION
13483
indicator3-0.4 >= $INDICATOR_REQUIRED_VERSION
13484
packagekit-glib2" 2>&1`
13486
SESSIONSERVICE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "dbusmenu-glib-0.4 >= $DBUSMENUGLIB_REQUIRED_VERSION
13487
dbusmenu-gtk3-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION
13490
indicator3-0.4 >= $INDICATOR_REQUIRED_VERSION
13491
packagekit-glib2" 2>&1`
13493
# Put the nasty error message in config.log where it belongs
13494
echo "$SESSIONSERVICE_PKG_ERRORS" >&5
13496
as_fn_error $? "Package requirements (dbusmenu-glib-0.4 >= $DBUSMENUGLIB_REQUIRED_VERSION
13497
dbusmenu-gtk3-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION
13500
indicator3-0.4 >= $INDICATOR_REQUIRED_VERSION
13501
packagekit-glib2) were not met:
13503
$SESSIONSERVICE_PKG_ERRORS
13505
Consider adjusting the PKG_CONFIG_PATH environment variable if you
13506
installed software in a non-standard prefix.
13508
Alternatively, you may set the environment variables SESSIONSERVICE_CFLAGS
13509
and SESSIONSERVICE_LIBS to avoid the need to call pkg-config.
13510
See the pkg-config man page for more details." "$LINENO" 5
13511
elif test $pkg_failed = untried; then
13512
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13513
$as_echo "no" >&6; }
13514
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13515
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13516
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13517
is in your PATH or set the PKG_CONFIG environment variable to the full
13518
path to pkg-config.
13520
Alternatively, you may set the environment variables SESSIONSERVICE_CFLAGS
13521
and SESSIONSERVICE_LIBS to avoid the need to call pkg-config.
13522
See the pkg-config man page for more details.
13524
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13525
See \`config.log' for more details" "$LINENO" 5; }
13527
SESSIONSERVICE_CFLAGS=$pkg_cv_SESSIONSERVICE_CFLAGS
13528
SESSIONSERVICE_LIBS=$pkg_cv_SESSIONSERVICE_LIBS
13529
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13530
$as_echo "yes" >&6; }
13534
elif test "x$with_gtk" = x2; then :
13537
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SESSIONSERVICE" >&5
13538
$as_echo_n "checking for SESSIONSERVICE... " >&6; }
13540
if test -n "$SESSIONSERVICE_CFLAGS"; then
13541
pkg_cv_SESSIONSERVICE_CFLAGS="$SESSIONSERVICE_CFLAGS"
13542
elif test -n "$PKG_CONFIG"; then
13543
if test -n "$PKG_CONFIG" && \
13544
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbusmenu-glib-0.4 >= \$DBUSMENUGLIB_REQUIRED_VERSION
13545
dbusmenu-gtk-0.4 >= \$DBUSMENUGTK_REQUIRED_VERSION
13548
indicator-0.4 >= \$INDICATOR_REQUIRED_VERSION
13549
packagekit-glib2\""; } >&5
13550
($PKG_CONFIG --exists --print-errors "dbusmenu-glib-0.4 >= $DBUSMENUGLIB_REQUIRED_VERSION
13551
dbusmenu-gtk-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION
13554
indicator-0.4 >= $INDICATOR_REQUIRED_VERSION
13555
packagekit-glib2") 2>&5
13557
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13558
test $ac_status = 0; }; then
13559
pkg_cv_SESSIONSERVICE_CFLAGS=`$PKG_CONFIG --cflags "dbusmenu-glib-0.4 >= $DBUSMENUGLIB_REQUIRED_VERSION
13560
dbusmenu-gtk-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION
13563
indicator-0.4 >= $INDICATOR_REQUIRED_VERSION
13564
packagekit-glib2" 2>/dev/null`
13565
test "x$?" != "x0" && pkg_failed=yes
13572
if test -n "$SESSIONSERVICE_LIBS"; then
13573
pkg_cv_SESSIONSERVICE_LIBS="$SESSIONSERVICE_LIBS"
13574
elif test -n "$PKG_CONFIG"; then
13575
if test -n "$PKG_CONFIG" && \
13576
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbusmenu-glib-0.4 >= \$DBUSMENUGLIB_REQUIRED_VERSION
13577
dbusmenu-gtk-0.4 >= \$DBUSMENUGTK_REQUIRED_VERSION
13580
indicator-0.4 >= \$INDICATOR_REQUIRED_VERSION
13581
packagekit-glib2\""; } >&5
13582
($PKG_CONFIG --exists --print-errors "dbusmenu-glib-0.4 >= $DBUSMENUGLIB_REQUIRED_VERSION
13583
dbusmenu-gtk-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION
13586
indicator-0.4 >= $INDICATOR_REQUIRED_VERSION
13587
packagekit-glib2") 2>&5
13589
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13590
test $ac_status = 0; }; then
13591
pkg_cv_SESSIONSERVICE_LIBS=`$PKG_CONFIG --libs "dbusmenu-glib-0.4 >= $DBUSMENUGLIB_REQUIRED_VERSION
13592
dbusmenu-gtk-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION
13595
indicator-0.4 >= $INDICATOR_REQUIRED_VERSION
13596
packagekit-glib2" 2>/dev/null`
13597
test "x$?" != "x0" && pkg_failed=yes
13607
if test $pkg_failed = yes; then
13608
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13609
$as_echo "no" >&6; }
13611
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13612
_pkg_short_errors_supported=yes
13614
_pkg_short_errors_supported=no
13616
if test $_pkg_short_errors_supported = yes; then
13617
SESSIONSERVICE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "dbusmenu-glib-0.4 >= $DBUSMENUGLIB_REQUIRED_VERSION
13618
dbusmenu-gtk-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION
13621
indicator-0.4 >= $INDICATOR_REQUIRED_VERSION
13622
packagekit-glib2" 2>&1`
13624
SESSIONSERVICE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "dbusmenu-glib-0.4 >= $DBUSMENUGLIB_REQUIRED_VERSION
13625
dbusmenu-gtk-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION
13628
indicator-0.4 >= $INDICATOR_REQUIRED_VERSION
13629
packagekit-glib2" 2>&1`
13631
# Put the nasty error message in config.log where it belongs
13632
echo "$SESSIONSERVICE_PKG_ERRORS" >&5
13634
as_fn_error $? "Package requirements (dbusmenu-glib-0.4 >= $DBUSMENUGLIB_REQUIRED_VERSION
13635
dbusmenu-gtk-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION
13638
indicator-0.4 >= $INDICATOR_REQUIRED_VERSION
13639
packagekit-glib2) were not met:
13641
$SESSIONSERVICE_PKG_ERRORS
13643
Consider adjusting the PKG_CONFIG_PATH environment variable if you
13644
installed software in a non-standard prefix.
13646
Alternatively, you may set the environment variables SESSIONSERVICE_CFLAGS
13647
and SESSIONSERVICE_LIBS to avoid the need to call pkg-config.
13648
See the pkg-config man page for more details." "$LINENO" 5
13649
elif test $pkg_failed = untried; then
13650
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13651
$as_echo "no" >&6; }
13652
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13653
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13654
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13655
is in your PATH or set the PKG_CONFIG environment variable to the full
13656
path to pkg-config.
13658
Alternatively, you may set the environment variables SESSIONSERVICE_CFLAGS
13659
and SESSIONSERVICE_LIBS to avoid the need to call pkg-config.
13660
See the pkg-config man page for more details.
13662
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13663
See \`config.log' for more details" "$LINENO" 5; }
13665
SESSIONSERVICE_CFLAGS=$pkg_cv_SESSIONSERVICE_CFLAGS
13666
SESSIONSERVICE_LIBS=$pkg_cv_SESSIONSERVICE_LIBS
13667
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13668
$as_echo "yes" >&6; }
13680
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GUDEV" >&5
13681
$as_echo_n "checking for GUDEV... " >&6; }
13683
if test -n "$GUDEV_CFLAGS"; then
13684
pkg_cv_GUDEV_CFLAGS="$GUDEV_CFLAGS"
13685
elif test -n "$PKG_CONFIG"; then
13686
if test -n "$PKG_CONFIG" && \
13687
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gudev-1.0\""; } >&5
13688
($PKG_CONFIG --exists --print-errors "gudev-1.0") 2>&5
13690
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13691
test $ac_status = 0; }; then
13692
pkg_cv_GUDEV_CFLAGS=`$PKG_CONFIG --cflags "gudev-1.0" 2>/dev/null`
13693
test "x$?" != "x0" && pkg_failed=yes
13700
if test -n "$GUDEV_LIBS"; then
13701
pkg_cv_GUDEV_LIBS="$GUDEV_LIBS"
13702
elif test -n "$PKG_CONFIG"; then
13703
if test -n "$PKG_CONFIG" && \
13704
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gudev-1.0\""; } >&5
13705
($PKG_CONFIG --exists --print-errors "gudev-1.0") 2>&5
13707
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13708
test $ac_status = 0; }; then
13709
pkg_cv_GUDEV_LIBS=`$PKG_CONFIG --libs "gudev-1.0" 2>/dev/null`
13710
test "x$?" != "x0" && pkg_failed=yes
13720
if test $pkg_failed = yes; then
13721
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13722
$as_echo "no" >&6; }
13724
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13725
_pkg_short_errors_supported=yes
13727
_pkg_short_errors_supported=no
13729
if test $_pkg_short_errors_supported = yes; then
13730
GUDEV_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gudev-1.0" 2>&1`
13732
GUDEV_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gudev-1.0" 2>&1`
13734
# Put the nasty error message in config.log where it belongs
13735
echo "$GUDEV_PKG_ERRORS" >&5
13738
elif test $pkg_failed = untried; then
13739
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13740
$as_echo "no" >&6; }
13743
GUDEV_CFLAGS=$pkg_cv_GUDEV_CFLAGS
13744
GUDEV_LIBS=$pkg_cv_GUDEV_LIBS
13745
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13746
$as_echo "yes" >&6; }
13752
if test "x$with_gtk" = "x3"; then
13760
if test "x$with_gtk" = x3; then :
13763
$as_echo "#define HAVE_GTK3 1" >>confdefs.h
13768
###########################
13769
# GTK Logout Helper
13770
###########################
13772
# Check whether --enable-gtklogouthelper was given.
13773
if test "${enable_gtklogouthelper+set}" = set; then :
13774
enableval=$enable_gtklogouthelper;
13776
enable_gtklogouthelper=auto
13780
if test x"$enable_gtklogouthelper" != x"no" ; then
13781
if test "x$with_gtk" = x3; then :
13784
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKLOGOUTHELPER" >&5
13785
$as_echo_n "checking for GTKLOGOUTHELPER... " >&6; }
13787
if test -n "$GTKLOGOUTHELPER_CFLAGS"; then
13788
pkg_cv_GTKLOGOUTHELPER_CFLAGS="$GTKLOGOUTHELPER_CFLAGS"
13789
elif test -n "$PKG_CONFIG"; then
13790
if test -n "$PKG_CONFIG" && \
13791
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= \$GTK3_REQUIRED_VERSION
13792
polkit-gobject-1 >= \$POLKIT_REQUIRED_VERSION\""; } >&5
13793
($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= $GTK3_REQUIRED_VERSION
13794
polkit-gobject-1 >= $POLKIT_REQUIRED_VERSION") 2>&5
13796
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13797
test $ac_status = 0; }; then
13798
pkg_cv_GTKLOGOUTHELPER_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0 >= $GTK3_REQUIRED_VERSION
13799
polkit-gobject-1 >= $POLKIT_REQUIRED_VERSION" 2>/dev/null`
13800
test "x$?" != "x0" && pkg_failed=yes
13807
if test -n "$GTKLOGOUTHELPER_LIBS"; then
13808
pkg_cv_GTKLOGOUTHELPER_LIBS="$GTKLOGOUTHELPER_LIBS"
13809
elif test -n "$PKG_CONFIG"; then
13810
if test -n "$PKG_CONFIG" && \
13811
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= \$GTK3_REQUIRED_VERSION
13812
polkit-gobject-1 >= \$POLKIT_REQUIRED_VERSION\""; } >&5
13813
($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= $GTK3_REQUIRED_VERSION
13814
polkit-gobject-1 >= $POLKIT_REQUIRED_VERSION") 2>&5
13816
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13817
test $ac_status = 0; }; then
13818
pkg_cv_GTKLOGOUTHELPER_LIBS=`$PKG_CONFIG --libs "gtk+-3.0 >= $GTK3_REQUIRED_VERSION
13819
polkit-gobject-1 >= $POLKIT_REQUIRED_VERSION" 2>/dev/null`
13820
test "x$?" != "x0" && pkg_failed=yes
13830
if test $pkg_failed = yes; then
13831
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13832
$as_echo "no" >&6; }
13834
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13835
_pkg_short_errors_supported=yes
13837
_pkg_short_errors_supported=no
13839
if test $_pkg_short_errors_supported = yes; then
13840
GTKLOGOUTHELPER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-3.0 >= $GTK3_REQUIRED_VERSION
13841
polkit-gobject-1 >= $POLKIT_REQUIRED_VERSION" 2>&1`
13843
GTKLOGOUTHELPER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-3.0 >= $GTK3_REQUIRED_VERSION
13844
polkit-gobject-1 >= $POLKIT_REQUIRED_VERSION" 2>&1`
13846
# Put the nasty error message in config.log where it belongs
13847
echo "$GTKLOGOUTHELPER_PKG_ERRORS" >&5
13849
have_gtklogouthelper=no
13850
elif test $pkg_failed = untried; then
13851
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13852
$as_echo "no" >&6; }
13853
have_gtklogouthelper=no
13855
GTKLOGOUTHELPER_CFLAGS=$pkg_cv_GTKLOGOUTHELPER_CFLAGS
13856
GTKLOGOUTHELPER_LIBS=$pkg_cv_GTKLOGOUTHELPER_LIBS
13857
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13858
$as_echo "yes" >&6; }
13859
have_gtklogouthelper=yes
13862
elif test "x$with_gtk" = x2; then :
13865
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKLOGOUTHELPER" >&5
13866
$as_echo_n "checking for GTKLOGOUTHELPER... " >&6; }
13868
if test -n "$GTKLOGOUTHELPER_CFLAGS"; then
13869
pkg_cv_GTKLOGOUTHELPER_CFLAGS="$GTKLOGOUTHELPER_CFLAGS"
13870
elif test -n "$PKG_CONFIG"; then
13871
if test -n "$PKG_CONFIG" && \
13872
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= \$GTK_REQUIRED_VERSION
13873
polkit-gobject-1 >= \$POLKIT_REQUIRED_VERSION\""; } >&5
13874
($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= $GTK_REQUIRED_VERSION
13875
polkit-gobject-1 >= $POLKIT_REQUIRED_VERSION") 2>&5
13877
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13878
test $ac_status = 0; }; then
13879
pkg_cv_GTKLOGOUTHELPER_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= $GTK_REQUIRED_VERSION
13880
polkit-gobject-1 >= $POLKIT_REQUIRED_VERSION" 2>/dev/null`
13881
test "x$?" != "x0" && pkg_failed=yes
13888
if test -n "$GTKLOGOUTHELPER_LIBS"; then
13889
pkg_cv_GTKLOGOUTHELPER_LIBS="$GTKLOGOUTHELPER_LIBS"
13890
elif test -n "$PKG_CONFIG"; then
13891
if test -n "$PKG_CONFIG" && \
13892
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= \$GTK_REQUIRED_VERSION
13893
polkit-gobject-1 >= \$POLKIT_REQUIRED_VERSION\""; } >&5
13894
($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= $GTK_REQUIRED_VERSION
13895
polkit-gobject-1 >= $POLKIT_REQUIRED_VERSION") 2>&5
13897
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13898
test $ac_status = 0; }; then
13899
pkg_cv_GTKLOGOUTHELPER_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= $GTK_REQUIRED_VERSION
13900
polkit-gobject-1 >= $POLKIT_REQUIRED_VERSION" 2>/dev/null`
13901
test "x$?" != "x0" && pkg_failed=yes
13911
if test $pkg_failed = yes; then
13912
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13913
$as_echo "no" >&6; }
13915
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13916
_pkg_short_errors_supported=yes
13918
_pkg_short_errors_supported=no
13920
if test $_pkg_short_errors_supported = yes; then
13921
GTKLOGOUTHELPER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0 >= $GTK_REQUIRED_VERSION
13922
polkit-gobject-1 >= $POLKIT_REQUIRED_VERSION" 2>&1`
13924
GTKLOGOUTHELPER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0 >= $GTK_REQUIRED_VERSION
13925
polkit-gobject-1 >= $POLKIT_REQUIRED_VERSION" 2>&1`
13927
# Put the nasty error message in config.log where it belongs
13928
echo "$GTKLOGOUTHELPER_PKG_ERRORS" >&5
13930
have_gtklogouthelper=no
13931
elif test $pkg_failed = untried; then
13932
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13933
$as_echo "no" >&6; }
13934
have_gtklogouthelper=no
13936
GTKLOGOUTHELPER_CFLAGS=$pkg_cv_GTKLOGOUTHELPER_CFLAGS
13937
GTKLOGOUTHELPER_LIBS=$pkg_cv_GTKLOGOUTHELPER_LIBS
13938
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13939
$as_echo "yes" >&6; }
13940
have_gtklogouthelper=yes
13945
if test x${have_gtklogouthelper} = xyes; then
13947
$as_echo "#define HAVE_GTKLOGOUTHELPER 1" >>confdefs.h
13950
if test x${enable_gtklogouthelper} = xyes && test x${have_gtklogouthelper} = xno; then
13951
as_fn_error $? "GTK Logout Helper configured but polkit-gobject not found" "$LINENO" 5
13954
have_gtklogouthelper=no
13956
if test x${have_gtklogouthelper} = xyes; then
13957
BUILD_GTKLOGOUTHELPER_TRUE=
13958
BUILD_GTKLOGOUTHELPER_FALSE='#'
13960
BUILD_GTKLOGOUTHELPER_TRUE='#'
13961
BUILD_GTKLOGOUTHELPER_FALSE=
13968
###########################
13970
###########################
13971
# Check whether --enable-apt was given.
13972
if test "${enable_apt+set}" = set; then :
13973
enableval=$enable_apt;
13978
if test "x$enable_apt" != "xno"; then
13980
BUILD_APT_FALSE='#'
13987
if test "x$enable_apt" != "xno"; then
13989
$as_echo "#define HAVE_APT 1" >>confdefs.h
13993
###########################
13994
# Check to see if we're local
13995
###########################
13997
with_localinstall="no"
13998
# Check whether --enable-localinstall was given.
13999
if test "${enable_localinstall+set}" = set; then :
14000
enableval=$enable_localinstall; with_localinstall=$enableval
14002
with_localinstall=no
14006
###########################
14008
###########################
14010
if test "x$with_localinstall" = "xyes"; then
14011
INDICATORDIR="${libdir}/indicators/2/"
14012
INDICATORICONSDIR="${datadir}/indicator-applet/icons/"
14013
elif test "x$with_gtk" = x2; then
14014
INDICATORDIR=`$PKG_CONFIG --variable=indicatordir indicator-0.4`
14015
INDICATORICONSDIR=`$PKG_CONFIG --variable=iconsdir indicator-0.4`
14017
INDICATORDIR=`$PKG_CONFIG --variable=indicatordir indicator3-0.4`
14018
INDICATORICONSDIR=`$PKG_CONFIG --variable=iconsdir indicator3-0.4`
14023
###########################
14024
# DBus Service Info
14025
###########################
14027
if test "x$with_localinstall" = "xyes"; then
14028
DBUSSERVICEDIR="${datadir}/dbus-1/services/"
14030
DBUSSERVICEDIR=`$PKG_CONFIG --variable=session_bus_services_dir dbus-1`
14034
##############################
14036
##############################
14040
###########################
14041
# Internationalization
14042
###########################
14044
GETTEXT_PACKAGE=indicator-session
14047
cat >>confdefs.h <<_ACEOF
14048
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
14052
test "x$prefix" = xNONE && prefix="$ac_default_prefix"
14053
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14054
ac_define_path=`eval echo $"${datadir}/locale"`
14055
ac_define_path=`eval echo $ac_define_path`
14056
GNOMELOCALEDIR="$ac_define_path"
14059
cat >>confdefs.h <<_ACEOF
14060
#define GNOMELOCALEDIR "$ac_define_path"
14066
for ac_header in locale.h
14068
ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
14069
if test "x$ac_cv_header_locale_h" = xyes; then :
14070
cat >>confdefs.h <<_ACEOF
14071
#define HAVE_LOCALE_H 1
14078
if test $ac_cv_header_locale_h = yes; then
14079
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
14080
$as_echo_n "checking for LC_MESSAGES... " >&6; }
14081
if ${am_cv_val_LC_MESSAGES+:} false; then :
14082
$as_echo_n "(cached) " >&6
14084
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14085
/* end confdefs.h. */
14086
#include <locale.h>
14095
if ac_fn_c_try_link "$LINENO"; then :
14096
am_cv_val_LC_MESSAGES=yes
14098
am_cv_val_LC_MESSAGES=no
14100
rm -f core conftest.err conftest.$ac_objext \
14101
conftest$ac_exeext conftest.$ac_ext
14103
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
14104
$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
14105
if test $am_cv_val_LC_MESSAGES = yes; then
14107
$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
14114
gt_cv_have_gettext=no
14120
ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
14121
if test "x$ac_cv_header_libintl_h" = xyes; then :
14122
gt_cv_func_dgettext_libintl="no"
14123
libintl_extra_libs=""
14126
# First check in libc
14128
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
14129
$as_echo_n "checking for ngettext in libc... " >&6; }
14130
if ${gt_cv_func_ngettext_libc+:} false; then :
14131
$as_echo_n "(cached) " >&6
14133
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14134
/* end confdefs.h. */
14136
#include <libintl.h>
14141
return !ngettext ("","", 1)
14146
if ac_fn_c_try_link "$LINENO"; then :
14147
gt_cv_func_ngettext_libc=yes
14149
gt_cv_func_ngettext_libc=no
14151
rm -f core conftest.err conftest.$ac_objext \
14152
conftest$ac_exeext conftest.$ac_ext
14155
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
14156
$as_echo "$gt_cv_func_ngettext_libc" >&6; }
14158
if test "$gt_cv_func_ngettext_libc" = "yes" ; then
14159
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
14160
$as_echo_n "checking for dgettext in libc... " >&6; }
14161
if ${gt_cv_func_dgettext_libc+:} false; then :
14162
$as_echo_n "(cached) " >&6
14164
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14165
/* end confdefs.h. */
14167
#include <libintl.h>
14172
return !dgettext ("","")
14177
if ac_fn_c_try_link "$LINENO"; then :
14178
gt_cv_func_dgettext_libc=yes
14180
gt_cv_func_dgettext_libc=no
14182
rm -f core conftest.err conftest.$ac_objext \
14183
conftest$ac_exeext conftest.$ac_ext
14186
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
14187
$as_echo "$gt_cv_func_dgettext_libc" >&6; }
14190
if test "$gt_cv_func_ngettext_libc" = "yes" ; then
14191
for ac_func in bind_textdomain_codeset
14193
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
14194
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
14195
cat >>confdefs.h <<_ACEOF
14196
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
14205
# If we don't have everything we want, check in libintl
14207
if test "$gt_cv_func_dgettext_libc" != "yes" \
14208
|| test "$gt_cv_func_ngettext_libc" != "yes" \
14209
|| test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
14211
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
14212
$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
14213
if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
14214
$as_echo_n "(cached) " >&6
14216
ac_check_lib_save_LIBS=$LIBS
14217
LIBS="-lintl $LIBS"
14218
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14219
/* end confdefs.h. */
14221
/* Override any GCC internal prototype to avoid an error.
14222
Use char because int might match the return type of a GCC
14223
builtin and then its argument prototype would still apply. */
14227
char bindtextdomain ();
14231
return bindtextdomain ();
14236
if ac_fn_c_try_link "$LINENO"; then :
14237
ac_cv_lib_intl_bindtextdomain=yes
14239
ac_cv_lib_intl_bindtextdomain=no
14241
rm -f core conftest.err conftest.$ac_objext \
14242
conftest$ac_exeext conftest.$ac_ext
14243
LIBS=$ac_check_lib_save_LIBS
14245
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
14246
$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
14247
if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
14248
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
14249
$as_echo_n "checking for ngettext in -lintl... " >&6; }
14250
if ${ac_cv_lib_intl_ngettext+:} false; then :
14251
$as_echo_n "(cached) " >&6
14253
ac_check_lib_save_LIBS=$LIBS
14254
LIBS="-lintl $LIBS"
14255
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14256
/* end confdefs.h. */
14258
/* Override any GCC internal prototype to avoid an error.
14259
Use char because int might match the return type of a GCC
14260
builtin and then its argument prototype would still apply. */
14268
return ngettext ();
14273
if ac_fn_c_try_link "$LINENO"; then :
14274
ac_cv_lib_intl_ngettext=yes
14276
ac_cv_lib_intl_ngettext=no
14278
rm -f core conftest.err conftest.$ac_objext \
14279
conftest$ac_exeext conftest.$ac_ext
14280
LIBS=$ac_check_lib_save_LIBS
14282
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
14283
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
14284
if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
14285
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
14286
$as_echo_n "checking for dgettext in -lintl... " >&6; }
14287
if ${ac_cv_lib_intl_dgettext+:} false; then :
14288
$as_echo_n "(cached) " >&6
14290
ac_check_lib_save_LIBS=$LIBS
14291
LIBS="-lintl $LIBS"
14292
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14293
/* end confdefs.h. */
14295
/* Override any GCC internal prototype to avoid an error.
14296
Use char because int might match the return type of a GCC
14297
builtin and then its argument prototype would still apply. */
14305
return dgettext ();
14310
if ac_fn_c_try_link "$LINENO"; then :
14311
ac_cv_lib_intl_dgettext=yes
14313
ac_cv_lib_intl_dgettext=no
14315
rm -f core conftest.err conftest.$ac_objext \
14316
conftest$ac_exeext conftest.$ac_ext
14317
LIBS=$ac_check_lib_save_LIBS
14319
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
14320
$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
14321
if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
14322
gt_cv_func_dgettext_libintl=yes
14330
if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
14331
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
14332
$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
14333
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
14335
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
14336
$as_echo_n "checking for ngettext in -lintl... " >&6; }
14337
if ${ac_cv_lib_intl_ngettext+:} false; then :
14338
$as_echo_n "(cached) " >&6
14340
ac_check_lib_save_LIBS=$LIBS
14341
LIBS="-lintl -liconv $LIBS"
14342
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14343
/* end confdefs.h. */
14345
/* Override any GCC internal prototype to avoid an error.
14346
Use char because int might match the return type of a GCC
14347
builtin and then its argument prototype would still apply. */
14355
return ngettext ();
14360
if ac_fn_c_try_link "$LINENO"; then :
14361
ac_cv_lib_intl_ngettext=yes
14363
ac_cv_lib_intl_ngettext=no
14365
rm -f core conftest.err conftest.$ac_objext \
14366
conftest$ac_exeext conftest.$ac_ext
14367
LIBS=$ac_check_lib_save_LIBS
14369
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
14370
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
14371
if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
14372
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
14373
$as_echo_n "checking for dcgettext in -lintl... " >&6; }
14374
if ${ac_cv_lib_intl_dcgettext+:} false; then :
14375
$as_echo_n "(cached) " >&6
14377
ac_check_lib_save_LIBS=$LIBS
14378
LIBS="-lintl -liconv $LIBS"
14379
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14380
/* end confdefs.h. */
14382
/* Override any GCC internal prototype to avoid an error.
14383
Use char because int might match the return type of a GCC
14384
builtin and then its argument prototype would still apply. */
14392
return dcgettext ();
14397
if ac_fn_c_try_link "$LINENO"; then :
14398
ac_cv_lib_intl_dcgettext=yes
14400
ac_cv_lib_intl_dcgettext=no
14402
rm -f core conftest.err conftest.$ac_objext \
14403
conftest$ac_exeext conftest.$ac_ext
14404
LIBS=$ac_check_lib_save_LIBS
14406
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
14407
$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
14408
if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
14409
gt_cv_func_dgettext_libintl=yes
14410
libintl_extra_libs=-liconv
14422
# If we found libintl, then check in it for bind_textdomain_codeset();
14423
# we'll prefer libc if neither have bind_textdomain_codeset(),
14424
# and both have dgettext and ngettext
14426
if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
14427
glib_save_LIBS="$LIBS"
14428
LIBS="$LIBS -lintl $libintl_extra_libs"
14429
unset ac_cv_func_bind_textdomain_codeset
14430
for ac_func in bind_textdomain_codeset
14432
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
14433
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
14434
cat >>confdefs.h <<_ACEOF
14435
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
14441
LIBS="$glib_save_LIBS"
14443
if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
14444
gt_cv_func_dgettext_libc=no
14446
if test "$gt_cv_func_dgettext_libc" = "yes" \
14447
&& test "$gt_cv_func_ngettext_libc" = "yes"; then
14448
gt_cv_func_dgettext_libintl=no
14454
if test "$gt_cv_func_dgettext_libc" = "yes" \
14455
|| test "$gt_cv_func_dgettext_libintl" = "yes"; then
14456
gt_cv_have_gettext=yes
14459
if test "$gt_cv_func_dgettext_libintl" = "yes"; then
14460
INTLLIBS="-lintl $libintl_extra_libs"
14463
if test "$gt_cv_have_gettext" = "yes"; then
14465
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
14467
# Extract the first word of "msgfmt", so it can be a program name with args.
14468
set dummy msgfmt; ac_word=$2
14469
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14470
$as_echo_n "checking for $ac_word... " >&6; }
14471
if ${ac_cv_path_MSGFMT+:} false; then :
14472
$as_echo_n "(cached) " >&6
14476
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
14479
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
14480
for ac_dir in $PATH; do
14481
test -z "$ac_dir" && ac_dir=.
14482
if test -f $ac_dir/$ac_word; then
14483
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
14484
ac_cv_path_MSGFMT="$ac_dir/$ac_word"
14490
test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
14494
MSGFMT="$ac_cv_path_MSGFMT"
14495
if test "$MSGFMT" != "no"; then
14496
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
14497
$as_echo "$MSGFMT" >&6; }
14499
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14500
$as_echo "no" >&6; }
14502
if test "$MSGFMT" != "no"; then
14503
glib_save_LIBS="$LIBS"
14504
LIBS="$LIBS $INTLLIBS"
14505
for ac_func in dcgettext
14507
ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
14508
if test "x$ac_cv_func_dcgettext" = xyes; then :
14509
cat >>confdefs.h <<_ACEOF
14510
#define HAVE_DCGETTEXT 1
14517
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
14518
$as_echo_n "checking if msgfmt accepts -c... " >&6; }
14519
cat >conftest.foo <<_ACEOF
14523
"Content-Type: text/plain; charset=UTF-8\n"
14524
"Project-Id-Version: test 1.0\n"
14525
"PO-Revision-Date: 2007-02-15 12:01+0100\n"
14526
"Last-Translator: test <foo@bar.xx>\n"
14527
"Language-Team: C <LL@li.org>\n"
14528
"MIME-Version: 1.0\n"
14529
"Content-Transfer-Encoding: 8bit\n"
14532
if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
14533
($MSGFMT -c -o /dev/null conftest.foo) 2>&5
14535
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14536
test $ac_status = 0; }; then
14537
MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14538
$as_echo "yes" >&6; }
14539
else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14540
$as_echo "no" >&6; }
14541
echo "$as_me: failed input was:" >&5
14542
sed 's/^/| /' conftest.foo >&5
14545
# Extract the first word of "gmsgfmt", so it can be a program name with args.
14546
set dummy gmsgfmt; ac_word=$2
14547
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14548
$as_echo_n "checking for $ac_word... " >&6; }
14549
if ${ac_cv_path_GMSGFMT+:} false; then :
14550
$as_echo_n "(cached) " >&6
14554
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
14557
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14558
for as_dir in $PATH
14561
test -z "$as_dir" && as_dir=.
14562
for ac_exec_ext in '' $ac_executable_extensions; do
14563
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14564
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
14565
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14572
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
14576
GMSGFMT=$ac_cv_path_GMSGFMT
14577
if test -n "$GMSGFMT"; then
14578
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
14579
$as_echo "$GMSGFMT" >&6; }
14581
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14582
$as_echo "no" >&6; }
14586
# Extract the first word of "xgettext", so it can be a program name with args.
14587
set dummy xgettext; ac_word=$2
14588
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14589
$as_echo_n "checking for $ac_word... " >&6; }
14590
if ${ac_cv_path_XGETTEXT+:} false; then :
14591
$as_echo_n "(cached) " >&6
14593
case "$XGETTEXT" in
14595
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
14598
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
14599
for ac_dir in $PATH; do
14600
test -z "$ac_dir" && ac_dir=.
14601
if test -f $ac_dir/$ac_word; then
14602
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
14603
ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
14609
test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
14613
XGETTEXT="$ac_cv_path_XGETTEXT"
14614
if test "$XGETTEXT" != ":"; then
14615
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
14616
$as_echo "$XGETTEXT" >&6; }
14618
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14619
$as_echo "no" >&6; }
14622
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14623
/* end confdefs.h. */
14628
extern int _nl_msg_cat_cntr;
14629
return _nl_msg_cat_cntr
14634
if ac_fn_c_try_link "$LINENO"; then :
14640
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
14641
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
14660
rm -f core conftest.err conftest.$ac_objext \
14661
conftest$ac_exeext conftest.$ac_ext
14662
LIBS="$glib_save_LIBS"
14665
gt_cv_have_gettext=no
14673
if test "$gt_cv_have_gettext" = "yes" ; then
14675
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
14679
if test "$XGETTEXT" != ":"; then
14680
if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
14683
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
14684
$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
14689
# We need to process the po/ directory.
14692
ac_config_commands="$ac_config_commands default-1"
14695
for lang in $ALL_LINGUAS; do
14696
GMOFILES="$GMOFILES $lang.gmo"
14697
POFILES="$POFILES $lang.po"
14712
if test "$gt_cv_have_gettext" = "yes"; then
14713
if test "x$ALL_LINGUAS" = "x"; then
14716
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
14717
$as_echo_n "checking for catalogs to be installed... " >&6; }
14719
for presentlang in $ALL_LINGUAS; do
14721
if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
14722
desiredlanguages="$LINGUAS"
14724
desiredlanguages="$ALL_LINGUAS"
14726
for desiredlang in $desiredlanguages; do
14727
# Use the presentlang catalog if desiredlang is
14728
# a. equal to presentlang, or
14729
# b. a variant of presentlang (because in this case,
14730
# presentlang can be used as a fallback for messages
14731
# which are not translated in the desiredlang catalog).
14732
case "$desiredlang" in
14733
"$presentlang"*) useit=yes;;
14736
if test $useit = yes; then
14737
NEW_LINGUAS="$NEW_LINGUAS $presentlang"
14740
LINGUAS=$NEW_LINGUAS
14741
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
14742
$as_echo "$LINGUAS" >&6; }
14745
if test -n "$LINGUAS"; then
14746
for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
14751
if test -n "$ac_aux_dir"; then
14752
MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
14754
if test -z "$MKINSTALLDIRS"; then
14755
MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
14759
test -d po || mkdir po
14760
if test "x$srcdir" != "x."; then
14761
if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
14762
posrcprefix="$srcdir/"
14764
posrcprefix="../$srcdir/"
14770
sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
14771
< $srcdir/po/POTFILES.in > po/POTFILES
14774
###########################
14775
# gcov coverage reporting
14776
###########################
14778
# Checks for existence of coverage tools:
14784
# Sets ac_cv_check_gcov to yes if tooling is present
14785
# and reports the executables to the variables LCOV, GCOVR and GENHTML.
14789
# Check whether --enable-gcov was given.
14790
if test "${enable_gcov+set}" = set; then :
14791
enableval=$enable_gcov; use_gcov=$enableval
14797
if test "x$use_gcov" = "xyes"; then
14799
if test "$GCC" != "yes"; then
14800
as_fn_error $? "GCC is required for --enable-gcov" "$LINENO" 5
14803
# Check if ccache is being used
14804
# Extract the first word of "shtool", so it can be a program name with args.
14805
set dummy shtool; ac_word=$2
14806
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14807
$as_echo_n "checking for $ac_word... " >&6; }
14808
if ${ac_cv_prog_SHTOOL+:} false; then :
14809
$as_echo_n "(cached) " >&6
14811
if test -n "$SHTOOL"; then
14812
ac_cv_prog_SHTOOL="$SHTOOL" # Let the user override the test.
14814
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14815
for as_dir in $PATH
14818
test -z "$as_dir" && as_dir=.
14819
for ac_exec_ext in '' $ac_executable_extensions; do
14820
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14821
ac_cv_prog_SHTOOL="shtool"
14822
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14831
SHTOOL=$ac_cv_prog_SHTOOL
14832
if test -n "$SHTOOL"; then
14833
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $SHTOOL" >&5
14834
$as_echo "$SHTOOL" >&6; }
14836
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14837
$as_echo "no" >&6; }
14841
case `$SHTOOL path $CC` in
14842
*ccache*) gcc_ccache=yes;;
14846
if test "$gcc_ccache" = "yes" && (test -z "$CCACHE_DISABLE" || test "$CCACHE_DISABLE" != "1"); then
14847
as_fn_error $? "ccache must be disabled when --enable-gcov option is used. You can disable ccache by setting environment variable CCACHE_DISABLE=1." "$LINENO" 5
14850
lcov_version_list="1.6 1.7 1.8 1.9"
14851
# Extract the first word of "lcov", so it can be a program name with args.
14852
set dummy lcov; ac_word=$2
14853
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14854
$as_echo_n "checking for $ac_word... " >&6; }
14855
if ${ac_cv_prog_LCOV+:} false; then :
14856
$as_echo_n "(cached) " >&6
14858
if test -n "$LCOV"; then
14859
ac_cv_prog_LCOV="$LCOV" # Let the user override the test.
14861
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14862
for as_dir in $PATH
14865
test -z "$as_dir" && as_dir=.
14866
for ac_exec_ext in '' $ac_executable_extensions; do
14867
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14868
ac_cv_prog_LCOV="lcov"
14869
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14878
LCOV=$ac_cv_prog_LCOV
14879
if test -n "$LCOV"; then
14880
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LCOV" >&5
14881
$as_echo "$LCOV" >&6; }
14883
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14884
$as_echo "no" >&6; }
14888
# Extract the first word of "genhtml", so it can be a program name with args.
14889
set dummy genhtml; ac_word=$2
14890
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14891
$as_echo_n "checking for $ac_word... " >&6; }
14892
if ${ac_cv_prog_GENHTML+:} false; then :
14893
$as_echo_n "(cached) " >&6
14895
if test -n "$GENHTML"; then
14896
ac_cv_prog_GENHTML="$GENHTML" # Let the user override the test.
14898
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14899
for as_dir in $PATH
14902
test -z "$as_dir" && as_dir=.
14903
for ac_exec_ext in '' $ac_executable_extensions; do
14904
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14905
ac_cv_prog_GENHTML="genhtml"
14906
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14915
GENHTML=$ac_cv_prog_GENHTML
14916
if test -n "$GENHTML"; then
14917
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GENHTML" >&5
14918
$as_echo "$GENHTML" >&6; }
14920
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14921
$as_echo "no" >&6; }
14926
if test "$LCOV"; then
14927
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for lcov version" >&5
14928
$as_echo_n "checking for lcov version... " >&6; }
14929
if ${glib_cv_lcov_version+:} false; then :
14930
$as_echo_n "(cached) " >&6
14933
glib_cv_lcov_version=invalid
14934
lcov_version=`$LCOV -v 2>/dev/null | $SED -e 's/^.* //'`
14935
for lcov_check_version in $lcov_version_list; do
14936
if test "$lcov_version" = "$lcov_check_version"; then
14937
glib_cv_lcov_version="$lcov_check_version (ok)"
14942
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glib_cv_lcov_version" >&5
14943
$as_echo "$glib_cv_lcov_version" >&6; }
14945
lcov_msg="To enable code coverage reporting you must have one of the following lcov versions installed: $lcov_version_list"
14946
as_fn_error $? "$lcov_msg" "$LINENO" 5
14949
case $glib_cv_lcov_version in
14951
lcov_msg="You must have one of the following versions of lcov: $lcov_version_list (found: $lcov_version)."
14952
as_fn_error $? "$lcov_msg" "$LINENO" 5
14957
if test -z "$GENHTML"; then
14958
as_fn_error $? "Could not find genhtml from the lcov package" "$LINENO" 5
14961
ac_cv_check_gcov=yes
14962
ac_cv_check_lcov=yes
14964
# Remove all optimization flags from CFLAGS
14966
CFLAGS=`echo "$CFLAGS" | $SED -e 's/-O[0-9]*//g'`
14969
# Add the special gcc flags
14970
COVERAGE_CFLAGS="-O0 -fprofile-arcs -ftest-coverage"
14971
COVERAGE_CXXFLAGS="-O0 -fprofile-arcs -ftest-coverage"
14972
COVERAGE_LDFLAGS="-lgcov"
14974
# Check availability of gcovr
14975
# Extract the first word of "gcovr", so it can be a program name with args.
14976
set dummy gcovr; ac_word=$2
14977
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14978
$as_echo_n "checking for $ac_word... " >&6; }
14979
if ${ac_cv_prog_GCOVR+:} false; then :
14980
$as_echo_n "(cached) " >&6
14982
if test -n "$GCOVR"; then
14983
ac_cv_prog_GCOVR="$GCOVR" # Let the user override the test.
14985
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14986
for as_dir in $PATH
14989
test -z "$as_dir" && as_dir=.
14990
for ac_exec_ext in '' $ac_executable_extensions; do
14991
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14992
ac_cv_prog_GCOVR="gcovr"
14993
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15002
GCOVR=$ac_cv_prog_GCOVR
15003
if test -n "$GCOVR"; then
15004
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCOVR" >&5
15005
$as_echo "$GCOVR" >&6; }
15007
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15008
$as_echo "no" >&6; }
15012
if test -z "$GCOVR"; then
15013
ac_cv_check_gcovr=no
15015
ac_cv_check_gcovr=yes
15020
if test "x$ac_cv_check_gcov" = xyes; then
15022
HAVE_GCOV_FALSE='#'
15028
if test "x$ac_cv_check_lcov" = xyes; then
15030
HAVE_LCOV_FALSE='#'
15036
if test "x$ac_cv_check_gcovr" = xyes; then
15038
HAVE_GCOVR_FALSE='#'
15040
HAVE_GCOVR_TRUE='#'
15047
###########################
15049
###########################
15051
if test "x$has_gudev" = "xtrue"; then
15053
HAS_GUDEV_FALSE='#'
15060
ac_config_files="$ac_config_files Makefile src/Makefile data/Makefile data/icons/Makefile data/icons/16x16/Makefile data/icons/16x16/actions/Makefile data/icons/16x16/status/Makefile data/icons/22x22/Makefile data/icons/22x22/actions/Makefile data/icons/22x22/status/Makefile data/icons/24x24/Makefile data/icons/24x24/actions/Makefile data/icons/24x24/status/Makefile data/icons/32x32/Makefile data/icons/32x32/actions/Makefile data/icons/32x32/status/Makefile data/icons/scalable/Makefile data/icons/scalable/actions/Makefile data/icons/scalable/status/Makefile data/extra-sessions/Makefile po/Makefile.in"
15063
cat >confcache <<\_ACEOF
15064
# This file is a shell script that caches the results of configure
15065
# tests run on this system so they can be shared between configure
15066
# scripts and configure runs, see configure's option --config-cache.
15067
# It is not useful on other systems. If it contains results you don't
15068
# want to keep, you may remove or edit it.
15070
# config.status only pays attention to the cache file if you give it
15071
# the --recheck option to rerun configure.
15073
# `ac_cv_env_foo' variables (set or unset) will be overridden when
15074
# loading this file, other *unset* `ac_cv_foo' will be assigned the
15075
# following values.
15079
# The following way of writing the cache mishandles newlines in values,
15080
# but we know of no workaround that is simple, portable, and efficient.
15081
# So, we kill variables containing newlines.
15082
# Ultrix sh set writes to stderr and can't be redirected directly,
15083
# and sets the high bit in the cache file unless we assign to the vars.
15085
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15086
eval ac_val=\$$ac_var
15090
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15091
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15094
_ | IFS | as_nl) ;; #(
15095
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15096
*) { eval $ac_var=; unset $ac_var;} ;;
15102
case $as_nl`(ac_space=' '; set) 2>&1` in #(
15103
*${as_nl}ac_space=\ *)
15104
# `set' does not quote correctly, so add quotes: double-quote
15105
# substitution turns \\\\ into \\, and sed turns \\ into \.
15108
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15111
# `set' quotes correctly as required by POSIX, so do not add quotes.
15112
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15121
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15123
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15125
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15126
if test -w "$cache_file"; then
15127
if test "x$cache_file" != "x/dev/null"; then
15128
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15129
$as_echo "$as_me: updating cache $cache_file" >&6;}
15130
if test ! -f "$cache_file" || test -h "$cache_file"; then
15131
cat confcache >"$cache_file"
15133
case $cache_file in #(
15135
mv -f confcache "$cache_file"$$ &&
15136
mv -f "$cache_file"$$ "$cache_file" ;; #(
15138
mv -f confcache "$cache_file" ;;
15143
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15144
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15149
test "x$prefix" = xNONE && prefix=$ac_default_prefix
15150
# Let make expand exec_prefix.
15151
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15153
DEFS=-DHAVE_CONFIG_H
15158
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15159
# 1. Remove the extension, and $U if already installed.
15160
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15161
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15162
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15163
# will be set to the directory where LIBOBJS objects are built.
15164
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15165
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15167
LIBOBJS=$ac_libobjs
15169
LTLIBOBJS=$ac_ltlibobjs
15172
if test -n "$EXEEXT"; then
15174
am__EXEEXT_FALSE='#'
15176
am__EXEEXT_TRUE='#'
15180
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15181
as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
15182
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15184
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15185
as_fn_error $? "conditional \"AMDEP\" was never defined.
15186
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15188
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15189
as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15190
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15193
ac_config_commands="$ac_config_commands po/stamp-it"
15196
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15197
as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15198
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15200
if test -z "${USE_GTK3_TRUE}" && test -z "${USE_GTK3_FALSE}"; then
15201
as_fn_error $? "conditional \"USE_GTK3\" was never defined.
15202
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15204
if test -z "${BUILD_GTKLOGOUTHELPER_TRUE}" && test -z "${BUILD_GTKLOGOUTHELPER_FALSE}"; then
15205
as_fn_error $? "conditional \"BUILD_GTKLOGOUTHELPER\" was never defined.
15206
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15208
if test -z "${BUILD_APT_TRUE}" && test -z "${BUILD_APT_FALSE}"; then
15209
as_fn_error $? "conditional \"BUILD_APT\" was never defined.
15210
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15212
if test -z "${HAVE_GCOV_TRUE}" && test -z "${HAVE_GCOV_FALSE}"; then
15213
as_fn_error $? "conditional \"HAVE_GCOV\" was never defined.
15214
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15216
if test -z "${HAVE_LCOV_TRUE}" && test -z "${HAVE_LCOV_FALSE}"; then
15217
as_fn_error $? "conditional \"HAVE_LCOV\" was never defined.
15218
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15220
if test -z "${HAVE_GCOVR_TRUE}" && test -z "${HAVE_GCOVR_FALSE}"; then
15221
as_fn_error $? "conditional \"HAVE_GCOVR\" was never defined.
15222
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15224
if test -z "${HAS_GUDEV_TRUE}" && test -z "${HAS_GUDEV_FALSE}"; then
15225
as_fn_error $? "conditional \"HAS_GUDEV\" was never defined.
15226
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15229
: "${CONFIG_STATUS=./config.status}"
15231
ac_clean_files_save=$ac_clean_files
15232
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15233
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15234
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15236
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15238
# Generated by $as_me.
15239
# Run this file to recreate the current configuration.
15240
# Compiler output produced by configure, useful for debugging
15241
# configure, is in config.log if it exists.
15244
ac_cs_recheck=false
15247
SHELL=\${CONFIG_SHELL-$SHELL}
15250
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15251
## -------------------- ##
15252
## M4sh Initialization. ##
15253
## -------------------- ##
15255
# Be more Bourne compatible
15256
DUALCASE=1; export DUALCASE # for MKS sh
15257
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15260
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15261
# is contrary to our usage. Disable this feature.
15262
alias -g '${1+"$@"}'='"$@"'
15263
setopt NO_GLOB_SUBST
15265
case `(set -o) 2>/dev/null` in #(
15277
# Printing a long string crashes Solaris 7 /usr/bin/printf.
15278
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15279
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15280
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15281
# Prefer a ksh shell builtin over an external printf program on Solaris,
15282
# but without wasting forks for bash or zsh.
15283
if test -z "$BASH_VERSION$ZSH_VERSION" \
15284
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15285
as_echo='print -r --'
15286
as_echo_n='print -rn --'
15287
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15288
as_echo='printf %s\n'
15289
as_echo_n='printf %s'
15291
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15292
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15293
as_echo_n='/usr/ucb/echo -n'
15295
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15296
as_echo_n_body='eval
15300
expr "X$arg" : "X\\(.*\\)$as_nl";
15301
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15303
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15305
export as_echo_n_body
15306
as_echo_n='sh -c $as_echo_n_body as_echo'
15308
export as_echo_body
15309
as_echo='sh -c $as_echo_body as_echo'
15312
# The user is always right.
15313
if test "${PATH_SEPARATOR+set}" != set; then
15315
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15316
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15323
# We need space, tab and new line, in precisely that order. Quoting is
15324
# there to prevent editors from complaining about space-tab.
15325
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
15326
# splitting by setting IFS to empty value.)
15329
# Find who we are. Look in the path if we contain no directory separator.
15332
*[\\/]* ) as_myself=$0 ;;
15333
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15334
for as_dir in $PATH
15337
test -z "$as_dir" && as_dir=.
15338
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15344
# We did not find ourselves, most probably we were run as `sh COMMAND'
15345
# in which case we are not to be found in the path.
15346
if test "x$as_myself" = x; then
15349
if test ! -f "$as_myself"; then
15350
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15354
# Unset variables that we do not need and which cause bugs (e.g. in
15355
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15356
# suppresses any "Segmentation fault" message there. '((' could
15357
# trigger a bug in pdksh 5.2.14.
15358
for as_var in BASH_ENV ENV MAIL MAILPATH
15359
do eval test x\${$as_var+set} = xset \
15360
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15373
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15376
# as_fn_error STATUS ERROR [LINENO LOG_FD]
15377
# ----------------------------------------
15378
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15379
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15380
# script with STATUS, using 1 if that was 0.
15383
as_status=$1; test $as_status -eq 0 && as_status=1
15385
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15386
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15388
$as_echo "$as_me: error: $2" >&2
15389
as_fn_exit $as_status
15393
# as_fn_set_status STATUS
15394
# -----------------------
15395
# Set $? to STATUS, without forking.
15396
as_fn_set_status ()
15399
} # as_fn_set_status
15401
# as_fn_exit STATUS
15402
# -----------------
15403
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15407
as_fn_set_status $1
15413
# Portably unset VAR.
15416
{ eval $1=; unset $1;}
15418
as_unset=as_fn_unset
15419
# as_fn_append VAR VALUE
15420
# ----------------------
15421
# Append the text in VALUE to the end of the definition contained in VAR. Take
15422
# advantage of any shell optimizations that allow amortized linear growth over
15423
# repeated appends, instead of the typical quadratic growth present in naive
15425
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15426
eval 'as_fn_append ()
15437
# as_fn_arith ARG...
15438
# ------------------
15439
# Perform arithmetic evaluation on the ARGs, and store the result in the
15440
# global $as_val. Take advantage of shells that can avoid forks. The arguments
15441
# must be portable across $(()) and expr.
15442
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15443
eval 'as_fn_arith ()
15450
as_val=`expr "$@" || test $? -eq 1`
15455
if expr a : '\(a\)' >/dev/null 2>&1 &&
15456
test "X`expr 00001 : '.*\(...\)'`" = X001; then
15462
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15463
as_basename=basename
15468
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15474
as_me=`$as_basename -- "$0" ||
15475
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15476
X"$0" : 'X\(//\)$' \| \
15477
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15479
sed '/^.*\/\([^/][^/]*\)\/*$/{
15493
# Avoid depending upon Character Ranges.
15494
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15495
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15496
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15497
as_cr_digits='0123456789'
15498
as_cr_alnum=$as_cr_Letters$as_cr_digits
15500
ECHO_C= ECHO_N= ECHO_T=
15501
case `echo -n x` in #(((((
15503
case `echo 'xy\c'` in
15504
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
15506
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
15513
rm -f conf$$ conf$$.exe conf$$.file
15514
if test -d conf$$.dir; then
15515
rm -f conf$$.dir/conf$$.file
15518
mkdir conf$$.dir 2>/dev/null
15520
if (echo >conf$$.file) 2>/dev/null; then
15521
if ln -s conf$$.file conf$$ 2>/dev/null; then
15523
# ... but there are two gotchas:
15524
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15525
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15526
# In both cases, we have to default to `cp -p'.
15527
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15529
elif ln conf$$.file conf$$ 2>/dev/null; then
15537
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15538
rmdir conf$$.dir 2>/dev/null
15543
# Create "$as_dir" as a directory, including parents if necessary.
15548
-*) as_dir=./$as_dir;;
15550
test -d "$as_dir" || eval $as_mkdir_p || {
15554
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15555
*) as_qdir=$as_dir;;
15557
as_dirs="'$as_qdir' $as_dirs"
15558
as_dir=`$as_dirname -- "$as_dir" ||
15559
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15560
X"$as_dir" : 'X\(//\)[^/]' \| \
15561
X"$as_dir" : 'X\(//\)$' \| \
15562
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15563
$as_echo X"$as_dir" |
15564
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15568
/^X\(\/\/\)[^/].*/{
15581
test -d "$as_dir" && break
15583
test -z "$as_dirs" || eval "mkdir $as_dirs"
15584
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15588
if mkdir -p . 2>/dev/null; then
15589
as_mkdir_p='mkdir -p "$as_dir"'
15591
test -d ./-p && rmdir ./-p
15595
if test -x / >/dev/null 2>&1; then
15596
as_test_x='test -x'
15598
if ls -dL / >/dev/null 2>&1; then
15605
if test -d "$1"; then
15611
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15612
???[sx]*):;;*)false;;esac;fi
15616
as_executable_p=$as_test_x
15618
# Sed expression to map a string onto a valid CPP name.
15619
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15621
# Sed expression to map a string onto a valid variable name.
15622
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15626
## ----------------------------------- ##
15627
## Main body of $CONFIG_STATUS script. ##
15628
## ----------------------------------- ##
15630
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15632
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15633
# Save the log message, to keep $0 and so on meaningful, and to
15634
# report actual input values of CONFIG_FILES etc. instead of their
15635
# values after options handling.
15637
This file was extended by $as_me, which was
15638
generated by GNU Autoconf 2.68. Invocation command line was
15640
CONFIG_FILES = $CONFIG_FILES
15641
CONFIG_HEADERS = $CONFIG_HEADERS
15642
CONFIG_LINKS = $CONFIG_LINKS
15643
CONFIG_COMMANDS = $CONFIG_COMMANDS
15646
on `(hostname || uname -n) 2>/dev/null | sed 1q`
15651
case $ac_config_files in *"
15652
"*) set x $ac_config_files; shift; ac_config_files=$*;;
15655
case $ac_config_headers in *"
15656
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15660
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15661
# Files that config.status was made for.
15662
config_files="$ac_config_files"
15663
config_headers="$ac_config_headers"
15664
config_commands="$ac_config_commands"
15668
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15670
\`$as_me' instantiates files and other configuration actions
15671
from templates according to the current configuration. Unless the files
15672
and actions are specified as TAGs, all are instantiated by default.
15674
Usage: $0 [OPTION]... [TAG]...
15676
-h, --help print this help, then exit
15677
-V, --version print version number and configuration settings, then exit
15678
--config print configuration, then exit
15679
-q, --quiet, --silent
15680
do not print progress messages
15681
-d, --debug don't remove temporary files
15682
--recheck update $as_me by reconfiguring in the same conditions
15683
--file=FILE[:TEMPLATE]
15684
instantiate the configuration file FILE
15685
--header=FILE[:TEMPLATE]
15686
instantiate the configuration header FILE
15688
Configuration files:
15691
Configuration headers:
15694
Configuration commands:
15697
Report bugs to the package provider."
15700
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15701
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15704
configured by $0, generated by GNU Autoconf 2.68,
15705
with options \\"\$ac_cs_config\\"
15707
Copyright (C) 2010 Free Software Foundation, Inc.
15708
This config.status script is free software; the Free Software Foundation
15709
gives unlimited permission to copy, distribute and modify it."
15716
test -n "\$AWK" || AWK=awk
15719
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15720
# The default lists apply if the user does not specify any file.
15726
ac_option=`expr "X$1" : 'X\([^=]*\)='`
15727
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15731
ac_option=`expr "X$1" : 'X\([^=]*\)='`
15743
# Handling of the options.
15744
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15746
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15747
$as_echo "$ac_cs_version"; exit ;;
15748
--config | --confi | --conf | --con | --co | --c )
15749
$as_echo "$ac_cs_config"; exit ;;
15750
--debug | --debu | --deb | --de | --d | -d )
15752
--file | --fil | --fi | --f )
15755
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15756
'') as_fn_error $? "missing file argument" ;;
15758
as_fn_append CONFIG_FILES " '$ac_optarg'"
15759
ac_need_defaults=false;;
15760
--header | --heade | --head | --hea )
15763
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15765
as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15766
ac_need_defaults=false;;
15768
# Conflict between --help and --header
15769
as_fn_error $? "ambiguous option: \`$1'
15770
Try \`$0 --help' for more information.";;
15771
--help | --hel | -h )
15772
$as_echo "$ac_cs_usage"; exit ;;
15773
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
15774
| -silent | --silent | --silen | --sile | --sil | --si | --s)
15777
# This is an error.
15778
-*) as_fn_error $? "unrecognized option: \`$1'
15779
Try \`$0 --help' for more information." ;;
15781
*) as_fn_append ac_config_targets " $1"
15782
ac_need_defaults=false ;;
15788
ac_configure_extra_args=
15790
if $ac_cs_silent; then
15792
ac_configure_extra_args="$ac_configure_extra_args --silent"
15796
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15797
if \$ac_cs_recheck; then
15798
set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15800
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15801
CONFIG_SHELL='$SHELL'
15802
export CONFIG_SHELL
15807
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15811
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15812
## Running $as_me. ##
15818
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15822
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15825
# The HP-UX ksh and POSIX shell print the target directory to stdout
15826
# if CDPATH is set.
15827
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15829
sed_quote_subst='$sed_quote_subst'
15830
double_quote_subst='$double_quote_subst'
15831
delay_variable_subst='$delay_variable_subst'
15832
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15833
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15834
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15835
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15836
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15837
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15838
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15839
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15840
PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15841
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15842
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15843
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15844
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15845
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15846
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15847
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15848
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15849
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15850
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15851
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15852
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15853
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15854
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15855
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15856
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15857
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15858
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15859
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15860
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15861
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15862
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15863
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15864
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15865
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15866
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15867
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15868
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15869
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15870
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15871
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15872
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15873
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15874
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15875
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15876
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15877
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15878
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15879
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15880
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15881
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15882
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15883
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15884
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15885
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15886
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15887
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15888
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"`'
15889
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15890
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15891
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15892
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15893
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15894
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15895
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15896
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15897
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15898
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15899
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15900
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15901
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15902
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15903
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15904
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15905
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15906
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15907
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15908
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15909
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15910
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15911
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15912
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15913
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15914
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15915
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15916
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15917
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15918
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15919
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15920
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15921
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15922
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15923
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15924
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15925
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15926
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15927
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15928
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15929
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15930
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15931
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15932
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15933
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15934
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15935
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15936
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15937
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15938
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15939
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15940
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15941
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15942
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15943
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15944
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15945
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15946
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15947
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15948
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15949
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15950
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15951
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15952
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15953
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15954
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15955
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15956
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15957
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15958
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15959
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15960
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15961
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15964
LTCFLAGS='$LTCFLAGS'
15965
compiler='$compiler_DEFAULT'
15967
# A function that is used when there is no print builtin or printf.
15968
func_fallback_echo ()
15970
eval 'cat <<_LTECHO_EOF
15975
# Quote evaled strings.
15990
deplibs_check_method \
15995
sharedlib_from_linklib_cmd \
15998
archiver_list_spec \
16004
lt_cv_sys_global_symbol_pipe \
16005
lt_cv_sys_global_symbol_to_cdecl \
16006
lt_cv_sys_global_symbol_to_c_name_address \
16007
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16008
nm_file_list_spec \
16009
lt_prog_compiler_no_builtin_flag \
16010
lt_prog_compiler_pic \
16011
lt_prog_compiler_wl \
16012
lt_prog_compiler_static \
16013
lt_cv_prog_compiler_c_o \
16022
export_dynamic_flag_spec \
16023
whole_archive_flag_spec \
16024
compiler_needs_object \
16026
allow_undefined_flag \
16027
no_undefined_flag \
16028
hardcode_libdir_flag_spec \
16029
hardcode_libdir_separator \
16033
variables_saved_for_relink \
16035
library_names_spec \
16037
install_override_mode \
16041
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16042
*[\\\\\\\`\\"\\\$]*)
16043
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16046
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16051
# Double-quote double-evaled strings.
16052
for var in reload_cmds \
16053
old_postinstall_cmds \
16054
old_postuninstall_cmds \
16056
extract_expsyms_cmds \
16057
old_archive_from_new_cmds \
16058
old_archive_from_expsyms_cmds \
16060
archive_expsym_cmds \
16062
module_expsym_cmds \
16063
export_symbols_cmds \
16067
postuninstall_cmds \
16069
sys_lib_search_path_spec \
16070
sys_lib_dlsearch_path_spec; do
16071
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16072
*[\\\\\\\`\\"\\\$]*)
16073
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16076
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16081
ac_aux_dir='$ac_aux_dir'
16082
xsi_shell='$xsi_shell'
16083
lt_shell_append='$lt_shell_append'
16085
# See if we are running on zsh, and set the options which allow our
16086
# commands through without removal of \ escapes INIT.
16087
if test -n "\${ZSH_VERSION+set}" ; then
16088
setopt NO_GLOB_SUBST
16094
TIMESTAMP='$TIMESTAMP'
16104
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16106
# Handling of arguments.
16107
for ac_config_target in $ac_config_targets
16109
case $ac_config_target in
16110
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16111
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16112
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16113
"default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
16114
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16115
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16116
"data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
16117
"data/icons/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/Makefile" ;;
16118
"data/icons/16x16/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/16x16/Makefile" ;;
16119
"data/icons/16x16/actions/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/16x16/actions/Makefile" ;;
16120
"data/icons/16x16/status/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/16x16/status/Makefile" ;;
16121
"data/icons/22x22/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/22x22/Makefile" ;;
16122
"data/icons/22x22/actions/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/22x22/actions/Makefile" ;;
16123
"data/icons/22x22/status/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/22x22/status/Makefile" ;;
16124
"data/icons/24x24/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/24x24/Makefile" ;;
16125
"data/icons/24x24/actions/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/24x24/actions/Makefile" ;;
16126
"data/icons/24x24/status/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/24x24/status/Makefile" ;;
16127
"data/icons/32x32/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/32x32/Makefile" ;;
16128
"data/icons/32x32/actions/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/32x32/actions/Makefile" ;;
16129
"data/icons/32x32/status/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/32x32/status/Makefile" ;;
16130
"data/icons/scalable/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/scalable/Makefile" ;;
16131
"data/icons/scalable/actions/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/scalable/actions/Makefile" ;;
16132
"data/icons/scalable/status/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/scalable/status/Makefile" ;;
16133
"data/extra-sessions/Makefile") CONFIG_FILES="$CONFIG_FILES data/extra-sessions/Makefile" ;;
16134
"po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
16135
"po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
16137
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16142
# If the user did not use the arguments to specify the items to instantiate,
16143
# then the envvar interface is used. Set only those that are not.
16144
# We use the long form for the default assignment because of an extremely
16145
# bizarre bug on SunOS 4.1.3.
16146
if $ac_need_defaults; then
16147
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16148
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16149
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16152
# Have a temporary directory for convenience. Make it in the build tree
16153
# simply because there is no reason against having it here, and in addition,
16154
# creating and moving files from /tmp can sometimes cause problems.
16155
# Hook for its removal unless debugging.
16156
# Note that there is a small window in which the directory will not be cleaned:
16157
# after its creation but before its name has been assigned to `$tmp'.
16161
trap 'exit_status=$?
16162
: "${ac_tmp:=$tmp}"
16163
{ test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16165
trap 'as_fn_exit 1' 1 2 13 15
16167
# Create a (secure) tmp directory for tmp files.
16170
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16174
tmp=./conf$$-$RANDOM
16175
(umask 077 && mkdir "$tmp")
16176
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16179
# Set up the scripts for CONFIG_FILES section.
16180
# No need to generate them if there are no CONFIG_FILES.
16181
# This happens for instance with `./config.status config.h'.
16182
if test -n "$CONFIG_FILES"; then
16185
ac_cr=`echo X | tr X '\015'`
16186
# On cygwin, bash can eat \r inside `` if the user requested igncr.
16187
# But we know of no other shell where ac_cr would be empty at this
16188
# point, so we can use a bashism as a fallback.
16189
if test "x$ac_cr" = x; then
16190
eval ac_cr=\$\'\\r\'
16192
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16193
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16196
ac_cs_awk_cr=$ac_cr
16199
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16204
echo "cat >conf$$subs.awk <<_ACEOF" &&
16205
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16207
} >conf$$subs.sh ||
16208
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16209
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16211
for ac_last_try in false false false false false :; do
16212
. ./conf$$subs.sh ||
16213
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16215
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16216
if test $ac_delim_n = $ac_delim_num; then
16218
elif $ac_last_try; then
16219
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16221
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16224
rm -f conf$$subs.sh
16226
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16227
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16231
s/^/S["/; s/!.*/"]=/
16241
s/\(.\{148\}\)..*/\1/
16243
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16248
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16255
s/\(.\{148\}\)..*/\1/
16257
s/["\\]/\\&/g; s/^/"/; s/$/"/
16261
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16266
' <conf$$subs.awk | sed '
16271
' >>$CONFIG_STATUS || ac_write_fail=1
16272
rm -f conf$$subs.awk
16273
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16275
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16276
for (key in S) S_is_set[key] = 1
16282
nfields = split(line, field, "@")
16284
len = length(field[1])
16285
for (i = 2; i < nfields; i++) {
16287
keylen = length(key)
16288
if (S_is_set[key]) {
16290
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16291
len += length(value) + length(field[++i])
16302
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16303
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16304
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16307
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16308
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16311
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16312
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16313
# trailing colons and then remove the whole line if VPATH becomes empty
16314
# (actually we leave an empty line to preserve line numbers).
16315
if test "x$srcdir" = x.; then
16316
ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16334
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16335
fi # test -n "$CONFIG_FILES"
16337
# Set up the scripts for CONFIG_HEADERS section.
16338
# No need to generate them if there are no CONFIG_HEADERS.
16339
# This happens for instance with `./config.status Makefile'.
16340
if test -n "$CONFIG_HEADERS"; then
16341
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16345
# Transform confdefs.h into an awk script `defines.awk', embedded as
16346
# here-document in config.status, that substitutes the proper values into
16347
# config.h.in to produce config.h.
16349
# Create a delimiter string that does not exist in confdefs.h, to ease
16350
# handling of long lines.
16352
for ac_last_try in false false :; do
16353
ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16354
if test -z "$ac_tt"; then
16356
elif $ac_last_try; then
16357
as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16359
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16363
# For the awk script, D is an array of macro values keyed by name,
16364
# likewise P contains macro parameters if any. Preserve backslash
16365
# newline sequences.
16367
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16369
s/.\{148\}/&'"$ac_delim"'/g
16372
s/^[ ]*#[ ]*define[ ][ ]*/ /
16379
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16381
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
16385
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16386
D["\1"]=" \3\\\\\\n"\\/p
16388
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16393
s/.\{148\}/&'"$ac_delim"'/g
16398
s/["\\]/\\&/g; s/^/"/; s/$/"/p
16401
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16403
' <confdefs.h | sed '
16404
s/'"$ac_delim"'/"\\\
16405
"/g' >>$CONFIG_STATUS || ac_write_fail=1
16407
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16408
for (key in D) D_is_set[key] = 1
16411
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16413
split(line, arg, " ")
16414
if (arg[1] == "#") {
16418
defundef = substr(arg[1], 2)
16421
split(mac1, mac2, "(") #)
16423
prefix = substr(line, 1, index(line, defundef) - 1)
16424
if (D_is_set[macro]) {
16425
# Preserve the white space surrounding the "#".
16426
print prefix "define", macro P[macro] D[macro]
16429
# Replace #undef with comments. This is necessary, for example,
16430
# in the case of _POSIX_SOURCE, which is predefined and required
16431
# on some systems where configure will not decide to define it.
16432
if (defundef == "undef") {
16433
print "/*", prefix defundef, macro, "*/"
16441
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16442
as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16443
fi # test -n "$CONFIG_HEADERS"
16446
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16451
:[FHLC]) ac_mode=$ac_tag; continue;;
16453
case $ac_mode$ac_tag in
16455
:L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16456
:[FH]-) ac_tag=-:-;;
16457
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16474
-) ac_f="$ac_tmp/stdin";;
16475
*) # Look for the file first in the build tree, then in the source tree
16476
# (if the path is not absolute). The absolute path cannot be DOS-style,
16477
# because $ac_f cannot contain `:'.
16481
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16483
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16485
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16486
as_fn_append ac_file_inputs " '$ac_f'"
16489
# Let's still pretend it is `configure' which instantiates (i.e., don't
16490
# use $as_me), people would be surprised to read:
16491
# /* config.h. Generated by config.status. */
16492
configure_input='Generated from '`
16493
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16495
if test x"$ac_file" != x-; then
16496
configure_input="$ac_file. $configure_input"
16497
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16498
$as_echo "$as_me: creating $ac_file" >&6;}
16500
# Neutralize special characters interpreted by sed in replacement strings.
16501
case $configure_input in #(
16502
*\&* | *\|* | *\\* )
16503
ac_sed_conf_input=`$as_echo "$configure_input" |
16504
sed 's/[\\\\&|]/\\\\&/g'`;; #(
16505
*) ac_sed_conf_input=$configure_input;;
16509
*:-:* | *:-) cat >"$ac_tmp/stdin" \
16510
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16515
ac_dir=`$as_dirname -- "$ac_file" ||
16516
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16517
X"$ac_file" : 'X\(//\)[^/]' \| \
16518
X"$ac_file" : 'X\(//\)$' \| \
16519
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16520
$as_echo X"$ac_file" |
16521
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16525
/^X\(\/\/\)[^/].*/{
16538
as_dir="$ac_dir"; as_fn_mkdir_p
16542
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16544
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16545
# A ".." for each directory in $ac_dir_suffix.
16546
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16547
case $ac_top_builddir_sub in
16548
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16549
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16552
ac_abs_top_builddir=$ac_pwd
16553
ac_abs_builddir=$ac_pwd$ac_dir_suffix
16554
# for backward compatibility:
16555
ac_top_builddir=$ac_top_build_prefix
16558
.) # We are building in place.
16560
ac_top_srcdir=$ac_top_builddir_sub
16561
ac_abs_top_srcdir=$ac_pwd ;;
16562
[\\/]* | ?:[\\/]* ) # Absolute name.
16563
ac_srcdir=$srcdir$ac_dir_suffix;
16564
ac_top_srcdir=$srcdir
16565
ac_abs_top_srcdir=$srcdir ;;
16566
*) # Relative name.
16567
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16568
ac_top_srcdir=$ac_top_build_prefix$srcdir
16569
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16571
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16581
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16582
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16584
ac_MKDIR_P=$MKDIR_P
16586
[\\/$]* | ?:[\\/]* ) ;;
16587
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16591
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16592
# If the template does not know about datarootdir, expand it.
16593
# FIXME: This hack should be removed a few years after 2.60.
16594
ac_datarootdir_hack=; ac_datarootdir_seen=
16605
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16606
*datarootdir*) ac_datarootdir_seen=yes;;
16607
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16608
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16609
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16611
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16612
ac_datarootdir_hack='
16613
s&@datadir@&$datadir&g
16614
s&@docdir@&$docdir&g
16615
s&@infodir@&$infodir&g
16616
s&@localedir@&$localedir&g
16617
s&@mandir@&$mandir&g
16618
s&\\\${datarootdir}&$datarootdir&g' ;;
16622
# Neutralize VPATH when `$srcdir' = `.'.
16623
# Shell code in configure.ac might set extrasub.
16624
# FIXME: do we really want to maintain this feature?
16625
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16626
ac_sed_extra="$ac_vpsub
16629
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16631
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16632
s|@configure_input@|$ac_sed_conf_input|;t t
16633
s&@top_builddir@&$ac_top_builddir_sub&;t t
16634
s&@top_build_prefix@&$ac_top_build_prefix&;t t
16635
s&@srcdir@&$ac_srcdir&;t t
16636
s&@abs_srcdir@&$ac_abs_srcdir&;t t
16637
s&@top_srcdir@&$ac_top_srcdir&;t t
16638
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16639
s&@builddir@&$ac_builddir&;t t
16640
s&@abs_builddir@&$ac_abs_builddir&;t t
16641
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16642
s&@INSTALL@&$ac_INSTALL&;t t
16643
s&@MKDIR_P@&$ac_MKDIR_P&;t t
16644
$ac_datarootdir_hack
16646
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16647
>$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16649
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16650
{ ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16651
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16652
"$ac_tmp/out"`; test -z "$ac_out"; } &&
16653
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16654
which seems to be undefined. Please make sure it is defined" >&5
16655
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16656
which seems to be undefined. Please make sure it is defined" >&2;}
16658
rm -f "$ac_tmp/stdin"
16660
-) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16661
*) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16663
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
16669
if test x"$ac_file" != x-; then
16671
$as_echo "/* $configure_input */" \
16672
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16673
} >"$ac_tmp/config.h" \
16674
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
16675
if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16676
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16677
$as_echo "$as_me: $ac_file is unchanged" >&6;}
16680
mv "$ac_tmp/config.h" "$ac_file" \
16681
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
16684
$as_echo "/* $configure_input */" \
16685
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16686
|| as_fn_error $? "could not create -" "$LINENO" 5
16688
# Compute "$ac_file"'s index in $config_headers.
16691
for _am_header in $config_headers :; do
16692
case $_am_header in
16693
$_am_arg | $_am_arg:* )
16696
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
16699
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16700
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16701
X"$_am_arg" : 'X\(//\)[^/]' \| \
16702
X"$_am_arg" : 'X\(//\)$' \| \
16703
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16704
$as_echo X"$_am_arg" |
16705
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16709
/^X\(\/\/\)[^/].*/{
16721
s/.*/./; q'`/stamp-h$_am_stamp_count
16724
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16725
$as_echo "$as_me: executing $ac_file commands" >&6;}
16730
case $ac_file$ac_mode in
16731
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16732
# Autoconf 2.62 quotes --file arguments for eval, but not when files
16733
# are listed without --file. Let's play safe and only enable the eval
16734
# if we detect the quoting.
16735
case $CONFIG_FILES in
16736
*\'*) eval set x "$CONFIG_FILES" ;;
16737
*) set x $CONFIG_FILES ;;
16742
# Strip MF so we end up with the name of the file.
16743
mf=`echo "$mf" | sed -e 's/:.*$//'`
16744
# Check whether this is an Automake generated Makefile or not.
16745
# We used to match only the files named `Makefile.in', but
16746
# some people rename them; so instead we look at the file content.
16747
# Grep'ing the first line is not enough: some people post-process
16748
# each Makefile.in and add a new line on top of each file to say so.
16749
# Grep'ing the whole file is not good either: AIX grep has a line
16750
# limit of 2048, but all sed's we know have understand at least 4000.
16751
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16752
dirpart=`$as_dirname -- "$mf" ||
16753
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16754
X"$mf" : 'X\(//\)[^/]' \| \
16755
X"$mf" : 'X\(//\)$' \| \
16756
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16758
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16762
/^X\(\/\/\)[^/].*/{
16778
# Extract the definition of DEPDIR, am__include, and am__quote
16779
# from the Makefile without running `make'.
16780
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16781
test -z "$DEPDIR" && continue
16782
am__include=`sed -n 's/^am__include = //p' < "$mf"`
16783
test -z "am__include" && continue
16784
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16785
# When using ansi2knr, U may be empty or an underscore; expand it
16786
U=`sed -n 's/^U = //p' < "$mf"`
16787
# Find all dependency output files, they are included files with
16788
# $(DEPDIR) in their names. We invoke sed twice because it is the
16789
# simplest approach to changing $(DEPDIR) to its actual value in the
16791
for file in `sed -n "
16792
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16793
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16794
# Make sure the directory exists.
16795
test -f "$dirpart/$file" && continue
16796
fdir=`$as_dirname -- "$file" ||
16797
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16798
X"$file" : 'X\(//\)[^/]' \| \
16799
X"$file" : 'X\(//\)$' \| \
16800
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16801
$as_echo X"$file" |
16802
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16806
/^X\(\/\/\)[^/].*/{
16819
as_dir=$dirpart/$fdir; as_fn_mkdir_p
16820
# echo "creating $dirpart/$file"
16821
echo '# dummy' > "$dirpart/$file"
16828
# See if we are running on zsh, and set the options which allow our
16829
# commands through without removal of \ escapes.
16830
if test -n "${ZSH_VERSION+set}" ; then
16831
setopt NO_GLOB_SUBST
16834
cfgfile="${ofile}T"
16835
trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16838
cat <<_LT_EOF >> "$cfgfile"
16841
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16842
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16843
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16844
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
16846
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16847
# 2006, 2007, 2008, 2009, 2010, 2011 Free Software
16849
# Written by Gordon Matzigkeit, 1996
16851
# This file is part of GNU Libtool.
16853
# GNU Libtool is free software; you can redistribute it and/or
16854
# modify it under the terms of the GNU General Public License as
16855
# published by the Free Software Foundation; either version 2 of
16856
# the License, or (at your option) any later version.
16858
# As a special exception to the GNU General Public License,
16859
# if you distribute this file as part of a program or library that
16860
# is built using GNU Libtool, you may include this file under the
16861
# same distribution terms that you use for the rest of that program.
16863
# GNU Libtool is distributed in the hope that it will be useful,
16864
# but WITHOUT ANY WARRANTY; without even the implied warranty of
16865
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16866
# GNU General Public License for more details.
16868
# You should have received a copy of the GNU General Public License
16869
# along with GNU Libtool; see the file COPYING. If not, a copy
16870
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16871
# obtained by writing to the Free Software Foundation, Inc.,
16872
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16875
# The names of the tagged configurations supported by this script.
16878
# ### BEGIN LIBTOOL CONFIG
16880
# Which release of libtool.m4 was used?
16881
macro_version=$macro_version
16882
macro_revision=$macro_revision
16884
# Whether or not to build shared libraries.
16885
build_libtool_libs=$enable_shared
16887
# Whether or not to build static libraries.
16888
build_old_libs=$enable_static
16890
# What type of objects to build.
16893
# Whether or not to optimize for fast installation.
16894
fast_install=$enable_fast_install
16896
# Shell to use when invoking shell scripts.
16899
# An echo program that protects backslashes.
16902
# The PATH separator for the build system.
16903
PATH_SEPARATOR=$lt_PATH_SEPARATOR
16906
host_alias=$host_alias
16910
# The build system.
16911
build_alias=$build_alias
16915
# A sed program that does not truncate output.
16918
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
16919
Xsed="\$SED -e 1s/^X//"
16921
# A grep program that handles long lines.
16927
# A literal string matcher.
16930
# A BSD- or MS-compatible name lister.
16933
# Whether we need soft or hard links.
16936
# What is the maximum length of a command?
16937
max_cmd_len=$max_cmd_len
16939
# Object file suffix (normally "o").
16942
# Executable file suffix (normally "").
16945
# whether the shell understands "unset".
16948
# turn spaces into newlines.
16951
# turn newlines into spaces.
16954
# convert \$build file names to \$host format.
16955
to_host_file_cmd=$lt_cv_to_host_file_cmd
16957
# convert \$build files to toolchain format.
16958
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16960
# An object symbol dumper.
16961
OBJDUMP=$lt_OBJDUMP
16963
# Method to check whether dependent libraries are shared objects.
16964
deplibs_check_method=$lt_deplibs_check_method
16966
# Command to use when deplibs_check_method = "file_magic".
16967
file_magic_cmd=$lt_file_magic_cmd
16969
# How to find potential files when deplibs_check_method = "file_magic".
16970
file_magic_glob=$lt_file_magic_glob
16972
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16973
want_nocaseglob=$lt_want_nocaseglob
16975
# DLL creation program.
16976
DLLTOOL=$lt_DLLTOOL
16978
# Command to associate shared and link libraries.
16979
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16984
# Flags to create an archive.
16985
AR_FLAGS=$lt_AR_FLAGS
16987
# How to feed a file listing to the archiver.
16988
archiver_list_spec=$lt_archiver_list_spec
16990
# A symbol stripping program.
16993
# Commands used to install an old-style archive.
16995
old_postinstall_cmds=$lt_old_postinstall_cmds
16996
old_postuninstall_cmds=$lt_old_postuninstall_cmds
16998
# Whether to use a lock for old archive extraction.
16999
lock_old_archive_extraction=$lock_old_archive_extraction
17004
# LTCC compiler flags.
17005
LTCFLAGS=$lt_CFLAGS
17007
# Take the output of nm and produce a listing of raw symbols and C names.
17008
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17010
# Transform the output of nm in a proper C declaration.
17011
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17013
# Transform the output of nm in a C name address pair.
17014
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17016
# Transform the output of nm in a C name address pair when lib prefix is needed.
17017
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17019
# Specify filename containing input files for \$NM.
17020
nm_file_list_spec=$lt_nm_file_list_spec
17022
# The root where to search for dependent libraries,and in which our libraries should be installed.
17023
lt_sysroot=$lt_sysroot
17025
# The name of the directory that contains temporary libtool files.
17028
# Used to examine libraries when file_magic_cmd begins with "file".
17029
MAGIC_CMD=$MAGIC_CMD
17031
# Must we lock files when doing compilation?
17032
need_locks=$lt_need_locks
17035
MANIFEST_TOOL=$lt_MANIFEST_TOOL
17037
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17038
DSYMUTIL=$lt_DSYMUTIL
17040
# Tool to change global to local symbols on Mac OS X.
17043
# Tool to manipulate fat objects and archives on Mac OS X.
17046
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
17049
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17050
OTOOL64=$lt_OTOOL64
17052
# Old archive suffix (normally "a").
17055
# Shared library suffix (normally ".so").
17056
shrext_cmds=$lt_shrext_cmds
17058
# The commands to extract the exported symbol list from a shared archive.
17059
extract_expsyms_cmds=$lt_extract_expsyms_cmds
17061
# Variables whose values should be saved in libtool wrapper scripts and
17062
# restored at link time.
17063
variables_saved_for_relink=$lt_variables_saved_for_relink
17065
# Do we need the "lib" prefix for modules?
17066
need_lib_prefix=$need_lib_prefix
17068
# Do we need a version for libraries?
17069
need_version=$need_version
17071
# Library versioning type.
17072
version_type=$version_type
17074
# Shared library runtime path variable.
17075
runpath_var=$runpath_var
17077
# Shared library path variable.
17078
shlibpath_var=$shlibpath_var
17080
# Is shlibpath searched before the hard-coded library search path?
17081
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17083
# Format of library name prefix.
17084
libname_spec=$lt_libname_spec
17086
# List of archive names. First name is the real one, the rest are links.
17087
# The last name is the one that the linker finds with -lNAME
17088
library_names_spec=$lt_library_names_spec
17090
# The coded name of the library, if different from the real name.
17091
soname_spec=$lt_soname_spec
17093
# Permission mode override for installation of shared libraries.
17094
install_override_mode=$lt_install_override_mode
17096
# Command to use after installation of a shared archive.
17097
postinstall_cmds=$lt_postinstall_cmds
17099
# Command to use after uninstallation of a shared archive.
17100
postuninstall_cmds=$lt_postuninstall_cmds
17102
# Commands used to finish a libtool library installation in a directory.
17103
finish_cmds=$lt_finish_cmds
17105
# As "finish_cmds", except a single script fragment to be evaled but
17107
finish_eval=$lt_finish_eval
17109
# Whether we should hardcode library paths into libraries.
17110
hardcode_into_libs=$hardcode_into_libs
17112
# Compile-time system search path for libraries.
17113
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17115
# Run-time system search path for libraries.
17116
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17118
# Whether dlopen is supported.
17119
dlopen_support=$enable_dlopen
17121
# Whether dlopen of programs is supported.
17122
dlopen_self=$enable_dlopen_self
17124
# Whether dlopen of statically linked programs is supported.
17125
dlopen_self_static=$enable_dlopen_self_static
17127
# Commands to strip libraries.
17128
old_striplib=$lt_old_striplib
17129
striplib=$lt_striplib
17132
# The linker used to build libraries.
17135
# How to create reloadable object files.
17136
reload_flag=$lt_reload_flag
17137
reload_cmds=$lt_reload_cmds
17139
# Commands used to build an old-style archive.
17140
old_archive_cmds=$lt_old_archive_cmds
17142
# A language specific compiler.
17145
# Is the compiler the GNU compiler?
17148
# Compiler flag to turn off builtin functions.
17149
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17151
# Additional compiler flags for building library objects.
17152
pic_flag=$lt_lt_prog_compiler_pic
17154
# How to pass a linker flag through the compiler.
17155
wl=$lt_lt_prog_compiler_wl
17157
# Compiler flag to prevent dynamic linking.
17158
link_static_flag=$lt_lt_prog_compiler_static
17160
# Does compiler simultaneously support -c and -o options?
17161
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17163
# Whether or not to add -lc for building shared libraries.
17164
build_libtool_need_lc=$archive_cmds_need_lc
17166
# Whether or not to disallow shared libs when runtime libs are static.
17167
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17169
# Compiler flag to allow reflexive dlopens.
17170
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17172
# Compiler flag to generate shared objects directly from archives.
17173
whole_archive_flag_spec=$lt_whole_archive_flag_spec
17175
# Whether the compiler copes with passing no objects directly.
17176
compiler_needs_object=$lt_compiler_needs_object
17178
# Create an old-style archive from a shared archive.
17179
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17181
# Create a temporary old-style archive to link instead of a shared archive.
17182
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17184
# Commands used to build a shared archive.
17185
archive_cmds=$lt_archive_cmds
17186
archive_expsym_cmds=$lt_archive_expsym_cmds
17188
# Commands used to build a loadable module if different from building
17189
# a shared archive.
17190
module_cmds=$lt_module_cmds
17191
module_expsym_cmds=$lt_module_expsym_cmds
17193
# Whether we are building with GNU ld or not.
17194
with_gnu_ld=$lt_with_gnu_ld
17196
# Flag that allows shared libraries with undefined symbols to be built.
17197
allow_undefined_flag=$lt_allow_undefined_flag
17199
# Flag that enforces no undefined symbols.
17200
no_undefined_flag=$lt_no_undefined_flag
17202
# Flag to hardcode \$libdir into a binary during linking.
17203
# This must work even if \$libdir does not exist
17204
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17206
# Whether we need a single "-rpath" flag with a separated argument.
17207
hardcode_libdir_separator=$lt_hardcode_libdir_separator
17209
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17210
# DIR into the resulting binary.
17211
hardcode_direct=$hardcode_direct
17213
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17214
# DIR into the resulting binary and the resulting library dependency is
17215
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17216
# library is relocated.
17217
hardcode_direct_absolute=$hardcode_direct_absolute
17219
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17220
# into the resulting binary.
17221
hardcode_minus_L=$hardcode_minus_L
17223
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17224
# into the resulting binary.
17225
hardcode_shlibpath_var=$hardcode_shlibpath_var
17227
# Set to "yes" if building a shared library automatically hardcodes DIR
17228
# into the library and all subsequent libraries and executables linked
17230
hardcode_automatic=$hardcode_automatic
17232
# Set to yes if linker adds runtime paths of dependent libraries
17233
# to runtime path list.
17234
inherit_rpath=$inherit_rpath
17236
# Whether libtool must link a program against all its dependency libraries.
17237
link_all_deplibs=$link_all_deplibs
17239
# Set to "yes" if exported symbols are required.
17240
always_export_symbols=$always_export_symbols
17242
# The commands to list exported symbols.
17243
export_symbols_cmds=$lt_export_symbols_cmds
17245
# Symbols that should not be listed in the preloaded symbols.
17246
exclude_expsyms=$lt_exclude_expsyms
17248
# Symbols that must always be exported.
17249
include_expsyms=$lt_include_expsyms
17251
# Commands necessary for linking programs (against libraries) with templates.
17252
prelink_cmds=$lt_prelink_cmds
17254
# Commands necessary for finishing linking programs.
17255
postlink_cmds=$lt_postlink_cmds
17257
# Specify filename containing input files.
17258
file_list_spec=$lt_file_list_spec
17260
# How to hardcode a shared library path into an executable.
17261
hardcode_action=$hardcode_action
17263
# ### END LIBTOOL CONFIG
17269
cat <<\_LT_EOF >> "$cfgfile"
17270
# AIX sometimes has problems with the GCC collect2 program. For some
17271
# reason, if we set the COLLECT_NAMES environment variable, the problems
17272
# vanish in a puff of smoke.
17273
if test "X${COLLECT_NAMES+set}" != Xset; then
17275
export COLLECT_NAMES
17282
ltmain="$ac_aux_dir/ltmain.sh"
17285
# We use sed instead of cat because bash on DJGPP gets confused if
17286
# if finds mixed CR/LF and LF-only lines. Since sed operates in
17287
# text mode, it properly converts lines to CR/LF. This bash problem
17288
# is reportedly fixed, but why not run on old versions too?
17289
sed '$q' "$ltmain" >> "$cfgfile" \
17290
|| (rm -f "$cfgfile"; exit 1)
17292
if test x"$xsi_shell" = xyes; then
17293
sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17297
\ */*) func_dirname_result="${1%/*}${2}" ;;\
17298
\ * ) func_dirname_result="${3}" ;;\
17300
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17301
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17302
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17303
test 0 -eq $? || _lt_function_replace_fail=:
17306
sed -e '/^func_basename ()$/,/^} # func_basename /c\
17309
\ func_basename_result="${1##*/}"\
17310
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17311
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17312
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17313
test 0 -eq $? || _lt_function_replace_fail=:
17316
sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17317
func_dirname_and_basename ()\
17320
\ */*) func_dirname_result="${1%/*}${2}" ;;\
17321
\ * ) func_dirname_result="${3}" ;;\
17323
\ func_basename_result="${1##*/}"\
17324
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17325
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17326
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17327
test 0 -eq $? || _lt_function_replace_fail=:
17330
sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17333
\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17334
\ # positional parameters, so assign one to ordinary parameter first.\
17335
\ func_stripname_result=${3}\
17336
\ func_stripname_result=${func_stripname_result#"${1}"}\
17337
\ func_stripname_result=${func_stripname_result%"${2}"}\
17338
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
17339
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17340
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17341
test 0 -eq $? || _lt_function_replace_fail=:
17344
sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
17345
func_split_long_opt ()\
17347
\ func_split_long_opt_name=${1%%=*}\
17348
\ func_split_long_opt_arg=${1#*=}\
17349
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
17350
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17351
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17352
test 0 -eq $? || _lt_function_replace_fail=:
17355
sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
17356
func_split_short_opt ()\
17358
\ func_split_short_opt_arg=${1#??}\
17359
\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17360
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
17361
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17362
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17363
test 0 -eq $? || _lt_function_replace_fail=:
17366
sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17370
\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17371
\ *) func_lo2o_result=${1} ;;\
17373
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
17374
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17375
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17376
test 0 -eq $? || _lt_function_replace_fail=:
17379
sed -e '/^func_xform ()$/,/^} # func_xform /c\
17382
func_xform_result=${1%.*}.lo\
17383
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17384
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17385
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17386
test 0 -eq $? || _lt_function_replace_fail=:
17389
sed -e '/^func_arith ()$/,/^} # func_arith /c\
17392
func_arith_result=$(( $* ))\
17393
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17394
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17395
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17396
test 0 -eq $? || _lt_function_replace_fail=:
17399
sed -e '/^func_len ()$/,/^} # func_len /c\
17402
func_len_result=${#1}\
17403
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17404
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17405
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17406
test 0 -eq $? || _lt_function_replace_fail=:
17410
if test x"$lt_shell_append" = xyes; then
17411
sed -e '/^func_append ()$/,/^} # func_append /c\
17414
eval "${1}+=\\${2}"\
17415
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17416
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17417
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17418
test 0 -eq $? || _lt_function_replace_fail=:
17421
sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17422
func_append_quoted ()\
17424
\ func_quote_for_eval "${2}"\
17425
\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17426
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17427
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17428
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17429
test 0 -eq $? || _lt_function_replace_fail=:
17432
# Save a `func_append' function call where possible by direct use of '+='
17433
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17434
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17435
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17436
test 0 -eq $? || _lt_function_replace_fail=:
17438
# Save a `func_append' function call even when '+=' is not available
17439
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17440
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17441
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17442
test 0 -eq $? || _lt_function_replace_fail=:
17445
if test x"$_lt_function_replace_fail" = x":"; then
17446
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17447
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17451
mv -f "$cfgfile" "$ofile" ||
17452
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17456
"default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
17457
sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
17460
if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
17461
as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
17463
rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
17468
'"s|^| $ac_top_srcdir/|" \
17469
"$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
17471
sed '/^POTFILES =/,/[^\\]$/ {
17475
' "po/Makefile.in" >"po/Makefile"
17476
rm -f "po/Makefile.tmp"
17477
mv "po/stamp-it.tmp" "po/stamp-it"
17486
ac_clean_files=$ac_clean_files_save
17488
test $ac_write_fail = 0 ||
17489
as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17492
# configure is writing to config.log, and then calls config.status.
17493
# config.status does its own redirection, appending to config.log.
17494
# Unfortunately, on DOS this fails, as config.log is still kept open
17495
# by configure, so config.status won't be able to write to it; its
17496
# output is simply discarded. So we exec the FD to /dev/null,
17497
# effectively closing config.log, so it can be properly (re)opened and
17498
# appended to by config.status. When coming back to configure, we
17499
# need to make the FD available again.
17500
if test "$no_create" != yes; then
17502
ac_config_status_args=
17503
test "$silent" = yes &&
17504
ac_config_status_args="$ac_config_status_args --quiet"
17506
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17508
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
17509
# would make configure fail if this is the last instruction.
17510
$ac_cs_success || as_fn_exit 1
17512
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17513
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17514
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17518
###########################
17520
###########################
17522
{ $as_echo "$as_me:${as_lineno-$LINENO}:
17524
SUS Indicator Configuration:
17527
Indicator Dir: $INDICATORDIR
17528
Indicator GTK: $with_gtk
17529
Logout Helper: $have_gtklogouthelper
17530
APT support: $enable_apt
17531
Coverage reporting: $use_gcov
17535
SUS Indicator Configuration:
17538
Indicator Dir: $INDICATORDIR
17539
Indicator GTK: $with_gtk
17540
Logout Helper: $have_gtklogouthelper
17541
APT support: $enable_apt
17542
Coverage reporting: $use_gcov