2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.68 for ibus 1.4.0.
5
# Report bugs to <http://code.google.com/p/ibus/issues/entry>.
8
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13
# This configure script is free software; the Free Software Foundation
14
# gives unlimited permission to copy, distribute and modify it.
15
## -------------------- ##
16
## M4sh Initialization. ##
17
## -------------------- ##
19
# Be more Bourne compatible
20
DUALCASE=1; export DUALCASE # for MKS sh
21
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25
# is contrary to our usage. Disable this feature.
26
alias -g '${1+"$@"}'='"$@"'
29
case `(set -o) 2>/dev/null` in #(
41
# Printing a long string crashes Solaris 7 /usr/bin/printf.
42
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45
# Prefer a ksh shell builtin over an external printf program on Solaris,
46
# but without wasting forks for bash or zsh.
47
if test -z "$BASH_VERSION$ZSH_VERSION" \
48
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50
as_echo_n='print -rn --'
51
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57
as_echo_n='/usr/ucb/echo -n'
59
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64
expr "X$arg" : "X\\(.*\\)$as_nl";
65
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70
as_echo_n='sh -c $as_echo_n_body as_echo'
73
as_echo='sh -c $as_echo_body as_echo'
76
# The user is always right.
77
if test "${PATH_SEPARATOR+set}" != set; then
79
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87
# We need space, tab and new line, in precisely that order. Quoting is
88
# there to prevent editors from complaining about space-tab.
89
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
90
# splitting by setting IFS to empty value.)
93
# Find who we are. Look in the path if we contain no directory separator.
96
*[\\/]* ) as_myself=$0 ;;
97
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101
test -z "$as_dir" && as_dir=.
102
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108
# We did not find ourselves, most probably we were run as `sh COMMAND'
109
# in which case we are not to be found in the path.
110
if test "x$as_myself" = x; then
113
if test ! -f "$as_myself"; then
114
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118
# Unset variables that we do not need and which cause bugs (e.g. in
119
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120
# suppresses any "Segmentation fault" message there. '((' could
121
# trigger a bug in pdksh 5.2.14.
122
for as_var in BASH_ENV ENV MAIL MAILPATH
123
do eval test x\${$as_var+set} = xset \
124
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
137
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139
if test "x$CONFIG_SHELL" = x; then
140
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144
# is contrary to our usage. Disable this feature.
145
alias -g '\${1+\"\$@\"}'='\"\$@\"'
148
case \`(set -o) 2>/dev/null\` in #(
156
as_required="as_fn_return () { (exit \$1); }
157
as_fn_success () { as_fn_return 0; }
158
as_fn_failure () { as_fn_return 1; }
159
as_fn_ret_success () { return 0; }
160
as_fn_ret_failure () { return 1; }
163
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170
exitcode=1; echo positional parameters were not saved.
172
test x\$exitcode = x0 || exit 1"
173
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177
test \$(( 1 + 1 )) = 2 || exit 1
179
test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
180
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
181
ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182
ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
183
PATH=/empty FPATH=/empty; export PATH FPATH
184
test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
185
|| test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
186
if (eval "$as_required") 2>/dev/null; then :
191
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
194
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
196
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
199
test -z "$as_dir" && as_dir=.
203
for as_base in sh bash ksh sh5; do
204
# Try only shells that exist, to save several forks.
205
as_shell=$as_dir/$as_base
206
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208
CONFIG_SHELL=$as_shell as_have_required=yes
209
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
217
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219
CONFIG_SHELL=$SHELL as_have_required=yes
224
if test "x$CONFIG_SHELL" != x; then :
225
# We cannot yet assume a decent shell, so we have to provide a
226
# neutralization value for shells without unset; and this also
227
# works around shells that cannot unset nonexistent variables.
228
# Preserve -v and -x to the replacement shell.
231
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
234
*v*x* | *x*v* ) as_opts=-vx ;;
239
exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
242
if test x$as_have_required = xno; then :
243
$as_echo "$0: This script requires a shell more modern than all"
244
$as_echo "$0: the shells that I found on your system."
245
if test x${ZSH_VERSION+set} = xset ; then
246
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
249
$as_echo "$0: Please tell bug-autoconf@gnu.org and
250
$0: http://code.google.com/p/ibus/issues/entry about your
251
$0: system, including any error possibly output before this
252
$0: message. Then install a modern shell, or manually run
253
$0: the script under such a shell if you do have one."
259
SHELL=${CONFIG_SHELL-/bin/sh}
261
# Unset more variables known to interfere with behavior of common tools.
262
CLICOLOR_FORCE= GREP_OPTIONS=
263
unset CLICOLOR_FORCE GREP_OPTIONS
265
## --------------------- ##
266
## M4sh Shell Functions. ##
267
## --------------------- ##
270
# Portably unset VAR.
273
{ eval $1=; unset $1;}
277
# as_fn_set_status STATUS
278
# -----------------------
279
# Set $? to STATUS, without forking.
287
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
297
# Create "$as_dir" as a directory, including parents if necessary.
302
-*) as_dir=./$as_dir;;
304
test -d "$as_dir" || eval $as_mkdir_p || {
308
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
311
as_dirs="'$as_qdir' $as_dirs"
312
as_dir=`$as_dirname -- "$as_dir" ||
313
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
314
X"$as_dir" : 'X\(//\)[^/]' \| \
315
X"$as_dir" : 'X\(//\)$' \| \
316
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
317
$as_echo X"$as_dir" |
318
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
335
test -d "$as_dir" && break
337
test -z "$as_dirs" || eval "mkdir $as_dirs"
338
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
342
# as_fn_append VAR VALUE
343
# ----------------------
344
# Append the text in VALUE to the end of the definition contained in VAR. Take
345
# advantage of any shell optimizations that allow amortized linear growth over
346
# repeated appends, instead of the typical quadratic growth present in naive
348
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
349
eval 'as_fn_append ()
362
# Perform arithmetic evaluation on the ARGs, and store the result in the
363
# global $as_val. Take advantage of shells that can avoid forks. The arguments
364
# must be portable across $(()) and expr.
365
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
373
as_val=`expr "$@" || test $? -eq 1`
378
# as_fn_error STATUS ERROR [LINENO LOG_FD]
379
# ----------------------------------------
380
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
381
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
382
# script with STATUS, using 1 if that was 0.
385
as_status=$1; test $as_status -eq 0 && as_status=1
387
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
388
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
390
$as_echo "$as_me: error: $2" >&2
391
as_fn_exit $as_status
394
if expr a : '\(a\)' >/dev/null 2>&1 &&
395
test "X`expr 00001 : '.*\(...\)'`" = X001; then
401
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
407
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
413
as_me=`$as_basename -- "$0" ||
414
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
415
X"$0" : 'X\(//\)$' \| \
416
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
418
sed '/^.*\/\([^/][^/]*\)\/*$/{
432
# Avoid depending upon Character Ranges.
433
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
434
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
435
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
436
as_cr_digits='0123456789'
437
as_cr_alnum=$as_cr_Letters$as_cr_digits
440
as_lineno_1=$LINENO as_lineno_1a=$LINENO
441
as_lineno_2=$LINENO as_lineno_2a=$LINENO
442
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
443
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
444
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
456
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
460
chmod +x "$as_me.lineno" ||
461
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
463
# Don't try to exec as it changes $[0], causing all sort of problems
464
# (the dirname of $[0] is not the place where we might find the
465
# original and so on. Autoconf is especially sensitive to this).
467
# Exit status is that of the last command.
471
ECHO_C= ECHO_N= ECHO_T=
472
case `echo -n x` in #(((((
474
case `echo 'xy\c'` in
475
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
477
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
484
rm -f conf$$ conf$$.exe conf$$.file
485
if test -d conf$$.dir; then
486
rm -f conf$$.dir/conf$$.file
489
mkdir conf$$.dir 2>/dev/null
491
if (echo >conf$$.file) 2>/dev/null; then
492
if ln -s conf$$.file conf$$ 2>/dev/null; then
494
# ... but there are two gotchas:
495
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497
# In both cases, we have to default to `cp -p'.
498
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
500
elif ln conf$$.file conf$$ 2>/dev/null; then
508
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
509
rmdir conf$$.dir 2>/dev/null
511
if mkdir -p . 2>/dev/null; then
512
as_mkdir_p='mkdir -p "$as_dir"'
514
test -d ./-p && rmdir ./-p
518
if test -x / >/dev/null 2>&1; then
521
if ls -dL / >/dev/null 2>&1; then
528
if test -d "$1"; then
534
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
535
???[sx]*):;;*)false;;esac;fi
539
as_executable_p=$as_test_x
541
# Sed expression to map a string onto a valid CPP name.
542
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
544
# Sed expression to map a string onto a valid variable name.
545
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
547
SHELL=${CONFIG_SHELL-/bin/sh}
550
test -n "$DJDIR" || exec 7<&0 </dev/null
554
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
555
# so uname gets run too.
556
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
561
ac_default_prefix=/usr/local
563
ac_config_libobj_dir=.
570
# Identity of this package.
572
PACKAGE_TARNAME='ibus'
573
PACKAGE_VERSION='1.4.0'
574
PACKAGE_STRING='ibus 1.4.0'
575
PACKAGE_BUGREPORT='http://code.google.com/p/ibus/issues/entry'
578
# Factoring default headers for most tests.
579
ac_includes_default="\
581
#ifdef HAVE_SYS_TYPES_H
582
# include <sys/types.h>
584
#ifdef HAVE_SYS_STAT_H
585
# include <sys/stat.h>
591
# ifdef HAVE_STDLIB_H
596
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
601
#ifdef HAVE_STRINGS_H
602
# include <strings.h>
604
#ifdef HAVE_INTTYPES_H
605
# include <inttypes.h>
614
ac_subst_vars='am__EXEEXT_FALSE
649
GSETTINGS_DISABLE_SCHEMAS_COMPILE
654
GCONF_SCHEMAS_INSTALL_FALSE
655
GCONF_SCHEMAS_INSTALL_TRUE
656
GCONF_SCHEMA_FILE_DIR
657
GCONF_SCHEMA_CONFIG_SOURCE
665
GTK_DOC_USE_REBASE_FALSE
666
GTK_DOC_USE_REBASE_TRUE
667
GTK_DOC_USE_LIBTOOL_FALSE
668
GTK_DOC_USE_LIBTOOL_TRUE
669
GTK_DOC_BUILD_PDF_FALSE
670
GTK_DOC_BUILD_PDF_TRUE
671
GTK_DOC_BUILD_HTML_FALSE
672
GTK_DOC_BUILD_HTML_TRUE
679
IBUS_GIR_SCANNERFLAGS
680
HAVE_INTROSPECTION_FALSE
681
HAVE_INTROSPECTION_TRUE
682
INTROSPECTION_MAKEFILE
685
INTROSPECTION_TYPELIBDIR
687
INTROSPECTION_GENERATE
688
INTROSPECTION_COMPILER
689
INTROSPECTION_SCANNER
728
INTLTOOL_SERVICE_RULE
730
INTLTOOL_SCHEMAS_RULE
732
INTLTOOL_XML_NOMERGE_RULE
737
INTLTOOL_SOUNDLIST_RULE
744
INTLTOOL_DIRECTORY_RULE
745
INTLTOOL_DESKTOP_RULE
826
MAINTAINER_MODE_FALSE
836
INSTALL_STRIP_PROGRAM
878
program_transform_name
891
enable_option_checking
892
enable_maintainer_mode
893
enable_dependency_tracking
915
with_gconf_schema_file_dir
916
enable_schemas_install
919
enable_schemas_compile
921
with_gtk2_im_module_dir
922
with_gtk3_im_module_dir
923
enable_dbus_python_check
926
with_panel_icon_keyboard
927
enable_surrounding_text
929
ac_precious_vars='build_alias
971
# Initialize some variables set by options.
973
ac_init_version=false
974
ac_unrecognized_opts=
976
# The variables have the same names as the options, with
977
# dashes changed to underlines.
985
program_transform_name=s,x,x,
993
# Installation directory options.
994
# These are left unexpanded so users can "make install exec_prefix=/foo"
995
# and all the variables that are supposed to be based on exec_prefix
996
# by default will actually change.
997
# Use braces instead of parens because sh, perl, etc. also accept them.
998
# (The list follows the same order as the GNU Coding Standards.)
999
bindir='${exec_prefix}/bin'
1000
sbindir='${exec_prefix}/sbin'
1001
libexecdir='${exec_prefix}/libexec'
1002
datarootdir='${prefix}/share'
1003
datadir='${datarootdir}'
1004
sysconfdir='${prefix}/etc'
1005
sharedstatedir='${prefix}/com'
1006
localstatedir='${prefix}/var'
1007
includedir='${prefix}/include'
1008
oldincludedir='/usr/include'
1009
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1010
infodir='${datarootdir}/info'
1015
libdir='${exec_prefix}/lib'
1016
localedir='${datarootdir}/locale'
1017
mandir='${datarootdir}/man'
1023
# If the previous option needs an argument, assign it.
1024
if test -n "$ac_prev"; then
1025
eval $ac_prev=\$ac_option
1031
*=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1036
# Accept the important Cygnus configure options, so we can diagnose typos.
1038
case $ac_dashdash$ac_option in
1042
-bindir | --bindir | --bindi | --bind | --bin | --bi)
1044
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1045
bindir=$ac_optarg ;;
1047
-build | --build | --buil | --bui | --bu)
1048
ac_prev=build_alias ;;
1049
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
1050
build_alias=$ac_optarg ;;
1052
-cache-file | --cache-file | --cache-fil | --cache-fi \
1053
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1054
ac_prev=cache_file ;;
1055
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1056
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1057
cache_file=$ac_optarg ;;
1059
--config-cache | -C)
1060
cache_file=config.cache ;;
1062
-datadir | --datadir | --datadi | --datad)
1064
-datadir=* | --datadir=* | --datadi=* | --datad=*)
1065
datadir=$ac_optarg ;;
1067
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1068
| --dataroo | --dataro | --datar)
1069
ac_prev=datarootdir ;;
1070
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1071
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1072
datarootdir=$ac_optarg ;;
1074
-disable-* | --disable-*)
1075
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1076
# Reject names that are not valid shell variable names.
1077
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1078
as_fn_error $? "invalid feature name: $ac_useropt"
1079
ac_useropt_orig=$ac_useropt
1080
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1081
case $ac_user_opts in
1083
"enable_$ac_useropt"
1085
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1086
ac_unrecognized_sep=', ';;
1088
eval enable_$ac_useropt=no ;;
1090
-docdir | --docdir | --docdi | --doc | --do)
1092
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1093
docdir=$ac_optarg ;;
1095
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1097
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1098
dvidir=$ac_optarg ;;
1100
-enable-* | --enable-*)
1101
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1102
# Reject names that are not valid shell variable names.
1103
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1104
as_fn_error $? "invalid feature name: $ac_useropt"
1105
ac_useropt_orig=$ac_useropt
1106
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1107
case $ac_user_opts in
1109
"enable_$ac_useropt"
1111
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1112
ac_unrecognized_sep=', ';;
1114
eval enable_$ac_useropt=\$ac_optarg ;;
1116
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1117
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1118
| --exec | --exe | --ex)
1119
ac_prev=exec_prefix ;;
1120
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1121
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1122
| --exec=* | --exe=* | --ex=*)
1123
exec_prefix=$ac_optarg ;;
1125
-gas | --gas | --ga | --g)
1126
# Obsolete; use --with-gas.
1129
-help | --help | --hel | --he | -h)
1130
ac_init_help=long ;;
1131
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1132
ac_init_help=recursive ;;
1133
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1134
ac_init_help=short ;;
1136
-host | --host | --hos | --ho)
1137
ac_prev=host_alias ;;
1138
-host=* | --host=* | --hos=* | --ho=*)
1139
host_alias=$ac_optarg ;;
1141
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1143
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1145
htmldir=$ac_optarg ;;
1147
-includedir | --includedir | --includedi | --included | --include \
1148
| --includ | --inclu | --incl | --inc)
1149
ac_prev=includedir ;;
1150
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1151
| --includ=* | --inclu=* | --incl=* | --inc=*)
1152
includedir=$ac_optarg ;;
1154
-infodir | --infodir | --infodi | --infod | --info | --inf)
1156
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1157
infodir=$ac_optarg ;;
1159
-libdir | --libdir | --libdi | --libd)
1161
-libdir=* | --libdir=* | --libdi=* | --libd=*)
1162
libdir=$ac_optarg ;;
1164
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1165
| --libexe | --libex | --libe)
1166
ac_prev=libexecdir ;;
1167
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1168
| --libexe=* | --libex=* | --libe=*)
1169
libexecdir=$ac_optarg ;;
1171
-localedir | --localedir | --localedi | --localed | --locale)
1172
ac_prev=localedir ;;
1173
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1174
localedir=$ac_optarg ;;
1176
-localstatedir | --localstatedir | --localstatedi | --localstated \
1177
| --localstate | --localstat | --localsta | --localst | --locals)
1178
ac_prev=localstatedir ;;
1179
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1180
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1181
localstatedir=$ac_optarg ;;
1183
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1185
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1186
mandir=$ac_optarg ;;
1188
-nfp | --nfp | --nf)
1189
# Obsolete; use --without-fp.
1192
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
1193
| --no-cr | --no-c | -n)
1196
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
1197
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1200
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1201
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1202
| --oldin | --oldi | --old | --ol | --o)
1203
ac_prev=oldincludedir ;;
1204
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1205
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1206
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1207
oldincludedir=$ac_optarg ;;
1209
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1211
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1212
prefix=$ac_optarg ;;
1214
-program-prefix | --program-prefix | --program-prefi | --program-pref \
1215
| --program-pre | --program-pr | --program-p)
1216
ac_prev=program_prefix ;;
1217
-program-prefix=* | --program-prefix=* | --program-prefi=* \
1218
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1219
program_prefix=$ac_optarg ;;
1221
-program-suffix | --program-suffix | --program-suffi | --program-suff \
1222
| --program-suf | --program-su | --program-s)
1223
ac_prev=program_suffix ;;
1224
-program-suffix=* | --program-suffix=* | --program-suffi=* \
1225
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1226
program_suffix=$ac_optarg ;;
1228
-program-transform-name | --program-transform-name \
1229
| --program-transform-nam | --program-transform-na \
1230
| --program-transform-n | --program-transform- \
1231
| --program-transform | --program-transfor \
1232
| --program-transfo | --program-transf \
1233
| --program-trans | --program-tran \
1234
| --progr-tra | --program-tr | --program-t)
1235
ac_prev=program_transform_name ;;
1236
-program-transform-name=* | --program-transform-name=* \
1237
| --program-transform-nam=* | --program-transform-na=* \
1238
| --program-transform-n=* | --program-transform-=* \
1239
| --program-transform=* | --program-transfor=* \
1240
| --program-transfo=* | --program-transf=* \
1241
| --program-trans=* | --program-tran=* \
1242
| --progr-tra=* | --program-tr=* | --program-t=*)
1243
program_transform_name=$ac_optarg ;;
1245
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1247
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1248
pdfdir=$ac_optarg ;;
1250
-psdir | --psdir | --psdi | --psd | --ps)
1252
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1255
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1256
| -silent | --silent | --silen | --sile | --sil)
1259
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1261
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1263
sbindir=$ac_optarg ;;
1265
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1266
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1267
| --sharedst | --shareds | --shared | --share | --shar \
1269
ac_prev=sharedstatedir ;;
1270
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1271
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1272
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1274
sharedstatedir=$ac_optarg ;;
1276
-site | --site | --sit)
1278
-site=* | --site=* | --sit=*)
1281
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1283
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1284
srcdir=$ac_optarg ;;
1286
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1287
| --syscon | --sysco | --sysc | --sys | --sy)
1288
ac_prev=sysconfdir ;;
1289
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1290
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1291
sysconfdir=$ac_optarg ;;
1293
-target | --target | --targe | --targ | --tar | --ta | --t)
1294
ac_prev=target_alias ;;
1295
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1296
target_alias=$ac_optarg ;;
1298
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1301
-version | --version | --versio | --versi | --vers | -V)
1302
ac_init_version=: ;;
1305
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1306
# Reject names that are not valid shell variable names.
1307
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1308
as_fn_error $? "invalid package name: $ac_useropt"
1309
ac_useropt_orig=$ac_useropt
1310
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1311
case $ac_user_opts in
1315
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1316
ac_unrecognized_sep=', ';;
1318
eval with_$ac_useropt=\$ac_optarg ;;
1320
-without-* | --without-*)
1321
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1322
# Reject names that are not valid shell variable names.
1323
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1324
as_fn_error $? "invalid package name: $ac_useropt"
1325
ac_useropt_orig=$ac_useropt
1326
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1327
case $ac_user_opts in
1331
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1332
ac_unrecognized_sep=', ';;
1334
eval with_$ac_useropt=no ;;
1337
# Obsolete; use --with-x.
1340
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1341
| --x-incl | --x-inc | --x-in | --x-i)
1342
ac_prev=x_includes ;;
1343
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1344
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1345
x_includes=$ac_optarg ;;
1347
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1348
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1349
ac_prev=x_libraries ;;
1350
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1351
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1352
x_libraries=$ac_optarg ;;
1354
-*) as_fn_error $? "unrecognized option: \`$ac_option'
1355
Try \`$0 --help' for more information"
1359
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1360
# Reject names that are not valid shell variable names.
1361
case $ac_envvar in #(
1362
'' | [0-9]* | *[!_$as_cr_alnum]* )
1363
as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1365
eval $ac_envvar=\$ac_optarg
1366
export $ac_envvar ;;
1369
# FIXME: should be removed in autoconf 3.0.
1370
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1371
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1372
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1373
: "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1379
if test -n "$ac_prev"; then
1380
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1381
as_fn_error $? "missing argument to $ac_option"
1384
if test -n "$ac_unrecognized_opts"; then
1385
case $enable_option_checking in
1387
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1388
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1392
# Check all directory arguments for consistency.
1393
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1394
datadir sysconfdir sharedstatedir localstatedir includedir \
1395
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1396
libdir localedir mandir
1398
eval ac_val=\$$ac_var
1399
# Remove trailing slashes.
1402
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1403
eval $ac_var=\$ac_val;;
1405
# Be sure to have absolute directory names.
1407
[\\/$]* | ?:[\\/]* ) continue;;
1408
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1410
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1413
# There might be people who depend on the old broken behavior: `$host'
1414
# used to hold the argument of --host etc.
1415
# FIXME: To remove some day.
1418
target=$target_alias
1420
# FIXME: To remove some day.
1421
if test "x$host_alias" != x; then
1422
if test "x$build_alias" = x; then
1423
cross_compiling=maybe
1424
$as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1425
If a cross compiler is detected then cross compile mode will be used" >&2
1426
elif test "x$build_alias" != "x$host_alias"; then
1432
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1434
test "$silent" = yes && exec 6>/dev/null
1437
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1438
ac_ls_di=`ls -di .` &&
1439
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1440
as_fn_error $? "working directory cannot be determined"
1441
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1442
as_fn_error $? "pwd does not report name of working directory"
1445
# Find the source files, if location was not specified.
1446
if test -z "$srcdir"; then
1447
ac_srcdir_defaulted=yes
1448
# Try the directory containing this script, then the parent directory.
1449
ac_confdir=`$as_dirname -- "$as_myself" ||
1450
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1451
X"$as_myself" : 'X\(//\)[^/]' \| \
1452
X"$as_myself" : 'X\(//\)$' \| \
1453
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1454
$as_echo X"$as_myself" |
1455
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1473
if test ! -r "$srcdir/$ac_unique_file"; then
1477
ac_srcdir_defaulted=no
1479
if test ! -r "$srcdir/$ac_unique_file"; then
1480
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1481
as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1483
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1485
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1487
# When building in place, set srcdir=.
1488
if test "$ac_abs_confdir" = "$ac_pwd"; then
1491
# Remove unnecessary trailing slashes from srcdir.
1492
# Double slashes in file names in object file debugging info
1493
# mess up M-x gdb in Emacs.
1495
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1497
for ac_var in $ac_precious_vars; do
1498
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1499
eval ac_env_${ac_var}_value=\$${ac_var}
1500
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1501
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1505
# Report the --help message.
1507
if test "$ac_init_help" = "long"; then
1508
# Omit some internal or obsolete options to make the list less imposing.
1509
# This message is too long to be a string in the A/UX 3.1 sh.
1511
\`configure' configures ibus 1.4.0 to adapt to many kinds of systems.
1513
Usage: $0 [OPTION]... [VAR=VALUE]...
1515
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1516
VAR=VALUE. See below for descriptions of some of the useful variables.
1518
Defaults for the options are specified in brackets.
1521
-h, --help display this help and exit
1522
--help=short display options specific to this package
1523
--help=recursive display the short help of all the included packages
1524
-V, --version display version information and exit
1525
-q, --quiet, --silent do not print \`checking ...' messages
1526
--cache-file=FILE cache test results in FILE [disabled]
1527
-C, --config-cache alias for \`--cache-file=config.cache'
1528
-n, --no-create do not create output files
1529
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1531
Installation directories:
1532
--prefix=PREFIX install architecture-independent files in PREFIX
1533
[$ac_default_prefix]
1534
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1537
By default, \`make install' will install all the files in
1538
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1539
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1540
for instance \`--prefix=\$HOME'.
1542
For better control, use the options below.
1544
Fine tuning of the installation directories:
1545
--bindir=DIR user executables [EPREFIX/bin]
1546
--sbindir=DIR system admin executables [EPREFIX/sbin]
1547
--libexecdir=DIR program executables [EPREFIX/libexec]
1548
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1549
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1550
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1551
--libdir=DIR object code libraries [EPREFIX/lib]
1552
--includedir=DIR C header files [PREFIX/include]
1553
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1554
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1555
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1556
--infodir=DIR info documentation [DATAROOTDIR/info]
1557
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1558
--mandir=DIR man documentation [DATAROOTDIR/man]
1559
--docdir=DIR documentation root [DATAROOTDIR/doc/ibus]
1560
--htmldir=DIR html documentation [DOCDIR]
1561
--dvidir=DIR dvi documentation [DOCDIR]
1562
--pdfdir=DIR pdf documentation [DOCDIR]
1563
--psdir=DIR ps documentation [DOCDIR]
1569
--program-prefix=PREFIX prepend PREFIX to installed program names
1570
--program-suffix=SUFFIX append SUFFIX to installed program names
1571
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1574
--build=BUILD configure for building on BUILD [guessed]
1575
--host=HOST cross-compile to build programs to run on HOST [BUILD]
1579
if test -n "$ac_init_help"; then
1580
case $ac_init_help in
1581
short | recursive ) echo "Configuration of ibus 1.4.0:";;
1586
--disable-option-checking ignore unrecognized --enable/--with options
1587
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1588
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1589
--disable-maintainer-mode disable make rules and dependencies not useful
1590
(and sometimes confusing) to the casual installer
1591
--disable-dependency-tracking speeds up one-time build
1592
--enable-dependency-tracking do not reject slow dependency extractors
1593
--enable-silent-rules less verbose build output (undo: `make V=1')
1594
--disable-silent-rules verbose build output (undo: `make V=0')
1595
--enable-static[=PKGS] build static libraries [default=no]
1596
--enable-shared[=PKGS] build shared libraries [default=yes]
1597
--enable-fast-install[=PKGS]
1598
optimize for fast installation [default=yes]
1599
--disable-libtool-lock avoid locking (might break parallel builds)
1600
--disable-nls do not use Native Language Support
1601
--disable-glibtest do not try to compile and run a test GLIB program
1602
--disable-gtk2 Do not build gtk2 im module
1603
--disable-gtk3 Build gtk3 im module
1604
--disable-xim Do not build xim server
1605
--disable-vala Do not build ibus vala binding
1606
--enable-introspection=[no/auto/yes]
1607
Enable introspection for this build
1608
--enable-gtk-doc use gtk-doc to build documentation [[default=no]]
1609
--enable-gtk-doc-html build documentation in html format [[default=yes]]
1610
--enable-gtk-doc-pdf build documentation in pdf format [[default=no]]
1611
--disable-gconf Do not use GConf code
1612
--disable-schemas-install
1613
Disable the schemas installation
1614
--enable-memconf Enable configure base on memory
1615
--enable-dconf Enable configure base on dconf
1616
--disable-schemas-compile
1617
Disable regeneration of gschemas.compiled on install
1618
--disable-python Do not use Python code
1619
--disable-dbus-python-check
1620
Do not check dbus-python
1621
--disable-key-snooper Always disable key snooper in gtk im module
1622
--enable-surrounding-text
1623
Enable surrounding-text support
1626
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1627
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1628
--with-pic try to use only PIC/non-PIC objects [default=use
1630
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
1631
--with-sysroot=DIR Search for dependent libraries within DIR
1632
(or the compiler's sysroot if not specified).
1633
--with-html-dir=PATH path to installed docs
1634
--with-gconf-source=sourceaddress
1635
Config database for installing schema files.
1636
--with-gconf-schema-file-dir=dir
1637
Directory for installing schema files.
1638
--with-gtk2-im-module-dir=DIR
1639
Select gtk2 immodule dir
1640
--with-gtk3-im-module-dir=DIR
1641
Select gtk3 immodule dir
1642
--with-no-snooper-apps=regex1,regex2
1643
Does not enable keyboard snooper in those
1644
applications (like: .*chrome.*,firefox.*)
1645
--with-panel-icon-keyboard=icon_name
1646
Set the default panel icon (default:
1647
"input-keyboard-symbolic")
1649
Some influential environment variables:
1650
CC C compiler command
1651
CFLAGS C compiler flags
1652
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1653
nonstandard directory <lib dir>
1654
LIBS libraries to pass to the linker, e.g. -l<library>
1655
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1656
you have headers in a nonstandard directory <include dir>
1658
PKG_CONFIG path to pkg-config utility
1660
directories to add to pkg-config's search path
1662
path overriding pkg-config's built-in search path
1664
C compiler flags for GLIB2, overriding pkg-config
1665
GLIB2_LIBS linker flags for GLIB2, overriding pkg-config
1667
C compiler flags for GOBJECT2, overriding pkg-config
1669
linker flags for GOBJECT2, overriding pkg-config
1670
GIO2_CFLAGS C compiler flags for GIO2, overriding pkg-config
1671
GIO2_LIBS linker flags for GIO2, overriding pkg-config
1673
C compiler flags for GTHREAD2, overriding pkg-config
1675
linker flags for GTHREAD2, overriding pkg-config
1676
GTK2_CFLAGS C compiler flags for GTK2, overriding pkg-config
1677
GTK2_LIBS linker flags for GTK2, overriding pkg-config
1678
GDK2_CFLAGS C compiler flags for GDK2, overriding pkg-config
1679
GDK2_LIBS linker flags for GDK2, overriding pkg-config
1680
GTK3_CFLAGS C compiler flags for GTK3, overriding pkg-config
1681
GTK3_LIBS linker flags for GTK3, overriding pkg-config
1682
GDK3_CFLAGS C compiler flags for GDK3, overriding pkg-config
1683
GDK3_LIBS linker flags for GDK3, overriding pkg-config
1684
X11_CFLAGS C compiler flags for X11, overriding pkg-config
1685
X11_LIBS linker flags for X11, overriding pkg-config
1686
DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config
1687
DBUS_LIBS linker flags for DBUS, overriding pkg-config
1689
C compiler flags for GCONF, overriding pkg-config
1690
GCONF_LIBS linker flags for GCONF, overriding pkg-config
1692
C compiler flags for DCONF, overriding pkg-config
1693
DCONF_LIBS linker flags for DCONF, overriding pkg-config
1695
C compiler flags for DBUS_PYTHON, overriding pkg-config
1697
linker flags for DBUS_PYTHON, overriding pkg-config
1699
C compiler flags for ISOCODES, overriding pkg-config
1701
linker flags for ISOCODES, overriding pkg-config
1703
Use these variables to override the choices made by `configure' or to help
1704
it to find libraries and programs with nonstandard names/locations.
1706
Report bugs to <http://code.google.com/p/ibus/issues/entry>.
1711
if test "$ac_init_help" = "recursive"; then
1712
# If there are subdirs, report their specific --help.
1713
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1714
test -d "$ac_dir" ||
1715
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1720
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1722
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1723
# A ".." for each directory in $ac_dir_suffix.
1724
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1725
case $ac_top_builddir_sub in
1726
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1727
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1730
ac_abs_top_builddir=$ac_pwd
1731
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1732
# for backward compatibility:
1733
ac_top_builddir=$ac_top_build_prefix
1736
.) # We are building in place.
1738
ac_top_srcdir=$ac_top_builddir_sub
1739
ac_abs_top_srcdir=$ac_pwd ;;
1740
[\\/]* | ?:[\\/]* ) # Absolute name.
1741
ac_srcdir=$srcdir$ac_dir_suffix;
1742
ac_top_srcdir=$srcdir
1743
ac_abs_top_srcdir=$srcdir ;;
1745
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1746
ac_top_srcdir=$ac_top_build_prefix$srcdir
1747
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1749
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1751
cd "$ac_dir" || { ac_status=$?; continue; }
1752
# Check for guested configure.
1753
if test -f "$ac_srcdir/configure.gnu"; then
1755
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1756
elif test -f "$ac_srcdir/configure"; then
1758
$SHELL "$ac_srcdir/configure" --help=recursive
1760
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1762
cd "$ac_pwd" || { ac_status=$?; break; }
1766
test -n "$ac_init_help" && exit $ac_status
1767
if $ac_init_version; then
1769
ibus configure 1.4.0
1770
generated by GNU Autoconf 2.68
1772
Copyright (C) 2010 Free Software Foundation, Inc.
1773
This configure script is free software; the Free Software Foundation
1774
gives unlimited permission to copy, distribute and modify it.
1779
## ------------------------ ##
1780
## Autoconf initialization. ##
1781
## ------------------------ ##
1783
# ac_fn_c_try_compile LINENO
1784
# --------------------------
1785
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1786
ac_fn_c_try_compile ()
1788
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1789
rm -f conftest.$ac_objext
1790
if { { ac_try="$ac_compile"
1792
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1793
*) ac_try_echo=$ac_try;;
1795
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1796
$as_echo "$ac_try_echo"; } >&5
1797
(eval "$ac_compile") 2>conftest.err
1799
if test -s conftest.err; then
1800
grep -v '^ *+' conftest.err >conftest.er1
1801
cat conftest.er1 >&5
1802
mv -f conftest.er1 conftest.err
1804
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1805
test $ac_status = 0; } && {
1806
test -z "$ac_c_werror_flag" ||
1807
test ! -s conftest.err
1808
} && test -s conftest.$ac_objext; then :
1811
$as_echo "$as_me: failed program was:" >&5
1812
sed 's/^/| /' conftest.$ac_ext >&5
1816
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1817
as_fn_set_status $ac_retval
1819
} # ac_fn_c_try_compile
1821
# ac_fn_c_try_cpp LINENO
1822
# ----------------------
1823
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1826
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1827
if { { ac_try="$ac_cpp conftest.$ac_ext"
1829
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1830
*) ac_try_echo=$ac_try;;
1832
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1833
$as_echo "$ac_try_echo"; } >&5
1834
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1836
if test -s conftest.err; then
1837
grep -v '^ *+' conftest.err >conftest.er1
1838
cat conftest.er1 >&5
1839
mv -f conftest.er1 conftest.err
1841
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1842
test $ac_status = 0; } > conftest.i && {
1843
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1844
test ! -s conftest.err
1848
$as_echo "$as_me: failed program was:" >&5
1849
sed 's/^/| /' conftest.$ac_ext >&5
1853
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1854
as_fn_set_status $ac_retval
1858
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1859
# -------------------------------------------------------
1860
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1861
# the include files in INCLUDES and setting the cache variable VAR
1863
ac_fn_c_check_header_mongrel ()
1865
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1866
if eval \${$3+:} false; then :
1867
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1868
$as_echo_n "checking for $2... " >&6; }
1869
if eval \${$3+:} false; then :
1870
$as_echo_n "(cached) " >&6
1873
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1874
$as_echo "$ac_res" >&6; }
1876
# Is the header compilable?
1877
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1878
$as_echo_n "checking $2 usability... " >&6; }
1879
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1880
/* end confdefs.h. */
1884
if ac_fn_c_try_compile "$LINENO"; then :
1885
ac_header_compiler=yes
1887
ac_header_compiler=no
1889
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1890
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1891
$as_echo "$ac_header_compiler" >&6; }
1893
# Is the header present?
1894
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1895
$as_echo_n "checking $2 presence... " >&6; }
1896
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1897
/* end confdefs.h. */
1900
if ac_fn_c_try_cpp "$LINENO"; then :
1901
ac_header_preproc=yes
1903
ac_header_preproc=no
1905
rm -f conftest.err conftest.i conftest.$ac_ext
1906
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1907
$as_echo "$ac_header_preproc" >&6; }
1909
# So? What about this header?
1910
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1912
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1913
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1914
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1915
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1918
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1919
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1920
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1921
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1922
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1923
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1924
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1925
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1926
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1927
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1928
( $as_echo "## --------------------------------------------------------- ##
1929
## Report this to http://code.google.com/p/ibus/issues/entry ##
1930
## --------------------------------------------------------- ##"
1931
) | sed "s/^/$as_me: WARNING: /" >&2
1934
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1935
$as_echo_n "checking for $2... " >&6; }
1936
if eval \${$3+:} false; then :
1937
$as_echo_n "(cached) " >&6
1939
eval "$3=\$ac_header_compiler"
1942
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1943
$as_echo "$ac_res" >&6; }
1945
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1947
} # ac_fn_c_check_header_mongrel
1949
# ac_fn_c_try_run LINENO
1950
# ----------------------
1951
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1952
# that executables *can* be run.
1955
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1956
if { { ac_try="$ac_link"
1958
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1959
*) ac_try_echo=$ac_try;;
1961
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1962
$as_echo "$ac_try_echo"; } >&5
1963
(eval "$ac_link") 2>&5
1965
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1966
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1967
{ { case "(($ac_try" in
1968
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1969
*) ac_try_echo=$ac_try;;
1971
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1972
$as_echo "$ac_try_echo"; } >&5
1973
(eval "$ac_try") 2>&5
1975
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1976
test $ac_status = 0; }; }; then :
1979
$as_echo "$as_me: program exited with status $ac_status" >&5
1980
$as_echo "$as_me: failed program was:" >&5
1981
sed 's/^/| /' conftest.$ac_ext >&5
1983
ac_retval=$ac_status
1985
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1986
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1987
as_fn_set_status $ac_retval
1991
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1992
# -------------------------------------------------------
1993
# Tests whether HEADER exists and can be compiled using the include files in
1994
# INCLUDES, setting the cache variable VAR accordingly.
1995
ac_fn_c_check_header_compile ()
1997
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1998
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1999
$as_echo_n "checking for $2... " >&6; }
2000
if eval \${$3+:} false; then :
2001
$as_echo_n "(cached) " >&6
2003
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2004
/* end confdefs.h. */
2008
if ac_fn_c_try_compile "$LINENO"; then :
2013
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2016
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2017
$as_echo "$ac_res" >&6; }
2018
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2020
} # ac_fn_c_check_header_compile
2022
# ac_fn_c_try_link LINENO
2023
# -----------------------
2024
# Try to link conftest.$ac_ext, and return whether this succeeded.
2027
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2028
rm -f conftest.$ac_objext conftest$ac_exeext
2029
if { { ac_try="$ac_link"
2031
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2032
*) ac_try_echo=$ac_try;;
2034
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2035
$as_echo "$ac_try_echo"; } >&5
2036
(eval "$ac_link") 2>conftest.err
2038
if test -s conftest.err; then
2039
grep -v '^ *+' conftest.err >conftest.er1
2040
cat conftest.er1 >&5
2041
mv -f conftest.er1 conftest.err
2043
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2044
test $ac_status = 0; } && {
2045
test -z "$ac_c_werror_flag" ||
2046
test ! -s conftest.err
2047
} && test -s conftest$ac_exeext && {
2048
test "$cross_compiling" = yes ||
2049
$as_test_x conftest$ac_exeext
2053
$as_echo "$as_me: failed program was:" >&5
2054
sed 's/^/| /' conftest.$ac_ext >&5
2058
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2059
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2060
# interfere with the next link command; also delete a directory that is
2061
# left behind by Apple's compiler. We do this before executing the actions.
2062
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2063
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2064
as_fn_set_status $ac_retval
2066
} # ac_fn_c_try_link
2068
# ac_fn_c_check_func LINENO FUNC VAR
2069
# ----------------------------------
2070
# Tests whether FUNC exists, setting the cache variable VAR accordingly
2071
ac_fn_c_check_func ()
2073
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2074
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2075
$as_echo_n "checking for $2... " >&6; }
2076
if eval \${$3+:} false; then :
2077
$as_echo_n "(cached) " >&6
2079
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2080
/* end confdefs.h. */
2081
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2082
For example, HP-UX 11i <limits.h> declares gettimeofday. */
2083
#define $2 innocuous_$2
2085
/* System header to define __stub macros and hopefully few prototypes,
2086
which can conflict with char $2 (); below.
2087
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2088
<limits.h> exists even on freestanding compilers. */
2091
# include <limits.h>
2093
# include <assert.h>
2098
/* Override any GCC internal prototype to avoid an error.
2099
Use char because int might match the return type of a GCC
2100
builtin and then its argument prototype would still apply. */
2105
/* The GNU C library defines this for functions which it implements
2106
to always fail with ENOSYS. Some functions are actually named
2107
something starting with __ and the normal name is an alias. */
2108
#if defined __stub_$2 || defined __stub___$2
2120
if ac_fn_c_try_link "$LINENO"; then :
2125
rm -f core conftest.err conftest.$ac_objext \
2126
conftest$ac_exeext conftest.$ac_ext
2129
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2130
$as_echo "$ac_res" >&6; }
2131
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2133
} # ac_fn_c_check_func
2134
cat >config.log <<_ACEOF
2135
This file contains any messages produced by compilers while
2136
running configure, to aid debugging if configure makes a mistake.
2138
It was created by ibus $as_me 1.4.0, which was
2139
generated by GNU Autoconf 2.68. Invocation command line was
2151
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2152
uname -m = `(uname -m) 2>/dev/null || echo unknown`
2153
uname -r = `(uname -r) 2>/dev/null || echo unknown`
2154
uname -s = `(uname -s) 2>/dev/null || echo unknown`
2155
uname -v = `(uname -v) 2>/dev/null || echo unknown`
2157
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2158
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2160
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2161
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2162
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2163
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2164
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2165
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2166
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2170
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2174
test -z "$as_dir" && as_dir=.
2175
$as_echo "PATH: $as_dir"
2191
# Keep a trace of the command line.
2192
# Strip out --no-create and --no-recursion so they do not pile up.
2193
# Strip out --silent because we don't want to record it for future runs.
2194
# Also quote any args containing shell meta-characters.
2195
# Make two passes to allow for proper duplicate-argument suppression.
2199
ac_must_keep_next=false
2205
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2206
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
2207
| -silent | --silent | --silen | --sile | --sil)
2210
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2213
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2215
as_fn_append ac_configure_args1 " '$ac_arg'"
2216
if test $ac_must_keep_next = true; then
2217
ac_must_keep_next=false # Got value, back to normal.
2220
*=* | --config-cache | -C | -disable-* | --disable-* \
2221
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2222
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2223
| -with-* | --with-* | -without-* | --without-* | --x)
2224
case "$ac_configure_args0 " in
2225
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2228
-* ) ac_must_keep_next=true ;;
2231
as_fn_append ac_configure_args " '$ac_arg'"
2236
{ ac_configure_args0=; unset ac_configure_args0;}
2237
{ ac_configure_args1=; unset ac_configure_args1;}
2239
# When interrupted or exit'd, cleanup temporary files, and complete
2240
# config.log. We remove comments because anyway the quotes in there
2241
# would cause problems or look ugly.
2242
# WARNING: Use '\'' to represent an apostrophe within the trap.
2243
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2244
trap 'exit_status=$?
2245
# Save into config.log some information that might help in debugging.
2249
$as_echo "## ---------------- ##
2250
## Cache variables. ##
2251
## ---------------- ##"
2253
# The following way of writing the cache mishandles newlines in values,
2255
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2256
eval ac_val=\$$ac_var
2260
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2261
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2264
_ | IFS | as_nl) ;; #(
2265
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2266
*) { eval $ac_var=; unset $ac_var;} ;;
2271
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2272
*${as_nl}ac_space=\ *)
2274
"s/'\''/'\''\\\\'\'''\''/g;
2275
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2278
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2285
$as_echo "## ----------------- ##
2286
## Output variables. ##
2287
## ----------------- ##"
2289
for ac_var in $ac_subst_vars
2291
eval ac_val=\$$ac_var
2293
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2295
$as_echo "$ac_var='\''$ac_val'\''"
2299
if test -n "$ac_subst_files"; then
2300
$as_echo "## ------------------- ##
2301
## File substitutions. ##
2302
## ------------------- ##"
2304
for ac_var in $ac_subst_files
2306
eval ac_val=\$$ac_var
2308
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2310
$as_echo "$ac_var='\''$ac_val'\''"
2315
if test -s confdefs.h; then
2316
$as_echo "## ----------- ##
2323
test "$ac_signal" != 0 &&
2324
$as_echo "$as_me: caught signal $ac_signal"
2325
$as_echo "$as_me: exit $exit_status"
2327
rm -f core *.core core.conftest.* &&
2328
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2331
for ac_signal in 1 2 13 15; do
2332
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2336
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2337
rm -f -r conftest* confdefs.h
2339
$as_echo "/* confdefs.h */" > confdefs.h
2341
# Predefined preprocessor variables.
2343
cat >>confdefs.h <<_ACEOF
2344
#define PACKAGE_NAME "$PACKAGE_NAME"
2347
cat >>confdefs.h <<_ACEOF
2348
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2351
cat >>confdefs.h <<_ACEOF
2352
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2355
cat >>confdefs.h <<_ACEOF
2356
#define PACKAGE_STRING "$PACKAGE_STRING"
2359
cat >>confdefs.h <<_ACEOF
2360
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2363
cat >>confdefs.h <<_ACEOF
2364
#define PACKAGE_URL "$PACKAGE_URL"
2368
# Let the site file select an alternate cache file if it wants to.
2369
# Prefer an explicitly selected file to automatically selected ones.
2372
if test -n "$CONFIG_SITE"; then
2373
# We do not want a PATH search for config.site.
2374
case $CONFIG_SITE in #((
2375
-*) ac_site_file1=./$CONFIG_SITE;;
2376
*/*) ac_site_file1=$CONFIG_SITE;;
2377
*) ac_site_file1=./$CONFIG_SITE;;
2379
elif test "x$prefix" != xNONE; then
2380
ac_site_file1=$prefix/share/config.site
2381
ac_site_file2=$prefix/etc/config.site
2383
ac_site_file1=$ac_default_prefix/share/config.site
2384
ac_site_file2=$ac_default_prefix/etc/config.site
2386
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2388
test "x$ac_site_file" = xNONE && continue
2389
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2390
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2391
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2392
sed 's/^/| /' "$ac_site_file" >&5
2394
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2395
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2396
as_fn_error $? "failed to load site script $ac_site_file
2397
See \`config.log' for more details" "$LINENO" 5; }
2401
if test -r "$cache_file"; then
2402
# Some versions of bash will fail to source /dev/null (special files
2403
# actually), so we avoid doing that. DJGPP emulates it as a regular file.
2404
if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2405
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2406
$as_echo "$as_me: loading cache $cache_file" >&6;}
2408
[\\/]* | ?:[\\/]* ) . "$cache_file";;
2409
*) . "./$cache_file";;
2413
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2414
$as_echo "$as_me: creating cache $cache_file" >&6;}
2418
# Check that the precious variables saved in the cache have kept the same
2420
ac_cache_corrupted=false
2421
for ac_var in $ac_precious_vars; do
2422
eval ac_old_set=\$ac_cv_env_${ac_var}_set
2423
eval ac_new_set=\$ac_env_${ac_var}_set
2424
eval ac_old_val=\$ac_cv_env_${ac_var}_value
2425
eval ac_new_val=\$ac_env_${ac_var}_value
2426
case $ac_old_set,$ac_new_set in
2428
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2429
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2430
ac_cache_corrupted=: ;;
2432
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2433
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2434
ac_cache_corrupted=: ;;
2437
if test "x$ac_old_val" != "x$ac_new_val"; then
2438
# differences in whitespace do not lead to failure.
2439
ac_old_val_w=`echo x $ac_old_val`
2440
ac_new_val_w=`echo x $ac_new_val`
2441
if test "$ac_old_val_w" != "$ac_new_val_w"; then
2442
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2443
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2444
ac_cache_corrupted=:
2446
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2447
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2448
eval $ac_var=\$ac_old_val
2450
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2451
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2452
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2453
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2456
# Pass precious variables to config.status.
2457
if test "$ac_new_set" = set; then
2459
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2460
*) ac_arg=$ac_var=$ac_new_val ;;
2462
case " $ac_configure_args " in
2463
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2464
*) as_fn_append ac_configure_args " '$ac_arg'" ;;
2468
if $ac_cache_corrupted; then
2469
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2470
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2471
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2472
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2473
as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2475
## -------------------- ##
2476
## Main body of script. ##
2477
## -------------------- ##
2480
ac_cpp='$CPP $CPPFLAGS'
2481
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2482
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2483
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2487
ac_config_headers="$ac_config_headers config.h"
2493
# Required versions of other packages.
2498
am__api_version='1.11'
2501
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2502
if test -f "$ac_dir/install-sh"; then
2504
ac_install_sh="$ac_aux_dir/install-sh -c"
2506
elif test -f "$ac_dir/install.sh"; then
2508
ac_install_sh="$ac_aux_dir/install.sh -c"
2510
elif test -f "$ac_dir/shtool"; then
2512
ac_install_sh="$ac_aux_dir/shtool install -c"
2516
if test -z "$ac_aux_dir"; then
2517
as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2520
# These three variables are undocumented and unsupported,
2521
# and are intended to be withdrawn in a future Autoconf release.
2522
# They can cause serious problems if a builder's source tree is in a directory
2523
# whose full name contains unusual characters.
2524
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2525
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2526
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2529
# Find a good install program. We prefer a C program (faster),
2530
# so one script is as good as another. But avoid the broken or
2531
# incompatible versions:
2532
# SysV /etc/install, /usr/sbin/install
2533
# SunOS /usr/etc/install
2534
# IRIX /sbin/install
2536
# AmigaOS /C/install, which installs bootblocks on floppy discs
2537
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2538
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2539
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2540
# OS/2's system install, which has a completely different semantic
2541
# ./install, which can be erroneously created by make from ./install.sh.
2542
# Reject install programs that cannot install multiple files.
2543
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2544
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2545
if test -z "$INSTALL"; then
2546
if ${ac_cv_path_install+:} false; then :
2547
$as_echo_n "(cached) " >&6
2549
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2553
test -z "$as_dir" && as_dir=.
2554
# Account for people who put trailing slashes in PATH elements.
2555
case $as_dir/ in #((
2556
./ | .// | /[cC]/* | \
2557
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2558
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2561
# OSF1 and SCO ODT 3.0 have their own names for install.
2562
# Don't use installbsd from OSF since it installs stuff as root
2564
for ac_prog in ginstall scoinst install; do
2565
for ac_exec_ext in '' $ac_executable_extensions; do
2566
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2567
if test $ac_prog = install &&
2568
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2569
# AIX install. It has an incompatible calling convention.
2571
elif test $ac_prog = install &&
2572
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2573
# program-specific install script used by HP pwplus--don't use.
2576
rm -rf conftest.one conftest.two conftest.dir
2577
echo one > conftest.one
2578
echo two > conftest.two
2580
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2581
test -s conftest.one && test -s conftest.two &&
2582
test -s conftest.dir/conftest.one &&
2583
test -s conftest.dir/conftest.two
2585
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2598
rm -rf conftest.one conftest.two conftest.dir
2601
if test "${ac_cv_path_install+set}" = set; then
2602
INSTALL=$ac_cv_path_install
2604
# As a last resort, use the slow shell script. Don't cache a
2605
# value for INSTALL within a source directory, because that will
2606
# break other packages using the cache if that directory is
2607
# removed, or if the value is a relative name.
2608
INSTALL=$ac_install_sh
2611
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2612
$as_echo "$INSTALL" >&6; }
2614
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2615
# It thinks the first close brace ends the variable substitution.
2616
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2618
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2620
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2622
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2623
$as_echo_n "checking whether build environment is sane... " >&6; }
2626
echo timestamp > conftest.file
2627
# Reject unsafe characters in $srcdir or the absolute working directory
2628
# name. Accept space and tab only in the latter.
2632
*[\\\"\#\$\&\'\`$am_lf]*)
2633
as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2636
*[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2637
as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2640
# Do `set' in a subshell so we don't clobber the current shell's
2641
# arguments. Must try -L first in case configure is actually a
2642
# symlink; some systems play weird games with the mod time of symlinks
2643
# (eg FreeBSD returns the mod time of the symlink's containing
2646
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2647
if test "$*" = "X"; then
2649
set X `ls -t "$srcdir/configure" conftest.file`
2652
if test "$*" != "X $srcdir/configure conftest.file" \
2653
&& test "$*" != "X conftest.file $srcdir/configure"; then
2655
# If neither matched, then we have a broken ls. This can happen
2656
# if, for instance, CONFIG_SHELL is bash and it inherits a
2657
# broken ls alias from the environment. This has actually
2658
# happened. Such a system could not be considered "sane".
2659
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2660
alias in your environment" "$LINENO" 5
2663
test "$2" = conftest.file
2669
as_fn_error $? "newly created file is older than distributed files!
2670
Check your system clock" "$LINENO" 5
2672
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2673
$as_echo "yes" >&6; }
2674
test "$program_prefix" != NONE &&
2675
program_transform_name="s&^&$program_prefix&;$program_transform_name"
2676
# Use a double $ so make ignores it.
2677
test "$program_suffix" != NONE &&
2678
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2679
# Double any \ or $.
2680
# By default was `s,x,x', remove it if useless.
2681
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2682
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2684
# expand $ac_aux_dir to an absolute path
2685
am_aux_dir=`cd $ac_aux_dir && pwd`
2687
if test x"${MISSING+set}" != xset; then
2690
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2692
MISSING="\${SHELL} $am_aux_dir/missing" ;;
2695
# Use eval to expand $SHELL
2696
if eval "$MISSING --run true"; then
2697
am_missing_run="$MISSING --run "
2700
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2701
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2704
if test x"${install_sh}" != xset; then
2707
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2709
install_sh="\${SHELL} $am_aux_dir/install-sh"
2713
# Installed binaries are usually stripped using `strip' when the user
2714
# run `make install-strip'. However `strip' might not be the right
2715
# tool to use in cross-compilation environments, therefore Automake
2716
# will honor the `STRIP' environment variable to overrule this program.
2717
if test "$cross_compiling" != no; then
2718
if test -n "$ac_tool_prefix"; then
2719
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2720
set dummy ${ac_tool_prefix}strip; ac_word=$2
2721
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2722
$as_echo_n "checking for $ac_word... " >&6; }
2723
if ${ac_cv_prog_STRIP+:} false; then :
2724
$as_echo_n "(cached) " >&6
2726
if test -n "$STRIP"; then
2727
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2729
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2733
test -z "$as_dir" && as_dir=.
2734
for ac_exec_ext in '' $ac_executable_extensions; do
2735
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2736
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2737
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2746
STRIP=$ac_cv_prog_STRIP
2747
if test -n "$STRIP"; then
2748
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2749
$as_echo "$STRIP" >&6; }
2751
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2752
$as_echo "no" >&6; }
2757
if test -z "$ac_cv_prog_STRIP"; then
2759
# Extract the first word of "strip", so it can be a program name with args.
2760
set dummy strip; ac_word=$2
2761
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2762
$as_echo_n "checking for $ac_word... " >&6; }
2763
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2764
$as_echo_n "(cached) " >&6
2766
if test -n "$ac_ct_STRIP"; then
2767
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2769
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2773
test -z "$as_dir" && as_dir=.
2774
for ac_exec_ext in '' $ac_executable_extensions; do
2775
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2776
ac_cv_prog_ac_ct_STRIP="strip"
2777
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2786
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2787
if test -n "$ac_ct_STRIP"; then
2788
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2789
$as_echo "$ac_ct_STRIP" >&6; }
2791
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2792
$as_echo "no" >&6; }
2795
if test "x$ac_ct_STRIP" = x; then
2798
case $cross_compiling:$ac_tool_warned in
2800
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2801
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2802
ac_tool_warned=yes ;;
2807
STRIP="$ac_cv_prog_STRIP"
2811
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2813
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2814
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2815
if test -z "$MKDIR_P"; then
2816
if ${ac_cv_path_mkdir+:} false; then :
2817
$as_echo_n "(cached) " >&6
2819
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2820
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2823
test -z "$as_dir" && as_dir=.
2824
for ac_prog in mkdir gmkdir; do
2825
for ac_exec_ext in '' $ac_executable_extensions; do
2826
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2827
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2828
'mkdir (GNU coreutils) '* | \
2829
'mkdir (coreutils) '* | \
2830
'mkdir (fileutils) '4.1*)
2831
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2841
test -d ./--version && rmdir ./--version
2842
if test "${ac_cv_path_mkdir+set}" = set; then
2843
MKDIR_P="$ac_cv_path_mkdir -p"
2845
# As a last resort, use the slow shell script. Don't cache a
2846
# value for MKDIR_P within a source directory, because that will
2847
# break other packages using the cache if that directory is
2848
# removed, or if the value is a relative name.
2849
MKDIR_P="$ac_install_sh -d"
2852
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2853
$as_echo "$MKDIR_P" >&6; }
2857
[\\/$]* | ?:[\\/]*) ;;
2858
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2861
for ac_prog in gawk mawk nawk awk
2863
# Extract the first word of "$ac_prog", so it can be a program name with args.
2864
set dummy $ac_prog; ac_word=$2
2865
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2866
$as_echo_n "checking for $ac_word... " >&6; }
2867
if ${ac_cv_prog_AWK+:} false; then :
2868
$as_echo_n "(cached) " >&6
2870
if test -n "$AWK"; then
2871
ac_cv_prog_AWK="$AWK" # Let the user override the test.
2873
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2877
test -z "$as_dir" && as_dir=.
2878
for ac_exec_ext in '' $ac_executable_extensions; do
2879
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2880
ac_cv_prog_AWK="$ac_prog"
2881
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2891
if test -n "$AWK"; then
2892
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2893
$as_echo "$AWK" >&6; }
2895
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2896
$as_echo "no" >&6; }
2900
test -n "$AWK" && break
2903
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2904
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2906
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2907
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2908
$as_echo_n "(cached) " >&6
2910
cat >conftest.make <<\_ACEOF
2913
@echo '@@@%%%=$(MAKE)=@@@%%%'
2915
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2916
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2918
eval ac_cv_prog_make_${ac_make}_set=yes;;
2920
eval ac_cv_prog_make_${ac_make}_set=no;;
2924
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2925
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2926
$as_echo "yes" >&6; }
2929
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2930
$as_echo "no" >&6; }
2931
SET_MAKE="MAKE=${MAKE-make}"
2934
rm -rf .tst 2>/dev/null
2935
mkdir .tst 2>/dev/null
2936
if test -d .tst; then
2941
rmdir .tst 2>/dev/null
2943
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2944
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2945
# is not polluted with repeated "-I."
2946
am__isrc=' -I$(srcdir)'
2947
# test to see if srcdir already configured
2948
if test -f $srcdir/config.status; then
2949
as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2953
# test whether we have cygpath
2954
if test -z "$CYGPATH_W"; then
2955
if (cygpath --version) >/dev/null 2>/dev/null; then
2956
CYGPATH_W='cygpath -w'
2963
# Define the identity of the package.
2968
cat >>confdefs.h <<_ACEOF
2969
#define PACKAGE "$PACKAGE"
2973
cat >>confdefs.h <<_ACEOF
2974
#define VERSION "$VERSION"
2977
# Some tools Automake needs.
2979
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2982
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2985
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2988
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2991
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2993
# We need awk for the "check" target. The system "awk" is bad on
2995
# Always define AMTAR for backward compatibility.
2997
AMTAR=${AMTAR-"${am_missing_run}tar"}
2999
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3006
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to disable maintainer-specific portions of Makefiles" >&5
3007
$as_echo_n "checking whether to disable maintainer-specific portions of Makefiles... " >&6; }
3008
# Check whether --enable-maintainer-mode was given.
3009
if test "${enable_maintainer_mode+set}" = set; then :
3010
enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3012
USE_MAINTAINER_MODE=yes
3015
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3016
$as_echo "$USE_MAINTAINER_MODE" >&6; }
3017
if test $USE_MAINTAINER_MODE = yes; then
3018
MAINTAINER_MODE_TRUE=
3019
MAINTAINER_MODE_FALSE='#'
3021
MAINTAINER_MODE_TRUE='#'
3022
MAINTAINER_MODE_FALSE=
3025
MAINT=$MAINTAINER_MODE_TRUE
3028
DEPDIR="${am__leading_dot}deps"
3030
ac_config_commands="$ac_config_commands depfiles"
3033
am_make=${MAKE-make}
3034
cat > confinc << 'END'
3036
@echo this is the am__doit target
3039
# If we don't find an include directive, just comment out the code.
3040
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3041
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3045
# First try GNU make style include.
3046
echo "include confinc" > confmf
3047
# Ignore all kinds of additional output from `make'.
3048
case `$am_make -s -f confmf 2> /dev/null` in #(
3049
*the\ am__doit\ target*)
3055
# Now try BSD make style include.
3056
if test "$am__include" = "#"; then
3057
echo '.include "confinc"' > confmf
3058
case `$am_make -s -f confmf 2> /dev/null` in #(
3059
*the\ am__doit\ target*)
3060
am__include=.include
3068
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3069
$as_echo "$_am_result" >&6; }
3070
rm -f confinc confmf
3072
# Check whether --enable-dependency-tracking was given.
3073
if test "${enable_dependency_tracking+set}" = set; then :
3074
enableval=$enable_dependency_tracking;
3077
if test "x$enable_dependency_tracking" != xno; then
3078
am_depcomp="$ac_aux_dir/depcomp"
3081
if test "x$enable_dependency_tracking" != xno; then
3091
ac_cpp='$CPP $CPPFLAGS'
3092
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3093
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3094
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3095
if test -n "$ac_tool_prefix"; then
3096
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3097
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3098
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3099
$as_echo_n "checking for $ac_word... " >&6; }
3100
if ${ac_cv_prog_CC+:} false; then :
3101
$as_echo_n "(cached) " >&6
3103
if test -n "$CC"; then
3104
ac_cv_prog_CC="$CC" # Let the user override the test.
3106
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3110
test -z "$as_dir" && as_dir=.
3111
for ac_exec_ext in '' $ac_executable_extensions; do
3112
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3113
ac_cv_prog_CC="${ac_tool_prefix}gcc"
3114
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3124
if test -n "$CC"; then
3125
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3126
$as_echo "$CC" >&6; }
3128
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3129
$as_echo "no" >&6; }
3134
if test -z "$ac_cv_prog_CC"; then
3136
# Extract the first word of "gcc", so it can be a program name with args.
3137
set dummy gcc; ac_word=$2
3138
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3139
$as_echo_n "checking for $ac_word... " >&6; }
3140
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3141
$as_echo_n "(cached) " >&6
3143
if test -n "$ac_ct_CC"; then
3144
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3146
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3150
test -z "$as_dir" && as_dir=.
3151
for ac_exec_ext in '' $ac_executable_extensions; do
3152
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3153
ac_cv_prog_ac_ct_CC="gcc"
3154
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3163
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3164
if test -n "$ac_ct_CC"; then
3165
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3166
$as_echo "$ac_ct_CC" >&6; }
3168
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3169
$as_echo "no" >&6; }
3172
if test "x$ac_ct_CC" = x; then
3175
case $cross_compiling:$ac_tool_warned in
3177
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3178
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3179
ac_tool_warned=yes ;;
3187
if test -z "$CC"; then
3188
if test -n "$ac_tool_prefix"; then
3189
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3190
set dummy ${ac_tool_prefix}cc; ac_word=$2
3191
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3192
$as_echo_n "checking for $ac_word... " >&6; }
3193
if ${ac_cv_prog_CC+:} false; then :
3194
$as_echo_n "(cached) " >&6
3196
if test -n "$CC"; then
3197
ac_cv_prog_CC="$CC" # Let the user override the test.
3199
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3203
test -z "$as_dir" && as_dir=.
3204
for ac_exec_ext in '' $ac_executable_extensions; do
3205
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3206
ac_cv_prog_CC="${ac_tool_prefix}cc"
3207
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3217
if test -n "$CC"; then
3218
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3219
$as_echo "$CC" >&6; }
3221
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3222
$as_echo "no" >&6; }
3228
if test -z "$CC"; then
3229
# Extract the first word of "cc", so it can be a program name with args.
3230
set dummy cc; ac_word=$2
3231
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3232
$as_echo_n "checking for $ac_word... " >&6; }
3233
if ${ac_cv_prog_CC+:} false; then :
3234
$as_echo_n "(cached) " >&6
3236
if test -n "$CC"; then
3237
ac_cv_prog_CC="$CC" # Let the user override the test.
3240
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3244
test -z "$as_dir" && as_dir=.
3245
for ac_exec_ext in '' $ac_executable_extensions; do
3246
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3247
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3248
ac_prog_rejected=yes
3252
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3259
if test $ac_prog_rejected = yes; then
3260
# We found a bogon in the path, so make sure we never use it.
3261
set dummy $ac_cv_prog_CC
3263
if test $# != 0; then
3264
# We chose a different compiler from the bogus one.
3265
# However, it has the same basename, so the bogon will be chosen
3266
# first if we set CC to just the basename; use the full file name.
3268
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3274
if test -n "$CC"; then
3275
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3276
$as_echo "$CC" >&6; }
3278
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3279
$as_echo "no" >&6; }
3284
if test -z "$CC"; then
3285
if test -n "$ac_tool_prefix"; then
3286
for ac_prog in cl.exe
3288
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3289
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3290
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3291
$as_echo_n "checking for $ac_word... " >&6; }
3292
if ${ac_cv_prog_CC+:} false; then :
3293
$as_echo_n "(cached) " >&6
3295
if test -n "$CC"; then
3296
ac_cv_prog_CC="$CC" # Let the user override the test.
3298
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3302
test -z "$as_dir" && as_dir=.
3303
for ac_exec_ext in '' $ac_executable_extensions; do
3304
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3305
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3306
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3316
if test -n "$CC"; then
3317
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3318
$as_echo "$CC" >&6; }
3320
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3321
$as_echo "no" >&6; }
3325
test -n "$CC" && break
3328
if test -z "$CC"; then
3330
for ac_prog in cl.exe
3332
# Extract the first word of "$ac_prog", so it can be a program name with args.
3333
set dummy $ac_prog; ac_word=$2
3334
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3335
$as_echo_n "checking for $ac_word... " >&6; }
3336
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3337
$as_echo_n "(cached) " >&6
3339
if test -n "$ac_ct_CC"; then
3340
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3342
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3346
test -z "$as_dir" && as_dir=.
3347
for ac_exec_ext in '' $ac_executable_extensions; do
3348
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3349
ac_cv_prog_ac_ct_CC="$ac_prog"
3350
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3359
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3360
if test -n "$ac_ct_CC"; then
3361
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3362
$as_echo "$ac_ct_CC" >&6; }
3364
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3365
$as_echo "no" >&6; }
3369
test -n "$ac_ct_CC" && break
3372
if test "x$ac_ct_CC" = x; then
3375
case $cross_compiling:$ac_tool_warned in
3377
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3378
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3379
ac_tool_warned=yes ;;
3388
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3389
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3390
as_fn_error $? "no acceptable C compiler found in \$PATH
3391
See \`config.log' for more details" "$LINENO" 5; }
3393
# Provide some information about the compiler.
3394
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3397
for ac_option in --version -v -V -qversion; do
3398
{ { ac_try="$ac_compiler $ac_option >&5"
3400
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3401
*) ac_try_echo=$ac_try;;
3403
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3404
$as_echo "$ac_try_echo"; } >&5
3405
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
3407
if test -s conftest.err; then
3409
... rest of stderr output deleted ...
3410
10q' conftest.err >conftest.er1
3411
cat conftest.er1 >&5
3413
rm -f conftest.er1 conftest.err
3414
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3415
test $ac_status = 0; }
3418
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3419
/* end confdefs.h. */
3429
ac_clean_files_save=$ac_clean_files
3430
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3431
# Try to create an executable without -o first, disregard a.out.
3432
# It will help us diagnose broken compilers, and finding out an intuition
3434
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3435
$as_echo_n "checking whether the C compiler works... " >&6; }
3436
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3438
# The possible output files:
3439
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3442
for ac_file in $ac_files
3445
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3446
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
3451
if { { ac_try="$ac_link_default"
3453
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3454
*) ac_try_echo=$ac_try;;
3456
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3457
$as_echo "$ac_try_echo"; } >&5
3458
(eval "$ac_link_default") 2>&5
3460
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3461
test $ac_status = 0; }; then :
3462
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3463
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3464
# in a Makefile. We should not override ac_cv_exeext if it was cached,
3465
# so that the user can short-circuit this test for compilers unknown to
3467
for ac_file in $ac_files ''
3469
test -f "$ac_file" || continue
3471
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3474
# We found the default executable, but exeext='' is most
3478
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3480
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3482
# We set ac_cv_exeext here because the later test for it is not
3483
# safe: cross compilers may not add the suffix if given an `-o'
3484
# argument, so we may need to know it at that point already.
3485
# Even if this section looks crufty: it has the advantage of
3492
test "$ac_cv_exeext" = no && ac_cv_exeext=
3497
if test -z "$ac_file"; then :
3498
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3499
$as_echo "no" >&6; }
3500
$as_echo "$as_me: failed program was:" >&5
3501
sed 's/^/| /' conftest.$ac_ext >&5
3503
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3504
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3505
as_fn_error 77 "C compiler cannot create executables
3506
See \`config.log' for more details" "$LINENO" 5; }
3508
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3509
$as_echo "yes" >&6; }
3511
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3512
$as_echo_n "checking for C compiler default output file name... " >&6; }
3513
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3514
$as_echo "$ac_file" >&6; }
3515
ac_exeext=$ac_cv_exeext
3517
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3518
ac_clean_files=$ac_clean_files_save
3519
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3520
$as_echo_n "checking for suffix of executables... " >&6; }
3521
if { { ac_try="$ac_link"
3523
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3524
*) ac_try_echo=$ac_try;;
3526
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3527
$as_echo "$ac_try_echo"; } >&5
3528
(eval "$ac_link") 2>&5
3530
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3531
test $ac_status = 0; }; then :
3532
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3533
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3534
# work properly (i.e., refer to `conftest.exe'), while it won't with
3536
for ac_file in conftest.exe conftest conftest.*; do
3537
test -f "$ac_file" || continue
3539
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3540
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3546
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3547
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3548
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3549
See \`config.log' for more details" "$LINENO" 5; }
3551
rm -f conftest conftest$ac_cv_exeext
3552
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3553
$as_echo "$ac_cv_exeext" >&6; }
3555
rm -f conftest.$ac_ext
3556
EXEEXT=$ac_cv_exeext
3558
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3559
/* end confdefs.h. */
3564
FILE *f = fopen ("conftest.out", "w");
3565
return ferror (f) || fclose (f) != 0;
3571
ac_clean_files="$ac_clean_files conftest.out"
3572
# Check that the compiler produces executables we can run. If not, either
3573
# the compiler is broken, or we cross compile.
3574
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3575
$as_echo_n "checking whether we are cross compiling... " >&6; }
3576
if test "$cross_compiling" != yes; then
3577
{ { ac_try="$ac_link"
3579
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3580
*) ac_try_echo=$ac_try;;
3582
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3583
$as_echo "$ac_try_echo"; } >&5
3584
(eval "$ac_link") 2>&5
3586
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3587
test $ac_status = 0; }
3588
if { ac_try='./conftest$ac_cv_exeext'
3589
{ { case "(($ac_try" in
3590
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3591
*) ac_try_echo=$ac_try;;
3593
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3594
$as_echo "$ac_try_echo"; } >&5
3595
(eval "$ac_try") 2>&5
3597
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3598
test $ac_status = 0; }; }; then
3601
if test "$cross_compiling" = maybe; then
3604
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3605
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3606
as_fn_error $? "cannot run C compiled programs.
3607
If you meant to cross compile, use \`--host'.
3608
See \`config.log' for more details" "$LINENO" 5; }
3612
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3613
$as_echo "$cross_compiling" >&6; }
3615
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3616
ac_clean_files=$ac_clean_files_save
3617
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3618
$as_echo_n "checking for suffix of object files... " >&6; }
3619
if ${ac_cv_objext+:} false; then :
3620
$as_echo_n "(cached) " >&6
3622
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3623
/* end confdefs.h. */
3633
rm -f conftest.o conftest.obj
3634
if { { ac_try="$ac_compile"
3636
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3637
*) ac_try_echo=$ac_try;;
3639
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3640
$as_echo "$ac_try_echo"; } >&5
3641
(eval "$ac_compile") 2>&5
3643
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3644
test $ac_status = 0; }; then :
3645
for ac_file in conftest.o conftest.obj conftest.*; do
3646
test -f "$ac_file" || continue;
3648
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3649
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3654
$as_echo "$as_me: failed program was:" >&5
3655
sed 's/^/| /' conftest.$ac_ext >&5
3657
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3658
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3659
as_fn_error $? "cannot compute suffix of object files: cannot compile
3660
See \`config.log' for more details" "$LINENO" 5; }
3662
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3664
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3665
$as_echo "$ac_cv_objext" >&6; }
3666
OBJEXT=$ac_cv_objext
3668
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3669
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3670
if ${ac_cv_c_compiler_gnu+:} false; then :
3671
$as_echo_n "(cached) " >&6
3673
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3674
/* end confdefs.h. */
3687
if ac_fn_c_try_compile "$LINENO"; then :
3692
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3693
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3696
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3697
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3698
if test $ac_compiler_gnu = yes; then
3703
ac_test_CFLAGS=${CFLAGS+set}
3704
ac_save_CFLAGS=$CFLAGS
3705
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3706
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3707
if ${ac_cv_prog_cc_g+:} false; then :
3708
$as_echo_n "(cached) " >&6
3710
ac_save_c_werror_flag=$ac_c_werror_flag
3711
ac_c_werror_flag=yes
3714
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3715
/* end confdefs.h. */
3725
if ac_fn_c_try_compile "$LINENO"; then :
3729
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3730
/* end confdefs.h. */
3740
if ac_fn_c_try_compile "$LINENO"; then :
3743
ac_c_werror_flag=$ac_save_c_werror_flag
3745
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3746
/* end confdefs.h. */
3756
if ac_fn_c_try_compile "$LINENO"; then :
3759
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3761
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3763
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3764
ac_c_werror_flag=$ac_save_c_werror_flag
3766
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3767
$as_echo "$ac_cv_prog_cc_g" >&6; }
3768
if test "$ac_test_CFLAGS" = set; then
3769
CFLAGS=$ac_save_CFLAGS
3770
elif test $ac_cv_prog_cc_g = yes; then
3771
if test "$GCC" = yes; then
3777
if test "$GCC" = yes; then
3783
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3784
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3785
if ${ac_cv_prog_cc_c89+:} false; then :
3786
$as_echo_n "(cached) " >&6
3788
ac_cv_prog_cc_c89=no
3790
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3791
/* end confdefs.h. */
3794
#include <sys/types.h>
3795
#include <sys/stat.h>
3796
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3797
struct buf { int x; };
3798
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3799
static char *e (p, i)
3805
static char *f (char * (*g) (char **, int), char **p, ...)
3810
s = g (p, va_arg (v,int));
3815
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3816
function prototypes and stuff, but not '\xHH' hex character constants.
3817
These don't provoke an error unfortunately, instead are silently treated
3818
as 'x'. The following induces an error, until -std is added to get
3819
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3820
array size at least. It's necessary to write '\x00'==0 to get something
3821
that's true only with -std. */
3822
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3824
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3825
inside strings and character constants. */
3827
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3829
int test (int i, double x);
3830
struct s1 {int (*f) (int a);};
3831
struct s2 {int (*f) (double a);};
3832
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3838
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3843
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3844
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3846
CC="$ac_save_CC $ac_arg"
3847
if ac_fn_c_try_compile "$LINENO"; then :
3848
ac_cv_prog_cc_c89=$ac_arg
3850
rm -f core conftest.err conftest.$ac_objext
3851
test "x$ac_cv_prog_cc_c89" != "xno" && break
3853
rm -f conftest.$ac_ext
3858
case "x$ac_cv_prog_cc_c89" in
3860
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3861
$as_echo "none needed" >&6; } ;;
3863
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3864
$as_echo "unsupported" >&6; } ;;
3866
CC="$CC $ac_cv_prog_cc_c89"
3867
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3868
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3870
if test "x$ac_cv_prog_cc_c89" != xno; then :
3875
ac_cpp='$CPP $CPPFLAGS'
3876
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3877
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3878
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3880
depcc="$CC" am_compiler_list=
3882
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3883
$as_echo_n "checking dependency style of $depcc... " >&6; }
3884
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3885
$as_echo_n "(cached) " >&6
3887
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3888
# We make a subdir and do the tests there. Otherwise we can end up
3889
# making bogus files that we don't know about and never remove. For
3890
# instance it was reported that on HP-UX the gcc test will end up
3891
# making a dummy file named `D' -- because `-MD' means `put the output
3894
# Copy depcomp to subdir because otherwise we won't find it if we're
3895
# using a relative directory.
3896
cp "$am_depcomp" conftest.dir
3898
# We will build objects and dependencies in a subdirectory because
3899
# it helps to detect inapplicable dependency modes. For instance
3900
# both Tru64's cc and ICC support -MD to output dependencies as a
3901
# side effect of compilation, but ICC will put the dependencies in
3902
# the current directory while Tru64 will put them in the object
3906
am_cv_CC_dependencies_compiler_type=none
3907
if test "$am_compiler_list" = ""; then
3908
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3911
case " $depcc " in #(
3912
*\ -arch\ *\ -arch\ *) am__universal=true ;;
3915
for depmode in $am_compiler_list; do
3916
# Setup a source with many dependencies, because some compilers
3917
# like to wrap large dependency lists on column 80 (with \), and
3918
# we should not choose a depcomp mode which is confused by this.
3920
# We need to recreate these files for each test, as the compiler may
3921
# overwrite some of them when testing with obscure command lines.
3922
# This happens at least with the AIX C compiler.
3924
for i in 1 2 3 4 5 6; do
3925
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3926
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3927
# Solaris 8's {/usr,}/bin/sh.
3928
touch sub/conftst$i.h
3930
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3932
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3933
# mode. It turns out that the SunPro C++ compiler does not properly
3934
# handle `-M -o', and we need to detect this. Also, some Intel
3935
# versions had trouble with output in subdirs
3936
am__obj=sub/conftest.${OBJEXT-o}
3937
am__minus_obj="-o $am__obj"
3940
# This depmode causes a compiler race in universal mode.
3941
test "$am__universal" = false || continue
3944
# after this tag, mechanisms are not by side-effect, so they'll
3945
# only be used when explicitly requested
3946
if test "x$enable_dependency_tracking" = xyes; then
3952
msvisualcpp | msvcmsys)
3953
# This compiler won't grok `-c -o', but also, the minuso test has
3954
# not run yet. These depmodes are late enough in the game, and
3955
# so weak that their functioning should not be impacted.
3956
am__obj=conftest.${OBJEXT-o}
3961
if depmode=$depmode \
3962
source=sub/conftest.c object=$am__obj \
3963
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3964
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3965
>/dev/null 2>conftest.err &&
3966
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3967
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3968
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3969
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3970
# icc doesn't choke on unknown options, it will just issue warnings
3971
# or remarks (even with -Werror). So we grep stderr for any message
3972
# that says an option was ignored or not supported.
3973
# When given -MP, icc 7.0 and 7.1 complain thusly:
3974
# icc: Command line warning: ignoring option '-M'; no argument required
3975
# The diagnosis changed in icc 8.0:
3976
# icc: Command line remark: option '-MP' not supported
3977
if (grep 'ignoring option' conftest.err ||
3978
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3979
am_cv_CC_dependencies_compiler_type=$depmode
3988
am_cv_CC_dependencies_compiler_type=none
3992
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3993
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3994
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3997
test "x$enable_dependency_tracking" != xno \
3998
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4000
am__fastdepCC_FALSE='#'
4002
am__fastdepCC_TRUE='#'
4003
am__fastdepCC_FALSE=
4009
ac_cpp='$CPP $CPPFLAGS'
4010
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4011
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4012
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4013
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4014
$as_echo_n "checking how to run the C preprocessor... " >&6; }
4015
# On Suns, sometimes $CPP names a directory.
4016
if test -n "$CPP" && test -d "$CPP"; then
4019
if test -z "$CPP"; then
4020
if ${ac_cv_prog_CPP+:} false; then :
4021
$as_echo_n "(cached) " >&6
4023
# Double quotes because CPP needs to be expanded
4024
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4027
for ac_c_preproc_warn_flag in '' yes
4029
# Use a header file that comes with gcc, so configuring glibc
4030
# with a fresh cross-compiler works.
4031
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4032
# <limits.h> exists even on freestanding compilers.
4033
# On the NeXT, cc -E runs the code through the compiler's parser,
4034
# not just through cpp. "Syntax error" is here to catch this case.
4035
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4036
/* end confdefs.h. */
4038
# include <limits.h>
4040
# include <assert.h>
4044
if ac_fn_c_try_cpp "$LINENO"; then :
4047
# Broken: fails on valid input.
4050
rm -f conftest.err conftest.i conftest.$ac_ext
4052
# OK, works on sane cases. Now check whether nonexistent headers
4053
# can be detected and how.
4054
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4055
/* end confdefs.h. */
4056
#include <ac_nonexistent.h>
4058
if ac_fn_c_try_cpp "$LINENO"; then :
4059
# Broken: success on invalid input.
4062
# Passes both tests.
4066
rm -f conftest.err conftest.i conftest.$ac_ext
4069
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4070
rm -f conftest.i conftest.err conftest.$ac_ext
4071
if $ac_preproc_ok; then :
4083
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4084
$as_echo "$CPP" >&6; }
4086
for ac_c_preproc_warn_flag in '' yes
4088
# Use a header file that comes with gcc, so configuring glibc
4089
# with a fresh cross-compiler works.
4090
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4091
# <limits.h> exists even on freestanding compilers.
4092
# On the NeXT, cc -E runs the code through the compiler's parser,
4093
# not just through cpp. "Syntax error" is here to catch this case.
4094
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4095
/* end confdefs.h. */
4097
# include <limits.h>
4099
# include <assert.h>
4103
if ac_fn_c_try_cpp "$LINENO"; then :
4106
# Broken: fails on valid input.
4109
rm -f conftest.err conftest.i conftest.$ac_ext
4111
# OK, works on sane cases. Now check whether nonexistent headers
4112
# can be detected and how.
4113
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4114
/* end confdefs.h. */
4115
#include <ac_nonexistent.h>
4117
if ac_fn_c_try_cpp "$LINENO"; then :
4118
# Broken: success on invalid input.
4121
# Passes both tests.
4125
rm -f conftest.err conftest.i conftest.$ac_ext
4128
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4129
rm -f conftest.i conftest.err conftest.$ac_ext
4130
if $ac_preproc_ok; then :
4133
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4134
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4135
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4136
See \`config.log' for more details" "$LINENO" 5; }
4140
ac_cpp='$CPP $CPPFLAGS'
4141
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4142
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4143
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4146
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4147
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4148
if ${ac_cv_path_GREP+:} false; then :
4149
$as_echo_n "(cached) " >&6
4151
if test -z "$GREP"; then
4152
ac_path_GREP_found=false
4153
# Loop through the user's path and test for each of PROGNAME-LIST
4154
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4155
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4158
test -z "$as_dir" && as_dir=.
4159
for ac_prog in grep ggrep; do
4160
for ac_exec_ext in '' $ac_executable_extensions; do
4161
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4162
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4163
# Check for GNU ac_path_GREP and select it if it is found.
4164
# Check for GNU $ac_path_GREP
4165
case `"$ac_path_GREP" --version 2>&1` in
4167
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4170
$as_echo_n 0123456789 >"conftest.in"
4173
cat "conftest.in" "conftest.in" >"conftest.tmp"
4174
mv "conftest.tmp" "conftest.in"
4175
cp "conftest.in" "conftest.nl"
4176
$as_echo 'GREP' >> "conftest.nl"
4177
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4178
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4179
as_fn_arith $ac_count + 1 && ac_count=$as_val
4180
if test $ac_count -gt ${ac_path_GREP_max-0}; then
4181
# Best one so far, save it but keep looking for a better one
4182
ac_cv_path_GREP="$ac_path_GREP"
4183
ac_path_GREP_max=$ac_count
4185
# 10*(2^10) chars as input seems more than enough
4186
test $ac_count -gt 10 && break
4188
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4191
$ac_path_GREP_found && break 3
4196
if test -z "$ac_cv_path_GREP"; then
4197
as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4200
ac_cv_path_GREP=$GREP
4204
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4205
$as_echo "$ac_cv_path_GREP" >&6; }
4206
GREP="$ac_cv_path_GREP"
4209
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4210
$as_echo_n "checking for egrep... " >&6; }
4211
if ${ac_cv_path_EGREP+:} false; then :
4212
$as_echo_n "(cached) " >&6
4214
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4215
then ac_cv_path_EGREP="$GREP -E"
4217
if test -z "$EGREP"; then
4218
ac_path_EGREP_found=false
4219
# Loop through the user's path and test for each of PROGNAME-LIST
4220
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4221
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4224
test -z "$as_dir" && as_dir=.
4225
for ac_prog in egrep; do
4226
for ac_exec_ext in '' $ac_executable_extensions; do
4227
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4228
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4229
# Check for GNU ac_path_EGREP and select it if it is found.
4230
# Check for GNU $ac_path_EGREP
4231
case `"$ac_path_EGREP" --version 2>&1` in
4233
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4236
$as_echo_n 0123456789 >"conftest.in"
4239
cat "conftest.in" "conftest.in" >"conftest.tmp"
4240
mv "conftest.tmp" "conftest.in"
4241
cp "conftest.in" "conftest.nl"
4242
$as_echo 'EGREP' >> "conftest.nl"
4243
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4244
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4245
as_fn_arith $ac_count + 1 && ac_count=$as_val
4246
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4247
# Best one so far, save it but keep looking for a better one
4248
ac_cv_path_EGREP="$ac_path_EGREP"
4249
ac_path_EGREP_max=$ac_count
4251
# 10*(2^10) chars as input seems more than enough
4252
test $ac_count -gt 10 && break
4254
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4257
$ac_path_EGREP_found && break 3
4262
if test -z "$ac_cv_path_EGREP"; then
4263
as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4266
ac_cv_path_EGREP=$EGREP
4271
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4272
$as_echo "$ac_cv_path_EGREP" >&6; }
4273
EGREP="$ac_cv_path_EGREP"
4276
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4277
$as_echo_n "checking for ANSI C header files... " >&6; }
4278
if ${ac_cv_header_stdc+:} false; then :
4279
$as_echo_n "(cached) " >&6
4281
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4282
/* end confdefs.h. */
4296
if ac_fn_c_try_compile "$LINENO"; then :
4297
ac_cv_header_stdc=yes
4299
ac_cv_header_stdc=no
4301
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4303
if test $ac_cv_header_stdc = yes; then
4304
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4305
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4306
/* end confdefs.h. */
4310
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4311
$EGREP "memchr" >/dev/null 2>&1; then :
4314
ac_cv_header_stdc=no
4320
if test $ac_cv_header_stdc = yes; then
4321
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4322
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4323
/* end confdefs.h. */
4327
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4328
$EGREP "free" >/dev/null 2>&1; then :
4331
ac_cv_header_stdc=no
4337
if test $ac_cv_header_stdc = yes; then
4338
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4339
if test "$cross_compiling" = yes; then :
4342
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4343
/* end confdefs.h. */
4346
#if ((' ' & 0x0FF) == 0x020)
4347
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4348
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4350
# define ISLOWER(c) \
4351
(('a' <= (c) && (c) <= 'i') \
4352
|| ('j' <= (c) && (c) <= 'r') \
4353
|| ('s' <= (c) && (c) <= 'z'))
4354
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4357
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4362
for (i = 0; i < 256; i++)
4363
if (XOR (islower (i), ISLOWER (i))
4364
|| toupper (i) != TOUPPER (i))
4369
if ac_fn_c_try_run "$LINENO"; then :
4372
ac_cv_header_stdc=no
4374
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4375
conftest.$ac_objext conftest.beam conftest.$ac_ext
4380
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4381
$as_echo "$ac_cv_header_stdc" >&6; }
4382
if test $ac_cv_header_stdc = yes; then
4384
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4388
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4389
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4390
inttypes.h stdint.h unistd.h
4392
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4393
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4395
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4396
cat >>confdefs.h <<_ACEOF
4397
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4406
ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4407
if test "x$ac_cv_header_minix_config_h" = xyes; then :
4414
if test "$MINIX" = yes; then
4416
$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4419
$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4422
$as_echo "#define _MINIX 1" >>confdefs.h
4427
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4428
$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4429
if ${ac_cv_safe_to_define___extensions__+:} false; then :
4430
$as_echo_n "(cached) " >&6
4432
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4433
/* end confdefs.h. */
4435
# define __EXTENSIONS__ 1
4436
$ac_includes_default
4445
if ac_fn_c_try_compile "$LINENO"; then :
4446
ac_cv_safe_to_define___extensions__=yes
4448
ac_cv_safe_to_define___extensions__=no
4450
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4452
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4453
$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4454
test $ac_cv_safe_to_define___extensions__ = yes &&
4455
$as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4457
$as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4459
$as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4461
$as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4463
$as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4468
# Support silent build rules. Disable
4469
# by either passing --disable-silent-rules to configure or passing V=1
4471
# Check whether --enable-silent-rules was given.
4472
if test "${enable_silent_rules+set}" = set; then :
4473
enableval=$enable_silent_rules;
4476
case $enable_silent_rules in
4477
yes) AM_DEFAULT_VERBOSITY=0;;
4478
no) AM_DEFAULT_VERBOSITY=1;;
4479
*) AM_DEFAULT_VERBOSITY=0;;
4484
# Define sustituted variables:
4485
IBUS_MAJOR_VERSION=1
4486
IBUS_MINOR_VERSION=4
4487
IBUS_MICRO_VERSION=0
4488
IBUS_INTERFACE_AGE=0
4491
IBUS_API_VERSION=1.0
4492
IBUS_BINARY_VERSION=1.0.0
4502
# libtool versioning
4506
LT_VERSION_INFO="400:0:400"
4507
LT_CURRENT_MINUS_AGE=0
4511
# Define GETTEXT_* variables.
4512
GETTEXT_PACKAGE=ibus10
4515
cat >>confdefs.h <<_ACEOF
4516
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
4522
DATE_DISPLAY="Fri Sep 23 2011"
4526
# Check for programs.
4528
ac_cpp='$CPP $CPPFLAGS'
4529
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4530
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4531
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4532
if test -n "$ac_tool_prefix"; then
4533
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4534
set dummy ${ac_tool_prefix}gcc; ac_word=$2
4535
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4536
$as_echo_n "checking for $ac_word... " >&6; }
4537
if ${ac_cv_prog_CC+:} false; then :
4538
$as_echo_n "(cached) " >&6
4540
if test -n "$CC"; then
4541
ac_cv_prog_CC="$CC" # Let the user override the test.
4543
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4547
test -z "$as_dir" && as_dir=.
4548
for ac_exec_ext in '' $ac_executable_extensions; do
4549
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4550
ac_cv_prog_CC="${ac_tool_prefix}gcc"
4551
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4561
if test -n "$CC"; then
4562
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4563
$as_echo "$CC" >&6; }
4565
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4566
$as_echo "no" >&6; }
4571
if test -z "$ac_cv_prog_CC"; then
4573
# Extract the first word of "gcc", so it can be a program name with args.
4574
set dummy gcc; ac_word=$2
4575
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4576
$as_echo_n "checking for $ac_word... " >&6; }
4577
if ${ac_cv_prog_ac_ct_CC+:} false; then :
4578
$as_echo_n "(cached) " >&6
4580
if test -n "$ac_ct_CC"; then
4581
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4583
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4587
test -z "$as_dir" && as_dir=.
4588
for ac_exec_ext in '' $ac_executable_extensions; do
4589
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4590
ac_cv_prog_ac_ct_CC="gcc"
4591
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4600
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4601
if test -n "$ac_ct_CC"; then
4602
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4603
$as_echo "$ac_ct_CC" >&6; }
4605
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4606
$as_echo "no" >&6; }
4609
if test "x$ac_ct_CC" = x; then
4612
case $cross_compiling:$ac_tool_warned in
4614
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4615
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4616
ac_tool_warned=yes ;;
4624
if test -z "$CC"; then
4625
if test -n "$ac_tool_prefix"; then
4626
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4627
set dummy ${ac_tool_prefix}cc; ac_word=$2
4628
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4629
$as_echo_n "checking for $ac_word... " >&6; }
4630
if ${ac_cv_prog_CC+:} false; then :
4631
$as_echo_n "(cached) " >&6
4633
if test -n "$CC"; then
4634
ac_cv_prog_CC="$CC" # Let the user override the test.
4636
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4640
test -z "$as_dir" && as_dir=.
4641
for ac_exec_ext in '' $ac_executable_extensions; do
4642
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4643
ac_cv_prog_CC="${ac_tool_prefix}cc"
4644
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4654
if test -n "$CC"; then
4655
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4656
$as_echo "$CC" >&6; }
4658
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4659
$as_echo "no" >&6; }
4665
if test -z "$CC"; then
4666
# Extract the first word of "cc", so it can be a program name with args.
4667
set dummy cc; ac_word=$2
4668
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4669
$as_echo_n "checking for $ac_word... " >&6; }
4670
if ${ac_cv_prog_CC+:} false; then :
4671
$as_echo_n "(cached) " >&6
4673
if test -n "$CC"; then
4674
ac_cv_prog_CC="$CC" # Let the user override the test.
4677
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4681
test -z "$as_dir" && as_dir=.
4682
for ac_exec_ext in '' $ac_executable_extensions; do
4683
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4684
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4685
ac_prog_rejected=yes
4689
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4696
if test $ac_prog_rejected = yes; then
4697
# We found a bogon in the path, so make sure we never use it.
4698
set dummy $ac_cv_prog_CC
4700
if test $# != 0; then
4701
# We chose a different compiler from the bogus one.
4702
# However, it has the same basename, so the bogon will be chosen
4703
# first if we set CC to just the basename; use the full file name.
4705
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4711
if test -n "$CC"; then
4712
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4713
$as_echo "$CC" >&6; }
4715
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4716
$as_echo "no" >&6; }
4721
if test -z "$CC"; then
4722
if test -n "$ac_tool_prefix"; then
4723
for ac_prog in cl.exe
4725
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4726
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4727
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4728
$as_echo_n "checking for $ac_word... " >&6; }
4729
if ${ac_cv_prog_CC+:} false; then :
4730
$as_echo_n "(cached) " >&6
4732
if test -n "$CC"; then
4733
ac_cv_prog_CC="$CC" # Let the user override the test.
4735
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4739
test -z "$as_dir" && as_dir=.
4740
for ac_exec_ext in '' $ac_executable_extensions; do
4741
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4742
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4743
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4753
if test -n "$CC"; then
4754
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4755
$as_echo "$CC" >&6; }
4757
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4758
$as_echo "no" >&6; }
4762
test -n "$CC" && break
4765
if test -z "$CC"; then
4767
for ac_prog in cl.exe
4769
# Extract the first word of "$ac_prog", so it can be a program name with args.
4770
set dummy $ac_prog; ac_word=$2
4771
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4772
$as_echo_n "checking for $ac_word... " >&6; }
4773
if ${ac_cv_prog_ac_ct_CC+:} false; then :
4774
$as_echo_n "(cached) " >&6
4776
if test -n "$ac_ct_CC"; then
4777
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4779
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4783
test -z "$as_dir" && as_dir=.
4784
for ac_exec_ext in '' $ac_executable_extensions; do
4785
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4786
ac_cv_prog_ac_ct_CC="$ac_prog"
4787
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4796
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4797
if test -n "$ac_ct_CC"; then
4798
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4799
$as_echo "$ac_ct_CC" >&6; }
4801
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4802
$as_echo "no" >&6; }
4806
test -n "$ac_ct_CC" && break
4809
if test "x$ac_ct_CC" = x; then
4812
case $cross_compiling:$ac_tool_warned in
4814
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4815
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4816
ac_tool_warned=yes ;;
4825
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4826
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4827
as_fn_error $? "no acceptable C compiler found in \$PATH
4828
See \`config.log' for more details" "$LINENO" 5; }
4830
# Provide some information about the compiler.
4831
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4834
for ac_option in --version -v -V -qversion; do
4835
{ { ac_try="$ac_compiler $ac_option >&5"
4837
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4838
*) ac_try_echo=$ac_try;;
4840
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4841
$as_echo "$ac_try_echo"; } >&5
4842
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
4844
if test -s conftest.err; then
4846
... rest of stderr output deleted ...
4847
10q' conftest.err >conftest.er1
4848
cat conftest.er1 >&5
4850
rm -f conftest.er1 conftest.err
4851
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4852
test $ac_status = 0; }
4855
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4856
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4857
if ${ac_cv_c_compiler_gnu+:} false; then :
4858
$as_echo_n "(cached) " >&6
4860
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4861
/* end confdefs.h. */
4874
if ac_fn_c_try_compile "$LINENO"; then :
4879
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4880
ac_cv_c_compiler_gnu=$ac_compiler_gnu
4883
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4884
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4885
if test $ac_compiler_gnu = yes; then
4890
ac_test_CFLAGS=${CFLAGS+set}
4891
ac_save_CFLAGS=$CFLAGS
4892
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4893
$as_echo_n "checking whether $CC accepts -g... " >&6; }
4894
if ${ac_cv_prog_cc_g+:} false; then :
4895
$as_echo_n "(cached) " >&6
4897
ac_save_c_werror_flag=$ac_c_werror_flag
4898
ac_c_werror_flag=yes
4901
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4902
/* end confdefs.h. */
4912
if ac_fn_c_try_compile "$LINENO"; then :
4916
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4917
/* end confdefs.h. */
4927
if ac_fn_c_try_compile "$LINENO"; then :
4930
ac_c_werror_flag=$ac_save_c_werror_flag
4932
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4933
/* end confdefs.h. */
4943
if ac_fn_c_try_compile "$LINENO"; then :
4946
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4948
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4950
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4951
ac_c_werror_flag=$ac_save_c_werror_flag
4953
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4954
$as_echo "$ac_cv_prog_cc_g" >&6; }
4955
if test "$ac_test_CFLAGS" = set; then
4956
CFLAGS=$ac_save_CFLAGS
4957
elif test $ac_cv_prog_cc_g = yes; then
4958
if test "$GCC" = yes; then
4964
if test "$GCC" = yes; then
4970
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4971
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4972
if ${ac_cv_prog_cc_c89+:} false; then :
4973
$as_echo_n "(cached) " >&6
4975
ac_cv_prog_cc_c89=no
4977
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4978
/* end confdefs.h. */
4981
#include <sys/types.h>
4982
#include <sys/stat.h>
4983
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4984
struct buf { int x; };
4985
FILE * (*rcsopen) (struct buf *, struct stat *, int);
4986
static char *e (p, i)
4992
static char *f (char * (*g) (char **, int), char **p, ...)
4997
s = g (p, va_arg (v,int));
5002
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5003
function prototypes and stuff, but not '\xHH' hex character constants.
5004
These don't provoke an error unfortunately, instead are silently treated
5005
as 'x'. The following induces an error, until -std is added to get
5006
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5007
array size at least. It's necessary to write '\x00'==0 to get something
5008
that's true only with -std. */
5009
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5011
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5012
inside strings and character constants. */
5014
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5016
int test (int i, double x);
5017
struct s1 {int (*f) (int a);};
5018
struct s2 {int (*f) (double a);};
5019
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5025
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5030
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5031
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5033
CC="$ac_save_CC $ac_arg"
5034
if ac_fn_c_try_compile "$LINENO"; then :
5035
ac_cv_prog_cc_c89=$ac_arg
5037
rm -f core conftest.err conftest.$ac_objext
5038
test "x$ac_cv_prog_cc_c89" != "xno" && break
5040
rm -f conftest.$ac_ext
5045
case "x$ac_cv_prog_cc_c89" in
5047
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5048
$as_echo "none needed" >&6; } ;;
5050
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5051
$as_echo "unsupported" >&6; } ;;
5053
CC="$CC $ac_cv_prog_cc_c89"
5054
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5055
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5057
if test "x$ac_cv_prog_cc_c89" != xno; then :
5062
ac_cpp='$CPP $CPPFLAGS'
5063
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5064
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5065
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5067
depcc="$CC" am_compiler_list=
5069
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5070
$as_echo_n "checking dependency style of $depcc... " >&6; }
5071
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5072
$as_echo_n "(cached) " >&6
5074
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5075
# We make a subdir and do the tests there. Otherwise we can end up
5076
# making bogus files that we don't know about and never remove. For
5077
# instance it was reported that on HP-UX the gcc test will end up
5078
# making a dummy file named `D' -- because `-MD' means `put the output
5081
# Copy depcomp to subdir because otherwise we won't find it if we're
5082
# using a relative directory.
5083
cp "$am_depcomp" conftest.dir
5085
# We will build objects and dependencies in a subdirectory because
5086
# it helps to detect inapplicable dependency modes. For instance
5087
# both Tru64's cc and ICC support -MD to output dependencies as a
5088
# side effect of compilation, but ICC will put the dependencies in
5089
# the current directory while Tru64 will put them in the object
5093
am_cv_CC_dependencies_compiler_type=none
5094
if test "$am_compiler_list" = ""; then
5095
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5098
case " $depcc " in #(
5099
*\ -arch\ *\ -arch\ *) am__universal=true ;;
5102
for depmode in $am_compiler_list; do
5103
# Setup a source with many dependencies, because some compilers
5104
# like to wrap large dependency lists on column 80 (with \), and
5105
# we should not choose a depcomp mode which is confused by this.
5107
# We need to recreate these files for each test, as the compiler may
5108
# overwrite some of them when testing with obscure command lines.
5109
# This happens at least with the AIX C compiler.
5111
for i in 1 2 3 4 5 6; do
5112
echo '#include "conftst'$i'.h"' >> sub/conftest.c
5113
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5114
# Solaris 8's {/usr,}/bin/sh.
5115
touch sub/conftst$i.h
5117
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5119
# We check with `-c' and `-o' for the sake of the "dashmstdout"
5120
# mode. It turns out that the SunPro C++ compiler does not properly
5121
# handle `-M -o', and we need to detect this. Also, some Intel
5122
# versions had trouble with output in subdirs
5123
am__obj=sub/conftest.${OBJEXT-o}
5124
am__minus_obj="-o $am__obj"
5127
# This depmode causes a compiler race in universal mode.
5128
test "$am__universal" = false || continue
5131
# after this tag, mechanisms are not by side-effect, so they'll
5132
# only be used when explicitly requested
5133
if test "x$enable_dependency_tracking" = xyes; then
5139
msvisualcpp | msvcmsys)
5140
# This compiler won't grok `-c -o', but also, the minuso test has
5141
# not run yet. These depmodes are late enough in the game, and
5142
# so weak that their functioning should not be impacted.
5143
am__obj=conftest.${OBJEXT-o}
5148
if depmode=$depmode \
5149
source=sub/conftest.c object=$am__obj \
5150
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5151
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5152
>/dev/null 2>conftest.err &&
5153
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5154
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5155
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5156
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5157
# icc doesn't choke on unknown options, it will just issue warnings
5158
# or remarks (even with -Werror). So we grep stderr for any message
5159
# that says an option was ignored or not supported.
5160
# When given -MP, icc 7.0 and 7.1 complain thusly:
5161
# icc: Command line warning: ignoring option '-M'; no argument required
5162
# The diagnosis changed in icc 8.0:
5163
# icc: Command line remark: option '-MP' not supported
5164
if (grep 'ignoring option' conftest.err ||
5165
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5166
am_cv_CC_dependencies_compiler_type=$depmode
5175
am_cv_CC_dependencies_compiler_type=none
5179
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5180
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5181
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5184
test "x$enable_dependency_tracking" != xno \
5185
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5187
am__fastdepCC_FALSE='#'
5189
am__fastdepCC_TRUE='#'
5190
am__fastdepCC_FALSE=
5194
if test "x$CC" != xcc; then
5195
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
5196
$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
5198
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
5199
$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
5201
set dummy $CC; ac_cc=`$as_echo "$2" |
5202
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5203
if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
5204
$as_echo_n "(cached) " >&6
5206
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5207
/* end confdefs.h. */
5217
# Make sure it works both with $CC and with simple cc.
5218
# We do the test twice because some compilers refuse to overwrite an
5219
# existing .o file with -o, though they will create one.
5220
ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5222
if { { case "(($ac_try" in
5223
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5224
*) ac_try_echo=$ac_try;;
5226
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5227
$as_echo "$ac_try_echo"; } >&5
5228
(eval "$ac_try") 2>&5
5230
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5231
test $ac_status = 0; } &&
5232
test -f conftest2.$ac_objext && { { case "(($ac_try" in
5233
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5234
*) ac_try_echo=$ac_try;;
5236
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5237
$as_echo "$ac_try_echo"; } >&5
5238
(eval "$ac_try") 2>&5
5240
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5241
test $ac_status = 0; };
5243
eval ac_cv_prog_cc_${ac_cc}_c_o=yes
5244
if test "x$CC" != xcc; then
5245
# Test first that cc exists at all.
5246
if { ac_try='cc -c conftest.$ac_ext >&5'
5247
{ { case "(($ac_try" in
5248
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5249
*) ac_try_echo=$ac_try;;
5251
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5252
$as_echo "$ac_try_echo"; } >&5
5253
(eval "$ac_try") 2>&5
5255
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5256
test $ac_status = 0; }; }; then
5257
ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5259
if { { case "(($ac_try" in
5260
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5261
*) ac_try_echo=$ac_try;;
5263
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5264
$as_echo "$ac_try_echo"; } >&5
5265
(eval "$ac_try") 2>&5
5267
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5268
test $ac_status = 0; } &&
5269
test -f conftest2.$ac_objext && { { case "(($ac_try" in
5270
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5271
*) ac_try_echo=$ac_try;;
5273
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5274
$as_echo "$ac_try_echo"; } >&5
5275
(eval "$ac_try") 2>&5
5277
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5278
test $ac_status = 0; };
5283
# cc exists but doesn't like -o.
5284
eval ac_cv_prog_cc_${ac_cc}_c_o=no
5289
eval ac_cv_prog_cc_${ac_cc}_c_o=no
5291
rm -f core conftest*
5294
if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
5295
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5296
$as_echo "yes" >&6; }
5298
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5299
$as_echo "no" >&6; }
5301
$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
5305
# FIXME: we rely on the cache variable name because
5306
# there is no other way.
5308
am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5309
eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
5310
if test "$am_t" != yes; then
5311
# Losing compiler, so override with the script.
5312
# FIXME: It is wrong to rewrite CC.
5313
# But if we don't then we get into trouble of one sort or another.
5314
# A longer-term fix would be to have automake use am__CC in this case,
5315
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5316
CC="$am_aux_dir/compile $CC"
5320
case $ac_cv_prog_cc_stdc in #(
5322
ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
5324
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
5325
$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
5326
if ${ac_cv_prog_cc_c99+:} false; then :
5327
$as_echo_n "(cached) " >&6
5329
ac_cv_prog_cc_c99=no
5331
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5332
/* end confdefs.h. */
5334
#include <stdbool.h>
5339
// Check varargs macros. These examples are taken from C99 6.10.3.5.
5340
#define debug(...) fprintf (stderr, __VA_ARGS__)
5341
#define showlist(...) puts (#__VA_ARGS__)
5342
#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
5344
test_varargs_macros (void)
5349
debug ("X = %d\n", x);
5350
showlist (The first, second, and third items.);
5351
report (x>y, "x is %d but y is %d", x, y);
5354
// Check long long types.
5355
#define BIG64 18446744073709551615ull
5356
#define BIG32 4294967295ul
5357
#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
5359
your preprocessor is broken;
5363
your preprocessor is broken;
5365
static long long int bignum = -9223372036854775807LL;
5366
static unsigned long long int ubignum = BIG64;
5368
struct incomplete_array
5376
const wchar_t *name;
5380
typedef const char *ccp;
5383
test_restrict (ccp restrict text)
5385
// See if C++-style comments work.
5386
// Iterate through items via the restricted pointer.
5387
// Also check for declarations in for loops.
5388
for (unsigned int i = 0; *(text+i) != '\0'; ++i)
5393
// Check varargs and va_copy.
5395
test_varargs (const char *format, ...)
5398
va_start (args, format);
5400
va_copy (args_copy, args);
5411
str = va_arg (args_copy, const char *);
5414
number = va_arg (args_copy, int);
5417
fnumber = va_arg (args_copy, double);
5432
_Bool success = false;
5435
if (test_restrict ("String literal") == 0)
5437
char *restrict newvar = "Another string";
5440
test_varargs ("s, d' f .", "string", 65, 34.234);
5441
test_varargs_macros ();
5443
// Check flexible array members.
5444
struct incomplete_array *ia =
5445
malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
5447
for (int i = 0; i < ia->datasize; ++i)
5448
ia->data[i] = i * 1.234;
5450
// Check named initializers.
5451
struct named_init ni = {
5453
.name = L"Test wide string",
5454
.average = 543.34343,
5459
int dynamic_array[ni.number];
5460
dynamic_array[ni.number - 1] = 543;
5462
// work around unused variable warnings
5463
return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
5464
|| dynamic_array[ni.number - 1] != 543);
5470
for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
5472
CC="$ac_save_CC $ac_arg"
5473
if ac_fn_c_try_compile "$LINENO"; then :
5474
ac_cv_prog_cc_c99=$ac_arg
5476
rm -f core conftest.err conftest.$ac_objext
5477
test "x$ac_cv_prog_cc_c99" != "xno" && break
5479
rm -f conftest.$ac_ext
5484
case "x$ac_cv_prog_cc_c99" in
5486
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5487
$as_echo "none needed" >&6; } ;;
5489
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5490
$as_echo "unsupported" >&6; } ;;
5492
CC="$CC $ac_cv_prog_cc_c99"
5493
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5494
$as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
5496
if test "x$ac_cv_prog_cc_c99" != xno; then :
5497
ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5499
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5500
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5501
if ${ac_cv_prog_cc_c89+:} false; then :
5502
$as_echo_n "(cached) " >&6
5504
ac_cv_prog_cc_c89=no
5506
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5507
/* end confdefs.h. */
5510
#include <sys/types.h>
5511
#include <sys/stat.h>
5512
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5513
struct buf { int x; };
5514
FILE * (*rcsopen) (struct buf *, struct stat *, int);
5515
static char *e (p, i)
5521
static char *f (char * (*g) (char **, int), char **p, ...)
5526
s = g (p, va_arg (v,int));
5531
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5532
function prototypes and stuff, but not '\xHH' hex character constants.
5533
These don't provoke an error unfortunately, instead are silently treated
5534
as 'x'. The following induces an error, until -std is added to get
5535
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5536
array size at least. It's necessary to write '\x00'==0 to get something
5537
that's true only with -std. */
5538
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5540
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5541
inside strings and character constants. */
5543
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5545
int test (int i, double x);
5546
struct s1 {int (*f) (int a);};
5547
struct s2 {int (*f) (double a);};
5548
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5554
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5559
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5560
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5562
CC="$ac_save_CC $ac_arg"
5563
if ac_fn_c_try_compile "$LINENO"; then :
5564
ac_cv_prog_cc_c89=$ac_arg
5566
rm -f core conftest.err conftest.$ac_objext
5567
test "x$ac_cv_prog_cc_c89" != "xno" && break
5569
rm -f conftest.$ac_ext
5574
case "x$ac_cv_prog_cc_c89" in
5576
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5577
$as_echo "none needed" >&6; } ;;
5579
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5580
$as_echo "unsupported" >&6; } ;;
5582
CC="$CC $ac_cv_prog_cc_c89"
5583
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5584
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5586
if test "x$ac_cv_prog_cc_c89" != xno; then :
5587
ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5589
ac_cv_prog_cc_stdc=no
5595
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
5596
$as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
5597
if ${ac_cv_prog_cc_stdc+:} false; then :
5598
$as_echo_n "(cached) " >&6
5601
case $ac_cv_prog_cc_stdc in #(
5603
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5604
$as_echo "unsupported" >&6; } ;; #(
5606
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5607
$as_echo "none needed" >&6; } ;; #(
5609
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
5610
$as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
5614
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
5615
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
5617
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
5618
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
5619
$as_echo_n "(cached) " >&6
5621
cat >conftest.make <<\_ACEOF
5624
@echo '@@@%%%=$(MAKE)=@@@%%%'
5626
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
5627
case `${MAKE-make} -f conftest.make 2>/dev/null` in
5629
eval ac_cv_prog_make_${ac_make}_set=yes;;
5631
eval ac_cv_prog_make_${ac_make}_set=no;;
5635
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
5636
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5637
$as_echo "yes" >&6; }
5640
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5641
$as_echo "no" >&6; }
5642
SET_MAKE="MAKE=${MAKE-make}"
5648
for ac_header in locale.h
5650
ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
5651
if test "x$ac_cv_header_locale_h" = xyes; then :
5652
cat >>confdefs.h <<_ACEOF
5653
#define HAVE_LOCALE_H 1
5660
if test $ac_cv_header_locale_h = yes; then
5661
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
5662
$as_echo_n "checking for LC_MESSAGES... " >&6; }
5663
if ${am_cv_val_LC_MESSAGES+:} false; then :
5664
$as_echo_n "(cached) " >&6
5666
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5667
/* end confdefs.h. */
5677
if ac_fn_c_try_link "$LINENO"; then :
5678
am_cv_val_LC_MESSAGES=yes
5680
am_cv_val_LC_MESSAGES=no
5682
rm -f core conftest.err conftest.$ac_objext \
5683
conftest$ac_exeext conftest.$ac_ext
5685
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
5686
$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
5687
if test $am_cv_val_LC_MESSAGES = yes; then
5689
$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
5696
gt_cv_have_gettext=no
5702
ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
5703
if test "x$ac_cv_header_libintl_h" = xyes; then :
5704
gt_cv_func_dgettext_libintl="no"
5705
libintl_extra_libs=""
5708
# First check in libc
5710
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
5711
$as_echo_n "checking for ngettext in libc... " >&6; }
5712
if ${gt_cv_func_ngettext_libc+:} false; then :
5713
$as_echo_n "(cached) " >&6
5715
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5716
/* end confdefs.h. */
5718
#include <libintl.h>
5723
return !ngettext ("","", 1)
5728
if ac_fn_c_try_link "$LINENO"; then :
5729
gt_cv_func_ngettext_libc=yes
5731
gt_cv_func_ngettext_libc=no
5733
rm -f core conftest.err conftest.$ac_objext \
5734
conftest$ac_exeext conftest.$ac_ext
5737
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
5738
$as_echo "$gt_cv_func_ngettext_libc" >&6; }
5740
if test "$gt_cv_func_ngettext_libc" = "yes" ; then
5741
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
5742
$as_echo_n "checking for dgettext in libc... " >&6; }
5743
if ${gt_cv_func_dgettext_libc+:} false; then :
5744
$as_echo_n "(cached) " >&6
5746
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5747
/* end confdefs.h. */
5749
#include <libintl.h>
5754
return !dgettext ("","")
5759
if ac_fn_c_try_link "$LINENO"; then :
5760
gt_cv_func_dgettext_libc=yes
5762
gt_cv_func_dgettext_libc=no
5764
rm -f core conftest.err conftest.$ac_objext \
5765
conftest$ac_exeext conftest.$ac_ext
5768
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
5769
$as_echo "$gt_cv_func_dgettext_libc" >&6; }
5772
if test "$gt_cv_func_ngettext_libc" = "yes" ; then
5773
for ac_func in bind_textdomain_codeset
5775
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
5776
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
5777
cat >>confdefs.h <<_ACEOF
5778
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
5787
# If we don't have everything we want, check in libintl
5789
if test "$gt_cv_func_dgettext_libc" != "yes" \
5790
|| test "$gt_cv_func_ngettext_libc" != "yes" \
5791
|| test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
5793
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
5794
$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
5795
if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
5796
$as_echo_n "(cached) " >&6
5798
ac_check_lib_save_LIBS=$LIBS
5800
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5801
/* end confdefs.h. */
5803
/* Override any GCC internal prototype to avoid an error.
5804
Use char because int might match the return type of a GCC
5805
builtin and then its argument prototype would still apply. */
5809
char bindtextdomain ();
5813
return bindtextdomain ();
5818
if ac_fn_c_try_link "$LINENO"; then :
5819
ac_cv_lib_intl_bindtextdomain=yes
5821
ac_cv_lib_intl_bindtextdomain=no
5823
rm -f core conftest.err conftest.$ac_objext \
5824
conftest$ac_exeext conftest.$ac_ext
5825
LIBS=$ac_check_lib_save_LIBS
5827
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
5828
$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
5829
if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
5830
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
5831
$as_echo_n "checking for ngettext in -lintl... " >&6; }
5832
if ${ac_cv_lib_intl_ngettext+:} false; then :
5833
$as_echo_n "(cached) " >&6
5835
ac_check_lib_save_LIBS=$LIBS
5837
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5838
/* end confdefs.h. */
5840
/* Override any GCC internal prototype to avoid an error.
5841
Use char because int might match the return type of a GCC
5842
builtin and then its argument prototype would still apply. */
5855
if ac_fn_c_try_link "$LINENO"; then :
5856
ac_cv_lib_intl_ngettext=yes
5858
ac_cv_lib_intl_ngettext=no
5860
rm -f core conftest.err conftest.$ac_objext \
5861
conftest$ac_exeext conftest.$ac_ext
5862
LIBS=$ac_check_lib_save_LIBS
5864
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
5865
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
5866
if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
5867
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
5868
$as_echo_n "checking for dgettext in -lintl... " >&6; }
5869
if ${ac_cv_lib_intl_dgettext+:} false; then :
5870
$as_echo_n "(cached) " >&6
5872
ac_check_lib_save_LIBS=$LIBS
5874
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5875
/* end confdefs.h. */
5877
/* Override any GCC internal prototype to avoid an error.
5878
Use char because int might match the return type of a GCC
5879
builtin and then its argument prototype would still apply. */
5892
if ac_fn_c_try_link "$LINENO"; then :
5893
ac_cv_lib_intl_dgettext=yes
5895
ac_cv_lib_intl_dgettext=no
5897
rm -f core conftest.err conftest.$ac_objext \
5898
conftest$ac_exeext conftest.$ac_ext
5899
LIBS=$ac_check_lib_save_LIBS
5901
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
5902
$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
5903
if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
5904
gt_cv_func_dgettext_libintl=yes
5912
if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
5913
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
5914
$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
5915
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
5917
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
5918
$as_echo_n "checking for ngettext in -lintl... " >&6; }
5919
if ${ac_cv_lib_intl_ngettext+:} false; then :
5920
$as_echo_n "(cached) " >&6
5922
ac_check_lib_save_LIBS=$LIBS
5923
LIBS="-lintl -liconv $LIBS"
5924
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5925
/* end confdefs.h. */
5927
/* Override any GCC internal prototype to avoid an error.
5928
Use char because int might match the return type of a GCC
5929
builtin and then its argument prototype would still apply. */
5942
if ac_fn_c_try_link "$LINENO"; then :
5943
ac_cv_lib_intl_ngettext=yes
5945
ac_cv_lib_intl_ngettext=no
5947
rm -f core conftest.err conftest.$ac_objext \
5948
conftest$ac_exeext conftest.$ac_ext
5949
LIBS=$ac_check_lib_save_LIBS
5951
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
5952
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
5953
if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
5954
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
5955
$as_echo_n "checking for dcgettext in -lintl... " >&6; }
5956
if ${ac_cv_lib_intl_dcgettext+:} false; then :
5957
$as_echo_n "(cached) " >&6
5959
ac_check_lib_save_LIBS=$LIBS
5960
LIBS="-lintl -liconv $LIBS"
5961
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5962
/* end confdefs.h. */
5964
/* Override any GCC internal prototype to avoid an error.
5965
Use char because int might match the return type of a GCC
5966
builtin and then its argument prototype would still apply. */
5974
return dcgettext ();
5979
if ac_fn_c_try_link "$LINENO"; then :
5980
ac_cv_lib_intl_dcgettext=yes
5982
ac_cv_lib_intl_dcgettext=no
5984
rm -f core conftest.err conftest.$ac_objext \
5985
conftest$ac_exeext conftest.$ac_ext
5986
LIBS=$ac_check_lib_save_LIBS
5988
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
5989
$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
5990
if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
5991
gt_cv_func_dgettext_libintl=yes
5992
libintl_extra_libs=-liconv
6004
# If we found libintl, then check in it for bind_textdomain_codeset();
6005
# we'll prefer libc if neither have bind_textdomain_codeset(),
6006
# and both have dgettext and ngettext
6008
if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
6009
glib_save_LIBS="$LIBS"
6010
LIBS="$LIBS -lintl $libintl_extra_libs"
6011
unset ac_cv_func_bind_textdomain_codeset
6012
for ac_func in bind_textdomain_codeset
6014
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
6015
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
6016
cat >>confdefs.h <<_ACEOF
6017
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
6023
LIBS="$glib_save_LIBS"
6025
if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
6026
gt_cv_func_dgettext_libc=no
6028
if test "$gt_cv_func_dgettext_libc" = "yes" \
6029
&& test "$gt_cv_func_ngettext_libc" = "yes"; then
6030
gt_cv_func_dgettext_libintl=no
6036
if test "$gt_cv_func_dgettext_libc" = "yes" \
6037
|| test "$gt_cv_func_dgettext_libintl" = "yes"; then
6038
gt_cv_have_gettext=yes
6041
if test "$gt_cv_func_dgettext_libintl" = "yes"; then
6042
INTLLIBS="-lintl $libintl_extra_libs"
6045
if test "$gt_cv_have_gettext" = "yes"; then
6047
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
6049
# Extract the first word of "msgfmt", so it can be a program name with args.
6050
set dummy msgfmt; ac_word=$2
6051
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6052
$as_echo_n "checking for $ac_word... " >&6; }
6053
if ${ac_cv_path_MSGFMT+:} false; then :
6054
$as_echo_n "(cached) " >&6
6058
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
6061
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
6062
for ac_dir in $PATH; do
6063
test -z "$ac_dir" && ac_dir=.
6064
if test -f $ac_dir/$ac_word; then
6065
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
6066
ac_cv_path_MSGFMT="$ac_dir/$ac_word"
6072
test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
6076
MSGFMT="$ac_cv_path_MSGFMT"
6077
if test "$MSGFMT" != "no"; then
6078
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6079
$as_echo "$MSGFMT" >&6; }
6081
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6082
$as_echo "no" >&6; }
6084
if test "$MSGFMT" != "no"; then
6085
glib_save_LIBS="$LIBS"
6086
LIBS="$LIBS $INTLLIBS"
6087
for ac_func in dcgettext
6089
ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
6090
if test "x$ac_cv_func_dcgettext" = xyes; then :
6091
cat >>confdefs.h <<_ACEOF
6092
#define HAVE_DCGETTEXT 1
6099
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
6100
$as_echo_n "checking if msgfmt accepts -c... " >&6; }
6101
cat >conftest.foo <<_ACEOF
6105
"Content-Type: text/plain; charset=UTF-8\n"
6106
"Project-Id-Version: test 1.0\n"
6107
"PO-Revision-Date: 2007-02-15 12:01+0100\n"
6108
"Last-Translator: test <foo@bar.xx>\n"
6109
"Language-Team: C <LL@li.org>\n"
6110
"MIME-Version: 1.0\n"
6111
"Content-Transfer-Encoding: 8bit\n"
6114
if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
6115
($MSGFMT -c -o /dev/null conftest.foo) 2>&5
6117
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6118
test $ac_status = 0; }; then
6119
MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6120
$as_echo "yes" >&6; }
6121
else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6122
$as_echo "no" >&6; }
6123
echo "$as_me: failed input was:" >&5
6124
sed 's/^/| /' conftest.foo >&5
6127
# Extract the first word of "gmsgfmt", so it can be a program name with args.
6128
set dummy gmsgfmt; ac_word=$2
6129
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6130
$as_echo_n "checking for $ac_word... " >&6; }
6131
if ${ac_cv_path_GMSGFMT+:} false; then :
6132
$as_echo_n "(cached) " >&6
6136
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
6139
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6143
test -z "$as_dir" && as_dir=.
6144
for ac_exec_ext in '' $ac_executable_extensions; do
6145
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6146
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
6147
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6154
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
6158
GMSGFMT=$ac_cv_path_GMSGFMT
6159
if test -n "$GMSGFMT"; then
6160
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
6161
$as_echo "$GMSGFMT" >&6; }
6163
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6164
$as_echo "no" >&6; }
6168
# Extract the first word of "xgettext", so it can be a program name with args.
6169
set dummy xgettext; ac_word=$2
6170
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6171
$as_echo_n "checking for $ac_word... " >&6; }
6172
if ${ac_cv_path_XGETTEXT+:} false; then :
6173
$as_echo_n "(cached) " >&6
6177
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
6180
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
6181
for ac_dir in $PATH; do
6182
test -z "$ac_dir" && ac_dir=.
6183
if test -f $ac_dir/$ac_word; then
6184
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
6185
ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
6191
test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
6195
XGETTEXT="$ac_cv_path_XGETTEXT"
6196
if test "$XGETTEXT" != ":"; then
6197
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
6198
$as_echo "$XGETTEXT" >&6; }
6200
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6201
$as_echo "no" >&6; }
6204
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6205
/* end confdefs.h. */
6210
extern int _nl_msg_cat_cntr;
6211
return _nl_msg_cat_cntr
6216
if ac_fn_c_try_link "$LINENO"; then :
6222
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
6223
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
6238
rm -f core conftest.err conftest.$ac_objext \
6239
conftest$ac_exeext conftest.$ac_ext
6240
LIBS="$glib_save_LIBS"
6243
gt_cv_have_gettext=no
6251
if test "$gt_cv_have_gettext" = "yes" ; then
6253
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
6257
if test "$XGETTEXT" != ":"; then
6258
if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
6261
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
6262
$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
6267
# We need to process the po/ directory.
6270
ac_config_commands="$ac_config_commands default-1"
6273
for lang in $ALL_LINGUAS; do
6274
GMOFILES="$GMOFILES $lang.gmo"
6275
POFILES="$POFILES $lang.po"
6290
if test "$gt_cv_have_gettext" = "yes"; then
6291
if test "x$ALL_LINGUAS" = "x"; then
6294
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
6295
$as_echo_n "checking for catalogs to be installed... " >&6; }
6297
for presentlang in $ALL_LINGUAS; do
6299
if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
6300
desiredlanguages="$LINGUAS"
6302
desiredlanguages="$ALL_LINGUAS"
6304
for desiredlang in $desiredlanguages; do
6305
# Use the presentlang catalog if desiredlang is
6306
# a. equal to presentlang, or
6307
# b. a variant of presentlang (because in this case,
6308
# presentlang can be used as a fallback for messages
6309
# which are not translated in the desiredlang catalog).
6310
case "$desiredlang" in
6311
"$presentlang"*) useit=yes;;
6314
if test $useit = yes; then
6315
NEW_LINGUAS="$NEW_LINGUAS $presentlang"
6318
LINGUAS=$NEW_LINGUAS
6319
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
6320
$as_echo "$LINGUAS" >&6; }
6323
if test -n "$LINGUAS"; then
6324
for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
6329
if test -n "$ac_aux_dir"; then
6330
MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
6332
if test -z "$MKINSTALLDIRS"; then
6333
MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
6337
test -d po || mkdir po
6338
if test "x$srcdir" != "x."; then
6339
if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
6340
posrcprefix="$srcdir/"
6342
posrcprefix="../$srcdir/"
6348
sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
6349
< $srcdir/po/POTFILES.in > po/POTFILES
6352
# Define PACKAGE_VERSION_* variables.
6353
# Check whether --enable-static was given.
6354
if test "${enable_static+set}" = set; then :
6355
enableval=$enable_static; p=${PACKAGE-default}
6357
yes) enable_static=yes ;;
6358
no) enable_static=no ;;
6361
# Look at the argument we got. We use all the common list separators.
6362
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6363
for pkg in $enableval; do
6365
if test "X$pkg" = "X$p"; then
6384
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
6385
$as_echo_n "checking for library containing strerror... " >&6; }
6386
if ${ac_cv_search_strerror+:} false; then :
6387
$as_echo_n "(cached) " >&6
6389
ac_func_search_save_LIBS=$LIBS
6390
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6391
/* end confdefs.h. */
6393
/* Override any GCC internal prototype to avoid an error.
6394
Use char because int might match the return type of a GCC
6395
builtin and then its argument prototype would still apply. */
6408
for ac_lib in '' cposix; do
6409
if test -z "$ac_lib"; then
6410
ac_res="none required"
6413
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6415
if ac_fn_c_try_link "$LINENO"; then :
6416
ac_cv_search_strerror=$ac_res
6418
rm -f core conftest.err conftest.$ac_objext \
6420
if ${ac_cv_search_strerror+:} false; then :
6424
if ${ac_cv_search_strerror+:} false; then :
6427
ac_cv_search_strerror=no
6430
LIBS=$ac_func_search_save_LIBS
6432
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
6433
$as_echo "$ac_cv_search_strerror" >&6; }
6434
ac_res=$ac_cv_search_strerror
6435
if test "$ac_res" != no; then :
6436
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
6440
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6441
$as_echo_n "checking for ANSI C header files... " >&6; }
6442
if ${ac_cv_header_stdc+:} false; then :
6443
$as_echo_n "(cached) " >&6
6445
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6446
/* end confdefs.h. */
6460
if ac_fn_c_try_compile "$LINENO"; then :
6461
ac_cv_header_stdc=yes
6463
ac_cv_header_stdc=no
6465
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6467
if test $ac_cv_header_stdc = yes; then
6468
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6469
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6470
/* end confdefs.h. */
6474
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6475
$EGREP "memchr" >/dev/null 2>&1; then :
6478
ac_cv_header_stdc=no
6484
if test $ac_cv_header_stdc = yes; then
6485
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6486
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6487
/* end confdefs.h. */
6491
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6492
$EGREP "free" >/dev/null 2>&1; then :
6495
ac_cv_header_stdc=no
6501
if test $ac_cv_header_stdc = yes; then
6502
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6503
if test "$cross_compiling" = yes; then :
6506
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6507
/* end confdefs.h. */
6510
#if ((' ' & 0x0FF) == 0x020)
6511
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6512
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6514
# define ISLOWER(c) \
6515
(('a' <= (c) && (c) <= 'i') \
6516
|| ('j' <= (c) && (c) <= 'r') \
6517
|| ('s' <= (c) && (c) <= 'z'))
6518
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6521
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6526
for (i = 0; i < 256; i++)
6527
if (XOR (islower (i), ISLOWER (i))
6528
|| toupper (i) != TOUPPER (i))
6533
if ac_fn_c_try_run "$LINENO"; then :
6536
ac_cv_header_stdc=no
6538
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6539
conftest.$ac_objext conftest.beam conftest.$ac_ext
6544
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6545
$as_echo "$ac_cv_header_stdc" >&6; }
6546
if test $ac_cv_header_stdc = yes; then
6548
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
6554
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6555
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6561
macro_revision='1.3293'
6575
ltmain="$ac_aux_dir/ltmain.sh"
6577
# Make sure we can run config.sub.
6578
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
6579
as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
6581
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
6582
$as_echo_n "checking build system type... " >&6; }
6583
if ${ac_cv_build+:} false; then :
6584
$as_echo_n "(cached) " >&6
6586
ac_build_alias=$build_alias
6587
test "x$ac_build_alias" = x &&
6588
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
6589
test "x$ac_build_alias" = x &&
6590
as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
6591
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
6592
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
6595
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
6596
$as_echo "$ac_cv_build" >&6; }
6597
case $ac_cv_build in
6599
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
6602
ac_save_IFS=$IFS; IFS='-'
6608
# Remember, the first character of IFS is used to create $*,
6609
# except with old shells:
6612
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
6615
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
6616
$as_echo_n "checking host system type... " >&6; }
6617
if ${ac_cv_host+:} false; then :
6618
$as_echo_n "(cached) " >&6
6620
if test "x$host_alias" = x; then
6621
ac_cv_host=$ac_cv_build
6623
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
6624
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
6628
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
6629
$as_echo "$ac_cv_host" >&6; }
6632
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
6635
ac_save_IFS=$IFS; IFS='-'
6641
# Remember, the first character of IFS is used to create $*,
6642
# except with old shells:
6645
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
6648
# Backslashify metacharacters that are still active within
6649
# double-quoted strings.
6650
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6652
# Same as above, but do not quote variable references.
6653
double_quote_subst='s/\(["`\\]\)/\\\1/g'
6655
# Sed substitution to delay expansion of an escaped shell variable in a
6656
# double_quote_subst'ed string.
6657
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6659
# Sed substitution to delay expansion of an escaped single quote.
6660
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6662
# Sed substitution to avoid accidental globbing in evaled expressions
6663
no_glob_subst='s/\*/\\\*/g'
6665
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6666
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6667
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6669
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6670
$as_echo_n "checking how to print strings... " >&6; }
6671
# Test print first, because it will be a builtin if present.
6672
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
6673
test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6675
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6678
# Use this function as a fallback that always works.
6679
func_fallback_echo ()
6681
eval 'cat <<_LTECHO_EOF
6685
ECHO='func_fallback_echo'
6688
# func_echo_all arg...
6689
# Invoke $ECHO with all args, space-separated.
6696
printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6697
$as_echo "printf" >&6; } ;;
6698
print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6699
$as_echo "print -r" >&6; } ;;
6700
*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6701
$as_echo "cat" >&6; } ;;
6717
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6718
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
6719
if ${ac_cv_path_SED+:} false; then :
6720
$as_echo_n "(cached) " >&6
6722
ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6723
for ac_i in 1 2 3 4 5 6 7; do
6724
ac_script="$ac_script$as_nl$ac_script"
6726
echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6727
{ ac_script=; unset ac_script;}
6728
if test -z "$SED"; then
6729
ac_path_SED_found=false
6730
# Loop through the user's path and test for each of PROGNAME-LIST
6731
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6735
test -z "$as_dir" && as_dir=.
6736
for ac_prog in sed gsed; do
6737
for ac_exec_ext in '' $ac_executable_extensions; do
6738
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6739
{ test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
6740
# Check for GNU ac_path_SED and select it if it is found.
6741
# Check for GNU $ac_path_SED
6742
case `"$ac_path_SED" --version 2>&1` in
6744
ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6747
$as_echo_n 0123456789 >"conftest.in"
6750
cat "conftest.in" "conftest.in" >"conftest.tmp"
6751
mv "conftest.tmp" "conftest.in"
6752
cp "conftest.in" "conftest.nl"
6753
$as_echo '' >> "conftest.nl"
6754
"$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6755
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6756
as_fn_arith $ac_count + 1 && ac_count=$as_val
6757
if test $ac_count -gt ${ac_path_SED_max-0}; then
6758
# Best one so far, save it but keep looking for a better one
6759
ac_cv_path_SED="$ac_path_SED"
6760
ac_path_SED_max=$ac_count
6762
# 10*(2^10) chars as input seems more than enough
6763
test $ac_count -gt 10 && break
6765
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6768
$ac_path_SED_found && break 3
6773
if test -z "$ac_cv_path_SED"; then
6774
as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6781
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6782
$as_echo "$ac_cv_path_SED" >&6; }
6783
SED="$ac_cv_path_SED"
6786
test -z "$SED" && SED=sed
6787
Xsed="$SED -e 1s/^X//"
6799
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6800
$as_echo_n "checking for fgrep... " >&6; }
6801
if ${ac_cv_path_FGREP+:} false; then :
6802
$as_echo_n "(cached) " >&6
6804
if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6805
then ac_cv_path_FGREP="$GREP -F"
6807
if test -z "$FGREP"; then
6808
ac_path_FGREP_found=false
6809
# Loop through the user's path and test for each of PROGNAME-LIST
6810
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6811
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6814
test -z "$as_dir" && as_dir=.
6815
for ac_prog in fgrep; do
6816
for ac_exec_ext in '' $ac_executable_extensions; do
6817
ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6818
{ test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
6819
# Check for GNU ac_path_FGREP and select it if it is found.
6820
# Check for GNU $ac_path_FGREP
6821
case `"$ac_path_FGREP" --version 2>&1` in
6823
ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6826
$as_echo_n 0123456789 >"conftest.in"
6829
cat "conftest.in" "conftest.in" >"conftest.tmp"
6830
mv "conftest.tmp" "conftest.in"
6831
cp "conftest.in" "conftest.nl"
6832
$as_echo 'FGREP' >> "conftest.nl"
6833
"$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6834
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6835
as_fn_arith $ac_count + 1 && ac_count=$as_val
6836
if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6837
# Best one so far, save it but keep looking for a better one
6838
ac_cv_path_FGREP="$ac_path_FGREP"
6839
ac_path_FGREP_max=$ac_count
6841
# 10*(2^10) chars as input seems more than enough
6842
test $ac_count -gt 10 && break
6844
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6847
$ac_path_FGREP_found && break 3
6852
if test -z "$ac_cv_path_FGREP"; then
6853
as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6856
ac_cv_path_FGREP=$FGREP
6861
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6862
$as_echo "$ac_cv_path_FGREP" >&6; }
6863
FGREP="$ac_cv_path_FGREP"
6866
test -z "$GREP" && GREP=grep
6886
# Check whether --with-gnu-ld was given.
6887
if test "${with_gnu_ld+set}" = set; then :
6888
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6894
if test "$GCC" = yes; then
6895
# Check if gcc -print-prog-name=ld gives a path.
6896
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6897
$as_echo_n "checking for ld used by $CC... " >&6; }
6900
# gcc leaves a trailing carriage return which upsets mingw
6901
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6903
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6906
# Accept absolute paths.
6908
re_direlt='/[^/][^/]*/\.\./'
6909
# Canonicalize the pathname of ld
6910
ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6911
while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6912
ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6914
test -z "$LD" && LD="$ac_prog"
6917
# If it fails, then pretend we aren't using GCC.
6921
# If it is relative, then search for the first ld in PATH.
6925
elif test "$with_gnu_ld" = yes; then
6926
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6927
$as_echo_n "checking for GNU ld... " >&6; }
6929
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6930
$as_echo_n "checking for non-GNU ld... " >&6; }
6932
if ${lt_cv_path_LD+:} false; then :
6933
$as_echo_n "(cached) " >&6
6935
if test -z "$LD"; then
6936
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6937
for ac_dir in $PATH; do
6939
test -z "$ac_dir" && ac_dir=.
6940
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6941
lt_cv_path_LD="$ac_dir/$ac_prog"
6942
# Check to see if the program is GNU ld. I'd rather use --version,
6943
# but apparently some variants of GNU ld only accept -v.
6944
# Break only if it was the GNU/non-GNU ld that we prefer.
6945
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6946
*GNU* | *'with BFD'*)
6947
test "$with_gnu_ld" != no && break
6950
test "$with_gnu_ld" != yes && break
6957
lt_cv_path_LD="$LD" # Let the user override the test with a path.
6962
if test -n "$LD"; then
6963
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6964
$as_echo "$LD" >&6; }
6966
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6967
$as_echo "no" >&6; }
6969
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6970
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6971
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6972
if ${lt_cv_prog_gnu_ld+:} false; then :
6973
$as_echo_n "(cached) " >&6
6975
# I'd rather use --version here, but apparently some GNU lds only accept -v.
6976
case `$LD -v 2>&1 </dev/null` in
6977
*GNU* | *'with BFD'*)
6978
lt_cv_prog_gnu_ld=yes
6981
lt_cv_prog_gnu_ld=no
6985
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6986
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
6987
with_gnu_ld=$lt_cv_prog_gnu_ld
6997
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6998
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6999
if ${lt_cv_path_NM+:} false; then :
7000
$as_echo_n "(cached) " >&6
7002
if test -n "$NM"; then
7003
# Let the user override the test.
7006
lt_nm_to_check="${ac_tool_prefix}nm"
7007
if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
7008
lt_nm_to_check="$lt_nm_to_check nm"
7010
for lt_tmp_nm in $lt_nm_to_check; do
7011
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7012
for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
7014
test -z "$ac_dir" && ac_dir=.
7015
tmp_nm="$ac_dir/$lt_tmp_nm"
7016
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
7017
# Check to see if the nm accepts a BSD-compat flag.
7018
# Adding the `sed 1q' prevents false positives on HP-UX, which says:
7019
# nm: unknown option "B" ignored
7020
# Tru64's nm complains that /dev/null is an invalid object file
7021
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
7022
*/dev/null* | *'Invalid file or object type'*)
7023
lt_cv_path_NM="$tmp_nm -B"
7027
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
7029
lt_cv_path_NM="$tmp_nm -p"
7033
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
7034
continue # so that we can try to find one that supports BSD flags
7043
: ${lt_cv_path_NM=no}
7046
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
7047
$as_echo "$lt_cv_path_NM" >&6; }
7048
if test "$lt_cv_path_NM" != "no"; then
7051
# Didn't find any BSD compatible name lister, look for dumpbin.
7052
if test -n "$DUMPBIN"; then :
7053
# Let the user override the test.
7055
if test -n "$ac_tool_prefix"; then
7056
for ac_prog in dumpbin "link -dump"
7058
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7059
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7060
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7061
$as_echo_n "checking for $ac_word... " >&6; }
7062
if ${ac_cv_prog_DUMPBIN+:} false; then :
7063
$as_echo_n "(cached) " >&6
7065
if test -n "$DUMPBIN"; then
7066
ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
7068
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7072
test -z "$as_dir" && as_dir=.
7073
for ac_exec_ext in '' $ac_executable_extensions; do
7074
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7075
ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
7076
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7085
DUMPBIN=$ac_cv_prog_DUMPBIN
7086
if test -n "$DUMPBIN"; then
7087
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
7088
$as_echo "$DUMPBIN" >&6; }
7090
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7091
$as_echo "no" >&6; }
7095
test -n "$DUMPBIN" && break
7098
if test -z "$DUMPBIN"; then
7099
ac_ct_DUMPBIN=$DUMPBIN
7100
for ac_prog in dumpbin "link -dump"
7102
# Extract the first word of "$ac_prog", so it can be a program name with args.
7103
set dummy $ac_prog; ac_word=$2
7104
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7105
$as_echo_n "checking for $ac_word... " >&6; }
7106
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
7107
$as_echo_n "(cached) " >&6
7109
if test -n "$ac_ct_DUMPBIN"; then
7110
ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
7112
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7116
test -z "$as_dir" && as_dir=.
7117
for ac_exec_ext in '' $ac_executable_extensions; do
7118
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7119
ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
7120
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7129
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
7130
if test -n "$ac_ct_DUMPBIN"; then
7131
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
7132
$as_echo "$ac_ct_DUMPBIN" >&6; }
7134
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7135
$as_echo "no" >&6; }
7139
test -n "$ac_ct_DUMPBIN" && break
7142
if test "x$ac_ct_DUMPBIN" = x; then
7145
case $cross_compiling:$ac_tool_warned in
7147
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7148
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7149
ac_tool_warned=yes ;;
7151
DUMPBIN=$ac_ct_DUMPBIN
7155
case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
7157
DUMPBIN="$DUMPBIN -symbols"
7165
if test "$DUMPBIN" != ":"; then
7169
test -z "$NM" && NM=nm
7176
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
7177
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
7178
if ${lt_cv_nm_interface+:} false; then :
7179
$as_echo_n "(cached) " >&6
7181
lt_cv_nm_interface="BSD nm"
7182
echo "int some_variable = 0;" > conftest.$ac_ext
7183
(eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
7184
(eval "$ac_compile" 2>conftest.err)
7185
cat conftest.err >&5
7186
(eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
7187
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
7188
cat conftest.err >&5
7189
(eval echo "\"\$as_me:$LINENO: output\"" >&5)
7190
cat conftest.out >&5
7191
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
7192
lt_cv_nm_interface="MS dumpbin"
7196
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
7197
$as_echo "$lt_cv_nm_interface" >&6; }
7199
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
7200
$as_echo_n "checking whether ln -s works... " >&6; }
7202
if test "$LN_S" = "ln -s"; then
7203
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7204
$as_echo "yes" >&6; }
7206
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
7207
$as_echo "no, using $LN_S" >&6; }
7210
# find the maximum length of command line arguments
7211
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
7212
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
7213
if ${lt_cv_sys_max_cmd_len+:} false; then :
7214
$as_echo_n "(cached) " >&6
7221
# On DJGPP, this test can blow up pretty badly due to problems in libc
7222
# (any single argument exceeding 2000 bytes causes a buffer overrun
7223
# during glob expansion). Even if it were fixed, the result of this
7224
# check would be larger than it should be.
7225
lt_cv_sys_max_cmd_len=12288; # 12K is about right
7229
# Under GNU Hurd, this test is not required because there is
7230
# no limit to the length of command line arguments.
7231
# Libtool will interpret -1 as no limit whatsoever
7232
lt_cv_sys_max_cmd_len=-1;
7235
cygwin* | mingw* | cegcc*)
7236
# On Win9x/ME, this test blows up -- it succeeds, but takes
7237
# about 5 minutes as the teststring grows exponentially.
7238
# Worse, since 9x/ME are not pre-emptively multitasking,
7239
# you end up with a "frozen" computer, even though with patience
7240
# the test eventually succeeds (with a max line length of 256k).
7241
# Instead, let's just punt: use the minimum linelength reported by
7242
# all of the supported platforms: 8192 (on NT/2K/XP).
7243
lt_cv_sys_max_cmd_len=8192;
7247
# On MiNT this can take a long time and run out of memory.
7248
lt_cv_sys_max_cmd_len=8192;
7252
# On AmigaOS with pdksh, this test takes hours, literally.
7253
# So we just punt and use a minimum line length of 8192.
7254
lt_cv_sys_max_cmd_len=8192;
7257
netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
7258
# This has been around since 386BSD, at least. Likely further.
7259
if test -x /sbin/sysctl; then
7260
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
7261
elif test -x /usr/sbin/sysctl; then
7262
lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
7264
lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
7266
# And add a safety zone
7267
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7268
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7272
# We know the value 262144 and hardcode it with a safety zone (like BSD)
7273
lt_cv_sys_max_cmd_len=196608
7277
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7278
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7279
# nice to cause kernel panics so lets avoid the loop below.
7280
# First set a reasonable default.
7281
lt_cv_sys_max_cmd_len=16384
7283
if test -x /sbin/sysconfig; then
7284
case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7285
*1*) lt_cv_sys_max_cmd_len=-1 ;;
7290
lt_cv_sys_max_cmd_len=102400
7292
sysv5* | sco5v6* | sysv4.2uw2*)
7293
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7294
if test -n "$kargmax"; then
7295
lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
7297
lt_cv_sys_max_cmd_len=32768
7301
lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
7302
if test -n "$lt_cv_sys_max_cmd_len"; then
7303
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7304
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7306
# Make teststring a little bigger before we do anything with it.
7307
# a 1K string should be a reasonable start.
7308
for i in 1 2 3 4 5 6 7 8 ; do
7309
teststring=$teststring$teststring
7311
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7312
# If test is not a shell built-in, we'll probably end up computing a
7313
# maximum length that is only half of the actual maximum length, but
7315
while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
7316
= "X$teststring$teststring"; } >/dev/null 2>&1 &&
7317
test $i != 17 # 1/2 MB should be enough
7320
teststring=$teststring$teststring
7322
# Only check the string length outside the loop.
7323
lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
7325
# Add a significant safety factor because C++ compilers can tack on
7326
# massive amounts of additional arguments before passing them to the
7327
# linker. It appears as though 1/2 is a usable value.
7328
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
7335
if test -n $lt_cv_sys_max_cmd_len ; then
7336
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
7337
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7339
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
7340
$as_echo "none" >&6; }
7342
max_cmd_len=$lt_cv_sys_max_cmd_len
7353
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
7354
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
7355
# Try some XSI features
7358
test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
7360
&& eval 'test $(( 1 + 1 )) -eq 2 \
7361
&& test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
7363
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
7364
$as_echo "$xsi_shell" >&6; }
7367
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
7368
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
7370
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
7372
&& lt_shell_append=yes
7373
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
7374
$as_echo "$lt_shell_append" >&6; }
7377
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7387
# test EBCDIC or ASCII
7388
case `echo X|tr X '\101'` in
7389
A) # ASCII based system
7390
# \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7391
lt_SP2NL='tr \040 \012'
7392
lt_NL2SP='tr \015\012 \040\040'
7394
*) # EBCDIC based system
7395
lt_SP2NL='tr \100 \n'
7396
lt_NL2SP='tr \r\n \100\100'
7408
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
7409
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
7410
if ${lt_cv_to_host_file_cmd+:} false; then :
7411
$as_echo_n "(cached) " >&6
7416
*-*-mingw* ) # actually msys
7417
lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
7420
lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
7422
* ) # otherwise, assume *nix
7423
lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
7429
*-*-mingw* ) # actually msys
7430
lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
7433
lt_cv_to_host_file_cmd=func_convert_file_noop
7435
* ) # otherwise, assume *nix
7436
lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
7440
* ) # unhandled hosts (and "normal" native builds)
7441
lt_cv_to_host_file_cmd=func_convert_file_noop
7447
to_host_file_cmd=$lt_cv_to_host_file_cmd
7448
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
7449
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
7455
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
7456
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
7457
if ${lt_cv_to_tool_file_cmd+:} false; then :
7458
$as_echo_n "(cached) " >&6
7460
#assume ordinary cross tools, or native build.
7461
lt_cv_to_tool_file_cmd=func_convert_file_noop
7465
*-*-mingw* ) # actually msys
7466
lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
7474
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
7475
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
7476
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
7482
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7483
$as_echo_n "checking for $LD option to reload object files... " >&6; }
7484
if ${lt_cv_ld_reload_flag+:} false; then :
7485
$as_echo_n "(cached) " >&6
7487
lt_cv_ld_reload_flag='-r'
7489
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7490
$as_echo "$lt_cv_ld_reload_flag" >&6; }
7491
reload_flag=$lt_cv_ld_reload_flag
7492
case $reload_flag in
7494
*) reload_flag=" $reload_flag" ;;
7496
reload_cmds='$LD$reload_flag -o $output$reload_objs'
7498
cygwin* | mingw* | pw32* | cegcc*)
7499
if test "$GCC" != yes; then
7504
if test "$GCC" = yes; then
7505
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7507
reload_cmds='$LD$reload_flag -o $output$reload_objs'
7520
if test -n "$ac_tool_prefix"; then
7521
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7522
set dummy ${ac_tool_prefix}objdump; ac_word=$2
7523
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7524
$as_echo_n "checking for $ac_word... " >&6; }
7525
if ${ac_cv_prog_OBJDUMP+:} false; then :
7526
$as_echo_n "(cached) " >&6
7528
if test -n "$OBJDUMP"; then
7529
ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7531
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7535
test -z "$as_dir" && as_dir=.
7536
for ac_exec_ext in '' $ac_executable_extensions; do
7537
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7538
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7539
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7548
OBJDUMP=$ac_cv_prog_OBJDUMP
7549
if test -n "$OBJDUMP"; then
7550
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7551
$as_echo "$OBJDUMP" >&6; }
7553
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7554
$as_echo "no" >&6; }
7559
if test -z "$ac_cv_prog_OBJDUMP"; then
7560
ac_ct_OBJDUMP=$OBJDUMP
7561
# Extract the first word of "objdump", so it can be a program name with args.
7562
set dummy objdump; ac_word=$2
7563
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7564
$as_echo_n "checking for $ac_word... " >&6; }
7565
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
7566
$as_echo_n "(cached) " >&6
7568
if test -n "$ac_ct_OBJDUMP"; then
7569
ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7571
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7575
test -z "$as_dir" && as_dir=.
7576
for ac_exec_ext in '' $ac_executable_extensions; do
7577
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7578
ac_cv_prog_ac_ct_OBJDUMP="objdump"
7579
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7588
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7589
if test -n "$ac_ct_OBJDUMP"; then
7590
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7591
$as_echo "$ac_ct_OBJDUMP" >&6; }
7593
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7594
$as_echo "no" >&6; }
7597
if test "x$ac_ct_OBJDUMP" = x; then
7600
case $cross_compiling:$ac_tool_warned in
7602
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7603
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7604
ac_tool_warned=yes ;;
7606
OBJDUMP=$ac_ct_OBJDUMP
7609
OBJDUMP="$ac_cv_prog_OBJDUMP"
7612
test -z "$OBJDUMP" && OBJDUMP=objdump
7622
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7623
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
7624
if ${lt_cv_deplibs_check_method+:} false; then :
7625
$as_echo_n "(cached) " >&6
7627
lt_cv_file_magic_cmd='$MAGIC_CMD'
7628
lt_cv_file_magic_test_file=
7629
lt_cv_deplibs_check_method='unknown'
7630
# Need to set the preceding variable on all platforms that support
7631
# interlibrary dependencies.
7632
# 'none' -- dependencies not supported.
7633
# `unknown' -- same as none, but documents that we really don't know.
7634
# 'pass_all' -- all dependencies passed with no checks.
7635
# 'test_compile' -- check by making test program.
7636
# 'file_magic [[regex]]' -- check by looking for files in library path
7637
# which responds to the $file_magic_cmd with a given extended regex.
7638
# If you have `file' or equivalent on your system and you're not sure
7639
# whether `pass_all' will *always* work, you probably want this one.
7643
lt_cv_deplibs_check_method=pass_all
7647
lt_cv_deplibs_check_method=pass_all
7651
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7652
lt_cv_file_magic_cmd='/usr/bin/file -L'
7653
lt_cv_file_magic_test_file=/shlib/libc.so
7657
# func_win32_libid is a shell function defined in ltmain.sh
7658
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7659
lt_cv_file_magic_cmd='func_win32_libid'
7663
# Base MSYS/MinGW do not provide the 'file' command needed by
7664
# func_win32_libid shell function, so use a weaker test based on 'objdump',
7665
# unless we find 'file', for example because we are cross-compiling.
7666
# func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7667
if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
7668
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7669
lt_cv_file_magic_cmd='func_win32_libid'
7671
# Keep this pattern in sync with the one in func_win32_libid.
7672
lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
7673
lt_cv_file_magic_cmd='$OBJDUMP -f'
7678
# use the weaker test based on 'objdump'. See mingw*.
7679
lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7680
lt_cv_file_magic_cmd='$OBJDUMP -f'
7683
darwin* | rhapsody*)
7684
lt_cv_deplibs_check_method=pass_all
7687
freebsd* | dragonfly*)
7688
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7691
# Not sure whether the presence of OpenBSD here was a mistake.
7692
# Let's accept both of them until this is cleared up.
7693
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7694
lt_cv_file_magic_cmd=/usr/bin/file
7695
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7699
lt_cv_deplibs_check_method=pass_all
7704
lt_cv_deplibs_check_method=pass_all
7708
lt_cv_deplibs_check_method=pass_all
7711
hpux10.20* | hpux11*)
7712
lt_cv_file_magic_cmd=/usr/bin/file
7715
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7716
lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7719
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]'
7720
lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7723
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7724
lt_cv_file_magic_test_file=/usr/lib/libc.sl
7730
# PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7731
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7734
irix5* | irix6* | nonstopux*)
7736
*-32|*"-32 ") libmagic=32-bit;;
7737
*-n32|*"-n32 ") libmagic=N32;;
7738
*-64|*"-64 ") libmagic=64-bit;;
7739
*) libmagic=never-match;;
7741
lt_cv_deplibs_check_method=pass_all
7744
# This must be Linux ELF.
7745
linux* | k*bsd*-gnu | kopensolaris*-gnu)
7746
lt_cv_deplibs_check_method=pass_all
7750
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7751
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7753
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7758
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7759
lt_cv_file_magic_cmd=/usr/bin/file
7760
lt_cv_file_magic_test_file=/usr/lib/libnls.so
7764
lt_cv_deplibs_check_method=pass_all
7768
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7769
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7771
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7775
osf3* | osf4* | osf5*)
7776
lt_cv_deplibs_check_method=pass_all
7780
lt_cv_deplibs_check_method=pass_all
7784
lt_cv_deplibs_check_method=pass_all
7787
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7788
lt_cv_deplibs_check_method=pass_all
7792
case $host_vendor in
7794
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]'
7795
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7798
lt_cv_deplibs_check_method=pass_all
7801
lt_cv_file_magic_cmd='/bin/file'
7802
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7805
lt_cv_file_magic_cmd='/bin/file'
7806
lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7807
lt_cv_file_magic_test_file=/lib/libc.so
7810
lt_cv_deplibs_check_method=pass_all
7813
lt_cv_deplibs_check_method=pass_all
7819
lt_cv_deplibs_check_method=pass_all
7824
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7825
$as_echo "$lt_cv_deplibs_check_method" >&6; }
7829
if test "$build" = "$host"; then
7832
if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
7835
file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
7841
file_magic_cmd=$lt_cv_file_magic_cmd
7842
deplibs_check_method=$lt_cv_deplibs_check_method
7843
test -z "$deplibs_check_method" && deplibs_check_method=unknown
7866
if test -n "$ac_tool_prefix"; then
7867
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7868
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7869
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7870
$as_echo_n "checking for $ac_word... " >&6; }
7871
if ${ac_cv_prog_DLLTOOL+:} false; then :
7872
$as_echo_n "(cached) " >&6
7874
if test -n "$DLLTOOL"; then
7875
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7877
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7881
test -z "$as_dir" && as_dir=.
7882
for ac_exec_ext in '' $ac_executable_extensions; do
7883
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7884
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7885
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7894
DLLTOOL=$ac_cv_prog_DLLTOOL
7895
if test -n "$DLLTOOL"; then
7896
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7897
$as_echo "$DLLTOOL" >&6; }
7899
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7900
$as_echo "no" >&6; }
7905
if test -z "$ac_cv_prog_DLLTOOL"; then
7906
ac_ct_DLLTOOL=$DLLTOOL
7907
# Extract the first word of "dlltool", so it can be a program name with args.
7908
set dummy dlltool; ac_word=$2
7909
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7910
$as_echo_n "checking for $ac_word... " >&6; }
7911
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7912
$as_echo_n "(cached) " >&6
7914
if test -n "$ac_ct_DLLTOOL"; then
7915
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7917
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7921
test -z "$as_dir" && as_dir=.
7922
for ac_exec_ext in '' $ac_executable_extensions; do
7923
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7924
ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7925
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7934
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7935
if test -n "$ac_ct_DLLTOOL"; then
7936
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7937
$as_echo "$ac_ct_DLLTOOL" >&6; }
7939
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7940
$as_echo "no" >&6; }
7943
if test "x$ac_ct_DLLTOOL" = x; then
7946
case $cross_compiling:$ac_tool_warned in
7948
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7949
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7950
ac_tool_warned=yes ;;
7952
DLLTOOL=$ac_ct_DLLTOOL
7955
DLLTOOL="$ac_cv_prog_DLLTOOL"
7958
test -z "$DLLTOOL" && DLLTOOL=dlltool
7969
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
7970
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
7971
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
7972
$as_echo_n "(cached) " >&6
7974
lt_cv_sharedlib_from_linklib_cmd='unknown'
7977
cygwin* | mingw* | pw32* | cegcc*)
7978
# two different shell functions defined in ltmain.sh
7979
# decide which to use based on capabilities of $DLLTOOL
7980
case `$DLLTOOL --help 2>&1` in
7981
*--identify-strict*)
7982
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
7985
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
7990
# fallback: assume linklib IS sharedlib
7991
lt_cv_sharedlib_from_linklib_cmd="$ECHO"
7996
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
7997
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
7998
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
7999
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
8007
if test -n "$ac_tool_prefix"; then
8010
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8011
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8012
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8013
$as_echo_n "checking for $ac_word... " >&6; }
8014
if ${ac_cv_prog_AR+:} false; then :
8015
$as_echo_n "(cached) " >&6
8017
if test -n "$AR"; then
8018
ac_cv_prog_AR="$AR" # Let the user override the test.
8020
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8024
test -z "$as_dir" && as_dir=.
8025
for ac_exec_ext in '' $ac_executable_extensions; do
8026
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8027
ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
8028
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8038
if test -n "$AR"; then
8039
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
8040
$as_echo "$AR" >&6; }
8042
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8043
$as_echo "no" >&6; }
8047
test -n "$AR" && break
8050
if test -z "$AR"; then
8054
# Extract the first word of "$ac_prog", so it can be a program name with args.
8055
set dummy $ac_prog; ac_word=$2
8056
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8057
$as_echo_n "checking for $ac_word... " >&6; }
8058
if ${ac_cv_prog_ac_ct_AR+:} false; then :
8059
$as_echo_n "(cached) " >&6
8061
if test -n "$ac_ct_AR"; then
8062
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
8064
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8068
test -z "$as_dir" && as_dir=.
8069
for ac_exec_ext in '' $ac_executable_extensions; do
8070
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8071
ac_cv_prog_ac_ct_AR="$ac_prog"
8072
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8081
ac_ct_AR=$ac_cv_prog_ac_ct_AR
8082
if test -n "$ac_ct_AR"; then
8083
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
8084
$as_echo "$ac_ct_AR" >&6; }
8086
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8087
$as_echo "no" >&6; }
8091
test -n "$ac_ct_AR" && break
8094
if test "x$ac_ct_AR" = x; then
8097
case $cross_compiling:$ac_tool_warned in
8099
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8100
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8101
ac_tool_warned=yes ;;
8120
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
8121
$as_echo_n "checking for archiver @FILE support... " >&6; }
8122
if ${lt_cv_ar_at_file+:} false; then :
8123
$as_echo_n "(cached) " >&6
8126
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8127
/* end confdefs.h. */
8137
if ac_fn_c_try_compile "$LINENO"; then :
8138
echo conftest.$ac_objext > conftest.lst
8139
lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
8140
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
8141
(eval $lt_ar_try) 2>&5
8143
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8144
test $ac_status = 0; }
8145
if test "$ac_status" -eq 0; then
8146
# Ensure the archiver fails upon bogus file names.
8147
rm -f conftest.$ac_objext libconftest.a
8148
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
8149
(eval $lt_ar_try) 2>&5
8151
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8152
test $ac_status = 0; }
8153
if test "$ac_status" -ne 0; then
8157
rm -f conftest.* libconftest.a
8160
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8163
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
8164
$as_echo "$lt_cv_ar_at_file" >&6; }
8166
if test "x$lt_cv_ar_at_file" = xno; then
8169
archiver_list_spec=$lt_cv_ar_at_file
8178
if test -n "$ac_tool_prefix"; then
8179
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
8180
set dummy ${ac_tool_prefix}strip; ac_word=$2
8181
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8182
$as_echo_n "checking for $ac_word... " >&6; }
8183
if ${ac_cv_prog_STRIP+:} false; then :
8184
$as_echo_n "(cached) " >&6
8186
if test -n "$STRIP"; then
8187
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8189
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8193
test -z "$as_dir" && as_dir=.
8194
for ac_exec_ext in '' $ac_executable_extensions; do
8195
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8196
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
8197
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8206
STRIP=$ac_cv_prog_STRIP
8207
if test -n "$STRIP"; then
8208
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
8209
$as_echo "$STRIP" >&6; }
8211
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8212
$as_echo "no" >&6; }
8217
if test -z "$ac_cv_prog_STRIP"; then
8219
# Extract the first word of "strip", so it can be a program name with args.
8220
set dummy strip; ac_word=$2
8221
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8222
$as_echo_n "checking for $ac_word... " >&6; }
8223
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
8224
$as_echo_n "(cached) " >&6
8226
if test -n "$ac_ct_STRIP"; then
8227
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
8229
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8233
test -z "$as_dir" && as_dir=.
8234
for ac_exec_ext in '' $ac_executable_extensions; do
8235
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8236
ac_cv_prog_ac_ct_STRIP="strip"
8237
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8246
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
8247
if test -n "$ac_ct_STRIP"; then
8248
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
8249
$as_echo "$ac_ct_STRIP" >&6; }
8251
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8252
$as_echo "no" >&6; }
8255
if test "x$ac_ct_STRIP" = x; then
8258
case $cross_compiling:$ac_tool_warned in
8260
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8261
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8262
ac_tool_warned=yes ;;
8267
STRIP="$ac_cv_prog_STRIP"
8270
test -z "$STRIP" && STRIP=:
8277
if test -n "$ac_tool_prefix"; then
8278
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8279
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
8280
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8281
$as_echo_n "checking for $ac_word... " >&6; }
8282
if ${ac_cv_prog_RANLIB+:} false; then :
8283
$as_echo_n "(cached) " >&6
8285
if test -n "$RANLIB"; then
8286
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8288
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8292
test -z "$as_dir" && as_dir=.
8293
for ac_exec_ext in '' $ac_executable_extensions; do
8294
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8295
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
8296
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8305
RANLIB=$ac_cv_prog_RANLIB
8306
if test -n "$RANLIB"; then
8307
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8308
$as_echo "$RANLIB" >&6; }
8310
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8311
$as_echo "no" >&6; }
8316
if test -z "$ac_cv_prog_RANLIB"; then
8317
ac_ct_RANLIB=$RANLIB
8318
# Extract the first word of "ranlib", so it can be a program name with args.
8319
set dummy ranlib; ac_word=$2
8320
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8321
$as_echo_n "checking for $ac_word... " >&6; }
8322
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
8323
$as_echo_n "(cached) " >&6
8325
if test -n "$ac_ct_RANLIB"; then
8326
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
8328
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8332
test -z "$as_dir" && as_dir=.
8333
for ac_exec_ext in '' $ac_executable_extensions; do
8334
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8335
ac_cv_prog_ac_ct_RANLIB="ranlib"
8336
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8345
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
8346
if test -n "$ac_ct_RANLIB"; then
8347
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
8348
$as_echo "$ac_ct_RANLIB" >&6; }
8350
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8351
$as_echo "no" >&6; }
8354
if test "x$ac_ct_RANLIB" = x; then
8357
case $cross_compiling:$ac_tool_warned in
8359
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8360
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8361
ac_tool_warned=yes ;;
8363
RANLIB=$ac_ct_RANLIB
8366
RANLIB="$ac_cv_prog_RANLIB"
8369
test -z "$RANLIB" && RANLIB=:
8376
# Determine commands to create old-style static archives.
8377
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
8378
old_postinstall_cmds='chmod 644 $oldlib'
8379
old_postuninstall_cmds=
8381
if test -n "$RANLIB"; then
8384
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
8387
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
8390
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
8395
lock_old_archive_extraction=yes ;;
8397
lock_old_archive_extraction=no ;;
8438
# If no C compiler was specified, use CC.
8441
# If no C compiler flags were specified, use CFLAGS.
8442
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8444
# Allow CC to be a program name with arguments.
8448
# Check for command to grab the raw symbol name followed by C symbol from nm.
8449
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
8450
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
8451
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
8452
$as_echo_n "(cached) " >&6
8455
# These are sane defaults that work on at least a few old systems.
8456
# [They come from Ultrix. What could be older than Ultrix?!! ;)]
8458
# Character class describing NM global symbol codes.
8459
symcode='[BCDEGRST]'
8461
# Regexp to match symbols that can be accessed directly from C.
8462
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
8464
# Define system-specific variables.
8469
cygwin* | mingw* | pw32* | cegcc*)
8470
symcode='[ABCDGISTW]'
8473
if test "$host_cpu" = ia64; then
8474
symcode='[ABCDEGRST]'
8478
symcode='[BCDEGRST]'
8481
symcode='[BCDEGQRST]'
8492
sysv5* | sco5v6* | unixware* | OpenUNIX*)
8500
# If we're using GNU nm, then use its standard symbol codes.
8501
case `$NM -V 2>&1` in
8502
*GNU* | *'with BFD'*)
8503
symcode='[ABCDGIRSTW]' ;;
8506
# Transform an extracted symbol line into a proper C declaration.
8507
# Some systems (esp. on ia64) link data and code symbols differently,
8508
# so use this general approach.
8509
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8511
# Transform an extracted symbol line into symbol name and symbol address
8512
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
8513
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'"
8515
# Handle CRLF in mingw tool chain
8519
opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8523
# Try without a prefix underscore, then with it.
8524
for ac_symprfx in "" "_"; do
8526
# Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8527
symxfrm="\\1 $ac_symprfx\\2 \\2"
8529
# Write the raw and C identifiers.
8530
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8531
# Fake it for dumpbin and say T for any non-static function
8532
# and D for any global variable.
8533
# Also find C++ and __fastcall symbols from MSVC++,
8534
# which start with @ or ?.
8535
lt_cv_sys_global_symbol_pipe="$AWK '"\
8536
" {last_section=section; section=\$ 3};"\
8537
" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8538
" \$ 0!~/External *\|/{next};"\
8539
" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8540
" {if(hide[section]) next};"\
8541
" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
8542
" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
8543
" s[1]~/^[@?]/{print s[1], s[1]; next};"\
8544
" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
8545
" ' prfx=^$ac_symprfx"
8547
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8549
lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
8551
# Check to see that the pipe works correctly.
8555
cat > conftest.$ac_ext <<_LT_EOF
8560
void nm_test_func(void);
8561
void nm_test_func(void){}
8565
int main(){nm_test_var='a';nm_test_func();return(0);}
8568
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8569
(eval $ac_compile) 2>&5
8571
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8572
test $ac_status = 0; }; then
8573
# Now try to grab the symbols.
8575
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
8576
(eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
8578
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8579
test $ac_status = 0; } && test -s "$nlist"; then
8580
# Try sorting and uniquifying the output.
8581
if sort "$nlist" | uniq > "$nlist"T; then
8582
mv -f "$nlist"T "$nlist"
8587
# Make sure that we snagged all the symbols we need.
8588
if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
8589
if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
8590
cat <<_LT_EOF > conftest.$ac_ext
8591
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
8592
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
8593
/* DATA imports from DLLs on WIN32 con't be const, because runtime
8594
relocations are performed -- see ld's documentation on pseudo-relocs. */
8595
# define LT_DLSYM_CONST
8596
#elif defined(__osf__)
8597
/* This system does not cope well with relocations in const data. */
8598
# define LT_DLSYM_CONST
8600
# define LT_DLSYM_CONST const
8608
# Now generate the symbol file.
8609
eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8611
cat <<_LT_EOF >> conftest.$ac_ext
8613
/* The mapping between symbol names and symbols. */
8614
LT_DLSYM_CONST struct {
8618
lt__PROGRAM__LTX_preloaded_symbols[] =
8620
{ "@PROGRAM@", (void *) 0 },
8622
$SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
8623
cat <<\_LT_EOF >> conftest.$ac_ext
8627
/* This works around a problem in FreeBSD linker */
8628
#ifdef FREEBSD_WORKAROUND
8629
static const void *lt_preloaded_setup() {
8630
return lt__PROGRAM__LTX_preloaded_symbols;
8638
# Now try linking the two files.
8639
mv conftest.$ac_objext conftstm.$ac_objext
8640
lt_globsym_save_LIBS=$LIBS
8641
lt_globsym_save_CFLAGS=$CFLAGS
8642
LIBS="conftstm.$ac_objext"
8643
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8644
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8645
(eval $ac_link) 2>&5
8647
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8648
test $ac_status = 0; } && test -s conftest${ac_exeext}; then
8651
LIBS=$lt_globsym_save_LIBS
8652
CFLAGS=$lt_globsym_save_CFLAGS
8654
echo "cannot find nm_test_func in $nlist" >&5
8657
echo "cannot find nm_test_var in $nlist" >&5
8660
echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8663
echo "$progname: failed program was:" >&5
8664
cat conftest.$ac_ext >&5
8666
rm -rf conftest* conftst*
8668
# Do not use the global_symbol_pipe unless it works.
8669
if test "$pipe_works" = yes; then
8672
lt_cv_sys_global_symbol_pipe=
8678
if test -z "$lt_cv_sys_global_symbol_pipe"; then
8679
lt_cv_sys_global_symbol_to_cdecl=
8681
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8682
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
8683
$as_echo "failed" >&6; }
8685
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8686
$as_echo "ok" >&6; }
8689
# Response file support.
8690
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8691
nm_file_list_spec='@'
8692
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
8693
nm_file_list_spec='@'
8722
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
8723
$as_echo_n "checking for sysroot... " >&6; }
8725
# Check whether --with-sysroot was given.
8726
if test "${with_sysroot+set}" = set; then :
8727
withval=$with_sysroot;
8734
case ${with_sysroot} in #(
8736
if test "$GCC" = yes; then
8737
lt_sysroot=`$CC --print-sysroot 2>/dev/null`
8741
lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
8746
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
8747
$as_echo "${with_sysroot}" >&6; }
8748
as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
8752
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
8753
$as_echo "${lt_sysroot:-no}" >&6; }
8759
# Check whether --enable-libtool-lock was given.
8760
if test "${enable_libtool_lock+set}" = set; then :
8761
enableval=$enable_libtool_lock;
8764
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8766
# Some flags need to be propagated to the compiler or linker for good
8770
# Find out which ABI we are using.
8771
echo 'int i;' > conftest.$ac_ext
8772
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8773
(eval $ac_compile) 2>&5
8775
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8776
test $ac_status = 0; }; then
8777
case `/usr/bin/file conftest.$ac_objext` in
8789
# Find out which ABI we are using.
8790
echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8791
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8792
(eval $ac_compile) 2>&5
8794
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8795
test $ac_status = 0; }; then
8796
if test "$lt_cv_prog_gnu_ld" = yes; then
8797
case `/usr/bin/file conftest.$ac_objext` in
8799
LD="${LD-ld} -melf32bsmip"
8802
LD="${LD-ld} -melf32bmipn32"
8805
LD="${LD-ld} -melf64bmip"
8809
case `/usr/bin/file conftest.$ac_objext` in
8825
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
8826
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8827
# Find out which ABI we are using.
8828
echo 'int i;' > conftest.$ac_ext
8829
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8830
(eval $ac_compile) 2>&5
8832
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8833
test $ac_status = 0; }; then
8834
case `/usr/bin/file conftest.o` in
8837
x86_64-*kfreebsd*-gnu)
8838
LD="${LD-ld} -m elf_i386_fbsd"
8841
LD="${LD-ld} -m elf_i386"
8843
ppc64-*linux*|powerpc64-*linux*)
8844
LD="${LD-ld} -m elf32ppclinux"
8847
LD="${LD-ld} -m elf_s390"
8850
LD="${LD-ld} -m elf32_sparc"
8856
x86_64-*kfreebsd*-gnu)
8857
LD="${LD-ld} -m elf_x86_64_fbsd"
8860
LD="${LD-ld} -m elf_x86_64"
8862
ppc*-*linux*|powerpc*-*linux*)
8863
LD="${LD-ld} -m elf64ppc"
8865
s390*-*linux*|s390*-*tpf*)
8866
LD="${LD-ld} -m elf64_s390"
8869
LD="${LD-ld} -m elf64_sparc"
8879
# On SCO OpenServer 5, we need -belf to get full-featured binaries.
8880
SAVE_CFLAGS="$CFLAGS"
8881
CFLAGS="$CFLAGS -belf"
8882
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8883
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8884
if ${lt_cv_cc_needs_belf+:} false; then :
8885
$as_echo_n "(cached) " >&6
8888
ac_cpp='$CPP $CPPFLAGS'
8889
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8890
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8891
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8893
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8894
/* end confdefs.h. */
8904
if ac_fn_c_try_link "$LINENO"; then :
8905
lt_cv_cc_needs_belf=yes
8907
lt_cv_cc_needs_belf=no
8909
rm -f core conftest.err conftest.$ac_objext \
8910
conftest$ac_exeext conftest.$ac_ext
8912
ac_cpp='$CPP $CPPFLAGS'
8913
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8914
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8915
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8918
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8919
$as_echo "$lt_cv_cc_needs_belf" >&6; }
8920
if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8921
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8922
CFLAGS="$SAVE_CFLAGS"
8926
# Find out which ABI we are using.
8927
echo 'int i;' > conftest.$ac_ext
8928
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8929
(eval $ac_compile) 2>&5
8931
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8932
test $ac_status = 0; }; then
8933
case `/usr/bin/file conftest.o` in
8935
case $lt_cv_prog_gnu_ld in
8936
yes*) LD="${LD-ld} -m elf64_sparc" ;;
8938
if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8950
need_locks="$enable_libtool_lock"
8952
if test -n "$ac_tool_prefix"; then
8953
# Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
8954
set dummy ${ac_tool_prefix}mt; ac_word=$2
8955
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8956
$as_echo_n "checking for $ac_word... " >&6; }
8957
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
8958
$as_echo_n "(cached) " >&6
8960
if test -n "$MANIFEST_TOOL"; then
8961
ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
8963
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8967
test -z "$as_dir" && as_dir=.
8968
for ac_exec_ext in '' $ac_executable_extensions; do
8969
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8970
ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
8971
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8980
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
8981
if test -n "$MANIFEST_TOOL"; then
8982
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
8983
$as_echo "$MANIFEST_TOOL" >&6; }
8985
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8986
$as_echo "no" >&6; }
8991
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8992
ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
8993
# Extract the first word of "mt", so it can be a program name with args.
8994
set dummy mt; ac_word=$2
8995
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8996
$as_echo_n "checking for $ac_word... " >&6; }
8997
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
8998
$as_echo_n "(cached) " >&6
9000
if test -n "$ac_ct_MANIFEST_TOOL"; then
9001
ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
9003
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9007
test -z "$as_dir" && as_dir=.
9008
for ac_exec_ext in '' $ac_executable_extensions; do
9009
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9010
ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
9011
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9020
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
9021
if test -n "$ac_ct_MANIFEST_TOOL"; then
9022
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
9023
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
9025
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9026
$as_echo "no" >&6; }
9029
if test "x$ac_ct_MANIFEST_TOOL" = x; then
9032
case $cross_compiling:$ac_tool_warned in
9034
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9035
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9036
ac_tool_warned=yes ;;
9038
MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
9041
MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
9044
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
9045
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
9046
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
9047
if ${lt_cv_path_mainfest_tool+:} false; then :
9048
$as_echo_n "(cached) " >&6
9050
lt_cv_path_mainfest_tool=no
9051
echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
9052
$MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
9053
cat conftest.err >&5
9054
if $GREP 'Manifest Tool' conftest.out > /dev/null; then
9055
lt_cv_path_mainfest_tool=yes
9059
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
9060
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
9061
if test "x$lt_cv_path_mainfest_tool" != xyes; then
9071
rhapsody* | darwin*)
9072
if test -n "$ac_tool_prefix"; then
9073
# Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
9074
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
9075
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9076
$as_echo_n "checking for $ac_word... " >&6; }
9077
if ${ac_cv_prog_DSYMUTIL+:} false; then :
9078
$as_echo_n "(cached) " >&6
9080
if test -n "$DSYMUTIL"; then
9081
ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
9083
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9087
test -z "$as_dir" && as_dir=.
9088
for ac_exec_ext in '' $ac_executable_extensions; do
9089
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9090
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
9091
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9100
DSYMUTIL=$ac_cv_prog_DSYMUTIL
9101
if test -n "$DSYMUTIL"; then
9102
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
9103
$as_echo "$DSYMUTIL" >&6; }
9105
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9106
$as_echo "no" >&6; }
9111
if test -z "$ac_cv_prog_DSYMUTIL"; then
9112
ac_ct_DSYMUTIL=$DSYMUTIL
9113
# Extract the first word of "dsymutil", so it can be a program name with args.
9114
set dummy dsymutil; ac_word=$2
9115
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9116
$as_echo_n "checking for $ac_word... " >&6; }
9117
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
9118
$as_echo_n "(cached) " >&6
9120
if test -n "$ac_ct_DSYMUTIL"; then
9121
ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
9123
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9127
test -z "$as_dir" && as_dir=.
9128
for ac_exec_ext in '' $ac_executable_extensions; do
9129
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9130
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
9131
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9140
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
9141
if test -n "$ac_ct_DSYMUTIL"; then
9142
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
9143
$as_echo "$ac_ct_DSYMUTIL" >&6; }
9145
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9146
$as_echo "no" >&6; }
9149
if test "x$ac_ct_DSYMUTIL" = x; then
9152
case $cross_compiling:$ac_tool_warned in
9154
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9155
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9156
ac_tool_warned=yes ;;
9158
DSYMUTIL=$ac_ct_DSYMUTIL
9161
DSYMUTIL="$ac_cv_prog_DSYMUTIL"
9164
if test -n "$ac_tool_prefix"; then
9165
# Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
9166
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
9167
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9168
$as_echo_n "checking for $ac_word... " >&6; }
9169
if ${ac_cv_prog_NMEDIT+:} false; then :
9170
$as_echo_n "(cached) " >&6
9172
if test -n "$NMEDIT"; then
9173
ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
9175
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9179
test -z "$as_dir" && as_dir=.
9180
for ac_exec_ext in '' $ac_executable_extensions; do
9181
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9182
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
9183
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9192
NMEDIT=$ac_cv_prog_NMEDIT
9193
if test -n "$NMEDIT"; then
9194
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
9195
$as_echo "$NMEDIT" >&6; }
9197
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9198
$as_echo "no" >&6; }
9203
if test -z "$ac_cv_prog_NMEDIT"; then
9204
ac_ct_NMEDIT=$NMEDIT
9205
# Extract the first word of "nmedit", so it can be a program name with args.
9206
set dummy nmedit; ac_word=$2
9207
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9208
$as_echo_n "checking for $ac_word... " >&6; }
9209
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
9210
$as_echo_n "(cached) " >&6
9212
if test -n "$ac_ct_NMEDIT"; then
9213
ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
9215
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9219
test -z "$as_dir" && as_dir=.
9220
for ac_exec_ext in '' $ac_executable_extensions; do
9221
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9222
ac_cv_prog_ac_ct_NMEDIT="nmedit"
9223
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9232
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
9233
if test -n "$ac_ct_NMEDIT"; then
9234
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
9235
$as_echo "$ac_ct_NMEDIT" >&6; }
9237
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9238
$as_echo "no" >&6; }
9241
if test "x$ac_ct_NMEDIT" = x; then
9244
case $cross_compiling:$ac_tool_warned in
9246
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9247
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9248
ac_tool_warned=yes ;;
9250
NMEDIT=$ac_ct_NMEDIT
9253
NMEDIT="$ac_cv_prog_NMEDIT"
9256
if test -n "$ac_tool_prefix"; then
9257
# Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
9258
set dummy ${ac_tool_prefix}lipo; ac_word=$2
9259
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9260
$as_echo_n "checking for $ac_word... " >&6; }
9261
if ${ac_cv_prog_LIPO+:} false; then :
9262
$as_echo_n "(cached) " >&6
9264
if test -n "$LIPO"; then
9265
ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
9267
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9271
test -z "$as_dir" && as_dir=.
9272
for ac_exec_ext in '' $ac_executable_extensions; do
9273
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9274
ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
9275
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9284
LIPO=$ac_cv_prog_LIPO
9285
if test -n "$LIPO"; then
9286
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
9287
$as_echo "$LIPO" >&6; }
9289
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9290
$as_echo "no" >&6; }
9295
if test -z "$ac_cv_prog_LIPO"; then
9297
# Extract the first word of "lipo", so it can be a program name with args.
9298
set dummy lipo; ac_word=$2
9299
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9300
$as_echo_n "checking for $ac_word... " >&6; }
9301
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
9302
$as_echo_n "(cached) " >&6
9304
if test -n "$ac_ct_LIPO"; then
9305
ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
9307
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9311
test -z "$as_dir" && as_dir=.
9312
for ac_exec_ext in '' $ac_executable_extensions; do
9313
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9314
ac_cv_prog_ac_ct_LIPO="lipo"
9315
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9324
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
9325
if test -n "$ac_ct_LIPO"; then
9326
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
9327
$as_echo "$ac_ct_LIPO" >&6; }
9329
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9330
$as_echo "no" >&6; }
9333
if test "x$ac_ct_LIPO" = x; then
9336
case $cross_compiling:$ac_tool_warned in
9338
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9339
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9340
ac_tool_warned=yes ;;
9345
LIPO="$ac_cv_prog_LIPO"
9348
if test -n "$ac_tool_prefix"; then
9349
# Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9350
set dummy ${ac_tool_prefix}otool; ac_word=$2
9351
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9352
$as_echo_n "checking for $ac_word... " >&6; }
9353
if ${ac_cv_prog_OTOOL+:} false; then :
9354
$as_echo_n "(cached) " >&6
9356
if test -n "$OTOOL"; then
9357
ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9359
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9363
test -z "$as_dir" && as_dir=.
9364
for ac_exec_ext in '' $ac_executable_extensions; do
9365
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9366
ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9367
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9376
OTOOL=$ac_cv_prog_OTOOL
9377
if test -n "$OTOOL"; then
9378
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9379
$as_echo "$OTOOL" >&6; }
9381
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9382
$as_echo "no" >&6; }
9387
if test -z "$ac_cv_prog_OTOOL"; then
9389
# Extract the first word of "otool", so it can be a program name with args.
9390
set dummy otool; ac_word=$2
9391
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9392
$as_echo_n "checking for $ac_word... " >&6; }
9393
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
9394
$as_echo_n "(cached) " >&6
9396
if test -n "$ac_ct_OTOOL"; then
9397
ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9399
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9403
test -z "$as_dir" && as_dir=.
9404
for ac_exec_ext in '' $ac_executable_extensions; do
9405
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9406
ac_cv_prog_ac_ct_OTOOL="otool"
9407
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9416
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9417
if test -n "$ac_ct_OTOOL"; then
9418
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9419
$as_echo "$ac_ct_OTOOL" >&6; }
9421
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9422
$as_echo "no" >&6; }
9425
if test "x$ac_ct_OTOOL" = x; then
9428
case $cross_compiling:$ac_tool_warned in
9430
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9431
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9432
ac_tool_warned=yes ;;
9437
OTOOL="$ac_cv_prog_OTOOL"
9440
if test -n "$ac_tool_prefix"; then
9441
# Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
9442
set dummy ${ac_tool_prefix}otool64; ac_word=$2
9443
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9444
$as_echo_n "checking for $ac_word... " >&6; }
9445
if ${ac_cv_prog_OTOOL64+:} false; then :
9446
$as_echo_n "(cached) " >&6
9448
if test -n "$OTOOL64"; then
9449
ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
9451
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9455
test -z "$as_dir" && as_dir=.
9456
for ac_exec_ext in '' $ac_executable_extensions; do
9457
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9458
ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
9459
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9468
OTOOL64=$ac_cv_prog_OTOOL64
9469
if test -n "$OTOOL64"; then
9470
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
9471
$as_echo "$OTOOL64" >&6; }
9473
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9474
$as_echo "no" >&6; }
9479
if test -z "$ac_cv_prog_OTOOL64"; then
9480
ac_ct_OTOOL64=$OTOOL64
9481
# Extract the first word of "otool64", so it can be a program name with args.
9482
set dummy otool64; ac_word=$2
9483
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9484
$as_echo_n "checking for $ac_word... " >&6; }
9485
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
9486
$as_echo_n "(cached) " >&6
9488
if test -n "$ac_ct_OTOOL64"; then
9489
ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
9491
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9495
test -z "$as_dir" && as_dir=.
9496
for ac_exec_ext in '' $ac_executable_extensions; do
9497
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9498
ac_cv_prog_ac_ct_OTOOL64="otool64"
9499
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9508
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
9509
if test -n "$ac_ct_OTOOL64"; then
9510
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
9511
$as_echo "$ac_ct_OTOOL64" >&6; }
9513
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9514
$as_echo "no" >&6; }
9517
if test "x$ac_ct_OTOOL64" = x; then
9520
case $cross_compiling:$ac_tool_warned in
9522
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9523
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9524
ac_tool_warned=yes ;;
9526
OTOOL64=$ac_ct_OTOOL64
9529
OTOOL64="$ac_cv_prog_OTOOL64"
9558
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
9559
$as_echo_n "checking for -single_module linker flag... " >&6; }
9560
if ${lt_cv_apple_cc_single_mod+:} false; then :
9561
$as_echo_n "(cached) " >&6
9563
lt_cv_apple_cc_single_mod=no
9564
if test -z "${LT_MULTI_MODULE}"; then
9565
# By default we will add the -single_module flag. You can override
9566
# by either setting the environment variable LT_MULTI_MODULE
9567
# non-empty at configure time, or by adding -multi_module to the
9569
rm -rf libconftest.dylib*
9570
echo "int foo(void){return 1;}" > conftest.c
9571
echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9572
-dynamiclib -Wl,-single_module conftest.c" >&5
9573
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9574
-dynamiclib -Wl,-single_module conftest.c 2>conftest.err
9576
if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
9577
lt_cv_apple_cc_single_mod=yes
9579
cat conftest.err >&5
9581
rm -rf libconftest.dylib*
9585
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
9586
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9587
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
9588
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
9589
if ${lt_cv_ld_exported_symbols_list+:} false; then :
9590
$as_echo_n "(cached) " >&6
9592
lt_cv_ld_exported_symbols_list=no
9593
save_LDFLAGS=$LDFLAGS
9594
echo "_main" > conftest.sym
9595
LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
9596
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9597
/* end confdefs.h. */
9607
if ac_fn_c_try_link "$LINENO"; then :
9608
lt_cv_ld_exported_symbols_list=yes
9610
lt_cv_ld_exported_symbols_list=no
9612
rm -f core conftest.err conftest.$ac_objext \
9613
conftest$ac_exeext conftest.$ac_ext
9614
LDFLAGS="$save_LDFLAGS"
9617
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
9618
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9619
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
9620
$as_echo_n "checking for -force_load linker flag... " >&6; }
9621
if ${lt_cv_ld_force_load+:} false; then :
9622
$as_echo_n "(cached) " >&6
9624
lt_cv_ld_force_load=no
9625
cat > conftest.c << _LT_EOF
9626
int forced_loaded() { return 2;}
9628
echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
9629
$LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
9630
echo "$AR cru libconftest.a conftest.o" >&5
9631
$AR cru libconftest.a conftest.o 2>&5
9632
echo "$RANLIB libconftest.a" >&5
9633
$RANLIB libconftest.a 2>&5
9634
cat > conftest.c << _LT_EOF
9635
int main() { return 0;}
9637
echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
9638
$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
9640
if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
9641
lt_cv_ld_force_load=yes
9643
cat conftest.err >&5
9645
rm -f conftest.err libconftest.a conftest conftest.c
9646
rm -rf conftest.dSYM
9649
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
9650
$as_echo "$lt_cv_ld_force_load" >&6; }
9652
rhapsody* | darwin1.[012])
9653
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
9655
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9656
darwin*) # darwin 5.x on
9657
# if running on 10.5 or later, the deployment target defaults
9658
# to the OS version, if on x86, and 10.4, the deployment
9659
# target defaults to 10.4. Don't you love it?
9660
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9661
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
9662
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9664
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9666
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9670
if test "$lt_cv_apple_cc_single_mod" = "yes"; then
9671
_lt_dar_single_mod='$single_module'
9673
if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9674
_lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9676
_lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
9678
if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
9679
_lt_dsymutil='~$DSYMUTIL $lib || :'
9686
for ac_header in dlfcn.h
9688
ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9690
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
9691
cat >>confdefs.h <<_ACEOF
9692
#define HAVE_DLFCN_H 1
9713
# Check whether --enable-shared was given.
9714
if test "${enable_shared+set}" = set; then :
9715
enableval=$enable_shared; p=${PACKAGE-default}
9717
yes) enable_shared=yes ;;
9718
no) enable_shared=no ;;
9721
# Look at the argument we got. We use all the common list separators.
9722
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9723
for pkg in $enableval; do
9725
if test "X$pkg" = "X$p"; then
9746
# Check whether --with-pic was given.
9747
if test "${with_pic+set}" = set; then :
9748
withval=$with_pic; pic_mode="$withval"
9754
test -z "$pic_mode" && pic_mode=default
9762
# Check whether --enable-fast-install was given.
9763
if test "${enable_fast_install+set}" = set; then :
9764
enableval=$enable_fast_install; p=${PACKAGE-default}
9766
yes) enable_fast_install=yes ;;
9767
no) enable_fast_install=no ;;
9769
enable_fast_install=no
9770
# Look at the argument we got. We use all the common list separators.
9771
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9772
for pkg in $enableval; do
9774
if test "X$pkg" = "X$p"; then
9775
enable_fast_install=yes
9782
enable_fast_install=yes
9795
# This can be used to rebuild libtool when needed
9796
LIBTOOL_DEPS="$ltmain"
9798
# Always use our own libtool.
9799
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9826
test -z "$LN_S" && LN_S="ln -s"
9841
if test -n "${ZSH_VERSION+set}" ; then
9842
setopt NO_GLOB_SUBST
9845
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9846
$as_echo_n "checking for objdir... " >&6; }
9847
if ${lt_cv_objdir+:} false; then :
9848
$as_echo_n "(cached) " >&6
9850
rm -f .libs 2>/dev/null
9851
mkdir .libs 2>/dev/null
9852
if test -d .libs; then
9855
# MS-DOS does not allow filenames that begin with a dot.
9858
rmdir .libs 2>/dev/null
9860
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9861
$as_echo "$lt_cv_objdir" >&6; }
9862
objdir=$lt_cv_objdir
9868
cat >>confdefs.h <<_ACEOF
9869
#define LT_OBJDIR "$lt_cv_objdir/"
9877
# AIX sometimes has problems with the GCC collect2 program. For some
9878
# reason, if we set the COLLECT_NAMES environment variable, the problems
9879
# vanish in a puff of smoke.
9880
if test "X${COLLECT_NAMES+set}" != Xset; then
9882
export COLLECT_NAMES
9889
can_build_shared=yes
9891
# All known linkers require a `.a' archive for static linking (except MSVC,
9892
# which needs '.lib').
9895
with_gnu_ld="$lt_cv_prog_gnu_ld"
9898
old_CFLAGS="$CFLAGS"
9900
# Set sane defaults for various variables
9901
test -z "$CC" && CC=cc
9902
test -z "$LTCC" && LTCC=$CC
9903
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9904
test -z "$LD" && LD=ld
9905
test -z "$ac_objext" && ac_objext=o
9907
for cc_temp in $compiler""; do
9909
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9910
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9915
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9918
# Only perform the check for file, if the check method requires it
9919
test -z "$MAGIC_CMD" && MAGIC_CMD=file
9920
case $deplibs_check_method in
9922
if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9923
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9924
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9925
if ${lt_cv_path_MAGIC_CMD+:} false; then :
9926
$as_echo_n "(cached) " >&6
9930
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9933
lt_save_MAGIC_CMD="$MAGIC_CMD"
9934
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9935
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9936
for ac_dir in $ac_dummy; do
9938
test -z "$ac_dir" && ac_dir=.
9939
if test -f $ac_dir/${ac_tool_prefix}file; then
9940
lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9941
if test -n "$file_magic_test_file"; then
9942
case $deplibs_check_method in
9944
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9945
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9946
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9947
$EGREP "$file_magic_regex" > /dev/null; then
9952
*** Warning: the command libtool uses to detect shared libraries,
9953
*** $file_magic_cmd, produces output that libtool cannot recognize.
9954
*** The result is that libtool may fail to recognize shared libraries
9955
*** as such. This will affect the creation of libtool libraries that
9956
*** depend on shared libraries, but programs linked with such libtool
9957
*** libraries will work regardless of this problem. Nevertheless, you
9958
*** may want to report the problem to your system manager and/or to
9959
*** bug-libtool@gnu.org
9969
MAGIC_CMD="$lt_save_MAGIC_CMD"
9974
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9975
if test -n "$MAGIC_CMD"; then
9976
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9977
$as_echo "$MAGIC_CMD" >&6; }
9979
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9980
$as_echo "no" >&6; }
9987
if test -z "$lt_cv_path_MAGIC_CMD"; then
9988
if test -n "$ac_tool_prefix"; then
9989
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9990
$as_echo_n "checking for file... " >&6; }
9991
if ${lt_cv_path_MAGIC_CMD+:} false; then :
9992
$as_echo_n "(cached) " >&6
9996
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9999
lt_save_MAGIC_CMD="$MAGIC_CMD"
10000
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10001
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10002
for ac_dir in $ac_dummy; do
10004
test -z "$ac_dir" && ac_dir=.
10005
if test -f $ac_dir/file; then
10006
lt_cv_path_MAGIC_CMD="$ac_dir/file"
10007
if test -n "$file_magic_test_file"; then
10008
case $deplibs_check_method in
10010
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10011
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10012
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10013
$EGREP "$file_magic_regex" > /dev/null; then
10018
*** Warning: the command libtool uses to detect shared libraries,
10019
*** $file_magic_cmd, produces output that libtool cannot recognize.
10020
*** The result is that libtool may fail to recognize shared libraries
10021
*** as such. This will affect the creation of libtool libraries that
10022
*** depend on shared libraries, but programs linked with such libtool
10023
*** libraries will work regardless of this problem. Nevertheless, you
10024
*** may want to report the problem to your system manager and/or to
10025
*** bug-libtool@gnu.org
10035
MAGIC_CMD="$lt_save_MAGIC_CMD"
10040
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10041
if test -n "$MAGIC_CMD"; then
10042
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10043
$as_echo "$MAGIC_CMD" >&6; }
10045
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10046
$as_echo "no" >&6; }
10059
# Use C for the default configuration in the libtool script
10063
ac_cpp='$CPP $CPPFLAGS'
10064
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10065
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10066
ac_compiler_gnu=$ac_cv_c_compiler_gnu
10069
# Source file extension for C test sources.
10072
# Object file extension for compiled C test sources.
10076
# Code to be used in simple compile tests
10077
lt_simple_compile_test_code="int some_variable = 0;"
10079
# Code to be used in simple link tests
10080
lt_simple_link_test_code='int main(){return(0);}'
10088
# If no C compiler was specified, use CC.
10091
# If no C compiler flags were specified, use CFLAGS.
10092
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10094
# Allow CC to be a program name with arguments.
10097
# Save the default compiler, since it gets overwritten when the other
10098
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
10099
compiler_DEFAULT=$CC
10101
# save warnings/boilerplate of simple test code
10102
ac_outfile=conftest.$ac_objext
10103
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10104
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10105
_lt_compiler_boilerplate=`cat conftest.err`
10108
ac_outfile=conftest.$ac_objext
10109
echo "$lt_simple_link_test_code" >conftest.$ac_ext
10110
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10111
_lt_linker_boilerplate=`cat conftest.err`
10116
## There is no encapsulation within the following macros, do not change
10117
## the running order or otherwise move them around unless you know exactly
10118
## what you are doing...
10119
if test -n "$compiler"; then
10121
lt_prog_compiler_no_builtin_flag=
10123
if test "$GCC" = yes; then
10124
case $cc_basename in
10126
lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
10128
lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
10131
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
10132
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
10133
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
10134
$as_echo_n "(cached) " >&6
10136
lt_cv_prog_compiler_rtti_exceptions=no
10137
ac_outfile=conftest.$ac_objext
10138
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10139
lt_compiler_flag="-fno-rtti -fno-exceptions"
10140
# Insert the option either (1) after the last *FLAGS variable, or
10141
# (2) before a word containing "conftest.", or (3) at the end.
10142
# Note that $ac_compile itself does not contain backslashes and begins
10143
# with a dollar sign (not a hyphen), so the echo should work correctly.
10144
# The option is referenced via a variable to avoid confusing sed.
10145
lt_compile=`echo "$ac_compile" | $SED \
10146
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10147
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10148
-e 's:$: $lt_compiler_flag:'`
10149
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10150
(eval "$lt_compile" 2>conftest.err)
10152
cat conftest.err >&5
10153
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10154
if (exit $ac_status) && test -s "$ac_outfile"; then
10155
# The compiler can only warn and ignore the option if not recognized
10156
# So say no if there are warnings other than the usual output.
10157
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10158
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10159
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10160
lt_cv_prog_compiler_rtti_exceptions=yes
10166
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
10167
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
10169
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
10170
lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
10182
lt_prog_compiler_wl=
10183
lt_prog_compiler_pic=
10184
lt_prog_compiler_static=
10187
if test "$GCC" = yes; then
10188
lt_prog_compiler_wl='-Wl,'
10189
lt_prog_compiler_static='-static'
10193
# All AIX code is PIC.
10194
if test "$host_cpu" = ia64; then
10195
# AIX 5 now supports IA64 processor
10196
lt_prog_compiler_static='-Bstatic'
10203
# see comment about AmigaOS4 .so support
10204
lt_prog_compiler_pic='-fPIC'
10207
# FIXME: we need at least 68020 code to build shared libraries, but
10208
# adding the `-m68020' flag to GCC prevents building anything better,
10210
lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
10215
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10216
# PIC is the default for these OSes.
10219
mingw* | cygwin* | pw32* | os2* | cegcc*)
10220
# This hack is so that the source file can tell whether it is being
10221
# built for inclusion in a dll (and should export symbols for example).
10222
# Although the cygwin gcc ignores -fPIC, still need this for old-style
10223
# (--disable-auto-import) libraries
10224
lt_prog_compiler_pic='-DDLL_EXPORT'
10227
darwin* | rhapsody*)
10228
# PIC is the default on this platform
10229
# Common symbols not allowed in MH_DYLIB files
10230
lt_prog_compiler_pic='-fno-common'
10234
# PIC is the default for Haiku.
10235
# The "-static" flag exists, but is broken.
10236
lt_prog_compiler_static=
10240
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit
10241
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
10242
# sets the default TLS model and affects inlining.
10248
lt_prog_compiler_pic='-fPIC'
10254
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
10255
# Instead, we relocate shared libraries at runtime.
10259
# Just because we use GCC doesn't mean we suddenly get shared libraries
10260
# on systems that don't support them.
10261
lt_prog_compiler_can_build_shared=no
10266
# QNX uses GNU C++, but need to define -shared option too, otherwise
10267
# it will coredump.
10268
lt_prog_compiler_pic='-fPIC -shared'
10272
if test -d /usr/nec; then
10273
lt_prog_compiler_pic=-Kconform_pic
10278
lt_prog_compiler_pic='-fPIC'
10282
case $cc_basename in
10283
nvcc*) # Cuda Compiler Driver 2.2
10284
lt_prog_compiler_wl='-Xlinker '
10285
lt_prog_compiler_pic='-Xcompiler -fPIC'
10289
# PORTME Check for flag to pass linker flags through the system compiler.
10292
lt_prog_compiler_wl='-Wl,'
10293
if test "$host_cpu" = ia64; then
10294
# AIX 5 now supports IA64 processor
10295
lt_prog_compiler_static='-Bstatic'
10297
lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
10301
mingw* | cygwin* | pw32* | os2* | cegcc*)
10302
# This hack is so that the source file can tell whether it is being
10303
# built for inclusion in a dll (and should export symbols for example).
10304
lt_prog_compiler_pic='-DDLL_EXPORT'
10307
hpux9* | hpux10* | hpux11*)
10308
lt_prog_compiler_wl='-Wl,'
10309
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10310
# not for PA HP-UX.
10316
lt_prog_compiler_pic='+Z'
10319
# Is there a better lt_prog_compiler_static that works with the bundled CC?
10320
lt_prog_compiler_static='${wl}-a ${wl}archive'
10323
irix5* | irix6* | nonstopux*)
10324
lt_prog_compiler_wl='-Wl,'
10325
# PIC (with -KPIC) is the default.
10326
lt_prog_compiler_static='-non_shared'
10329
linux* | k*bsd*-gnu | kopensolaris*-gnu)
10330
case $cc_basename in
10331
# old Intel for x86_64 which still supported -KPIC.
10333
lt_prog_compiler_wl='-Wl,'
10334
lt_prog_compiler_pic='-KPIC'
10335
lt_prog_compiler_static='-static'
10337
# icc used to be incompatible with GCC.
10338
# ICC 10 doesn't accept -KPIC any more.
10340
lt_prog_compiler_wl='-Wl,'
10341
lt_prog_compiler_pic='-fPIC'
10342
lt_prog_compiler_static='-static'
10344
# Lahey Fortran 8.1.
10346
lt_prog_compiler_wl='-Wl,'
10347
lt_prog_compiler_pic='--shared'
10348
lt_prog_compiler_static='--static'
10351
# NAG Fortran compiler
10352
lt_prog_compiler_wl='-Wl,-Wl,,'
10353
lt_prog_compiler_pic='-PIC'
10354
lt_prog_compiler_static='-Bstatic'
10356
pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
10357
# Portland Group compilers (*not* the Pentium gcc compiler,
10358
# which looks to be a dead project)
10359
lt_prog_compiler_wl='-Wl,'
10360
lt_prog_compiler_pic='-fpic'
10361
lt_prog_compiler_static='-Bstatic'
10364
lt_prog_compiler_wl='-Wl,'
10365
# All Alpha code is PIC.
10366
lt_prog_compiler_static='-non_shared'
10368
xl* | bgxl* | bgf* | mpixl*)
10369
# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
10370
lt_prog_compiler_wl='-Wl,'
10371
lt_prog_compiler_pic='-qpic'
10372
lt_prog_compiler_static='-qstaticlink'
10375
case `$CC -V 2>&1 | sed 5q` in
10376
*Sun\ F* | *Sun*Fortran*)
10377
# Sun Fortran 8.3 passes all unrecognized flags to the linker
10378
lt_prog_compiler_pic='-KPIC'
10379
lt_prog_compiler_static='-Bstatic'
10380
lt_prog_compiler_wl=''
10384
lt_prog_compiler_pic='-KPIC'
10385
lt_prog_compiler_static='-Bstatic'
10386
lt_prog_compiler_wl='-Wl,'
10394
lt_prog_compiler_pic='-KPIC'
10395
lt_prog_compiler_static='-Bstatic'
10399
# QNX uses GNU C++, but need to define -shared option too, otherwise
10400
# it will coredump.
10401
lt_prog_compiler_pic='-fPIC -shared'
10404
osf3* | osf4* | osf5*)
10405
lt_prog_compiler_wl='-Wl,'
10406
# All OSF/1 code is PIC.
10407
lt_prog_compiler_static='-non_shared'
10411
lt_prog_compiler_static='-non_shared'
10415
lt_prog_compiler_pic='-KPIC'
10416
lt_prog_compiler_static='-Bstatic'
10417
case $cc_basename in
10418
f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
10419
lt_prog_compiler_wl='-Qoption ld ';;
10421
lt_prog_compiler_wl='-Wl,';;
10426
lt_prog_compiler_wl='-Qoption ld '
10427
lt_prog_compiler_pic='-PIC'
10428
lt_prog_compiler_static='-Bstatic'
10431
sysv4 | sysv4.2uw2* | sysv4.3*)
10432
lt_prog_compiler_wl='-Wl,'
10433
lt_prog_compiler_pic='-KPIC'
10434
lt_prog_compiler_static='-Bstatic'
10438
if test -d /usr/nec ;then
10439
lt_prog_compiler_pic='-Kconform_pic'
10440
lt_prog_compiler_static='-Bstatic'
10444
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
10445
lt_prog_compiler_wl='-Wl,'
10446
lt_prog_compiler_pic='-KPIC'
10447
lt_prog_compiler_static='-Bstatic'
10451
lt_prog_compiler_wl='-Wl,'
10452
lt_prog_compiler_can_build_shared=no
10456
lt_prog_compiler_pic='-pic'
10457
lt_prog_compiler_static='-Bstatic'
10461
lt_prog_compiler_can_build_shared=no
10467
# For platforms which do not support PIC, -DPIC is meaningless:
10469
lt_prog_compiler_pic=
10472
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10476
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
10477
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
10478
if ${lt_cv_prog_compiler_pic+:} false; then :
10479
$as_echo_n "(cached) " >&6
10481
lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
10483
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
10484
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
10485
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
10488
# Check to make sure the PIC flag actually works.
10490
if test -n "$lt_prog_compiler_pic"; then
10491
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10492
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10493
if ${lt_cv_prog_compiler_pic_works+:} false; then :
10494
$as_echo_n "(cached) " >&6
10496
lt_cv_prog_compiler_pic_works=no
10497
ac_outfile=conftest.$ac_objext
10498
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10499
lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
10500
# Insert the option either (1) after the last *FLAGS variable, or
10501
# (2) before a word containing "conftest.", or (3) at the end.
10502
# Note that $ac_compile itself does not contain backslashes and begins
10503
# with a dollar sign (not a hyphen), so the echo should work correctly.
10504
# The option is referenced via a variable to avoid confusing sed.
10505
lt_compile=`echo "$ac_compile" | $SED \
10506
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10507
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10508
-e 's:$: $lt_compiler_flag:'`
10509
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10510
(eval "$lt_compile" 2>conftest.err)
10512
cat conftest.err >&5
10513
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10514
if (exit $ac_status) && test -s "$ac_outfile"; then
10515
# The compiler can only warn and ignore the option if not recognized
10516
# So say no if there are warnings other than the usual output.
10517
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10518
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10519
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10520
lt_cv_prog_compiler_pic_works=yes
10526
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10527
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10529
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
10530
case $lt_prog_compiler_pic in
10532
*) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10535
lt_prog_compiler_pic=
10536
lt_prog_compiler_can_build_shared=no
10552
# Check to make sure the static flag actually works.
10554
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10555
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10556
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10557
if ${lt_cv_prog_compiler_static_works+:} false; then :
10558
$as_echo_n "(cached) " >&6
10560
lt_cv_prog_compiler_static_works=no
10561
save_LDFLAGS="$LDFLAGS"
10562
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10563
echo "$lt_simple_link_test_code" > conftest.$ac_ext
10564
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10565
# The linker can only warn and ignore the option if not recognized
10566
# So say no if there are warnings
10567
if test -s conftest.err; then
10568
# Append any errors to the config.log.
10569
cat conftest.err 1>&5
10570
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10571
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10572
if diff conftest.exp conftest.er2 >/dev/null; then
10573
lt_cv_prog_compiler_static_works=yes
10576
lt_cv_prog_compiler_static_works=yes
10580
LDFLAGS="$save_LDFLAGS"
10583
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10584
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10586
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
10589
lt_prog_compiler_static=
10598
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10599
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10600
if ${lt_cv_prog_compiler_c_o+:} false; then :
10601
$as_echo_n "(cached) " >&6
10603
lt_cv_prog_compiler_c_o=no
10604
$RM -r conftest 2>/dev/null
10608
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10610
lt_compiler_flag="-o out/conftest2.$ac_objext"
10611
# Insert the option either (1) after the last *FLAGS variable, or
10612
# (2) before a word containing "conftest.", or (3) at the end.
10613
# Note that $ac_compile itself does not contain backslashes and begins
10614
# with a dollar sign (not a hyphen), so the echo should work correctly.
10615
lt_compile=`echo "$ac_compile" | $SED \
10616
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10617
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10618
-e 's:$: $lt_compiler_flag:'`
10619
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10620
(eval "$lt_compile" 2>out/conftest.err)
10622
cat out/conftest.err >&5
10623
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10624
if (exit $ac_status) && test -s out/conftest2.$ac_objext
10626
# The compiler can only warn and ignore the option if not recognized
10627
# So say no if there are warnings
10628
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10629
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10630
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10631
lt_cv_prog_compiler_c_o=yes
10636
# SGI C++ compiler will create directory out/ii_files/ for
10637
# template instantiation
10638
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10639
$RM out/* && rmdir out
10645
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10646
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10653
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10654
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10655
if ${lt_cv_prog_compiler_c_o+:} false; then :
10656
$as_echo_n "(cached) " >&6
10658
lt_cv_prog_compiler_c_o=no
10659
$RM -r conftest 2>/dev/null
10663
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10665
lt_compiler_flag="-o out/conftest2.$ac_objext"
10666
# Insert the option either (1) after the last *FLAGS variable, or
10667
# (2) before a word containing "conftest.", or (3) at the end.
10668
# Note that $ac_compile itself does not contain backslashes and begins
10669
# with a dollar sign (not a hyphen), so the echo should work correctly.
10670
lt_compile=`echo "$ac_compile" | $SED \
10671
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10672
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10673
-e 's:$: $lt_compiler_flag:'`
10674
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10675
(eval "$lt_compile" 2>out/conftest.err)
10677
cat out/conftest.err >&5
10678
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10679
if (exit $ac_status) && test -s out/conftest2.$ac_objext
10681
# The compiler can only warn and ignore the option if not recognized
10682
# So say no if there are warnings
10683
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10684
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10685
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10686
lt_cv_prog_compiler_c_o=yes
10691
# SGI C++ compiler will create directory out/ii_files/ for
10692
# template instantiation
10693
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10694
$RM out/* && rmdir out
10700
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10701
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10706
hard_links="nottested"
10707
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
10708
# do not overwrite the value of need_locks provided by the user
10709
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10710
$as_echo_n "checking if we can lock with hard links... " >&6; }
10713
ln conftest.a conftest.b 2>/dev/null && hard_links=no
10715
ln conftest.a conftest.b 2>&5 || hard_links=no
10716
ln conftest.a conftest.b 2>/dev/null && hard_links=no
10717
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10718
$as_echo "$hard_links" >&6; }
10719
if test "$hard_links" = no; then
10720
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10721
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10733
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10734
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10737
allow_undefined_flag=
10738
always_export_symbols=no
10740
archive_expsym_cmds=
10741
compiler_needs_object=no
10742
enable_shared_with_static_runtimes=no
10743
export_dynamic_flag_spec=
10744
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10745
hardcode_automatic=no
10747
hardcode_direct_absolute=no
10748
hardcode_libdir_flag_spec=
10749
hardcode_libdir_flag_spec_ld=
10750
hardcode_libdir_separator=
10751
hardcode_minus_L=no
10752
hardcode_shlibpath_var=unsupported
10754
link_all_deplibs=unknown
10756
module_expsym_cmds=
10757
old_archive_from_new_cmds=
10758
old_archive_from_expsyms_cmds=
10759
thread_safe_flag_spec=
10760
whole_archive_flag_spec=
10761
# include_expsyms should be a list of space-separated symbols to be *always*
10762
# included in the symbol list
10764
# exclude_expsyms can be an extended regexp of symbols to exclude
10765
# it will be wrapped by ` (' and `)$', so one must not match beginning or
10766
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10767
# as well as any symbol that contains `d'.
10768
exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10769
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10770
# platforms (ab)use it in PIC code, but their linkers get confused if
10771
# the symbol is explicitly referenced. Since portable code cannot
10772
# rely on this symbol name, it's probably fine to never include it in
10773
# preloaded symbol tables.
10774
# Exclude shared library initialization/finalization symbols.
10775
extract_expsyms_cmds=
10778
cygwin* | mingw* | pw32* | cegcc*)
10779
# FIXME: the MSVC++ port hasn't been tested in a loooong time
10780
# When not using gcc, we currently assume that we are using
10781
# Microsoft Visual C++.
10782
if test "$GCC" != yes; then
10787
# we just hope/assume this is gcc and not c89 (= MSVC++)
10797
# On some targets, GNU ld is compatible enough with the native linker
10798
# that we're better off using the native interface for both.
10799
lt_use_gnu_ld_interface=no
10800
if test "$with_gnu_ld" = yes; then
10803
# The AIX port of GNU ld has always aspired to compatibility
10804
# with the native linker. However, as the warning in the GNU ld
10805
# block says, versions before 2.19.5* couldn't really create working
10806
# shared libraries, regardless of the interface used.
10807
case `$LD -v 2>&1` in
10808
*\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10809
*\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10810
*\ \(GNU\ Binutils\)\ [3-9]*) ;;
10812
lt_use_gnu_ld_interface=yes
10817
lt_use_gnu_ld_interface=yes
10822
if test "$lt_use_gnu_ld_interface" = yes; then
10823
# If archive_cmds runs LD, not CC, wlarc should be empty
10826
# Set some defaults for GNU ld with shared library support. These
10827
# are reset later if shared libraries are not supported. Putting them
10828
# here allows them to be overridden if necessary.
10829
runpath_var=LD_RUN_PATH
10830
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10831
export_dynamic_flag_spec='${wl}--export-dynamic'
10832
# ancient GNU ld didn't support --whole-archive et. al.
10833
if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10834
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10836
whole_archive_flag_spec=
10838
supports_anon_versioning=no
10839
case `$LD -v 2>&1` in
10840
*GNU\ gold*) supports_anon_versioning=yes ;;
10841
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10842
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10843
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10844
*\ 2.11.*) ;; # other 2.11 versions
10845
*) supports_anon_versioning=yes ;;
10848
# See if GNU ld supports shared libraries.
10851
# On AIX/PPC, the GNU linker is very broken
10852
if test "$host_cpu" != ia64; then
10856
*** Warning: the GNU linker, at least up to release 2.19, is reported
10857
*** to be unable to reliably create shared libraries on AIX.
10858
*** Therefore, libtool is disabling shared libraries support. If you
10859
*** really care for shared libraries, you may want to install binutils
10860
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10861
*** You will then need to restart the configuration process.
10870
# see comment about AmigaOS4 .so support
10871
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10872
archive_expsym_cmds=''
10875
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)'
10876
hardcode_libdir_flag_spec='-L$libdir'
10877
hardcode_minus_L=yes
10883
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10884
allow_undefined_flag=unsupported
10885
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10886
# support --undefined. This deserves some investigation. FIXME
10887
archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10893
cygwin* | mingw* | pw32* | cegcc*)
10894
# _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10895
# as there is no search path for DLLs.
10896
hardcode_libdir_flag_spec='-L$libdir'
10897
export_dynamic_flag_spec='${wl}--export-all-symbols'
10898
allow_undefined_flag=unsupported
10899
always_export_symbols=no
10900
enable_shared_with_static_runtimes=yes
10901
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'
10902
exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10904
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10905
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10906
# If the export-symbols file already is a .def file (1st line
10907
# is EXPORTS), use it as is; otherwise, prepend...
10908
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10909
cp $export_symbols $output_objdir/$soname.def;
10911
echo EXPORTS > $output_objdir/$soname.def;
10912
cat $export_symbols >> $output_objdir/$soname.def;
10914
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10921
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10922
link_all_deplibs=yes
10927
hardcode_shlibpath_var=no
10928
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10929
export_dynamic_flag_spec='${wl}-E'
10930
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10931
# Instead, shared libraries are loaded at an image base (0x10000000 by
10932
# default) and relocated if they conflict, which is a slow very memory
10933
# consuming and fragmenting process. To avoid this, we pick a random,
10934
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10935
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
10936
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10937
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'
10940
gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10942
if test "$host_os" = linux-dietlibc; then
10943
case $cc_basename in
10944
diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
10947
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10948
&& test "$tmp_diet" = no
10950
tmp_addflag=' $pic_flag'
10951
tmp_sharedflag='-shared'
10952
case $cc_basename,$host_cpu in
10953
pgcc*) # Portland Group C compiler
10954
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'
10955
tmp_addflag=' $pic_flag'
10957
pgf77* | pgf90* | pgf95* | pgfortran*)
10958
# Portland Group f77 and f90 compilers
10959
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'
10960
tmp_addflag=' $pic_flag -Mnomain' ;;
10961
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
10962
tmp_addflag=' -i_dynamic' ;;
10963
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
10964
tmp_addflag=' -i_dynamic -nofor_main' ;;
10965
ifc* | ifort*) # Intel Fortran compiler
10966
tmp_addflag=' -nofor_main' ;;
10967
lf95*) # Lahey Fortran 8.1
10968
whole_archive_flag_spec=
10969
tmp_sharedflag='--shared' ;;
10970
xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10971
tmp_sharedflag='-qmkshrobj'
10973
nvcc*) # Cuda Compiler Driver 2.2
10974
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'
10975
compiler_needs_object=yes
10978
case `$CC -V 2>&1 | sed 5q` in
10979
*Sun\ C*) # Sun C 5.9
10980
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'
10981
compiler_needs_object=yes
10982
tmp_sharedflag='-G' ;;
10983
*Sun\ F*) # Sun Fortran 8.3
10984
tmp_sharedflag='-G' ;;
10986
archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10988
if test "x$supports_anon_versioning" = xyes; then
10989
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10990
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10991
echo "local: *; };" >> $output_objdir/$libname.ver~
10992
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10995
case $cc_basename in
10996
xlf* | bgf* | bgxlf* | mpixlf*)
10997
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10998
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10999
hardcode_libdir_flag_spec=
11000
hardcode_libdir_flag_spec_ld='-rpath $libdir'
11001
archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
11002
if test "x$supports_anon_versioning" = xyes; then
11003
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
11004
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11005
echo "local: *; };" >> $output_objdir/$libname.ver~
11006
$LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
11016
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11017
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11020
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11021
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11026
if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
11030
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
11031
*** create shared libraries on Solaris systems. Therefore, libtool
11032
*** is disabling shared libraries support. We urge you to upgrade GNU
11033
*** binutils to release 2.9.1 or newer. Another option is to modify
11034
*** your PATH or compiler configuration so that the native linker is
11035
*** used, and then restart.
11038
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11039
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11040
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11046
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
11047
case `$LD -v 2>&1` in
11048
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
11052
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
11053
*** reliably create shared libraries on SCO systems. Therefore, libtool
11054
*** is disabling shared libraries support. We urge you to upgrade GNU
11055
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
11056
*** your PATH or compiler configuration so that the native linker is
11057
*** used, and then restart.
11062
# For security reasons, it is highly recommended that you always
11063
# use absolute paths for naming shared libraries, and exclude the
11064
# DT_RUNPATH tag from executables and libraries. But doing so
11065
# requires that you compile everything twice, which is a pain.
11066
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11067
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11068
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11069
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11078
archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11080
hardcode_direct=yes
11081
hardcode_shlibpath_var=no
11085
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11086
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11087
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11094
if test "$ld_shlibs" = no; then
11096
hardcode_libdir_flag_spec=
11097
export_dynamic_flag_spec=
11098
whole_archive_flag_spec=
11101
# PORTME fill in a description of your system's linker (not GNU ld)
11104
allow_undefined_flag=unsupported
11105
always_export_symbols=yes
11106
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'
11107
# Note: this linker hardcodes the directories in LIBPATH if there
11108
# are no directories specified by -L.
11109
hardcode_minus_L=yes
11110
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
11111
# Neither direct hardcoding nor static linking is supported with a
11113
hardcode_direct=unsupported
11118
if test "$host_cpu" = ia64; then
11119
# On IA64, the linker does run time linking by default, so we don't
11120
# have to do anything special.
11121
aix_use_runtimelinking=no
11122
exp_sym_flag='-Bexport'
11125
# If we're using GNU nm, then we don't want the "-C" option.
11126
# -C means demangle to AIX nm, but means don't demangle with GNU nm
11127
# Also, AIX nm treats weak defined symbols like other global
11128
# defined symbols, whereas GNU nm marks them as "W".
11129
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
11130
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'
11132
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'
11134
aix_use_runtimelinking=no
11136
# Test if we are trying to use run time linking or normal
11137
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
11138
# need to do runtime linking.
11139
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11140
for ld_flag in $LDFLAGS; do
11141
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
11142
aix_use_runtimelinking=yes
11149
exp_sym_flag='-bexport'
11150
no_entry_flag='-bnoentry'
11153
# When large executables or shared objects are built, AIX ld can
11154
# have problems creating the table of contents. If linking a library
11155
# or program results in "error TOC overflow" add -mminimal-toc to
11156
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11157
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11160
hardcode_direct=yes
11161
hardcode_direct_absolute=yes
11162
hardcode_libdir_separator=':'
11163
link_all_deplibs=yes
11164
file_list_spec='${wl}-f,'
11166
if test "$GCC" = yes; then
11167
case $host_os in aix4.[012]|aix4.[012].*)
11168
# We only want to do this on AIX 4.2 and lower, the check
11169
# below for broken collect2 doesn't work under 4.3+
11170
collect2name=`${CC} -print-prog-name=collect2`
11171
if test -f "$collect2name" &&
11172
strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11174
# We have reworked collect2
11177
# We have old collect2
11178
hardcode_direct=unsupported
11179
# It fails to find uninstalled libraries when the uninstalled
11180
# path is not listed in the libpath. Setting hardcode_minus_L
11181
# to unsupported forces relinking
11182
hardcode_minus_L=yes
11183
hardcode_libdir_flag_spec='-L$libdir'
11184
hardcode_libdir_separator=
11188
shared_flag='-shared'
11189
if test "$aix_use_runtimelinking" = yes; then
11190
shared_flag="$shared_flag "'${wl}-G'
11194
if test "$host_cpu" = ia64; then
11195
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11196
# chokes on -Wl,-G. The following line is correct:
11199
if test "$aix_use_runtimelinking" = yes; then
11200
shared_flag='${wl}-G'
11202
shared_flag='${wl}-bM:SRE'
11207
export_dynamic_flag_spec='${wl}-bexpall'
11208
# It seems that -bexpall does not export symbols beginning with
11209
# underscore (_), so it is better to generate a list of symbols to export.
11210
always_export_symbols=yes
11211
if test "$aix_use_runtimelinking" = yes; then
11212
# Warning - without using the other runtime loading flags (-brtl),
11213
# -berok will link without error, but may produce a broken library.
11214
allow_undefined_flag='-berok'
11215
# Determine the default libpath from the value encoded in an
11216
# empty executable.
11217
if test "${lt_cv_aix_libpath+set}" = set; then
11218
aix_libpath=$lt_cv_aix_libpath
11220
if ${lt_cv_aix_libpath_+:} false; then :
11221
$as_echo_n "(cached) " >&6
11223
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11224
/* end confdefs.h. */
11234
if ac_fn_c_try_link "$LINENO"; then :
11236
lt_aix_libpath_sed='
11237
/Import File Strings/,/^$/ {
11239
s/^0 *\([^ ]*\) *$/\1/
11243
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11244
# Check for a 64-bit object if we didn't find anything.
11245
if test -z "$lt_cv_aix_libpath_"; then
11246
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11249
rm -f core conftest.err conftest.$ac_objext \
11250
conftest$ac_exeext conftest.$ac_ext
11251
if test -z "$lt_cv_aix_libpath_"; then
11252
lt_cv_aix_libpath_="/usr/lib:/lib"
11257
aix_libpath=$lt_cv_aix_libpath_
11260
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
11261
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"
11263
if test "$host_cpu" = ia64; then
11264
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
11265
allow_undefined_flag="-z nodefs"
11266
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"
11268
# Determine the default libpath from the value encoded in an
11269
# empty executable.
11270
if test "${lt_cv_aix_libpath+set}" = set; then
11271
aix_libpath=$lt_cv_aix_libpath
11273
if ${lt_cv_aix_libpath_+:} false; then :
11274
$as_echo_n "(cached) " >&6
11276
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11277
/* end confdefs.h. */
11287
if ac_fn_c_try_link "$LINENO"; then :
11289
lt_aix_libpath_sed='
11290
/Import File Strings/,/^$/ {
11292
s/^0 *\([^ ]*\) *$/\1/
11296
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11297
# Check for a 64-bit object if we didn't find anything.
11298
if test -z "$lt_cv_aix_libpath_"; then
11299
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11302
rm -f core conftest.err conftest.$ac_objext \
11303
conftest$ac_exeext conftest.$ac_ext
11304
if test -z "$lt_cv_aix_libpath_"; then
11305
lt_cv_aix_libpath_="/usr/lib:/lib"
11310
aix_libpath=$lt_cv_aix_libpath_
11313
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
11314
# Warning - without using the other run time loading flags,
11315
# -berok will link without error, but may produce a broken library.
11316
no_undefined_flag=' ${wl}-bernotok'
11317
allow_undefined_flag=' ${wl}-berok'
11318
if test "$with_gnu_ld" = yes; then
11319
# We only use this code for GNU lds that support --whole-archive.
11320
whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11322
# Exported symbols can be pulled into shared objects from archives
11323
whole_archive_flag_spec='$convenience'
11325
archive_cmds_need_lc=yes
11326
# This is similar to how AIX traditionally builds its shared libraries.
11327
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'
11335
# see comment about AmigaOS4 .so support
11336
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11337
archive_expsym_cmds=''
11340
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)'
11341
hardcode_libdir_flag_spec='-L$libdir'
11342
hardcode_minus_L=yes
11348
export_dynamic_flag_spec=-rdynamic
11351
cygwin* | mingw* | pw32* | cegcc*)
11352
# When not using gcc, we currently assume that we are using
11353
# Microsoft Visual C++.
11354
# hardcode_libdir_flag_spec is actually meaningless, as there is
11355
# no search path for DLLs.
11356
case $cc_basename in
11359
hardcode_libdir_flag_spec=' '
11360
allow_undefined_flag=unsupported
11361
always_export_symbols=yes
11363
# Tell ltmain to make .lib files, not .a files.
11365
# Tell ltmain to make .dll files, not .so files.
11367
# FIXME: Setting linknames here is a bad hack.
11368
archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
11369
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11370
sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
11372
sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
11374
$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
11376
# The linker will not automatically build a static lib if we build a DLL.
11377
# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
11378
enable_shared_with_static_runtimes=yes
11379
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11381
old_postinstall_cmds='chmod 644 $oldlib'
11382
postlink_cmds='lt_outputfile="@OUTPUT@"~
11383
lt_tool_outputfile="@TOOL_OUTPUT@"~
11384
case $lt_outputfile in
11387
lt_outputfile="$lt_outputfile.exe"
11388
lt_tool_outputfile="$lt_tool_outputfile.exe"
11391
if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
11392
$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
11393
$RM "$lt_outputfile.manifest";
11397
# Assume MSVC wrapper
11398
hardcode_libdir_flag_spec=' '
11399
allow_undefined_flag=unsupported
11400
# Tell ltmain to make .lib files, not .a files.
11402
# Tell ltmain to make .dll files, not .so files.
11404
# FIXME: Setting linknames here is a bad hack.
11405
archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
11406
# The linker will automatically build a .lib file if we build a DLL.
11407
old_archive_from_new_cmds='true'
11408
# FIXME: Should let the user specify the lib program.
11409
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
11410
enable_shared_with_static_runtimes=yes
11415
darwin* | rhapsody*)
11418
archive_cmds_need_lc=no
11420
hardcode_automatic=yes
11421
hardcode_shlibpath_var=unsupported
11422
if test "$lt_cv_ld_force_load" = "yes"; then
11423
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\"`'
11425
whole_archive_flag_spec=''
11427
link_all_deplibs=yes
11428
allow_undefined_flag="$_lt_dar_allow_undefined"
11429
case $cc_basename in
11430
ifort*) _lt_dar_can_shared=yes ;;
11431
*) _lt_dar_can_shared=$GCC ;;
11433
if test "$_lt_dar_can_shared" = "yes"; then
11434
output_verbose_link_cmd=func_echo_all
11435
archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
11436
module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11437
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}"
11438
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}"
11447
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11448
hardcode_libdir_flag_spec='-L$libdir'
11449
hardcode_shlibpath_var=no
11456
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11457
# support. Future versions do this automatically, but an explicit c++rt0.o
11458
# does not break anything, and helps significantly (at the cost of a little
11461
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11462
hardcode_libdir_flag_spec='-R$libdir'
11463
hardcode_direct=yes
11464
hardcode_shlibpath_var=no
11467
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
11469
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11470
hardcode_direct=yes
11471
hardcode_minus_L=yes
11472
hardcode_shlibpath_var=no
11475
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11476
freebsd* | dragonfly*)
11477
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11478
hardcode_libdir_flag_spec='-R$libdir'
11479
hardcode_direct=yes
11480
hardcode_shlibpath_var=no
11484
if test "$GCC" = yes; then
11485
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'
11487
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'
11489
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11490
hardcode_libdir_separator=:
11491
hardcode_direct=yes
11493
# hardcode_minus_L: Not really in the search PATH,
11494
# but as the default location of the library.
11495
hardcode_minus_L=yes
11496
export_dynamic_flag_spec='${wl}-E'
11500
if test "$GCC" = yes && test "$with_gnu_ld" = no; then
11501
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11503
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11505
if test "$with_gnu_ld" = no; then
11506
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11507
hardcode_libdir_flag_spec_ld='+b $libdir'
11508
hardcode_libdir_separator=:
11509
hardcode_direct=yes
11510
hardcode_direct_absolute=yes
11511
export_dynamic_flag_spec='${wl}-E'
11512
# hardcode_minus_L: Not really in the search PATH,
11513
# but as the default location of the library.
11514
hardcode_minus_L=yes
11519
if test "$GCC" = yes && test "$with_gnu_ld" = no; then
11522
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11525
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11528
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11534
archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11537
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11541
# Older versions of the 11.00 compiler do not understand -b yet
11542
# (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11543
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11544
$as_echo_n "checking if $CC understands -b... " >&6; }
11545
if ${lt_cv_prog_compiler__b+:} false; then :
11546
$as_echo_n "(cached) " >&6
11548
lt_cv_prog_compiler__b=no
11549
save_LDFLAGS="$LDFLAGS"
11550
LDFLAGS="$LDFLAGS -b"
11551
echo "$lt_simple_link_test_code" > conftest.$ac_ext
11552
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11553
# The linker can only warn and ignore the option if not recognized
11554
# So say no if there are warnings
11555
if test -s conftest.err; then
11556
# Append any errors to the config.log.
11557
cat conftest.err 1>&5
11558
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11559
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11560
if diff conftest.exp conftest.er2 >/dev/null; then
11561
lt_cv_prog_compiler__b=yes
11564
lt_cv_prog_compiler__b=yes
11568
LDFLAGS="$save_LDFLAGS"
11571
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11572
$as_echo "$lt_cv_prog_compiler__b" >&6; }
11574
if test x"$lt_cv_prog_compiler__b" = xyes; then
11575
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11577
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11583
if test "$with_gnu_ld" = no; then
11584
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11585
hardcode_libdir_separator=:
11590
hardcode_shlibpath_var=no
11593
hardcode_direct=yes
11594
hardcode_direct_absolute=yes
11595
export_dynamic_flag_spec='${wl}-E'
11597
# hardcode_minus_L: Not really in the search PATH,
11598
# but as the default location of the library.
11599
hardcode_minus_L=yes
11605
irix5* | irix6* | nonstopux*)
11606
if test "$GCC" = yes; then
11607
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'
11608
# Try to use the -exported_symbol ld option, if it does not
11609
# work, assume that -exports_file does not work either and
11610
# implicitly export all symbols.
11611
# This should be the same for all languages, so no per-tag cache variable.
11612
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11613
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11614
if ${lt_cv_irix_exported_symbol+:} false; then :
11615
$as_echo_n "(cached) " >&6
11617
save_LDFLAGS="$LDFLAGS"
11618
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11619
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11620
/* end confdefs.h. */
11621
int foo (void) { return 0; }
11623
if ac_fn_c_try_link "$LINENO"; then :
11624
lt_cv_irix_exported_symbol=yes
11626
lt_cv_irix_exported_symbol=no
11628
rm -f core conftest.err conftest.$ac_objext \
11629
conftest$ac_exeext conftest.$ac_ext
11630
LDFLAGS="$save_LDFLAGS"
11632
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11633
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
11634
if test "$lt_cv_irix_exported_symbol" = yes; then
11635
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'
11638
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'
11639
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'
11641
archive_cmds_need_lc='no'
11642
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11643
hardcode_libdir_separator=:
11645
link_all_deplibs=yes
11649
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11650
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11652
archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11654
hardcode_libdir_flag_spec='-R$libdir'
11655
hardcode_direct=yes
11656
hardcode_shlibpath_var=no
11660
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11661
hardcode_direct=yes
11662
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11663
hardcode_libdir_separator=:
11664
hardcode_shlibpath_var=no
11671
if test -f /usr/libexec/ld.so; then
11672
hardcode_direct=yes
11673
hardcode_shlibpath_var=no
11674
hardcode_direct_absolute=yes
11675
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11676
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11677
archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11678
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11679
export_dynamic_flag_spec='${wl}-E'
11682
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
11683
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11684
hardcode_libdir_flag_spec='-R$libdir'
11687
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11688
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11698
hardcode_libdir_flag_spec='-L$libdir'
11699
hardcode_minus_L=yes
11700
allow_undefined_flag=unsupported
11701
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'
11702
old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11706
if test "$GCC" = yes; then
11707
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11708
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'
11710
allow_undefined_flag=' -expect_unresolved \*'
11711
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'
11713
archive_cmds_need_lc='no'
11714
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11715
hardcode_libdir_separator=:
11718
osf4* | osf5*) # as osf3* with the addition of -msym flag
11719
if test "$GCC" = yes; then
11720
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11721
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'
11722
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11724
allow_undefined_flag=' -expect_unresolved \*'
11725
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'
11726
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~
11727
$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'
11729
# Both c and cxx compiler support -rpath directly
11730
hardcode_libdir_flag_spec='-rpath $libdir'
11732
archive_cmds_need_lc='no'
11733
hardcode_libdir_separator=:
11737
no_undefined_flag=' -z defs'
11738
if test "$GCC" = yes; then
11740
archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11741
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11742
$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'
11744
case `$CC -V 2>&1` in
11747
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11748
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11749
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11753
archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11754
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11755
$CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11759
hardcode_libdir_flag_spec='-R$libdir'
11760
hardcode_shlibpath_var=no
11762
solaris2.[0-5] | solaris2.[0-5].*) ;;
11764
# The compiler driver will combine and reorder linker options,
11765
# but understands `-z linker_flag'. GCC discards it without `$wl',
11766
# but is careful enough not to reorder.
11767
# Supported since Solaris 2.6 (maybe 2.5.1?)
11768
if test "$GCC" = yes; then
11769
whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11771
whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11775
link_all_deplibs=yes
11779
if test "x$host_vendor" = xsequent; then
11780
# Use $CC to link under sequent, because it throws in some extra .o
11781
# files that make .init and .fini sections work.
11782
archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11784
archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11786
hardcode_libdir_flag_spec='-L$libdir'
11787
hardcode_direct=yes
11788
hardcode_minus_L=yes
11789
hardcode_shlibpath_var=no
11793
case $host_vendor in
11795
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11796
hardcode_direct=yes # is this really true???
11799
## LD is ld it makes a PLAMLIB
11800
## CC just makes a GrossModule.
11801
archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11802
reload_cmds='$CC -r -o $output$reload_objs'
11806
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11807
hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11810
runpath_var='LD_RUN_PATH'
11811
hardcode_shlibpath_var=no
11815
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11816
hardcode_shlibpath_var=no
11817
export_dynamic_flag_spec='-Bexport'
11821
if test -d /usr/nec; then
11822
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11823
hardcode_shlibpath_var=no
11824
runpath_var=LD_RUN_PATH
11825
hardcode_runpath_var=yes
11830
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11831
no_undefined_flag='${wl}-z,text'
11832
archive_cmds_need_lc=no
11833
hardcode_shlibpath_var=no
11834
runpath_var='LD_RUN_PATH'
11836
if test "$GCC" = yes; then
11837
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11838
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11840
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11841
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11845
sysv5* | sco3.2v5* | sco5v6*)
11846
# Note: We can NOT use -z defs as we might desire, because we do not
11847
# link with -lc, and that would cause any symbols used from libc to
11848
# always be unresolved, which means just about no library would
11849
# ever link correctly. If we're not using GNU ld we use -z text
11850
# though, which does catch some bad symbols but isn't as heavy-handed
11852
no_undefined_flag='${wl}-z,text'
11853
allow_undefined_flag='${wl}-z,nodefs'
11854
archive_cmds_need_lc=no
11855
hardcode_shlibpath_var=no
11856
hardcode_libdir_flag_spec='${wl}-R,$libdir'
11857
hardcode_libdir_separator=':'
11858
link_all_deplibs=yes
11859
export_dynamic_flag_spec='${wl}-Bexport'
11860
runpath_var='LD_RUN_PATH'
11862
if test "$GCC" = yes; then
11863
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11864
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11866
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11867
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11872
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11873
hardcode_libdir_flag_spec='-L$libdir'
11874
hardcode_shlibpath_var=no
11882
if test x$host_vendor = xsni; then
11884
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11885
export_dynamic_flag_spec='${wl}-Blargedynsym'
11891
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11892
$as_echo "$ld_shlibs" >&6; }
11893
test "$ld_shlibs" = no && can_build_shared=no
11895
with_gnu_ld=$with_gnu_ld
11912
# Do we need to explicitly link libc?
11914
case "x$archive_cmds_need_lc" in
11916
# Assume -lc should be added
11917
archive_cmds_need_lc=yes
11919
if test "$enable_shared" = yes && test "$GCC" = yes; then
11920
case $archive_cmds in
11922
# FIXME: we may have to deal with multi-command sequences.
11925
# Test whether the compiler implicitly links with -lc since on some
11926
# systems, -lgcc has to come before -lc. If gcc already passes -lc
11927
# to ld, don't add -lc before -lgcc.
11928
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11929
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11930
if ${lt_cv_archive_cmds_need_lc+:} false; then :
11931
$as_echo_n "(cached) " >&6
11934
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11936
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11937
(eval $ac_compile) 2>&5
11939
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11940
test $ac_status = 0; } 2>conftest.err; then
11943
libobjs=conftest.$ac_objext
11945
wl=$lt_prog_compiler_wl
11946
pic_flag=$lt_prog_compiler_pic
11952
lt_save_allow_undefined_flag=$allow_undefined_flag
11953
allow_undefined_flag=
11954
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11955
(eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11957
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11958
test $ac_status = 0; }
11960
lt_cv_archive_cmds_need_lc=no
11962
lt_cv_archive_cmds_need_lc=yes
11964
allow_undefined_flag=$lt_save_allow_undefined_flag
11966
cat conftest.err 1>&5
11971
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11972
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11973
archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
12136
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
12137
$as_echo_n "checking dynamic linker characteristics... " >&6; }
12139
if test "$GCC" = yes; then
12141
darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
12142
*) lt_awk_arg="/^libraries:/" ;;
12145
mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
12146
*) lt_sed_strip_eq="s,=/,/,g" ;;
12148
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
12149
case $lt_search_path_spec in
12151
# if the path contains ";" then we assume it to be the separator
12152
# otherwise default to the standard path separator (i.e. ":") - it is
12153
# assumed that no part of a normal pathname contains ";" but that should
12154
# okay in the real world where ";" in dirpaths is itself problematic.
12155
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
12158
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
12161
# Ok, now we have the path, separated by spaces, we can step through it
12162
# and add multilib dir if necessary.
12163
lt_tmp_lt_search_path_spec=
12164
lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
12165
for lt_sys_path in $lt_search_path_spec; do
12166
if test -d "$lt_sys_path/$lt_multi_os_dir"; then
12167
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
12169
test -d "$lt_sys_path" && \
12170
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
12173
lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
12174
BEGIN {RS=" "; FS="/|\n";} {
12177
for (lt_i = NF; lt_i > 0; lt_i--) {
12178
if ($lt_i != "" && $lt_i != ".") {
12179
if ($lt_i == "..") {
12182
if (lt_count == 0) {
12183
lt_foo="/" $lt_i lt_foo;
12190
if (lt_foo != "") { lt_freq[lt_foo]++; }
12191
if (lt_freq[lt_foo] == 1) { print lt_foo; }
12193
# AWK program above erroneously prepends '/' to C:/dos/paths
12196
mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
12197
$SED 's,/\([A-Za-z]:\),\1,g'` ;;
12199
sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
12201
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12203
library_names_spec=
12204
libname_spec='lib$name'
12208
postuninstall_cmds=
12212
shlibpath_overrides_runpath=unknown
12214
dynamic_linker="$host_os ld.so"
12215
sys_lib_dlsearch_path_spec="/lib /usr/lib"
12216
need_lib_prefix=unknown
12217
hardcode_into_libs=no
12219
# when you set need_version to no, make sure it does not cause -set_version
12220
# flags to be left without arguments
12221
need_version=unknown
12226
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
12227
shlibpath_var=LIBPATH
12229
# AIX 3 has no versioning support, so we append a major version to the name.
12230
soname_spec='${libname}${release}${shared_ext}$major'
12237
hardcode_into_libs=yes
12238
if test "$host_cpu" = ia64; then
12239
# AIX 5 supports IA64
12240
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12241
shlibpath_var=LD_LIBRARY_PATH
12243
# With GCC up to 2.95.x, collect2 would create an import file
12244
# for dependence libraries. The import file would start with
12245
# the line `#! .'. This would cause the generated library to
12246
# depend on `.', always an invalid library. This was fixed in
12247
# development snapshots of GCC prior to 3.0.
12249
aix4 | aix4.[01] | aix4.[01].*)
12250
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12252
echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
12255
can_build_shared=no
12259
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12260
# soname into executable. Probably we can add versioning support to
12261
# collect2, so additional links can be useful in future.
12262
if test "$aix_use_runtimelinking" = yes; then
12263
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
12264
# instead of lib<name>.a to let people know that these are not
12265
# typical AIX shared libraries.
12266
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12268
# We preserve .a as extension for shared libraries through AIX4.2
12269
# and later when we are not doing run time linking.
12270
library_names_spec='${libname}${release}.a $libname.a'
12271
soname_spec='${libname}${release}${shared_ext}$major'
12273
shlibpath_var=LIBPATH
12280
# Since July 2007 AmigaOS4 officially supports .so libraries.
12281
# When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12282
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12285
library_names_spec='$libname.ixlibrary $libname.a'
12286
# Create ${libname}_ixlibrary.a entries in /sys/libs.
12287
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'
12293
library_names_spec='${libname}${shared_ext}'
12294
dynamic_linker="$host_os ld.so"
12295
shlibpath_var=LIBRARY_PATH
12301
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12302
soname_spec='${libname}${release}${shared_ext}$major'
12303
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
12304
shlibpath_var=LD_LIBRARY_PATH
12305
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12306
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
12307
# the default ld.so.conf also contains /usr/contrib/lib and
12308
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12309
# libtool to hard-code these into programs
12312
cygwin* | mingw* | pw32* | cegcc*)
12313
version_type=windows
12318
case $GCC,$cc_basename in
12321
library_names_spec='$libname.dll.a'
12322
# DLL is installed to $(libdir)/../bin by postinstall_cmds
12323
postinstall_cmds='base_file=`basename \${file}`~
12324
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
12325
dldir=$destdir/`dirname \$dlpath`~
12326
test -d \$dldir || mkdir -p \$dldir~
12327
$install_prog $dir/$dlname \$dldir/$dlname~
12328
chmod a+x \$dldir/$dlname~
12329
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12330
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12332
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12333
dlpath=$dir/\$dldll~
12335
shlibpath_overrides_runpath=yes
12339
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
12340
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12342
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
12345
# MinGW DLLs use traditional 'lib' prefix
12346
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12349
# pw32 DLLs use 'pw' prefix rather than 'lib'
12350
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12353
dynamic_linker='Win32 ld.exe'
12358
libname_spec='$name'
12359
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12360
library_names_spec='${libname}.dll.lib'
12364
sys_lib_search_path_spec=
12367
for lt_path in $LIB
12370
# Let DOS variable expansion print the short 8.3 style file name.
12371
lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
12372
sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
12375
# Convert to MSYS style.
12376
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
12379
# Convert to unix form, then to dos form, then back to unix form
12380
# but this time dos style (no spaces!) so that the unix form looks
12381
# like /cygdrive/c/PROGRA~1:/cygdr...
12382
sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
12383
sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
12384
sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12387
sys_lib_search_path_spec="$LIB"
12388
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
12389
# It is most probably a Windows format PATH.
12390
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12392
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12394
# FIXME: find the short name or the path components, as spaces are
12395
# common. (e.g. "Program Files" -> "PROGRA~1")
12399
# DLL is installed to $(libdir)/../bin by postinstall_cmds
12400
postinstall_cmds='base_file=`basename \${file}`~
12401
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
12402
dldir=$destdir/`dirname \$dlpath`~
12403
test -d \$dldir || mkdir -p \$dldir~
12404
$install_prog $dir/$dlname \$dldir/$dlname'
12405
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12406
dlpath=$dir/\$dldll~
12408
shlibpath_overrides_runpath=yes
12409
dynamic_linker='Win32 link.exe'
12413
# Assume MSVC wrapper
12414
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12415
dynamic_linker='Win32 ld.exe'
12418
# FIXME: first we should search . and the directory the executable is in
12422
darwin* | rhapsody*)
12423
dynamic_linker="$host_os dyld"
12424
version_type=darwin
12427
library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12428
soname_spec='${libname}${release}${major}$shared_ext'
12429
shlibpath_overrides_runpath=yes
12430
shlibpath_var=DYLD_LIBRARY_PATH
12431
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12433
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
12434
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12441
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12442
soname_spec='${libname}${release}${shared_ext}$major'
12443
shlibpath_var=LD_LIBRARY_PATH
12450
freebsd* | dragonfly*)
12451
# DragonFly does not have aout. When/if they implement a new
12452
# versioning mechanism, adjust this.
12453
if test -x /usr/bin/objformat; then
12454
objformat=`/usr/bin/objformat`
12457
freebsd[123]*) objformat=aout ;;
12458
*) objformat=elf ;;
12461
version_type=freebsd-$objformat
12462
case $version_type in
12464
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12469
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12473
shlibpath_var=LD_LIBRARY_PATH
12476
shlibpath_overrides_runpath=yes
12478
freebsd3.[01]* | freebsdelf3.[01]*)
12479
shlibpath_overrides_runpath=yes
12480
hardcode_into_libs=yes
12482
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
12483
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
12484
shlibpath_overrides_runpath=no
12485
hardcode_into_libs=yes
12487
*) # from 4.6 on, and DragonFly
12488
shlibpath_overrides_runpath=yes
12489
hardcode_into_libs=yes
12498
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12499
soname_spec='${libname}${release}${shared_ext}$major'
12500
shlibpath_var=LD_LIBRARY_PATH
12501
hardcode_into_libs=yes
12508
dynamic_linker="$host_os runtime_loader"
12509
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12510
soname_spec='${libname}${release}${shared_ext}$major'
12511
shlibpath_var=LIBRARY_PATH
12512
shlibpath_overrides_runpath=yes
12513
sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12514
hardcode_into_libs=yes
12517
hpux9* | hpux10* | hpux11*)
12518
# Give a soname corresponding to the major version so that dld.sl refuses to
12519
# link against other versions.
12526
hardcode_into_libs=yes
12527
dynamic_linker="$host_os dld.so"
12528
shlibpath_var=LD_LIBRARY_PATH
12529
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12530
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12531
soname_spec='${libname}${release}${shared_ext}$major'
12532
if test "X$HPUX_IA64_MODE" = X32; then
12533
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12535
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12537
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12541
hardcode_into_libs=yes
12542
dynamic_linker="$host_os dld.sl"
12543
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12544
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12545
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12546
soname_spec='${libname}${release}${shared_ext}$major'
12547
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12548
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12552
dynamic_linker="$host_os dld.sl"
12553
shlibpath_var=SHLIB_PATH
12554
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12555
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12556
soname_spec='${libname}${release}${shared_ext}$major'
12559
# HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12560
postinstall_cmds='chmod 555 $lib'
12561
# or fails outright, so override atomically:
12562
install_override_mode=555
12569
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12570
soname_spec='${libname}${release}${shared_ext}$major'
12571
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12572
shlibpath_var=LD_LIBRARY_PATH
12573
shlibpath_overrides_runpath=no
12574
hardcode_into_libs=yes
12577
irix5* | irix6* | nonstopux*)
12579
nonstopux*) version_type=nonstopux ;;
12581
if test "$lt_cv_prog_gnu_ld" = yes; then
12589
soname_spec='${libname}${release}${shared_ext}$major'
12590
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12592
irix5* | nonstopux*)
12593
libsuff= shlibsuff=
12596
case $LD in # libtool.m4 will add one of these switches to LD
12597
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12598
libsuff= shlibsuff= libmagic=32-bit;;
12599
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12600
libsuff=32 shlibsuff=N32 libmagic=N32;;
12601
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12602
libsuff=64 shlibsuff=64 libmagic=64-bit;;
12603
*) libsuff= shlibsuff= libmagic=never-match;;
12607
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12608
shlibpath_overrides_runpath=no
12609
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12610
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
12611
hardcode_into_libs=yes
12614
# No shared lib support for Linux oldld, aout, or coff.
12615
linux*oldld* | linux*aout* | linux*coff*)
12619
# This must be Linux ELF.
12620
linux* | k*bsd*-gnu | kopensolaris*-gnu)
12624
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12625
soname_spec='${libname}${release}${shared_ext}$major'
12626
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12627
shlibpath_var=LD_LIBRARY_PATH
12628
shlibpath_overrides_runpath=no
12630
# Some binutils ld are patched to set DT_RUNPATH
12631
if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
12632
$as_echo_n "(cached) " >&6
12634
lt_cv_shlibpath_overrides_runpath=no
12635
save_LDFLAGS=$LDFLAGS
12636
save_libdir=$libdir
12637
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12638
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12639
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12640
/* end confdefs.h. */
12650
if ac_fn_c_try_link "$LINENO"; then :
12651
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
12652
lt_cv_shlibpath_overrides_runpath=yes
12655
rm -f core conftest.err conftest.$ac_objext \
12656
conftest$ac_exeext conftest.$ac_ext
12657
LDFLAGS=$save_LDFLAGS
12658
libdir=$save_libdir
12662
shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
12664
# This implies no fast_install, which is unacceptable.
12665
# Some rework will be needed to allow for fast_install
12666
# before this can be enabled.
12667
hardcode_into_libs=yes
12669
# Add ABI-specific directories to the system library path.
12670
sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
12672
# Append ld.so.conf contents to the search path
12673
if test -f /etc/ld.so.conf; then
12674
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' ' '`
12675
sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
12679
# We used to test for /lib/ld.so.1 and disable shared libraries on
12680
# powerpc, because MkLinux only supported shared libraries with the
12681
# GNU dynamic linker. Since this was broken with cross compilers,
12682
# most powerpc-linux boxes support dynamic linking these days and
12683
# people can always --disable-shared, the test was removed, and we
12684
# assume the GNU/Linux dynamic linker is in use.
12685
dynamic_linker='GNU/Linux ld.so'
12692
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12693
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12694
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12695
dynamic_linker='NetBSD (a.out) ld.so'
12697
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12698
soname_spec='${libname}${release}${shared_ext}$major'
12699
dynamic_linker='NetBSD ld.elf_so'
12701
shlibpath_var=LD_LIBRARY_PATH
12702
shlibpath_overrides_runpath=yes
12703
hardcode_into_libs=yes
12708
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12709
shlibpath_var=LD_LIBRARY_PATH
12710
shlibpath_overrides_runpath=yes
12717
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12718
soname_spec='${libname}${release}${shared_ext}$major'
12719
shlibpath_var=LD_LIBRARY_PATH
12720
shlibpath_overrides_runpath=no
12721
hardcode_into_libs=yes
12722
dynamic_linker='ldqnx.so'
12727
sys_lib_dlsearch_path_spec="/usr/lib"
12729
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12731
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
12732
*) need_version=no ;;
12734
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12735
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12736
shlibpath_var=LD_LIBRARY_PATH
12737
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12739
openbsd2.[89] | openbsd2.[89].*)
12740
shlibpath_overrides_runpath=no
12743
shlibpath_overrides_runpath=yes
12747
shlibpath_overrides_runpath=yes
12752
libname_spec='$name'
12755
library_names_spec='$libname${shared_ext} $libname.a'
12756
dynamic_linker='OS/2 ld.exe'
12757
shlibpath_var=LIBPATH
12760
osf3* | osf4* | osf5*)
12764
soname_spec='${libname}${release}${shared_ext}$major'
12765
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12766
shlibpath_var=LD_LIBRARY_PATH
12767
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12768
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
12779
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12780
soname_spec='${libname}${release}${shared_ext}$major'
12781
shlibpath_var=LD_LIBRARY_PATH
12782
shlibpath_overrides_runpath=yes
12783
hardcode_into_libs=yes
12784
# ldd complains unless libraries are executable
12785
postinstall_cmds='chmod +x $lib'
12790
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12791
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12792
shlibpath_var=LD_LIBRARY_PATH
12793
shlibpath_overrides_runpath=yes
12794
if test "$with_gnu_ld" = yes; then
12802
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12803
soname_spec='${libname}${release}${shared_ext}$major'
12804
shlibpath_var=LD_LIBRARY_PATH
12805
case $host_vendor in
12807
shlibpath_overrides_runpath=no
12809
runpath_var=LD_RUN_PATH
12817
shlibpath_overrides_runpath=no
12818
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12824
if test -d /usr/nec ;then
12826
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12827
soname_spec='$libname${shared_ext}.$major'
12828
shlibpath_var=LD_LIBRARY_PATH
12832
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12833
version_type=freebsd-elf
12836
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12837
soname_spec='${libname}${release}${shared_ext}$major'
12838
shlibpath_var=LD_LIBRARY_PATH
12839
shlibpath_overrides_runpath=yes
12840
hardcode_into_libs=yes
12841
if test "$with_gnu_ld" = yes; then
12842
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12844
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12847
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12851
sys_lib_dlsearch_path_spec='/usr/lib'
12855
# TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12859
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12860
shlibpath_var=LD_LIBRARY_PATH
12861
shlibpath_overrides_runpath=no
12862
hardcode_into_libs=yes
12867
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12868
soname_spec='${libname}${release}${shared_ext}$major'
12869
shlibpath_var=LD_LIBRARY_PATH
12876
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12877
$as_echo "$dynamic_linker" >&6; }
12878
test "$dynamic_linker" = no && can_build_shared=no
12880
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12881
if test "$GCC" = yes; then
12882
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12885
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12886
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
12888
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12889
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
12983
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12984
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12986
if test -n "$hardcode_libdir_flag_spec" ||
12987
test -n "$runpath_var" ||
12988
test "X$hardcode_automatic" = "Xyes" ; then
12990
# We can hardcode non-existent directories.
12991
if test "$hardcode_direct" != no &&
12992
# If the only mechanism to avoid hardcoding is shlibpath_var, we
12993
# have to relink, otherwise we might link with an installed library
12994
# when we should be linking with a yet-to-be-installed one
12995
## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12996
test "$hardcode_minus_L" != no; then
12997
# Linking always hardcodes the temporary library directory.
12998
hardcode_action=relink
13000
# We can link without hardcoding, and we can hardcode nonexisting dirs.
13001
hardcode_action=immediate
13004
# We cannot hardcode anything, or else we can only hardcode existing
13006
hardcode_action=unsupported
13008
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
13009
$as_echo "$hardcode_action" >&6; }
13011
if test "$hardcode_action" = relink ||
13012
test "$inherit_rpath" = yes; then
13013
# Fast installation is not supported
13014
enable_fast_install=no
13015
elif test "$shlibpath_overrides_runpath" = yes ||
13016
test "$enable_shared" = no; then
13017
# Fast installation is not necessary
13018
enable_fast_install=needless
13026
if test "x$enable_dlopen" != xyes; then
13027
enable_dlopen=unknown
13028
enable_dlopen_self=unknown
13029
enable_dlopen_self_static=unknown
13036
lt_cv_dlopen="load_add_on"
13038
lt_cv_dlopen_self=yes
13041
mingw* | pw32* | cegcc*)
13042
lt_cv_dlopen="LoadLibrary"
13047
lt_cv_dlopen="dlopen"
13052
# if libdl is installed we need to link against it
13053
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13054
$as_echo_n "checking for dlopen in -ldl... " >&6; }
13055
if ${ac_cv_lib_dl_dlopen+:} false; then :
13056
$as_echo_n "(cached) " >&6
13058
ac_check_lib_save_LIBS=$LIBS
13060
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13061
/* end confdefs.h. */
13063
/* Override any GCC internal prototype to avoid an error.
13064
Use char because int might match the return type of a GCC
13065
builtin and then its argument prototype would still apply. */
13078
if ac_fn_c_try_link "$LINENO"; then :
13079
ac_cv_lib_dl_dlopen=yes
13081
ac_cv_lib_dl_dlopen=no
13083
rm -f core conftest.err conftest.$ac_objext \
13084
conftest$ac_exeext conftest.$ac_ext
13085
LIBS=$ac_check_lib_save_LIBS
13087
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13088
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13089
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13090
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
13093
lt_cv_dlopen="dyld"
13095
lt_cv_dlopen_self=yes
13102
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
13103
if test "x$ac_cv_func_shl_load" = xyes; then :
13104
lt_cv_dlopen="shl_load"
13106
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
13107
$as_echo_n "checking for shl_load in -ldld... " >&6; }
13108
if ${ac_cv_lib_dld_shl_load+:} false; then :
13109
$as_echo_n "(cached) " >&6
13111
ac_check_lib_save_LIBS=$LIBS
13113
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13114
/* end confdefs.h. */
13116
/* Override any GCC internal prototype to avoid an error.
13117
Use char because int might match the return type of a GCC
13118
builtin and then its argument prototype would still apply. */
13126
return shl_load ();
13131
if ac_fn_c_try_link "$LINENO"; then :
13132
ac_cv_lib_dld_shl_load=yes
13134
ac_cv_lib_dld_shl_load=no
13136
rm -f core conftest.err conftest.$ac_objext \
13137
conftest$ac_exeext conftest.$ac_ext
13138
LIBS=$ac_check_lib_save_LIBS
13140
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
13141
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
13142
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
13143
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
13145
ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
13146
if test "x$ac_cv_func_dlopen" = xyes; then :
13147
lt_cv_dlopen="dlopen"
13149
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13150
$as_echo_n "checking for dlopen in -ldl... " >&6; }
13151
if ${ac_cv_lib_dl_dlopen+:} false; then :
13152
$as_echo_n "(cached) " >&6
13154
ac_check_lib_save_LIBS=$LIBS
13156
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13157
/* end confdefs.h. */
13159
/* Override any GCC internal prototype to avoid an error.
13160
Use char because int might match the return type of a GCC
13161
builtin and then its argument prototype would still apply. */
13174
if ac_fn_c_try_link "$LINENO"; then :
13175
ac_cv_lib_dl_dlopen=yes
13177
ac_cv_lib_dl_dlopen=no
13179
rm -f core conftest.err conftest.$ac_objext \
13180
conftest$ac_exeext conftest.$ac_ext
13181
LIBS=$ac_check_lib_save_LIBS
13183
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13184
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13185
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13186
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
13188
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
13189
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
13190
if ${ac_cv_lib_svld_dlopen+:} false; then :
13191
$as_echo_n "(cached) " >&6
13193
ac_check_lib_save_LIBS=$LIBS
13194
LIBS="-lsvld $LIBS"
13195
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13196
/* end confdefs.h. */
13198
/* Override any GCC internal prototype to avoid an error.
13199
Use char because int might match the return type of a GCC
13200
builtin and then its argument prototype would still apply. */
13213
if ac_fn_c_try_link "$LINENO"; then :
13214
ac_cv_lib_svld_dlopen=yes
13216
ac_cv_lib_svld_dlopen=no
13218
rm -f core conftest.err conftest.$ac_objext \
13219
conftest$ac_exeext conftest.$ac_ext
13220
LIBS=$ac_check_lib_save_LIBS
13222
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13223
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13224
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
13225
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
13227
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
13228
$as_echo_n "checking for dld_link in -ldld... " >&6; }
13229
if ${ac_cv_lib_dld_dld_link+:} false; then :
13230
$as_echo_n "(cached) " >&6
13232
ac_check_lib_save_LIBS=$LIBS
13234
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13235
/* end confdefs.h. */
13237
/* Override any GCC internal prototype to avoid an error.
13238
Use char because int might match the return type of a GCC
13239
builtin and then its argument prototype would still apply. */
13247
return dld_link ();
13252
if ac_fn_c_try_link "$LINENO"; then :
13253
ac_cv_lib_dld_dld_link=yes
13255
ac_cv_lib_dld_dld_link=no
13257
rm -f core conftest.err conftest.$ac_objext \
13258
conftest$ac_exeext conftest.$ac_ext
13259
LIBS=$ac_check_lib_save_LIBS
13261
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13262
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13263
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
13264
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
13285
if test "x$lt_cv_dlopen" != xno; then
13291
case $lt_cv_dlopen in
13293
save_CPPFLAGS="$CPPFLAGS"
13294
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
13296
save_LDFLAGS="$LDFLAGS"
13297
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
13300
LIBS="$lt_cv_dlopen_libs $LIBS"
13302
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
13303
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
13304
if ${lt_cv_dlopen_self+:} false; then :
13305
$as_echo_n "(cached) " >&6
13307
if test "$cross_compiling" = yes; then :
13308
lt_cv_dlopen_self=cross
13310
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13311
lt_status=$lt_dlunknown
13312
cat > conftest.$ac_ext <<_LT_EOF
13313
#line $LINENO "configure"
13314
#include "confdefs.h"
13323
# define LT_DLGLOBAL RTLD_GLOBAL
13326
# define LT_DLGLOBAL DL_GLOBAL
13328
# define LT_DLGLOBAL 0
13332
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13333
find out it does not work in some platform. */
13334
#ifndef LT_DLLAZY_OR_NOW
13336
# define LT_DLLAZY_OR_NOW RTLD_LAZY
13339
# define LT_DLLAZY_OR_NOW DL_LAZY
13342
# define LT_DLLAZY_OR_NOW RTLD_NOW
13345
# define LT_DLLAZY_OR_NOW DL_NOW
13347
# define LT_DLLAZY_OR_NOW 0
13354
/* When -fvisbility=hidden is used, assume the code has been annotated
13355
correspondingly for the symbols needed. */
13356
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13357
int fnord () __attribute__((visibility("default")));
13360
int fnord () { return 42; }
13363
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13364
int status = $lt_dlunknown;
13368
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13371
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13372
else puts (dlerror ());
13374
/* dlclose (self); */
13382
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13383
(eval $ac_link) 2>&5
13385
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13386
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
13387
(./conftest; exit; ) >&5 2>/dev/null
13389
case x$lt_status in
13390
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
13391
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
13392
x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
13395
# compilation failed
13396
lt_cv_dlopen_self=no
13403
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13404
$as_echo "$lt_cv_dlopen_self" >&6; }
13406
if test "x$lt_cv_dlopen_self" = xyes; then
13407
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
13408
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13409
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13410
if ${lt_cv_dlopen_self_static+:} false; then :
13411
$as_echo_n "(cached) " >&6
13413
if test "$cross_compiling" = yes; then :
13414
lt_cv_dlopen_self_static=cross
13416
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13417
lt_status=$lt_dlunknown
13418
cat > conftest.$ac_ext <<_LT_EOF
13419
#line $LINENO "configure"
13420
#include "confdefs.h"
13429
# define LT_DLGLOBAL RTLD_GLOBAL
13432
# define LT_DLGLOBAL DL_GLOBAL
13434
# define LT_DLGLOBAL 0
13438
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13439
find out it does not work in some platform. */
13440
#ifndef LT_DLLAZY_OR_NOW
13442
# define LT_DLLAZY_OR_NOW RTLD_LAZY
13445
# define LT_DLLAZY_OR_NOW DL_LAZY
13448
# define LT_DLLAZY_OR_NOW RTLD_NOW
13451
# define LT_DLLAZY_OR_NOW DL_NOW
13453
# define LT_DLLAZY_OR_NOW 0
13460
/* When -fvisbility=hidden is used, assume the code has been annotated
13461
correspondingly for the symbols needed. */
13462
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13463
int fnord () __attribute__((visibility("default")));
13466
int fnord () { return 42; }
13469
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13470
int status = $lt_dlunknown;
13474
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13477
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13478
else puts (dlerror ());
13480
/* dlclose (self); */
13488
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13489
(eval $ac_link) 2>&5
13491
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13492
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
13493
(./conftest; exit; ) >&5 2>/dev/null
13495
case x$lt_status in
13496
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13497
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13498
x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
13501
# compilation failed
13502
lt_cv_dlopen_self_static=no
13509
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13510
$as_echo "$lt_cv_dlopen_self_static" >&6; }
13513
CPPFLAGS="$save_CPPFLAGS"
13514
LDFLAGS="$save_LDFLAGS"
13519
case $lt_cv_dlopen_self in
13520
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13521
*) enable_dlopen_self=unknown ;;
13524
case $lt_cv_dlopen_self_static in
13525
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13526
*) enable_dlopen_self_static=unknown ;;
13548
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13549
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
13550
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
13551
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13552
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13553
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13554
$as_echo "yes" >&6; }
13556
# FIXME - insert some real tests, host_os isn't really good enough
13559
if test -n "$STRIP" ; then
13560
striplib="$STRIP -x"
13561
old_striplib="$STRIP -S"
13562
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13563
$as_echo "yes" >&6; }
13565
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13566
$as_echo "no" >&6; }
13570
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13571
$as_echo "no" >&6; }
13587
# Report which library types will actually be built
13588
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13589
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
13590
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13591
$as_echo "$can_build_shared" >&6; }
13593
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13594
$as_echo_n "checking whether to build shared libraries... " >&6; }
13595
test "$can_build_shared" = "no" && enable_shared=no
13597
# On AIX, shared libraries and static libraries use the same namespace, and
13598
# are all built from PIC.
13601
test "$enable_shared" = yes && enable_static=no
13602
if test -n "$RANLIB"; then
13603
archive_cmds="$archive_cmds~\$RANLIB \$lib"
13604
postinstall_cmds='$RANLIB $lib'
13609
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13610
test "$enable_shared" = yes && enable_static=no
13614
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13615
$as_echo "$enable_shared" >&6; }
13617
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13618
$as_echo_n "checking whether to build static libraries... " >&6; }
13619
# Make sure either enable_shared or enable_static is yes.
13620
test "$enable_shared" = yes || enable_static=yes
13621
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13622
$as_echo "$enable_static" >&6; }
13629
ac_cpp='$CPP $CPPFLAGS'
13630
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13631
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13632
ac_compiler_gnu=$ac_cv_c_compiler_gnu
13648
ac_config_commands="$ac_config_commands libtool"
13653
# Only expand once:
13657
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
13658
$as_echo_n "checking whether NLS is requested... " >&6; }
13659
# Check whether --enable-nls was given.
13660
if test "${enable_nls+set}" = set; then :
13661
enableval=$enable_nls; USE_NLS=$enableval
13666
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
13667
$as_echo "$USE_NLS" >&6; }
13672
case "$am__api_version" in
13674
as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
13680
if test -n "0.35.0"; then
13681
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.35.0" >&5
13682
$as_echo_n "checking for intltool >= 0.35.0... " >&6; }
13684
INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
13685
INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
13686
INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
13688
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
13689
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
13690
test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
13691
as_fn_error $? "Your intltool is too old. You need intltool 0.35.0 or later." "$LINENO" 5
13694
# Extract the first word of "intltool-update", so it can be a program name with args.
13695
set dummy intltool-update; ac_word=$2
13696
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13697
$as_echo_n "checking for $ac_word... " >&6; }
13698
if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
13699
$as_echo_n "(cached) " >&6
13701
case $INTLTOOL_UPDATE in
13703
ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
13706
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13707
for as_dir in $PATH
13710
test -z "$as_dir" && as_dir=.
13711
for ac_exec_ext in '' $ac_executable_extensions; do
13712
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13713
ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
13714
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13724
INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
13725
if test -n "$INTLTOOL_UPDATE"; then
13726
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
13727
$as_echo "$INTLTOOL_UPDATE" >&6; }
13729
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13730
$as_echo "no" >&6; }
13734
# Extract the first word of "intltool-merge", so it can be a program name with args.
13735
set dummy intltool-merge; ac_word=$2
13736
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13737
$as_echo_n "checking for $ac_word... " >&6; }
13738
if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
13739
$as_echo_n "(cached) " >&6
13741
case $INTLTOOL_MERGE in
13743
ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
13746
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13747
for as_dir in $PATH
13750
test -z "$as_dir" && as_dir=.
13751
for ac_exec_ext in '' $ac_executable_extensions; do
13752
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13753
ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
13754
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13764
INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
13765
if test -n "$INTLTOOL_MERGE"; then
13766
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
13767
$as_echo "$INTLTOOL_MERGE" >&6; }
13769
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13770
$as_echo "no" >&6; }
13774
# Extract the first word of "intltool-extract", so it can be a program name with args.
13775
set dummy intltool-extract; ac_word=$2
13776
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13777
$as_echo_n "checking for $ac_word... " >&6; }
13778
if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
13779
$as_echo_n "(cached) " >&6
13781
case $INTLTOOL_EXTRACT in
13783
ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
13786
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13787
for as_dir in $PATH
13790
test -z "$as_dir" && as_dir=.
13791
for ac_exec_ext in '' $ac_executable_extensions; do
13792
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13793
ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
13794
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13804
INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
13805
if test -n "$INTLTOOL_EXTRACT"; then
13806
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
13807
$as_echo "$INTLTOOL_EXTRACT" >&6; }
13809
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13810
$as_echo "no" >&6; }
13814
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
13815
as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
13818
INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13819
INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13820
INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13821
INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13822
INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
13823
INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13824
INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13825
INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13826
INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13827
INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13828
INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13829
INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
13830
INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13831
INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13832
INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13833
INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13834
INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13835
INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13836
INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
13934
# Check the gettext tools to make sure they are GNU
13935
# Extract the first word of "xgettext", so it can be a program name with args.
13936
set dummy xgettext; ac_word=$2
13937
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13938
$as_echo_n "checking for $ac_word... " >&6; }
13939
if ${ac_cv_path_XGETTEXT+:} false; then :
13940
$as_echo_n "(cached) " >&6
13944
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
13947
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13948
for as_dir in $PATH
13951
test -z "$as_dir" && as_dir=.
13952
for ac_exec_ext in '' $ac_executable_extensions; do
13953
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13954
ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
13955
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13965
XGETTEXT=$ac_cv_path_XGETTEXT
13966
if test -n "$XGETTEXT"; then
13967
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
13968
$as_echo "$XGETTEXT" >&6; }
13970
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13971
$as_echo "no" >&6; }
13975
# Extract the first word of "msgmerge", so it can be a program name with args.
13976
set dummy msgmerge; ac_word=$2
13977
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13978
$as_echo_n "checking for $ac_word... " >&6; }
13979
if ${ac_cv_path_MSGMERGE+:} false; then :
13980
$as_echo_n "(cached) " >&6
13984
ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
13987
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13988
for as_dir in $PATH
13991
test -z "$as_dir" && as_dir=.
13992
for ac_exec_ext in '' $ac_executable_extensions; do
13993
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13994
ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
13995
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14005
MSGMERGE=$ac_cv_path_MSGMERGE
14006
if test -n "$MSGMERGE"; then
14007
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
14008
$as_echo "$MSGMERGE" >&6; }
14010
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14011
$as_echo "no" >&6; }
14015
# Extract the first word of "msgfmt", so it can be a program name with args.
14016
set dummy msgfmt; ac_word=$2
14017
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14018
$as_echo_n "checking for $ac_word... " >&6; }
14019
if ${ac_cv_path_MSGFMT+:} false; then :
14020
$as_echo_n "(cached) " >&6
14024
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
14027
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14028
for as_dir in $PATH
14031
test -z "$as_dir" && as_dir=.
14032
for ac_exec_ext in '' $ac_executable_extensions; do
14033
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14034
ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
14035
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14045
MSGFMT=$ac_cv_path_MSGFMT
14046
if test -n "$MSGFMT"; then
14047
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
14048
$as_echo "$MSGFMT" >&6; }
14050
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14051
$as_echo "no" >&6; }
14055
# Extract the first word of "gmsgfmt", so it can be a program name with args.
14056
set dummy gmsgfmt; ac_word=$2
14057
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14058
$as_echo_n "checking for $ac_word... " >&6; }
14059
if ${ac_cv_path_GMSGFMT+:} false; then :
14060
$as_echo_n "(cached) " >&6
14064
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
14067
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14068
for as_dir in $PATH
14071
test -z "$as_dir" && as_dir=.
14072
for ac_exec_ext in '' $ac_executable_extensions; do
14073
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14074
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
14075
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14082
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
14086
GMSGFMT=$ac_cv_path_GMSGFMT
14087
if test -n "$GMSGFMT"; then
14088
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
14089
$as_echo "$GMSGFMT" >&6; }
14091
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14092
$as_echo "no" >&6; }
14096
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
14097
as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
14099
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
14100
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
14101
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
14102
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
14103
as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
14106
# Extract the first word of "perl", so it can be a program name with args.
14107
set dummy perl; ac_word=$2
14108
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14109
$as_echo_n "checking for $ac_word... " >&6; }
14110
if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
14111
$as_echo_n "(cached) " >&6
14113
case $INTLTOOL_PERL in
14115
ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
14118
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14119
for as_dir in $PATH
14122
test -z "$as_dir" && as_dir=.
14123
for ac_exec_ext in '' $ac_executable_extensions; do
14124
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14125
ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
14126
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14136
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
14137
if test -n "$INTLTOOL_PERL"; then
14138
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
14139
$as_echo "$INTLTOOL_PERL" >&6; }
14141
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14142
$as_echo "no" >&6; }
14146
if test -z "$INTLTOOL_PERL"; then
14147
as_fn_error $? "perl not found" "$LINENO" 5
14149
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
14150
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
14151
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
14152
if test $? -ne 0; then
14153
as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
14155
IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
14156
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
14157
$as_echo "$IT_PERL_VERSION" >&6; }
14159
if test "x" != "xno-xml"; then
14160
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
14161
$as_echo_n "checking for XML::Parser... " >&6; }
14162
if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
14163
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
14164
$as_echo "ok" >&6; }
14166
as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
14170
# Substitute ALL_LINGUAS so we can use it in po/Makefile
14173
# Set DATADIRNAME correctly if it is not set yet
14174
# (copied from glib-gettext.m4)
14175
if test -z "$DATADIRNAME"; then
14176
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14177
/* end confdefs.h. */
14182
extern int _nl_msg_cat_cntr;
14183
return _nl_msg_cat_cntr
14188
if ac_fn_c_try_link "$LINENO"; then :
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 :
14206
rm -f core conftest.err conftest.$ac_objext \
14207
conftest$ac_exeext conftest.$ac_ext
14216
for ac_func in daemon
14218
ac_fn_c_check_func "$LINENO" "daemon" "ac_cv_func_daemon"
14219
if test "x$ac_cv_func_daemon" = xyes; then :
14220
cat >>confdefs.h <<_ACEOF
14221
#define HAVE_DAEMON 1
14230
# Check whether --enable-glibtest was given.
14231
if test "${enable_glibtest+set}" = set; then :
14232
enableval=$enable_glibtest;
14234
enable_glibtest=yes
14238
pkg_config_args=glib-2.0
14243
pkg_config_args="$pkg_config_args gmodule-2.0"
14246
pkg_config_args="$pkg_config_args gmodule-no-export-2.0"
14249
pkg_config_args="$pkg_config_args gobject-2.0"
14252
pkg_config_args="$pkg_config_args gthread-2.0"
14255
pkg_config_args="$pkg_config_args $module-2.0"
14266
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
14267
if test -n "$ac_tool_prefix"; then
14268
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
14269
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
14270
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14271
$as_echo_n "checking for $ac_word... " >&6; }
14272
if ${ac_cv_path_PKG_CONFIG+:} false; then :
14273
$as_echo_n "(cached) " >&6
14275
case $PKG_CONFIG in
14277
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
14280
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14281
for as_dir in $PATH
14284
test -z "$as_dir" && as_dir=.
14285
for ac_exec_ext in '' $ac_executable_extensions; do
14286
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14287
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14288
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14298
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
14299
if test -n "$PKG_CONFIG"; then
14300
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
14301
$as_echo "$PKG_CONFIG" >&6; }
14303
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14304
$as_echo "no" >&6; }
14309
if test -z "$ac_cv_path_PKG_CONFIG"; then
14310
ac_pt_PKG_CONFIG=$PKG_CONFIG
14311
# Extract the first word of "pkg-config", so it can be a program name with args.
14312
set dummy pkg-config; ac_word=$2
14313
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14314
$as_echo_n "checking for $ac_word... " >&6; }
14315
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
14316
$as_echo_n "(cached) " >&6
14318
case $ac_pt_PKG_CONFIG in
14320
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
14323
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14324
for as_dir in $PATH
14327
test -z "$as_dir" && as_dir=.
14328
for ac_exec_ext in '' $ac_executable_extensions; do
14329
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14330
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14331
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14341
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
14342
if test -n "$ac_pt_PKG_CONFIG"; then
14343
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
14344
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
14346
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14347
$as_echo "no" >&6; }
14350
if test "x$ac_pt_PKG_CONFIG" = x; then
14353
case $cross_compiling:$ac_tool_warned in
14355
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14356
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14357
ac_tool_warned=yes ;;
14359
PKG_CONFIG=$ac_pt_PKG_CONFIG
14362
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
14366
if test -n "$PKG_CONFIG"; then
14367
_pkg_min_version=0.16
14368
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
14369
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
14370
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
14371
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14372
$as_echo "yes" >&6; }
14374
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14375
$as_echo "no" >&6; }
14382
if test "x$PKG_CONFIG" = x ; then
14387
min_glib_version=2.0.0
14388
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB - version >= $min_glib_version" >&5
14389
$as_echo_n "checking for GLIB - version >= $min_glib_version... " >&6; }
14391
if test x$PKG_CONFIG != xno ; then
14392
## don't try to run the test against uninstalled libtool libs
14393
if $PKG_CONFIG --uninstalled $pkg_config_args; then
14394
echo "Will use uninstalled version of GLib found in PKG_CONFIG_PATH"
14398
if $PKG_CONFIG --atleast-version $min_glib_version $pkg_config_args; then
14405
if test x"$no_glib" = x ; then
14406
GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`
14407
GOBJECT_QUERY=`$PKG_CONFIG --variable=gobject_query glib-2.0`
14408
GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
14410
GLIB_CFLAGS=`$PKG_CONFIG --cflags $pkg_config_args`
14411
GLIB_LIBS=`$PKG_CONFIG --libs $pkg_config_args`
14412
glib_config_major_version=`$PKG_CONFIG --modversion glib-2.0 | \
14413
sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
14414
glib_config_minor_version=`$PKG_CONFIG --modversion glib-2.0 | \
14415
sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
14416
glib_config_micro_version=`$PKG_CONFIG --modversion glib-2.0 | \
14417
sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
14418
if test "x$enable_glibtest" = "xyes" ; then
14419
ac_save_CFLAGS="$CFLAGS"
14420
ac_save_LIBS="$LIBS"
14421
CFLAGS="$CFLAGS $GLIB_CFLAGS"
14422
LIBS="$GLIB_LIBS $LIBS"
14423
rm -f conf.glibtest
14424
if test "$cross_compiling" = yes; then :
14425
echo $ac_n "cross compiling; assumed OK... $ac_c"
14427
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14428
/* end confdefs.h. */
14432
#include <stdlib.h>
14437
unsigned int major, minor, micro;
14440
fclose (fopen ("conf.glibtest", "w"));
14442
/* HP/UX 9 (%@#!) writes to sscanf strings */
14443
tmp_version = g_strdup("$min_glib_version");
14444
if (sscanf(tmp_version, "%u.%u.%u", &major, &minor, µ) != 3) {
14445
printf("%s, bad version string\n", "$min_glib_version");
14449
if ((glib_major_version != $glib_config_major_version) ||
14450
(glib_minor_version != $glib_config_minor_version) ||
14451
(glib_micro_version != $glib_config_micro_version))
14453
printf("\n*** 'pkg-config --modversion glib-2.0' returned %d.%d.%d, but GLIB (%d.%d.%d)\n",
14454
$glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version,
14455
glib_major_version, glib_minor_version, glib_micro_version);
14456
printf ("*** was found! If pkg-config was correct, then it is best\n");
14457
printf ("*** to remove the old version of GLib. You may also be able to fix the error\n");
14458
printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
14459
printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
14460
printf("*** required on your system.\n");
14461
printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
14462
printf("*** to point to the correct configuration files\n");
14464
else if ((glib_major_version != GLIB_MAJOR_VERSION) ||
14465
(glib_minor_version != GLIB_MINOR_VERSION) ||
14466
(glib_micro_version != GLIB_MICRO_VERSION))
14468
printf("*** GLIB header files (version %d.%d.%d) do not match\n",
14469
GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION);
14470
printf("*** library (version %d.%d.%d)\n",
14471
glib_major_version, glib_minor_version, glib_micro_version);
14475
if ((glib_major_version > major) ||
14476
((glib_major_version == major) && (glib_minor_version > minor)) ||
14477
((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro)))
14483
printf("\n*** An old version of GLIB (%u.%u.%u) was found.\n",
14484
glib_major_version, glib_minor_version, glib_micro_version);
14485
printf("*** You need a version of GLIB newer than %u.%u.%u. The latest version of\n",
14486
major, minor, micro);
14487
printf("*** GLIB is always available from ftp://ftp.gtk.org.\n");
14489
printf("*** If you have already installed a sufficiently new version, this error\n");
14490
printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
14491
printf("*** being found. The easiest way to fix this is to remove the old version\n");
14492
printf("*** of GLIB, but you can also set the PKG_CONFIG environment to point to the\n");
14493
printf("*** correct copy of pkg-config. (In this case, you will have to\n");
14494
printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
14495
printf("*** so that the correct libraries are found at run-time))\n");
14502
if ac_fn_c_try_run "$LINENO"; then :
14507
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14508
conftest.$ac_objext conftest.beam conftest.$ac_ext
14511
CFLAGS="$ac_save_CFLAGS"
14512
LIBS="$ac_save_LIBS"
14515
if test "x$no_glib" = x ; then
14516
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&5
14517
$as_echo "yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&6; }
14520
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14521
$as_echo "no" >&6; }
14522
if test "$PKG_CONFIG" = "no" ; then
14523
echo "*** A new enough version of pkg-config was not found."
14524
echo "*** See http://www.freedesktop.org/software/pkgconfig/"
14526
if test -f conf.glibtest ; then
14529
echo "*** Could not run GLIB test program, checking why..."
14530
ac_save_CFLAGS="$CFLAGS"
14531
ac_save_LIBS="$LIBS"
14532
CFLAGS="$CFLAGS $GLIB_CFLAGS"
14533
LIBS="$LIBS $GLIB_LIBS"
14534
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14535
/* end confdefs.h. */
14543
return ((glib_major_version) || (glib_minor_version) || (glib_micro_version));
14548
if ac_fn_c_try_link "$LINENO"; then :
14549
echo "*** The test program compiled, but did not run. This usually means"
14550
echo "*** that the run-time linker is not finding GLIB or finding the wrong"
14551
echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your"
14552
echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
14553
echo "*** to the installed location Also, make sure you have run ldconfig if that"
14554
echo "*** is required on your system"
14556
echo "*** If you have an old version installed, it is best to remove it, although"
14557
echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
14559
echo "*** The test program failed to compile or link. See the file config.log for the"
14560
echo "*** exact error that occured. This usually means GLIB is incorrectly installed."
14562
rm -f core conftest.err conftest.$ac_objext \
14563
conftest$ac_exeext conftest.$ac_ext
14564
CFLAGS="$ac_save_CFLAGS"
14565
LIBS="$ac_save_LIBS"
14580
rm -f conf.glibtest
14584
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB2" >&5
14585
$as_echo_n "checking for GLIB2... " >&6; }
14587
if test -n "$GLIB2_CFLAGS"; then
14588
pkg_cv_GLIB2_CFLAGS="$GLIB2_CFLAGS"
14589
elif test -n "$PKG_CONFIG"; then
14590
if test -n "$PKG_CONFIG" && \
14591
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14594
($PKG_CONFIG --exists --print-errors "
14598
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14599
test $ac_status = 0; }; then
14600
pkg_cv_GLIB2_CFLAGS=`$PKG_CONFIG --cflags "
14609
if test -n "$GLIB2_LIBS"; then
14610
pkg_cv_GLIB2_LIBS="$GLIB2_LIBS"
14611
elif test -n "$PKG_CONFIG"; then
14612
if test -n "$PKG_CONFIG" && \
14613
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14616
($PKG_CONFIG --exists --print-errors "
14620
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14621
test $ac_status = 0; }; then
14622
pkg_cv_GLIB2_LIBS=`$PKG_CONFIG --libs "
14634
if test $pkg_failed = yes; then
14635
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14636
$as_echo "no" >&6; }
14638
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14639
_pkg_short_errors_supported=yes
14641
_pkg_short_errors_supported=no
14643
if test $_pkg_short_errors_supported = yes; then
14644
GLIB2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
14648
GLIB2_PKG_ERRORS=`$PKG_CONFIG --print-errors "
14652
# Put the nasty error message in config.log where it belongs
14653
echo "$GLIB2_PKG_ERRORS" >&5
14655
as_fn_error $? "Package requirements (
14661
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14662
installed software in a non-standard prefix.
14664
Alternatively, you may set the environment variables GLIB2_CFLAGS
14665
and GLIB2_LIBS to avoid the need to call pkg-config.
14666
See the pkg-config man page for more details." "$LINENO" 5
14668
elif test $pkg_failed = untried; then
14669
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14670
$as_echo "no" >&6; }
14671
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14672
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14673
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14674
is in your PATH or set the PKG_CONFIG environment variable to the full
14675
path to pkg-config.
14677
Alternatively, you may set the environment variables GLIB2_CFLAGS
14678
and GLIB2_LIBS to avoid the need to call pkg-config.
14679
See the pkg-config man page for more details.
14681
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14682
See \`config.log' for more details" "$LINENO" 5; }
14685
GLIB2_CFLAGS=$pkg_cv_GLIB2_CFLAGS
14686
GLIB2_LIBS=$pkg_cv_GLIB2_LIBS
14687
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14688
$as_echo "yes" >&6; }
14693
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GOBJECT2" >&5
14694
$as_echo_n "checking for GOBJECT2... " >&6; }
14696
if test -n "$GOBJECT2_CFLAGS"; then
14697
pkg_cv_GOBJECT2_CFLAGS="$GOBJECT2_CFLAGS"
14698
elif test -n "$PKG_CONFIG"; then
14699
if test -n "$PKG_CONFIG" && \
14700
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14701
gobject-2.0 >= 2.26.0
14703
($PKG_CONFIG --exists --print-errors "
14704
gobject-2.0 >= 2.26.0
14707
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14708
test $ac_status = 0; }; then
14709
pkg_cv_GOBJECT2_CFLAGS=`$PKG_CONFIG --cflags "
14710
gobject-2.0 >= 2.26.0
14718
if test -n "$GOBJECT2_LIBS"; then
14719
pkg_cv_GOBJECT2_LIBS="$GOBJECT2_LIBS"
14720
elif test -n "$PKG_CONFIG"; then
14721
if test -n "$PKG_CONFIG" && \
14722
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14723
gobject-2.0 >= 2.26.0
14725
($PKG_CONFIG --exists --print-errors "
14726
gobject-2.0 >= 2.26.0
14729
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14730
test $ac_status = 0; }; then
14731
pkg_cv_GOBJECT2_LIBS=`$PKG_CONFIG --libs "
14732
gobject-2.0 >= 2.26.0
14743
if test $pkg_failed = yes; then
14744
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14745
$as_echo "no" >&6; }
14747
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14748
_pkg_short_errors_supported=yes
14750
_pkg_short_errors_supported=no
14752
if test $_pkg_short_errors_supported = yes; then
14753
GOBJECT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
14754
gobject-2.0 >= 2.26.0
14757
GOBJECT2_PKG_ERRORS=`$PKG_CONFIG --print-errors "
14758
gobject-2.0 >= 2.26.0
14761
# Put the nasty error message in config.log where it belongs
14762
echo "$GOBJECT2_PKG_ERRORS" >&5
14764
as_fn_error $? "Package requirements (
14765
gobject-2.0 >= 2.26.0
14768
$GOBJECT2_PKG_ERRORS
14770
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14771
installed software in a non-standard prefix.
14773
Alternatively, you may set the environment variables GOBJECT2_CFLAGS
14774
and GOBJECT2_LIBS to avoid the need to call pkg-config.
14775
See the pkg-config man page for more details." "$LINENO" 5
14777
elif test $pkg_failed = untried; then
14778
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14779
$as_echo "no" >&6; }
14780
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14781
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14782
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14783
is in your PATH or set the PKG_CONFIG environment variable to the full
14784
path to pkg-config.
14786
Alternatively, you may set the environment variables GOBJECT2_CFLAGS
14787
and GOBJECT2_LIBS to avoid the need to call pkg-config.
14788
See the pkg-config man page for more details.
14790
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14791
See \`config.log' for more details" "$LINENO" 5; }
14794
GOBJECT2_CFLAGS=$pkg_cv_GOBJECT2_CFLAGS
14795
GOBJECT2_LIBS=$pkg_cv_GOBJECT2_LIBS
14796
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14797
$as_echo "yes" >&6; }
14802
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO2" >&5
14803
$as_echo_n "checking for GIO2... " >&6; }
14805
if test -n "$GIO2_CFLAGS"; then
14806
pkg_cv_GIO2_CFLAGS="$GIO2_CFLAGS"
14807
elif test -n "$PKG_CONFIG"; then
14808
if test -n "$PKG_CONFIG" && \
14809
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14812
($PKG_CONFIG --exists --print-errors "
14816
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14817
test $ac_status = 0; }; then
14818
pkg_cv_GIO2_CFLAGS=`$PKG_CONFIG --cflags "
14827
if test -n "$GIO2_LIBS"; then
14828
pkg_cv_GIO2_LIBS="$GIO2_LIBS"
14829
elif test -n "$PKG_CONFIG"; then
14830
if test -n "$PKG_CONFIG" && \
14831
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14834
($PKG_CONFIG --exists --print-errors "
14838
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14839
test $ac_status = 0; }; then
14840
pkg_cv_GIO2_LIBS=`$PKG_CONFIG --libs "
14852
if test $pkg_failed = yes; then
14853
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14854
$as_echo "no" >&6; }
14856
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14857
_pkg_short_errors_supported=yes
14859
_pkg_short_errors_supported=no
14861
if test $_pkg_short_errors_supported = yes; then
14862
GIO2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
14866
GIO2_PKG_ERRORS=`$PKG_CONFIG --print-errors "
14870
# Put the nasty error message in config.log where it belongs
14871
echo "$GIO2_PKG_ERRORS" >&5
14873
as_fn_error $? "Package requirements (
14879
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14880
installed software in a non-standard prefix.
14882
Alternatively, you may set the environment variables GIO2_CFLAGS
14883
and GIO2_LIBS to avoid the need to call pkg-config.
14884
See the pkg-config man page for more details." "$LINENO" 5
14886
elif test $pkg_failed = untried; then
14887
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14888
$as_echo "no" >&6; }
14889
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14890
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14891
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14892
is in your PATH or set the PKG_CONFIG environment variable to the full
14893
path to pkg-config.
14895
Alternatively, you may set the environment variables GIO2_CFLAGS
14896
and GIO2_LIBS to avoid the need to call pkg-config.
14897
See the pkg-config man page for more details.
14899
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14900
See \`config.log' for more details" "$LINENO" 5; }
14903
GIO2_CFLAGS=$pkg_cv_GIO2_CFLAGS
14904
GIO2_LIBS=$pkg_cv_GIO2_LIBS
14905
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14906
$as_echo "yes" >&6; }
14911
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTHREAD2" >&5
14912
$as_echo_n "checking for GTHREAD2... " >&6; }
14914
if test -n "$GTHREAD2_CFLAGS"; then
14915
pkg_cv_GTHREAD2_CFLAGS="$GTHREAD2_CFLAGS"
14916
elif test -n "$PKG_CONFIG"; then
14917
if test -n "$PKG_CONFIG" && \
14918
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14919
gthread-2.0 >= 2.26.0
14921
($PKG_CONFIG --exists --print-errors "
14922
gthread-2.0 >= 2.26.0
14925
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14926
test $ac_status = 0; }; then
14927
pkg_cv_GTHREAD2_CFLAGS=`$PKG_CONFIG --cflags "
14928
gthread-2.0 >= 2.26.0
14936
if test -n "$GTHREAD2_LIBS"; then
14937
pkg_cv_GTHREAD2_LIBS="$GTHREAD2_LIBS"
14938
elif test -n "$PKG_CONFIG"; then
14939
if test -n "$PKG_CONFIG" && \
14940
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14941
gthread-2.0 >= 2.26.0
14943
($PKG_CONFIG --exists --print-errors "
14944
gthread-2.0 >= 2.26.0
14947
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14948
test $ac_status = 0; }; then
14949
pkg_cv_GTHREAD2_LIBS=`$PKG_CONFIG --libs "
14950
gthread-2.0 >= 2.26.0
14961
if test $pkg_failed = yes; then
14962
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14963
$as_echo "no" >&6; }
14965
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14966
_pkg_short_errors_supported=yes
14968
_pkg_short_errors_supported=no
14970
if test $_pkg_short_errors_supported = yes; then
14971
GTHREAD2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
14972
gthread-2.0 >= 2.26.0
14975
GTHREAD2_PKG_ERRORS=`$PKG_CONFIG --print-errors "
14976
gthread-2.0 >= 2.26.0
14979
# Put the nasty error message in config.log where it belongs
14980
echo "$GTHREAD2_PKG_ERRORS" >&5
14982
as_fn_error $? "Package requirements (
14983
gthread-2.0 >= 2.26.0
14986
$GTHREAD2_PKG_ERRORS
14988
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14989
installed software in a non-standard prefix.
14991
Alternatively, you may set the environment variables GTHREAD2_CFLAGS
14992
and GTHREAD2_LIBS to avoid the need to call pkg-config.
14993
See the pkg-config man page for more details." "$LINENO" 5
14995
elif test $pkg_failed = untried; then
14996
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14997
$as_echo "no" >&6; }
14998
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14999
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15000
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
15001
is in your PATH or set the PKG_CONFIG environment variable to the full
15002
path to pkg-config.
15004
Alternatively, you may set the environment variables GTHREAD2_CFLAGS
15005
and GTHREAD2_LIBS to avoid the need to call pkg-config.
15006
See the pkg-config man page for more details.
15008
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15009
See \`config.log' for more details" "$LINENO" 5; }
15012
GTHREAD2_CFLAGS=$pkg_cv_GTHREAD2_CFLAGS
15013
GTHREAD2_LIBS=$pkg_cv_GTHREAD2_LIBS
15014
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15015
$as_echo "yes" >&6; }
15019
# --disable-gtk2 option.
15020
# Check whether --enable-gtk2 was given.
15021
if test "${enable_gtk2+set}" = set; then :
15022
enableval=$enable_gtk2; enable_gtk2=$enableval
15028
if test x"$enable_gtk2" = x"yes"; then
15030
ENABLE_GTK2_FALSE='#'
15032
ENABLE_GTK2_TRUE='#'
15037
# --disable-gtk3 option.
15038
# Check whether --enable-gtk3 was given.
15039
if test "${enable_gtk3+set}" = set; then :
15040
enableval=$enable_gtk3; enable_gtk3=$enableval
15046
if test x"$enable_gtk3" = x"yes"; then
15048
ENABLE_GTK3_FALSE='#'
15050
ENABLE_GTK3_TRUE='#'
15055
# --disable-xim option.
15056
# Check whether --enable-xim was given.
15057
if test "${enable_xim+set}" = set; then :
15058
enableval=$enable_xim; enable_xim=$enableval
15064
if test x"$enable_xim" = x"yes"; then
15066
ENABLE_XIM_FALSE='#'
15068
ENABLE_XIM_TRUE='#'
15073
# --disable-vala option.
15074
# Check whether --enable-vala was given.
15075
if test "${enable_vala+set}" = set; then :
15076
enableval=$enable_vala; enable_vala=$enableval
15082
if test x"$enable_vala" = x"yes"; then
15084
ENABLE_VALA_FALSE='#'
15086
ENABLE_VALA_TRUE='#'
15090
if test x"$enable_vala" != x"yes"; then
15091
enable_vala="no (disabled, use --enable-vala to enable)"
15094
if test x"$enable_gtk2" = x"yes" -o x"$enable_xim" = x"yes" ; then
15098
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK2" >&5
15099
$as_echo_n "checking for GTK2... " >&6; }
15101
if test -n "$GTK2_CFLAGS"; then
15102
pkg_cv_GTK2_CFLAGS="$GTK2_CFLAGS"
15103
elif test -n "$PKG_CONFIG"; then
15104
if test -n "$PKG_CONFIG" && \
15105
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15108
($PKG_CONFIG --exists --print-errors "
15112
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15113
test $ac_status = 0; }; then
15114
pkg_cv_GTK2_CFLAGS=`$PKG_CONFIG --cflags "
15123
if test -n "$GTK2_LIBS"; then
15124
pkg_cv_GTK2_LIBS="$GTK2_LIBS"
15125
elif test -n "$PKG_CONFIG"; then
15126
if test -n "$PKG_CONFIG" && \
15127
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15130
($PKG_CONFIG --exists --print-errors "
15134
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15135
test $ac_status = 0; }; then
15136
pkg_cv_GTK2_LIBS=`$PKG_CONFIG --libs "
15148
if test $pkg_failed = yes; then
15149
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15150
$as_echo "no" >&6; }
15152
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15153
_pkg_short_errors_supported=yes
15155
_pkg_short_errors_supported=no
15157
if test $_pkg_short_errors_supported = yes; then
15158
GTK2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
15162
GTK2_PKG_ERRORS=`$PKG_CONFIG --print-errors "
15166
# Put the nasty error message in config.log where it belongs
15167
echo "$GTK2_PKG_ERRORS" >&5
15169
as_fn_error $? "Package requirements (
15175
Consider adjusting the PKG_CONFIG_PATH environment variable if you
15176
installed software in a non-standard prefix.
15178
Alternatively, you may set the environment variables GTK2_CFLAGS
15179
and GTK2_LIBS to avoid the need to call pkg-config.
15180
See the pkg-config man page for more details." "$LINENO" 5
15182
elif test $pkg_failed = untried; then
15183
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15184
$as_echo "no" >&6; }
15185
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15186
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15187
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
15188
is in your PATH or set the PKG_CONFIG environment variable to the full
15189
path to pkg-config.
15191
Alternatively, you may set the environment variables GTK2_CFLAGS
15192
and GTK2_LIBS to avoid the need to call pkg-config.
15193
See the pkg-config man page for more details.
15195
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15196
See \`config.log' for more details" "$LINENO" 5; }
15199
GTK2_CFLAGS=$pkg_cv_GTK2_CFLAGS
15200
GTK2_LIBS=$pkg_cv_GTK2_LIBS
15201
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15202
$as_echo "yes" >&6; }
15207
if test x"$enable_gtk2" = x"yes"; then
15209
gtk2_binary_version=`$PKG_CONFIG --variable=gtk_binary_version gtk+-2.0`
15210
GTK2_IM_MODULEDIR="$libdir"/gtk-2.0/$gtk2_binary_version/immodules
15214
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GDK2" >&5
15215
$as_echo_n "checking for GDK2... " >&6; }
15217
if test -n "$GDK2_CFLAGS"; then
15218
pkg_cv_GDK2_CFLAGS="$GDK2_CFLAGS"
15219
elif test -n "$PKG_CONFIG"; then
15220
if test -n "$PKG_CONFIG" && \
15221
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15224
($PKG_CONFIG --exists --print-errors "
15228
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15229
test $ac_status = 0; }; then
15230
pkg_cv_GDK2_CFLAGS=`$PKG_CONFIG --cflags "
15239
if test -n "$GDK2_LIBS"; then
15240
pkg_cv_GDK2_LIBS="$GDK2_LIBS"
15241
elif test -n "$PKG_CONFIG"; then
15242
if test -n "$PKG_CONFIG" && \
15243
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15246
($PKG_CONFIG --exists --print-errors "
15250
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15251
test $ac_status = 0; }; then
15252
pkg_cv_GDK2_LIBS=`$PKG_CONFIG --libs "
15264
if test $pkg_failed = yes; then
15265
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15266
$as_echo "no" >&6; }
15268
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15269
_pkg_short_errors_supported=yes
15271
_pkg_short_errors_supported=no
15273
if test $_pkg_short_errors_supported = yes; then
15274
GDK2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
15278
GDK2_PKG_ERRORS=`$PKG_CONFIG --print-errors "
15282
# Put the nasty error message in config.log where it belongs
15283
echo "$GDK2_PKG_ERRORS" >&5
15285
as_fn_error $? "Package requirements (
15291
Consider adjusting the PKG_CONFIG_PATH environment variable if you
15292
installed software in a non-standard prefix.
15294
Alternatively, you may set the environment variables GDK2_CFLAGS
15295
and GDK2_LIBS to avoid the need to call pkg-config.
15296
See the pkg-config man page for more details." "$LINENO" 5
15298
elif test $pkg_failed = untried; then
15299
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15300
$as_echo "no" >&6; }
15301
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15302
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15303
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
15304
is in your PATH or set the PKG_CONFIG environment variable to the full
15305
path to pkg-config.
15307
Alternatively, you may set the environment variables GDK2_CFLAGS
15308
and GDK2_LIBS to avoid the need to call pkg-config.
15309
See the pkg-config man page for more details.
15311
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15312
See \`config.log' for more details" "$LINENO" 5; }
15315
GDK2_CFLAGS=$pkg_cv_GDK2_CFLAGS
15316
GDK2_LIBS=$pkg_cv_GDK2_LIBS
15317
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15318
$as_echo "yes" >&6; }
15322
enable_gtk2="no (disabled, use --enable-gtk2 to enable)"
15325
if test x"$enable_gtk3" = x"yes"; then
15326
# check for gtk3, gdk3
15329
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK3" >&5
15330
$as_echo_n "checking for GTK3... " >&6; }
15332
if test -n "$GTK3_CFLAGS"; then
15333
pkg_cv_GTK3_CFLAGS="$GTK3_CFLAGS"
15334
elif test -n "$PKG_CONFIG"; then
15335
if test -n "$PKG_CONFIG" && \
15336
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15339
($PKG_CONFIG --exists --print-errors "
15343
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15344
test $ac_status = 0; }; then
15345
pkg_cv_GTK3_CFLAGS=`$PKG_CONFIG --cflags "
15354
if test -n "$GTK3_LIBS"; then
15355
pkg_cv_GTK3_LIBS="$GTK3_LIBS"
15356
elif test -n "$PKG_CONFIG"; then
15357
if test -n "$PKG_CONFIG" && \
15358
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15361
($PKG_CONFIG --exists --print-errors "
15365
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15366
test $ac_status = 0; }; then
15367
pkg_cv_GTK3_LIBS=`$PKG_CONFIG --libs "
15379
if test $pkg_failed = yes; then
15380
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15381
$as_echo "no" >&6; }
15383
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15384
_pkg_short_errors_supported=yes
15386
_pkg_short_errors_supported=no
15388
if test $_pkg_short_errors_supported = yes; then
15389
GTK3_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
15393
GTK3_PKG_ERRORS=`$PKG_CONFIG --print-errors "
15397
# Put the nasty error message in config.log where it belongs
15398
echo "$GTK3_PKG_ERRORS" >&5
15400
as_fn_error $? "Package requirements (
15406
Consider adjusting the PKG_CONFIG_PATH environment variable if you
15407
installed software in a non-standard prefix.
15409
Alternatively, you may set the environment variables GTK3_CFLAGS
15410
and GTK3_LIBS to avoid the need to call pkg-config.
15411
See the pkg-config man page for more details." "$LINENO" 5
15413
elif test $pkg_failed = untried; then
15414
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15415
$as_echo "no" >&6; }
15416
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15417
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15418
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
15419
is in your PATH or set the PKG_CONFIG environment variable to the full
15420
path to pkg-config.
15422
Alternatively, you may set the environment variables GTK3_CFLAGS
15423
and GTK3_LIBS to avoid the need to call pkg-config.
15424
See the pkg-config man page for more details.
15426
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15427
See \`config.log' for more details" "$LINENO" 5; }
15430
GTK3_CFLAGS=$pkg_cv_GTK3_CFLAGS
15431
GTK3_LIBS=$pkg_cv_GTK3_LIBS
15432
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15433
$as_echo "yes" >&6; }
15437
gtk3_binary_version=`$PKG_CONFIG --variable=gtk_binary_version gtk+-3.0`
15438
GTK3_IM_MODULEDIR="$libdir"/gtk-3.0/$gtk3_binary_version/immodules
15442
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GDK3" >&5
15443
$as_echo_n "checking for GDK3... " >&6; }
15445
if test -n "$GDK3_CFLAGS"; then
15446
pkg_cv_GDK3_CFLAGS="$GDK3_CFLAGS"
15447
elif test -n "$PKG_CONFIG"; then
15448
if test -n "$PKG_CONFIG" && \
15449
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15452
($PKG_CONFIG --exists --print-errors "
15456
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15457
test $ac_status = 0; }; then
15458
pkg_cv_GDK3_CFLAGS=`$PKG_CONFIG --cflags "
15467
if test -n "$GDK3_LIBS"; then
15468
pkg_cv_GDK3_LIBS="$GDK3_LIBS"
15469
elif test -n "$PKG_CONFIG"; then
15470
if test -n "$PKG_CONFIG" && \
15471
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15474
($PKG_CONFIG --exists --print-errors "
15478
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15479
test $ac_status = 0; }; then
15480
pkg_cv_GDK3_LIBS=`$PKG_CONFIG --libs "
15492
if test $pkg_failed = yes; then
15493
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15494
$as_echo "no" >&6; }
15496
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15497
_pkg_short_errors_supported=yes
15499
_pkg_short_errors_supported=no
15501
if test $_pkg_short_errors_supported = yes; then
15502
GDK3_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
15506
GDK3_PKG_ERRORS=`$PKG_CONFIG --print-errors "
15510
# Put the nasty error message in config.log where it belongs
15511
echo "$GDK3_PKG_ERRORS" >&5
15513
as_fn_error $? "Package requirements (
15519
Consider adjusting the PKG_CONFIG_PATH environment variable if you
15520
installed software in a non-standard prefix.
15522
Alternatively, you may set the environment variables GDK3_CFLAGS
15523
and GDK3_LIBS to avoid the need to call pkg-config.
15524
See the pkg-config man page for more details." "$LINENO" 5
15526
elif test $pkg_failed = untried; then
15527
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15528
$as_echo "no" >&6; }
15529
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15530
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15531
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
15532
is in your PATH or set the PKG_CONFIG environment variable to the full
15533
path to pkg-config.
15535
Alternatively, you may set the environment variables GDK3_CFLAGS
15536
and GDK3_LIBS to avoid the need to call pkg-config.
15537
See the pkg-config man page for more details.
15539
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15540
See \`config.log' for more details" "$LINENO" 5; }
15543
GDK3_CFLAGS=$pkg_cv_GDK3_CFLAGS
15544
GDK3_LIBS=$pkg_cv_GDK3_LIBS
15545
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15546
$as_echo "yes" >&6; }
15550
enable_gtk3="no (disabled, use --enable-gtk3 to enable)"
15553
if test x"$enable_xim" = x"yes"; then
15557
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11" >&5
15558
$as_echo_n "checking for X11... " >&6; }
15560
if test -n "$X11_CFLAGS"; then
15561
pkg_cv_X11_CFLAGS="$X11_CFLAGS"
15562
elif test -n "$PKG_CONFIG"; then
15563
if test -n "$PKG_CONFIG" && \
15564
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15567
($PKG_CONFIG --exists --print-errors "
15571
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15572
test $ac_status = 0; }; then
15573
pkg_cv_X11_CFLAGS=`$PKG_CONFIG --cflags "
15582
if test -n "$X11_LIBS"; then
15583
pkg_cv_X11_LIBS="$X11_LIBS"
15584
elif test -n "$PKG_CONFIG"; then
15585
if test -n "$PKG_CONFIG" && \
15586
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15589
($PKG_CONFIG --exists --print-errors "
15593
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15594
test $ac_status = 0; }; then
15595
pkg_cv_X11_LIBS=`$PKG_CONFIG --libs "
15607
if test $pkg_failed = yes; then
15608
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15609
$as_echo "no" >&6; }
15611
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15612
_pkg_short_errors_supported=yes
15614
_pkg_short_errors_supported=no
15616
if test $_pkg_short_errors_supported = yes; then
15617
X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
15621
X11_PKG_ERRORS=`$PKG_CONFIG --print-errors "
15625
# Put the nasty error message in config.log where it belongs
15626
echo "$X11_PKG_ERRORS" >&5
15628
as_fn_error $? "Package requirements (
15634
Consider adjusting the PKG_CONFIG_PATH environment variable if you
15635
installed software in a non-standard prefix.
15637
Alternatively, you may set the environment variables X11_CFLAGS
15638
and X11_LIBS to avoid the need to call pkg-config.
15639
See the pkg-config man page for more details." "$LINENO" 5
15641
elif test $pkg_failed = untried; then
15642
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15643
$as_echo "no" >&6; }
15644
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15645
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15646
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
15647
is in your PATH or set the PKG_CONFIG environment variable to the full
15648
path to pkg-config.
15650
Alternatively, you may set the environment variables X11_CFLAGS
15651
and X11_LIBS to avoid the need to call pkg-config.
15652
See the pkg-config man page for more details.
15654
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15655
See \`config.log' for more details" "$LINENO" 5; }
15658
X11_CFLAGS=$pkg_cv_X11_CFLAGS
15659
X11_LIBS=$pkg_cv_X11_LIBS
15660
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15661
$as_echo "yes" >&6; }
15664
for ac_header in X11/XKBlib.h
15666
ac_fn_c_check_header_mongrel "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "$ac_includes_default"
15667
if test "x$ac_cv_header_X11_XKBlib_h" = xyes; then :
15668
cat >>confdefs.h <<_ACEOF
15669
#define HAVE_X11_XKBLIB_H 1
15677
enable_xim="no (disabled, use --enable-xim to enable)"
15680
# GObject introspection
15684
# Check whether --enable-introspection was given.
15685
if test "${enable_introspection+set}" = set; then :
15686
enableval=$enable_introspection;
15688
enable_introspection=auto
15692
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5
15693
$as_echo_n "checking for gobject-introspection... " >&6; }
15695
case $enable_introspection in #(
15697
found_introspection="no (disabled, use --enable-introspection to enable)"
15700
if test -n "$PKG_CONFIG" && \
15701
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5
15702
($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5
15704
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15705
test $ac_status = 0; }; then
15708
as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5
15710
if test -n "$PKG_CONFIG" && \
15711
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.6.8\""; } >&5
15712
($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.6.8") 2>&5
15714
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15715
test $ac_status = 0; }; then
15716
found_introspection=yes
15718
as_fn_error $? "You need to have gobject-introspection >= 0.6.8 installed to build ibus" "$LINENO" 5
15722
if test -n "$PKG_CONFIG" && \
15723
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.6.8\""; } >&5
15724
($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.6.8") 2>&5
15726
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15727
test $ac_status = 0; }; then
15728
found_introspection=yes
15730
found_introspection=no
15734
as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5
15737
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5
15738
$as_echo "$found_introspection" >&6; }
15740
INTROSPECTION_SCANNER=
15741
INTROSPECTION_COMPILER=
15742
INTROSPECTION_GENERATE=
15743
INTROSPECTION_GIRDIR=
15744
INTROSPECTION_TYPELIBDIR=
15745
if test "x$found_introspection" = "xyes"; then
15746
INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
15747
INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
15748
INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
15749
INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
15750
INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
15751
INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
15752
INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
15753
INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
15764
if test "x$found_introspection" = "xyes"; then
15765
HAVE_INTROSPECTION_TRUE=
15766
HAVE_INTROSPECTION_FALSE='#'
15768
HAVE_INTROSPECTION_TRUE='#'
15769
HAVE_INTROSPECTION_FALSE=
15775
IBUS_GIR_SCANNERFLAGS=
15776
if test x"$found_introspection" = x"yes" ; then
15777
IBUS_GIR_SCANNERFLAGS="--identifier-prefix=IBus --symbol-prefix=ibus"
15778
if test -n "$PKG_CONFIG" && \
15779
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.9.6\""; } >&5
15780
($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.9.6") 2>&5
15782
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15783
test $ac_status = 0; }; then
15784
gir_symbol_prefix=yes
15786
gir_symbol_prefix=no
15788
if test x"$gir_symbol_prefix" = x"no" ; then
15789
IBUS_GIR_SCANNERFLAGS="--strip-prefix=IBus"
15794
# Check for gtk-doc.
15797
# Extract the first word of "gtkdoc-check", so it can be a program name with args.
15798
set dummy gtkdoc-check; ac_word=$2
15799
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15800
$as_echo_n "checking for $ac_word... " >&6; }
15801
if ${ac_cv_path_GTKDOC_CHECK+:} false; then :
15802
$as_echo_n "(cached) " >&6
15804
case $GTKDOC_CHECK in
15806
ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
15809
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15810
for as_dir in $PATH
15813
test -z "$as_dir" && as_dir=.
15814
for ac_exec_ext in '' $ac_executable_extensions; do
15815
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15816
ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
15817
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15827
GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
15828
if test -n "$GTKDOC_CHECK"; then
15829
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
15830
$as_echo "$GTKDOC_CHECK" >&6; }
15832
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15833
$as_echo "no" >&6; }
15837
for ac_prog in gtkdoc-rebase
15839
# Extract the first word of "$ac_prog", so it can be a program name with args.
15840
set dummy $ac_prog; ac_word=$2
15841
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15842
$as_echo_n "checking for $ac_word... " >&6; }
15843
if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
15844
$as_echo_n "(cached) " >&6
15846
case $GTKDOC_REBASE in
15848
ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
15851
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15852
for as_dir in $PATH
15855
test -z "$as_dir" && as_dir=.
15856
for ac_exec_ext in '' $ac_executable_extensions; do
15857
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15858
ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
15859
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15869
GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
15870
if test -n "$GTKDOC_REBASE"; then
15871
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
15872
$as_echo "$GTKDOC_REBASE" >&6; }
15874
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15875
$as_echo "no" >&6; }
15879
test -n "$GTKDOC_REBASE" && break
15881
test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
15883
# Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
15884
set dummy gtkdoc-mkpdf; ac_word=$2
15885
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15886
$as_echo_n "checking for $ac_word... " >&6; }
15887
if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
15888
$as_echo_n "(cached) " >&6
15890
case $GTKDOC_MKPDF in
15892
ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
15895
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15896
for as_dir in $PATH
15899
test -z "$as_dir" && as_dir=.
15900
for ac_exec_ext in '' $ac_executable_extensions; do
15901
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15902
ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
15903
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15913
GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
15914
if test -n "$GTKDOC_MKPDF"; then
15915
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
15916
$as_echo "$GTKDOC_MKPDF" >&6; }
15918
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15919
$as_echo "no" >&6; }
15925
# Check whether --with-html-dir was given.
15926
if test "${with_html_dir+set}" = set; then :
15927
withval=$with_html_dir;
15929
with_html_dir='${datadir}/gtk-doc/html'
15932
HTML_DIR="$with_html_dir"
15935
# Check whether --enable-gtk-doc was given.
15936
if test "${enable_gtk_doc+set}" = set; then :
15937
enableval=$enable_gtk_doc;
15943
if test x$enable_gtk_doc = xyes; then
15944
if test -n "$PKG_CONFIG" && \
15945
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.9\""; } >&5
15946
($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.9") 2>&5
15948
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15949
test $ac_status = 0; }; then
15952
as_fn_error $? "You need to have gtk-doc >= 1.9 installed to build $PACKAGE_NAME" "$LINENO" 5
15956
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
15957
$as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
15958
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
15959
$as_echo "$enable_gtk_doc" >&6; }
15961
# Check whether --enable-gtk-doc-html was given.
15962
if test "${enable_gtk_doc_html+set}" = set; then :
15963
enableval=$enable_gtk_doc_html;
15965
enable_gtk_doc_html=yes
15968
# Check whether --enable-gtk-doc-pdf was given.
15969
if test "${enable_gtk_doc_pdf+set}" = set; then :
15970
enableval=$enable_gtk_doc_pdf;
15972
enable_gtk_doc_pdf=no
15976
if test -z "$GTKDOC_MKPDF"; then
15977
enable_gtk_doc_pdf=no
15981
if test x$enable_gtk_doc = xyes; then
15982
ENABLE_GTK_DOC_TRUE=
15983
ENABLE_GTK_DOC_FALSE='#'
15985
ENABLE_GTK_DOC_TRUE='#'
15986
ENABLE_GTK_DOC_FALSE=
15989
if test x$enable_gtk_doc_html = xyes; then
15990
GTK_DOC_BUILD_HTML_TRUE=
15991
GTK_DOC_BUILD_HTML_FALSE='#'
15993
GTK_DOC_BUILD_HTML_TRUE='#'
15994
GTK_DOC_BUILD_HTML_FALSE=
15997
if test x$enable_gtk_doc_pdf = xyes; then
15998
GTK_DOC_BUILD_PDF_TRUE=
15999
GTK_DOC_BUILD_PDF_FALSE='#'
16001
GTK_DOC_BUILD_PDF_TRUE='#'
16002
GTK_DOC_BUILD_PDF_FALSE=
16005
if test -n "$LIBTOOL"; then
16006
GTK_DOC_USE_LIBTOOL_TRUE=
16007
GTK_DOC_USE_LIBTOOL_FALSE='#'
16009
GTK_DOC_USE_LIBTOOL_TRUE='#'
16010
GTK_DOC_USE_LIBTOOL_FALSE=
16013
if test -n "$GTKDOC_REBASE"; then
16014
GTK_DOC_USE_REBASE_TRUE=
16015
GTK_DOC_USE_REBASE_FALSE='#'
16017
GTK_DOC_USE_REBASE_TRUE='#'
16018
GTK_DOC_USE_REBASE_FALSE=
16022
if test x"$enable_gtk_doc" = x"no"; then
16023
enable_gtk_doc="no (disabled, use --enable-gtk-doc to enable)"
16029
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5
16030
$as_echo_n "checking for DBUS... " >&6; }
16032
if test -n "$DBUS_CFLAGS"; then
16033
pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
16034
elif test -n "$PKG_CONFIG"; then
16035
if test -n "$PKG_CONFIG" && \
16036
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
16039
($PKG_CONFIG --exists --print-errors "
16043
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16044
test $ac_status = 0; }; then
16045
pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "
16054
if test -n "$DBUS_LIBS"; then
16055
pkg_cv_DBUS_LIBS="$DBUS_LIBS"
16056
elif test -n "$PKG_CONFIG"; then
16057
if test -n "$PKG_CONFIG" && \
16058
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
16061
($PKG_CONFIG --exists --print-errors "
16065
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16066
test $ac_status = 0; }; then
16067
pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "
16079
if test $pkg_failed = yes; then
16080
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16081
$as_echo "no" >&6; }
16083
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16084
_pkg_short_errors_supported=yes
16086
_pkg_short_errors_supported=no
16088
if test $_pkg_short_errors_supported = yes; then
16089
DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
16093
DBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors "
16097
# Put the nasty error message in config.log where it belongs
16098
echo "$DBUS_PKG_ERRORS" >&5
16100
as_fn_error $? "Package requirements (
16106
Consider adjusting the PKG_CONFIG_PATH environment variable if you
16107
installed software in a non-standard prefix.
16109
Alternatively, you may set the environment variables DBUS_CFLAGS
16110
and DBUS_LIBS to avoid the need to call pkg-config.
16111
See the pkg-config man page for more details." "$LINENO" 5
16113
elif test $pkg_failed = untried; then
16114
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16115
$as_echo "no" >&6; }
16116
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16117
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16118
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
16119
is in your PATH or set the PKG_CONFIG environment variable to the full
16120
path to pkg-config.
16122
Alternatively, you may set the environment variables DBUS_CFLAGS
16123
and DBUS_LIBS to avoid the need to call pkg-config.
16124
See the pkg-config man page for more details.
16126
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16127
See \`config.log' for more details" "$LINENO" 5; }
16130
DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
16131
DBUS_LIBS=$pkg_cv_DBUS_LIBS
16132
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16133
$as_echo "yes" >&6; }
16137
# --disable-gconf option.
16138
# Check whether --enable-gconf was given.
16139
if test "${enable_gconf+set}" = set; then :
16140
enableval=$enable_gconf; enable_gconf=$enableval
16146
if test x"$enable_gconf" = x"yes"; then
16148
ENABLE_GCONF_FALSE='#'
16150
ENABLE_GCONF_TRUE='#'
16151
ENABLE_GCONF_FALSE=
16155
if test x"$enable_gconf" = x"yes"; then
16159
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GCONF" >&5
16160
$as_echo_n "checking for GCONF... " >&6; }
16162
if test -n "$GCONF_CFLAGS"; then
16163
pkg_cv_GCONF_CFLAGS="$GCONF_CFLAGS"
16164
elif test -n "$PKG_CONFIG"; then
16165
if test -n "$PKG_CONFIG" && \
16166
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gconf-2.0 >= 2.12\""; } >&5
16167
($PKG_CONFIG --exists --print-errors "gconf-2.0 >= 2.12") 2>&5
16169
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16170
test $ac_status = 0; }; then
16171
pkg_cv_GCONF_CFLAGS=`$PKG_CONFIG --cflags "gconf-2.0 >= 2.12" 2>/dev/null`
16178
if test -n "$GCONF_LIBS"; then
16179
pkg_cv_GCONF_LIBS="$GCONF_LIBS"
16180
elif test -n "$PKG_CONFIG"; then
16181
if test -n "$PKG_CONFIG" && \
16182
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gconf-2.0 >= 2.12\""; } >&5
16183
($PKG_CONFIG --exists --print-errors "gconf-2.0 >= 2.12") 2>&5
16185
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16186
test $ac_status = 0; }; then
16187
pkg_cv_GCONF_LIBS=`$PKG_CONFIG --libs "gconf-2.0 >= 2.12" 2>/dev/null`
16197
if test $pkg_failed = yes; then
16198
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16199
$as_echo "no" >&6; }
16201
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16202
_pkg_short_errors_supported=yes
16204
_pkg_short_errors_supported=no
16206
if test $_pkg_short_errors_supported = yes; then
16207
GCONF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gconf-2.0 >= 2.12" 2>&1`
16209
GCONF_PKG_ERRORS=`$PKG_CONFIG --print-errors "gconf-2.0 >= 2.12" 2>&1`
16211
# Put the nasty error message in config.log where it belongs
16212
echo "$GCONF_PKG_ERRORS" >&5
16214
as_fn_error $? "Package requirements (gconf-2.0 >= 2.12) were not met:
16218
Consider adjusting the PKG_CONFIG_PATH environment variable if you
16219
installed software in a non-standard prefix.
16221
Alternatively, you may set the environment variables GCONF_CFLAGS
16222
and GCONF_LIBS to avoid the need to call pkg-config.
16223
See the pkg-config man page for more details." "$LINENO" 5
16225
elif test $pkg_failed = untried; then
16226
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16227
$as_echo "no" >&6; }
16228
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16229
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16230
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
16231
is in your PATH or set the PKG_CONFIG environment variable to the full
16232
path to pkg-config.
16234
Alternatively, you may set the environment variables GCONF_CFLAGS
16235
and GCONF_LIBS to avoid the need to call pkg-config.
16236
See the pkg-config man page for more details.
16238
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16239
See \`config.log' for more details" "$LINENO" 5; }
16242
GCONF_CFLAGS=$pkg_cv_GCONF_CFLAGS
16243
GCONF_LIBS=$pkg_cv_GCONF_LIBS
16244
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16245
$as_echo "yes" >&6; }
16249
# Extract the first word of "gconftool-2", so it can be a program name with args.
16250
set dummy gconftool-2; ac_word=$2
16251
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16252
$as_echo_n "checking for $ac_word... " >&6; }
16253
if ${ac_cv_path_GCONFTOOL+:} false; then :
16254
$as_echo_n "(cached) " >&6
16258
ac_cv_path_GCONFTOOL="$GCONFTOOL" # Let the user override the test with a path.
16261
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16262
for as_dir in $PATH
16265
test -z "$as_dir" && as_dir=.
16266
for ac_exec_ext in '' $ac_executable_extensions; do
16267
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16268
ac_cv_path_GCONFTOOL="$as_dir/$ac_word$ac_exec_ext"
16269
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16276
test -z "$ac_cv_path_GCONFTOOL" && ac_cv_path_GCONFTOOL="no"
16280
GCONFTOOL=$ac_cv_path_GCONFTOOL
16281
if test -n "$GCONFTOOL"; then
16282
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCONFTOOL" >&5
16283
$as_echo "$GCONFTOOL" >&6; }
16285
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16286
$as_echo "no" >&6; }
16290
if test x"$GCONFTOOL" = xno; then
16291
as_fn_error $? "gconftool-2 executable not found in your path - should be installed with GConf" "$LINENO" 5
16295
if test "x$GCONF_SCHEMA_INSTALL_SOURCE" = "x"; then
16296
GCONF_SCHEMA_CONFIG_SOURCE=`gconftool-2 --get-default-source`
16298
GCONF_SCHEMA_CONFIG_SOURCE=$GCONF_SCHEMA_INSTALL_SOURCE
16302
# Check whether --with-gconf-source was given.
16303
if test "${with_gconf_source+set}" = set; then :
16304
withval=$with_gconf_source; GCONF_SCHEMA_CONFIG_SOURCE="$withval"
16309
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&5
16310
$as_echo "Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&6; }
16312
if test "x$GCONF_SCHEMA_FILE_DIR" = "x"; then
16313
GCONF_SCHEMA_FILE_DIR='$(sysconfdir)/gconf/schemas'
16317
# Check whether --with-gconf-schema-file-dir was given.
16318
if test "${with_gconf_schema_file_dir+set}" = set; then :
16319
withval=$with_gconf_schema_file_dir; GCONF_SCHEMA_FILE_DIR="$withval"
16324
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&5
16325
$as_echo "Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&6; }
16327
# Check whether --enable-schemas-install was given.
16328
if test "${enable_schemas_install+set}" = set; then :
16329
enableval=$enable_schemas_install; case ${enableval} in
16331
*) as_fn_error $? "bad value ${enableval} for --enable-schemas-install" "$LINENO" 5 ;;
16335
if test "$enable_schemas_install" != no; then
16336
GCONF_SCHEMAS_INSTALL_TRUE=
16337
GCONF_SCHEMAS_INSTALL_FALSE='#'
16339
GCONF_SCHEMAS_INSTALL_TRUE='#'
16340
GCONF_SCHEMAS_INSTALL_FALSE=
16344
# GCONF_SCHEMAS_INSTALL should be set in macro AM_GCONF_SOURCE_2
16347
GCONF_SCHEMAS_INSTALL_TRUE=
16348
GCONF_SCHEMAS_INSTALL_FALSE='#'
16350
GCONF_SCHEMAS_INSTALL_TRUE='#'
16351
GCONF_SCHEMAS_INSTALL_FALSE=
16354
enable_gconf="no (disabled, use --enable-gconf to enable)"
16357
# --enable-memconf option.
16358
# Check whether --enable-memconf was given.
16359
if test "${enable_memconf+set}" = set; then :
16360
enableval=$enable_memconf; enable_memconf=$enableval
16366
if test "x$enable_memconf" = "xyes"; then
16367
ENABLE_MEMCONF_TRUE=
16368
ENABLE_MEMCONF_FALSE='#'
16370
ENABLE_MEMCONF_TRUE='#'
16371
ENABLE_MEMCONF_FALSE=
16375
# Check whether --enable-dconf was given.
16376
if test "${enable_dconf+set}" = set; then :
16377
enableval=$enable_dconf; enable_dconf=$enableval
16384
if test x"$enable_dconf" = x"yes"; then
16388
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DCONF" >&5
16389
$as_echo_n "checking for DCONF... " >&6; }
16391
if test -n "$DCONF_CFLAGS"; then
16392
pkg_cv_DCONF_CFLAGS="$DCONF_CFLAGS"
16393
elif test -n "$PKG_CONFIG"; then
16394
if test -n "$PKG_CONFIG" && \
16395
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dconf >= 0.7.5\""; } >&5
16396
($PKG_CONFIG --exists --print-errors "dconf >= 0.7.5") 2>&5
16398
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16399
test $ac_status = 0; }; then
16400
pkg_cv_DCONF_CFLAGS=`$PKG_CONFIG --cflags "dconf >= 0.7.5" 2>/dev/null`
16407
if test -n "$DCONF_LIBS"; then
16408
pkg_cv_DCONF_LIBS="$DCONF_LIBS"
16409
elif test -n "$PKG_CONFIG"; then
16410
if test -n "$PKG_CONFIG" && \
16411
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dconf >= 0.7.5\""; } >&5
16412
($PKG_CONFIG --exists --print-errors "dconf >= 0.7.5") 2>&5
16414
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16415
test $ac_status = 0; }; then
16416
pkg_cv_DCONF_LIBS=`$PKG_CONFIG --libs "dconf >= 0.7.5" 2>/dev/null`
16426
if test $pkg_failed = yes; then
16427
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16428
$as_echo "no" >&6; }
16430
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16431
_pkg_short_errors_supported=yes
16433
_pkg_short_errors_supported=no
16435
if test $_pkg_short_errors_supported = yes; then
16436
DCONF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "dconf >= 0.7.5" 2>&1`
16438
DCONF_PKG_ERRORS=`$PKG_CONFIG --print-errors "dconf >= 0.7.5" 2>&1`
16440
# Put the nasty error message in config.log where it belongs
16441
echo "$DCONF_PKG_ERRORS" >&5
16445
elif test $pkg_failed = untried; then
16446
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16447
$as_echo "no" >&6; }
16451
DCONF_CFLAGS=$pkg_cv_DCONF_CFLAGS
16452
DCONF_LIBS=$pkg_cv_DCONF_LIBS
16453
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16454
$as_echo "yes" >&6; }
16457
# check glib-compile-schemas
16460
# Check whether --enable-schemas-compile was given.
16461
if test "${enable_schemas_compile+set}" = set; then :
16462
enableval=$enable_schemas_compile; case ${enableval} in
16463
yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE="" ;;
16464
no) GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;;
16465
*) as_fn_error $? "bad value ${enableval} for --enable-schemas-compile" "$LINENO" 5 ;;
16476
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
16477
if test -n "$ac_tool_prefix"; then
16478
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
16479
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
16480
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16481
$as_echo_n "checking for $ac_word... " >&6; }
16482
if ${ac_cv_path_PKG_CONFIG+:} false; then :
16483
$as_echo_n "(cached) " >&6
16485
case $PKG_CONFIG in
16487
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
16490
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16491
for as_dir in $PATH
16494
test -z "$as_dir" && as_dir=.
16495
for ac_exec_ext in '' $ac_executable_extensions; do
16496
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16497
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
16498
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16508
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
16509
if test -n "$PKG_CONFIG"; then
16510
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
16511
$as_echo "$PKG_CONFIG" >&6; }
16513
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16514
$as_echo "no" >&6; }
16519
if test -z "$ac_cv_path_PKG_CONFIG"; then
16520
ac_pt_PKG_CONFIG=$PKG_CONFIG
16521
# Extract the first word of "pkg-config", so it can be a program name with args.
16522
set dummy pkg-config; ac_word=$2
16523
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16524
$as_echo_n "checking for $ac_word... " >&6; }
16525
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
16526
$as_echo_n "(cached) " >&6
16528
case $ac_pt_PKG_CONFIG in
16530
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
16533
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16534
for as_dir in $PATH
16537
test -z "$as_dir" && as_dir=.
16538
for ac_exec_ext in '' $ac_executable_extensions; do
16539
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16540
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
16541
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16551
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
16552
if test -n "$ac_pt_PKG_CONFIG"; then
16553
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
16554
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
16556
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16557
$as_echo "no" >&6; }
16560
if test "x$ac_pt_PKG_CONFIG" = x; then
16563
case $cross_compiling:$ac_tool_warned in
16565
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16566
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16567
ac_tool_warned=yes ;;
16569
PKG_CONFIG=$ac_pt_PKG_CONFIG
16572
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
16576
if test -n "$PKG_CONFIG"; then
16577
_pkg_min_version=0.16
16578
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
16579
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
16580
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
16581
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16582
$as_echo "yes" >&6; }
16584
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16585
$as_echo "no" >&6; }
16589
gsettingsschemadir=${datadir}/glib-2.0/schemas
16591
if test x$cross_compiling != xyes; then
16592
GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable glib_compile_schemas gio-2.0`
16594
# Extract the first word of "glib-compile-schemas", so it can be a program name with args.
16595
set dummy glib-compile-schemas; ac_word=$2
16596
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16597
$as_echo_n "checking for $ac_word... " >&6; }
16598
if ${ac_cv_path_GLIB_COMPILE_SCHEMAS+:} false; then :
16599
$as_echo_n "(cached) " >&6
16601
case $GLIB_COMPILE_SCHEMAS in
16603
ac_cv_path_GLIB_COMPILE_SCHEMAS="$GLIB_COMPILE_SCHEMAS" # Let the user override the test with a path.
16606
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16607
for as_dir in $PATH
16610
test -z "$as_dir" && as_dir=.
16611
for ac_exec_ext in '' $ac_executable_extensions; do
16612
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16613
ac_cv_path_GLIB_COMPILE_SCHEMAS="$as_dir/$ac_word$ac_exec_ext"
16614
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16624
GLIB_COMPILE_SCHEMAS=$ac_cv_path_GLIB_COMPILE_SCHEMAS
16625
if test -n "$GLIB_COMPILE_SCHEMAS"; then
16626
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_COMPILE_SCHEMAS" >&5
16627
$as_echo "$GLIB_COMPILE_SCHEMAS" >&6; }
16629
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16630
$as_echo "no" >&6; }
16636
if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then
16637
as_fn_error $? "glib-compile-schemas not found." "$LINENO" 5
16643
.PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas
16645
mostlyclean-am: clean-gsettings-schemas
16647
gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE))
16649
%.gschema.valid: %.gschema.xml $(gsettings__enum_file)
16650
$(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 $@
16652
all-am: $(gsettings_SCHEMAS:.xml=.valid)
16653
uninstall-am: uninstall-gsettings-schemas
16654
install-data-am: install-gsettings-schemas
16656
.SECONDARY: $(gsettings_SCHEMAS)
16658
install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file)
16660
if test -n "$^"; then \
16661
test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"; \
16662
$(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"; \
16663
test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); \
16666
uninstall-gsettings-schemas:
16667
@$(NORMAL_UNINSTALL)
16668
@list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \
16669
files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \
16670
test -n "$$files" || exit 0; \
16671
echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \
16672
cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files
16673
test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir)
16675
clean-gsettings-schemas:
16676
rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file)
16678
ifdef gsettings_ENUM_NAMESPACE
16679
$(gsettings__enum_file): $(gsettings_ENUM_FILES)
16680
$(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 $@
16690
if test x"$enable_dconf" = x"yes"; then
16692
ENABLE_DCONF_FALSE='#'
16694
ENABLE_DCONF_TRUE='#'
16695
ENABLE_DCONF_FALSE=
16700
# Extract the first word of "env", so it can be a program name with args.
16701
set dummy env; ac_word=$2
16702
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16703
$as_echo_n "checking for $ac_word... " >&6; }
16704
if ${ac_cv_path_ENV_IBUS_TEST+:} false; then :
16705
$as_echo_n "(cached) " >&6
16707
case $ENV_IBUS_TEST in
16709
ac_cv_path_ENV_IBUS_TEST="$ENV_IBUS_TEST" # Let the user override the test with a path.
16712
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16713
for as_dir in $PATH
16716
test -z "$as_dir" && as_dir=.
16717
for ac_exec_ext in '' $ac_executable_extensions; do
16718
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16719
ac_cv_path_ENV_IBUS_TEST="$as_dir/$ac_word$ac_exec_ext"
16720
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16730
ENV_IBUS_TEST=$ac_cv_path_ENV_IBUS_TEST
16731
if test -n "$ENV_IBUS_TEST"; then
16732
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ENV_IBUS_TEST" >&5
16733
$as_echo "$ENV_IBUS_TEST" >&6; }
16735
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16736
$as_echo "no" >&6; }
16742
# Check whether --enable-python was given.
16743
if test "${enable_python+set}" = set; then :
16744
enableval=$enable_python; enable_python=$enableval
16751
if test x"$enable_python" = x"yes"; then
16752
ENABLE_PYTHON_TRUE=
16753
ENABLE_PYTHON_FALSE='#'
16755
ENABLE_PYTHON_TRUE='#'
16756
ENABLE_PYTHON_FALSE=
16760
ENABLE_DAEMON_TRUE=
16761
ENABLE_DAEMON_FALSE='#'
16763
ENABLE_DAEMON_TRUE='#'
16764
ENABLE_DAEMON_FALSE=
16768
if test x"$enable_python" = x"yes"; then
16774
if test -n "$PYTHON"; then
16775
# If the user set $PYTHON, use it and don't search something else.
16776
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version >= 2.5" >&5
16777
$as_echo_n "checking whether $PYTHON version >= 2.5... " >&6; }
16779
# split strings by '.' and convert to numeric. Append some zeros
16780
# because we need at least 4 digits for the hex conversion.
16781
# map returns an iterator in Python 3.0 and a list in 2.x
16782
minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
16784
# xrange is not present in Python 3.0 and range returns an iterator
16785
for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
16786
sys.exit(sys.hexversion < minverhex)"
16787
if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
16788
($PYTHON -c "$prog") >&5 2>&5
16790
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16791
(exit $ac_status); }; then :
16792
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16793
$as_echo "yes" >&6; }
16795
as_fn_error $? "too old" "$LINENO" 5
16797
am_display_PYTHON=$PYTHON
16799
# Otherwise, try each interpreter until we find one that satisfies
16801
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.5" >&5
16802
$as_echo_n "checking for a Python interpreter with version >= 2.5... " >&6; }
16803
if ${am_cv_pathless_PYTHON+:} false; then :
16804
$as_echo_n "(cached) " >&6
16807
for am_cv_pathless_PYTHON in python python2 python3 python3.0 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 none; do
16808
test "$am_cv_pathless_PYTHON" = none && break
16810
# split strings by '.' and convert to numeric. Append some zeros
16811
# because we need at least 4 digits for the hex conversion.
16812
# map returns an iterator in Python 3.0 and a list in 2.x
16813
minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
16815
# xrange is not present in Python 3.0 and range returns an iterator
16816
for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
16817
sys.exit(sys.hexversion < minverhex)"
16818
if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
16819
($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
16821
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16822
(exit $ac_status); }; then :
16827
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
16828
$as_echo "$am_cv_pathless_PYTHON" >&6; }
16829
# Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
16830
if test "$am_cv_pathless_PYTHON" = none; then
16833
# Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
16834
set dummy $am_cv_pathless_PYTHON; ac_word=$2
16835
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16836
$as_echo_n "checking for $ac_word... " >&6; }
16837
if ${ac_cv_path_PYTHON+:} false; then :
16838
$as_echo_n "(cached) " >&6
16842
ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
16845
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16846
for as_dir in $PATH
16849
test -z "$as_dir" && as_dir=.
16850
for ac_exec_ext in '' $ac_executable_extensions; do
16851
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16852
ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
16853
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16863
PYTHON=$ac_cv_path_PYTHON
16864
if test -n "$PYTHON"; then
16865
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
16866
$as_echo "$PYTHON" >&6; }
16868
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16869
$as_echo "no" >&6; }
16874
am_display_PYTHON=$am_cv_pathless_PYTHON
16878
if test "$PYTHON" = :; then
16879
as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5
16883
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
16884
$as_echo_n "checking for $am_display_PYTHON version... " >&6; }
16885
if ${am_cv_python_version+:} false; then :
16886
$as_echo_n "(cached) " >&6
16888
am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
16890
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
16891
$as_echo "$am_cv_python_version" >&6; }
16892
PYTHON_VERSION=$am_cv_python_version
16896
PYTHON_PREFIX='${prefix}'
16898
PYTHON_EXEC_PREFIX='${exec_prefix}'
16902
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
16903
$as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
16904
if ${am_cv_python_platform+:} false; then :
16905
$as_echo_n "(cached) " >&6
16907
am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
16909
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
16910
$as_echo "$am_cv_python_platform" >&6; }
16911
PYTHON_PLATFORM=$am_cv_python_platform
16916
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
16917
$as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
16918
if ${am_cv_python_pythondir+:} false; then :
16919
$as_echo_n "(cached) " >&6
16921
if test "x$prefix" = xNONE
16923
am_py_prefix=$ac_default_prefix
16925
am_py_prefix=$prefix
16927
am_cv_python_pythondir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(0,0,prefix='$am_py_prefix'))" 2>/dev/null ||
16928
echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
16929
case $am_cv_python_pythondir in
16931
am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
16932
am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
16935
case $am_py_prefix in
16938
am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
16945
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
16946
$as_echo "$am_cv_python_pythondir" >&6; }
16947
pythondir=$am_cv_python_pythondir
16951
pkgpythondir=\${pythondir}/$PACKAGE
16954
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
16955
$as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
16956
if ${am_cv_python_pyexecdir+:} false; then :
16957
$as_echo_n "(cached) " >&6
16959
if test "x$exec_prefix" = xNONE
16961
am_py_exec_prefix=$am_py_prefix
16963
am_py_exec_prefix=$exec_prefix
16965
am_cv_python_pyexecdir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(1,0,prefix='$am_py_exec_prefix'))" 2>/dev/null ||
16966
echo "$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
16967
case $am_cv_python_pyexecdir in
16968
$am_py_exec_prefix*)
16969
am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
16970
am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
16973
case $am_py_exec_prefix in
16976
am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
16983
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
16984
$as_echo "$am_cv_python_pyexecdir" >&6; }
16985
pyexecdir=$am_cv_python_pyexecdir
16989
pkgpyexecdir=\${pyexecdir}/$PACKAGE
16996
# Extract the first word of "python$PYTHON_VERSION-config", so it can be a program name with args.
16997
set dummy python$PYTHON_VERSION-config; ac_word=$2
16998
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16999
$as_echo_n "checking for $ac_word... " >&6; }
17000
if ${ac_cv_path_PYTHON_CONFIG+:} false; then :
17001
$as_echo_n "(cached) " >&6
17003
case $PYTHON_CONFIG in
17005
ac_cv_path_PYTHON_CONFIG="$PYTHON_CONFIG" # Let the user override the test with a path.
17008
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17009
for as_dir in $PATH
17012
test -z "$as_dir" && as_dir=.
17013
for ac_exec_ext in '' $ac_executable_extensions; do
17014
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17015
ac_cv_path_PYTHON_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17016
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17026
PYTHON_CONFIG=$ac_cv_path_PYTHON_CONFIG
17027
if test -n "$PYTHON_CONFIG"; then
17028
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_CONFIG" >&5
17029
$as_echo "$PYTHON_CONFIG" >&6; }
17031
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17032
$as_echo "no" >&6; }
17036
if test x"$PYTHON_CONFIG" = x""; then
17037
# Extract the first word of "python-config", so it can be a program name with args.
17038
set dummy python-config; ac_word=$2
17039
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17040
$as_echo_n "checking for $ac_word... " >&6; }
17041
if ${ac_cv_path_PYTHON_CONFIG+:} false; then :
17042
$as_echo_n "(cached) " >&6
17044
case $PYTHON_CONFIG in
17046
ac_cv_path_PYTHON_CONFIG="$PYTHON_CONFIG" # Let the user override the test with a path.
17049
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17050
for as_dir in $PATH
17053
test -z "$as_dir" && as_dir=.
17054
for ac_exec_ext in '' $ac_executable_extensions; do
17055
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17056
ac_cv_path_PYTHON_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17057
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17067
PYTHON_CONFIG=$ac_cv_path_PYTHON_CONFIG
17068
if test -n "$PYTHON_CONFIG"; then
17069
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_CONFIG" >&5
17070
$as_echo "$PYTHON_CONFIG" >&6; }
17072
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17073
$as_echo "no" >&6; }
17078
if test x"$PYTHON_CONFIG" != x""; then
17079
PYTHON_CFLAGS=`$PYTHON_CONFIG --includes`
17080
PYTHON_LIBS=`$PYTHON_CONFIG --libs`
17082
PYTHON_CFLAGS=`$PYTHON $srcdir/python-config.py --includes`
17083
PYTHON_LIBS=`$PYTHON $srcdir/python-config.py --libs`
17085
PYTHON_INCLUDES="$PYTHON_CFLAGS"
17090
enable_python="no (disabled, use --enable-python to enable)"
17093
# Define gtk2 immodule dir.
17095
# Check whether --with-gtk2-im-module-dir was given.
17096
if test "${with_gtk2_im_module_dir+set}" = set; then :
17097
withval=$with_gtk2_im_module_dir; GTK2_IM_MODULEDIR=$with_gtk2_im_module_dir
17103
# Define gtk3 immodule dir.
17105
# Check whether --with-gtk3-im-module-dir was given.
17106
if test "${with_gtk3_im_module_dir+set}" = set; then :
17107
withval=$with_gtk3_im_module_dir; GTK3_IM_MODULEDIR=$with_gtk3_im_module_dir
17113
if test x"$enable_python" = x"yes"; then
17114
# Check for dbus-python.
17115
# Check whether --enable-dbus-python-check was given.
17116
if test "${enable_dbus_python_check+set}" = set; then :
17117
enableval=$enable_dbus_python_check; enable_dbus_python_check=$enableval
17119
enable_dbus_python_check=yes
17125
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS_PYTHON" >&5
17126
$as_echo_n "checking for DBUS_PYTHON... " >&6; }
17128
if test -n "$DBUS_PYTHON_CFLAGS"; then
17129
pkg_cv_DBUS_PYTHON_CFLAGS="$DBUS_PYTHON_CFLAGS"
17130
elif test -n "$PKG_CONFIG"; then
17131
if test -n "$PKG_CONFIG" && \
17132
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-python >= 0.83.0\""; } >&5
17133
($PKG_CONFIG --exists --print-errors "dbus-python >= 0.83.0") 2>&5
17135
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17136
test $ac_status = 0; }; then
17137
pkg_cv_DBUS_PYTHON_CFLAGS=`$PKG_CONFIG --cflags "dbus-python >= 0.83.0" 2>/dev/null`
17144
if test -n "$DBUS_PYTHON_LIBS"; then
17145
pkg_cv_DBUS_PYTHON_LIBS="$DBUS_PYTHON_LIBS"
17146
elif test -n "$PKG_CONFIG"; then
17147
if test -n "$PKG_CONFIG" && \
17148
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-python >= 0.83.0\""; } >&5
17149
($PKG_CONFIG --exists --print-errors "dbus-python >= 0.83.0") 2>&5
17151
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17152
test $ac_status = 0; }; then
17153
pkg_cv_DBUS_PYTHON_LIBS=`$PKG_CONFIG --libs "dbus-python >= 0.83.0" 2>/dev/null`
17163
if test $pkg_failed = yes; then
17164
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17165
$as_echo "no" >&6; }
17167
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17168
_pkg_short_errors_supported=yes
17170
_pkg_short_errors_supported=no
17172
if test $_pkg_short_errors_supported = yes; then
17173
DBUS_PYTHON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "dbus-python >= 0.83.0" 2>&1`
17175
DBUS_PYTHON_PKG_ERRORS=`$PKG_CONFIG --print-errors "dbus-python >= 0.83.0" 2>&1`
17177
# Put the nasty error message in config.log where it belongs
17178
echo "$DBUS_PYTHON_PKG_ERRORS" >&5
17180
IBUS_HAS_DBUS_PYTHON=no
17182
elif test $pkg_failed = untried; then
17183
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17184
$as_echo "no" >&6; }
17185
IBUS_HAS_DBUS_PYTHON=no
17188
DBUS_PYTHON_CFLAGS=$pkg_cv_DBUS_PYTHON_CFLAGS
17189
DBUS_PYTHON_LIBS=$pkg_cv_DBUS_PYTHON_LIBS
17190
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17191
$as_echo "yes" >&6; }
17192
IBUS_HAS_DBUS_PYTHON=yes
17194
if test x"$IBUS_HAS_DBUS_PYTHON" != x"yes"; then
17195
if test x"$enable_dbus_python_check" != x"no"; then
17196
as_fn_error $? "can not find dbus-python >= 0.83.0. Please install or update dbus-python." "$LINENO" 5
17198
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: can not find dbus-python >= 0.83.0. It is required." >&5
17199
$as_echo "$as_me: WARNING: can not find dbus-python >= 0.83.0. It is required." >&2;}
17204
# Option for always disable snooper applications.
17205
# Check whether --enable-key-snooper was given.
17206
if test "${enable_key_snooper+set}" = set; then :
17207
enableval=$enable_key_snooper; enable_key_snooper=$enableval
17209
enable_key_snooper=yes
17213
if test x"$enable_key_snooper" = x"yes"; then
17215
$as_echo "#define ENABLE_SNOOPER TRUE" >>confdefs.h
17219
$as_echo "#define ENABLE_SNOOPER FALSE" >>confdefs.h
17221
enable_key_snooper="no (disabled, use --enable-key-snooper to enable)"
17224
# Option for no snooper applications.
17226
# Check whether --with-no-snooper-apps was given.
17227
if test "${with_no_snooper_apps+set}" = set; then :
17228
withval=$with_no_snooper_apps; NO_SNOOPER_APPS=$with_no_snooper_apps
17230
NO_SNOOPER_APPS=.*chrome.*,.*chromium.*,firefox.*,Do.*
17235
cat >>confdefs.h <<_ACEOF
17236
#define NO_SNOOPER_APPS "$NO_SNOOPER_APPS"
17240
# GNOME 3 uses the theme's icon.
17242
# Check whether --with-panel-icon-keyboard was given.
17243
if test "${with_panel_icon_keyboard+set}" = set; then :
17244
withval=$with_panel_icon_keyboard; if test x"$with_panel_icon_keyboard" = x"yes" -o \
17245
x"$with_panel_icon_keyboard" = x; then
17246
with_panel_icon_keyboard="input-keyboard-symbolic"
17248
if test x"$with_panel_icon_keyboard" = x"legacy"; then
17249
with_panel_icon_keyboard="ibus-keyboard"
17251
IBUS_ICON_KEYBOARD=$with_panel_icon_keyboard
17254
IBUS_ICON_KEYBOARD="input-keyboard-symbolic"
17260
# --enable-surrounding-text option.
17261
# Check whether --enable-surrounding-text was given.
17262
if test "${enable_surrounding_text+set}" = set; then :
17263
enableval=$enable_surrounding_text; enable_surrounding_text=$enableval
17265
enable_surrounding_text=no
17269
if test x"$enable_surrounding_text" = x"yes"; then
17271
$as_echo "#define ENABLE_SURROUNDING TRUE" >>confdefs.h
17274
enable_surrounding_text="no (disabled, use --enable-surrounding-text to enable)"
17280
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISOCODES" >&5
17281
$as_echo_n "checking for ISOCODES... " >&6; }
17283
if test -n "$ISOCODES_CFLAGS"; then
17284
pkg_cv_ISOCODES_CFLAGS="$ISOCODES_CFLAGS"
17285
elif test -n "$PKG_CONFIG"; then
17286
if test -n "$PKG_CONFIG" && \
17287
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
17290
($PKG_CONFIG --exists --print-errors "
17294
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17295
test $ac_status = 0; }; then
17296
pkg_cv_ISOCODES_CFLAGS=`$PKG_CONFIG --cflags "
17305
if test -n "$ISOCODES_LIBS"; then
17306
pkg_cv_ISOCODES_LIBS="$ISOCODES_LIBS"
17307
elif test -n "$PKG_CONFIG"; then
17308
if test -n "$PKG_CONFIG" && \
17309
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
17312
($PKG_CONFIG --exists --print-errors "
17316
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17317
test $ac_status = 0; }; then
17318
pkg_cv_ISOCODES_LIBS=`$PKG_CONFIG --libs "
17330
if test $pkg_failed = yes; then
17331
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17332
$as_echo "no" >&6; }
17334
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17335
_pkg_short_errors_supported=yes
17337
_pkg_short_errors_supported=no
17339
if test $_pkg_short_errors_supported = yes; then
17340
ISOCODES_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
17344
ISOCODES_PKG_ERRORS=`$PKG_CONFIG --print-errors "
17348
# Put the nasty error message in config.log where it belongs
17349
echo "$ISOCODES_PKG_ERRORS" >&5
17351
as_fn_error $? "Package requirements (
17355
$ISOCODES_PKG_ERRORS
17357
Consider adjusting the PKG_CONFIG_PATH environment variable if you
17358
installed software in a non-standard prefix.
17360
Alternatively, you may set the environment variables ISOCODES_CFLAGS
17361
and ISOCODES_LIBS to avoid the need to call pkg-config.
17362
See the pkg-config man page for more details." "$LINENO" 5
17364
elif test $pkg_failed = untried; then
17365
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17366
$as_echo "no" >&6; }
17367
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17368
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17369
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
17370
is in your PATH or set the PKG_CONFIG environment variable to the full
17371
path to pkg-config.
17373
Alternatively, you may set the environment variables ISOCODES_CFLAGS
17374
and ISOCODES_LIBS to avoid the need to call pkg-config.
17375
See the pkg-config man page for more details.
17377
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17378
See \`config.log' for more details" "$LINENO" 5; }
17381
ISOCODES_CFLAGS=$pkg_cv_ISOCODES_CFLAGS
17382
ISOCODES_LIBS=$pkg_cv_ISOCODES_LIBS
17383
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17384
$as_echo "yes" >&6; }
17387
ISOCODES_PREFIX=`pkg-config iso-codes --variable=prefix`
17391
ac_config_files="$ac_config_files po/Makefile.in Makefile ibus-1.0.pc ibus.spec xinput-ibus memconf/Makefile memconf/memconf.xml.in client/Makefile client/gtk2/Makefile client/gtk3/Makefile client/x11/Makefile src/Makefile src/ibusversion.h src/tests/Makefile bus/Makefile util/Makefile util/IMdkit/Makefile data/Makefile data/icons/Makefile data/keymaps/Makefile data/dconf/Makefile docs/Makefile docs/reference/Makefile docs/reference/ibus/ibus-docs.sgml docs/reference/ibus/Makefile m4/Makefile ibus/_config.py ibus/Makefile ibus/interface/Makefile ui/Makefile ui/gtk/Makefile ui/gtk/ibus-ui-gtk ui/gtk/gtkpanel.xml.in setup/Makefile setup/ibus-setup gconf/Makefile gconf/gconf.xml.in bindings/Makefile bindings/vala/Makefile dconf/Makefile dconf/dconf.xml.in"
17394
cat >confcache <<\_ACEOF
17395
# This file is a shell script that caches the results of configure
17396
# tests run on this system so they can be shared between configure
17397
# scripts and configure runs, see configure's option --config-cache.
17398
# It is not useful on other systems. If it contains results you don't
17399
# want to keep, you may remove or edit it.
17401
# config.status only pays attention to the cache file if you give it
17402
# the --recheck option to rerun configure.
17404
# `ac_cv_env_foo' variables (set or unset) will be overridden when
17405
# loading this file, other *unset* `ac_cv_foo' will be assigned the
17406
# following values.
17410
# The following way of writing the cache mishandles newlines in values,
17411
# but we know of no workaround that is simple, portable, and efficient.
17412
# So, we kill variables containing newlines.
17413
# Ultrix sh set writes to stderr and can't be redirected directly,
17414
# and sets the high bit in the cache file unless we assign to the vars.
17416
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17417
eval ac_val=\$$ac_var
17421
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17422
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17425
_ | IFS | as_nl) ;; #(
17426
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17427
*) { eval $ac_var=; unset $ac_var;} ;;
17433
case $as_nl`(ac_space=' '; set) 2>&1` in #(
17434
*${as_nl}ac_space=\ *)
17435
# `set' does not quote correctly, so add quotes: double-quote
17436
# substitution turns \\\\ into \\, and sed turns \\ into \.
17439
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17442
# `set' quotes correctly as required by POSIX, so do not add quotes.
17443
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17452
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17454
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17456
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17457
if test -w "$cache_file"; then
17458
if test "x$cache_file" != "x/dev/null"; then
17459
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17460
$as_echo "$as_me: updating cache $cache_file" >&6;}
17461
if test ! -f "$cache_file" || test -h "$cache_file"; then
17462
cat confcache >"$cache_file"
17464
case $cache_file in #(
17466
mv -f confcache "$cache_file"$$ &&
17467
mv -f "$cache_file"$$ "$cache_file" ;; #(
17469
mv -f confcache "$cache_file" ;;
17474
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17475
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17480
test "x$prefix" = xNONE && prefix=$ac_default_prefix
17481
# Let make expand exec_prefix.
17482
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17484
DEFS=-DHAVE_CONFIG_H
17489
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17490
# 1. Remove the extension, and $U if already installed.
17491
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17492
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17493
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17494
# will be set to the directory where LIBOBJS objects are built.
17495
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17496
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17498
LIBOBJS=$ac_libobjs
17500
LTLIBOBJS=$ac_ltlibobjs
17503
if test -n "$EXEEXT"; then
17505
am__EXEEXT_FALSE='#'
17507
am__EXEEXT_TRUE='#'
17511
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
17512
as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
17513
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17515
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17516
as_fn_error $? "conditional \"AMDEP\" was never defined.
17517
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17519
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17520
as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
17521
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17523
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17524
as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
17525
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17528
ac_config_commands="$ac_config_commands po/stamp-it"
17531
if test -z "${ENABLE_GTK2_TRUE}" && test -z "${ENABLE_GTK2_FALSE}"; then
17532
as_fn_error $? "conditional \"ENABLE_GTK2\" was never defined.
17533
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17535
if test -z "${ENABLE_GTK3_TRUE}" && test -z "${ENABLE_GTK3_FALSE}"; then
17536
as_fn_error $? "conditional \"ENABLE_GTK3\" was never defined.
17537
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17539
if test -z "${ENABLE_XIM_TRUE}" && test -z "${ENABLE_XIM_FALSE}"; then
17540
as_fn_error $? "conditional \"ENABLE_XIM\" was never defined.
17541
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17543
if test -z "${ENABLE_VALA_TRUE}" && test -z "${ENABLE_VALA_FALSE}"; then
17544
as_fn_error $? "conditional \"ENABLE_VALA\" was never defined.
17545
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17547
if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
17548
as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined.
17549
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17551
if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
17552
as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
17553
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17555
if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
17556
as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
17557
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17559
if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
17560
as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
17561
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17563
if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
17564
as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
17565
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17567
if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
17568
as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
17569
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17571
if test -z "${ENABLE_GCONF_TRUE}" && test -z "${ENABLE_GCONF_FALSE}"; then
17572
as_fn_error $? "conditional \"ENABLE_GCONF\" was never defined.
17573
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17575
if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then
17576
as_fn_error $? "conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
17577
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17579
if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then
17580
as_fn_error $? "conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
17581
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17583
if test -z "${ENABLE_MEMCONF_TRUE}" && test -z "${ENABLE_MEMCONF_FALSE}"; then
17584
as_fn_error $? "conditional \"ENABLE_MEMCONF\" was never defined.
17585
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17587
if test -z "${ENABLE_DCONF_TRUE}" && test -z "${ENABLE_DCONF_FALSE}"; then
17588
as_fn_error $? "conditional \"ENABLE_DCONF\" was never defined.
17589
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17591
if test -z "${ENABLE_PYTHON_TRUE}" && test -z "${ENABLE_PYTHON_FALSE}"; then
17592
as_fn_error $? "conditional \"ENABLE_PYTHON\" was never defined.
17593
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17595
if test -z "${ENABLE_DAEMON_TRUE}" && test -z "${ENABLE_DAEMON_FALSE}"; then
17596
as_fn_error $? "conditional \"ENABLE_DAEMON\" was never defined.
17597
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17600
: "${CONFIG_STATUS=./config.status}"
17602
ac_clean_files_save=$ac_clean_files
17603
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17604
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17605
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17607
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17609
# Generated by $as_me.
17610
# Run this file to recreate the current configuration.
17611
# Compiler output produced by configure, useful for debugging
17612
# configure, is in config.log if it exists.
17615
ac_cs_recheck=false
17618
SHELL=\${CONFIG_SHELL-$SHELL}
17621
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17622
## -------------------- ##
17623
## M4sh Initialization. ##
17624
## -------------------- ##
17626
# Be more Bourne compatible
17627
DUALCASE=1; export DUALCASE # for MKS sh
17628
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17631
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17632
# is contrary to our usage. Disable this feature.
17633
alias -g '${1+"$@"}'='"$@"'
17634
setopt NO_GLOB_SUBST
17636
case `(set -o) 2>/dev/null` in #(
17648
# Printing a long string crashes Solaris 7 /usr/bin/printf.
17649
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17650
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17651
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17652
# Prefer a ksh shell builtin over an external printf program on Solaris,
17653
# but without wasting forks for bash or zsh.
17654
if test -z "$BASH_VERSION$ZSH_VERSION" \
17655
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17656
as_echo='print -r --'
17657
as_echo_n='print -rn --'
17658
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17659
as_echo='printf %s\n'
17660
as_echo_n='printf %s'
17662
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17663
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17664
as_echo_n='/usr/ucb/echo -n'
17666
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17667
as_echo_n_body='eval
17671
expr "X$arg" : "X\\(.*\\)$as_nl";
17672
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17674
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17676
export as_echo_n_body
17677
as_echo_n='sh -c $as_echo_n_body as_echo'
17679
export as_echo_body
17680
as_echo='sh -c $as_echo_body as_echo'
17683
# The user is always right.
17684
if test "${PATH_SEPARATOR+set}" != set; then
17686
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17687
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17694
# We need space, tab and new line, in precisely that order. Quoting is
17695
# there to prevent editors from complaining about space-tab.
17696
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
17697
# splitting by setting IFS to empty value.)
17700
# Find who we are. Look in the path if we contain no directory separator.
17703
*[\\/]* ) as_myself=$0 ;;
17704
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17705
for as_dir in $PATH
17708
test -z "$as_dir" && as_dir=.
17709
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17715
# We did not find ourselves, most probably we were run as `sh COMMAND'
17716
# in which case we are not to be found in the path.
17717
if test "x$as_myself" = x; then
17720
if test ! -f "$as_myself"; then
17721
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17725
# Unset variables that we do not need and which cause bugs (e.g. in
17726
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17727
# suppresses any "Segmentation fault" message there. '((' could
17728
# trigger a bug in pdksh 5.2.14.
17729
for as_var in BASH_ENV ENV MAIL MAILPATH
17730
do eval test x\${$as_var+set} = xset \
17731
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17744
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17747
# as_fn_error STATUS ERROR [LINENO LOG_FD]
17748
# ----------------------------------------
17749
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17750
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17751
# script with STATUS, using 1 if that was 0.
17754
as_status=$1; test $as_status -eq 0 && as_status=1
17756
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17757
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17759
$as_echo "$as_me: error: $2" >&2
17760
as_fn_exit $as_status
17764
# as_fn_set_status STATUS
17765
# -----------------------
17766
# Set $? to STATUS, without forking.
17767
as_fn_set_status ()
17770
} # as_fn_set_status
17772
# as_fn_exit STATUS
17773
# -----------------
17774
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17778
as_fn_set_status $1
17784
# Portably unset VAR.
17787
{ eval $1=; unset $1;}
17789
as_unset=as_fn_unset
17790
# as_fn_append VAR VALUE
17791
# ----------------------
17792
# Append the text in VALUE to the end of the definition contained in VAR. Take
17793
# advantage of any shell optimizations that allow amortized linear growth over
17794
# repeated appends, instead of the typical quadratic growth present in naive
17796
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17797
eval 'as_fn_append ()
17808
# as_fn_arith ARG...
17809
# ------------------
17810
# Perform arithmetic evaluation on the ARGs, and store the result in the
17811
# global $as_val. Take advantage of shells that can avoid forks. The arguments
17812
# must be portable across $(()) and expr.
17813
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17814
eval 'as_fn_arith ()
17821
as_val=`expr "$@" || test $? -eq 1`
17826
if expr a : '\(a\)' >/dev/null 2>&1 &&
17827
test "X`expr 00001 : '.*\(...\)'`" = X001; then
17833
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17834
as_basename=basename
17839
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17845
as_me=`$as_basename -- "$0" ||
17846
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17847
X"$0" : 'X\(//\)$' \| \
17848
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17850
sed '/^.*\/\([^/][^/]*\)\/*$/{
17864
# Avoid depending upon Character Ranges.
17865
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17866
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17867
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17868
as_cr_digits='0123456789'
17869
as_cr_alnum=$as_cr_Letters$as_cr_digits
17871
ECHO_C= ECHO_N= ECHO_T=
17872
case `echo -n x` in #(((((
17874
case `echo 'xy\c'` in
17875
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
17877
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
17884
rm -f conf$$ conf$$.exe conf$$.file
17885
if test -d conf$$.dir; then
17886
rm -f conf$$.dir/conf$$.file
17889
mkdir conf$$.dir 2>/dev/null
17891
if (echo >conf$$.file) 2>/dev/null; then
17892
if ln -s conf$$.file conf$$ 2>/dev/null; then
17894
# ... but there are two gotchas:
17895
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17896
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17897
# In both cases, we have to default to `cp -p'.
17898
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17900
elif ln conf$$.file conf$$ 2>/dev/null; then
17908
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17909
rmdir conf$$.dir 2>/dev/null
17914
# Create "$as_dir" as a directory, including parents if necessary.
17919
-*) as_dir=./$as_dir;;
17921
test -d "$as_dir" || eval $as_mkdir_p || {
17925
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17926
*) as_qdir=$as_dir;;
17928
as_dirs="'$as_qdir' $as_dirs"
17929
as_dir=`$as_dirname -- "$as_dir" ||
17930
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17931
X"$as_dir" : 'X\(//\)[^/]' \| \
17932
X"$as_dir" : 'X\(//\)$' \| \
17933
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17934
$as_echo X"$as_dir" |
17935
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17939
/^X\(\/\/\)[^/].*/{
17952
test -d "$as_dir" && break
17954
test -z "$as_dirs" || eval "mkdir $as_dirs"
17955
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17959
if mkdir -p . 2>/dev/null; then
17960
as_mkdir_p='mkdir -p "$as_dir"'
17962
test -d ./-p && rmdir ./-p
17966
if test -x / >/dev/null 2>&1; then
17967
as_test_x='test -x'
17969
if ls -dL / >/dev/null 2>&1; then
17976
if test -d "$1"; then
17982
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
17983
???[sx]*):;;*)false;;esac;fi
17987
as_executable_p=$as_test_x
17989
# Sed expression to map a string onto a valid CPP name.
17990
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17992
# Sed expression to map a string onto a valid variable name.
17993
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17997
## ----------------------------------- ##
17998
## Main body of $CONFIG_STATUS script. ##
17999
## ----------------------------------- ##
18001
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18003
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18004
# Save the log message, to keep $0 and so on meaningful, and to
18005
# report actual input values of CONFIG_FILES etc. instead of their
18006
# values after options handling.
18008
This file was extended by ibus $as_me 1.4.0, which was
18009
generated by GNU Autoconf 2.68. Invocation command line was
18011
CONFIG_FILES = $CONFIG_FILES
18012
CONFIG_HEADERS = $CONFIG_HEADERS
18013
CONFIG_LINKS = $CONFIG_LINKS
18014
CONFIG_COMMANDS = $CONFIG_COMMANDS
18017
on `(hostname || uname -n) 2>/dev/null | sed 1q`
18022
case $ac_config_files in *"
18023
"*) set x $ac_config_files; shift; ac_config_files=$*;;
18026
case $ac_config_headers in *"
18027
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18031
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18032
# Files that config.status was made for.
18033
config_files="$ac_config_files"
18034
config_headers="$ac_config_headers"
18035
config_commands="$ac_config_commands"
18039
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18041
\`$as_me' instantiates files and other configuration actions
18042
from templates according to the current configuration. Unless the files
18043
and actions are specified as TAGs, all are instantiated by default.
18045
Usage: $0 [OPTION]... [TAG]...
18047
-h, --help print this help, then exit
18048
-V, --version print version number and configuration settings, then exit
18049
--config print configuration, then exit
18050
-q, --quiet, --silent
18051
do not print progress messages
18052
-d, --debug don't remove temporary files
18053
--recheck update $as_me by reconfiguring in the same conditions
18054
--file=FILE[:TEMPLATE]
18055
instantiate the configuration file FILE
18056
--header=FILE[:TEMPLATE]
18057
instantiate the configuration header FILE
18059
Configuration files:
18062
Configuration headers:
18065
Configuration commands:
18068
Report bugs to <http://code.google.com/p/ibus/issues/entry>."
18071
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18072
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18074
ibus config.status 1.4.0
18075
configured by $0, generated by GNU Autoconf 2.68,
18076
with options \\"\$ac_cs_config\\"
18078
Copyright (C) 2010 Free Software Foundation, Inc.
18079
This config.status script is free software; the Free Software Foundation
18080
gives unlimited permission to copy, distribute and modify it."
18087
test -n "\$AWK" || AWK=awk
18090
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18091
# The default lists apply if the user does not specify any file.
18097
ac_option=`expr "X$1" : 'X\([^=]*\)='`
18098
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18102
ac_option=`expr "X$1" : 'X\([^=]*\)='`
18114
# Handling of the options.
18115
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18117
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18118
$as_echo "$ac_cs_version"; exit ;;
18119
--config | --confi | --conf | --con | --co | --c )
18120
$as_echo "$ac_cs_config"; exit ;;
18121
--debug | --debu | --deb | --de | --d | -d )
18123
--file | --fil | --fi | --f )
18126
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18127
'') as_fn_error $? "missing file argument" ;;
18129
as_fn_append CONFIG_FILES " '$ac_optarg'"
18130
ac_need_defaults=false;;
18131
--header | --heade | --head | --hea )
18134
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18136
as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18137
ac_need_defaults=false;;
18139
# Conflict between --help and --header
18140
as_fn_error $? "ambiguous option: \`$1'
18141
Try \`$0 --help' for more information.";;
18142
--help | --hel | -h )
18143
$as_echo "$ac_cs_usage"; exit ;;
18144
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
18145
| -silent | --silent | --silen | --sile | --sil | --si | --s)
18148
# This is an error.
18149
-*) as_fn_error $? "unrecognized option: \`$1'
18150
Try \`$0 --help' for more information." ;;
18152
*) as_fn_append ac_config_targets " $1"
18153
ac_need_defaults=false ;;
18159
ac_configure_extra_args=
18161
if $ac_cs_silent; then
18163
ac_configure_extra_args="$ac_configure_extra_args --silent"
18167
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18168
if \$ac_cs_recheck; then
18169
set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18171
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18172
CONFIG_SHELL='$SHELL'
18173
export CONFIG_SHELL
18178
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18182
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18183
## Running $as_me. ##
18189
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18193
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
18197
# The HP-UX ksh and POSIX shell print the target directory to stdout
18198
# if CDPATH is set.
18199
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18201
sed_quote_subst='$sed_quote_subst'
18202
double_quote_subst='$double_quote_subst'
18203
delay_variable_subst='$delay_variable_subst'
18204
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
18205
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
18206
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
18207
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
18208
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
18209
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
18210
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
18211
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
18212
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
18213
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
18214
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
18215
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
18216
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
18217
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
18218
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
18219
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
18220
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
18221
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
18222
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
18223
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
18224
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
18225
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
18226
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
18227
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
18228
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
18229
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
18230
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
18231
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
18232
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
18233
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
18234
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
18235
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
18236
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
18237
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
18238
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
18239
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
18240
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
18241
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
18242
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
18243
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
18244
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
18245
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
18246
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
18247
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
18248
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18249
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18250
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
18251
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
18252
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
18253
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
18254
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
18255
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
18256
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
18257
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
18258
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
18259
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"`'
18260
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
18261
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
18262
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
18263
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
18264
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
18265
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
18266
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
18267
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
18268
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
18269
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
18270
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
18271
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
18272
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
18273
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
18274
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
18275
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
18276
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
18277
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
18278
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18279
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
18280
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
18281
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
18282
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
18283
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
18284
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
18285
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18286
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
18287
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18288
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
18289
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18290
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
18291
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
18292
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
18293
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
18294
hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
18295
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
18296
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
18297
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
18298
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
18299
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
18300
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
18301
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
18302
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
18303
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
18304
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
18305
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
18306
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
18307
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
18308
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
18309
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
18310
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
18311
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
18312
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
18313
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
18314
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
18315
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
18316
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
18317
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
18318
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
18319
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
18320
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
18321
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18322
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18323
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
18324
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
18325
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
18326
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
18327
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
18328
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
18329
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
18330
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
18331
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
18332
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
18333
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
18336
LTCFLAGS='$LTCFLAGS'
18337
compiler='$compiler_DEFAULT'
18339
# A function that is used when there is no print builtin or printf.
18340
func_fallback_echo ()
18342
eval 'cat <<_LTECHO_EOF
18347
# Quote evaled strings.
18361
deplibs_check_method \
18366
sharedlib_from_linklib_cmd \
18369
archiver_list_spec \
18375
lt_cv_sys_global_symbol_pipe \
18376
lt_cv_sys_global_symbol_to_cdecl \
18377
lt_cv_sys_global_symbol_to_c_name_address \
18378
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
18379
nm_file_list_spec \
18380
lt_prog_compiler_no_builtin_flag \
18381
lt_prog_compiler_pic \
18382
lt_prog_compiler_wl \
18383
lt_prog_compiler_static \
18384
lt_cv_prog_compiler_c_o \
18393
export_dynamic_flag_spec \
18394
whole_archive_flag_spec \
18395
compiler_needs_object \
18397
allow_undefined_flag \
18398
no_undefined_flag \
18399
hardcode_libdir_flag_spec \
18400
hardcode_libdir_flag_spec_ld \
18401
hardcode_libdir_separator \
18405
variables_saved_for_relink \
18407
library_names_spec \
18409
install_override_mode \
18413
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18414
*[\\\\\\\`\\"\\\$]*)
18415
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
18418
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18423
# Double-quote double-evaled strings.
18424
for var in reload_cmds \
18425
old_postinstall_cmds \
18426
old_postuninstall_cmds \
18428
extract_expsyms_cmds \
18429
old_archive_from_new_cmds \
18430
old_archive_from_expsyms_cmds \
18432
archive_expsym_cmds \
18434
module_expsym_cmds \
18435
export_symbols_cmds \
18439
postuninstall_cmds \
18441
sys_lib_search_path_spec \
18442
sys_lib_dlsearch_path_spec; do
18443
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18444
*[\\\\\\\`\\"\\\$]*)
18445
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
18448
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18453
ac_aux_dir='$ac_aux_dir'
18454
xsi_shell='$xsi_shell'
18455
lt_shell_append='$lt_shell_append'
18457
# See if we are running on zsh, and set the options which allow our
18458
# commands through without removal of \ escapes INIT.
18459
if test -n "\${ZSH_VERSION+set}" ; then
18460
setopt NO_GLOB_SUBST
18466
TIMESTAMP='$TIMESTAMP'
18475
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18477
# Handling of arguments.
18478
for ac_config_target in $ac_config_targets
18480
case $ac_config_target in
18481
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
18482
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
18483
"default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
18484
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
18485
"po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
18486
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
18487
"ibus-1.0.pc") CONFIG_FILES="$CONFIG_FILES ibus-1.0.pc" ;;
18488
"ibus.spec") CONFIG_FILES="$CONFIG_FILES ibus.spec" ;;
18489
"xinput-ibus") CONFIG_FILES="$CONFIG_FILES xinput-ibus" ;;
18490
"memconf/Makefile") CONFIG_FILES="$CONFIG_FILES memconf/Makefile" ;;
18491
"memconf/memconf.xml.in") CONFIG_FILES="$CONFIG_FILES memconf/memconf.xml.in" ;;
18492
"client/Makefile") CONFIG_FILES="$CONFIG_FILES client/Makefile" ;;
18493
"client/gtk2/Makefile") CONFIG_FILES="$CONFIG_FILES client/gtk2/Makefile" ;;
18494
"client/gtk3/Makefile") CONFIG_FILES="$CONFIG_FILES client/gtk3/Makefile" ;;
18495
"client/x11/Makefile") CONFIG_FILES="$CONFIG_FILES client/x11/Makefile" ;;
18496
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
18497
"src/ibusversion.h") CONFIG_FILES="$CONFIG_FILES src/ibusversion.h" ;;
18498
"src/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/tests/Makefile" ;;
18499
"bus/Makefile") CONFIG_FILES="$CONFIG_FILES bus/Makefile" ;;
18500
"util/Makefile") CONFIG_FILES="$CONFIG_FILES util/Makefile" ;;
18501
"util/IMdkit/Makefile") CONFIG_FILES="$CONFIG_FILES util/IMdkit/Makefile" ;;
18502
"data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
18503
"data/icons/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/Makefile" ;;
18504
"data/keymaps/Makefile") CONFIG_FILES="$CONFIG_FILES data/keymaps/Makefile" ;;
18505
"data/dconf/Makefile") CONFIG_FILES="$CONFIG_FILES data/dconf/Makefile" ;;
18506
"docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
18507
"docs/reference/Makefile") CONFIG_FILES="$CONFIG_FILES docs/reference/Makefile" ;;
18508
"docs/reference/ibus/ibus-docs.sgml") CONFIG_FILES="$CONFIG_FILES docs/reference/ibus/ibus-docs.sgml" ;;
18509
"docs/reference/ibus/Makefile") CONFIG_FILES="$CONFIG_FILES docs/reference/ibus/Makefile" ;;
18510
"m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
18511
"ibus/_config.py") CONFIG_FILES="$CONFIG_FILES ibus/_config.py" ;;
18512
"ibus/Makefile") CONFIG_FILES="$CONFIG_FILES ibus/Makefile" ;;
18513
"ibus/interface/Makefile") CONFIG_FILES="$CONFIG_FILES ibus/interface/Makefile" ;;
18514
"ui/Makefile") CONFIG_FILES="$CONFIG_FILES ui/Makefile" ;;
18515
"ui/gtk/Makefile") CONFIG_FILES="$CONFIG_FILES ui/gtk/Makefile" ;;
18516
"ui/gtk/ibus-ui-gtk") CONFIG_FILES="$CONFIG_FILES ui/gtk/ibus-ui-gtk" ;;
18517
"ui/gtk/gtkpanel.xml.in") CONFIG_FILES="$CONFIG_FILES ui/gtk/gtkpanel.xml.in" ;;
18518
"setup/Makefile") CONFIG_FILES="$CONFIG_FILES setup/Makefile" ;;
18519
"setup/ibus-setup") CONFIG_FILES="$CONFIG_FILES setup/ibus-setup" ;;
18520
"gconf/Makefile") CONFIG_FILES="$CONFIG_FILES gconf/Makefile" ;;
18521
"gconf/gconf.xml.in") CONFIG_FILES="$CONFIG_FILES gconf/gconf.xml.in" ;;
18522
"bindings/Makefile") CONFIG_FILES="$CONFIG_FILES bindings/Makefile" ;;
18523
"bindings/vala/Makefile") CONFIG_FILES="$CONFIG_FILES bindings/vala/Makefile" ;;
18524
"dconf/Makefile") CONFIG_FILES="$CONFIG_FILES dconf/Makefile" ;;
18525
"dconf/dconf.xml.in") CONFIG_FILES="$CONFIG_FILES dconf/dconf.xml.in" ;;
18526
"po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
18528
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18533
# If the user did not use the arguments to specify the items to instantiate,
18534
# then the envvar interface is used. Set only those that are not.
18535
# We use the long form for the default assignment because of an extremely
18536
# bizarre bug on SunOS 4.1.3.
18537
if $ac_need_defaults; then
18538
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18539
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18540
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18543
# Have a temporary directory for convenience. Make it in the build tree
18544
# simply because there is no reason against having it here, and in addition,
18545
# creating and moving files from /tmp can sometimes cause problems.
18546
# Hook for its removal unless debugging.
18547
# Note that there is a small window in which the directory will not be cleaned:
18548
# after its creation but before its name has been assigned to `$tmp'.
18552
trap 'exit_status=$?
18553
: "${ac_tmp:=$tmp}"
18554
{ test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18556
trap 'as_fn_exit 1' 1 2 13 15
18558
# Create a (secure) tmp directory for tmp files.
18561
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18565
tmp=./conf$$-$RANDOM
18566
(umask 077 && mkdir "$tmp")
18567
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18570
# Set up the scripts for CONFIG_FILES section.
18571
# No need to generate them if there are no CONFIG_FILES.
18572
# This happens for instance with `./config.status config.h'.
18573
if test -n "$CONFIG_FILES"; then
18576
ac_cr=`echo X | tr X '\015'`
18577
# On cygwin, bash can eat \r inside `` if the user requested igncr.
18578
# But we know of no other shell where ac_cr would be empty at this
18579
# point, so we can use a bashism as a fallback.
18580
if test "x$ac_cr" = x; then
18581
eval ac_cr=\$\'\\r\'
18583
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18584
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18587
ac_cs_awk_cr=$ac_cr
18590
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18595
echo "cat >conf$$subs.awk <<_ACEOF" &&
18596
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18598
} >conf$$subs.sh ||
18599
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18600
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18602
for ac_last_try in false false false false false :; do
18603
. ./conf$$subs.sh ||
18604
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18606
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18607
if test $ac_delim_n = $ac_delim_num; then
18609
elif $ac_last_try; then
18610
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18612
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18615
rm -f conf$$subs.sh
18617
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18618
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18622
s/^/S["/; s/!.*/"]=/
18632
s/\(.\{148\}\)..*/\1/
18634
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18639
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18646
s/\(.\{148\}\)..*/\1/
18648
s/["\\]/\\&/g; s/^/"/; s/$/"/
18652
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18657
' <conf$$subs.awk | sed '
18662
' >>$CONFIG_STATUS || ac_write_fail=1
18663
rm -f conf$$subs.awk
18664
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18666
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18667
for (key in S) S_is_set[key] = 1
18673
nfields = split(line, field, "@")
18675
len = length(field[1])
18676
for (i = 2; i < nfields; i++) {
18678
keylen = length(key)
18679
if (S_is_set[key]) {
18681
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18682
len += length(value) + length(field[++i])
18693
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18694
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18695
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18698
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18699
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18702
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18703
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18704
# trailing colons and then remove the whole line if VPATH becomes empty
18705
# (actually we leave an empty line to preserve line numbers).
18706
if test "x$srcdir" = x.; then
18707
ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18725
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18726
fi # test -n "$CONFIG_FILES"
18728
# Set up the scripts for CONFIG_HEADERS section.
18729
# No need to generate them if there are no CONFIG_HEADERS.
18730
# This happens for instance with `./config.status Makefile'.
18731
if test -n "$CONFIG_HEADERS"; then
18732
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18736
# Transform confdefs.h into an awk script `defines.awk', embedded as
18737
# here-document in config.status, that substitutes the proper values into
18738
# config.h.in to produce config.h.
18740
# Create a delimiter string that does not exist in confdefs.h, to ease
18741
# handling of long lines.
18743
for ac_last_try in false false :; do
18744
ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18745
if test -z "$ac_tt"; then
18747
elif $ac_last_try; then
18748
as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18750
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18754
# For the awk script, D is an array of macro values keyed by name,
18755
# likewise P contains macro parameters if any. Preserve backslash
18756
# newline sequences.
18758
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18760
s/.\{148\}/&'"$ac_delim"'/g
18763
s/^[ ]*#[ ]*define[ ][ ]*/ /
18770
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18772
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18776
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18777
D["\1"]=" \3\\\\\\n"\\/p
18779
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18784
s/.\{148\}/&'"$ac_delim"'/g
18789
s/["\\]/\\&/g; s/^/"/; s/$/"/p
18792
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18794
' <confdefs.h | sed '
18795
s/'"$ac_delim"'/"\\\
18796
"/g' >>$CONFIG_STATUS || ac_write_fail=1
18798
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18799
for (key in D) D_is_set[key] = 1
18802
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18804
split(line, arg, " ")
18805
if (arg[1] == "#") {
18809
defundef = substr(arg[1], 2)
18812
split(mac1, mac2, "(") #)
18814
prefix = substr(line, 1, index(line, defundef) - 1)
18815
if (D_is_set[macro]) {
18816
# Preserve the white space surrounding the "#".
18817
print prefix "define", macro P[macro] D[macro]
18820
# Replace #undef with comments. This is necessary, for example,
18821
# in the case of _POSIX_SOURCE, which is predefined and required
18822
# on some systems where configure will not decide to define it.
18823
if (defundef == "undef") {
18824
print "/*", prefix defundef, macro, "*/"
18832
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18833
as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18834
fi # test -n "$CONFIG_HEADERS"
18837
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
18842
:[FHLC]) ac_mode=$ac_tag; continue;;
18844
case $ac_mode$ac_tag in
18846
:L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18847
:[FH]-) ac_tag=-:-;;
18848
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18865
-) ac_f="$ac_tmp/stdin";;
18866
*) # Look for the file first in the build tree, then in the source tree
18867
# (if the path is not absolute). The absolute path cannot be DOS-style,
18868
# because $ac_f cannot contain `:'.
18872
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18874
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18876
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18877
as_fn_append ac_file_inputs " '$ac_f'"
18880
# Let's still pretend it is `configure' which instantiates (i.e., don't
18881
# use $as_me), people would be surprised to read:
18882
# /* config.h. Generated by config.status. */
18883
configure_input='Generated from '`
18884
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18886
if test x"$ac_file" != x-; then
18887
configure_input="$ac_file. $configure_input"
18888
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18889
$as_echo "$as_me: creating $ac_file" >&6;}
18891
# Neutralize special characters interpreted by sed in replacement strings.
18892
case $configure_input in #(
18893
*\&* | *\|* | *\\* )
18894
ac_sed_conf_input=`$as_echo "$configure_input" |
18895
sed 's/[\\\\&|]/\\\\&/g'`;; #(
18896
*) ac_sed_conf_input=$configure_input;;
18900
*:-:* | *:-) cat >"$ac_tmp/stdin" \
18901
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18906
ac_dir=`$as_dirname -- "$ac_file" ||
18907
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18908
X"$ac_file" : 'X\(//\)[^/]' \| \
18909
X"$ac_file" : 'X\(//\)$' \| \
18910
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18911
$as_echo X"$ac_file" |
18912
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18916
/^X\(\/\/\)[^/].*/{
18929
as_dir="$ac_dir"; as_fn_mkdir_p
18933
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18935
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18936
# A ".." for each directory in $ac_dir_suffix.
18937
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18938
case $ac_top_builddir_sub in
18939
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18940
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18943
ac_abs_top_builddir=$ac_pwd
18944
ac_abs_builddir=$ac_pwd$ac_dir_suffix
18945
# for backward compatibility:
18946
ac_top_builddir=$ac_top_build_prefix
18949
.) # We are building in place.
18951
ac_top_srcdir=$ac_top_builddir_sub
18952
ac_abs_top_srcdir=$ac_pwd ;;
18953
[\\/]* | ?:[\\/]* ) # Absolute name.
18954
ac_srcdir=$srcdir$ac_dir_suffix;
18955
ac_top_srcdir=$srcdir
18956
ac_abs_top_srcdir=$srcdir ;;
18957
*) # Relative name.
18958
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18959
ac_top_srcdir=$ac_top_build_prefix$srcdir
18960
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18962
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18972
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18973
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18975
ac_MKDIR_P=$MKDIR_P
18977
[\\/$]* | ?:[\\/]* ) ;;
18978
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
18982
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18983
# If the template does not know about datarootdir, expand it.
18984
# FIXME: This hack should be removed a few years after 2.60.
18985
ac_datarootdir_hack=; ac_datarootdir_seen=
18996
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18997
*datarootdir*) ac_datarootdir_seen=yes;;
18998
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18999
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19000
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19002
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19003
ac_datarootdir_hack='
19004
s&@datadir@&$datadir&g
19005
s&@docdir@&$docdir&g
19006
s&@infodir@&$infodir&g
19007
s&@localedir@&$localedir&g
19008
s&@mandir@&$mandir&g
19009
s&\\\${datarootdir}&$datarootdir&g' ;;
19013
# Neutralize VPATH when `$srcdir' = `.'.
19014
# Shell code in configure.ac might set extrasub.
19015
# FIXME: do we really want to maintain this feature?
19016
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19017
ac_sed_extra="$ac_vpsub
19020
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19022
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19023
s|@configure_input@|$ac_sed_conf_input|;t t
19024
s&@top_builddir@&$ac_top_builddir_sub&;t t
19025
s&@top_build_prefix@&$ac_top_build_prefix&;t t
19026
s&@srcdir@&$ac_srcdir&;t t
19027
s&@abs_srcdir@&$ac_abs_srcdir&;t t
19028
s&@top_srcdir@&$ac_top_srcdir&;t t
19029
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19030
s&@builddir@&$ac_builddir&;t t
19031
s&@abs_builddir@&$ac_abs_builddir&;t t
19032
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19033
s&@INSTALL@&$ac_INSTALL&;t t
19034
s&@MKDIR_P@&$ac_MKDIR_P&;t t
19035
$ac_datarootdir_hack
19037
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19038
>$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19040
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19041
{ ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19042
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19043
"$ac_tmp/out"`; test -z "$ac_out"; } &&
19044
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19045
which seems to be undefined. Please make sure it is defined" >&5
19046
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19047
which seems to be undefined. Please make sure it is defined" >&2;}
19049
rm -f "$ac_tmp/stdin"
19051
-) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19052
*) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19054
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
19060
if test x"$ac_file" != x-; then
19062
$as_echo "/* $configure_input */" \
19063
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19064
} >"$ac_tmp/config.h" \
19065
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
19066
if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19067
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19068
$as_echo "$as_me: $ac_file is unchanged" >&6;}
19071
mv "$ac_tmp/config.h" "$ac_file" \
19072
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
19075
$as_echo "/* $configure_input */" \
19076
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19077
|| as_fn_error $? "could not create -" "$LINENO" 5
19079
# Compute "$ac_file"'s index in $config_headers.
19082
for _am_header in $config_headers :; do
19083
case $_am_header in
19084
$_am_arg | $_am_arg:* )
19087
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
19090
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
19091
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19092
X"$_am_arg" : 'X\(//\)[^/]' \| \
19093
X"$_am_arg" : 'X\(//\)$' \| \
19094
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
19095
$as_echo X"$_am_arg" |
19096
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19100
/^X\(\/\/\)[^/].*/{
19112
s/.*/./; q'`/stamp-h$_am_stamp_count
19115
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19116
$as_echo "$as_me: executing $ac_file commands" >&6;}
19121
case $ac_file$ac_mode in
19122
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
19123
# Autoconf 2.62 quotes --file arguments for eval, but not when files
19124
# are listed without --file. Let's play safe and only enable the eval
19125
# if we detect the quoting.
19126
case $CONFIG_FILES in
19127
*\'*) eval set x "$CONFIG_FILES" ;;
19128
*) set x $CONFIG_FILES ;;
19133
# Strip MF so we end up with the name of the file.
19134
mf=`echo "$mf" | sed -e 's/:.*$//'`
19135
# Check whether this is an Automake generated Makefile or not.
19136
# We used to match only the files named `Makefile.in', but
19137
# some people rename them; so instead we look at the file content.
19138
# Grep'ing the first line is not enough: some people post-process
19139
# each Makefile.in and add a new line on top of each file to say so.
19140
# Grep'ing the whole file is not good either: AIX grep has a line
19141
# limit of 2048, but all sed's we know have understand at least 4000.
19142
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
19143
dirpart=`$as_dirname -- "$mf" ||
19144
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19145
X"$mf" : 'X\(//\)[^/]' \| \
19146
X"$mf" : 'X\(//\)$' \| \
19147
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
19149
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19153
/^X\(\/\/\)[^/].*/{
19169
# Extract the definition of DEPDIR, am__include, and am__quote
19170
# from the Makefile without running `make'.
19171
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
19172
test -z "$DEPDIR" && continue
19173
am__include=`sed -n 's/^am__include = //p' < "$mf"`
19174
test -z "am__include" && continue
19175
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
19176
# When using ansi2knr, U may be empty or an underscore; expand it
19177
U=`sed -n 's/^U = //p' < "$mf"`
19178
# Find all dependency output files, they are included files with
19179
# $(DEPDIR) in their names. We invoke sed twice because it is the
19180
# simplest approach to changing $(DEPDIR) to its actual value in the
19182
for file in `sed -n "
19183
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
19184
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
19185
# Make sure the directory exists.
19186
test -f "$dirpart/$file" && continue
19187
fdir=`$as_dirname -- "$file" ||
19188
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19189
X"$file" : 'X\(//\)[^/]' \| \
19190
X"$file" : 'X\(//\)$' \| \
19191
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
19192
$as_echo X"$file" |
19193
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19197
/^X\(\/\/\)[^/].*/{
19210
as_dir=$dirpart/$fdir; as_fn_mkdir_p
19211
# echo "creating $dirpart/$file"
19212
echo '# dummy' > "$dirpart/$file"
19217
"default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
19218
sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
19222
# See if we are running on zsh, and set the options which allow our
19223
# commands through without removal of \ escapes.
19224
if test -n "${ZSH_VERSION+set}" ; then
19225
setopt NO_GLOB_SUBST
19228
cfgfile="${ofile}T"
19229
trap "$RM \"$cfgfile\"; exit 1" 1 2 15
19232
cat <<_LT_EOF >> "$cfgfile"
19235
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
19236
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
19237
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19238
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
19240
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
19241
# 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
19243
# Written by Gordon Matzigkeit, 1996
19245
# This file is part of GNU Libtool.
19247
# GNU Libtool is free software; you can redistribute it and/or
19248
# modify it under the terms of the GNU General Public License as
19249
# published by the Free Software Foundation; either version 2 of
19250
# the License, or (at your option) any later version.
19252
# As a special exception to the GNU General Public License,
19253
# if you distribute this file as part of a program or library that
19254
# is built using GNU Libtool, you may include this file under the
19255
# same distribution terms that you use for the rest of that program.
19257
# GNU Libtool is distributed in the hope that it will be useful,
19258
# but WITHOUT ANY WARRANTY; without even the implied warranty of
19259
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19260
# GNU General Public License for more details.
19262
# You should have received a copy of the GNU General Public License
19263
# along with GNU Libtool; see the file COPYING. If not, a copy
19264
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
19265
# obtained by writing to the Free Software Foundation, Inc.,
19266
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19269
# The names of the tagged configurations supported by this script.
19272
# ### BEGIN LIBTOOL CONFIG
19274
# Whether or not to build static libraries.
19275
build_old_libs=$enable_static
19277
# Which release of libtool.m4 was used?
19278
macro_version=$macro_version
19279
macro_revision=$macro_revision
19281
# Whether or not to build shared libraries.
19282
build_libtool_libs=$enable_shared
19284
# What type of objects to build.
19287
# Whether or not to optimize for fast installation.
19288
fast_install=$enable_fast_install
19290
# Shell to use when invoking shell scripts.
19293
# An echo program that protects backslashes.
19297
host_alias=$host_alias
19301
# The build system.
19302
build_alias=$build_alias
19306
# A sed program that does not truncate output.
19309
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
19310
Xsed="\$SED -e 1s/^X//"
19312
# A grep program that handles long lines.
19318
# A literal string matcher.
19321
# A BSD- or MS-compatible name lister.
19324
# Whether we need soft or hard links.
19327
# What is the maximum length of a command?
19328
max_cmd_len=$max_cmd_len
19330
# Object file suffix (normally "o").
19333
# Executable file suffix (normally "").
19336
# whether the shell understands "unset".
19339
# turn spaces into newlines.
19342
# turn newlines into spaces.
19345
# convert \$build file names to \$host format.
19346
to_host_file_cmd=$lt_cv_to_host_file_cmd
19348
# convert \$build files to toolchain format.
19349
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
19351
# An object symbol dumper.
19352
OBJDUMP=$lt_OBJDUMP
19354
# Method to check whether dependent libraries are shared objects.
19355
deplibs_check_method=$lt_deplibs_check_method
19357
# Command to use when deplibs_check_method = "file_magic".
19358
file_magic_cmd=$lt_file_magic_cmd
19360
# How to find potential files when deplibs_check_method = "file_magic".
19361
file_magic_glob=$lt_file_magic_glob
19363
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
19364
want_nocaseglob=$lt_want_nocaseglob
19366
# DLL creation program.
19367
DLLTOOL=$lt_DLLTOOL
19369
# Command to associate shared and link libraries.
19370
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
19375
# Flags to create an archive.
19376
AR_FLAGS=$lt_AR_FLAGS
19378
# How to feed a file listing to the archiver.
19379
archiver_list_spec=$lt_archiver_list_spec
19381
# A symbol stripping program.
19384
# Commands used to install an old-style archive.
19386
old_postinstall_cmds=$lt_old_postinstall_cmds
19387
old_postuninstall_cmds=$lt_old_postuninstall_cmds
19389
# Whether to use a lock for old archive extraction.
19390
lock_old_archive_extraction=$lock_old_archive_extraction
19395
# LTCC compiler flags.
19396
LTCFLAGS=$lt_CFLAGS
19398
# Take the output of nm and produce a listing of raw symbols and C names.
19399
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19401
# Transform the output of nm in a proper C declaration.
19402
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19404
# Transform the output of nm in a C name address pair.
19405
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19407
# Transform the output of nm in a C name address pair when lib prefix is needed.
19408
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
19410
# Specify filename containing input files for \$NM.
19411
nm_file_list_spec=$lt_nm_file_list_spec
19413
# The root where to search for dependent libraries,and in which our libraries should be installed.
19414
lt_sysroot=$lt_sysroot
19416
# The name of the directory that contains temporary libtool files.
19419
# Used to examine libraries when file_magic_cmd begins with "file".
19420
MAGIC_CMD=$MAGIC_CMD
19422
# Must we lock files when doing compilation?
19423
need_locks=$lt_need_locks
19426
MANIFEST_TOOL=$lt_MANIFEST_TOOL
19428
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
19429
DSYMUTIL=$lt_DSYMUTIL
19431
# Tool to change global to local symbols on Mac OS X.
19434
# Tool to manipulate fat objects and archives on Mac OS X.
19437
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
19440
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
19441
OTOOL64=$lt_OTOOL64
19443
# Old archive suffix (normally "a").
19446
# Shared library suffix (normally ".so").
19447
shrext_cmds=$lt_shrext_cmds
19449
# The commands to extract the exported symbol list from a shared archive.
19450
extract_expsyms_cmds=$lt_extract_expsyms_cmds
19452
# Variables whose values should be saved in libtool wrapper scripts and
19453
# restored at link time.
19454
variables_saved_for_relink=$lt_variables_saved_for_relink
19456
# Do we need the "lib" prefix for modules?
19457
need_lib_prefix=$need_lib_prefix
19459
# Do we need a version for libraries?
19460
need_version=$need_version
19462
# Library versioning type.
19463
version_type=$version_type
19465
# Shared library runtime path variable.
19466
runpath_var=$runpath_var
19468
# Shared library path variable.
19469
shlibpath_var=$shlibpath_var
19471
# Is shlibpath searched before the hard-coded library search path?
19472
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19474
# Format of library name prefix.
19475
libname_spec=$lt_libname_spec
19477
# List of archive names. First name is the real one, the rest are links.
19478
# The last name is the one that the linker finds with -lNAME
19479
library_names_spec=$lt_library_names_spec
19481
# The coded name of the library, if different from the real name.
19482
soname_spec=$lt_soname_spec
19484
# Permission mode override for installation of shared libraries.
19485
install_override_mode=$lt_install_override_mode
19487
# Command to use after installation of a shared archive.
19488
postinstall_cmds=$lt_postinstall_cmds
19490
# Command to use after uninstallation of a shared archive.
19491
postuninstall_cmds=$lt_postuninstall_cmds
19493
# Commands used to finish a libtool library installation in a directory.
19494
finish_cmds=$lt_finish_cmds
19496
# As "finish_cmds", except a single script fragment to be evaled but
19498
finish_eval=$lt_finish_eval
19500
# Whether we should hardcode library paths into libraries.
19501
hardcode_into_libs=$hardcode_into_libs
19503
# Compile-time system search path for libraries.
19504
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19506
# Run-time system search path for libraries.
19507
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19509
# Whether dlopen is supported.
19510
dlopen_support=$enable_dlopen
19512
# Whether dlopen of programs is supported.
19513
dlopen_self=$enable_dlopen_self
19515
# Whether dlopen of statically linked programs is supported.
19516
dlopen_self_static=$enable_dlopen_self_static
19518
# Commands to strip libraries.
19519
old_striplib=$lt_old_striplib
19520
striplib=$lt_striplib
19523
# The linker used to build libraries.
19526
# How to create reloadable object files.
19527
reload_flag=$lt_reload_flag
19528
reload_cmds=$lt_reload_cmds
19530
# Commands used to build an old-style archive.
19531
old_archive_cmds=$lt_old_archive_cmds
19533
# A language specific compiler.
19536
# Is the compiler the GNU compiler?
19539
# Compiler flag to turn off builtin functions.
19540
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
19542
# Additional compiler flags for building library objects.
19543
pic_flag=$lt_lt_prog_compiler_pic
19545
# How to pass a linker flag through the compiler.
19546
wl=$lt_lt_prog_compiler_wl
19548
# Compiler flag to prevent dynamic linking.
19549
link_static_flag=$lt_lt_prog_compiler_static
19551
# Does compiler simultaneously support -c and -o options?
19552
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
19554
# Whether or not to add -lc for building shared libraries.
19555
build_libtool_need_lc=$archive_cmds_need_lc
19557
# Whether or not to disallow shared libs when runtime libs are static.
19558
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
19560
# Compiler flag to allow reflexive dlopens.
19561
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
19563
# Compiler flag to generate shared objects directly from archives.
19564
whole_archive_flag_spec=$lt_whole_archive_flag_spec
19566
# Whether the compiler copes with passing no objects directly.
19567
compiler_needs_object=$lt_compiler_needs_object
19569
# Create an old-style archive from a shared archive.
19570
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
19572
# Create a temporary old-style archive to link instead of a shared archive.
19573
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
19575
# Commands used to build a shared archive.
19576
archive_cmds=$lt_archive_cmds
19577
archive_expsym_cmds=$lt_archive_expsym_cmds
19579
# Commands used to build a loadable module if different from building
19580
# a shared archive.
19581
module_cmds=$lt_module_cmds
19582
module_expsym_cmds=$lt_module_expsym_cmds
19584
# Whether we are building with GNU ld or not.
19585
with_gnu_ld=$lt_with_gnu_ld
19587
# Flag that allows shared libraries with undefined symbols to be built.
19588
allow_undefined_flag=$lt_allow_undefined_flag
19590
# Flag that enforces no undefined symbols.
19591
no_undefined_flag=$lt_no_undefined_flag
19593
# Flag to hardcode \$libdir into a binary during linking.
19594
# This must work even if \$libdir does not exist
19595
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
19597
# If ld is used when linking, flag to hardcode \$libdir into a binary
19598
# during linking. This must work even if \$libdir does not exist.
19599
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
19601
# Whether we need a single "-rpath" flag with a separated argument.
19602
hardcode_libdir_separator=$lt_hardcode_libdir_separator
19604
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19605
# DIR into the resulting binary.
19606
hardcode_direct=$hardcode_direct
19608
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19609
# DIR into the resulting binary and the resulting library dependency is
19610
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19611
# library is relocated.
19612
hardcode_direct_absolute=$hardcode_direct_absolute
19614
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19615
# into the resulting binary.
19616
hardcode_minus_L=$hardcode_minus_L
19618
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19619
# into the resulting binary.
19620
hardcode_shlibpath_var=$hardcode_shlibpath_var
19622
# Set to "yes" if building a shared library automatically hardcodes DIR
19623
# into the library and all subsequent libraries and executables linked
19625
hardcode_automatic=$hardcode_automatic
19627
# Set to yes if linker adds runtime paths of dependent libraries
19628
# to runtime path list.
19629
inherit_rpath=$inherit_rpath
19631
# Whether libtool must link a program against all its dependency libraries.
19632
link_all_deplibs=$link_all_deplibs
19634
# Set to "yes" if exported symbols are required.
19635
always_export_symbols=$always_export_symbols
19637
# The commands to list exported symbols.
19638
export_symbols_cmds=$lt_export_symbols_cmds
19640
# Symbols that should not be listed in the preloaded symbols.
19641
exclude_expsyms=$lt_exclude_expsyms
19643
# Symbols that must always be exported.
19644
include_expsyms=$lt_include_expsyms
19646
# Commands necessary for linking programs (against libraries) with templates.
19647
prelink_cmds=$lt_prelink_cmds
19649
# Commands necessary for finishing linking programs.
19650
postlink_cmds=$lt_postlink_cmds
19652
# Specify filename containing input files.
19653
file_list_spec=$lt_file_list_spec
19655
# How to hardcode a shared library path into an executable.
19656
hardcode_action=$hardcode_action
19658
# ### END LIBTOOL CONFIG
19664
cat <<\_LT_EOF >> "$cfgfile"
19665
# AIX sometimes has problems with the GCC collect2 program. For some
19666
# reason, if we set the COLLECT_NAMES environment variable, the problems
19667
# vanish in a puff of smoke.
19668
if test "X${COLLECT_NAMES+set}" != Xset; then
19670
export COLLECT_NAMES
19677
ltmain="$ac_aux_dir/ltmain.sh"
19680
# We use sed instead of cat because bash on DJGPP gets confused if
19681
# if finds mixed CR/LF and LF-only lines. Since sed operates in
19682
# text mode, it properly converts lines to CR/LF. This bash problem
19683
# is reportedly fixed, but why not run on old versions too?
19684
sed '$q' "$ltmain" >> "$cfgfile" \
19685
|| (rm -f "$cfgfile"; exit 1)
19687
if test x"$xsi_shell" = xyes; then
19688
sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
19692
\ */*) func_dirname_result="${1%/*}${2}" ;;\
19693
\ * ) func_dirname_result="${3}" ;;\
19695
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
19696
&& mv -f "$cfgfile.tmp" "$cfgfile" \
19697
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19698
test 0 -eq $? || _lt_function_replace_fail=:
19701
sed -e '/^func_basename ()$/,/^} # func_basename /c\
19704
\ func_basename_result="${1##*/}"\
19705
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
19706
&& mv -f "$cfgfile.tmp" "$cfgfile" \
19707
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19708
test 0 -eq $? || _lt_function_replace_fail=:
19711
sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
19712
func_dirname_and_basename ()\
19715
\ */*) func_dirname_result="${1%/*}${2}" ;;\
19716
\ * ) func_dirname_result="${3}" ;;\
19718
\ func_basename_result="${1##*/}"\
19719
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
19720
&& mv -f "$cfgfile.tmp" "$cfgfile" \
19721
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19722
test 0 -eq $? || _lt_function_replace_fail=:
19725
sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
19728
\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
19729
\ # positional parameters, so assign one to ordinary parameter first.\
19730
\ func_stripname_result=${3}\
19731
\ func_stripname_result=${func_stripname_result#"${1}"}\
19732
\ func_stripname_result=${func_stripname_result%"${2}"}\
19733
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
19734
&& mv -f "$cfgfile.tmp" "$cfgfile" \
19735
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19736
test 0 -eq $? || _lt_function_replace_fail=:
19739
sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
19740
func_split_long_opt ()\
19742
\ func_split_long_opt_name=${1%%=*}\
19743
\ func_split_long_opt_arg=${1#*=}\
19744
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
19745
&& mv -f "$cfgfile.tmp" "$cfgfile" \
19746
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19747
test 0 -eq $? || _lt_function_replace_fail=:
19750
sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
19751
func_split_short_opt ()\
19753
\ func_split_short_opt_arg=${1#??}\
19754
\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
19755
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
19756
&& mv -f "$cfgfile.tmp" "$cfgfile" \
19757
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19758
test 0 -eq $? || _lt_function_replace_fail=:
19761
sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
19765
\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
19766
\ *) func_lo2o_result=${1} ;;\
19768
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
19769
&& mv -f "$cfgfile.tmp" "$cfgfile" \
19770
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19771
test 0 -eq $? || _lt_function_replace_fail=:
19774
sed -e '/^func_xform ()$/,/^} # func_xform /c\
19777
func_xform_result=${1%.*}.lo\
19778
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
19779
&& mv -f "$cfgfile.tmp" "$cfgfile" \
19780
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19781
test 0 -eq $? || _lt_function_replace_fail=:
19784
sed -e '/^func_arith ()$/,/^} # func_arith /c\
19787
func_arith_result=$(( $* ))\
19788
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
19789
&& mv -f "$cfgfile.tmp" "$cfgfile" \
19790
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19791
test 0 -eq $? || _lt_function_replace_fail=:
19794
sed -e '/^func_len ()$/,/^} # func_len /c\
19797
func_len_result=${#1}\
19798
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
19799
&& mv -f "$cfgfile.tmp" "$cfgfile" \
19800
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19801
test 0 -eq $? || _lt_function_replace_fail=:
19805
if test x"$lt_shell_append" = xyes; then
19806
sed -e '/^func_append ()$/,/^} # func_append /c\
19809
eval "${1}+=\\${2}"\
19810
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
19811
&& mv -f "$cfgfile.tmp" "$cfgfile" \
19812
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19813
test 0 -eq $? || _lt_function_replace_fail=:
19816
sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
19817
func_append_quoted ()\
19819
\ func_quote_for_eval "${2}"\
19820
\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
19821
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
19822
&& mv -f "$cfgfile.tmp" "$cfgfile" \
19823
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19824
test 0 -eq $? || _lt_function_replace_fail=:
19827
# Save a `func_append' function call where possible by direct use of '+='
19828
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
19829
&& mv -f "$cfgfile.tmp" "$cfgfile" \
19830
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19831
test 0 -eq $? || _lt_function_replace_fail=:
19833
# Save a `func_append' function call even when '+=' is not available
19834
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
19835
&& mv -f "$cfgfile.tmp" "$cfgfile" \
19836
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19837
test 0 -eq $? || _lt_function_replace_fail=:
19840
if test x"$_lt_function_replace_fail" = x":"; then
19841
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
19842
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
19846
mv -f "$cfgfile" "$ofile" ||
19847
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19852
if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
19853
as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
19855
rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
19860
'"s|^| $ac_top_srcdir/|" \
19861
"$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
19863
sed '/^POTFILES =/,/[^\\]$/ {
19867
' "po/Makefile.in" >"po/Makefile"
19868
rm -f "po/Makefile.tmp"
19869
mv "po/stamp-it.tmp" "po/stamp-it"
19878
ac_clean_files=$ac_clean_files_save
19880
test $ac_write_fail = 0 ||
19881
as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19884
# configure is writing to config.log, and then calls config.status.
19885
# config.status does its own redirection, appending to config.log.
19886
# Unfortunately, on DOS this fails, as config.log is still kept open
19887
# by configure, so config.status won't be able to write to it; its
19888
# output is simply discarded. So we exec the FD to /dev/null,
19889
# effectively closing config.log, so it can be properly (re)opened and
19890
# appended to by config.status. When coming back to configure, we
19891
# need to make the FD available again.
19892
if test "$no_create" != yes; then
19894
ac_config_status_args=
19895
test "$silent" = yes &&
19896
ac_config_status_args="$ac_config_status_args --quiet"
19898
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19900
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
19901
# would make configure fail if this is the last instruction.
19902
$ac_cs_success || as_fn_exit 1
19904
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19905
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19906
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19909
{ $as_echo "$as_me:${as_lineno-$LINENO}: result:
19911
Version $IBUS_VERSION
19912
Install prefix $prefix
19913
Build shared libs $enable_shared
19914
Build static libs $enable_static
19916
Gtk2 immodule dir $GTK2_IM_MODULEDIR
19917
Gtk3 immodule dir $GTK3_IM_MODULEDIR
19918
Build gtk2 immodule $enable_gtk2
19919
Build gtk3 immodule $enable_gtk3
19920
Build XIM agent server $enable_xim
19921
Build python modules $enable_python
19922
Build gconf modules $enable_gconf
19923
Build memconf modules $enable_memconf
19924
Build dconf modules $enable_dconf
19925
Build introspection $found_introspection
19926
IBus-1.0.gir scannerflags \"$IBUS_GIR_SCANNERFLAGS\"
19927
Build vala binding $enable_vala
19928
Build document $enable_gtk_doc
19929
Enable key snooper $enable_key_snooper
19930
No snooper regexes \"$NO_SNOOPER_APPS\"
19931
Panel icon \"$IBUS_ICON_KEYBOARD\"
19932
Enable surrounding-text $enable_surrounding_text
19936
Version $IBUS_VERSION
19937
Install prefix $prefix
19938
Build shared libs $enable_shared
19939
Build static libs $enable_static
19941
Gtk2 immodule dir $GTK2_IM_MODULEDIR
19942
Gtk3 immodule dir $GTK3_IM_MODULEDIR
19943
Build gtk2 immodule $enable_gtk2
19944
Build gtk3 immodule $enable_gtk3
19945
Build XIM agent server $enable_xim
19946
Build python modules $enable_python
19947
Build gconf modules $enable_gconf
19948
Build memconf modules $enable_memconf
19949
Build dconf modules $enable_dconf
19950
Build introspection $found_introspection
19951
IBus-1.0.gir scannerflags \"$IBUS_GIR_SCANNERFLAGS\"
19952
Build vala binding $enable_vala
19953
Build document $enable_gtk_doc
19954
Enable key snooper $enable_key_snooper
19955
No snooper regexes \"$NO_SNOOPER_APPS\"
19956
Panel icon \"$IBUS_ICON_KEYBOARD\"
19957
Enable surrounding-text $enable_surrounding_text