2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.67 for cheese 3.0.1.
5
# Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=cheese>.
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.
95
*[\\/]* ) as_myself=$0 ;;
96
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100
test -z "$as_dir" && as_dir=.
101
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107
# We did not find ourselves, most probably we were run as `sh COMMAND'
108
# in which case we are not to be found in the path.
109
if test "x$as_myself" = x; then
112
if test ! -f "$as_myself"; then
113
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117
# Unset variables that we do not need and which cause bugs (e.g. in
118
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119
# suppresses any "Segmentation fault" message there. '((' could
120
# trigger a bug in pdksh 5.2.14.
121
for as_var in BASH_ENV ENV MAIL MAILPATH
122
do eval test x\${$as_var+set} = xset \
123
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
136
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138
if test "x$CONFIG_SHELL" = x; then
139
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143
# is contrary to our usage. Disable this feature.
144
alias -g '\${1+\"\$@\"}'='\"\$@\"'
147
case \`(set -o) 2>/dev/null\` in #(
155
as_required="as_fn_return () { (exit \$1); }
156
as_fn_success () { as_fn_return 0; }
157
as_fn_failure () { as_fn_return 1; }
158
as_fn_ret_success () { return 0; }
159
as_fn_ret_failure () { return 1; }
162
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169
exitcode=1; echo positional parameters were not saved.
171
test x\$exitcode = x0 || exit 1"
172
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176
test \$(( 1 + 1 )) = 2 || exit 1
178
test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
179
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
180
ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181
ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182
PATH=/empty FPATH=/empty; export PATH FPATH
183
test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
184
|| test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
185
if (eval "$as_required") 2>/dev/null; then :
190
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
193
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
195
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
198
test -z "$as_dir" && as_dir=.
202
for as_base in sh bash ksh sh5; do
203
# Try only shells that exist, to save several forks.
204
as_shell=$as_dir/$as_base
205
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
206
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
207
CONFIG_SHELL=$as_shell as_have_required=yes
208
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
216
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
217
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
218
CONFIG_SHELL=$SHELL as_have_required=yes
223
if test "x$CONFIG_SHELL" != x; then :
224
# We cannot yet assume a decent shell, so we have to provide a
225
# neutralization value for shells without unset; and this also
226
# works around shells that cannot unset nonexistent variables.
229
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
231
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
234
if test x$as_have_required = xno; then :
235
$as_echo "$0: This script requires a shell more modern than all"
236
$as_echo "$0: the shells that I found on your system."
237
if test x${ZSH_VERSION+set} = xset ; then
238
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
239
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
241
$as_echo "$0: Please tell bug-autoconf@gnu.org and
242
$0: http://bugzilla.gnome.org/enter_bug.cgi?product=cheese
243
$0: about your system, including any error possibly output
244
$0: before this message. Then install a modern shell, or
245
$0: manually run the script under such a shell if you do
252
SHELL=${CONFIG_SHELL-/bin/sh}
254
# Unset more variables known to interfere with behavior of common tools.
255
CLICOLOR_FORCE= GREP_OPTIONS=
256
unset CLICOLOR_FORCE GREP_OPTIONS
258
## --------------------- ##
259
## M4sh Shell Functions. ##
260
## --------------------- ##
263
# Portably unset VAR.
266
{ eval $1=; unset $1;}
270
# as_fn_set_status STATUS
271
# -----------------------
272
# Set $? to STATUS, without forking.
280
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
290
# Create "$as_dir" as a directory, including parents if necessary.
295
-*) as_dir=./$as_dir;;
297
test -d "$as_dir" || eval $as_mkdir_p || {
301
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
304
as_dirs="'$as_qdir' $as_dirs"
305
as_dir=`$as_dirname -- "$as_dir" ||
306
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
307
X"$as_dir" : 'X\(//\)[^/]' \| \
308
X"$as_dir" : 'X\(//\)$' \| \
309
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
310
$as_echo X"$as_dir" |
311
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
328
test -d "$as_dir" && break
330
test -z "$as_dirs" || eval "mkdir $as_dirs"
331
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
335
# as_fn_append VAR VALUE
336
# ----------------------
337
# Append the text in VALUE to the end of the definition contained in VAR. Take
338
# advantage of any shell optimizations that allow amortized linear growth over
339
# repeated appends, instead of the typical quadratic growth present in naive
341
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
342
eval 'as_fn_append ()
355
# Perform arithmetic evaluation on the ARGs, and store the result in the
356
# global $as_val. Take advantage of shells that can avoid forks. The arguments
357
# must be portable across $(()) and expr.
358
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
366
as_val=`expr "$@" || test $? -eq 1`
371
# as_fn_error STATUS ERROR [LINENO LOG_FD]
372
# ----------------------------------------
373
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
374
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
375
# script with STATUS, using 1 if that was 0.
378
as_status=$1; test $as_status -eq 0 && as_status=1
380
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
381
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
383
$as_echo "$as_me: error: $2" >&2
384
as_fn_exit $as_status
387
if expr a : '\(a\)' >/dev/null 2>&1 &&
388
test "X`expr 00001 : '.*\(...\)'`" = X001; then
394
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
400
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
406
as_me=`$as_basename -- "$0" ||
407
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
408
X"$0" : 'X\(//\)$' \| \
409
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
411
sed '/^.*\/\([^/][^/]*\)\/*$/{
425
# Avoid depending upon Character Ranges.
426
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
427
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
428
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
429
as_cr_digits='0123456789'
430
as_cr_alnum=$as_cr_Letters$as_cr_digits
433
as_lineno_1=$LINENO as_lineno_1a=$LINENO
434
as_lineno_2=$LINENO as_lineno_2a=$LINENO
435
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
436
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
437
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
449
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453
chmod +x "$as_me.lineno" ||
454
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
456
# Don't try to exec as it changes $[0], causing all sort of problems
457
# (the dirname of $[0] is not the place where we might find the
458
# original and so on. Autoconf is especially sensitive to this).
460
# Exit status is that of the last command.
464
ECHO_C= ECHO_N= ECHO_T=
465
case `echo -n x` in #(((((
467
case `echo 'xy\c'` in
468
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
470
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
477
rm -f conf$$ conf$$.exe conf$$.file
478
if test -d conf$$.dir; then
479
rm -f conf$$.dir/conf$$.file
482
mkdir conf$$.dir 2>/dev/null
484
if (echo >conf$$.file) 2>/dev/null; then
485
if ln -s conf$$.file conf$$ 2>/dev/null; then
487
# ... but there are two gotchas:
488
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
489
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
490
# In both cases, we have to default to `cp -p'.
491
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
493
elif ln conf$$.file conf$$ 2>/dev/null; then
501
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
502
rmdir conf$$.dir 2>/dev/null
504
if mkdir -p . 2>/dev/null; then
505
as_mkdir_p='mkdir -p "$as_dir"'
507
test -d ./-p && rmdir ./-p
511
if test -x / >/dev/null 2>&1; then
514
if ls -dL / >/dev/null 2>&1; then
521
if test -d "$1"; then
527
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
528
???[sx]*):;;*)false;;esac;fi
532
as_executable_p=$as_test_x
534
# Sed expression to map a string onto a valid CPP name.
535
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
537
# Sed expression to map a string onto a valid variable name.
538
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
541
# Use only awk features that work with 7th edition Unix awk (1978).
542
# My, what an old awk you have, Mr. Solaris!
544
while (length(v1) && length(v2)) {
545
# Set d1 to be the next thing to compare from v1, and likewise for d2.
546
# Normally this is a single character, but if v1 and v2 contain digits,
547
# compare them as integers and fractions as strverscmp does.
548
if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) {
549
# Split v1 and v2 into their leading digit string components d1 and d2,
550
# and advance v1 and v2 past the leading digit strings.
551
for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue
552
for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue
553
d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
554
d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
557
# Compare two fractions.
558
while (d1 ~ /^0/ && d2 ~ /^0/) {
559
d1 = substr(d1, 2); len1--
560
d2 = substr(d2, 2); len2--
562
if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
563
# The two components differ in length, and the common prefix
564
# contains only leading zeros. Consider the longer to be less.
568
# Otherwise, compare as strings.
573
# A fraction is less than an integer.
578
# An integer is greater than a fraction.
581
# Compare two integers.
587
# The normal case, without worrying about digits.
588
d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
589
d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
594
# Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
595
# which mishandles some comparisons of empty strings to integers.
596
if (length(v2)) exit 1
597
if (length(v1)) exit 2
600
SHELL=${CONFIG_SHELL-/bin/sh}
603
test -n "$DJDIR" || exec 7<&0 </dev/null
607
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
608
# so uname gets run too.
609
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
614
ac_default_prefix=/usr/local
616
ac_config_libobj_dir=.
623
# Identity of this package.
624
PACKAGE_NAME='cheese'
625
PACKAGE_TARNAME='cheese'
626
PACKAGE_VERSION='3.0.1'
627
PACKAGE_STRING='cheese 3.0.1'
628
PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=cheese'
629
PACKAGE_URL='http://projects.gnome.org/cheese/'
631
ac_unique_file="configure.ac"
632
# Factoring default headers for most tests.
633
ac_includes_default="\
635
#ifdef HAVE_SYS_TYPES_H
636
# include <sys/types.h>
638
#ifdef HAVE_SYS_STAT_H
639
# include <sys/stat.h>
645
# ifdef HAVE_STDLIB_H
650
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
655
#ifdef HAVE_STRINGS_H
656
# include <strings.h>
658
#ifdef HAVE_INTTYPES_H
659
# include <inttypes.h>
669
ac_subst_vars='am__EXEEXT_FALSE
676
GSETTINGS_DISABLE_SCHEMAS_COMPILE
677
HAVE_GNOME_DOC_UTILS_FALSE
678
HAVE_GNOME_DOC_UTILS_TRUE
679
DISTCHECK_CONFIGURE_FLAGS
685
GTK_DOC_USE_REBASE_FALSE
686
GTK_DOC_USE_REBASE_TRUE
687
GTK_DOC_USE_LIBTOOL_FALSE
688
GTK_DOC_USE_LIBTOOL_TRUE
689
GTK_DOC_BUILD_PDF_FALSE
690
GTK_DOC_BUILD_PDF_TRUE
691
GTK_DOC_BUILD_HTML_FALSE
692
GTK_DOC_BUILD_HTML_TRUE
699
HAVE_INTROSPECTION_FALSE
700
HAVE_INTROSPECTION_TRUE
701
INTROSPECTION_MAKEFILE
704
INTROSPECTION_TYPELIBDIR
706
INTROSPECTION_GENERATE
707
INTROSPECTION_COMPILER
708
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
757
XGETTEXT_EXTRA_OPTIONS
765
GETTEXT_MACRO_VERSION
768
LIBCHEESE_GTK_LT_VERSION
820
MAINTAINER_MODE_FALSE
830
INSTALL_STRIP_PROGRAM
872
program_transform_name
885
enable_option_checking
886
enable_maintainer_mode
887
enable_dependency_tracking
895
enable_compile_warnings
910
enable_schemas_compile
912
ac_precious_vars='build_alias
932
# Initialize some variables set by options.
934
ac_init_version=false
935
ac_unrecognized_opts=
937
# The variables have the same names as the options, with
938
# dashes changed to underlines.
946
program_transform_name=s,x,x,
954
# Installation directory options.
955
# These are left unexpanded so users can "make install exec_prefix=/foo"
956
# and all the variables that are supposed to be based on exec_prefix
957
# by default will actually change.
958
# Use braces instead of parens because sh, perl, etc. also accept them.
959
# (The list follows the same order as the GNU Coding Standards.)
960
bindir='${exec_prefix}/bin'
961
sbindir='${exec_prefix}/sbin'
962
libexecdir='${exec_prefix}/libexec'
963
datarootdir='${prefix}/share'
964
datadir='${datarootdir}'
965
sysconfdir='${prefix}/etc'
966
sharedstatedir='${prefix}/com'
967
localstatedir='${prefix}/var'
968
includedir='${prefix}/include'
969
oldincludedir='/usr/include'
970
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
971
infodir='${datarootdir}/info'
976
libdir='${exec_prefix}/lib'
977
localedir='${datarootdir}/locale'
978
mandir='${datarootdir}/man'
984
# If the previous option needs an argument, assign it.
985
if test -n "$ac_prev"; then
986
eval $ac_prev=\$ac_option
992
*=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
997
# Accept the important Cygnus configure options, so we can diagnose typos.
999
case $ac_dashdash$ac_option in
1003
-bindir | --bindir | --bindi | --bind | --bin | --bi)
1005
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1006
bindir=$ac_optarg ;;
1008
-build | --build | --buil | --bui | --bu)
1009
ac_prev=build_alias ;;
1010
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
1011
build_alias=$ac_optarg ;;
1013
-cache-file | --cache-file | --cache-fil | --cache-fi \
1014
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1015
ac_prev=cache_file ;;
1016
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1017
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1018
cache_file=$ac_optarg ;;
1020
--config-cache | -C)
1021
cache_file=config.cache ;;
1023
-datadir | --datadir | --datadi | --datad)
1025
-datadir=* | --datadir=* | --datadi=* | --datad=*)
1026
datadir=$ac_optarg ;;
1028
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1029
| --dataroo | --dataro | --datar)
1030
ac_prev=datarootdir ;;
1031
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1032
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1033
datarootdir=$ac_optarg ;;
1035
-disable-* | --disable-*)
1036
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1037
# Reject names that are not valid shell variable names.
1038
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1039
as_fn_error $? "invalid feature name: $ac_useropt"
1040
ac_useropt_orig=$ac_useropt
1041
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1042
case $ac_user_opts in
1044
"enable_$ac_useropt"
1046
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1047
ac_unrecognized_sep=', ';;
1049
eval enable_$ac_useropt=no ;;
1051
-docdir | --docdir | --docdi | --doc | --do)
1053
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1054
docdir=$ac_optarg ;;
1056
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1058
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1059
dvidir=$ac_optarg ;;
1061
-enable-* | --enable-*)
1062
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1063
# Reject names that are not valid shell variable names.
1064
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1065
as_fn_error $? "invalid feature name: $ac_useropt"
1066
ac_useropt_orig=$ac_useropt
1067
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1068
case $ac_user_opts in
1070
"enable_$ac_useropt"
1072
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1073
ac_unrecognized_sep=', ';;
1075
eval enable_$ac_useropt=\$ac_optarg ;;
1077
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1078
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1079
| --exec | --exe | --ex)
1080
ac_prev=exec_prefix ;;
1081
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1082
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1083
| --exec=* | --exe=* | --ex=*)
1084
exec_prefix=$ac_optarg ;;
1086
-gas | --gas | --ga | --g)
1087
# Obsolete; use --with-gas.
1090
-help | --help | --hel | --he | -h)
1091
ac_init_help=long ;;
1092
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1093
ac_init_help=recursive ;;
1094
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1095
ac_init_help=short ;;
1097
-host | --host | --hos | --ho)
1098
ac_prev=host_alias ;;
1099
-host=* | --host=* | --hos=* | --ho=*)
1100
host_alias=$ac_optarg ;;
1102
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1104
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1106
htmldir=$ac_optarg ;;
1108
-includedir | --includedir | --includedi | --included | --include \
1109
| --includ | --inclu | --incl | --inc)
1110
ac_prev=includedir ;;
1111
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1112
| --includ=* | --inclu=* | --incl=* | --inc=*)
1113
includedir=$ac_optarg ;;
1115
-infodir | --infodir | --infodi | --infod | --info | --inf)
1117
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1118
infodir=$ac_optarg ;;
1120
-libdir | --libdir | --libdi | --libd)
1122
-libdir=* | --libdir=* | --libdi=* | --libd=*)
1123
libdir=$ac_optarg ;;
1125
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1126
| --libexe | --libex | --libe)
1127
ac_prev=libexecdir ;;
1128
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1129
| --libexe=* | --libex=* | --libe=*)
1130
libexecdir=$ac_optarg ;;
1132
-localedir | --localedir | --localedi | --localed | --locale)
1133
ac_prev=localedir ;;
1134
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1135
localedir=$ac_optarg ;;
1137
-localstatedir | --localstatedir | --localstatedi | --localstated \
1138
| --localstate | --localstat | --localsta | --localst | --locals)
1139
ac_prev=localstatedir ;;
1140
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1141
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1142
localstatedir=$ac_optarg ;;
1144
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1146
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1147
mandir=$ac_optarg ;;
1149
-nfp | --nfp | --nf)
1150
# Obsolete; use --without-fp.
1153
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
1154
| --no-cr | --no-c | -n)
1157
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
1158
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1161
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1162
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1163
| --oldin | --oldi | --old | --ol | --o)
1164
ac_prev=oldincludedir ;;
1165
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1166
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1167
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1168
oldincludedir=$ac_optarg ;;
1170
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1172
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1173
prefix=$ac_optarg ;;
1175
-program-prefix | --program-prefix | --program-prefi | --program-pref \
1176
| --program-pre | --program-pr | --program-p)
1177
ac_prev=program_prefix ;;
1178
-program-prefix=* | --program-prefix=* | --program-prefi=* \
1179
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1180
program_prefix=$ac_optarg ;;
1182
-program-suffix | --program-suffix | --program-suffi | --program-suff \
1183
| --program-suf | --program-su | --program-s)
1184
ac_prev=program_suffix ;;
1185
-program-suffix=* | --program-suffix=* | --program-suffi=* \
1186
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1187
program_suffix=$ac_optarg ;;
1189
-program-transform-name | --program-transform-name \
1190
| --program-transform-nam | --program-transform-na \
1191
| --program-transform-n | --program-transform- \
1192
| --program-transform | --program-transfor \
1193
| --program-transfo | --program-transf \
1194
| --program-trans | --program-tran \
1195
| --progr-tra | --program-tr | --program-t)
1196
ac_prev=program_transform_name ;;
1197
-program-transform-name=* | --program-transform-name=* \
1198
| --program-transform-nam=* | --program-transform-na=* \
1199
| --program-transform-n=* | --program-transform-=* \
1200
| --program-transform=* | --program-transfor=* \
1201
| --program-transfo=* | --program-transf=* \
1202
| --program-trans=* | --program-tran=* \
1203
| --progr-tra=* | --program-tr=* | --program-t=*)
1204
program_transform_name=$ac_optarg ;;
1206
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1208
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1209
pdfdir=$ac_optarg ;;
1211
-psdir | --psdir | --psdi | --psd | --ps)
1213
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1216
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1217
| -silent | --silent | --silen | --sile | --sil)
1220
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1222
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1224
sbindir=$ac_optarg ;;
1226
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1227
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1228
| --sharedst | --shareds | --shared | --share | --shar \
1230
ac_prev=sharedstatedir ;;
1231
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1232
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1233
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1235
sharedstatedir=$ac_optarg ;;
1237
-site | --site | --sit)
1239
-site=* | --site=* | --sit=*)
1242
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1244
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1245
srcdir=$ac_optarg ;;
1247
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1248
| --syscon | --sysco | --sysc | --sys | --sy)
1249
ac_prev=sysconfdir ;;
1250
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1251
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1252
sysconfdir=$ac_optarg ;;
1254
-target | --target | --targe | --targ | --tar | --ta | --t)
1255
ac_prev=target_alias ;;
1256
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1257
target_alias=$ac_optarg ;;
1259
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1262
-version | --version | --versio | --versi | --vers | -V)
1263
ac_init_version=: ;;
1266
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1267
# Reject names that are not valid shell variable names.
1268
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1269
as_fn_error $? "invalid package name: $ac_useropt"
1270
ac_useropt_orig=$ac_useropt
1271
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1272
case $ac_user_opts in
1276
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1277
ac_unrecognized_sep=', ';;
1279
eval with_$ac_useropt=\$ac_optarg ;;
1281
-without-* | --without-*)
1282
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1283
# Reject names that are not valid shell variable names.
1284
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1285
as_fn_error $? "invalid package name: $ac_useropt"
1286
ac_useropt_orig=$ac_useropt
1287
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1288
case $ac_user_opts in
1292
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1293
ac_unrecognized_sep=', ';;
1295
eval with_$ac_useropt=no ;;
1298
# Obsolete; use --with-x.
1301
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1302
| --x-incl | --x-inc | --x-in | --x-i)
1303
ac_prev=x_includes ;;
1304
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1305
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1306
x_includes=$ac_optarg ;;
1308
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1309
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1310
ac_prev=x_libraries ;;
1311
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1312
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1313
x_libraries=$ac_optarg ;;
1315
-*) as_fn_error $? "unrecognized option: \`$ac_option'
1316
Try \`$0 --help' for more information"
1320
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1321
# Reject names that are not valid shell variable names.
1322
case $ac_envvar in #(
1323
'' | [0-9]* | *[!_$as_cr_alnum]* )
1324
as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1326
eval $ac_envvar=\$ac_optarg
1327
export $ac_envvar ;;
1330
# FIXME: should be removed in autoconf 3.0.
1331
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1332
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1333
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1334
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1340
if test -n "$ac_prev"; then
1341
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1342
as_fn_error $? "missing argument to $ac_option"
1345
if test -n "$ac_unrecognized_opts"; then
1346
case $enable_option_checking in
1348
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1349
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1353
# Check all directory arguments for consistency.
1354
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1355
datadir sysconfdir sharedstatedir localstatedir includedir \
1356
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1357
libdir localedir mandir
1359
eval ac_val=\$$ac_var
1360
# Remove trailing slashes.
1363
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1364
eval $ac_var=\$ac_val;;
1366
# Be sure to have absolute directory names.
1368
[\\/$]* | ?:[\\/]* ) continue;;
1369
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1371
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1374
# There might be people who depend on the old broken behavior: `$host'
1375
# used to hold the argument of --host etc.
1376
# FIXME: To remove some day.
1379
target=$target_alias
1381
# FIXME: To remove some day.
1382
if test "x$host_alias" != x; then
1383
if test "x$build_alias" = x; then
1384
cross_compiling=maybe
1385
$as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1386
If a cross compiler is detected then cross compile mode will be used" >&2
1387
elif test "x$build_alias" != "x$host_alias"; then
1393
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1395
test "$silent" = yes && exec 6>/dev/null
1398
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1399
ac_ls_di=`ls -di .` &&
1400
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1401
as_fn_error $? "working directory cannot be determined"
1402
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1403
as_fn_error $? "pwd does not report name of working directory"
1406
# Find the source files, if location was not specified.
1407
if test -z "$srcdir"; then
1408
ac_srcdir_defaulted=yes
1409
# Try the directory containing this script, then the parent directory.
1410
ac_confdir=`$as_dirname -- "$as_myself" ||
1411
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1412
X"$as_myself" : 'X\(//\)[^/]' \| \
1413
X"$as_myself" : 'X\(//\)$' \| \
1414
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1415
$as_echo X"$as_myself" |
1416
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1434
if test ! -r "$srcdir/$ac_unique_file"; then
1438
ac_srcdir_defaulted=no
1440
if test ! -r "$srcdir/$ac_unique_file"; then
1441
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1442
as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1444
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1446
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1448
# When building in place, set srcdir=.
1449
if test "$ac_abs_confdir" = "$ac_pwd"; then
1452
# Remove unnecessary trailing slashes from srcdir.
1453
# Double slashes in file names in object file debugging info
1454
# mess up M-x gdb in Emacs.
1456
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1458
for ac_var in $ac_precious_vars; do
1459
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1460
eval ac_env_${ac_var}_value=\$${ac_var}
1461
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1462
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1466
# Report the --help message.
1468
if test "$ac_init_help" = "long"; then
1469
# Omit some internal or obsolete options to make the list less imposing.
1470
# This message is too long to be a string in the A/UX 3.1 sh.
1472
\`configure' configures cheese 3.0.1 to adapt to many kinds of systems.
1474
Usage: $0 [OPTION]... [VAR=VALUE]...
1476
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1477
VAR=VALUE. See below for descriptions of some of the useful variables.
1479
Defaults for the options are specified in brackets.
1482
-h, --help display this help and exit
1483
--help=short display options specific to this package
1484
--help=recursive display the short help of all the included packages
1485
-V, --version display version information and exit
1486
-q, --quiet, --silent do not print \`checking ...' messages
1487
--cache-file=FILE cache test results in FILE [disabled]
1488
-C, --config-cache alias for \`--cache-file=config.cache'
1489
-n, --no-create do not create output files
1490
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1492
Installation directories:
1493
--prefix=PREFIX install architecture-independent files in PREFIX
1494
[$ac_default_prefix]
1495
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1498
By default, \`make install' will install all the files in
1499
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1500
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1501
for instance \`--prefix=\$HOME'.
1503
For better control, use the options below.
1505
Fine tuning of the installation directories:
1506
--bindir=DIR user executables [EPREFIX/bin]
1507
--sbindir=DIR system admin executables [EPREFIX/sbin]
1508
--libexecdir=DIR program executables [EPREFIX/libexec]
1509
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1510
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1511
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1512
--libdir=DIR object code libraries [EPREFIX/lib]
1513
--includedir=DIR C header files [PREFIX/include]
1514
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1515
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1516
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1517
--infodir=DIR info documentation [DATAROOTDIR/info]
1518
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1519
--mandir=DIR man documentation [DATAROOTDIR/man]
1520
--docdir=DIR documentation root [DATAROOTDIR/doc/cheese]
1521
--htmldir=DIR html documentation [DOCDIR]
1522
--dvidir=DIR dvi documentation [DOCDIR]
1523
--pdfdir=DIR pdf documentation [DOCDIR]
1524
--psdir=DIR ps documentation [DOCDIR]
1530
--program-prefix=PREFIX prepend PREFIX to installed program names
1531
--program-suffix=SUFFIX append SUFFIX to installed program names
1532
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1535
--build=BUILD configure for building on BUILD [guessed]
1536
--host=HOST cross-compile to build programs to run on HOST [BUILD]
1540
if test -n "$ac_init_help"; then
1541
case $ac_init_help in
1542
short | recursive ) echo "Configuration of cheese 3.0.1:";;
1547
--disable-option-checking ignore unrecognized --enable/--with options
1548
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1549
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1550
--disable-maintainer-mode disable make rules and dependencies not useful
1551
(and sometimes confusing) to the casual installer
1552
--disable-dependency-tracking speeds up one-time build
1553
--enable-dependency-tracking do not reject slow dependency extractors
1554
--enable-shared[=PKGS] build shared libraries [default=yes]
1555
--enable-static[=PKGS] build static libraries [default=yes]
1556
--enable-fast-install[=PKGS]
1557
optimize for fast installation [default=yes]
1558
--disable-libtool-lock avoid locking (might break parallel builds)
1559
--enable-compile-warnings=[no/minimum/yes/maximum/error]
1560
Turn on compiler warnings
1561
--enable-iso-c Try to warn if code is not ISO C
1562
--disable-nls do not use Native Language Support
1563
--disable-rpath do not hardcode runtime library paths
1564
--enable-introspection=[no/auto/yes]
1565
Enable introspection for this build
1566
--enable-gtk-doc use gtk-doc to build documentation [[default=no]]
1567
--enable-gtk-doc-html build documentation in html format [[default=yes]]
1568
--enable-gtk-doc-pdf build documentation in pdf format [[default=no]]
1569
--disable-scrollkeeper do not make updates to the scrollkeeper database
1570
--disable-schemas-compile
1571
Disable regeneration of gschemas.compiled on install
1574
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1575
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1576
--with-pic try to use only PIC/non-PIC objects [default=use
1578
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
1579
--with-sysroot=DIR Search for dependent libraries within DIR
1580
(or the compiler's sysroot if not specified).
1581
--with-gnu-ld assume the C compiler uses GNU ld default=no
1582
--with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1583
--without-libiconv-prefix don't search for libiconv in includedir and libdir
1584
--with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1585
--without-libintl-prefix don't search for libintl in includedir and libdir
1586
--with-html-dir=PATH path to installed docs
1587
--with-help-dir=DIR path to help docs
1588
--with-omf-dir=DIR path to OMF files
1589
--with-help-formats=FORMATS
1592
Some influential environment variables:
1593
CC C compiler command
1594
CFLAGS C compiler flags
1595
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1596
nonstandard directory <lib dir>
1597
LIBS libraries to pass to the linker, e.g. -l<library>
1598
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1599
you have headers in a nonstandard directory <include dir>
1601
PKG_CONFIG path to pkg-config utility
1603
directories to add to pkg-config's search path
1605
path overriding pkg-config's built-in search path
1606
UDEV_CFLAGS C compiler flags for UDEV, overriding pkg-config
1607
UDEV_LIBS linker flags for UDEV, overriding pkg-config
1609
C compiler flags for CHEESE, overriding pkg-config
1610
CHEESE_LIBS linker flags for CHEESE, overriding pkg-config
1612
C compiler flags for CHEESE_GTK, overriding pkg-config
1614
linker flags for CHEESE_GTK, overriding pkg-config
1616
Use these variables to override the choices made by `configure' or to help
1617
it to find libraries and programs with nonstandard names/locations.
1619
Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=cheese>.
1620
cheese home page: <http://projects.gnome.org/cheese/>.
1625
if test "$ac_init_help" = "recursive"; then
1626
# If there are subdirs, report their specific --help.
1627
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1628
test -d "$ac_dir" ||
1629
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1634
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1636
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1637
# A ".." for each directory in $ac_dir_suffix.
1638
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1639
case $ac_top_builddir_sub in
1640
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1641
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1644
ac_abs_top_builddir=$ac_pwd
1645
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1646
# for backward compatibility:
1647
ac_top_builddir=$ac_top_build_prefix
1650
.) # We are building in place.
1652
ac_top_srcdir=$ac_top_builddir_sub
1653
ac_abs_top_srcdir=$ac_pwd ;;
1654
[\\/]* | ?:[\\/]* ) # Absolute name.
1655
ac_srcdir=$srcdir$ac_dir_suffix;
1656
ac_top_srcdir=$srcdir
1657
ac_abs_top_srcdir=$srcdir ;;
1659
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1660
ac_top_srcdir=$ac_top_build_prefix$srcdir
1661
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1663
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1665
cd "$ac_dir" || { ac_status=$?; continue; }
1666
# Check for guested configure.
1667
if test -f "$ac_srcdir/configure.gnu"; then
1669
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1670
elif test -f "$ac_srcdir/configure"; then
1672
$SHELL "$ac_srcdir/configure" --help=recursive
1674
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1676
cd "$ac_pwd" || { ac_status=$?; break; }
1680
test -n "$ac_init_help" && exit $ac_status
1681
if $ac_init_version; then
1683
cheese configure 3.0.1
1684
generated by GNU Autoconf 2.67
1686
Copyright (C) 2010 Free Software Foundation, Inc.
1687
This configure script is free software; the Free Software Foundation
1688
gives unlimited permission to copy, distribute and modify it.
1693
## ------------------------ ##
1694
## Autoconf initialization. ##
1695
## ------------------------ ##
1697
# ac_fn_c_try_compile LINENO
1698
# --------------------------
1699
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1700
ac_fn_c_try_compile ()
1702
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1703
rm -f conftest.$ac_objext
1704
if { { ac_try="$ac_compile"
1706
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1707
*) ac_try_echo=$ac_try;;
1709
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1710
$as_echo "$ac_try_echo"; } >&5
1711
(eval "$ac_compile") 2>conftest.err
1713
if test -s conftest.err; then
1714
grep -v '^ *+' conftest.err >conftest.er1
1715
cat conftest.er1 >&5
1716
mv -f conftest.er1 conftest.err
1718
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1719
test $ac_status = 0; } && {
1720
test -z "$ac_c_werror_flag" ||
1721
test ! -s conftest.err
1722
} && test -s conftest.$ac_objext; then :
1725
$as_echo "$as_me: failed program was:" >&5
1726
sed 's/^/| /' conftest.$ac_ext >&5
1730
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1731
as_fn_set_status $ac_retval
1733
} # ac_fn_c_try_compile
1735
# ac_fn_c_try_cpp LINENO
1736
# ----------------------
1737
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1740
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1741
if { { ac_try="$ac_cpp conftest.$ac_ext"
1743
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1744
*) ac_try_echo=$ac_try;;
1746
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1747
$as_echo "$ac_try_echo"; } >&5
1748
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1750
if test -s conftest.err; then
1751
grep -v '^ *+' conftest.err >conftest.er1
1752
cat conftest.er1 >&5
1753
mv -f conftest.er1 conftest.err
1755
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1756
test $ac_status = 0; } > conftest.i && {
1757
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1758
test ! -s conftest.err
1762
$as_echo "$as_me: failed program was:" >&5
1763
sed 's/^/| /' conftest.$ac_ext >&5
1767
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1768
as_fn_set_status $ac_retval
1772
# ac_fn_c_try_run LINENO
1773
# ----------------------
1774
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1775
# that executables *can* be run.
1778
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1779
if { { ac_try="$ac_link"
1781
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1782
*) ac_try_echo=$ac_try;;
1784
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1785
$as_echo "$ac_try_echo"; } >&5
1786
(eval "$ac_link") 2>&5
1788
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1789
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1790
{ { case "(($ac_try" in
1791
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1792
*) ac_try_echo=$ac_try;;
1794
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1795
$as_echo "$ac_try_echo"; } >&5
1796
(eval "$ac_try") 2>&5
1798
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1799
test $ac_status = 0; }; }; then :
1802
$as_echo "$as_me: program exited with status $ac_status" >&5
1803
$as_echo "$as_me: failed program was:" >&5
1804
sed 's/^/| /' conftest.$ac_ext >&5
1806
ac_retval=$ac_status
1808
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1809
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1810
as_fn_set_status $ac_retval
1814
# ac_fn_c_try_link LINENO
1815
# -----------------------
1816
# Try to link conftest.$ac_ext, and return whether this succeeded.
1819
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1820
rm -f conftest.$ac_objext conftest$ac_exeext
1821
if { { ac_try="$ac_link"
1823
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1824
*) ac_try_echo=$ac_try;;
1826
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1827
$as_echo "$ac_try_echo"; } >&5
1828
(eval "$ac_link") 2>conftest.err
1830
if test -s conftest.err; then
1831
grep -v '^ *+' conftest.err >conftest.er1
1832
cat conftest.er1 >&5
1833
mv -f conftest.er1 conftest.err
1835
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1836
test $ac_status = 0; } && {
1837
test -z "$ac_c_werror_flag" ||
1838
test ! -s conftest.err
1839
} && test -s conftest$ac_exeext && {
1840
test "$cross_compiling" = yes ||
1841
$as_test_x conftest$ac_exeext
1845
$as_echo "$as_me: failed program was:" >&5
1846
sed 's/^/| /' conftest.$ac_ext >&5
1850
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1851
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1852
# interfere with the next link command; also delete a directory that is
1853
# left behind by Apple's compiler. We do this before executing the actions.
1854
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1855
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1856
as_fn_set_status $ac_retval
1858
} # ac_fn_c_try_link
1860
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1861
# -------------------------------------------------------
1862
# Tests whether HEADER exists and can be compiled using the include files in
1863
# INCLUDES, setting the cache variable VAR accordingly.
1864
ac_fn_c_check_header_compile ()
1866
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1867
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1868
$as_echo_n "checking for $2... " >&6; }
1869
if eval "test \"\${$3+set}\"" = set; then :
1870
$as_echo_n "(cached) " >&6
1872
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1873
/* end confdefs.h. */
1877
if ac_fn_c_try_compile "$LINENO"; then :
1882
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1885
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1886
$as_echo "$ac_res" >&6; }
1887
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1889
} # ac_fn_c_check_header_compile
1891
# ac_fn_c_check_func LINENO FUNC VAR
1892
# ----------------------------------
1893
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1894
ac_fn_c_check_func ()
1896
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1897
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1898
$as_echo_n "checking for $2... " >&6; }
1899
if eval "test \"\${$3+set}\"" = set; then :
1900
$as_echo_n "(cached) " >&6
1902
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1903
/* end confdefs.h. */
1904
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1905
For example, HP-UX 11i <limits.h> declares gettimeofday. */
1906
#define $2 innocuous_$2
1908
/* System header to define __stub macros and hopefully few prototypes,
1909
which can conflict with char $2 (); below.
1910
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1911
<limits.h> exists even on freestanding compilers. */
1914
# include <limits.h>
1916
# include <assert.h>
1921
/* Override any GCC internal prototype to avoid an error.
1922
Use char because int might match the return type of a GCC
1923
builtin and then its argument prototype would still apply. */
1928
/* The GNU C library defines this for functions which it implements
1929
to always fail with ENOSYS. Some functions are actually named
1930
something starting with __ and the normal name is an alias. */
1931
#if defined __stub_$2 || defined __stub___$2
1943
if ac_fn_c_try_link "$LINENO"; then :
1948
rm -f core conftest.err conftest.$ac_objext \
1949
conftest$ac_exeext conftest.$ac_ext
1952
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1953
$as_echo "$ac_res" >&6; }
1954
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1956
} # ac_fn_c_check_func
1958
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1959
# -------------------------------------------------------
1960
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1961
# the include files in INCLUDES and setting the cache variable VAR
1963
ac_fn_c_check_header_mongrel ()
1965
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1966
if eval "test \"\${$3+set}\"" = set; then :
1967
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1968
$as_echo_n "checking for $2... " >&6; }
1969
if eval "test \"\${$3+set}\"" = set; then :
1970
$as_echo_n "(cached) " >&6
1973
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1974
$as_echo "$ac_res" >&6; }
1976
# Is the header compilable?
1977
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1978
$as_echo_n "checking $2 usability... " >&6; }
1979
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1980
/* end confdefs.h. */
1984
if ac_fn_c_try_compile "$LINENO"; then :
1985
ac_header_compiler=yes
1987
ac_header_compiler=no
1989
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1990
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1991
$as_echo "$ac_header_compiler" >&6; }
1993
# Is the header present?
1994
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1995
$as_echo_n "checking $2 presence... " >&6; }
1996
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1997
/* end confdefs.h. */
2000
if ac_fn_c_try_cpp "$LINENO"; then :
2001
ac_header_preproc=yes
2003
ac_header_preproc=no
2005
rm -f conftest.err conftest.i conftest.$ac_ext
2006
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2007
$as_echo "$ac_header_preproc" >&6; }
2009
# So? What about this header?
2010
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2012
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2013
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2014
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2015
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2018
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2019
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2020
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2021
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2022
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2023
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2024
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2025
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2026
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2027
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2028
( $as_echo "## --------------------------------------------------------------------- ##
2029
## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=cheese ##
2030
## --------------------------------------------------------------------- ##"
2031
) | sed "s/^/$as_me: WARNING: /" >&2
2034
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2035
$as_echo_n "checking for $2... " >&6; }
2036
if eval "test \"\${$3+set}\"" = set; then :
2037
$as_echo_n "(cached) " >&6
2039
eval "$3=\$ac_header_compiler"
2042
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2043
$as_echo "$ac_res" >&6; }
2045
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2047
} # ac_fn_c_check_header_mongrel
2048
cat >config.log <<_ACEOF
2049
This file contains any messages produced by compilers while
2050
running configure, to aid debugging if configure makes a mistake.
2052
It was created by cheese $as_me 3.0.1, which was
2053
generated by GNU Autoconf 2.67. Invocation command line was
2065
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2066
uname -m = `(uname -m) 2>/dev/null || echo unknown`
2067
uname -r = `(uname -r) 2>/dev/null || echo unknown`
2068
uname -s = `(uname -s) 2>/dev/null || echo unknown`
2069
uname -v = `(uname -v) 2>/dev/null || echo unknown`
2071
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2072
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2074
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2075
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2076
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2077
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2078
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2079
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2080
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2084
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2088
test -z "$as_dir" && as_dir=.
2089
$as_echo "PATH: $as_dir"
2105
# Keep a trace of the command line.
2106
# Strip out --no-create and --no-recursion so they do not pile up.
2107
# Strip out --silent because we don't want to record it for future runs.
2108
# Also quote any args containing shell meta-characters.
2109
# Make two passes to allow for proper duplicate-argument suppression.
2113
ac_must_keep_next=false
2119
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2120
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
2121
| -silent | --silent | --silen | --sile | --sil)
2124
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2127
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2129
as_fn_append ac_configure_args1 " '$ac_arg'"
2130
if test $ac_must_keep_next = true; then
2131
ac_must_keep_next=false # Got value, back to normal.
2134
*=* | --config-cache | -C | -disable-* | --disable-* \
2135
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2136
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2137
| -with-* | --with-* | -without-* | --without-* | --x)
2138
case "$ac_configure_args0 " in
2139
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2142
-* ) ac_must_keep_next=true ;;
2145
as_fn_append ac_configure_args " '$ac_arg'"
2150
{ ac_configure_args0=; unset ac_configure_args0;}
2151
{ ac_configure_args1=; unset ac_configure_args1;}
2153
# When interrupted or exit'd, cleanup temporary files, and complete
2154
# config.log. We remove comments because anyway the quotes in there
2155
# would cause problems or look ugly.
2156
# WARNING: Use '\'' to represent an apostrophe within the trap.
2157
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2158
trap 'exit_status=$?
2159
# Save into config.log some information that might help in debugging.
2163
$as_echo "## ---------------- ##
2164
## Cache variables. ##
2165
## ---------------- ##"
2167
# The following way of writing the cache mishandles newlines in values,
2169
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2170
eval ac_val=\$$ac_var
2174
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2175
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2178
_ | IFS | as_nl) ;; #(
2179
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2180
*) { eval $ac_var=; unset $ac_var;} ;;
2185
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2186
*${as_nl}ac_space=\ *)
2188
"s/'\''/'\''\\\\'\'''\''/g;
2189
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2192
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2199
$as_echo "## ----------------- ##
2200
## Output variables. ##
2201
## ----------------- ##"
2203
for ac_var in $ac_subst_vars
2205
eval ac_val=\$$ac_var
2207
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2209
$as_echo "$ac_var='\''$ac_val'\''"
2213
if test -n "$ac_subst_files"; then
2214
$as_echo "## ------------------- ##
2215
## File substitutions. ##
2216
## ------------------- ##"
2218
for ac_var in $ac_subst_files
2220
eval ac_val=\$$ac_var
2222
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2224
$as_echo "$ac_var='\''$ac_val'\''"
2229
if test -s confdefs.h; then
2230
$as_echo "## ----------- ##
2237
test "$ac_signal" != 0 &&
2238
$as_echo "$as_me: caught signal $ac_signal"
2239
$as_echo "$as_me: exit $exit_status"
2241
rm -f core *.core core.conftest.* &&
2242
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2245
for ac_signal in 1 2 13 15; do
2246
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2250
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2251
rm -f -r conftest* confdefs.h
2253
$as_echo "/* confdefs.h */" > confdefs.h
2255
# Predefined preprocessor variables.
2257
cat >>confdefs.h <<_ACEOF
2258
#define PACKAGE_NAME "$PACKAGE_NAME"
2261
cat >>confdefs.h <<_ACEOF
2262
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2265
cat >>confdefs.h <<_ACEOF
2266
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2269
cat >>confdefs.h <<_ACEOF
2270
#define PACKAGE_STRING "$PACKAGE_STRING"
2273
cat >>confdefs.h <<_ACEOF
2274
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2277
cat >>confdefs.h <<_ACEOF
2278
#define PACKAGE_URL "$PACKAGE_URL"
2282
# Let the site file select an alternate cache file if it wants to.
2283
# Prefer an explicitly selected file to automatically selected ones.
2286
if test -n "$CONFIG_SITE"; then
2287
# We do not want a PATH search for config.site.
2288
case $CONFIG_SITE in #((
2289
-*) ac_site_file1=./$CONFIG_SITE;;
2290
*/*) ac_site_file1=$CONFIG_SITE;;
2291
*) ac_site_file1=./$CONFIG_SITE;;
2293
elif test "x$prefix" != xNONE; then
2294
ac_site_file1=$prefix/share/config.site
2295
ac_site_file2=$prefix/etc/config.site
2297
ac_site_file1=$ac_default_prefix/share/config.site
2298
ac_site_file2=$ac_default_prefix/etc/config.site
2300
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2302
test "x$ac_site_file" = xNONE && continue
2303
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2304
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2305
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2306
sed 's/^/| /' "$ac_site_file" >&5
2308
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2309
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2310
as_fn_error $? "failed to load site script $ac_site_file
2311
See \`config.log' for more details" "$LINENO" 5 ; }
2315
if test -r "$cache_file"; then
2316
# Some versions of bash will fail to source /dev/null (special files
2317
# actually), so we avoid doing that. DJGPP emulates it as a regular file.
2318
if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2319
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2320
$as_echo "$as_me: loading cache $cache_file" >&6;}
2322
[\\/]* | ?:[\\/]* ) . "$cache_file";;
2323
*) . "./$cache_file";;
2327
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2328
$as_echo "$as_me: creating cache $cache_file" >&6;}
2332
gt_needs="$gt_needs "
2333
# Check that the precious variables saved in the cache have kept the same
2335
ac_cache_corrupted=false
2336
for ac_var in $ac_precious_vars; do
2337
eval ac_old_set=\$ac_cv_env_${ac_var}_set
2338
eval ac_new_set=\$ac_env_${ac_var}_set
2339
eval ac_old_val=\$ac_cv_env_${ac_var}_value
2340
eval ac_new_val=\$ac_env_${ac_var}_value
2341
case $ac_old_set,$ac_new_set in
2343
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2344
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2345
ac_cache_corrupted=: ;;
2347
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2348
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2349
ac_cache_corrupted=: ;;
2352
if test "x$ac_old_val" != "x$ac_new_val"; then
2353
# differences in whitespace do not lead to failure.
2354
ac_old_val_w=`echo x $ac_old_val`
2355
ac_new_val_w=`echo x $ac_new_val`
2356
if test "$ac_old_val_w" != "$ac_new_val_w"; then
2357
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2358
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2359
ac_cache_corrupted=:
2361
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2362
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2363
eval $ac_var=\$ac_old_val
2365
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2366
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2367
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2368
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2371
# Pass precious variables to config.status.
2372
if test "$ac_new_set" = set; then
2374
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2375
*) ac_arg=$ac_var=$ac_new_val ;;
2377
case " $ac_configure_args " in
2378
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2379
*) as_fn_append ac_configure_args " '$ac_arg'" ;;
2383
if $ac_cache_corrupted; then
2384
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2385
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2386
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2387
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2388
as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2390
## -------------------- ##
2391
## Main body of script. ##
2392
## -------------------- ##
2395
ac_cpp='$CPP $CPPFLAGS'
2396
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2397
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2398
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2402
ac_config_headers="$ac_config_headers cheese-config.h"
2407
am__api_version='1.11'
2410
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2411
if test -f "$ac_dir/install-sh"; then
2413
ac_install_sh="$ac_aux_dir/install-sh -c"
2415
elif test -f "$ac_dir/install.sh"; then
2417
ac_install_sh="$ac_aux_dir/install.sh -c"
2419
elif test -f "$ac_dir/shtool"; then
2421
ac_install_sh="$ac_aux_dir/shtool install -c"
2425
if test -z "$ac_aux_dir"; then
2426
as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2429
# These three variables are undocumented and unsupported,
2430
# and are intended to be withdrawn in a future Autoconf release.
2431
# They can cause serious problems if a builder's source tree is in a directory
2432
# whose full name contains unusual characters.
2433
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2434
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2435
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2438
# Find a good install program. We prefer a C program (faster),
2439
# so one script is as good as another. But avoid the broken or
2440
# incompatible versions:
2441
# SysV /etc/install, /usr/sbin/install
2442
# SunOS /usr/etc/install
2443
# IRIX /sbin/install
2445
# AmigaOS /C/install, which installs bootblocks on floppy discs
2446
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2447
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2448
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2449
# OS/2's system install, which has a completely different semantic
2450
# ./install, which can be erroneously created by make from ./install.sh.
2451
# Reject install programs that cannot install multiple files.
2452
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2453
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2454
if test -z "$INSTALL"; then
2455
if test "${ac_cv_path_install+set}" = set; then :
2456
$as_echo_n "(cached) " >&6
2458
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2462
test -z "$as_dir" && as_dir=.
2463
# Account for people who put trailing slashes in PATH elements.
2464
case $as_dir/ in #((
2465
./ | .// | /[cC]/* | \
2466
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2467
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2470
# OSF1 and SCO ODT 3.0 have their own names for install.
2471
# Don't use installbsd from OSF since it installs stuff as root
2473
for ac_prog in ginstall scoinst install; do
2474
for ac_exec_ext in '' $ac_executable_extensions; do
2475
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2476
if test $ac_prog = install &&
2477
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2478
# AIX install. It has an incompatible calling convention.
2480
elif test $ac_prog = install &&
2481
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2482
# program-specific install script used by HP pwplus--don't use.
2485
rm -rf conftest.one conftest.two conftest.dir
2486
echo one > conftest.one
2487
echo two > conftest.two
2489
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2490
test -s conftest.one && test -s conftest.two &&
2491
test -s conftest.dir/conftest.one &&
2492
test -s conftest.dir/conftest.two
2494
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2507
rm -rf conftest.one conftest.two conftest.dir
2510
if test "${ac_cv_path_install+set}" = set; then
2511
INSTALL=$ac_cv_path_install
2513
# As a last resort, use the slow shell script. Don't cache a
2514
# value for INSTALL within a source directory, because that will
2515
# break other packages using the cache if that directory is
2516
# removed, or if the value is a relative name.
2517
INSTALL=$ac_install_sh
2520
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2521
$as_echo "$INSTALL" >&6; }
2523
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2524
# It thinks the first close brace ends the variable substitution.
2525
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2527
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2529
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2531
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2532
$as_echo_n "checking whether build environment is sane... " >&6; }
2535
echo timestamp > conftest.file
2536
# Reject unsafe characters in $srcdir or the absolute working directory
2537
# name. Accept space and tab only in the latter.
2541
*[\\\"\#\$\&\'\`$am_lf]*)
2542
as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
2545
*[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2546
as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
2549
# Do `set' in a subshell so we don't clobber the current shell's
2550
# arguments. Must try -L first in case configure is actually a
2551
# symlink; some systems play weird games with the mod time of symlinks
2552
# (eg FreeBSD returns the mod time of the symlink's containing
2555
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2556
if test "$*" = "X"; then
2558
set X `ls -t "$srcdir/configure" conftest.file`
2561
if test "$*" != "X $srcdir/configure conftest.file" \
2562
&& test "$*" != "X conftest.file $srcdir/configure"; then
2564
# If neither matched, then we have a broken ls. This can happen
2565
# if, for instance, CONFIG_SHELL is bash and it inherits a
2566
# broken ls alias from the environment. This has actually
2567
# happened. Such a system could not be considered "sane".
2568
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2569
alias in your environment" "$LINENO" 5
2572
test "$2" = conftest.file
2578
as_fn_error $? "newly created file is older than distributed files!
2579
Check your system clock" "$LINENO" 5
2581
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2582
$as_echo "yes" >&6; }
2583
test "$program_prefix" != NONE &&
2584
program_transform_name="s&^&$program_prefix&;$program_transform_name"
2585
# Use a double $ so make ignores it.
2586
test "$program_suffix" != NONE &&
2587
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2588
# Double any \ or $.
2589
# By default was `s,x,x', remove it if useless.
2590
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2591
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2593
# expand $ac_aux_dir to an absolute path
2594
am_aux_dir=`cd $ac_aux_dir && pwd`
2596
if test x"${MISSING+set}" != xset; then
2599
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2601
MISSING="\${SHELL} $am_aux_dir/missing" ;;
2604
# Use eval to expand $SHELL
2605
if eval "$MISSING --run true"; then
2606
am_missing_run="$MISSING --run "
2609
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2610
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2613
if test x"${install_sh}" != xset; then
2616
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2618
install_sh="\${SHELL} $am_aux_dir/install-sh"
2622
# Installed binaries are usually stripped using `strip' when the user
2623
# run `make install-strip'. However `strip' might not be the right
2624
# tool to use in cross-compilation environments, therefore Automake
2625
# will honor the `STRIP' environment variable to overrule this program.
2626
if test "$cross_compiling" != no; then
2627
if test -n "$ac_tool_prefix"; then
2628
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2629
set dummy ${ac_tool_prefix}strip; ac_word=$2
2630
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2631
$as_echo_n "checking for $ac_word... " >&6; }
2632
if test "${ac_cv_prog_STRIP+set}" = set; then :
2633
$as_echo_n "(cached) " >&6
2635
if test -n "$STRIP"; then
2636
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2638
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2642
test -z "$as_dir" && as_dir=.
2643
for ac_exec_ext in '' $ac_executable_extensions; do
2644
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2645
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2646
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2655
STRIP=$ac_cv_prog_STRIP
2656
if test -n "$STRIP"; then
2657
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2658
$as_echo "$STRIP" >&6; }
2660
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2661
$as_echo "no" >&6; }
2666
if test -z "$ac_cv_prog_STRIP"; then
2668
# Extract the first word of "strip", so it can be a program name with args.
2669
set dummy strip; ac_word=$2
2670
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2671
$as_echo_n "checking for $ac_word... " >&6; }
2672
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2673
$as_echo_n "(cached) " >&6
2675
if test -n "$ac_ct_STRIP"; then
2676
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2678
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2682
test -z "$as_dir" && as_dir=.
2683
for ac_exec_ext in '' $ac_executable_extensions; do
2684
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2685
ac_cv_prog_ac_ct_STRIP="strip"
2686
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2695
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2696
if test -n "$ac_ct_STRIP"; then
2697
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2698
$as_echo "$ac_ct_STRIP" >&6; }
2700
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2701
$as_echo "no" >&6; }
2704
if test "x$ac_ct_STRIP" = x; then
2707
case $cross_compiling:$ac_tool_warned in
2709
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2710
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2711
ac_tool_warned=yes ;;
2716
STRIP="$ac_cv_prog_STRIP"
2720
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2722
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2723
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2724
if test -z "$MKDIR_P"; then
2725
if test "${ac_cv_path_mkdir+set}" = set; then :
2726
$as_echo_n "(cached) " >&6
2728
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2729
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2732
test -z "$as_dir" && as_dir=.
2733
for ac_prog in mkdir gmkdir; do
2734
for ac_exec_ext in '' $ac_executable_extensions; do
2735
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2736
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2737
'mkdir (GNU coreutils) '* | \
2738
'mkdir (coreutils) '* | \
2739
'mkdir (fileutils) '4.1*)
2740
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2750
test -d ./--version && rmdir ./--version
2751
if test "${ac_cv_path_mkdir+set}" = set; then
2752
MKDIR_P="$ac_cv_path_mkdir -p"
2754
# As a last resort, use the slow shell script. Don't cache a
2755
# value for MKDIR_P within a source directory, because that will
2756
# break other packages using the cache if that directory is
2757
# removed, or if the value is a relative name.
2758
MKDIR_P="$ac_install_sh -d"
2761
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2762
$as_echo "$MKDIR_P" >&6; }
2766
[\\/$]* | ?:[\\/]*) ;;
2767
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2770
for ac_prog in gawk mawk nawk awk
2772
# Extract the first word of "$ac_prog", so it can be a program name with args.
2773
set dummy $ac_prog; ac_word=$2
2774
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2775
$as_echo_n "checking for $ac_word... " >&6; }
2776
if test "${ac_cv_prog_AWK+set}" = set; then :
2777
$as_echo_n "(cached) " >&6
2779
if test -n "$AWK"; then
2780
ac_cv_prog_AWK="$AWK" # Let the user override the test.
2782
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2786
test -z "$as_dir" && as_dir=.
2787
for ac_exec_ext in '' $ac_executable_extensions; do
2788
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2789
ac_cv_prog_AWK="$ac_prog"
2790
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2800
if test -n "$AWK"; then
2801
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2802
$as_echo "$AWK" >&6; }
2804
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2805
$as_echo "no" >&6; }
2809
test -n "$AWK" && break
2812
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2813
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2815
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2816
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2817
$as_echo_n "(cached) " >&6
2819
cat >conftest.make <<\_ACEOF
2822
@echo '@@@%%%=$(MAKE)=@@@%%%'
2824
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2825
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2827
eval ac_cv_prog_make_${ac_make}_set=yes;;
2829
eval ac_cv_prog_make_${ac_make}_set=no;;
2833
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2834
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2835
$as_echo "yes" >&6; }
2838
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2839
$as_echo "no" >&6; }
2840
SET_MAKE="MAKE=${MAKE-make}"
2843
rm -rf .tst 2>/dev/null
2844
mkdir .tst 2>/dev/null
2845
if test -d .tst; then
2850
rmdir .tst 2>/dev/null
2852
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2853
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2854
# is not polluted with repeated "-I."
2855
am__isrc=' -I$(srcdir)'
2856
# test to see if srcdir already configured
2857
if test -f $srcdir/config.status; then
2858
as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2862
# test whether we have cygpath
2863
if test -z "$CYGPATH_W"; then
2864
if (cygpath --version) >/dev/null 2>/dev/null; then
2865
CYGPATH_W='cygpath -w'
2872
# Define the identity of the package.
2877
cat >>confdefs.h <<_ACEOF
2878
#define PACKAGE "$PACKAGE"
2882
cat >>confdefs.h <<_ACEOF
2883
#define VERSION "$VERSION"
2886
# Some tools Automake needs.
2888
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2891
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2894
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2897
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2900
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2902
# We need awk for the "check" target. The system "awk" is bad on
2904
# Always define AMTAR for backward compatibility.
2906
AMTAR=${AMTAR-"${am_missing_run}tar"}
2908
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2915
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to disable maintainer-specific portions of Makefiles" >&5
2916
$as_echo_n "checking whether to disable maintainer-specific portions of Makefiles... " >&6; }
2917
# Check whether --enable-maintainer-mode was given.
2918
if test "${enable_maintainer_mode+set}" = set; then :
2919
enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2921
USE_MAINTAINER_MODE=yes
2924
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2925
$as_echo "$USE_MAINTAINER_MODE" >&6; }
2926
if test $USE_MAINTAINER_MODE = yes; then
2927
MAINTAINER_MODE_TRUE=
2928
MAINTAINER_MODE_FALSE='#'
2930
MAINTAINER_MODE_TRUE='#'
2931
MAINTAINER_MODE_FALSE=
2934
MAINT=$MAINTAINER_MODE_TRUE
2938
# Check for programs
2940
ac_cpp='$CPP $CPPFLAGS'
2941
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2942
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2943
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2944
if test -n "$ac_tool_prefix"; then
2945
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2946
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2947
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2948
$as_echo_n "checking for $ac_word... " >&6; }
2949
if test "${ac_cv_prog_CC+set}" = set; then :
2950
$as_echo_n "(cached) " >&6
2952
if test -n "$CC"; then
2953
ac_cv_prog_CC="$CC" # Let the user override the test.
2955
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2959
test -z "$as_dir" && as_dir=.
2960
for ac_exec_ext in '' $ac_executable_extensions; do
2961
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2962
ac_cv_prog_CC="${ac_tool_prefix}gcc"
2963
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2973
if test -n "$CC"; then
2974
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2975
$as_echo "$CC" >&6; }
2977
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2978
$as_echo "no" >&6; }
2983
if test -z "$ac_cv_prog_CC"; then
2985
# Extract the first word of "gcc", so it can be a program name with args.
2986
set dummy gcc; ac_word=$2
2987
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2988
$as_echo_n "checking for $ac_word... " >&6; }
2989
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2990
$as_echo_n "(cached) " >&6
2992
if test -n "$ac_ct_CC"; then
2993
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2995
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2999
test -z "$as_dir" && as_dir=.
3000
for ac_exec_ext in '' $ac_executable_extensions; do
3001
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3002
ac_cv_prog_ac_ct_CC="gcc"
3003
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3012
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3013
if test -n "$ac_ct_CC"; then
3014
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3015
$as_echo "$ac_ct_CC" >&6; }
3017
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3018
$as_echo "no" >&6; }
3021
if test "x$ac_ct_CC" = x; then
3024
case $cross_compiling:$ac_tool_warned in
3026
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3027
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3028
ac_tool_warned=yes ;;
3036
if test -z "$CC"; then
3037
if test -n "$ac_tool_prefix"; then
3038
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3039
set dummy ${ac_tool_prefix}cc; ac_word=$2
3040
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3041
$as_echo_n "checking for $ac_word... " >&6; }
3042
if test "${ac_cv_prog_CC+set}" = set; then :
3043
$as_echo_n "(cached) " >&6
3045
if test -n "$CC"; then
3046
ac_cv_prog_CC="$CC" # Let the user override the test.
3048
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3052
test -z "$as_dir" && as_dir=.
3053
for ac_exec_ext in '' $ac_executable_extensions; do
3054
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3055
ac_cv_prog_CC="${ac_tool_prefix}cc"
3056
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3066
if test -n "$CC"; then
3067
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3068
$as_echo "$CC" >&6; }
3070
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3071
$as_echo "no" >&6; }
3077
if test -z "$CC"; then
3078
# Extract the first word of "cc", so it can be a program name with args.
3079
set dummy cc; ac_word=$2
3080
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3081
$as_echo_n "checking for $ac_word... " >&6; }
3082
if test "${ac_cv_prog_CC+set}" = set; then :
3083
$as_echo_n "(cached) " >&6
3085
if test -n "$CC"; then
3086
ac_cv_prog_CC="$CC" # Let the user override the test.
3089
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3093
test -z "$as_dir" && as_dir=.
3094
for ac_exec_ext in '' $ac_executable_extensions; do
3095
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3096
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3097
ac_prog_rejected=yes
3101
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3108
if test $ac_prog_rejected = yes; then
3109
# We found a bogon in the path, so make sure we never use it.
3110
set dummy $ac_cv_prog_CC
3112
if test $# != 0; then
3113
# We chose a different compiler from the bogus one.
3114
# However, it has the same basename, so the bogon will be chosen
3115
# first if we set CC to just the basename; use the full file name.
3117
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3123
if test -n "$CC"; then
3124
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3125
$as_echo "$CC" >&6; }
3127
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3128
$as_echo "no" >&6; }
3133
if test -z "$CC"; then
3134
if test -n "$ac_tool_prefix"; then
3135
for ac_prog in cl.exe
3137
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3138
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3139
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3140
$as_echo_n "checking for $ac_word... " >&6; }
3141
if test "${ac_cv_prog_CC+set}" = set; then :
3142
$as_echo_n "(cached) " >&6
3144
if test -n "$CC"; then
3145
ac_cv_prog_CC="$CC" # Let the user override the test.
3147
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3151
test -z "$as_dir" && as_dir=.
3152
for ac_exec_ext in '' $ac_executable_extensions; do
3153
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3154
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3155
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3165
if test -n "$CC"; then
3166
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3167
$as_echo "$CC" >&6; }
3169
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3170
$as_echo "no" >&6; }
3174
test -n "$CC" && break
3177
if test -z "$CC"; then
3179
for ac_prog in cl.exe
3181
# Extract the first word of "$ac_prog", so it can be a program name with args.
3182
set dummy $ac_prog; ac_word=$2
3183
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3184
$as_echo_n "checking for $ac_word... " >&6; }
3185
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3186
$as_echo_n "(cached) " >&6
3188
if test -n "$ac_ct_CC"; then
3189
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3191
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3195
test -z "$as_dir" && as_dir=.
3196
for ac_exec_ext in '' $ac_executable_extensions; do
3197
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3198
ac_cv_prog_ac_ct_CC="$ac_prog"
3199
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3208
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3209
if test -n "$ac_ct_CC"; then
3210
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3211
$as_echo "$ac_ct_CC" >&6; }
3213
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3214
$as_echo "no" >&6; }
3218
test -n "$ac_ct_CC" && break
3221
if test "x$ac_ct_CC" = x; then
3224
case $cross_compiling:$ac_tool_warned in
3226
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3227
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3228
ac_tool_warned=yes ;;
3237
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3238
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3239
as_fn_error $? "no acceptable C compiler found in \$PATH
3240
See \`config.log' for more details" "$LINENO" 5 ; }
3242
# Provide some information about the compiler.
3243
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3246
for ac_option in --version -v -V -qversion; do
3247
{ { ac_try="$ac_compiler $ac_option >&5"
3249
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3250
*) ac_try_echo=$ac_try;;
3252
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3253
$as_echo "$ac_try_echo"; } >&5
3254
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
3256
if test -s conftest.err; then
3258
... rest of stderr output deleted ...
3259
10q' conftest.err >conftest.er1
3260
cat conftest.er1 >&5
3262
rm -f conftest.er1 conftest.err
3263
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3264
test $ac_status = 0; }
3267
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3268
/* end confdefs.h. */
3278
ac_clean_files_save=$ac_clean_files
3279
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3280
# Try to create an executable without -o first, disregard a.out.
3281
# It will help us diagnose broken compilers, and finding out an intuition
3283
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3284
$as_echo_n "checking whether the C compiler works... " >&6; }
3285
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3287
# The possible output files:
3288
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3291
for ac_file in $ac_files
3294
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3295
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
3300
if { { ac_try="$ac_link_default"
3302
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3303
*) ac_try_echo=$ac_try;;
3305
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3306
$as_echo "$ac_try_echo"; } >&5
3307
(eval "$ac_link_default") 2>&5
3309
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3310
test $ac_status = 0; }; then :
3311
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3312
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3313
# in a Makefile. We should not override ac_cv_exeext if it was cached,
3314
# so that the user can short-circuit this test for compilers unknown to
3316
for ac_file in $ac_files ''
3318
test -f "$ac_file" || continue
3320
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3323
# We found the default executable, but exeext='' is most
3327
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3329
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3331
# We set ac_cv_exeext here because the later test for it is not
3332
# safe: cross compilers may not add the suffix if given an `-o'
3333
# argument, so we may need to know it at that point already.
3334
# Even if this section looks crufty: it has the advantage of
3341
test "$ac_cv_exeext" = no && ac_cv_exeext=
3346
if test -z "$ac_file"; then :
3347
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3348
$as_echo "no" >&6; }
3349
$as_echo "$as_me: failed program was:" >&5
3350
sed 's/^/| /' conftest.$ac_ext >&5
3352
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3353
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3354
as_fn_error 77 "C compiler cannot create executables
3355
See \`config.log' for more details" "$LINENO" 5 ; }
3357
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3358
$as_echo "yes" >&6; }
3360
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3361
$as_echo_n "checking for C compiler default output file name... " >&6; }
3362
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3363
$as_echo "$ac_file" >&6; }
3364
ac_exeext=$ac_cv_exeext
3366
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3367
ac_clean_files=$ac_clean_files_save
3368
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3369
$as_echo_n "checking for suffix of executables... " >&6; }
3370
if { { ac_try="$ac_link"
3372
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3373
*) ac_try_echo=$ac_try;;
3375
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3376
$as_echo "$ac_try_echo"; } >&5
3377
(eval "$ac_link") 2>&5
3379
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3380
test $ac_status = 0; }; then :
3381
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3382
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3383
# work properly (i.e., refer to `conftest.exe'), while it won't with
3385
for ac_file in conftest.exe conftest conftest.*; do
3386
test -f "$ac_file" || continue
3388
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3389
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3395
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3396
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3397
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3398
See \`config.log' for more details" "$LINENO" 5 ; }
3400
rm -f conftest conftest$ac_cv_exeext
3401
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3402
$as_echo "$ac_cv_exeext" >&6; }
3404
rm -f conftest.$ac_ext
3405
EXEEXT=$ac_cv_exeext
3407
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3408
/* end confdefs.h. */
3413
FILE *f = fopen ("conftest.out", "w");
3414
return ferror (f) || fclose (f) != 0;
3420
ac_clean_files="$ac_clean_files conftest.out"
3421
# Check that the compiler produces executables we can run. If not, either
3422
# the compiler is broken, or we cross compile.
3423
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3424
$as_echo_n "checking whether we are cross compiling... " >&6; }
3425
if test "$cross_compiling" != yes; then
3426
{ { ac_try="$ac_link"
3428
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3429
*) ac_try_echo=$ac_try;;
3431
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3432
$as_echo "$ac_try_echo"; } >&5
3433
(eval "$ac_link") 2>&5
3435
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3436
test $ac_status = 0; }
3437
if { ac_try='./conftest$ac_cv_exeext'
3438
{ { case "(($ac_try" in
3439
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3440
*) ac_try_echo=$ac_try;;
3442
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3443
$as_echo "$ac_try_echo"; } >&5
3444
(eval "$ac_try") 2>&5
3446
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3447
test $ac_status = 0; }; }; then
3450
if test "$cross_compiling" = maybe; then
3453
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3454
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3455
as_fn_error $? "cannot run C compiled programs.
3456
If you meant to cross compile, use \`--host'.
3457
See \`config.log' for more details" "$LINENO" 5 ; }
3461
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3462
$as_echo "$cross_compiling" >&6; }
3464
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3465
ac_clean_files=$ac_clean_files_save
3466
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3467
$as_echo_n "checking for suffix of object files... " >&6; }
3468
if test "${ac_cv_objext+set}" = set; then :
3469
$as_echo_n "(cached) " >&6
3471
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3472
/* end confdefs.h. */
3482
rm -f conftest.o conftest.obj
3483
if { { ac_try="$ac_compile"
3485
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3486
*) ac_try_echo=$ac_try;;
3488
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3489
$as_echo "$ac_try_echo"; } >&5
3490
(eval "$ac_compile") 2>&5
3492
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3493
test $ac_status = 0; }; then :
3494
for ac_file in conftest.o conftest.obj conftest.*; do
3495
test -f "$ac_file" || continue;
3497
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3498
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3503
$as_echo "$as_me: failed program was:" >&5
3504
sed 's/^/| /' conftest.$ac_ext >&5
3506
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3507
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3508
as_fn_error $? "cannot compute suffix of object files: cannot compile
3509
See \`config.log' for more details" "$LINENO" 5 ; }
3511
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3513
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3514
$as_echo "$ac_cv_objext" >&6; }
3515
OBJEXT=$ac_cv_objext
3517
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3518
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3519
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3520
$as_echo_n "(cached) " >&6
3522
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3523
/* end confdefs.h. */
3536
if ac_fn_c_try_compile "$LINENO"; then :
3541
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3542
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3545
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3546
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3547
if test $ac_compiler_gnu = yes; then
3552
ac_test_CFLAGS=${CFLAGS+set}
3553
ac_save_CFLAGS=$CFLAGS
3554
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3555
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3556
if test "${ac_cv_prog_cc_g+set}" = set; then :
3557
$as_echo_n "(cached) " >&6
3559
ac_save_c_werror_flag=$ac_c_werror_flag
3560
ac_c_werror_flag=yes
3563
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3564
/* end confdefs.h. */
3574
if ac_fn_c_try_compile "$LINENO"; then :
3578
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3579
/* end confdefs.h. */
3589
if ac_fn_c_try_compile "$LINENO"; then :
3592
ac_c_werror_flag=$ac_save_c_werror_flag
3594
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3595
/* end confdefs.h. */
3605
if ac_fn_c_try_compile "$LINENO"; then :
3608
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3610
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3612
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3613
ac_c_werror_flag=$ac_save_c_werror_flag
3615
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3616
$as_echo "$ac_cv_prog_cc_g" >&6; }
3617
if test "$ac_test_CFLAGS" = set; then
3618
CFLAGS=$ac_save_CFLAGS
3619
elif test $ac_cv_prog_cc_g = yes; then
3620
if test "$GCC" = yes; then
3626
if test "$GCC" = yes; then
3632
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3633
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3634
if test "${ac_cv_prog_cc_c89+set}" = set; then :
3635
$as_echo_n "(cached) " >&6
3637
ac_cv_prog_cc_c89=no
3639
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3640
/* end confdefs.h. */
3643
#include <sys/types.h>
3644
#include <sys/stat.h>
3645
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3646
struct buf { int x; };
3647
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3648
static char *e (p, i)
3654
static char *f (char * (*g) (char **, int), char **p, ...)
3659
s = g (p, va_arg (v,int));
3664
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3665
function prototypes and stuff, but not '\xHH' hex character constants.
3666
These don't provoke an error unfortunately, instead are silently treated
3667
as 'x'. The following induces an error, until -std is added to get
3668
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3669
array size at least. It's necessary to write '\x00'==0 to get something
3670
that's true only with -std. */
3671
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3673
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3674
inside strings and character constants. */
3676
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3678
int test (int i, double x);
3679
struct s1 {int (*f) (int a);};
3680
struct s2 {int (*f) (double a);};
3681
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3687
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3692
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3693
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3695
CC="$ac_save_CC $ac_arg"
3696
if ac_fn_c_try_compile "$LINENO"; then :
3697
ac_cv_prog_cc_c89=$ac_arg
3699
rm -f core conftest.err conftest.$ac_objext
3700
test "x$ac_cv_prog_cc_c89" != "xno" && break
3702
rm -f conftest.$ac_ext
3707
case "x$ac_cv_prog_cc_c89" in
3709
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3710
$as_echo "none needed" >&6; } ;;
3712
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3713
$as_echo "unsupported" >&6; } ;;
3715
CC="$CC $ac_cv_prog_cc_c89"
3716
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3717
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3719
if test "x$ac_cv_prog_cc_c89" != xno; then :
3724
ac_cpp='$CPP $CPPFLAGS'
3725
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3726
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3727
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3728
DEPDIR="${am__leading_dot}deps"
3730
ac_config_commands="$ac_config_commands depfiles"
3733
am_make=${MAKE-make}
3734
cat > confinc << 'END'
3736
@echo this is the am__doit target
3739
# If we don't find an include directive, just comment out the code.
3740
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3741
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3745
# First try GNU make style include.
3746
echo "include confinc" > confmf
3747
# Ignore all kinds of additional output from `make'.
3748
case `$am_make -s -f confmf 2> /dev/null` in #(
3749
*the\ am__doit\ target*)
3755
# Now try BSD make style include.
3756
if test "$am__include" = "#"; then
3757
echo '.include "confinc"' > confmf
3758
case `$am_make -s -f confmf 2> /dev/null` in #(
3759
*the\ am__doit\ target*)
3760
am__include=.include
3768
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3769
$as_echo "$_am_result" >&6; }
3770
rm -f confinc confmf
3772
# Check whether --enable-dependency-tracking was given.
3773
if test "${enable_dependency_tracking+set}" = set; then :
3774
enableval=$enable_dependency_tracking;
3777
if test "x$enable_dependency_tracking" != xno; then
3778
am_depcomp="$ac_aux_dir/depcomp"
3781
if test "x$enable_dependency_tracking" != xno; then
3791
depcc="$CC" am_compiler_list=
3793
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3794
$as_echo_n "checking dependency style of $depcc... " >&6; }
3795
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3796
$as_echo_n "(cached) " >&6
3798
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3799
# We make a subdir and do the tests there. Otherwise we can end up
3800
# making bogus files that we don't know about and never remove. For
3801
# instance it was reported that on HP-UX the gcc test will end up
3802
# making a dummy file named `D' -- because `-MD' means `put the output
3805
# Copy depcomp to subdir because otherwise we won't find it if we're
3806
# using a relative directory.
3807
cp "$am_depcomp" conftest.dir
3809
# We will build objects and dependencies in a subdirectory because
3810
# it helps to detect inapplicable dependency modes. For instance
3811
# both Tru64's cc and ICC support -MD to output dependencies as a
3812
# side effect of compilation, but ICC will put the dependencies in
3813
# the current directory while Tru64 will put them in the object
3817
am_cv_CC_dependencies_compiler_type=none
3818
if test "$am_compiler_list" = ""; then
3819
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3822
case " $depcc " in #(
3823
*\ -arch\ *\ -arch\ *) am__universal=true ;;
3826
for depmode in $am_compiler_list; do
3827
# Setup a source with many dependencies, because some compilers
3828
# like to wrap large dependency lists on column 80 (with \), and
3829
# we should not choose a depcomp mode which is confused by this.
3831
# We need to recreate these files for each test, as the compiler may
3832
# overwrite some of them when testing with obscure command lines.
3833
# This happens at least with the AIX C compiler.
3835
for i in 1 2 3 4 5 6; do
3836
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3837
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3838
# Solaris 8's {/usr,}/bin/sh.
3839
touch sub/conftst$i.h
3841
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3843
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3844
# mode. It turns out that the SunPro C++ compiler does not properly
3845
# handle `-M -o', and we need to detect this. Also, some Intel
3846
# versions had trouble with output in subdirs
3847
am__obj=sub/conftest.${OBJEXT-o}
3848
am__minus_obj="-o $am__obj"
3851
# This depmode causes a compiler race in universal mode.
3852
test "$am__universal" = false || continue
3855
# after this tag, mechanisms are not by side-effect, so they'll
3856
# only be used when explicitly requested
3857
if test "x$enable_dependency_tracking" = xyes; then
3863
msvisualcpp | msvcmsys)
3864
# This compiler won't grok `-c -o', but also, the minuso test has
3865
# not run yet. These depmodes are late enough in the game, and
3866
# so weak that their functioning should not be impacted.
3867
am__obj=conftest.${OBJEXT-o}
3872
if depmode=$depmode \
3873
source=sub/conftest.c object=$am__obj \
3874
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3875
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3876
>/dev/null 2>conftest.err &&
3877
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3878
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3879
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3880
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3881
# icc doesn't choke on unknown options, it will just issue warnings
3882
# or remarks (even with -Werror). So we grep stderr for any message
3883
# that says an option was ignored or not supported.
3884
# When given -MP, icc 7.0 and 7.1 complain thusly:
3885
# icc: Command line warning: ignoring option '-M'; no argument required
3886
# The diagnosis changed in icc 8.0:
3887
# icc: Command line remark: option '-MP' not supported
3888
if (grep 'ignoring option' conftest.err ||
3889
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3890
am_cv_CC_dependencies_compiler_type=$depmode
3899
am_cv_CC_dependencies_compiler_type=none
3903
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3904
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3905
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3908
test "x$enable_dependency_tracking" != xno \
3909
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3911
am__fastdepCC_FALSE='#'
3913
am__fastdepCC_TRUE='#'
3914
am__fastdepCC_FALSE=
3919
ac_cpp='$CPP $CPPFLAGS'
3920
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3921
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3922
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3923
if test -n "$ac_tool_prefix"; then
3924
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3925
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3926
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3927
$as_echo_n "checking for $ac_word... " >&6; }
3928
if test "${ac_cv_prog_CC+set}" = set; then :
3929
$as_echo_n "(cached) " >&6
3931
if test -n "$CC"; then
3932
ac_cv_prog_CC="$CC" # Let the user override the test.
3934
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3938
test -z "$as_dir" && as_dir=.
3939
for ac_exec_ext in '' $ac_executable_extensions; do
3940
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3941
ac_cv_prog_CC="${ac_tool_prefix}gcc"
3942
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3952
if test -n "$CC"; then
3953
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3954
$as_echo "$CC" >&6; }
3956
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3957
$as_echo "no" >&6; }
3962
if test -z "$ac_cv_prog_CC"; then
3964
# Extract the first word of "gcc", so it can be a program name with args.
3965
set dummy gcc; ac_word=$2
3966
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3967
$as_echo_n "checking for $ac_word... " >&6; }
3968
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3969
$as_echo_n "(cached) " >&6
3971
if test -n "$ac_ct_CC"; then
3972
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3974
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3978
test -z "$as_dir" && as_dir=.
3979
for ac_exec_ext in '' $ac_executable_extensions; do
3980
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3981
ac_cv_prog_ac_ct_CC="gcc"
3982
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3991
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3992
if test -n "$ac_ct_CC"; then
3993
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3994
$as_echo "$ac_ct_CC" >&6; }
3996
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3997
$as_echo "no" >&6; }
4000
if test "x$ac_ct_CC" = x; then
4003
case $cross_compiling:$ac_tool_warned in
4005
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4006
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4007
ac_tool_warned=yes ;;
4015
if test -z "$CC"; then
4016
if test -n "$ac_tool_prefix"; then
4017
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4018
set dummy ${ac_tool_prefix}cc; ac_word=$2
4019
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4020
$as_echo_n "checking for $ac_word... " >&6; }
4021
if test "${ac_cv_prog_CC+set}" = set; then :
4022
$as_echo_n "(cached) " >&6
4024
if test -n "$CC"; then
4025
ac_cv_prog_CC="$CC" # Let the user override the test.
4027
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4031
test -z "$as_dir" && as_dir=.
4032
for ac_exec_ext in '' $ac_executable_extensions; do
4033
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4034
ac_cv_prog_CC="${ac_tool_prefix}cc"
4035
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4045
if test -n "$CC"; then
4046
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4047
$as_echo "$CC" >&6; }
4049
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4050
$as_echo "no" >&6; }
4056
if test -z "$CC"; then
4057
# Extract the first word of "cc", so it can be a program name with args.
4058
set dummy cc; ac_word=$2
4059
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4060
$as_echo_n "checking for $ac_word... " >&6; }
4061
if test "${ac_cv_prog_CC+set}" = set; then :
4062
$as_echo_n "(cached) " >&6
4064
if test -n "$CC"; then
4065
ac_cv_prog_CC="$CC" # Let the user override the test.
4068
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4072
test -z "$as_dir" && as_dir=.
4073
for ac_exec_ext in '' $ac_executable_extensions; do
4074
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4075
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4076
ac_prog_rejected=yes
4080
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4087
if test $ac_prog_rejected = yes; then
4088
# We found a bogon in the path, so make sure we never use it.
4089
set dummy $ac_cv_prog_CC
4091
if test $# != 0; then
4092
# We chose a different compiler from the bogus one.
4093
# However, it has the same basename, so the bogon will be chosen
4094
# first if we set CC to just the basename; use the full file name.
4096
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4102
if test -n "$CC"; then
4103
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4104
$as_echo "$CC" >&6; }
4106
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4107
$as_echo "no" >&6; }
4112
if test -z "$CC"; then
4113
if test -n "$ac_tool_prefix"; then
4114
for ac_prog in cl.exe
4116
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4117
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4118
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4119
$as_echo_n "checking for $ac_word... " >&6; }
4120
if test "${ac_cv_prog_CC+set}" = set; then :
4121
$as_echo_n "(cached) " >&6
4123
if test -n "$CC"; then
4124
ac_cv_prog_CC="$CC" # Let the user override the test.
4126
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4130
test -z "$as_dir" && as_dir=.
4131
for ac_exec_ext in '' $ac_executable_extensions; do
4132
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4133
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4134
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4144
if test -n "$CC"; then
4145
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4146
$as_echo "$CC" >&6; }
4148
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4149
$as_echo "no" >&6; }
4153
test -n "$CC" && break
4156
if test -z "$CC"; then
4158
for ac_prog in cl.exe
4160
# Extract the first word of "$ac_prog", so it can be a program name with args.
4161
set dummy $ac_prog; ac_word=$2
4162
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4163
$as_echo_n "checking for $ac_word... " >&6; }
4164
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4165
$as_echo_n "(cached) " >&6
4167
if test -n "$ac_ct_CC"; then
4168
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4170
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4174
test -z "$as_dir" && as_dir=.
4175
for ac_exec_ext in '' $ac_executable_extensions; do
4176
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4177
ac_cv_prog_ac_ct_CC="$ac_prog"
4178
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4187
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4188
if test -n "$ac_ct_CC"; then
4189
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4190
$as_echo "$ac_ct_CC" >&6; }
4192
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4193
$as_echo "no" >&6; }
4197
test -n "$ac_ct_CC" && break
4200
if test "x$ac_ct_CC" = x; then
4203
case $cross_compiling:$ac_tool_warned in
4205
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4206
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4207
ac_tool_warned=yes ;;
4216
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4217
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4218
as_fn_error $? "no acceptable C compiler found in \$PATH
4219
See \`config.log' for more details" "$LINENO" 5 ; }
4221
# Provide some information about the compiler.
4222
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4225
for ac_option in --version -v -V -qversion; do
4226
{ { ac_try="$ac_compiler $ac_option >&5"
4228
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4229
*) ac_try_echo=$ac_try;;
4231
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4232
$as_echo "$ac_try_echo"; } >&5
4233
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
4235
if test -s conftest.err; then
4237
... rest of stderr output deleted ...
4238
10q' conftest.err >conftest.er1
4239
cat conftest.er1 >&5
4241
rm -f conftest.er1 conftest.err
4242
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4243
test $ac_status = 0; }
4246
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4247
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4248
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4249
$as_echo_n "(cached) " >&6
4251
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4252
/* end confdefs.h. */
4265
if ac_fn_c_try_compile "$LINENO"; then :
4270
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4271
ac_cv_c_compiler_gnu=$ac_compiler_gnu
4274
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4275
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4276
if test $ac_compiler_gnu = yes; then
4281
ac_test_CFLAGS=${CFLAGS+set}
4282
ac_save_CFLAGS=$CFLAGS
4283
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4284
$as_echo_n "checking whether $CC accepts -g... " >&6; }
4285
if test "${ac_cv_prog_cc_g+set}" = set; then :
4286
$as_echo_n "(cached) " >&6
4288
ac_save_c_werror_flag=$ac_c_werror_flag
4289
ac_c_werror_flag=yes
4292
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4293
/* end confdefs.h. */
4303
if ac_fn_c_try_compile "$LINENO"; then :
4307
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4308
/* end confdefs.h. */
4318
if ac_fn_c_try_compile "$LINENO"; then :
4321
ac_c_werror_flag=$ac_save_c_werror_flag
4323
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4324
/* end confdefs.h. */
4334
if ac_fn_c_try_compile "$LINENO"; then :
4337
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4339
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4341
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4342
ac_c_werror_flag=$ac_save_c_werror_flag
4344
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4345
$as_echo "$ac_cv_prog_cc_g" >&6; }
4346
if test "$ac_test_CFLAGS" = set; then
4347
CFLAGS=$ac_save_CFLAGS
4348
elif test $ac_cv_prog_cc_g = yes; then
4349
if test "$GCC" = yes; then
4355
if test "$GCC" = yes; then
4361
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4362
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4363
if test "${ac_cv_prog_cc_c89+set}" = set; then :
4364
$as_echo_n "(cached) " >&6
4366
ac_cv_prog_cc_c89=no
4368
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4369
/* end confdefs.h. */
4372
#include <sys/types.h>
4373
#include <sys/stat.h>
4374
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4375
struct buf { int x; };
4376
FILE * (*rcsopen) (struct buf *, struct stat *, int);
4377
static char *e (p, i)
4383
static char *f (char * (*g) (char **, int), char **p, ...)
4388
s = g (p, va_arg (v,int));
4393
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4394
function prototypes and stuff, but not '\xHH' hex character constants.
4395
These don't provoke an error unfortunately, instead are silently treated
4396
as 'x'. The following induces an error, until -std is added to get
4397
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4398
array size at least. It's necessary to write '\x00'==0 to get something
4399
that's true only with -std. */
4400
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4402
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4403
inside strings and character constants. */
4405
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4407
int test (int i, double x);
4408
struct s1 {int (*f) (int a);};
4409
struct s2 {int (*f) (double a);};
4410
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4416
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4421
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4422
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4424
CC="$ac_save_CC $ac_arg"
4425
if ac_fn_c_try_compile "$LINENO"; then :
4426
ac_cv_prog_cc_c89=$ac_arg
4428
rm -f core conftest.err conftest.$ac_objext
4429
test "x$ac_cv_prog_cc_c89" != "xno" && break
4431
rm -f conftest.$ac_ext
4436
case "x$ac_cv_prog_cc_c89" in
4438
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4439
$as_echo "none needed" >&6; } ;;
4441
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4442
$as_echo "unsupported" >&6; } ;;
4444
CC="$CC $ac_cv_prog_cc_c89"
4445
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4446
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4448
if test "x$ac_cv_prog_cc_c89" != xno; then :
4453
ac_cpp='$CPP $CPPFLAGS'
4454
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4455
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4456
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4458
depcc="$CC" am_compiler_list=
4460
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4461
$as_echo_n "checking dependency style of $depcc... " >&6; }
4462
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4463
$as_echo_n "(cached) " >&6
4465
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4466
# We make a subdir and do the tests there. Otherwise we can end up
4467
# making bogus files that we don't know about and never remove. For
4468
# instance it was reported that on HP-UX the gcc test will end up
4469
# making a dummy file named `D' -- because `-MD' means `put the output
4472
# Copy depcomp to subdir because otherwise we won't find it if we're
4473
# using a relative directory.
4474
cp "$am_depcomp" conftest.dir
4476
# We will build objects and dependencies in a subdirectory because
4477
# it helps to detect inapplicable dependency modes. For instance
4478
# both Tru64's cc and ICC support -MD to output dependencies as a
4479
# side effect of compilation, but ICC will put the dependencies in
4480
# the current directory while Tru64 will put them in the object
4484
am_cv_CC_dependencies_compiler_type=none
4485
if test "$am_compiler_list" = ""; then
4486
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4489
case " $depcc " in #(
4490
*\ -arch\ *\ -arch\ *) am__universal=true ;;
4493
for depmode in $am_compiler_list; do
4494
# Setup a source with many dependencies, because some compilers
4495
# like to wrap large dependency lists on column 80 (with \), and
4496
# we should not choose a depcomp mode which is confused by this.
4498
# We need to recreate these files for each test, as the compiler may
4499
# overwrite some of them when testing with obscure command lines.
4500
# This happens at least with the AIX C compiler.
4502
for i in 1 2 3 4 5 6; do
4503
echo '#include "conftst'$i'.h"' >> sub/conftest.c
4504
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4505
# Solaris 8's {/usr,}/bin/sh.
4506
touch sub/conftst$i.h
4508
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4510
# We check with `-c' and `-o' for the sake of the "dashmstdout"
4511
# mode. It turns out that the SunPro C++ compiler does not properly
4512
# handle `-M -o', and we need to detect this. Also, some Intel
4513
# versions had trouble with output in subdirs
4514
am__obj=sub/conftest.${OBJEXT-o}
4515
am__minus_obj="-o $am__obj"
4518
# This depmode causes a compiler race in universal mode.
4519
test "$am__universal" = false || continue
4522
# after this tag, mechanisms are not by side-effect, so they'll
4523
# only be used when explicitly requested
4524
if test "x$enable_dependency_tracking" = xyes; then
4530
msvisualcpp | msvcmsys)
4531
# This compiler won't grok `-c -o', but also, the minuso test has
4532
# not run yet. These depmodes are late enough in the game, and
4533
# so weak that their functioning should not be impacted.
4534
am__obj=conftest.${OBJEXT-o}
4539
if depmode=$depmode \
4540
source=sub/conftest.c object=$am__obj \
4541
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4542
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4543
>/dev/null 2>conftest.err &&
4544
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4545
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4546
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4547
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4548
# icc doesn't choke on unknown options, it will just issue warnings
4549
# or remarks (even with -Werror). So we grep stderr for any message
4550
# that says an option was ignored or not supported.
4551
# When given -MP, icc 7.0 and 7.1 complain thusly:
4552
# icc: Command line warning: ignoring option '-M'; no argument required
4553
# The diagnosis changed in icc 8.0:
4554
# icc: Command line remark: option '-MP' not supported
4555
if (grep 'ignoring option' conftest.err ||
4556
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4557
am_cv_CC_dependencies_compiler_type=$depmode
4566
am_cv_CC_dependencies_compiler_type=none
4570
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4571
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4572
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4575
test "x$enable_dependency_tracking" != xno \
4576
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4578
am__fastdepCC_FALSE='#'
4580
am__fastdepCC_TRUE='#'
4581
am__fastdepCC_FALSE=
4586
am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
4590
ac_cpp='$CPP $CPPFLAGS'
4591
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4592
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4593
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4594
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4595
$as_echo_n "checking how to run the C preprocessor... " >&6; }
4596
# On Suns, sometimes $CPP names a directory.
4597
if test -n "$CPP" && test -d "$CPP"; then
4600
if test -z "$CPP"; then
4601
if test "${ac_cv_prog_CPP+set}" = set; then :
4602
$as_echo_n "(cached) " >&6
4604
# Double quotes because CPP needs to be expanded
4605
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4608
for ac_c_preproc_warn_flag in '' yes
4610
# Use a header file that comes with gcc, so configuring glibc
4611
# with a fresh cross-compiler works.
4612
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4613
# <limits.h> exists even on freestanding compilers.
4614
# On the NeXT, cc -E runs the code through the compiler's parser,
4615
# not just through cpp. "Syntax error" is here to catch this case.
4616
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4617
/* end confdefs.h. */
4619
# include <limits.h>
4621
# include <assert.h>
4625
if ac_fn_c_try_cpp "$LINENO"; then :
4628
# Broken: fails on valid input.
4631
rm -f conftest.err conftest.i conftest.$ac_ext
4633
# OK, works on sane cases. Now check whether nonexistent headers
4634
# can be detected and how.
4635
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4636
/* end confdefs.h. */
4637
#include <ac_nonexistent.h>
4639
if ac_fn_c_try_cpp "$LINENO"; then :
4640
# Broken: success on invalid input.
4643
# Passes both tests.
4647
rm -f conftest.err conftest.i conftest.$ac_ext
4650
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4651
rm -f conftest.i conftest.err conftest.$ac_ext
4652
if $ac_preproc_ok; then :
4664
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4665
$as_echo "$CPP" >&6; }
4667
for ac_c_preproc_warn_flag in '' yes
4669
# Use a header file that comes with gcc, so configuring glibc
4670
# with a fresh cross-compiler works.
4671
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4672
# <limits.h> exists even on freestanding compilers.
4673
# On the NeXT, cc -E runs the code through the compiler's parser,
4674
# not just through cpp. "Syntax error" is here to catch this case.
4675
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4676
/* end confdefs.h. */
4678
# include <limits.h>
4680
# include <assert.h>
4684
if ac_fn_c_try_cpp "$LINENO"; then :
4687
# Broken: fails on valid input.
4690
rm -f conftest.err conftest.i conftest.$ac_ext
4692
# OK, works on sane cases. Now check whether nonexistent headers
4693
# can be detected and how.
4694
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4695
/* end confdefs.h. */
4696
#include <ac_nonexistent.h>
4698
if ac_fn_c_try_cpp "$LINENO"; then :
4699
# Broken: success on invalid input.
4702
# Passes both tests.
4706
rm -f conftest.err conftest.i conftest.$ac_ext
4709
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4710
rm -f conftest.i conftest.err conftest.$ac_ext
4711
if $ac_preproc_ok; then :
4714
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4715
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4716
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4717
See \`config.log' for more details" "$LINENO" 5 ; }
4721
ac_cpp='$CPP $CPPFLAGS'
4722
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4723
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4724
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4727
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4728
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4729
if test "${ac_cv_path_GREP+set}" = set; then :
4730
$as_echo_n "(cached) " >&6
4732
if test -z "$GREP"; then
4733
ac_path_GREP_found=false
4734
# Loop through the user's path and test for each of PROGNAME-LIST
4735
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4736
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4739
test -z "$as_dir" && as_dir=.
4740
for ac_prog in grep ggrep; do
4741
for ac_exec_ext in '' $ac_executable_extensions; do
4742
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4743
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4744
# Check for GNU ac_path_GREP and select it if it is found.
4745
# Check for GNU $ac_path_GREP
4746
case `"$ac_path_GREP" --version 2>&1` in
4748
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4751
$as_echo_n 0123456789 >"conftest.in"
4754
cat "conftest.in" "conftest.in" >"conftest.tmp"
4755
mv "conftest.tmp" "conftest.in"
4756
cp "conftest.in" "conftest.nl"
4757
$as_echo 'GREP' >> "conftest.nl"
4758
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4759
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4760
as_fn_arith $ac_count + 1 && ac_count=$as_val
4761
if test $ac_count -gt ${ac_path_GREP_max-0}; then
4762
# Best one so far, save it but keep looking for a better one
4763
ac_cv_path_GREP="$ac_path_GREP"
4764
ac_path_GREP_max=$ac_count
4766
# 10*(2^10) chars as input seems more than enough
4767
test $ac_count -gt 10 && break
4769
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4772
$ac_path_GREP_found && break 3
4777
if test -z "$ac_cv_path_GREP"; then
4778
as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4781
ac_cv_path_GREP=$GREP
4785
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4786
$as_echo "$ac_cv_path_GREP" >&6; }
4787
GREP="$ac_cv_path_GREP"
4790
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4791
$as_echo_n "checking for egrep... " >&6; }
4792
if test "${ac_cv_path_EGREP+set}" = set; then :
4793
$as_echo_n "(cached) " >&6
4795
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4796
then ac_cv_path_EGREP="$GREP -E"
4798
if test -z "$EGREP"; then
4799
ac_path_EGREP_found=false
4800
# Loop through the user's path and test for each of PROGNAME-LIST
4801
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4802
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4805
test -z "$as_dir" && as_dir=.
4806
for ac_prog in egrep; do
4807
for ac_exec_ext in '' $ac_executable_extensions; do
4808
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4809
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4810
# Check for GNU ac_path_EGREP and select it if it is found.
4811
# Check for GNU $ac_path_EGREP
4812
case `"$ac_path_EGREP" --version 2>&1` in
4814
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4817
$as_echo_n 0123456789 >"conftest.in"
4820
cat "conftest.in" "conftest.in" >"conftest.tmp"
4821
mv "conftest.tmp" "conftest.in"
4822
cp "conftest.in" "conftest.nl"
4823
$as_echo 'EGREP' >> "conftest.nl"
4824
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4825
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4826
as_fn_arith $ac_count + 1 && ac_count=$as_val
4827
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4828
# Best one so far, save it but keep looking for a better one
4829
ac_cv_path_EGREP="$ac_path_EGREP"
4830
ac_path_EGREP_max=$ac_count
4832
# 10*(2^10) chars as input seems more than enough
4833
test $ac_count -gt 10 && break
4835
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4838
$ac_path_EGREP_found && break 3
4843
if test -z "$ac_cv_path_EGREP"; then
4844
as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4847
ac_cv_path_EGREP=$EGREP
4852
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4853
$as_echo "$ac_cv_path_EGREP" >&6; }
4854
EGREP="$ac_cv_path_EGREP"
4857
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4858
$as_echo_n "checking for ANSI C header files... " >&6; }
4859
if test "${ac_cv_header_stdc+set}" = set; then :
4860
$as_echo_n "(cached) " >&6
4862
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4863
/* end confdefs.h. */
4877
if ac_fn_c_try_compile "$LINENO"; then :
4878
ac_cv_header_stdc=yes
4880
ac_cv_header_stdc=no
4882
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4884
if test $ac_cv_header_stdc = yes; then
4885
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4886
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4887
/* end confdefs.h. */
4891
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4892
$EGREP "memchr" >/dev/null 2>&1; then :
4895
ac_cv_header_stdc=no
4901
if test $ac_cv_header_stdc = yes; then
4902
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4903
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4904
/* end confdefs.h. */
4908
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4909
$EGREP "free" >/dev/null 2>&1; then :
4912
ac_cv_header_stdc=no
4918
if test $ac_cv_header_stdc = yes; then
4919
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4920
if test "$cross_compiling" = yes; then :
4923
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4924
/* end confdefs.h. */
4927
#if ((' ' & 0x0FF) == 0x020)
4928
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4929
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4931
# define ISLOWER(c) \
4932
(('a' <= (c) && (c) <= 'i') \
4933
|| ('j' <= (c) && (c) <= 'r') \
4934
|| ('s' <= (c) && (c) <= 'z'))
4935
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4938
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4943
for (i = 0; i < 256; i++)
4944
if (XOR (islower (i), ISLOWER (i))
4945
|| toupper (i) != TOUPPER (i))
4950
if ac_fn_c_try_run "$LINENO"; then :
4953
ac_cv_header_stdc=no
4955
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4956
conftest.$ac_objext conftest.beam conftest.$ac_ext
4961
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4962
$as_echo "$ac_cv_header_stdc" >&6; }
4963
if test $ac_cv_header_stdc = yes; then
4965
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4969
# Extract the first word of "valac", so it can be a program name with args.
4970
set dummy valac; ac_word=$2
4971
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4972
$as_echo_n "checking for $ac_word... " >&6; }
4973
if test "${ac_cv_path_VALAC+set}" = set; then :
4974
$as_echo_n "(cached) " >&6
4978
ac_cv_path_VALAC="$VALAC" # Let the user override the test with a path.
4981
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4985
test -z "$as_dir" && as_dir=.
4986
for ac_exec_ext in '' $ac_executable_extensions; do
4987
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4988
ac_cv_path_VALAC="$as_dir/$ac_word$ac_exec_ext"
4989
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4999
VALAC=$ac_cv_path_VALAC
5000
if test -n "$VALAC"; then
5001
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALAC" >&5
5002
$as_echo "$VALAC" >&6; }
5004
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5005
$as_echo "no" >&6; }
5009
if test -z "$VALAC"; then :
5010
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No Vala compiler found. You will not be able to compile .vala source files." >&5
5011
$as_echo "$as_me: WARNING: No Vala compiler found. You will not be able to compile .vala source files." >&2;}
5013
if test -n "0.11.6"; then :
5014
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $VALAC is at least version 0.11.6" >&5
5015
$as_echo_n "checking $VALAC is at least version 0.11.6... " >&6; }
5016
am__vala_version=`$VALAC --version | sed 's/Vala *//'`
5018
as_arg_v2="$am__vala_version"
5019
awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
5022
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5023
$as_echo "yes" >&6; } ;; #(
5025
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5026
$as_echo "yes" >&6; } ;; #(
5028
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5029
$as_echo "no" >&6; }
5030
as_fn_error $? "Vala 0.11.6 not found." "$LINENO" 5 ;; #(
5038
# Initialize libtool
5042
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5043
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5049
macro_revision='1.3293'
5063
ltmain="$ac_aux_dir/ltmain.sh"
5065
# Make sure we can run config.sub.
5066
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5067
as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5069
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5070
$as_echo_n "checking build system type... " >&6; }
5071
if test "${ac_cv_build+set}" = set; then :
5072
$as_echo_n "(cached) " >&6
5074
ac_build_alias=$build_alias
5075
test "x$ac_build_alias" = x &&
5076
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5077
test "x$ac_build_alias" = x &&
5078
as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5079
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5080
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5083
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5084
$as_echo "$ac_cv_build" >&6; }
5085
case $ac_cv_build in
5087
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
5090
ac_save_IFS=$IFS; IFS='-'
5096
# Remember, the first character of IFS is used to create $*,
5097
# except with old shells:
5100
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5103
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5104
$as_echo_n "checking host system type... " >&6; }
5105
if test "${ac_cv_host+set}" = set; then :
5106
$as_echo_n "(cached) " >&6
5108
if test "x$host_alias" = x; then
5109
ac_cv_host=$ac_cv_build
5111
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5112
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5116
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5117
$as_echo "$ac_cv_host" >&6; }
5120
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
5123
ac_save_IFS=$IFS; IFS='-'
5129
# Remember, the first character of IFS is used to create $*,
5130
# except with old shells:
5133
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5136
# Backslashify metacharacters that are still active within
5137
# double-quoted strings.
5138
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5140
# Same as above, but do not quote variable references.
5141
double_quote_subst='s/\(["`\\]\)/\\\1/g'
5143
# Sed substitution to delay expansion of an escaped shell variable in a
5144
# double_quote_subst'ed string.
5145
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5147
# Sed substitution to delay expansion of an escaped single quote.
5148
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5150
# Sed substitution to avoid accidental globbing in evaled expressions
5151
no_glob_subst='s/\*/\\\*/g'
5153
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5154
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5155
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5157
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5158
$as_echo_n "checking how to print strings... " >&6; }
5159
# Test print first, because it will be a builtin if present.
5160
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5161
test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5163
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5166
# Use this function as a fallback that always works.
5167
func_fallback_echo ()
5169
eval 'cat <<_LTECHO_EOF
5173
ECHO='func_fallback_echo'
5176
# func_echo_all arg...
5177
# Invoke $ECHO with all args, space-separated.
5184
printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5185
$as_echo "printf" >&6; } ;;
5186
print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5187
$as_echo "print -r" >&6; } ;;
5188
*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5189
$as_echo "cat" >&6; } ;;
5205
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5206
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
5207
if test "${ac_cv_path_SED+set}" = set; then :
5208
$as_echo_n "(cached) " >&6
5210
ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5211
for ac_i in 1 2 3 4 5 6 7; do
5212
ac_script="$ac_script$as_nl$ac_script"
5214
echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5215
{ ac_script=; unset ac_script;}
5216
if test -z "$SED"; then
5217
ac_path_SED_found=false
5218
# Loop through the user's path and test for each of PROGNAME-LIST
5219
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5223
test -z "$as_dir" && as_dir=.
5224
for ac_prog in sed gsed; do
5225
for ac_exec_ext in '' $ac_executable_extensions; do
5226
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5227
{ test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5228
# Check for GNU ac_path_SED and select it if it is found.
5229
# Check for GNU $ac_path_SED
5230
case `"$ac_path_SED" --version 2>&1` in
5232
ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5235
$as_echo_n 0123456789 >"conftest.in"
5238
cat "conftest.in" "conftest.in" >"conftest.tmp"
5239
mv "conftest.tmp" "conftest.in"
5240
cp "conftest.in" "conftest.nl"
5241
$as_echo '' >> "conftest.nl"
5242
"$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5243
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5244
as_fn_arith $ac_count + 1 && ac_count=$as_val
5245
if test $ac_count -gt ${ac_path_SED_max-0}; then
5246
# Best one so far, save it but keep looking for a better one
5247
ac_cv_path_SED="$ac_path_SED"
5248
ac_path_SED_max=$ac_count
5250
# 10*(2^10) chars as input seems more than enough
5251
test $ac_count -gt 10 && break
5253
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5256
$ac_path_SED_found && break 3
5261
if test -z "$ac_cv_path_SED"; then
5262
as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5269
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5270
$as_echo "$ac_cv_path_SED" >&6; }
5271
SED="$ac_cv_path_SED"
5274
test -z "$SED" && SED=sed
5275
Xsed="$SED -e 1s/^X//"
5287
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5288
$as_echo_n "checking for fgrep... " >&6; }
5289
if test "${ac_cv_path_FGREP+set}" = set; then :
5290
$as_echo_n "(cached) " >&6
5292
if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5293
then ac_cv_path_FGREP="$GREP -F"
5295
if test -z "$FGREP"; then
5296
ac_path_FGREP_found=false
5297
# Loop through the user's path and test for each of PROGNAME-LIST
5298
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5299
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5302
test -z "$as_dir" && as_dir=.
5303
for ac_prog in fgrep; do
5304
for ac_exec_ext in '' $ac_executable_extensions; do
5305
ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5306
{ test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5307
# Check for GNU ac_path_FGREP and select it if it is found.
5308
# Check for GNU $ac_path_FGREP
5309
case `"$ac_path_FGREP" --version 2>&1` in
5311
ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5314
$as_echo_n 0123456789 >"conftest.in"
5317
cat "conftest.in" "conftest.in" >"conftest.tmp"
5318
mv "conftest.tmp" "conftest.in"
5319
cp "conftest.in" "conftest.nl"
5320
$as_echo 'FGREP' >> "conftest.nl"
5321
"$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5322
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5323
as_fn_arith $ac_count + 1 && ac_count=$as_val
5324
if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5325
# Best one so far, save it but keep looking for a better one
5326
ac_cv_path_FGREP="$ac_path_FGREP"
5327
ac_path_FGREP_max=$ac_count
5329
# 10*(2^10) chars as input seems more than enough
5330
test $ac_count -gt 10 && break
5332
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5335
$ac_path_FGREP_found && break 3
5340
if test -z "$ac_cv_path_FGREP"; then
5341
as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5344
ac_cv_path_FGREP=$FGREP
5349
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5350
$as_echo "$ac_cv_path_FGREP" >&6; }
5351
FGREP="$ac_cv_path_FGREP"
5354
test -z "$GREP" && GREP=grep
5374
# Check whether --with-gnu-ld was given.
5375
if test "${with_gnu_ld+set}" = set; then :
5376
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5382
if test "$GCC" = yes; then
5383
# Check if gcc -print-prog-name=ld gives a path.
5384
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5385
$as_echo_n "checking for ld used by $CC... " >&6; }
5388
# gcc leaves a trailing carriage return which upsets mingw
5389
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5391
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5394
# Accept absolute paths.
5396
re_direlt='/[^/][^/]*/\.\./'
5397
# Canonicalize the pathname of ld
5398
ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5399
while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5400
ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5402
test -z "$LD" && LD="$ac_prog"
5405
# If it fails, then pretend we aren't using GCC.
5409
# If it is relative, then search for the first ld in PATH.
5413
elif test "$with_gnu_ld" = yes; then
5414
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5415
$as_echo_n "checking for GNU ld... " >&6; }
5417
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5418
$as_echo_n "checking for non-GNU ld... " >&6; }
5420
if test "${lt_cv_path_LD+set}" = set; then :
5421
$as_echo_n "(cached) " >&6
5423
if test -z "$LD"; then
5424
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5425
for ac_dir in $PATH; do
5427
test -z "$ac_dir" && ac_dir=.
5428
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5429
lt_cv_path_LD="$ac_dir/$ac_prog"
5430
# Check to see if the program is GNU ld. I'd rather use --version,
5431
# but apparently some variants of GNU ld only accept -v.
5432
# Break only if it was the GNU/non-GNU ld that we prefer.
5433
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5434
*GNU* | *'with BFD'*)
5435
test "$with_gnu_ld" != no && break
5438
test "$with_gnu_ld" != yes && break
5445
lt_cv_path_LD="$LD" # Let the user override the test with a path.
5450
if test -n "$LD"; then
5451
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5452
$as_echo "$LD" >&6; }
5454
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5455
$as_echo "no" >&6; }
5457
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5458
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5459
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5460
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5461
$as_echo_n "(cached) " >&6
5463
# I'd rather use --version here, but apparently some GNU lds only accept -v.
5464
case `$LD -v 2>&1 </dev/null` in
5465
*GNU* | *'with BFD'*)
5466
lt_cv_prog_gnu_ld=yes
5469
lt_cv_prog_gnu_ld=no
5473
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5474
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
5475
with_gnu_ld=$lt_cv_prog_gnu_ld
5485
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5486
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5487
if test "${lt_cv_path_NM+set}" = set; then :
5488
$as_echo_n "(cached) " >&6
5490
if test -n "$NM"; then
5491
# Let the user override the test.
5494
lt_nm_to_check="${ac_tool_prefix}nm"
5495
if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5496
lt_nm_to_check="$lt_nm_to_check nm"
5498
for lt_tmp_nm in $lt_nm_to_check; do
5499
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5500
for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5502
test -z "$ac_dir" && ac_dir=.
5503
tmp_nm="$ac_dir/$lt_tmp_nm"
5504
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5505
# Check to see if the nm accepts a BSD-compat flag.
5506
# Adding the `sed 1q' prevents false positives on HP-UX, which says:
5507
# nm: unknown option "B" ignored
5508
# Tru64's nm complains that /dev/null is an invalid object file
5509
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5510
*/dev/null* | *'Invalid file or object type'*)
5511
lt_cv_path_NM="$tmp_nm -B"
5515
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5517
lt_cv_path_NM="$tmp_nm -p"
5521
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5522
continue # so that we can try to find one that supports BSD flags
5531
: ${lt_cv_path_NM=no}
5534
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5535
$as_echo "$lt_cv_path_NM" >&6; }
5536
if test "$lt_cv_path_NM" != "no"; then
5539
# Didn't find any BSD compatible name lister, look for dumpbin.
5540
if test -n "$DUMPBIN"; then :
5541
# Let the user override the test.
5543
if test -n "$ac_tool_prefix"; then
5544
for ac_prog in dumpbin "link -dump"
5546
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5547
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5548
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5549
$as_echo_n "checking for $ac_word... " >&6; }
5550
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5551
$as_echo_n "(cached) " >&6
5553
if test -n "$DUMPBIN"; then
5554
ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5556
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5560
test -z "$as_dir" && as_dir=.
5561
for ac_exec_ext in '' $ac_executable_extensions; do
5562
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5563
ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5564
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5573
DUMPBIN=$ac_cv_prog_DUMPBIN
5574
if test -n "$DUMPBIN"; then
5575
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5576
$as_echo "$DUMPBIN" >&6; }
5578
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5579
$as_echo "no" >&6; }
5583
test -n "$DUMPBIN" && break
5586
if test -z "$DUMPBIN"; then
5587
ac_ct_DUMPBIN=$DUMPBIN
5588
for ac_prog in dumpbin "link -dump"
5590
# Extract the first word of "$ac_prog", so it can be a program name with args.
5591
set dummy $ac_prog; ac_word=$2
5592
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5593
$as_echo_n "checking for $ac_word... " >&6; }
5594
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5595
$as_echo_n "(cached) " >&6
5597
if test -n "$ac_ct_DUMPBIN"; then
5598
ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5600
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5604
test -z "$as_dir" && as_dir=.
5605
for ac_exec_ext in '' $ac_executable_extensions; do
5606
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5607
ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5608
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5617
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5618
if test -n "$ac_ct_DUMPBIN"; then
5619
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5620
$as_echo "$ac_ct_DUMPBIN" >&6; }
5622
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5623
$as_echo "no" >&6; }
5627
test -n "$ac_ct_DUMPBIN" && break
5630
if test "x$ac_ct_DUMPBIN" = x; then
5633
case $cross_compiling:$ac_tool_warned in
5635
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5636
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5637
ac_tool_warned=yes ;;
5639
DUMPBIN=$ac_ct_DUMPBIN
5643
case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5645
DUMPBIN="$DUMPBIN -symbols"
5653
if test "$DUMPBIN" != ":"; then
5657
test -z "$NM" && NM=nm
5664
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5665
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5666
if test "${lt_cv_nm_interface+set}" = set; then :
5667
$as_echo_n "(cached) " >&6
5669
lt_cv_nm_interface="BSD nm"
5670
echo "int some_variable = 0;" > conftest.$ac_ext
5671
(eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5672
(eval "$ac_compile" 2>conftest.err)
5673
cat conftest.err >&5
5674
(eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5675
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5676
cat conftest.err >&5
5677
(eval echo "\"\$as_me:$LINENO: output\"" >&5)
5678
cat conftest.out >&5
5679
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5680
lt_cv_nm_interface="MS dumpbin"
5684
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5685
$as_echo "$lt_cv_nm_interface" >&6; }
5687
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5688
$as_echo_n "checking whether ln -s works... " >&6; }
5690
if test "$LN_S" = "ln -s"; then
5691
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5692
$as_echo "yes" >&6; }
5694
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5695
$as_echo "no, using $LN_S" >&6; }
5698
# find the maximum length of command line arguments
5699
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5700
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5701
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5702
$as_echo_n "(cached) " >&6
5709
# On DJGPP, this test can blow up pretty badly due to problems in libc
5710
# (any single argument exceeding 2000 bytes causes a buffer overrun
5711
# during glob expansion). Even if it were fixed, the result of this
5712
# check would be larger than it should be.
5713
lt_cv_sys_max_cmd_len=12288; # 12K is about right
5717
# Under GNU Hurd, this test is not required because there is
5718
# no limit to the length of command line arguments.
5719
# Libtool will interpret -1 as no limit whatsoever
5720
lt_cv_sys_max_cmd_len=-1;
5723
cygwin* | mingw* | cegcc*)
5724
# On Win9x/ME, this test blows up -- it succeeds, but takes
5725
# about 5 minutes as the teststring grows exponentially.
5726
# Worse, since 9x/ME are not pre-emptively multitasking,
5727
# you end up with a "frozen" computer, even though with patience
5728
# the test eventually succeeds (with a max line length of 256k).
5729
# Instead, let's just punt: use the minimum linelength reported by
5730
# all of the supported platforms: 8192 (on NT/2K/XP).
5731
lt_cv_sys_max_cmd_len=8192;
5735
# On MiNT this can take a long time and run out of memory.
5736
lt_cv_sys_max_cmd_len=8192;
5740
# On AmigaOS with pdksh, this test takes hours, literally.
5741
# So we just punt and use a minimum line length of 8192.
5742
lt_cv_sys_max_cmd_len=8192;
5745
netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5746
# This has been around since 386BSD, at least. Likely further.
5747
if test -x /sbin/sysctl; then
5748
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5749
elif test -x /usr/sbin/sysctl; then
5750
lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5752
lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5754
# And add a safety zone
5755
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5756
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5760
# We know the value 262144 and hardcode it with a safety zone (like BSD)
5761
lt_cv_sys_max_cmd_len=196608
5765
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5766
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5767
# nice to cause kernel panics so lets avoid the loop below.
5768
# First set a reasonable default.
5769
lt_cv_sys_max_cmd_len=16384
5771
if test -x /sbin/sysconfig; then
5772
case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5773
*1*) lt_cv_sys_max_cmd_len=-1 ;;
5778
lt_cv_sys_max_cmd_len=102400
5780
sysv5* | sco5v6* | sysv4.2uw2*)
5781
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5782
if test -n "$kargmax"; then
5783
lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5785
lt_cv_sys_max_cmd_len=32768
5789
lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5790
if test -n "$lt_cv_sys_max_cmd_len"; then
5791
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5792
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5794
# Make teststring a little bigger before we do anything with it.
5795
# a 1K string should be a reasonable start.
5796
for i in 1 2 3 4 5 6 7 8 ; do
5797
teststring=$teststring$teststring
5799
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5800
# If test is not a shell built-in, we'll probably end up computing a
5801
# maximum length that is only half of the actual maximum length, but
5803
while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5804
= "X$teststring$teststring"; } >/dev/null 2>&1 &&
5805
test $i != 17 # 1/2 MB should be enough
5808
teststring=$teststring$teststring
5810
# Only check the string length outside the loop.
5811
lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5813
# Add a significant safety factor because C++ compilers can tack on
5814
# massive amounts of additional arguments before passing them to the
5815
# linker. It appears as though 1/2 is a usable value.
5816
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5823
if test -n $lt_cv_sys_max_cmd_len ; then
5824
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5825
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5827
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5828
$as_echo "none" >&6; }
5830
max_cmd_len=$lt_cv_sys_max_cmd_len
5841
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5842
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5843
# Try some XSI features
5846
test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5848
&& eval 'test $(( 1 + 1 )) -eq 2 \
5849
&& test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5851
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5852
$as_echo "$xsi_shell" >&6; }
5855
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5856
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5858
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5860
&& lt_shell_append=yes
5861
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5862
$as_echo "$lt_shell_append" >&6; }
5865
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5875
# test EBCDIC or ASCII
5876
case `echo X|tr X '\101'` in
5877
A) # ASCII based system
5878
# \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5879
lt_SP2NL='tr \040 \012'
5880
lt_NL2SP='tr \015\012 \040\040'
5882
*) # EBCDIC based system
5883
lt_SP2NL='tr \100 \n'
5884
lt_NL2SP='tr \r\n \100\100'
5896
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5897
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5898
if test "${lt_cv_to_host_file_cmd+set}" = set; then :
5899
$as_echo_n "(cached) " >&6
5904
*-*-mingw* ) # actually msys
5905
lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5908
lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5910
* ) # otherwise, assume *nix
5911
lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5917
*-*-mingw* ) # actually msys
5918
lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5921
lt_cv_to_host_file_cmd=func_convert_file_noop
5923
* ) # otherwise, assume *nix
5924
lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5928
* ) # unhandled hosts (and "normal" native builds)
5929
lt_cv_to_host_file_cmd=func_convert_file_noop
5935
to_host_file_cmd=$lt_cv_to_host_file_cmd
5936
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5937
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
5943
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5944
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5945
if test "${lt_cv_to_tool_file_cmd+set}" = set; then :
5946
$as_echo_n "(cached) " >&6
5948
#assume ordinary cross tools, or native build.
5949
lt_cv_to_tool_file_cmd=func_convert_file_noop
5953
*-*-mingw* ) # actually msys
5954
lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5962
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5963
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5964
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5970
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5971
$as_echo_n "checking for $LD option to reload object files... " >&6; }
5972
if test "${lt_cv_ld_reload_flag+set}" = set; then :
5973
$as_echo_n "(cached) " >&6
5975
lt_cv_ld_reload_flag='-r'
5977
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5978
$as_echo "$lt_cv_ld_reload_flag" >&6; }
5979
reload_flag=$lt_cv_ld_reload_flag
5980
case $reload_flag in
5982
*) reload_flag=" $reload_flag" ;;
5984
reload_cmds='$LD$reload_flag -o $output$reload_objs'
5986
cygwin* | mingw* | pw32* | cegcc*)
5987
if test "$GCC" != yes; then
5992
if test "$GCC" = yes; then
5993
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5995
reload_cmds='$LD$reload_flag -o $output$reload_objs'
6008
if test -n "$ac_tool_prefix"; then
6009
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6010
set dummy ${ac_tool_prefix}objdump; ac_word=$2
6011
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6012
$as_echo_n "checking for $ac_word... " >&6; }
6013
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6014
$as_echo_n "(cached) " >&6
6016
if test -n "$OBJDUMP"; then
6017
ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6019
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6023
test -z "$as_dir" && as_dir=.
6024
for ac_exec_ext in '' $ac_executable_extensions; do
6025
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6026
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6027
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6036
OBJDUMP=$ac_cv_prog_OBJDUMP
6037
if test -n "$OBJDUMP"; then
6038
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6039
$as_echo "$OBJDUMP" >&6; }
6041
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6042
$as_echo "no" >&6; }
6047
if test -z "$ac_cv_prog_OBJDUMP"; then
6048
ac_ct_OBJDUMP=$OBJDUMP
6049
# Extract the first word of "objdump", so it can be a program name with args.
6050
set dummy objdump; 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 test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6054
$as_echo_n "(cached) " >&6
6056
if test -n "$ac_ct_OBJDUMP"; then
6057
ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6059
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6063
test -z "$as_dir" && as_dir=.
6064
for ac_exec_ext in '' $ac_executable_extensions; do
6065
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6066
ac_cv_prog_ac_ct_OBJDUMP="objdump"
6067
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6076
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6077
if test -n "$ac_ct_OBJDUMP"; then
6078
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6079
$as_echo "$ac_ct_OBJDUMP" >&6; }
6081
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6082
$as_echo "no" >&6; }
6085
if test "x$ac_ct_OBJDUMP" = x; then
6088
case $cross_compiling:$ac_tool_warned in
6090
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6091
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6092
ac_tool_warned=yes ;;
6094
OBJDUMP=$ac_ct_OBJDUMP
6097
OBJDUMP="$ac_cv_prog_OBJDUMP"
6100
test -z "$OBJDUMP" && OBJDUMP=objdump
6110
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6111
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
6112
if test "${lt_cv_deplibs_check_method+set}" = set; then :
6113
$as_echo_n "(cached) " >&6
6115
lt_cv_file_magic_cmd='$MAGIC_CMD'
6116
lt_cv_file_magic_test_file=
6117
lt_cv_deplibs_check_method='unknown'
6118
# Need to set the preceding variable on all platforms that support
6119
# interlibrary dependencies.
6120
# 'none' -- dependencies not supported.
6121
# `unknown' -- same as none, but documents that we really don't know.
6122
# 'pass_all' -- all dependencies passed with no checks.
6123
# 'test_compile' -- check by making test program.
6124
# 'file_magic [[regex]]' -- check by looking for files in library path
6125
# which responds to the $file_magic_cmd with a given extended regex.
6126
# If you have `file' or equivalent on your system and you're not sure
6127
# whether `pass_all' will *always* work, you probably want this one.
6131
lt_cv_deplibs_check_method=pass_all
6135
lt_cv_deplibs_check_method=pass_all
6139
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6140
lt_cv_file_magic_cmd='/usr/bin/file -L'
6141
lt_cv_file_magic_test_file=/shlib/libc.so
6145
# func_win32_libid is a shell function defined in ltmain.sh
6146
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6147
lt_cv_file_magic_cmd='func_win32_libid'
6151
# Base MSYS/MinGW do not provide the 'file' command needed by
6152
# func_win32_libid shell function, so use a weaker test based on 'objdump',
6153
# unless we find 'file', for example because we are cross-compiling.
6154
# func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6155
if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6156
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6157
lt_cv_file_magic_cmd='func_win32_libid'
6159
# Keep this pattern in sync with the one in func_win32_libid.
6160
lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6161
lt_cv_file_magic_cmd='$OBJDUMP -f'
6166
# use the weaker test based on 'objdump'. See mingw*.
6167
lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6168
lt_cv_file_magic_cmd='$OBJDUMP -f'
6171
darwin* | rhapsody*)
6172
lt_cv_deplibs_check_method=pass_all
6175
freebsd* | dragonfly*)
6176
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6179
# Not sure whether the presence of OpenBSD here was a mistake.
6180
# Let's accept both of them until this is cleared up.
6181
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6182
lt_cv_file_magic_cmd=/usr/bin/file
6183
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6187
lt_cv_deplibs_check_method=pass_all
6192
lt_cv_deplibs_check_method=pass_all
6196
lt_cv_deplibs_check_method=pass_all
6199
hpux10.20* | hpux11*)
6200
lt_cv_file_magic_cmd=/usr/bin/file
6203
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6204
lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6207
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]'
6208
lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6211
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6212
lt_cv_file_magic_test_file=/usr/lib/libc.sl
6218
# PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6219
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6222
irix5* | irix6* | nonstopux*)
6224
*-32|*"-32 ") libmagic=32-bit;;
6225
*-n32|*"-n32 ") libmagic=N32;;
6226
*-64|*"-64 ") libmagic=64-bit;;
6227
*) libmagic=never-match;;
6229
lt_cv_deplibs_check_method=pass_all
6232
# This must be Linux ELF.
6233
linux* | k*bsd*-gnu | kopensolaris*-gnu)
6234
lt_cv_deplibs_check_method=pass_all
6237
netbsd* | netbsdelf*-gnu)
6238
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6239
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6241
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6246
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6247
lt_cv_file_magic_cmd=/usr/bin/file
6248
lt_cv_file_magic_test_file=/usr/lib/libnls.so
6252
lt_cv_deplibs_check_method=pass_all
6256
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6257
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6259
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6263
osf3* | osf4* | osf5*)
6264
lt_cv_deplibs_check_method=pass_all
6268
lt_cv_deplibs_check_method=pass_all
6272
lt_cv_deplibs_check_method=pass_all
6275
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6276
lt_cv_deplibs_check_method=pass_all
6280
case $host_vendor in
6282
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]'
6283
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6286
lt_cv_deplibs_check_method=pass_all
6289
lt_cv_file_magic_cmd='/bin/file'
6290
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6293
lt_cv_file_magic_cmd='/bin/file'
6294
lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6295
lt_cv_file_magic_test_file=/lib/libc.so
6298
lt_cv_deplibs_check_method=pass_all
6301
lt_cv_deplibs_check_method=pass_all
6307
lt_cv_deplibs_check_method=pass_all
6312
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6313
$as_echo "$lt_cv_deplibs_check_method" >&6; }
6317
if test "$build" = "$host"; then
6320
if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6323
file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6329
file_magic_cmd=$lt_cv_file_magic_cmd
6330
deplibs_check_method=$lt_cv_deplibs_check_method
6331
test -z "$deplibs_check_method" && deplibs_check_method=unknown
6354
if test -n "$ac_tool_prefix"; then
6355
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6356
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6357
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6358
$as_echo_n "checking for $ac_word... " >&6; }
6359
if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
6360
$as_echo_n "(cached) " >&6
6362
if test -n "$DLLTOOL"; then
6363
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6365
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6369
test -z "$as_dir" && as_dir=.
6370
for ac_exec_ext in '' $ac_executable_extensions; do
6371
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6372
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6373
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6382
DLLTOOL=$ac_cv_prog_DLLTOOL
6383
if test -n "$DLLTOOL"; then
6384
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6385
$as_echo "$DLLTOOL" >&6; }
6387
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6388
$as_echo "no" >&6; }
6393
if test -z "$ac_cv_prog_DLLTOOL"; then
6394
ac_ct_DLLTOOL=$DLLTOOL
6395
# Extract the first word of "dlltool", so it can be a program name with args.
6396
set dummy dlltool; ac_word=$2
6397
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6398
$as_echo_n "checking for $ac_word... " >&6; }
6399
if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
6400
$as_echo_n "(cached) " >&6
6402
if test -n "$ac_ct_DLLTOOL"; then
6403
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6405
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6409
test -z "$as_dir" && as_dir=.
6410
for ac_exec_ext in '' $ac_executable_extensions; do
6411
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6412
ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6413
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6422
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6423
if test -n "$ac_ct_DLLTOOL"; then
6424
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6425
$as_echo "$ac_ct_DLLTOOL" >&6; }
6427
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6428
$as_echo "no" >&6; }
6431
if test "x$ac_ct_DLLTOOL" = x; then
6434
case $cross_compiling:$ac_tool_warned in
6436
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6437
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6438
ac_tool_warned=yes ;;
6440
DLLTOOL=$ac_ct_DLLTOOL
6443
DLLTOOL="$ac_cv_prog_DLLTOOL"
6446
test -z "$DLLTOOL" && DLLTOOL=dlltool
6457
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6458
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6459
if test "${lt_cv_sharedlib_from_linklib_cmd+set}" = set; then :
6460
$as_echo_n "(cached) " >&6
6462
lt_cv_sharedlib_from_linklib_cmd='unknown'
6465
cygwin* | mingw* | pw32* | cegcc*)
6466
# two different shell functions defined in ltmain.sh
6467
# decide which to use based on capabilities of $DLLTOOL
6468
case `$DLLTOOL --help 2>&1` in
6469
*--identify-strict*)
6470
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6473
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6478
# fallback: assume linklib IS sharedlib
6479
lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6484
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6485
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6486
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6487
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6495
if test -n "$ac_tool_prefix"; then
6498
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6499
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6500
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6501
$as_echo_n "checking for $ac_word... " >&6; }
6502
if test "${ac_cv_prog_AR+set}" = set; then :
6503
$as_echo_n "(cached) " >&6
6505
if test -n "$AR"; then
6506
ac_cv_prog_AR="$AR" # Let the user override the test.
6508
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6512
test -z "$as_dir" && as_dir=.
6513
for ac_exec_ext in '' $ac_executable_extensions; do
6514
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6515
ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6516
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6526
if test -n "$AR"; then
6527
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6528
$as_echo "$AR" >&6; }
6530
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6531
$as_echo "no" >&6; }
6535
test -n "$AR" && break
6538
if test -z "$AR"; then
6542
# Extract the first word of "$ac_prog", so it can be a program name with args.
6543
set dummy $ac_prog; ac_word=$2
6544
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6545
$as_echo_n "checking for $ac_word... " >&6; }
6546
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6547
$as_echo_n "(cached) " >&6
6549
if test -n "$ac_ct_AR"; then
6550
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6552
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6556
test -z "$as_dir" && as_dir=.
6557
for ac_exec_ext in '' $ac_executable_extensions; do
6558
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6559
ac_cv_prog_ac_ct_AR="$ac_prog"
6560
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6569
ac_ct_AR=$ac_cv_prog_ac_ct_AR
6570
if test -n "$ac_ct_AR"; then
6571
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6572
$as_echo "$ac_ct_AR" >&6; }
6574
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6575
$as_echo "no" >&6; }
6579
test -n "$ac_ct_AR" && break
6582
if test "x$ac_ct_AR" = x; then
6585
case $cross_compiling:$ac_tool_warned in
6587
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6588
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6589
ac_tool_warned=yes ;;
6608
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6609
$as_echo_n "checking for archiver @FILE support... " >&6; }
6610
if test "${lt_cv_ar_at_file+set}" = set; then :
6611
$as_echo_n "(cached) " >&6
6614
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6615
/* end confdefs.h. */
6625
if ac_fn_c_try_compile "$LINENO"; then :
6626
echo conftest.$ac_objext > conftest.lst
6627
lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6628
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6629
(eval $lt_ar_try) 2>&5
6631
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6632
test $ac_status = 0; }
6633
if test "$ac_status" -eq 0; then
6634
# Ensure the archiver fails upon bogus file names.
6635
rm -f conftest.$ac_objext libconftest.a
6636
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6637
(eval $lt_ar_try) 2>&5
6639
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6640
test $ac_status = 0; }
6641
if test "$ac_status" -ne 0; then
6645
rm -f conftest.* libconftest.a
6648
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6651
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6652
$as_echo "$lt_cv_ar_at_file" >&6; }
6654
if test "x$lt_cv_ar_at_file" = xno; then
6657
archiver_list_spec=$lt_cv_ar_at_file
6666
if test -n "$ac_tool_prefix"; then
6667
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6668
set dummy ${ac_tool_prefix}strip; ac_word=$2
6669
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6670
$as_echo_n "checking for $ac_word... " >&6; }
6671
if test "${ac_cv_prog_STRIP+set}" = set; then :
6672
$as_echo_n "(cached) " >&6
6674
if test -n "$STRIP"; then
6675
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6677
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6681
test -z "$as_dir" && as_dir=.
6682
for ac_exec_ext in '' $ac_executable_extensions; do
6683
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6684
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6685
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6694
STRIP=$ac_cv_prog_STRIP
6695
if test -n "$STRIP"; then
6696
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6697
$as_echo "$STRIP" >&6; }
6699
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6700
$as_echo "no" >&6; }
6705
if test -z "$ac_cv_prog_STRIP"; then
6707
# Extract the first word of "strip", so it can be a program name with args.
6708
set dummy strip; ac_word=$2
6709
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6710
$as_echo_n "checking for $ac_word... " >&6; }
6711
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6712
$as_echo_n "(cached) " >&6
6714
if test -n "$ac_ct_STRIP"; then
6715
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6717
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6721
test -z "$as_dir" && as_dir=.
6722
for ac_exec_ext in '' $ac_executable_extensions; do
6723
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6724
ac_cv_prog_ac_ct_STRIP="strip"
6725
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6734
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6735
if test -n "$ac_ct_STRIP"; then
6736
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6737
$as_echo "$ac_ct_STRIP" >&6; }
6739
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6740
$as_echo "no" >&6; }
6743
if test "x$ac_ct_STRIP" = x; then
6746
case $cross_compiling:$ac_tool_warned in
6748
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6749
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6750
ac_tool_warned=yes ;;
6755
STRIP="$ac_cv_prog_STRIP"
6758
test -z "$STRIP" && STRIP=:
6765
if test -n "$ac_tool_prefix"; then
6766
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6767
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6768
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6769
$as_echo_n "checking for $ac_word... " >&6; }
6770
if test "${ac_cv_prog_RANLIB+set}" = set; then :
6771
$as_echo_n "(cached) " >&6
6773
if test -n "$RANLIB"; then
6774
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6776
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6780
test -z "$as_dir" && as_dir=.
6781
for ac_exec_ext in '' $ac_executable_extensions; do
6782
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6783
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6784
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6793
RANLIB=$ac_cv_prog_RANLIB
6794
if test -n "$RANLIB"; then
6795
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6796
$as_echo "$RANLIB" >&6; }
6798
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6799
$as_echo "no" >&6; }
6804
if test -z "$ac_cv_prog_RANLIB"; then
6805
ac_ct_RANLIB=$RANLIB
6806
# Extract the first word of "ranlib", so it can be a program name with args.
6807
set dummy ranlib; ac_word=$2
6808
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6809
$as_echo_n "checking for $ac_word... " >&6; }
6810
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6811
$as_echo_n "(cached) " >&6
6813
if test -n "$ac_ct_RANLIB"; then
6814
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6816
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6820
test -z "$as_dir" && as_dir=.
6821
for ac_exec_ext in '' $ac_executable_extensions; do
6822
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6823
ac_cv_prog_ac_ct_RANLIB="ranlib"
6824
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6833
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6834
if test -n "$ac_ct_RANLIB"; then
6835
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6836
$as_echo "$ac_ct_RANLIB" >&6; }
6838
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6839
$as_echo "no" >&6; }
6842
if test "x$ac_ct_RANLIB" = x; then
6845
case $cross_compiling:$ac_tool_warned in
6847
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6848
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6849
ac_tool_warned=yes ;;
6851
RANLIB=$ac_ct_RANLIB
6854
RANLIB="$ac_cv_prog_RANLIB"
6857
test -z "$RANLIB" && RANLIB=:
6864
# Determine commands to create old-style static archives.
6865
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6866
old_postinstall_cmds='chmod 644 $oldlib'
6867
old_postuninstall_cmds=
6869
if test -n "$RANLIB"; then
6872
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6875
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6878
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6883
lock_old_archive_extraction=yes ;;
6885
lock_old_archive_extraction=no ;;
6926
# If no C compiler was specified, use CC.
6929
# If no C compiler flags were specified, use CFLAGS.
6930
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6932
# Allow CC to be a program name with arguments.
6936
# Check for command to grab the raw symbol name followed by C symbol from nm.
6937
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6938
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6939
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6940
$as_echo_n "(cached) " >&6
6943
# These are sane defaults that work on at least a few old systems.
6944
# [They come from Ultrix. What could be older than Ultrix?!! ;)]
6946
# Character class describing NM global symbol codes.
6947
symcode='[BCDEGRST]'
6949
# Regexp to match symbols that can be accessed directly from C.
6950
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6952
# Define system-specific variables.
6957
cygwin* | mingw* | pw32* | cegcc*)
6958
symcode='[ABCDGISTW]'
6961
if test "$host_cpu" = ia64; then
6962
symcode='[ABCDEGRST]'
6966
symcode='[BCDEGRST]'
6969
symcode='[BCDEGQRST]'
6980
sysv5* | sco5v6* | unixware* | OpenUNIX*)
6988
# If we're using GNU nm, then use its standard symbol codes.
6989
case `$NM -V 2>&1` in
6990
*GNU* | *'with BFD'*)
6991
symcode='[ABCDGIRSTW]' ;;
6994
# Transform an extracted symbol line into a proper C declaration.
6995
# Some systems (esp. on ia64) link data and code symbols differently,
6996
# so use this general approach.
6997
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6999
# Transform an extracted symbol line into symbol name and symbol address
7000
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7001
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'"
7003
# Handle CRLF in mingw tool chain
7007
opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7011
# Try without a prefix underscore, then with it.
7012
for ac_symprfx in "" "_"; do
7014
# Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7015
symxfrm="\\1 $ac_symprfx\\2 \\2"
7017
# Write the raw and C identifiers.
7018
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7019
# Fake it for dumpbin and say T for any non-static function
7020
# and D for any global variable.
7021
# Also find C++ and __fastcall symbols from MSVC++,
7022
# which start with @ or ?.
7023
lt_cv_sys_global_symbol_pipe="$AWK '"\
7024
" {last_section=section; section=\$ 3};"\
7025
" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7026
" \$ 0!~/External *\|/{next};"\
7027
" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7028
" {if(hide[section]) next};"\
7029
" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7030
" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7031
" s[1]~/^[@?]/{print s[1], s[1]; next};"\
7032
" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7033
" ' prfx=^$ac_symprfx"
7035
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7037
lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7039
# Check to see that the pipe works correctly.
7043
cat > conftest.$ac_ext <<_LT_EOF
7048
void nm_test_func(void);
7049
void nm_test_func(void){}
7053
int main(){nm_test_var='a';nm_test_func();return(0);}
7056
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7057
(eval $ac_compile) 2>&5
7059
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7060
test $ac_status = 0; }; then
7061
# Now try to grab the symbols.
7063
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7064
(eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7066
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7067
test $ac_status = 0; } && test -s "$nlist"; then
7068
# Try sorting and uniquifying the output.
7069
if sort "$nlist" | uniq > "$nlist"T; then
7070
mv -f "$nlist"T "$nlist"
7075
# Make sure that we snagged all the symbols we need.
7076
if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7077
if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7078
cat <<_LT_EOF > conftest.$ac_ext
7079
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7080
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7081
/* DATA imports from DLLs on WIN32 con't be const, because runtime
7082
relocations are performed -- see ld's documentation on pseudo-relocs. */
7083
# define LT_DLSYM_CONST
7084
#elif defined(__osf__)
7085
/* This system does not cope well with relocations in const data. */
7086
# define LT_DLSYM_CONST
7088
# define LT_DLSYM_CONST const
7096
# Now generate the symbol file.
7097
eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7099
cat <<_LT_EOF >> conftest.$ac_ext
7101
/* The mapping between symbol names and symbols. */
7102
LT_DLSYM_CONST struct {
7106
lt__PROGRAM__LTX_preloaded_symbols[] =
7108
{ "@PROGRAM@", (void *) 0 },
7110
$SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7111
cat <<\_LT_EOF >> conftest.$ac_ext
7115
/* This works around a problem in FreeBSD linker */
7116
#ifdef FREEBSD_WORKAROUND
7117
static const void *lt_preloaded_setup() {
7118
return lt__PROGRAM__LTX_preloaded_symbols;
7126
# Now try linking the two files.
7127
mv conftest.$ac_objext conftstm.$ac_objext
7128
lt_globsym_save_LIBS=$LIBS
7129
lt_globsym_save_CFLAGS=$CFLAGS
7130
LIBS="conftstm.$ac_objext"
7131
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7132
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7133
(eval $ac_link) 2>&5
7135
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7136
test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7139
LIBS=$lt_globsym_save_LIBS
7140
CFLAGS=$lt_globsym_save_CFLAGS
7142
echo "cannot find nm_test_func in $nlist" >&5
7145
echo "cannot find nm_test_var in $nlist" >&5
7148
echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7151
echo "$progname: failed program was:" >&5
7152
cat conftest.$ac_ext >&5
7154
rm -rf conftest* conftst*
7156
# Do not use the global_symbol_pipe unless it works.
7157
if test "$pipe_works" = yes; then
7160
lt_cv_sys_global_symbol_pipe=
7166
if test -z "$lt_cv_sys_global_symbol_pipe"; then
7167
lt_cv_sys_global_symbol_to_cdecl=
7169
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7170
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7171
$as_echo "failed" >&6; }
7173
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7174
$as_echo "ok" >&6; }
7177
# Response file support.
7178
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7179
nm_file_list_spec='@'
7180
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7181
nm_file_list_spec='@'
7210
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7211
$as_echo_n "checking for sysroot... " >&6; }
7213
# Check whether --with-sysroot was given.
7214
if test "${with_sysroot+set}" = set; then :
7215
withval=$with_sysroot;
7222
case ${with_sysroot} in #(
7224
if test "$GCC" = yes; then
7225
lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7229
lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7234
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
7235
$as_echo "${with_sysroot}" >&6; }
7236
as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7240
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7241
$as_echo "${lt_sysroot:-no}" >&6; }
7247
# Check whether --enable-libtool-lock was given.
7248
if test "${enable_libtool_lock+set}" = set; then :
7249
enableval=$enable_libtool_lock;
7252
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7254
# Some flags need to be propagated to the compiler or linker for good
7258
# Find out which ABI we are using.
7259
echo 'int i;' > conftest.$ac_ext
7260
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7261
(eval $ac_compile) 2>&5
7263
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7264
test $ac_status = 0; }; then
7265
case `/usr/bin/file conftest.$ac_objext` in
7277
# Find out which ABI we are using.
7278
echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7279
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7280
(eval $ac_compile) 2>&5
7282
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7283
test $ac_status = 0; }; then
7284
if test "$lt_cv_prog_gnu_ld" = yes; then
7285
case `/usr/bin/file conftest.$ac_objext` in
7287
LD="${LD-ld} -melf32bsmip"
7290
LD="${LD-ld} -melf32bmipn32"
7293
LD="${LD-ld} -melf64bmip"
7297
case `/usr/bin/file conftest.$ac_objext` in
7313
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7314
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7315
# Find out which ABI we are using.
7316
echo 'int i;' > conftest.$ac_ext
7317
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7318
(eval $ac_compile) 2>&5
7320
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7321
test $ac_status = 0; }; then
7322
case `/usr/bin/file conftest.o` in
7325
x86_64-*kfreebsd*-gnu)
7326
LD="${LD-ld} -m elf_i386_fbsd"
7329
LD="${LD-ld} -m elf_i386"
7331
ppc64-*linux*|powerpc64-*linux*)
7332
LD="${LD-ld} -m elf32ppclinux"
7335
LD="${LD-ld} -m elf_s390"
7338
LD="${LD-ld} -m elf32_sparc"
7344
x86_64-*kfreebsd*-gnu)
7345
LD="${LD-ld} -m elf_x86_64_fbsd"
7348
LD="${LD-ld} -m elf_x86_64"
7350
ppc*-*linux*|powerpc*-*linux*)
7351
LD="${LD-ld} -m elf64ppc"
7353
s390*-*linux*|s390*-*tpf*)
7354
LD="${LD-ld} -m elf64_s390"
7357
LD="${LD-ld} -m elf64_sparc"
7367
# On SCO OpenServer 5, we need -belf to get full-featured binaries.
7368
SAVE_CFLAGS="$CFLAGS"
7369
CFLAGS="$CFLAGS -belf"
7370
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7371
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7372
if test "${lt_cv_cc_needs_belf+set}" = set; then :
7373
$as_echo_n "(cached) " >&6
7376
ac_cpp='$CPP $CPPFLAGS'
7377
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7378
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7379
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7381
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7382
/* end confdefs.h. */
7392
if ac_fn_c_try_link "$LINENO"; then :
7393
lt_cv_cc_needs_belf=yes
7395
lt_cv_cc_needs_belf=no
7397
rm -f core conftest.err conftest.$ac_objext \
7398
conftest$ac_exeext conftest.$ac_ext
7400
ac_cpp='$CPP $CPPFLAGS'
7401
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7402
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7403
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7406
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7407
$as_echo "$lt_cv_cc_needs_belf" >&6; }
7408
if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7409
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7410
CFLAGS="$SAVE_CFLAGS"
7414
# Find out which ABI we are using.
7415
echo 'int i;' > conftest.$ac_ext
7416
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7417
(eval $ac_compile) 2>&5
7419
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7420
test $ac_status = 0; }; then
7421
case `/usr/bin/file conftest.o` in
7423
case $lt_cv_prog_gnu_ld in
7424
yes*) LD="${LD-ld} -m elf64_sparc" ;;
7426
if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7438
need_locks="$enable_libtool_lock"
7440
if test -n "$ac_tool_prefix"; then
7441
# Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7442
set dummy ${ac_tool_prefix}mt; ac_word=$2
7443
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7444
$as_echo_n "checking for $ac_word... " >&6; }
7445
if test "${ac_cv_prog_MANIFEST_TOOL+set}" = set; then :
7446
$as_echo_n "(cached) " >&6
7448
if test -n "$MANIFEST_TOOL"; then
7449
ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7451
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7455
test -z "$as_dir" && as_dir=.
7456
for ac_exec_ext in '' $ac_executable_extensions; do
7457
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7458
ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7459
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7468
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7469
if test -n "$MANIFEST_TOOL"; then
7470
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7471
$as_echo "$MANIFEST_TOOL" >&6; }
7473
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7474
$as_echo "no" >&6; }
7479
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7480
ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7481
# Extract the first word of "mt", so it can be a program name with args.
7482
set dummy mt; ac_word=$2
7483
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7484
$as_echo_n "checking for $ac_word... " >&6; }
7485
if test "${ac_cv_prog_ac_ct_MANIFEST_TOOL+set}" = set; then :
7486
$as_echo_n "(cached) " >&6
7488
if test -n "$ac_ct_MANIFEST_TOOL"; then
7489
ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7491
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7495
test -z "$as_dir" && as_dir=.
7496
for ac_exec_ext in '' $ac_executable_extensions; do
7497
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7498
ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7499
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7508
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7509
if test -n "$ac_ct_MANIFEST_TOOL"; then
7510
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7511
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7513
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7514
$as_echo "no" >&6; }
7517
if test "x$ac_ct_MANIFEST_TOOL" = x; then
7520
case $cross_compiling:$ac_tool_warned in
7522
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7523
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7524
ac_tool_warned=yes ;;
7526
MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7529
MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7532
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7533
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7534
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7535
if test "${lt_cv_path_mainfest_tool+set}" = set; then :
7536
$as_echo_n "(cached) " >&6
7538
lt_cv_path_mainfest_tool=no
7539
echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7540
$MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7541
cat conftest.err >&5
7542
if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7543
lt_cv_path_mainfest_tool=yes
7547
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7548
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
7549
if test "x$lt_cv_path_mainfest_tool" != xyes; then
7559
rhapsody* | darwin*)
7560
if test -n "$ac_tool_prefix"; then
7561
# Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7562
set dummy ${ac_tool_prefix}dsymutil; 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 test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7566
$as_echo_n "(cached) " >&6
7568
if test -n "$DSYMUTIL"; then
7569
ac_cv_prog_DSYMUTIL="$DSYMUTIL" # 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_DSYMUTIL="${ac_tool_prefix}dsymutil"
7579
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7588
DSYMUTIL=$ac_cv_prog_DSYMUTIL
7589
if test -n "$DSYMUTIL"; then
7590
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7591
$as_echo "$DSYMUTIL" >&6; }
7593
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7594
$as_echo "no" >&6; }
7599
if test -z "$ac_cv_prog_DSYMUTIL"; then
7600
ac_ct_DSYMUTIL=$DSYMUTIL
7601
# Extract the first word of "dsymutil", so it can be a program name with args.
7602
set dummy dsymutil; ac_word=$2
7603
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7604
$as_echo_n "checking for $ac_word... " >&6; }
7605
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7606
$as_echo_n "(cached) " >&6
7608
if test -n "$ac_ct_DSYMUTIL"; then
7609
ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7611
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7615
test -z "$as_dir" && as_dir=.
7616
for ac_exec_ext in '' $ac_executable_extensions; do
7617
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7618
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7619
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7628
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7629
if test -n "$ac_ct_DSYMUTIL"; then
7630
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7631
$as_echo "$ac_ct_DSYMUTIL" >&6; }
7633
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7634
$as_echo "no" >&6; }
7637
if test "x$ac_ct_DSYMUTIL" = x; then
7640
case $cross_compiling:$ac_tool_warned in
7642
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7643
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7644
ac_tool_warned=yes ;;
7646
DSYMUTIL=$ac_ct_DSYMUTIL
7649
DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7652
if test -n "$ac_tool_prefix"; then
7653
# Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7654
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7655
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7656
$as_echo_n "checking for $ac_word... " >&6; }
7657
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7658
$as_echo_n "(cached) " >&6
7660
if test -n "$NMEDIT"; then
7661
ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7663
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7667
test -z "$as_dir" && as_dir=.
7668
for ac_exec_ext in '' $ac_executable_extensions; do
7669
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7670
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7671
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7680
NMEDIT=$ac_cv_prog_NMEDIT
7681
if test -n "$NMEDIT"; then
7682
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7683
$as_echo "$NMEDIT" >&6; }
7685
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7686
$as_echo "no" >&6; }
7691
if test -z "$ac_cv_prog_NMEDIT"; then
7692
ac_ct_NMEDIT=$NMEDIT
7693
# Extract the first word of "nmedit", so it can be a program name with args.
7694
set dummy nmedit; ac_word=$2
7695
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7696
$as_echo_n "checking for $ac_word... " >&6; }
7697
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7698
$as_echo_n "(cached) " >&6
7700
if test -n "$ac_ct_NMEDIT"; then
7701
ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7703
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7707
test -z "$as_dir" && as_dir=.
7708
for ac_exec_ext in '' $ac_executable_extensions; do
7709
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7710
ac_cv_prog_ac_ct_NMEDIT="nmedit"
7711
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7720
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7721
if test -n "$ac_ct_NMEDIT"; then
7722
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7723
$as_echo "$ac_ct_NMEDIT" >&6; }
7725
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7726
$as_echo "no" >&6; }
7729
if test "x$ac_ct_NMEDIT" = x; then
7732
case $cross_compiling:$ac_tool_warned in
7734
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7735
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7736
ac_tool_warned=yes ;;
7738
NMEDIT=$ac_ct_NMEDIT
7741
NMEDIT="$ac_cv_prog_NMEDIT"
7744
if test -n "$ac_tool_prefix"; then
7745
# Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7746
set dummy ${ac_tool_prefix}lipo; ac_word=$2
7747
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7748
$as_echo_n "checking for $ac_word... " >&6; }
7749
if test "${ac_cv_prog_LIPO+set}" = set; then :
7750
$as_echo_n "(cached) " >&6
7752
if test -n "$LIPO"; then
7753
ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7755
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7759
test -z "$as_dir" && as_dir=.
7760
for ac_exec_ext in '' $ac_executable_extensions; do
7761
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7762
ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7763
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7772
LIPO=$ac_cv_prog_LIPO
7773
if test -n "$LIPO"; then
7774
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7775
$as_echo "$LIPO" >&6; }
7777
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7778
$as_echo "no" >&6; }
7783
if test -z "$ac_cv_prog_LIPO"; then
7785
# Extract the first word of "lipo", so it can be a program name with args.
7786
set dummy lipo; ac_word=$2
7787
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7788
$as_echo_n "checking for $ac_word... " >&6; }
7789
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7790
$as_echo_n "(cached) " >&6
7792
if test -n "$ac_ct_LIPO"; then
7793
ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7795
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7799
test -z "$as_dir" && as_dir=.
7800
for ac_exec_ext in '' $ac_executable_extensions; do
7801
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7802
ac_cv_prog_ac_ct_LIPO="lipo"
7803
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7812
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7813
if test -n "$ac_ct_LIPO"; then
7814
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7815
$as_echo "$ac_ct_LIPO" >&6; }
7817
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7818
$as_echo "no" >&6; }
7821
if test "x$ac_ct_LIPO" = x; then
7824
case $cross_compiling:$ac_tool_warned in
7826
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7827
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7828
ac_tool_warned=yes ;;
7833
LIPO="$ac_cv_prog_LIPO"
7836
if test -n "$ac_tool_prefix"; then
7837
# Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7838
set dummy ${ac_tool_prefix}otool; ac_word=$2
7839
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7840
$as_echo_n "checking for $ac_word... " >&6; }
7841
if test "${ac_cv_prog_OTOOL+set}" = set; then :
7842
$as_echo_n "(cached) " >&6
7844
if test -n "$OTOOL"; then
7845
ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7847
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7851
test -z "$as_dir" && as_dir=.
7852
for ac_exec_ext in '' $ac_executable_extensions; do
7853
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7854
ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7855
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7864
OTOOL=$ac_cv_prog_OTOOL
7865
if test -n "$OTOOL"; then
7866
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7867
$as_echo "$OTOOL" >&6; }
7869
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7870
$as_echo "no" >&6; }
7875
if test -z "$ac_cv_prog_OTOOL"; then
7877
# Extract the first word of "otool", so it can be a program name with args.
7878
set dummy otool; ac_word=$2
7879
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7880
$as_echo_n "checking for $ac_word... " >&6; }
7881
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7882
$as_echo_n "(cached) " >&6
7884
if test -n "$ac_ct_OTOOL"; then
7885
ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7887
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7891
test -z "$as_dir" && as_dir=.
7892
for ac_exec_ext in '' $ac_executable_extensions; do
7893
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7894
ac_cv_prog_ac_ct_OTOOL="otool"
7895
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7904
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7905
if test -n "$ac_ct_OTOOL"; then
7906
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7907
$as_echo "$ac_ct_OTOOL" >&6; }
7909
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7910
$as_echo "no" >&6; }
7913
if test "x$ac_ct_OTOOL" = x; then
7916
case $cross_compiling:$ac_tool_warned in
7918
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7919
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7920
ac_tool_warned=yes ;;
7925
OTOOL="$ac_cv_prog_OTOOL"
7928
if test -n "$ac_tool_prefix"; then
7929
# Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7930
set dummy ${ac_tool_prefix}otool64; ac_word=$2
7931
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7932
$as_echo_n "checking for $ac_word... " >&6; }
7933
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7934
$as_echo_n "(cached) " >&6
7936
if test -n "$OTOOL64"; then
7937
ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7939
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7943
test -z "$as_dir" && as_dir=.
7944
for ac_exec_ext in '' $ac_executable_extensions; do
7945
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7946
ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7947
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7956
OTOOL64=$ac_cv_prog_OTOOL64
7957
if test -n "$OTOOL64"; then
7958
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7959
$as_echo "$OTOOL64" >&6; }
7961
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7962
$as_echo "no" >&6; }
7967
if test -z "$ac_cv_prog_OTOOL64"; then
7968
ac_ct_OTOOL64=$OTOOL64
7969
# Extract the first word of "otool64", so it can be a program name with args.
7970
set dummy otool64; ac_word=$2
7971
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7972
$as_echo_n "checking for $ac_word... " >&6; }
7973
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7974
$as_echo_n "(cached) " >&6
7976
if test -n "$ac_ct_OTOOL64"; then
7977
ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7979
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7983
test -z "$as_dir" && as_dir=.
7984
for ac_exec_ext in '' $ac_executable_extensions; do
7985
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7986
ac_cv_prog_ac_ct_OTOOL64="otool64"
7987
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7996
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7997
if test -n "$ac_ct_OTOOL64"; then
7998
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7999
$as_echo "$ac_ct_OTOOL64" >&6; }
8001
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8002
$as_echo "no" >&6; }
8005
if test "x$ac_ct_OTOOL64" = x; then
8008
case $cross_compiling:$ac_tool_warned in
8010
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8011
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8012
ac_tool_warned=yes ;;
8014
OTOOL64=$ac_ct_OTOOL64
8017
OTOOL64="$ac_cv_prog_OTOOL64"
8046
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8047
$as_echo_n "checking for -single_module linker flag... " >&6; }
8048
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
8049
$as_echo_n "(cached) " >&6
8051
lt_cv_apple_cc_single_mod=no
8052
if test -z "${LT_MULTI_MODULE}"; then
8053
# By default we will add the -single_module flag. You can override
8054
# by either setting the environment variable LT_MULTI_MODULE
8055
# non-empty at configure time, or by adding -multi_module to the
8057
rm -rf libconftest.dylib*
8058
echo "int foo(void){return 1;}" > conftest.c
8059
echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8060
-dynamiclib -Wl,-single_module conftest.c" >&5
8061
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8062
-dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8064
if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8065
lt_cv_apple_cc_single_mod=yes
8067
cat conftest.err >&5
8069
rm -rf libconftest.dylib*
8073
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8074
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8075
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8076
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8077
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
8078
$as_echo_n "(cached) " >&6
8080
lt_cv_ld_exported_symbols_list=no
8081
save_LDFLAGS=$LDFLAGS
8082
echo "_main" > conftest.sym
8083
LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8084
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8085
/* end confdefs.h. */
8095
if ac_fn_c_try_link "$LINENO"; then :
8096
lt_cv_ld_exported_symbols_list=yes
8098
lt_cv_ld_exported_symbols_list=no
8100
rm -f core conftest.err conftest.$ac_objext \
8101
conftest$ac_exeext conftest.$ac_ext
8102
LDFLAGS="$save_LDFLAGS"
8105
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8106
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8107
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8108
$as_echo_n "checking for -force_load linker flag... " >&6; }
8109
if test "${lt_cv_ld_force_load+set}" = set; then :
8110
$as_echo_n "(cached) " >&6
8112
lt_cv_ld_force_load=no
8113
cat > conftest.c << _LT_EOF
8114
int forced_loaded() { return 2;}
8116
echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8117
$LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8118
echo "$AR cru libconftest.a conftest.o" >&5
8119
$AR cru libconftest.a conftest.o 2>&5
8120
echo "$RANLIB libconftest.a" >&5
8121
$RANLIB libconftest.a 2>&5
8122
cat > conftest.c << _LT_EOF
8123
int main() { return 0;}
8125
echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8126
$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8128
if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8129
lt_cv_ld_force_load=yes
8131
cat conftest.err >&5
8133
rm -f conftest.err libconftest.a conftest conftest.c
8134
rm -rf conftest.dSYM
8137
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8138
$as_echo "$lt_cv_ld_force_load" >&6; }
8140
rhapsody* | darwin1.[012])
8141
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8143
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8144
darwin*) # darwin 5.x on
8145
# if running on 10.5 or later, the deployment target defaults
8146
# to the OS version, if on x86, and 10.4, the deployment
8147
# target defaults to 10.4. Don't you love it?
8148
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8149
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8150
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8152
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8154
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8158
if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8159
_lt_dar_single_mod='$single_module'
8161
if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8162
_lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8164
_lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8166
if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8167
_lt_dsymutil='~$DSYMUTIL $lib || :'
8174
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
8175
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8176
inttypes.h stdint.h unistd.h
8178
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8179
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8181
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8182
cat >>confdefs.h <<_ACEOF
8183
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8191
for ac_header in dlfcn.h
8193
ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8195
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8196
cat >>confdefs.h <<_ACEOF
8197
#define HAVE_DLFCN_H 1
8218
# Check whether --enable-shared was given.
8219
if test "${enable_shared+set}" = set; then :
8220
enableval=$enable_shared; p=${PACKAGE-default}
8222
yes) enable_shared=yes ;;
8223
no) enable_shared=no ;;
8226
# Look at the argument we got. We use all the common list separators.
8227
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8228
for pkg in $enableval; do
8230
if test "X$pkg" = "X$p"; then
8249
# Check whether --enable-static was given.
8250
if test "${enable_static+set}" = set; then :
8251
enableval=$enable_static; p=${PACKAGE-default}
8253
yes) enable_static=yes ;;
8254
no) enable_static=no ;;
8257
# Look at the argument we got. We use all the common list separators.
8258
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8259
for pkg in $enableval; do
8261
if test "X$pkg" = "X$p"; then
8281
# Check whether --with-pic was given.
8282
if test "${with_pic+set}" = set; then :
8283
withval=$with_pic; pic_mode="$withval"
8289
test -z "$pic_mode" && pic_mode=default
8297
# Check whether --enable-fast-install was given.
8298
if test "${enable_fast_install+set}" = set; then :
8299
enableval=$enable_fast_install; p=${PACKAGE-default}
8301
yes) enable_fast_install=yes ;;
8302
no) enable_fast_install=no ;;
8304
enable_fast_install=no
8305
# Look at the argument we got. We use all the common list separators.
8306
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8307
for pkg in $enableval; do
8309
if test "X$pkg" = "X$p"; then
8310
enable_fast_install=yes
8317
enable_fast_install=yes
8330
# This can be used to rebuild libtool when needed
8331
LIBTOOL_DEPS="$ltmain"
8333
# Always use our own libtool.
8334
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8361
test -z "$LN_S" && LN_S="ln -s"
8376
if test -n "${ZSH_VERSION+set}" ; then
8377
setopt NO_GLOB_SUBST
8380
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8381
$as_echo_n "checking for objdir... " >&6; }
8382
if test "${lt_cv_objdir+set}" = set; then :
8383
$as_echo_n "(cached) " >&6
8385
rm -f .libs 2>/dev/null
8386
mkdir .libs 2>/dev/null
8387
if test -d .libs; then
8390
# MS-DOS does not allow filenames that begin with a dot.
8393
rmdir .libs 2>/dev/null
8395
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8396
$as_echo "$lt_cv_objdir" >&6; }
8397
objdir=$lt_cv_objdir
8403
cat >>confdefs.h <<_ACEOF
8404
#define LT_OBJDIR "$lt_cv_objdir/"
8412
# AIX sometimes has problems with the GCC collect2 program. For some
8413
# reason, if we set the COLLECT_NAMES environment variable, the problems
8414
# vanish in a puff of smoke.
8415
if test "X${COLLECT_NAMES+set}" != Xset; then
8417
export COLLECT_NAMES
8424
can_build_shared=yes
8426
# All known linkers require a `.a' archive for static linking (except MSVC,
8427
# which needs '.lib').
8430
with_gnu_ld="$lt_cv_prog_gnu_ld"
8433
old_CFLAGS="$CFLAGS"
8435
# Set sane defaults for various variables
8436
test -z "$CC" && CC=cc
8437
test -z "$LTCC" && LTCC=$CC
8438
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8439
test -z "$LD" && LD=ld
8440
test -z "$ac_objext" && ac_objext=o
8442
for cc_temp in $compiler""; do
8444
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8445
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8450
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8453
# Only perform the check for file, if the check method requires it
8454
test -z "$MAGIC_CMD" && MAGIC_CMD=file
8455
case $deplibs_check_method in
8457
if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8458
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8459
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8460
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8461
$as_echo_n "(cached) " >&6
8465
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8468
lt_save_MAGIC_CMD="$MAGIC_CMD"
8469
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8470
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8471
for ac_dir in $ac_dummy; do
8473
test -z "$ac_dir" && ac_dir=.
8474
if test -f $ac_dir/${ac_tool_prefix}file; then
8475
lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8476
if test -n "$file_magic_test_file"; then
8477
case $deplibs_check_method in
8479
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8480
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8481
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8482
$EGREP "$file_magic_regex" > /dev/null; then
8487
*** Warning: the command libtool uses to detect shared libraries,
8488
*** $file_magic_cmd, produces output that libtool cannot recognize.
8489
*** The result is that libtool may fail to recognize shared libraries
8490
*** as such. This will affect the creation of libtool libraries that
8491
*** depend on shared libraries, but programs linked with such libtool
8492
*** libraries will work regardless of this problem. Nevertheless, you
8493
*** may want to report the problem to your system manager and/or to
8494
*** bug-libtool@gnu.org
8504
MAGIC_CMD="$lt_save_MAGIC_CMD"
8509
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8510
if test -n "$MAGIC_CMD"; then
8511
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8512
$as_echo "$MAGIC_CMD" >&6; }
8514
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8515
$as_echo "no" >&6; }
8522
if test -z "$lt_cv_path_MAGIC_CMD"; then
8523
if test -n "$ac_tool_prefix"; then
8524
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8525
$as_echo_n "checking for file... " >&6; }
8526
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8527
$as_echo_n "(cached) " >&6
8531
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8534
lt_save_MAGIC_CMD="$MAGIC_CMD"
8535
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8536
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8537
for ac_dir in $ac_dummy; do
8539
test -z "$ac_dir" && ac_dir=.
8540
if test -f $ac_dir/file; then
8541
lt_cv_path_MAGIC_CMD="$ac_dir/file"
8542
if test -n "$file_magic_test_file"; then
8543
case $deplibs_check_method in
8545
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8546
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8547
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8548
$EGREP "$file_magic_regex" > /dev/null; then
8553
*** Warning: the command libtool uses to detect shared libraries,
8554
*** $file_magic_cmd, produces output that libtool cannot recognize.
8555
*** The result is that libtool may fail to recognize shared libraries
8556
*** as such. This will affect the creation of libtool libraries that
8557
*** depend on shared libraries, but programs linked with such libtool
8558
*** libraries will work regardless of this problem. Nevertheless, you
8559
*** may want to report the problem to your system manager and/or to
8560
*** bug-libtool@gnu.org
8570
MAGIC_CMD="$lt_save_MAGIC_CMD"
8575
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8576
if test -n "$MAGIC_CMD"; then
8577
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8578
$as_echo "$MAGIC_CMD" >&6; }
8580
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8581
$as_echo "no" >&6; }
8594
# Use C for the default configuration in the libtool script
8598
ac_cpp='$CPP $CPPFLAGS'
8599
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8600
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8601
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8604
# Source file extension for C test sources.
8607
# Object file extension for compiled C test sources.
8611
# Code to be used in simple compile tests
8612
lt_simple_compile_test_code="int some_variable = 0;"
8614
# Code to be used in simple link tests
8615
lt_simple_link_test_code='int main(){return(0);}'
8623
# If no C compiler was specified, use CC.
8626
# If no C compiler flags were specified, use CFLAGS.
8627
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8629
# Allow CC to be a program name with arguments.
8632
# Save the default compiler, since it gets overwritten when the other
8633
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8634
compiler_DEFAULT=$CC
8636
# save warnings/boilerplate of simple test code
8637
ac_outfile=conftest.$ac_objext
8638
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8639
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8640
_lt_compiler_boilerplate=`cat conftest.err`
8643
ac_outfile=conftest.$ac_objext
8644
echo "$lt_simple_link_test_code" >conftest.$ac_ext
8645
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8646
_lt_linker_boilerplate=`cat conftest.err`
8651
## There is no encapsulation within the following macros, do not change
8652
## the running order or otherwise move them around unless you know exactly
8653
## what you are doing...
8654
if test -n "$compiler"; then
8656
lt_prog_compiler_no_builtin_flag=
8658
if test "$GCC" = yes; then
8659
case $cc_basename in
8661
lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8663
lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8666
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8667
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8668
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8669
$as_echo_n "(cached) " >&6
8671
lt_cv_prog_compiler_rtti_exceptions=no
8672
ac_outfile=conftest.$ac_objext
8673
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8674
lt_compiler_flag="-fno-rtti -fno-exceptions"
8675
# Insert the option either (1) after the last *FLAGS variable, or
8676
# (2) before a word containing "conftest.", or (3) at the end.
8677
# Note that $ac_compile itself does not contain backslashes and begins
8678
# with a dollar sign (not a hyphen), so the echo should work correctly.
8679
# The option is referenced via a variable to avoid confusing sed.
8680
lt_compile=`echo "$ac_compile" | $SED \
8681
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8682
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8683
-e 's:$: $lt_compiler_flag:'`
8684
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8685
(eval "$lt_compile" 2>conftest.err)
8687
cat conftest.err >&5
8688
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8689
if (exit $ac_status) && test -s "$ac_outfile"; then
8690
# The compiler can only warn and ignore the option if not recognized
8691
# So say no if there are warnings other than the usual output.
8692
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8693
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8694
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8695
lt_cv_prog_compiler_rtti_exceptions=yes
8701
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8702
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8704
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8705
lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8717
lt_prog_compiler_wl=
8718
lt_prog_compiler_pic=
8719
lt_prog_compiler_static=
8722
if test "$GCC" = yes; then
8723
lt_prog_compiler_wl='-Wl,'
8724
lt_prog_compiler_static='-static'
8728
# All AIX code is PIC.
8729
if test "$host_cpu" = ia64; then
8730
# AIX 5 now supports IA64 processor
8731
lt_prog_compiler_static='-Bstatic'
8738
# see comment about AmigaOS4 .so support
8739
lt_prog_compiler_pic='-fPIC'
8742
# FIXME: we need at least 68020 code to build shared libraries, but
8743
# adding the `-m68020' flag to GCC prevents building anything better,
8745
lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8750
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8751
# PIC is the default for these OSes.
8754
mingw* | cygwin* | pw32* | os2* | cegcc*)
8755
# This hack is so that the source file can tell whether it is being
8756
# built for inclusion in a dll (and should export symbols for example).
8757
# Although the cygwin gcc ignores -fPIC, still need this for old-style
8758
# (--disable-auto-import) libraries
8759
lt_prog_compiler_pic='-DDLL_EXPORT'
8762
darwin* | rhapsody*)
8763
# PIC is the default on this platform
8764
# Common symbols not allowed in MH_DYLIB files
8765
lt_prog_compiler_pic='-fno-common'
8769
# PIC is the default for Haiku.
8770
# The "-static" flag exists, but is broken.
8771
lt_prog_compiler_static=
8775
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8776
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8777
# sets the default TLS model and affects inlining.
8783
lt_prog_compiler_pic='-fPIC'
8789
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
8790
# Instead, we relocate shared libraries at runtime.
8794
# Just because we use GCC doesn't mean we suddenly get shared libraries
8795
# on systems that don't support them.
8796
lt_prog_compiler_can_build_shared=no
8801
# QNX uses GNU C++, but need to define -shared option too, otherwise
8803
lt_prog_compiler_pic='-fPIC -shared'
8807
if test -d /usr/nec; then
8808
lt_prog_compiler_pic=-Kconform_pic
8813
lt_prog_compiler_pic='-fPIC'
8817
case $cc_basename in
8818
nvcc*) # Cuda Compiler Driver 2.2
8819
lt_prog_compiler_wl='-Xlinker '
8820
lt_prog_compiler_pic='-Xcompiler -fPIC'
8824
# PORTME Check for flag to pass linker flags through the system compiler.
8827
lt_prog_compiler_wl='-Wl,'
8828
if test "$host_cpu" = ia64; then
8829
# AIX 5 now supports IA64 processor
8830
lt_prog_compiler_static='-Bstatic'
8832
lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8836
mingw* | cygwin* | pw32* | os2* | cegcc*)
8837
# This hack is so that the source file can tell whether it is being
8838
# built for inclusion in a dll (and should export symbols for example).
8839
lt_prog_compiler_pic='-DDLL_EXPORT'
8842
hpux9* | hpux10* | hpux11*)
8843
lt_prog_compiler_wl='-Wl,'
8844
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8851
lt_prog_compiler_pic='+Z'
8854
# Is there a better lt_prog_compiler_static that works with the bundled CC?
8855
lt_prog_compiler_static='${wl}-a ${wl}archive'
8858
irix5* | irix6* | nonstopux*)
8859
lt_prog_compiler_wl='-Wl,'
8860
# PIC (with -KPIC) is the default.
8861
lt_prog_compiler_static='-non_shared'
8864
linux* | k*bsd*-gnu | kopensolaris*-gnu)
8865
case $cc_basename in
8866
# old Intel for x86_64 which still supported -KPIC.
8868
lt_prog_compiler_wl='-Wl,'
8869
lt_prog_compiler_pic='-KPIC'
8870
lt_prog_compiler_static='-static'
8872
# icc used to be incompatible with GCC.
8873
# ICC 10 doesn't accept -KPIC any more.
8875
lt_prog_compiler_wl='-Wl,'
8876
lt_prog_compiler_pic='-fPIC'
8877
lt_prog_compiler_static='-static'
8879
# Lahey Fortran 8.1.
8881
lt_prog_compiler_wl='-Wl,'
8882
lt_prog_compiler_pic='--shared'
8883
lt_prog_compiler_static='--static'
8886
# NAG Fortran compiler
8887
lt_prog_compiler_wl='-Wl,-Wl,,'
8888
lt_prog_compiler_pic='-PIC'
8889
lt_prog_compiler_static='-Bstatic'
8891
pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8892
# Portland Group compilers (*not* the Pentium gcc compiler,
8893
# which looks to be a dead project)
8894
lt_prog_compiler_wl='-Wl,'
8895
lt_prog_compiler_pic='-fpic'
8896
lt_prog_compiler_static='-Bstatic'
8899
lt_prog_compiler_wl='-Wl,'
8900
# All Alpha code is PIC.
8901
lt_prog_compiler_static='-non_shared'
8903
xl* | bgxl* | bgf* | mpixl*)
8904
# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8905
lt_prog_compiler_wl='-Wl,'
8906
lt_prog_compiler_pic='-qpic'
8907
lt_prog_compiler_static='-qstaticlink'
8910
case `$CC -V 2>&1 | sed 5q` in
8911
*Sun\ F* | *Sun*Fortran*)
8912
# Sun Fortran 8.3 passes all unrecognized flags to the linker
8913
lt_prog_compiler_pic='-KPIC'
8914
lt_prog_compiler_static='-Bstatic'
8915
lt_prog_compiler_wl=''
8919
lt_prog_compiler_pic='-KPIC'
8920
lt_prog_compiler_static='-Bstatic'
8921
lt_prog_compiler_wl='-Wl,'
8929
lt_prog_compiler_pic='-KPIC'
8930
lt_prog_compiler_static='-Bstatic'
8934
# QNX uses GNU C++, but need to define -shared option too, otherwise
8936
lt_prog_compiler_pic='-fPIC -shared'
8939
osf3* | osf4* | osf5*)
8940
lt_prog_compiler_wl='-Wl,'
8941
# All OSF/1 code is PIC.
8942
lt_prog_compiler_static='-non_shared'
8946
lt_prog_compiler_static='-non_shared'
8950
lt_prog_compiler_pic='-KPIC'
8951
lt_prog_compiler_static='-Bstatic'
8952
case $cc_basename in
8953
f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8954
lt_prog_compiler_wl='-Qoption ld ';;
8956
lt_prog_compiler_wl='-Wl,';;
8961
lt_prog_compiler_wl='-Qoption ld '
8962
lt_prog_compiler_pic='-PIC'
8963
lt_prog_compiler_static='-Bstatic'
8966
sysv4 | sysv4.2uw2* | sysv4.3*)
8967
lt_prog_compiler_wl='-Wl,'
8968
lt_prog_compiler_pic='-KPIC'
8969
lt_prog_compiler_static='-Bstatic'
8973
if test -d /usr/nec ;then
8974
lt_prog_compiler_pic='-Kconform_pic'
8975
lt_prog_compiler_static='-Bstatic'
8979
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8980
lt_prog_compiler_wl='-Wl,'
8981
lt_prog_compiler_pic='-KPIC'
8982
lt_prog_compiler_static='-Bstatic'
8986
lt_prog_compiler_wl='-Wl,'
8987
lt_prog_compiler_can_build_shared=no
8991
lt_prog_compiler_pic='-pic'
8992
lt_prog_compiler_static='-Bstatic'
8996
lt_prog_compiler_can_build_shared=no
9002
# For platforms which do not support PIC, -DPIC is meaningless:
9004
lt_prog_compiler_pic=
9007
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9011
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9012
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9013
if test "${lt_cv_prog_compiler_pic+set}" = set; then :
9014
$as_echo_n "(cached) " >&6
9016
lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9018
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9019
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
9020
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9023
# Check to make sure the PIC flag actually works.
9025
if test -n "$lt_prog_compiler_pic"; then
9026
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9027
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9028
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9029
$as_echo_n "(cached) " >&6
9031
lt_cv_prog_compiler_pic_works=no
9032
ac_outfile=conftest.$ac_objext
9033
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9034
lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9035
# Insert the option either (1) after the last *FLAGS variable, or
9036
# (2) before a word containing "conftest.", or (3) at the end.
9037
# Note that $ac_compile itself does not contain backslashes and begins
9038
# with a dollar sign (not a hyphen), so the echo should work correctly.
9039
# The option is referenced via a variable to avoid confusing sed.
9040
lt_compile=`echo "$ac_compile" | $SED \
9041
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9042
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9043
-e 's:$: $lt_compiler_flag:'`
9044
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9045
(eval "$lt_compile" 2>conftest.err)
9047
cat conftest.err >&5
9048
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9049
if (exit $ac_status) && test -s "$ac_outfile"; then
9050
# The compiler can only warn and ignore the option if not recognized
9051
# So say no if there are warnings other than the usual output.
9052
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9053
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9054
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9055
lt_cv_prog_compiler_pic_works=yes
9061
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9062
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9064
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9065
case $lt_prog_compiler_pic in
9067
*) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9070
lt_prog_compiler_pic=
9071
lt_prog_compiler_can_build_shared=no
9087
# Check to make sure the static flag actually works.
9089
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9090
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9091
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9092
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9093
$as_echo_n "(cached) " >&6
9095
lt_cv_prog_compiler_static_works=no
9096
save_LDFLAGS="$LDFLAGS"
9097
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9098
echo "$lt_simple_link_test_code" > conftest.$ac_ext
9099
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9100
# The linker can only warn and ignore the option if not recognized
9101
# So say no if there are warnings
9102
if test -s conftest.err; then
9103
# Append any errors to the config.log.
9104
cat conftest.err 1>&5
9105
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9106
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9107
if diff conftest.exp conftest.er2 >/dev/null; then
9108
lt_cv_prog_compiler_static_works=yes
9111
lt_cv_prog_compiler_static_works=yes
9115
LDFLAGS="$save_LDFLAGS"
9118
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9119
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9121
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9124
lt_prog_compiler_static=
9133
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9134
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9135
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9136
$as_echo_n "(cached) " >&6
9138
lt_cv_prog_compiler_c_o=no
9139
$RM -r conftest 2>/dev/null
9143
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9145
lt_compiler_flag="-o out/conftest2.$ac_objext"
9146
# Insert the option either (1) after the last *FLAGS variable, or
9147
# (2) before a word containing "conftest.", or (3) at the end.
9148
# Note that $ac_compile itself does not contain backslashes and begins
9149
# with a dollar sign (not a hyphen), so the echo should work correctly.
9150
lt_compile=`echo "$ac_compile" | $SED \
9151
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9152
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9153
-e 's:$: $lt_compiler_flag:'`
9154
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9155
(eval "$lt_compile" 2>out/conftest.err)
9157
cat out/conftest.err >&5
9158
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9159
if (exit $ac_status) && test -s out/conftest2.$ac_objext
9161
# The compiler can only warn and ignore the option if not recognized
9162
# So say no if there are warnings
9163
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9164
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9165
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9166
lt_cv_prog_compiler_c_o=yes
9171
# SGI C++ compiler will create directory out/ii_files/ for
9172
# template instantiation
9173
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9174
$RM out/* && rmdir out
9180
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9181
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9188
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9189
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9190
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9191
$as_echo_n "(cached) " >&6
9193
lt_cv_prog_compiler_c_o=no
9194
$RM -r conftest 2>/dev/null
9198
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9200
lt_compiler_flag="-o out/conftest2.$ac_objext"
9201
# Insert the option either (1) after the last *FLAGS variable, or
9202
# (2) before a word containing "conftest.", or (3) at the end.
9203
# Note that $ac_compile itself does not contain backslashes and begins
9204
# with a dollar sign (not a hyphen), so the echo should work correctly.
9205
lt_compile=`echo "$ac_compile" | $SED \
9206
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9207
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9208
-e 's:$: $lt_compiler_flag:'`
9209
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9210
(eval "$lt_compile" 2>out/conftest.err)
9212
cat out/conftest.err >&5
9213
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9214
if (exit $ac_status) && test -s out/conftest2.$ac_objext
9216
# The compiler can only warn and ignore the option if not recognized
9217
# So say no if there are warnings
9218
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9219
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9220
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9221
lt_cv_prog_compiler_c_o=yes
9226
# SGI C++ compiler will create directory out/ii_files/ for
9227
# template instantiation
9228
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9229
$RM out/* && rmdir out
9235
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9236
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9241
hard_links="nottested"
9242
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9243
# do not overwrite the value of need_locks provided by the user
9244
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9245
$as_echo_n "checking if we can lock with hard links... " >&6; }
9248
ln conftest.a conftest.b 2>/dev/null && hard_links=no
9250
ln conftest.a conftest.b 2>&5 || hard_links=no
9251
ln conftest.a conftest.b 2>/dev/null && hard_links=no
9252
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9253
$as_echo "$hard_links" >&6; }
9254
if test "$hard_links" = no; then
9255
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9256
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9268
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9269
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9272
allow_undefined_flag=
9273
always_export_symbols=no
9275
archive_expsym_cmds=
9276
compiler_needs_object=no
9277
enable_shared_with_static_runtimes=no
9278
export_dynamic_flag_spec=
9279
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9280
hardcode_automatic=no
9282
hardcode_direct_absolute=no
9283
hardcode_libdir_flag_spec=
9284
hardcode_libdir_flag_spec_ld=
9285
hardcode_libdir_separator=
9287
hardcode_shlibpath_var=unsupported
9289
link_all_deplibs=unknown
9292
old_archive_from_new_cmds=
9293
old_archive_from_expsyms_cmds=
9294
thread_safe_flag_spec=
9295
whole_archive_flag_spec=
9296
# include_expsyms should be a list of space-separated symbols to be *always*
9297
# included in the symbol list
9299
# exclude_expsyms can be an extended regexp of symbols to exclude
9300
# it will be wrapped by ` (' and `)$', so one must not match beginning or
9301
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9302
# as well as any symbol that contains `d'.
9303
exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9304
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9305
# platforms (ab)use it in PIC code, but their linkers get confused if
9306
# the symbol is explicitly referenced. Since portable code cannot
9307
# rely on this symbol name, it's probably fine to never include it in
9308
# preloaded symbol tables.
9309
# Exclude shared library initialization/finalization symbols.
9310
extract_expsyms_cmds=
9313
cygwin* | mingw* | pw32* | cegcc*)
9314
# FIXME: the MSVC++ port hasn't been tested in a loooong time
9315
# When not using gcc, we currently assume that we are using
9316
# Microsoft Visual C++.
9317
if test "$GCC" != yes; then
9322
# we just hope/assume this is gcc and not c89 (= MSVC++)
9328
linux* | k*bsd*-gnu | gnu*)
9335
# On some targets, GNU ld is compatible enough with the native linker
9336
# that we're better off using the native interface for both.
9337
lt_use_gnu_ld_interface=no
9338
if test "$with_gnu_ld" = yes; then
9341
# The AIX port of GNU ld has always aspired to compatibility
9342
# with the native linker. However, as the warning in the GNU ld
9343
# block says, versions before 2.19.5* couldn't really create working
9344
# shared libraries, regardless of the interface used.
9345
case `$LD -v 2>&1` in
9346
*\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9347
*\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9348
*\ \(GNU\ Binutils\)\ [3-9]*) ;;
9350
lt_use_gnu_ld_interface=yes
9355
lt_use_gnu_ld_interface=yes
9360
if test "$lt_use_gnu_ld_interface" = yes; then
9361
# If archive_cmds runs LD, not CC, wlarc should be empty
9364
# Set some defaults for GNU ld with shared library support. These
9365
# are reset later if shared libraries are not supported. Putting them
9366
# here allows them to be overridden if necessary.
9367
runpath_var=LD_RUN_PATH
9368
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9369
export_dynamic_flag_spec='${wl}--export-dynamic'
9370
# ancient GNU ld didn't support --whole-archive et. al.
9371
if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9372
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9374
whole_archive_flag_spec=
9376
supports_anon_versioning=no
9377
case `$LD -v 2>&1` in
9378
*GNU\ gold*) supports_anon_versioning=yes ;;
9379
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9380
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9381
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9382
*\ 2.11.*) ;; # other 2.11 versions
9383
*) supports_anon_versioning=yes ;;
9386
# See if GNU ld supports shared libraries.
9389
# On AIX/PPC, the GNU linker is very broken
9390
if test "$host_cpu" != ia64; then
9394
*** Warning: the GNU linker, at least up to release 2.19, is reported
9395
*** to be unable to reliably create shared libraries on AIX.
9396
*** Therefore, libtool is disabling shared libraries support. If you
9397
*** really care for shared libraries, you may want to install binutils
9398
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9399
*** You will then need to restart the configuration process.
9408
# see comment about AmigaOS4 .so support
9409
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9410
archive_expsym_cmds=''
9413
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)'
9414
hardcode_libdir_flag_spec='-L$libdir'
9415
hardcode_minus_L=yes
9421
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9422
allow_undefined_flag=unsupported
9423
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9424
# support --undefined. This deserves some investigation. FIXME
9425
archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9431
cygwin* | mingw* | pw32* | cegcc*)
9432
# _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9433
# as there is no search path for DLLs.
9434
hardcode_libdir_flag_spec='-L$libdir'
9435
export_dynamic_flag_spec='${wl}--export-all-symbols'
9436
allow_undefined_flag=unsupported
9437
always_export_symbols=no
9438
enable_shared_with_static_runtimes=yes
9439
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'
9440
exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9442
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9443
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9444
# If the export-symbols file already is a .def file (1st line
9445
# is EXPORTS), use it as is; otherwise, prepend...
9446
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9447
cp $export_symbols $output_objdir/$soname.def;
9449
echo EXPORTS > $output_objdir/$soname.def;
9450
cat $export_symbols >> $output_objdir/$soname.def;
9452
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9459
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9460
link_all_deplibs=yes
9465
hardcode_shlibpath_var=no
9466
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9467
export_dynamic_flag_spec='${wl}-E'
9468
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9469
# Instead, shared libraries are loaded at an image base (0x10000000 by
9470
# default) and relocated if they conflict, which is a slow very memory
9471
# consuming and fragmenting process. To avoid this, we pick a random,
9472
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9473
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
9474
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9475
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'
9478
gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9480
if test "$host_os" = linux-dietlibc; then
9481
case $cc_basename in
9482
diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9485
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9486
&& test "$tmp_diet" = no
9488
tmp_addflag=' $pic_flag'
9489
tmp_sharedflag='-shared'
9490
case $cc_basename,$host_cpu in
9491
pgcc*) # Portland Group C compiler
9492
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'
9493
tmp_addflag=' $pic_flag'
9495
pgf77* | pgf90* | pgf95* | pgfortran*)
9496
# Portland Group f77 and f90 compilers
9497
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'
9498
tmp_addflag=' $pic_flag -Mnomain' ;;
9499
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9500
tmp_addflag=' -i_dynamic' ;;
9501
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9502
tmp_addflag=' -i_dynamic -nofor_main' ;;
9503
ifc* | ifort*) # Intel Fortran compiler
9504
tmp_addflag=' -nofor_main' ;;
9505
lf95*) # Lahey Fortran 8.1
9506
whole_archive_flag_spec=
9507
tmp_sharedflag='--shared' ;;
9508
xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9509
tmp_sharedflag='-qmkshrobj'
9511
nvcc*) # Cuda Compiler Driver 2.2
9512
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'
9513
compiler_needs_object=yes
9516
case `$CC -V 2>&1 | sed 5q` in
9517
*Sun\ C*) # Sun C 5.9
9518
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'
9519
compiler_needs_object=yes
9520
tmp_sharedflag='-G' ;;
9521
*Sun\ F*) # Sun Fortran 8.3
9522
tmp_sharedflag='-G' ;;
9524
archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9526
if test "x$supports_anon_versioning" = xyes; then
9527
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9528
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9529
echo "local: *; };" >> $output_objdir/$libname.ver~
9530
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9533
case $cc_basename in
9534
xlf* | bgf* | bgxlf* | mpixlf*)
9535
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9536
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9537
hardcode_libdir_flag_spec=
9538
hardcode_libdir_flag_spec_ld='-rpath $libdir'
9539
archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9540
if test "x$supports_anon_versioning" = xyes; then
9541
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9542
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9543
echo "local: *; };" >> $output_objdir/$libname.ver~
9544
$LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9553
netbsd* | netbsdelf*-gnu)
9554
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9555
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9558
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9559
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9564
if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9568
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9569
*** create shared libraries on Solaris systems. Therefore, libtool
9570
*** is disabling shared libraries support. We urge you to upgrade GNU
9571
*** binutils to release 2.9.1 or newer. Another option is to modify
9572
*** your PATH or compiler configuration so that the native linker is
9573
*** used, and then restart.
9576
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9577
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9578
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9584
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9585
case `$LD -v 2>&1` in
9586
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9590
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9591
*** reliably create shared libraries on SCO systems. Therefore, libtool
9592
*** is disabling shared libraries support. We urge you to upgrade GNU
9593
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9594
*** your PATH or compiler configuration so that the native linker is
9595
*** used, and then restart.
9600
# For security reasons, it is highly recommended that you always
9601
# use absolute paths for naming shared libraries, and exclude the
9602
# DT_RUNPATH tag from executables and libraries. But doing so
9603
# requires that you compile everything twice, which is a pain.
9604
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9605
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9606
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9607
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9616
archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9619
hardcode_shlibpath_var=no
9623
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9624
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9625
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9632
if test "$ld_shlibs" = no; then
9634
hardcode_libdir_flag_spec=
9635
export_dynamic_flag_spec=
9636
whole_archive_flag_spec=
9639
# PORTME fill in a description of your system's linker (not GNU ld)
9642
allow_undefined_flag=unsupported
9643
always_export_symbols=yes
9644
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'
9645
# Note: this linker hardcodes the directories in LIBPATH if there
9646
# are no directories specified by -L.
9647
hardcode_minus_L=yes
9648
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9649
# Neither direct hardcoding nor static linking is supported with a
9651
hardcode_direct=unsupported
9656
if test "$host_cpu" = ia64; then
9657
# On IA64, the linker does run time linking by default, so we don't
9658
# have to do anything special.
9659
aix_use_runtimelinking=no
9660
exp_sym_flag='-Bexport'
9663
# If we're using GNU nm, then we don't want the "-C" option.
9664
# -C means demangle to AIX nm, but means don't demangle with GNU nm
9665
# Also, AIX nm treats weak defined symbols like other global
9666
# defined symbols, whereas GNU nm marks them as "W".
9667
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9668
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'
9670
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'
9672
aix_use_runtimelinking=no
9674
# Test if we are trying to use run time linking or normal
9675
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
9676
# need to do runtime linking.
9677
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9678
for ld_flag in $LDFLAGS; do
9679
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9680
aix_use_runtimelinking=yes
9687
exp_sym_flag='-bexport'
9688
no_entry_flag='-bnoentry'
9691
# When large executables or shared objects are built, AIX ld can
9692
# have problems creating the table of contents. If linking a library
9693
# or program results in "error TOC overflow" add -mminimal-toc to
9694
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9695
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9699
hardcode_direct_absolute=yes
9700
hardcode_libdir_separator=':'
9701
link_all_deplibs=yes
9702
file_list_spec='${wl}-f,'
9704
if test "$GCC" = yes; then
9705
case $host_os in aix4.[012]|aix4.[012].*)
9706
# We only want to do this on AIX 4.2 and lower, the check
9707
# below for broken collect2 doesn't work under 4.3+
9708
collect2name=`${CC} -print-prog-name=collect2`
9709
if test -f "$collect2name" &&
9710
strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9712
# We have reworked collect2
9715
# We have old collect2
9716
hardcode_direct=unsupported
9717
# It fails to find uninstalled libraries when the uninstalled
9718
# path is not listed in the libpath. Setting hardcode_minus_L
9719
# to unsupported forces relinking
9720
hardcode_minus_L=yes
9721
hardcode_libdir_flag_spec='-L$libdir'
9722
hardcode_libdir_separator=
9726
shared_flag='-shared'
9727
if test "$aix_use_runtimelinking" = yes; then
9728
shared_flag="$shared_flag "'${wl}-G'
9733
if test "$host_cpu" = ia64; then
9734
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9735
# chokes on -Wl,-G. The following line is correct:
9738
if test "$aix_use_runtimelinking" = yes; then
9739
shared_flag='${wl}-G'
9741
shared_flag='${wl}-bM:SRE'
9746
export_dynamic_flag_spec='${wl}-bexpall'
9747
# It seems that -bexpall does not export symbols beginning with
9748
# underscore (_), so it is better to generate a list of symbols to export.
9749
always_export_symbols=yes
9750
if test "$aix_use_runtimelinking" = yes; then
9751
# Warning - without using the other runtime loading flags (-brtl),
9752
# -berok will link without error, but may produce a broken library.
9753
allow_undefined_flag='-berok'
9754
# Determine the default libpath from the value encoded in an
9756
if test "${lt_cv_aix_libpath+set}" = set; then
9757
aix_libpath=$lt_cv_aix_libpath
9759
if test "${lt_cv_aix_libpath_+set}" = set; then :
9760
$as_echo_n "(cached) " >&6
9762
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9763
/* end confdefs.h. */
9773
if ac_fn_c_try_link "$LINENO"; then :
9775
lt_aix_libpath_sed='
9776
/Import File Strings/,/^$/ {
9778
s/^0 *\([^ ]*\) *$/\1/
9782
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9783
# Check for a 64-bit object if we didn't find anything.
9784
if test -z "$lt_cv_aix_libpath_"; then
9785
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9788
rm -f core conftest.err conftest.$ac_objext \
9789
conftest$ac_exeext conftest.$ac_ext
9790
if test -z "$lt_cv_aix_libpath_"; then
9791
lt_cv_aix_libpath_="/usr/lib:/lib"
9796
aix_libpath=$lt_cv_aix_libpath_
9799
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9800
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"
9802
if test "$host_cpu" = ia64; then
9803
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9804
allow_undefined_flag="-z nodefs"
9805
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"
9807
# Determine the default libpath from the value encoded in an
9809
if test "${lt_cv_aix_libpath+set}" = set; then
9810
aix_libpath=$lt_cv_aix_libpath
9812
if test "${lt_cv_aix_libpath_+set}" = set; then :
9813
$as_echo_n "(cached) " >&6
9815
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9816
/* end confdefs.h. */
9826
if ac_fn_c_try_link "$LINENO"; then :
9828
lt_aix_libpath_sed='
9829
/Import File Strings/,/^$/ {
9831
s/^0 *\([^ ]*\) *$/\1/
9835
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9836
# Check for a 64-bit object if we didn't find anything.
9837
if test -z "$lt_cv_aix_libpath_"; then
9838
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9841
rm -f core conftest.err conftest.$ac_objext \
9842
conftest$ac_exeext conftest.$ac_ext
9843
if test -z "$lt_cv_aix_libpath_"; then
9844
lt_cv_aix_libpath_="/usr/lib:/lib"
9849
aix_libpath=$lt_cv_aix_libpath_
9852
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9853
# Warning - without using the other run time loading flags,
9854
# -berok will link without error, but may produce a broken library.
9855
no_undefined_flag=' ${wl}-bernotok'
9856
allow_undefined_flag=' ${wl}-berok'
9857
if test "$with_gnu_ld" = yes; then
9858
# We only use this code for GNU lds that support --whole-archive.
9859
whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9861
# Exported symbols can be pulled into shared objects from archives
9862
whole_archive_flag_spec='$convenience'
9864
archive_cmds_need_lc=yes
9865
# This is similar to how AIX traditionally builds its shared libraries.
9866
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'
9874
# see comment about AmigaOS4 .so support
9875
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9876
archive_expsym_cmds=''
9879
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)'
9880
hardcode_libdir_flag_spec='-L$libdir'
9881
hardcode_minus_L=yes
9887
export_dynamic_flag_spec=-rdynamic
9890
cygwin* | mingw* | pw32* | cegcc*)
9891
# When not using gcc, we currently assume that we are using
9892
# Microsoft Visual C++.
9893
# hardcode_libdir_flag_spec is actually meaningless, as there is
9894
# no search path for DLLs.
9895
case $cc_basename in
9898
hardcode_libdir_flag_spec=' '
9899
allow_undefined_flag=unsupported
9900
always_export_symbols=yes
9902
# Tell ltmain to make .lib files, not .a files.
9904
# Tell ltmain to make .dll files, not .so files.
9906
# FIXME: Setting linknames here is a bad hack.
9907
archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9908
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9909
sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9911
sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9913
$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9915
# The linker will not automatically build a static lib if we build a DLL.
9916
# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9917
enable_shared_with_static_runtimes=yes
9918
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9920
old_postinstall_cmds='chmod 644 $oldlib'
9921
postlink_cmds='lt_outputfile="@OUTPUT@"~
9922
lt_tool_outputfile="@TOOL_OUTPUT@"~
9923
case $lt_outputfile in
9926
lt_outputfile="$lt_outputfile.exe"
9927
lt_tool_outputfile="$lt_tool_outputfile.exe"
9930
if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9931
$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9932
$RM "$lt_outputfile.manifest";
9936
# Assume MSVC wrapper
9937
hardcode_libdir_flag_spec=' '
9938
allow_undefined_flag=unsupported
9939
# Tell ltmain to make .lib files, not .a files.
9941
# Tell ltmain to make .dll files, not .so files.
9943
# FIXME: Setting linknames here is a bad hack.
9944
archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9945
# The linker will automatically build a .lib file if we build a DLL.
9946
old_archive_from_new_cmds='true'
9947
# FIXME: Should let the user specify the lib program.
9948
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9949
enable_shared_with_static_runtimes=yes
9954
darwin* | rhapsody*)
9957
archive_cmds_need_lc=no
9959
hardcode_automatic=yes
9960
hardcode_shlibpath_var=unsupported
9961
if test "$lt_cv_ld_force_load" = "yes"; then
9962
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\"`'
9964
whole_archive_flag_spec=''
9966
link_all_deplibs=yes
9967
allow_undefined_flag="$_lt_dar_allow_undefined"
9968
case $cc_basename in
9969
ifort*) _lt_dar_can_shared=yes ;;
9970
*) _lt_dar_can_shared=$GCC ;;
9972
if test "$_lt_dar_can_shared" = "yes"; then
9973
output_verbose_link_cmd=func_echo_all
9974
archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9975
module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9976
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}"
9977
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}"
9986
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9987
hardcode_libdir_flag_spec='-L$libdir'
9988
hardcode_shlibpath_var=no
9995
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9996
# support. Future versions do this automatically, but an explicit c++rt0.o
9997
# does not break anything, and helps significantly (at the cost of a little
10000
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10001
hardcode_libdir_flag_spec='-R$libdir'
10002
hardcode_direct=yes
10003
hardcode_shlibpath_var=no
10006
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
10008
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10009
hardcode_direct=yes
10010
hardcode_minus_L=yes
10011
hardcode_shlibpath_var=no
10014
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10015
freebsd* | dragonfly*)
10016
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10017
hardcode_libdir_flag_spec='-R$libdir'
10018
hardcode_direct=yes
10019
hardcode_shlibpath_var=no
10023
if test "$GCC" = yes; then
10024
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'
10026
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'
10028
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10029
hardcode_libdir_separator=:
10030
hardcode_direct=yes
10032
# hardcode_minus_L: Not really in the search PATH,
10033
# but as the default location of the library.
10034
hardcode_minus_L=yes
10035
export_dynamic_flag_spec='${wl}-E'
10039
if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10040
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10042
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10044
if test "$with_gnu_ld" = no; then
10045
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10046
hardcode_libdir_flag_spec_ld='+b $libdir'
10047
hardcode_libdir_separator=:
10048
hardcode_direct=yes
10049
hardcode_direct_absolute=yes
10050
export_dynamic_flag_spec='${wl}-E'
10051
# hardcode_minus_L: Not really in the search PATH,
10052
# but as the default location of the library.
10053
hardcode_minus_L=yes
10058
if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10061
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10064
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10067
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10073
archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10076
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10080
# Older versions of the 11.00 compiler do not understand -b yet
10081
# (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10082
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10083
$as_echo_n "checking if $CC understands -b... " >&6; }
10084
if test "${lt_cv_prog_compiler__b+set}" = set; then :
10085
$as_echo_n "(cached) " >&6
10087
lt_cv_prog_compiler__b=no
10088
save_LDFLAGS="$LDFLAGS"
10089
LDFLAGS="$LDFLAGS -b"
10090
echo "$lt_simple_link_test_code" > conftest.$ac_ext
10091
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10092
# The linker can only warn and ignore the option if not recognized
10093
# So say no if there are warnings
10094
if test -s conftest.err; then
10095
# Append any errors to the config.log.
10096
cat conftest.err 1>&5
10097
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10098
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10099
if diff conftest.exp conftest.er2 >/dev/null; then
10100
lt_cv_prog_compiler__b=yes
10103
lt_cv_prog_compiler__b=yes
10107
LDFLAGS="$save_LDFLAGS"
10110
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10111
$as_echo "$lt_cv_prog_compiler__b" >&6; }
10113
if test x"$lt_cv_prog_compiler__b" = xyes; then
10114
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10116
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10122
if test "$with_gnu_ld" = no; then
10123
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10124
hardcode_libdir_separator=:
10129
hardcode_shlibpath_var=no
10132
hardcode_direct=yes
10133
hardcode_direct_absolute=yes
10134
export_dynamic_flag_spec='${wl}-E'
10136
# hardcode_minus_L: Not really in the search PATH,
10137
# but as the default location of the library.
10138
hardcode_minus_L=yes
10144
irix5* | irix6* | nonstopux*)
10145
if test "$GCC" = yes; then
10146
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'
10147
# Try to use the -exported_symbol ld option, if it does not
10148
# work, assume that -exports_file does not work either and
10149
# implicitly export all symbols.
10150
# This should be the same for all languages, so no per-tag cache variable.
10151
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10152
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10153
if test "${lt_cv_irix_exported_symbol+set}" = set; then :
10154
$as_echo_n "(cached) " >&6
10156
save_LDFLAGS="$LDFLAGS"
10157
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10158
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10159
/* end confdefs.h. */
10160
int foo (void) { return 0; }
10162
if ac_fn_c_try_link "$LINENO"; then :
10163
lt_cv_irix_exported_symbol=yes
10165
lt_cv_irix_exported_symbol=no
10167
rm -f core conftest.err conftest.$ac_objext \
10168
conftest$ac_exeext conftest.$ac_ext
10169
LDFLAGS="$save_LDFLAGS"
10171
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10172
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
10173
if test "$lt_cv_irix_exported_symbol" = yes; then
10174
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'
10177
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'
10178
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'
10180
archive_cmds_need_lc='no'
10181
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10182
hardcode_libdir_separator=:
10184
link_all_deplibs=yes
10187
netbsd* | netbsdelf*-gnu)
10188
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10189
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10191
archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10193
hardcode_libdir_flag_spec='-R$libdir'
10194
hardcode_direct=yes
10195
hardcode_shlibpath_var=no
10199
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10200
hardcode_direct=yes
10201
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10202
hardcode_libdir_separator=:
10203
hardcode_shlibpath_var=no
10210
if test -f /usr/libexec/ld.so; then
10211
hardcode_direct=yes
10212
hardcode_shlibpath_var=no
10213
hardcode_direct_absolute=yes
10214
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10215
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10216
archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10217
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10218
export_dynamic_flag_spec='${wl}-E'
10221
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10222
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10223
hardcode_libdir_flag_spec='-R$libdir'
10226
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10227
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10237
hardcode_libdir_flag_spec='-L$libdir'
10238
hardcode_minus_L=yes
10239
allow_undefined_flag=unsupported
10240
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'
10241
old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10245
if test "$GCC" = yes; then
10246
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10247
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'
10249
allow_undefined_flag=' -expect_unresolved \*'
10250
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'
10252
archive_cmds_need_lc='no'
10253
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10254
hardcode_libdir_separator=:
10257
osf4* | osf5*) # as osf3* with the addition of -msym flag
10258
if test "$GCC" = yes; then
10259
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10260
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'
10261
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10263
allow_undefined_flag=' -expect_unresolved \*'
10264
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'
10265
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~
10266
$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'
10268
# Both c and cxx compiler support -rpath directly
10269
hardcode_libdir_flag_spec='-rpath $libdir'
10271
archive_cmds_need_lc='no'
10272
hardcode_libdir_separator=:
10276
no_undefined_flag=' -z defs'
10277
if test "$GCC" = yes; then
10279
archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10280
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10281
$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'
10283
case `$CC -V 2>&1` in
10286
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10287
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10288
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10292
archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10293
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10294
$CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10298
hardcode_libdir_flag_spec='-R$libdir'
10299
hardcode_shlibpath_var=no
10301
solaris2.[0-5] | solaris2.[0-5].*) ;;
10303
# The compiler driver will combine and reorder linker options,
10304
# but understands `-z linker_flag'. GCC discards it without `$wl',
10305
# but is careful enough not to reorder.
10306
# Supported since Solaris 2.6 (maybe 2.5.1?)
10307
if test "$GCC" = yes; then
10308
whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10310
whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10314
link_all_deplibs=yes
10318
if test "x$host_vendor" = xsequent; then
10319
# Use $CC to link under sequent, because it throws in some extra .o
10320
# files that make .init and .fini sections work.
10321
archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10323
archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10325
hardcode_libdir_flag_spec='-L$libdir'
10326
hardcode_direct=yes
10327
hardcode_minus_L=yes
10328
hardcode_shlibpath_var=no
10332
case $host_vendor in
10334
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10335
hardcode_direct=yes # is this really true???
10338
## LD is ld it makes a PLAMLIB
10339
## CC just makes a GrossModule.
10340
archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10341
reload_cmds='$CC -r -o $output$reload_objs'
10345
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10346
hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10349
runpath_var='LD_RUN_PATH'
10350
hardcode_shlibpath_var=no
10354
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10355
hardcode_shlibpath_var=no
10356
export_dynamic_flag_spec='-Bexport'
10360
if test -d /usr/nec; then
10361
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10362
hardcode_shlibpath_var=no
10363
runpath_var=LD_RUN_PATH
10364
hardcode_runpath_var=yes
10369
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10370
no_undefined_flag='${wl}-z,text'
10371
archive_cmds_need_lc=no
10372
hardcode_shlibpath_var=no
10373
runpath_var='LD_RUN_PATH'
10375
if test "$GCC" = yes; then
10376
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10377
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10379
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10380
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10384
sysv5* | sco3.2v5* | sco5v6*)
10385
# Note: We can NOT use -z defs as we might desire, because we do not
10386
# link with -lc, and that would cause any symbols used from libc to
10387
# always be unresolved, which means just about no library would
10388
# ever link correctly. If we're not using GNU ld we use -z text
10389
# though, which does catch some bad symbols but isn't as heavy-handed
10391
no_undefined_flag='${wl}-z,text'
10392
allow_undefined_flag='${wl}-z,nodefs'
10393
archive_cmds_need_lc=no
10394
hardcode_shlibpath_var=no
10395
hardcode_libdir_flag_spec='${wl}-R,$libdir'
10396
hardcode_libdir_separator=':'
10397
link_all_deplibs=yes
10398
export_dynamic_flag_spec='${wl}-Bexport'
10399
runpath_var='LD_RUN_PATH'
10401
if test "$GCC" = yes; then
10402
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10403
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10405
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10406
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10411
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10412
hardcode_libdir_flag_spec='-L$libdir'
10413
hardcode_shlibpath_var=no
10421
if test x$host_vendor = xsni; then
10423
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10424
export_dynamic_flag_spec='${wl}-Blargedynsym'
10430
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10431
$as_echo "$ld_shlibs" >&6; }
10432
test "$ld_shlibs" = no && can_build_shared=no
10434
with_gnu_ld=$with_gnu_ld
10451
# Do we need to explicitly link libc?
10453
case "x$archive_cmds_need_lc" in
10455
# Assume -lc should be added
10456
archive_cmds_need_lc=yes
10458
if test "$enable_shared" = yes && test "$GCC" = yes; then
10459
case $archive_cmds in
10461
# FIXME: we may have to deal with multi-command sequences.
10464
# Test whether the compiler implicitly links with -lc since on some
10465
# systems, -lgcc has to come before -lc. If gcc already passes -lc
10466
# to ld, don't add -lc before -lgcc.
10467
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10468
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10469
if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10470
$as_echo_n "(cached) " >&6
10473
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10475
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10476
(eval $ac_compile) 2>&5
10478
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10479
test $ac_status = 0; } 2>conftest.err; then
10482
libobjs=conftest.$ac_objext
10484
wl=$lt_prog_compiler_wl
10485
pic_flag=$lt_prog_compiler_pic
10491
lt_save_allow_undefined_flag=$allow_undefined_flag
10492
allow_undefined_flag=
10493
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10494
(eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10496
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10497
test $ac_status = 0; }
10499
lt_cv_archive_cmds_need_lc=no
10501
lt_cv_archive_cmds_need_lc=yes
10503
allow_undefined_flag=$lt_save_allow_undefined_flag
10505
cat conftest.err 1>&5
10510
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10511
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10512
archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10675
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10676
$as_echo_n "checking dynamic linker characteristics... " >&6; }
10678
if test "$GCC" = yes; then
10680
darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10681
*) lt_awk_arg="/^libraries:/" ;;
10684
mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10685
*) lt_sed_strip_eq="s,=/,/,g" ;;
10687
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10688
case $lt_search_path_spec in
10690
# if the path contains ";" then we assume it to be the separator
10691
# otherwise default to the standard path separator (i.e. ":") - it is
10692
# assumed that no part of a normal pathname contains ";" but that should
10693
# okay in the real world where ";" in dirpaths is itself problematic.
10694
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10697
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10700
# Ok, now we have the path, separated by spaces, we can step through it
10701
# and add multilib dir if necessary.
10702
lt_tmp_lt_search_path_spec=
10703
lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10704
for lt_sys_path in $lt_search_path_spec; do
10705
if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10706
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10708
test -d "$lt_sys_path" && \
10709
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10712
lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10713
BEGIN {RS=" "; FS="/|\n";} {
10716
for (lt_i = NF; lt_i > 0; lt_i--) {
10717
if ($lt_i != "" && $lt_i != ".") {
10718
if ($lt_i == "..") {
10721
if (lt_count == 0) {
10722
lt_foo="/" $lt_i lt_foo;
10729
if (lt_foo != "") { lt_freq[lt_foo]++; }
10730
if (lt_freq[lt_foo] == 1) { print lt_foo; }
10732
# AWK program above erroneously prepends '/' to C:/dos/paths
10735
mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10736
$SED 's,/\([A-Za-z]:\),\1,g'` ;;
10738
sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10740
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10742
library_names_spec=
10743
libname_spec='lib$name'
10747
postuninstall_cmds=
10751
shlibpath_overrides_runpath=unknown
10753
dynamic_linker="$host_os ld.so"
10754
sys_lib_dlsearch_path_spec="/lib /usr/lib"
10755
need_lib_prefix=unknown
10756
hardcode_into_libs=no
10758
# when you set need_version to no, make sure it does not cause -set_version
10759
# flags to be left without arguments
10760
need_version=unknown
10765
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10766
shlibpath_var=LIBPATH
10768
# AIX 3 has no versioning support, so we append a major version to the name.
10769
soname_spec='${libname}${release}${shared_ext}$major'
10776
hardcode_into_libs=yes
10777
if test "$host_cpu" = ia64; then
10778
# AIX 5 supports IA64
10779
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10780
shlibpath_var=LD_LIBRARY_PATH
10782
# With GCC up to 2.95.x, collect2 would create an import file
10783
# for dependence libraries. The import file would start with
10784
# the line `#! .'. This would cause the generated library to
10785
# depend on `.', always an invalid library. This was fixed in
10786
# development snapshots of GCC prior to 3.0.
10788
aix4 | aix4.[01] | aix4.[01].*)
10789
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10791
echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10794
can_build_shared=no
10798
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10799
# soname into executable. Probably we can add versioning support to
10800
# collect2, so additional links can be useful in future.
10801
if test "$aix_use_runtimelinking" = yes; then
10802
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
10803
# instead of lib<name>.a to let people know that these are not
10804
# typical AIX shared libraries.
10805
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10807
# We preserve .a as extension for shared libraries through AIX4.2
10808
# and later when we are not doing run time linking.
10809
library_names_spec='${libname}${release}.a $libname.a'
10810
soname_spec='${libname}${release}${shared_ext}$major'
10812
shlibpath_var=LIBPATH
10819
# Since July 2007 AmigaOS4 officially supports .so libraries.
10820
# When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10821
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10824
library_names_spec='$libname.ixlibrary $libname.a'
10825
# Create ${libname}_ixlibrary.a entries in /sys/libs.
10826
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'
10832
library_names_spec='${libname}${shared_ext}'
10833
dynamic_linker="$host_os ld.so"
10834
shlibpath_var=LIBRARY_PATH
10840
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10841
soname_spec='${libname}${release}${shared_ext}$major'
10842
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10843
shlibpath_var=LD_LIBRARY_PATH
10844
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10845
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10846
# the default ld.so.conf also contains /usr/contrib/lib and
10847
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10848
# libtool to hard-code these into programs
10851
cygwin* | mingw* | pw32* | cegcc*)
10852
version_type=windows
10857
case $GCC,$cc_basename in
10860
library_names_spec='$libname.dll.a'
10861
# DLL is installed to $(libdir)/../bin by postinstall_cmds
10862
postinstall_cmds='base_file=`basename \${file}`~
10863
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10864
dldir=$destdir/`dirname \$dlpath`~
10865
test -d \$dldir || mkdir -p \$dldir~
10866
$install_prog $dir/$dlname \$dldir/$dlname~
10867
chmod a+x \$dldir/$dlname~
10868
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10869
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10871
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10872
dlpath=$dir/\$dldll~
10874
shlibpath_overrides_runpath=yes
10878
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
10879
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10881
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10884
# MinGW DLLs use traditional 'lib' prefix
10885
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10888
# pw32 DLLs use 'pw' prefix rather than 'lib'
10889
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10892
dynamic_linker='Win32 ld.exe'
10897
libname_spec='$name'
10898
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10899
library_names_spec='${libname}.dll.lib'
10903
sys_lib_search_path_spec=
10906
for lt_path in $LIB
10909
# Let DOS variable expansion print the short 8.3 style file name.
10910
lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10911
sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10914
# Convert to MSYS style.
10915
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10918
# Convert to unix form, then to dos form, then back to unix form
10919
# but this time dos style (no spaces!) so that the unix form looks
10920
# like /cygdrive/c/PROGRA~1:/cygdr...
10921
sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10922
sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10923
sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10926
sys_lib_search_path_spec="$LIB"
10927
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10928
# It is most probably a Windows format PATH.
10929
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10931
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10933
# FIXME: find the short name or the path components, as spaces are
10934
# common. (e.g. "Program Files" -> "PROGRA~1")
10938
# DLL is installed to $(libdir)/../bin by postinstall_cmds
10939
postinstall_cmds='base_file=`basename \${file}`~
10940
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10941
dldir=$destdir/`dirname \$dlpath`~
10942
test -d \$dldir || mkdir -p \$dldir~
10943
$install_prog $dir/$dlname \$dldir/$dlname'
10944
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10945
dlpath=$dir/\$dldll~
10947
shlibpath_overrides_runpath=yes
10948
dynamic_linker='Win32 link.exe'
10952
# Assume MSVC wrapper
10953
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10954
dynamic_linker='Win32 ld.exe'
10957
# FIXME: first we should search . and the directory the executable is in
10961
darwin* | rhapsody*)
10962
dynamic_linker="$host_os dyld"
10963
version_type=darwin
10966
library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10967
soname_spec='${libname}${release}${major}$shared_ext'
10968
shlibpath_overrides_runpath=yes
10969
shlibpath_var=DYLD_LIBRARY_PATH
10970
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10972
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10973
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10980
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10981
soname_spec='${libname}${release}${shared_ext}$major'
10982
shlibpath_var=LD_LIBRARY_PATH
10989
freebsd* | dragonfly*)
10990
# DragonFly does not have aout. When/if they implement a new
10991
# versioning mechanism, adjust this.
10992
if test -x /usr/bin/objformat; then
10993
objformat=`/usr/bin/objformat`
10996
freebsd[123]*) objformat=aout ;;
10997
*) objformat=elf ;;
11000
version_type=freebsd-$objformat
11001
case $version_type in
11003
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11008
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11012
shlibpath_var=LD_LIBRARY_PATH
11015
shlibpath_overrides_runpath=yes
11017
freebsd3.[01]* | freebsdelf3.[01]*)
11018
shlibpath_overrides_runpath=yes
11019
hardcode_into_libs=yes
11021
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11022
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11023
shlibpath_overrides_runpath=no
11024
hardcode_into_libs=yes
11026
*) # from 4.6 on, and DragonFly
11027
shlibpath_overrides_runpath=yes
11028
hardcode_into_libs=yes
11037
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11038
soname_spec='${libname}${release}${shared_ext}$major'
11039
shlibpath_var=LD_LIBRARY_PATH
11040
shlibpath_overrides_runpath=no
11041
hardcode_into_libs=yes
11048
dynamic_linker="$host_os runtime_loader"
11049
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11050
soname_spec='${libname}${release}${shared_ext}$major'
11051
shlibpath_var=LIBRARY_PATH
11052
shlibpath_overrides_runpath=yes
11053
sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11054
hardcode_into_libs=yes
11057
hpux9* | hpux10* | hpux11*)
11058
# Give a soname corresponding to the major version so that dld.sl refuses to
11059
# link against other versions.
11066
hardcode_into_libs=yes
11067
dynamic_linker="$host_os dld.so"
11068
shlibpath_var=LD_LIBRARY_PATH
11069
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11070
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11071
soname_spec='${libname}${release}${shared_ext}$major'
11072
if test "X$HPUX_IA64_MODE" = X32; then
11073
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11075
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11077
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11081
hardcode_into_libs=yes
11082
dynamic_linker="$host_os dld.sl"
11083
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11084
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11085
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11086
soname_spec='${libname}${release}${shared_ext}$major'
11087
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11088
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11092
dynamic_linker="$host_os dld.sl"
11093
shlibpath_var=SHLIB_PATH
11094
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11095
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11096
soname_spec='${libname}${release}${shared_ext}$major'
11099
# HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11100
postinstall_cmds='chmod 555 $lib'
11101
# or fails outright, so override atomically:
11102
install_override_mode=555
11109
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11110
soname_spec='${libname}${release}${shared_ext}$major'
11111
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11112
shlibpath_var=LD_LIBRARY_PATH
11113
shlibpath_overrides_runpath=no
11114
hardcode_into_libs=yes
11117
irix5* | irix6* | nonstopux*)
11119
nonstopux*) version_type=nonstopux ;;
11121
if test "$lt_cv_prog_gnu_ld" = yes; then
11129
soname_spec='${libname}${release}${shared_ext}$major'
11130
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11132
irix5* | nonstopux*)
11133
libsuff= shlibsuff=
11136
case $LD in # libtool.m4 will add one of these switches to LD
11137
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11138
libsuff= shlibsuff= libmagic=32-bit;;
11139
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11140
libsuff=32 shlibsuff=N32 libmagic=N32;;
11141
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11142
libsuff=64 shlibsuff=64 libmagic=64-bit;;
11143
*) libsuff= shlibsuff= libmagic=never-match;;
11147
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11148
shlibpath_overrides_runpath=no
11149
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11150
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11151
hardcode_into_libs=yes
11154
# No shared lib support for Linux oldld, aout, or coff.
11155
linux*oldld* | linux*aout* | linux*coff*)
11159
# This must be Linux ELF.
11160
linux* | k*bsd*-gnu | kopensolaris*-gnu)
11164
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11165
soname_spec='${libname}${release}${shared_ext}$major'
11166
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11167
shlibpath_var=LD_LIBRARY_PATH
11168
shlibpath_overrides_runpath=no
11170
# Some binutils ld are patched to set DT_RUNPATH
11171
if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
11172
$as_echo_n "(cached) " >&6
11174
lt_cv_shlibpath_overrides_runpath=no
11175
save_LDFLAGS=$LDFLAGS
11176
save_libdir=$libdir
11177
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11178
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11179
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11180
/* end confdefs.h. */
11190
if ac_fn_c_try_link "$LINENO"; then :
11191
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11192
lt_cv_shlibpath_overrides_runpath=yes
11195
rm -f core conftest.err conftest.$ac_objext \
11196
conftest$ac_exeext conftest.$ac_ext
11197
LDFLAGS=$save_LDFLAGS
11198
libdir=$save_libdir
11202
shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11204
# This implies no fast_install, which is unacceptable.
11205
# Some rework will be needed to allow for fast_install
11206
# before this can be enabled.
11207
hardcode_into_libs=yes
11209
# Append ld.so.conf contents to the search path
11210
if test -f /etc/ld.so.conf; then
11211
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' ' '`
11212
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11215
# We used to test for /lib/ld.so.1 and disable shared libraries on
11216
# powerpc, because MkLinux only supported shared libraries with the
11217
# GNU dynamic linker. Since this was broken with cross compilers,
11218
# most powerpc-linux boxes support dynamic linking these days and
11219
# people can always --disable-shared, the test was removed, and we
11220
# assume the GNU/Linux dynamic linker is in use.
11221
dynamic_linker='GNU/Linux ld.so'
11228
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11229
soname_spec='${libname}${release}${shared_ext}$major'
11230
shlibpath_var=LD_LIBRARY_PATH
11231
shlibpath_overrides_runpath=no
11232
hardcode_into_libs=yes
11233
dynamic_linker='NetBSD ld.elf_so'
11240
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11241
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11242
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11243
dynamic_linker='NetBSD (a.out) ld.so'
11245
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11246
soname_spec='${libname}${release}${shared_ext}$major'
11247
dynamic_linker='NetBSD ld.elf_so'
11249
shlibpath_var=LD_LIBRARY_PATH
11250
shlibpath_overrides_runpath=yes
11251
hardcode_into_libs=yes
11256
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11257
shlibpath_var=LD_LIBRARY_PATH
11258
shlibpath_overrides_runpath=yes
11265
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11266
soname_spec='${libname}${release}${shared_ext}$major'
11267
shlibpath_var=LD_LIBRARY_PATH
11268
shlibpath_overrides_runpath=no
11269
hardcode_into_libs=yes
11270
dynamic_linker='ldqnx.so'
11275
sys_lib_dlsearch_path_spec="/usr/lib"
11277
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11279
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11280
*) need_version=no ;;
11282
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11283
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11284
shlibpath_var=LD_LIBRARY_PATH
11285
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11287
openbsd2.[89] | openbsd2.[89].*)
11288
shlibpath_overrides_runpath=no
11291
shlibpath_overrides_runpath=yes
11295
shlibpath_overrides_runpath=yes
11300
libname_spec='$name'
11303
library_names_spec='$libname${shared_ext} $libname.a'
11304
dynamic_linker='OS/2 ld.exe'
11305
shlibpath_var=LIBPATH
11308
osf3* | osf4* | osf5*)
11312
soname_spec='${libname}${release}${shared_ext}$major'
11313
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11314
shlibpath_var=LD_LIBRARY_PATH
11315
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11316
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11327
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11328
soname_spec='${libname}${release}${shared_ext}$major'
11329
shlibpath_var=LD_LIBRARY_PATH
11330
shlibpath_overrides_runpath=yes
11331
hardcode_into_libs=yes
11332
# ldd complains unless libraries are executable
11333
postinstall_cmds='chmod +x $lib'
11338
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11339
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11340
shlibpath_var=LD_LIBRARY_PATH
11341
shlibpath_overrides_runpath=yes
11342
if test "$with_gnu_ld" = yes; then
11350
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11351
soname_spec='${libname}${release}${shared_ext}$major'
11352
shlibpath_var=LD_LIBRARY_PATH
11353
case $host_vendor in
11355
shlibpath_overrides_runpath=no
11357
runpath_var=LD_RUN_PATH
11365
shlibpath_overrides_runpath=no
11366
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11372
if test -d /usr/nec ;then
11374
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11375
soname_spec='$libname${shared_ext}.$major'
11376
shlibpath_var=LD_LIBRARY_PATH
11380
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11381
version_type=freebsd-elf
11384
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11385
soname_spec='${libname}${release}${shared_ext}$major'
11386
shlibpath_var=LD_LIBRARY_PATH
11387
shlibpath_overrides_runpath=yes
11388
hardcode_into_libs=yes
11389
if test "$with_gnu_ld" = yes; then
11390
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11392
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11395
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11399
sys_lib_dlsearch_path_spec='/usr/lib'
11403
# TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11407
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11408
shlibpath_var=LD_LIBRARY_PATH
11409
shlibpath_overrides_runpath=no
11410
hardcode_into_libs=yes
11415
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11416
soname_spec='${libname}${release}${shared_ext}$major'
11417
shlibpath_var=LD_LIBRARY_PATH
11424
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11425
$as_echo "$dynamic_linker" >&6; }
11426
test "$dynamic_linker" = no && can_build_shared=no
11428
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11429
if test "$GCC" = yes; then
11430
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11433
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11434
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11436
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11437
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11531
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11532
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11534
if test -n "$hardcode_libdir_flag_spec" ||
11535
test -n "$runpath_var" ||
11536
test "X$hardcode_automatic" = "Xyes" ; then
11538
# We can hardcode non-existent directories.
11539
if test "$hardcode_direct" != no &&
11540
# If the only mechanism to avoid hardcoding is shlibpath_var, we
11541
# have to relink, otherwise we might link with an installed library
11542
# when we should be linking with a yet-to-be-installed one
11543
## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11544
test "$hardcode_minus_L" != no; then
11545
# Linking always hardcodes the temporary library directory.
11546
hardcode_action=relink
11548
# We can link without hardcoding, and we can hardcode nonexisting dirs.
11549
hardcode_action=immediate
11552
# We cannot hardcode anything, or else we can only hardcode existing
11554
hardcode_action=unsupported
11556
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11557
$as_echo "$hardcode_action" >&6; }
11559
if test "$hardcode_action" = relink ||
11560
test "$inherit_rpath" = yes; then
11561
# Fast installation is not supported
11562
enable_fast_install=no
11563
elif test "$shlibpath_overrides_runpath" = yes ||
11564
test "$enable_shared" = no; then
11565
# Fast installation is not necessary
11566
enable_fast_install=needless
11574
if test "x$enable_dlopen" != xyes; then
11575
enable_dlopen=unknown
11576
enable_dlopen_self=unknown
11577
enable_dlopen_self_static=unknown
11584
lt_cv_dlopen="load_add_on"
11586
lt_cv_dlopen_self=yes
11589
mingw* | pw32* | cegcc*)
11590
lt_cv_dlopen="LoadLibrary"
11595
lt_cv_dlopen="dlopen"
11600
# if libdl is installed we need to link against it
11601
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11602
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11603
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11604
$as_echo_n "(cached) " >&6
11606
ac_check_lib_save_LIBS=$LIBS
11608
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11609
/* end confdefs.h. */
11611
/* Override any GCC internal prototype to avoid an error.
11612
Use char because int might match the return type of a GCC
11613
builtin and then its argument prototype would still apply. */
11626
if ac_fn_c_try_link "$LINENO"; then :
11627
ac_cv_lib_dl_dlopen=yes
11629
ac_cv_lib_dl_dlopen=no
11631
rm -f core conftest.err conftest.$ac_objext \
11632
conftest$ac_exeext conftest.$ac_ext
11633
LIBS=$ac_check_lib_save_LIBS
11635
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11636
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11637
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11638
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11641
lt_cv_dlopen="dyld"
11643
lt_cv_dlopen_self=yes
11650
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11651
if test "x$ac_cv_func_shl_load" = x""yes; then :
11652
lt_cv_dlopen="shl_load"
11654
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11655
$as_echo_n "checking for shl_load in -ldld... " >&6; }
11656
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11657
$as_echo_n "(cached) " >&6
11659
ac_check_lib_save_LIBS=$LIBS
11661
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11662
/* end confdefs.h. */
11664
/* Override any GCC internal prototype to avoid an error.
11665
Use char because int might match the return type of a GCC
11666
builtin and then its argument prototype would still apply. */
11674
return shl_load ();
11679
if ac_fn_c_try_link "$LINENO"; then :
11680
ac_cv_lib_dld_shl_load=yes
11682
ac_cv_lib_dld_shl_load=no
11684
rm -f core conftest.err conftest.$ac_objext \
11685
conftest$ac_exeext conftest.$ac_ext
11686
LIBS=$ac_check_lib_save_LIBS
11688
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11689
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11690
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11691
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11693
ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11694
if test "x$ac_cv_func_dlopen" = x""yes; then :
11695
lt_cv_dlopen="dlopen"
11697
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11698
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11699
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11700
$as_echo_n "(cached) " >&6
11702
ac_check_lib_save_LIBS=$LIBS
11704
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11705
/* end confdefs.h. */
11707
/* Override any GCC internal prototype to avoid an error.
11708
Use char because int might match the return type of a GCC
11709
builtin and then its argument prototype would still apply. */
11722
if ac_fn_c_try_link "$LINENO"; then :
11723
ac_cv_lib_dl_dlopen=yes
11725
ac_cv_lib_dl_dlopen=no
11727
rm -f core conftest.err conftest.$ac_objext \
11728
conftest$ac_exeext conftest.$ac_ext
11729
LIBS=$ac_check_lib_save_LIBS
11731
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11732
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11733
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11734
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11736
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11737
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11738
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11739
$as_echo_n "(cached) " >&6
11741
ac_check_lib_save_LIBS=$LIBS
11742
LIBS="-lsvld $LIBS"
11743
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11744
/* end confdefs.h. */
11746
/* Override any GCC internal prototype to avoid an error.
11747
Use char because int might match the return type of a GCC
11748
builtin and then its argument prototype would still apply. */
11761
if ac_fn_c_try_link "$LINENO"; then :
11762
ac_cv_lib_svld_dlopen=yes
11764
ac_cv_lib_svld_dlopen=no
11766
rm -f core conftest.err conftest.$ac_objext \
11767
conftest$ac_exeext conftest.$ac_ext
11768
LIBS=$ac_check_lib_save_LIBS
11770
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11771
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11772
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11773
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11775
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11776
$as_echo_n "checking for dld_link in -ldld... " >&6; }
11777
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11778
$as_echo_n "(cached) " >&6
11780
ac_check_lib_save_LIBS=$LIBS
11782
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11783
/* end confdefs.h. */
11785
/* Override any GCC internal prototype to avoid an error.
11786
Use char because int might match the return type of a GCC
11787
builtin and then its argument prototype would still apply. */
11795
return dld_link ();
11800
if ac_fn_c_try_link "$LINENO"; then :
11801
ac_cv_lib_dld_dld_link=yes
11803
ac_cv_lib_dld_dld_link=no
11805
rm -f core conftest.err conftest.$ac_objext \
11806
conftest$ac_exeext conftest.$ac_ext
11807
LIBS=$ac_check_lib_save_LIBS
11809
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11810
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11811
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11812
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11833
if test "x$lt_cv_dlopen" != xno; then
11839
case $lt_cv_dlopen in
11841
save_CPPFLAGS="$CPPFLAGS"
11842
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11844
save_LDFLAGS="$LDFLAGS"
11845
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11848
LIBS="$lt_cv_dlopen_libs $LIBS"
11850
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11851
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11852
if test "${lt_cv_dlopen_self+set}" = set; then :
11853
$as_echo_n "(cached) " >&6
11855
if test "$cross_compiling" = yes; then :
11856
lt_cv_dlopen_self=cross
11858
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11859
lt_status=$lt_dlunknown
11860
cat > conftest.$ac_ext <<_LT_EOF
11861
#line $LINENO "configure"
11862
#include "confdefs.h"
11871
# define LT_DLGLOBAL RTLD_GLOBAL
11874
# define LT_DLGLOBAL DL_GLOBAL
11876
# define LT_DLGLOBAL 0
11880
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11881
find out it does not work in some platform. */
11882
#ifndef LT_DLLAZY_OR_NOW
11884
# define LT_DLLAZY_OR_NOW RTLD_LAZY
11887
# define LT_DLLAZY_OR_NOW DL_LAZY
11890
# define LT_DLLAZY_OR_NOW RTLD_NOW
11893
# define LT_DLLAZY_OR_NOW DL_NOW
11895
# define LT_DLLAZY_OR_NOW 0
11902
/* When -fvisbility=hidden is used, assume the code has been annotated
11903
correspondingly for the symbols needed. */
11904
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11905
int fnord () __attribute__((visibility("default")));
11908
int fnord () { return 42; }
11911
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11912
int status = $lt_dlunknown;
11916
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11919
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11920
else puts (dlerror ());
11922
/* dlclose (self); */
11930
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11931
(eval $ac_link) 2>&5
11933
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11934
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11935
(./conftest; exit; ) >&5 2>/dev/null
11937
case x$lt_status in
11938
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11939
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11940
x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11943
# compilation failed
11944
lt_cv_dlopen_self=no
11951
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11952
$as_echo "$lt_cv_dlopen_self" >&6; }
11954
if test "x$lt_cv_dlopen_self" = xyes; then
11955
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11956
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11957
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11958
if test "${lt_cv_dlopen_self_static+set}" = set; then :
11959
$as_echo_n "(cached) " >&6
11961
if test "$cross_compiling" = yes; then :
11962
lt_cv_dlopen_self_static=cross
11964
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11965
lt_status=$lt_dlunknown
11966
cat > conftest.$ac_ext <<_LT_EOF
11967
#line $LINENO "configure"
11968
#include "confdefs.h"
11977
# define LT_DLGLOBAL RTLD_GLOBAL
11980
# define LT_DLGLOBAL DL_GLOBAL
11982
# define LT_DLGLOBAL 0
11986
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11987
find out it does not work in some platform. */
11988
#ifndef LT_DLLAZY_OR_NOW
11990
# define LT_DLLAZY_OR_NOW RTLD_LAZY
11993
# define LT_DLLAZY_OR_NOW DL_LAZY
11996
# define LT_DLLAZY_OR_NOW RTLD_NOW
11999
# define LT_DLLAZY_OR_NOW DL_NOW
12001
# define LT_DLLAZY_OR_NOW 0
12008
/* When -fvisbility=hidden is used, assume the code has been annotated
12009
correspondingly for the symbols needed. */
12010
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12011
int fnord () __attribute__((visibility("default")));
12014
int fnord () { return 42; }
12017
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12018
int status = $lt_dlunknown;
12022
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12025
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12026
else puts (dlerror ());
12028
/* dlclose (self); */
12036
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12037
(eval $ac_link) 2>&5
12039
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12040
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12041
(./conftest; exit; ) >&5 2>/dev/null
12043
case x$lt_status in
12044
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12045
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12046
x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12049
# compilation failed
12050
lt_cv_dlopen_self_static=no
12057
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12058
$as_echo "$lt_cv_dlopen_self_static" >&6; }
12061
CPPFLAGS="$save_CPPFLAGS"
12062
LDFLAGS="$save_LDFLAGS"
12067
case $lt_cv_dlopen_self in
12068
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12069
*) enable_dlopen_self=unknown ;;
12072
case $lt_cv_dlopen_self_static in
12073
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12074
*) enable_dlopen_self_static=unknown ;;
12096
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12097
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
12098
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12099
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12100
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12101
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12102
$as_echo "yes" >&6; }
12104
# FIXME - insert some real tests, host_os isn't really good enough
12107
if test -n "$STRIP" ; then
12108
striplib="$STRIP -x"
12109
old_striplib="$STRIP -S"
12110
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12111
$as_echo "yes" >&6; }
12113
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12114
$as_echo "no" >&6; }
12118
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12119
$as_echo "no" >&6; }
12135
# Report which library types will actually be built
12136
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12137
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
12138
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12139
$as_echo "$can_build_shared" >&6; }
12141
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12142
$as_echo_n "checking whether to build shared libraries... " >&6; }
12143
test "$can_build_shared" = "no" && enable_shared=no
12145
# On AIX, shared libraries and static libraries use the same namespace, and
12146
# are all built from PIC.
12149
test "$enable_shared" = yes && enable_static=no
12150
if test -n "$RANLIB"; then
12151
archive_cmds="$archive_cmds~\$RANLIB \$lib"
12152
postinstall_cmds='$RANLIB $lib'
12157
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12158
test "$enable_shared" = yes && enable_static=no
12162
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12163
$as_echo "$enable_shared" >&6; }
12165
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12166
$as_echo_n "checking whether to build static libraries... " >&6; }
12167
# Make sure either enable_shared or enable_static is yes.
12168
test "$enable_shared" = yes || enable_static=yes
12169
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12170
$as_echo "$enable_static" >&6; }
12177
ac_cpp='$CPP $CPPFLAGS'
12178
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12179
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12180
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12196
ac_config_commands="$ac_config_commands libtool"
12201
# Only expand once:
12205
CFLAGS="${CFLAGS} -Wall"
12206
CFLAGS+=" -DGSEAL_ENABLE"
12211
DISABLE_DEPRECATED=""
12212
if test $USE_MAINTAINER_MODE = yes; then
12213
DOMAINS="G ATK PANGO GDK GDK_PIXBUF GTK GCONF BONOBO BONOBO_UI GNOME LIBGLADE VTE GNOME_VFS WNCK LIBSOUP"
12214
for DOMAIN in $DOMAINS; do
12215
DISABLE_DEPRECATED="$DISABLE_DEPRECATED -D${DOMAIN}_DISABLE_DEPRECATED -D${DOMAIN}_DISABLE_SINGLE_INCLUDES"
12223
# Check whether --enable-compile-warnings was given.
12224
if test "${enable_compile_warnings+set}" = set; then :
12225
enableval=$enable_compile_warnings;
12227
enable_compile_warnings="maximum"
12232
if test "x$GCC" != xyes; then
12233
enable_compile_warnings=no
12237
realsave_CFLAGS="$CFLAGS"
12239
case "$enable_compile_warnings" in
12244
warning_flags="-Wall"
12247
warning_flags="-Wall -Wmissing-prototypes"
12250
warning_flags="-Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith"
12251
CFLAGS="$warning_flags $CFLAGS"
12252
for option in -Wno-sign-compare; do
12253
SAVE_CFLAGS="$CFLAGS"
12254
CFLAGS="$CFLAGS $option"
12255
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands $option" >&5
12256
$as_echo_n "checking whether gcc understands $option... " >&6; }
12257
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12258
/* end confdefs.h. */
12268
if ac_fn_c_try_compile "$LINENO"; then :
12273
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12274
CFLAGS="$SAVE_CFLAGS"
12275
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_option" >&5
12276
$as_echo "$has_option" >&6; }
12277
if test $has_option = yes; then
12278
warning_flags="$warning_flags $option"
12284
if test "$enable_compile_warnings" = "error" ; then
12285
warning_flags="$warning_flags -Werror"
12289
as_fn_error $? "Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" "$LINENO" 5
12292
CFLAGS="$realsave_CFLAGS"
12293
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5
12294
$as_echo_n "checking what warning flags to pass to the C compiler... " >&6; }
12295
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $warning_flags" >&5
12296
$as_echo "$warning_flags" >&6; }
12298
# Check whether --enable-iso-c was given.
12299
if test "${enable_iso_c+set}" = set; then :
12300
enableval=$enable_iso_c;
12306
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking what language compliance flags to pass to the C compiler" >&5
12307
$as_echo_n "checking what language compliance flags to pass to the C compiler... " >&6; }
12309
if test "x$enable_iso_c" != "xno"; then
12310
if test "x$GCC" = "xyes"; then
12311
case " $CFLAGS " in
12312
*\ \ -ansi\ \ *) ;;
12313
*) complCFLAGS="$complCFLAGS -ansi" ;;
12315
case " $CFLAGS " in
12316
*\ \ -pedantic\ \ *) ;;
12317
*) complCFLAGS="$complCFLAGS -pedantic" ;;
12321
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $complCFLAGS" >&5
12322
$as_echo "$complCFLAGS" >&6; }
12324
WARN_CFLAGS="$warning_flags $complCFLAGS"
12328
#*******************************************************************************
12330
#*******************************************************************************
12331
# Before making a release, the CHEESE_LT_VERSION string should be modified.
12332
# The string is of the form C:R:A.
12333
# - If interfaces have been changed or added, but binary compatibility has
12334
# been preserved, change to C+1:0:A+1
12335
# - If binary compatibility has been broken (eg removed or changed interfaces)
12336
# change to C+1:0:0
12337
# - If the interface is the same as the previous version, change to C:R+1:A
12338
LIBCHEESE_LT_VERSION=1:0:0
12339
LIBCHEESE_GTK_LT_VERSION=20:0:0
12343
#*******************************************************************************
12345
#*******************************************************************************
12346
# This macro expands DIR and assigns it to RET.
12347
# If DIR is NONE, then it's replaced by DEFAULT.
12348
# Based on AC_DEFINE_DIR
12351
# FULL_LIBEXECDIR is used for X-GNOME-Bugzilla-ExtraInfoScript expansion
12352
# in data/cheese.desktop.in.in
12354
test "x$prefix" = xNONE && prefix="$ac_default_prefix"
12355
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12356
ac_expand=$libexecdir
12357
test "x$ac_expand" = xNONE && ac_expand="$NONE"
12358
ac_expand=`eval echo $ac_expand`
12359
FULL_LIBEXECDIR=`eval echo $ac_expand`
12363
#*******************************************************************************
12364
# Internationalization
12365
#*******************************************************************************
12367
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
12368
$as_echo_n "checking whether NLS is requested... " >&6; }
12369
# Check whether --enable-nls was given.
12370
if test "${enable_nls+set}" = set; then :
12371
enableval=$enable_nls; USE_NLS=$enableval
12376
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
12377
$as_echo "$USE_NLS" >&6; }
12382
GETTEXT_MACRO_VERSION=0.17
12387
# Prepare PATH_SEPARATOR.
12388
# The user is always right.
12389
if test "${PATH_SEPARATOR+set}" != set; then
12390
echo "#! /bin/sh" >conf$$.sh
12391
echo "exit 0" >>conf$$.sh
12393
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12401
# Find out how to test for executable files. Don't use a zero-byte file,
12402
# as systems may use methods other than mode bits to determine executability.
12403
cat >conf$$.file <<_ASEOF
12407
chmod +x conf$$.file
12408
if test -x conf$$.file >/dev/null 2>&1; then
12409
ac_executable_p="test -x"
12411
ac_executable_p="test -f"
12415
# Extract the first word of "msgfmt", so it can be a program name with args.
12416
set dummy msgfmt; ac_word=$2
12417
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12418
$as_echo_n "checking for $ac_word... " >&6; }
12419
if test "${ac_cv_path_MSGFMT+set}" = set; then :
12420
$as_echo_n "(cached) " >&6
12424
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
12427
ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
12428
for ac_dir in $PATH; do
12430
test -z "$ac_dir" && ac_dir=.
12431
for ac_exec_ext in '' $ac_executable_extensions; do
12432
if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12433
echo "$as_me: trying $ac_dir/$ac_word..." >&5
12434
if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
12435
(if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
12436
ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
12443
test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
12447
MSGFMT="$ac_cv_path_MSGFMT"
12448
if test "$MSGFMT" != ":"; then
12449
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
12450
$as_echo "$MSGFMT" >&6; }
12452
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12453
$as_echo "no" >&6; }
12456
# Extract the first word of "gmsgfmt", so it can be a program name with args.
12457
set dummy gmsgfmt; ac_word=$2
12458
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12459
$as_echo_n "checking for $ac_word... " >&6; }
12460
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
12461
$as_echo_n "(cached) " >&6
12465
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
12468
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12469
for as_dir in $PATH
12472
test -z "$as_dir" && as_dir=.
12473
for ac_exec_ext in '' $ac_executable_extensions; do
12474
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12475
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
12476
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12483
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
12487
GMSGFMT=$ac_cv_path_GMSGFMT
12488
if test -n "$GMSGFMT"; then
12489
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
12490
$as_echo "$GMSGFMT" >&6; }
12492
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12493
$as_echo "no" >&6; }
12498
case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
12499
'' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
12500
*) MSGFMT_015=$MSGFMT ;;
12503
case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
12504
'' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
12505
*) GMSGFMT_015=$GMSGFMT ;;
12510
# Prepare PATH_SEPARATOR.
12511
# The user is always right.
12512
if test "${PATH_SEPARATOR+set}" != set; then
12513
echo "#! /bin/sh" >conf$$.sh
12514
echo "exit 0" >>conf$$.sh
12516
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12524
# Find out how to test for executable files. Don't use a zero-byte file,
12525
# as systems may use methods other than mode bits to determine executability.
12526
cat >conf$$.file <<_ASEOF
12530
chmod +x conf$$.file
12531
if test -x conf$$.file >/dev/null 2>&1; then
12532
ac_executable_p="test -x"
12534
ac_executable_p="test -f"
12538
# Extract the first word of "xgettext", so it can be a program name with args.
12539
set dummy xgettext; ac_word=$2
12540
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12541
$as_echo_n "checking for $ac_word... " >&6; }
12542
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
12543
$as_echo_n "(cached) " >&6
12545
case "$XGETTEXT" in
12547
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
12550
ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
12551
for ac_dir in $PATH; do
12553
test -z "$ac_dir" && ac_dir=.
12554
for ac_exec_ext in '' $ac_executable_extensions; do
12555
if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12556
echo "$as_me: trying $ac_dir/$ac_word..." >&5
12557
if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
12558
(if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
12559
ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
12566
test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
12570
XGETTEXT="$ac_cv_path_XGETTEXT"
12571
if test "$XGETTEXT" != ":"; then
12572
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
12573
$as_echo "$XGETTEXT" >&6; }
12575
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12576
$as_echo "no" >&6; }
12581
case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
12582
'' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
12583
*) XGETTEXT_015=$XGETTEXT ;;
12588
# Prepare PATH_SEPARATOR.
12589
# The user is always right.
12590
if test "${PATH_SEPARATOR+set}" != set; then
12591
echo "#! /bin/sh" >conf$$.sh
12592
echo "exit 0" >>conf$$.sh
12594
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12602
# Find out how to test for executable files. Don't use a zero-byte file,
12603
# as systems may use methods other than mode bits to determine executability.
12604
cat >conf$$.file <<_ASEOF
12608
chmod +x conf$$.file
12609
if test -x conf$$.file >/dev/null 2>&1; then
12610
ac_executable_p="test -x"
12612
ac_executable_p="test -f"
12616
# Extract the first word of "msgmerge", so it can be a program name with args.
12617
set dummy msgmerge; ac_word=$2
12618
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12619
$as_echo_n "checking for $ac_word... " >&6; }
12620
if test "${ac_cv_path_MSGMERGE+set}" = set; then :
12621
$as_echo_n "(cached) " >&6
12623
case "$MSGMERGE" in
12625
ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
12628
ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
12629
for ac_dir in $PATH; do
12631
test -z "$ac_dir" && ac_dir=.
12632
for ac_exec_ext in '' $ac_executable_extensions; do
12633
if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12634
echo "$as_me: trying $ac_dir/$ac_word..." >&5
12635
if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
12636
ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
12643
test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
12647
MSGMERGE="$ac_cv_path_MSGMERGE"
12648
if test "$MSGMERGE" != ":"; then
12649
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
12650
$as_echo "$MSGMERGE" >&6; }
12652
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12653
$as_echo "no" >&6; }
12657
test -n "$localedir" || localedir='${datadir}/locale'
12660
test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
12663
ac_config_commands="$ac_config_commands po-directories"
12667
if test "X$prefix" = "XNONE"; then
12668
acl_final_prefix="$ac_default_prefix"
12670
acl_final_prefix="$prefix"
12672
if test "X$exec_prefix" = "XNONE"; then
12673
acl_final_exec_prefix='${prefix}'
12675
acl_final_exec_prefix="$exec_prefix"
12677
acl_save_prefix="$prefix"
12678
prefix="$acl_final_prefix"
12679
eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
12680
prefix="$acl_save_prefix"
12683
# Check whether --with-gnu-ld was given.
12684
if test "${with_gnu_ld+set}" = set; then :
12685
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12690
# Prepare PATH_SEPARATOR.
12691
# The user is always right.
12692
if test "${PATH_SEPARATOR+set}" != set; then
12693
echo "#! /bin/sh" >conf$$.sh
12694
echo "exit 0" >>conf$$.sh
12696
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12704
if test "$GCC" = yes; then
12705
# Check if gcc -print-prog-name=ld gives a path.
12706
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
12707
$as_echo_n "checking for ld used by GCC... " >&6; }
12710
# gcc leaves a trailing carriage return which upsets mingw
12711
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12713
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12716
# Accept absolute paths.
12717
[\\/]* | [A-Za-z]:[\\/]*)
12718
re_direlt='/[^/][^/]*/\.\./'
12719
# Canonicalize the path of ld
12720
ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
12721
while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
12722
ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
12724
test -z "$LD" && LD="$ac_prog"
12727
# If it fails, then pretend we aren't using GCC.
12731
# If it is relative, then search for the first ld in PATH.
12732
with_gnu_ld=unknown
12735
elif test "$with_gnu_ld" = yes; then
12736
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12737
$as_echo_n "checking for GNU ld... " >&6; }
12739
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12740
$as_echo_n "checking for non-GNU ld... " >&6; }
12742
if test "${acl_cv_path_LD+set}" = set; then :
12743
$as_echo_n "(cached) " >&6
12745
if test -z "$LD"; then
12746
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
12747
for ac_dir in $PATH; do
12748
test -z "$ac_dir" && ac_dir=.
12749
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12750
acl_cv_path_LD="$ac_dir/$ac_prog"
12751
# Check to see if the program is GNU ld. I'd rather use --version,
12752
# but apparently some GNU ld's only accept -v.
12753
# Break only if it was the GNU/non-GNU ld that we prefer.
12754
case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
12755
*GNU* | *'with BFD'*)
12756
test "$with_gnu_ld" != no && break ;;
12758
test "$with_gnu_ld" != yes && break ;;
12764
acl_cv_path_LD="$LD" # Let the user override the test with a path.
12768
LD="$acl_cv_path_LD"
12769
if test -n "$LD"; then
12770
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12771
$as_echo "$LD" >&6; }
12773
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12774
$as_echo "no" >&6; }
12776
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12777
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12778
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12779
if test "${acl_cv_prog_gnu_ld+set}" = set; then :
12780
$as_echo_n "(cached) " >&6
12782
# I'd rather use --version here, but apparently some GNU ld's only accept -v.
12783
case `$LD -v 2>&1 </dev/null` in
12784
*GNU* | *'with BFD'*)
12785
acl_cv_prog_gnu_ld=yes ;;
12787
acl_cv_prog_gnu_ld=no ;;
12790
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
12791
$as_echo "$acl_cv_prog_gnu_ld" >&6; }
12792
with_gnu_ld=$acl_cv_prog_gnu_ld
12797
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
12798
$as_echo_n "checking for shared library run path origin... " >&6; }
12799
if test "${acl_cv_rpath+set}" = set; then :
12800
$as_echo_n "(cached) " >&6
12803
CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
12804
${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
12806
rm -f ./conftest.sh
12810
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
12811
$as_echo "$acl_cv_rpath" >&6; }
12813
acl_libext="$acl_cv_libext"
12814
acl_shlibext="$acl_cv_shlibext"
12815
acl_libname_spec="$acl_cv_libname_spec"
12816
acl_library_names_spec="$acl_cv_library_names_spec"
12817
acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
12818
acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
12819
acl_hardcode_direct="$acl_cv_hardcode_direct"
12820
acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
12821
# Check whether --enable-rpath was given.
12822
if test "${enable_rpath+set}" = set; then :
12823
enableval=$enable_rpath; :
12831
searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
12832
if test -n "$searchpath"; then
12833
acl_save_IFS="${IFS= }"; IFS=":"
12834
for searchdir in $searchpath; do
12835
if test -d "$searchdir"; then
12836
case "$searchdir" in
12837
*/lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
12838
*) searchdir=`cd "$searchdir" && pwd`
12839
case "$searchdir" in
12840
*/lib64 ) acl_libdirstem=lib64 ;;
12845
IFS="$acl_save_IFS"
12858
acl_save_prefix="$prefix"
12859
prefix="$acl_final_prefix"
12860
acl_save_exec_prefix="$exec_prefix"
12861
exec_prefix="$acl_final_exec_prefix"
12863
eval additional_includedir=\"$includedir\"
12864
eval additional_libdir=\"$libdir\"
12866
exec_prefix="$acl_save_exec_prefix"
12867
prefix="$acl_save_prefix"
12870
# Check whether --with-libiconv-prefix was given.
12871
if test "${with_libiconv_prefix+set}" = set; then :
12872
withval=$with_libiconv_prefix;
12873
if test "X$withval" = "Xno"; then
12876
if test "X$withval" = "X"; then
12878
acl_save_prefix="$prefix"
12879
prefix="$acl_final_prefix"
12880
acl_save_exec_prefix="$exec_prefix"
12881
exec_prefix="$acl_final_exec_prefix"
12883
eval additional_includedir=\"$includedir\"
12884
eval additional_libdir=\"$libdir\"
12886
exec_prefix="$acl_save_exec_prefix"
12887
prefix="$acl_save_prefix"
12890
additional_includedir="$withval/include"
12891
additional_libdir="$withval/$acl_libdirstem"
12903
names_already_handled=
12904
names_next_round='iconv '
12905
while test -n "$names_next_round"; do
12906
names_this_round="$names_next_round"
12908
for name in $names_this_round; do
12910
for n in $names_already_handled; do
12911
if test "$n" = "$name"; then
12912
already_handled=yes
12916
if test -z "$already_handled"; then
12917
names_already_handled="$names_already_handled $name"
12918
uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
12919
eval value=\"\$HAVE_LIB$uppername\"
12920
if test -n "$value"; then
12921
if test "$value" = yes; then
12922
eval value=\"\$LIB$uppername\"
12923
test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
12924
eval value=\"\$LTLIB$uppername\"
12925
test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
12934
eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
12935
if test -n "$acl_shlibext"; then
12936
shrext=".$acl_shlibext" # typically: shrext=.so
12940
if test $use_additional = yes; then
12941
dir="$additional_libdir"
12942
if test -n "$acl_shlibext"; then
12943
if test -f "$dir/$libname$shrext"; then
12945
found_so="$dir/$libname$shrext"
12947
if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
12948
ver=`(cd "$dir" && \
12949
for f in "$libname$shrext".*; do echo "$f"; done \
12950
| sed -e "s,^$libname$shrext\\\\.,," \
12951
| sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
12952
| sed 1q ) 2>/dev/null`
12953
if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
12955
found_so="$dir/$libname$shrext.$ver"
12958
eval library_names=\"$acl_library_names_spec\"
12959
for f in $library_names; do
12960
if test -f "$dir/$f"; then
12969
if test "X$found_dir" = "X"; then
12970
if test -f "$dir/$libname.$acl_libext"; then
12972
found_a="$dir/$libname.$acl_libext"
12975
if test "X$found_dir" != "X"; then
12976
if test -f "$dir/$libname.la"; then
12977
found_la="$dir/$libname.la"
12981
if test "X$found_dir" = "X"; then
12982
for x in $LDFLAGS $LTLIBICONV; do
12984
acl_save_prefix="$prefix"
12985
prefix="$acl_final_prefix"
12986
acl_save_exec_prefix="$exec_prefix"
12987
exec_prefix="$acl_final_exec_prefix"
12989
exec_prefix="$acl_save_exec_prefix"
12990
prefix="$acl_save_prefix"
12994
dir=`echo "X$x" | sed -e 's/^X-L//'`
12995
if test -n "$acl_shlibext"; then
12996
if test -f "$dir/$libname$shrext"; then
12998
found_so="$dir/$libname$shrext"
13000
if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
13001
ver=`(cd "$dir" && \
13002
for f in "$libname$shrext".*; do echo "$f"; done \
13003
| sed -e "s,^$libname$shrext\\\\.,," \
13004
| sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
13005
| sed 1q ) 2>/dev/null`
13006
if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
13008
found_so="$dir/$libname$shrext.$ver"
13011
eval library_names=\"$acl_library_names_spec\"
13012
for f in $library_names; do
13013
if test -f "$dir/$f"; then
13022
if test "X$found_dir" = "X"; then
13023
if test -f "$dir/$libname.$acl_libext"; then
13025
found_a="$dir/$libname.$acl_libext"
13028
if test "X$found_dir" != "X"; then
13029
if test -f "$dir/$libname.la"; then
13030
found_la="$dir/$libname.la"
13035
if test "X$found_dir" != "X"; then
13040
if test "X$found_dir" != "X"; then
13041
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
13042
if test "X$found_so" != "X"; then
13043
if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
13044
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
13047
for x in $ltrpathdirs; do
13048
if test "X$x" = "X$found_dir"; then
13053
if test -z "$haveit"; then
13054
ltrpathdirs="$ltrpathdirs $found_dir"
13056
if test "$acl_hardcode_direct" = yes; then
13057
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
13059
if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
13060
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
13062
for x in $rpathdirs; do
13063
if test "X$x" = "X$found_dir"; then
13068
if test -z "$haveit"; then
13069
rpathdirs="$rpathdirs $found_dir"
13073
for x in $LDFLAGS $LIBICONV; do
13075
acl_save_prefix="$prefix"
13076
prefix="$acl_final_prefix"
13077
acl_save_exec_prefix="$exec_prefix"
13078
exec_prefix="$acl_final_exec_prefix"
13080
exec_prefix="$acl_save_exec_prefix"
13081
prefix="$acl_save_prefix"
13083
if test "X$x" = "X-L$found_dir"; then
13088
if test -z "$haveit"; then
13089
LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
13091
if test "$acl_hardcode_minus_L" != no; then
13092
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
13094
LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
13100
if test "X$found_a" != "X"; then
13101
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
13103
LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
13106
additional_includedir=
13107
case "$found_dir" in
13108
*/$acl_libdirstem | */$acl_libdirstem/)
13109
basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
13110
LIBICONV_PREFIX="$basedir"
13111
additional_includedir="$basedir/include"
13114
if test "X$additional_includedir" != "X"; then
13115
if test "X$additional_includedir" != "X/usr/include"; then
13117
if test "X$additional_includedir" = "X/usr/local/include"; then
13118
if test -n "$GCC"; then
13120
linux* | gnu* | k*bsd*-gnu) haveit=yes;;
13124
if test -z "$haveit"; then
13125
for x in $CPPFLAGS $INCICONV; do
13127
acl_save_prefix="$prefix"
13128
prefix="$acl_final_prefix"
13129
acl_save_exec_prefix="$exec_prefix"
13130
exec_prefix="$acl_final_exec_prefix"
13132
exec_prefix="$acl_save_exec_prefix"
13133
prefix="$acl_save_prefix"
13135
if test "X$x" = "X-I$additional_includedir"; then
13140
if test -z "$haveit"; then
13141
if test -d "$additional_includedir"; then
13142
INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
13148
if test -n "$found_la"; then
13149
save_libdir="$libdir"
13150
case "$found_la" in
13151
*/* | *\\*) . "$found_la" ;;
13152
*) . "./$found_la" ;;
13154
libdir="$save_libdir"
13155
for dep in $dependency_libs; do
13158
additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
13159
if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
13161
if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
13162
if test -n "$GCC"; then
13164
linux* | gnu* | k*bsd*-gnu) haveit=yes;;
13168
if test -z "$haveit"; then
13170
for x in $LDFLAGS $LIBICONV; do
13172
acl_save_prefix="$prefix"
13173
prefix="$acl_final_prefix"
13174
acl_save_exec_prefix="$exec_prefix"
13175
exec_prefix="$acl_final_exec_prefix"
13177
exec_prefix="$acl_save_exec_prefix"
13178
prefix="$acl_save_prefix"
13180
if test "X$x" = "X-L$additional_libdir"; then
13185
if test -z "$haveit"; then
13186
if test -d "$additional_libdir"; then
13187
LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
13191
for x in $LDFLAGS $LTLIBICONV; do
13193
acl_save_prefix="$prefix"
13194
prefix="$acl_final_prefix"
13195
acl_save_exec_prefix="$exec_prefix"
13196
exec_prefix="$acl_final_exec_prefix"
13198
exec_prefix="$acl_save_exec_prefix"
13199
prefix="$acl_save_prefix"
13201
if test "X$x" = "X-L$additional_libdir"; then
13206
if test -z "$haveit"; then
13207
if test -d "$additional_libdir"; then
13208
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
13215
dir=`echo "X$dep" | sed -e 's/^X-R//'`
13216
if test "$enable_rpath" != no; then
13218
for x in $rpathdirs; do
13219
if test "X$x" = "X$dir"; then
13224
if test -z "$haveit"; then
13225
rpathdirs="$rpathdirs $dir"
13228
for x in $ltrpathdirs; do
13229
if test "X$x" = "X$dir"; then
13234
if test -z "$haveit"; then
13235
ltrpathdirs="$ltrpathdirs $dir"
13240
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
13243
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
13246
LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
13247
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
13253
LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
13254
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
13260
if test "X$rpathdirs" != "X"; then
13261
if test -n "$acl_hardcode_libdir_separator"; then
13263
for found_dir in $rpathdirs; do
13264
alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
13266
acl_save_libdir="$libdir"
13268
eval flag=\"$acl_hardcode_libdir_flag_spec\"
13269
libdir="$acl_save_libdir"
13270
LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
13272
for found_dir in $rpathdirs; do
13273
acl_save_libdir="$libdir"
13274
libdir="$found_dir"
13275
eval flag=\"$acl_hardcode_libdir_flag_spec\"
13276
libdir="$acl_save_libdir"
13277
LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
13281
if test "X$ltrpathdirs" != "X"; then
13282
for found_dir in $ltrpathdirs; do
13283
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
13311
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
13312
$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
13313
if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then :
13314
$as_echo_n "(cached) " >&6
13316
gt_save_LIBS="$LIBS"
13317
LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
13318
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13319
/* end confdefs.h. */
13320
#include <CoreFoundation/CFPreferences.h>
13324
CFPreferencesCopyAppValue(NULL, NULL)
13329
if ac_fn_c_try_link "$LINENO"; then :
13330
gt_cv_func_CFPreferencesCopyAppValue=yes
13332
gt_cv_func_CFPreferencesCopyAppValue=no
13334
rm -f core conftest.err conftest.$ac_objext \
13335
conftest$ac_exeext conftest.$ac_ext
13336
LIBS="$gt_save_LIBS"
13338
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
13339
$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
13340
if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
13342
$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
13345
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
13346
$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
13347
if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then :
13348
$as_echo_n "(cached) " >&6
13350
gt_save_LIBS="$LIBS"
13351
LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
13352
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13353
/* end confdefs.h. */
13354
#include <CoreFoundation/CFLocale.h>
13358
CFLocaleCopyCurrent();
13363
if ac_fn_c_try_link "$LINENO"; then :
13364
gt_cv_func_CFLocaleCopyCurrent=yes
13366
gt_cv_func_CFLocaleCopyCurrent=no
13368
rm -f core conftest.err conftest.$ac_objext \
13369
conftest$ac_exeext conftest.$ac_ext
13370
LIBS="$gt_save_LIBS"
13372
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
13373
$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
13374
if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
13376
$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
13380
if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
13381
INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
13393
case " $gt_needs " in
13394
*" need-formatstring-macros "*) gt_api_version=3 ;;
13395
*" need-ngettext "*) gt_api_version=2 ;;
13396
*) gt_api_version=1 ;;
13398
gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
13399
gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
13401
if test "$USE_NLS" = "yes"; then
13402
gt_use_preinstalled_gnugettext=no
13405
if test $gt_api_version -ge 3; then
13406
gt_revision_test_code='
13407
#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
13408
#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
13410
typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
13413
gt_revision_test_code=
13415
if test $gt_api_version -ge 2; then
13416
gt_expression_test_code=' + * ngettext ("", "", 0)'
13418
gt_expression_test_code=
13421
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
13422
$as_echo_n "checking for GNU gettext in libc... " >&6; }
13423
if eval "test \"\${$gt_func_gnugettext_libc+set}\"" = set; then :
13424
$as_echo_n "(cached) " >&6
13426
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13427
/* end confdefs.h. */
13428
#include <libintl.h>
13429
$gt_revision_test_code
13430
extern int _nl_msg_cat_cntr;
13431
extern int *_nl_domain_bindings;
13435
bindtextdomain ("", "");
13436
return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
13441
if ac_fn_c_try_link "$LINENO"; then :
13442
eval "$gt_func_gnugettext_libc=yes"
13444
eval "$gt_func_gnugettext_libc=no"
13446
rm -f core conftest.err conftest.$ac_objext \
13447
conftest$ac_exeext conftest.$ac_ext
13449
eval ac_res=\$$gt_func_gnugettext_libc
13450
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13451
$as_echo "$ac_res" >&6; }
13453
if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
13459
am_save_CPPFLAGS="$CPPFLAGS"
13461
for element in $INCICONV; do
13463
for x in $CPPFLAGS; do
13465
acl_save_prefix="$prefix"
13466
prefix="$acl_final_prefix"
13467
acl_save_exec_prefix="$exec_prefix"
13468
exec_prefix="$acl_final_exec_prefix"
13470
exec_prefix="$acl_save_exec_prefix"
13471
prefix="$acl_save_prefix"
13473
if test "X$x" = "X$element"; then
13478
if test -z "$haveit"; then
13479
CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
13484
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
13485
$as_echo_n "checking for iconv... " >&6; }
13486
if test "${am_cv_func_iconv+set}" = set; then :
13487
$as_echo_n "(cached) " >&6
13490
am_cv_func_iconv="no, consider installing GNU libiconv"
13492
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13493
/* end confdefs.h. */
13494
#include <stdlib.h>
13499
iconv_t cd = iconv_open("","");
13500
iconv(cd,NULL,NULL,NULL,NULL);
13506
if ac_fn_c_try_link "$LINENO"; then :
13507
am_cv_func_iconv=yes
13509
rm -f core conftest.err conftest.$ac_objext \
13510
conftest$ac_exeext conftest.$ac_ext
13511
if test "$am_cv_func_iconv" != yes; then
13512
am_save_LIBS="$LIBS"
13513
LIBS="$LIBS $LIBICONV"
13514
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13515
/* end confdefs.h. */
13516
#include <stdlib.h>
13521
iconv_t cd = iconv_open("","");
13522
iconv(cd,NULL,NULL,NULL,NULL);
13528
if ac_fn_c_try_link "$LINENO"; then :
13529
am_cv_lib_iconv=yes
13530
am_cv_func_iconv=yes
13532
rm -f core conftest.err conftest.$ac_objext \
13533
conftest$ac_exeext conftest.$ac_ext
13534
LIBS="$am_save_LIBS"
13538
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
13539
$as_echo "$am_cv_func_iconv" >&6; }
13540
if test "$am_cv_func_iconv" = yes; then
13541
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
13542
$as_echo_n "checking for working iconv... " >&6; }
13543
if test "${am_cv_func_iconv_works+set}" = set; then :
13544
$as_echo_n "(cached) " >&6
13547
am_save_LIBS="$LIBS"
13548
if test $am_cv_lib_iconv = yes; then
13549
LIBS="$LIBS $LIBICONV"
13551
if test "$cross_compiling" = yes; then :
13553
aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
13554
*) am_cv_func_iconv_works="guessing yes" ;;
13557
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13558
/* end confdefs.h. */
13561
#include <string.h>
13564
/* Test against AIX 5.1 bug: Failures are not distinguishable from successful
13567
iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
13568
if (cd_utf8_to_88591 != (iconv_t)(-1))
13570
static const char input[] = "\342\202\254"; /* EURO SIGN */
13572
const char *inptr = input;
13573
size_t inbytesleft = strlen (input);
13574
char *outptr = buf;
13575
size_t outbytesleft = sizeof (buf);
13576
size_t res = iconv (cd_utf8_to_88591,
13577
(char **) &inptr, &inbytesleft,
13578
&outptr, &outbytesleft);
13583
#if 0 /* This bug could be worked around by the caller. */
13584
/* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
13586
iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
13587
if (cd_88591_to_utf8 != (iconv_t)(-1))
13589
static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
13591
const char *inptr = input;
13592
size_t inbytesleft = strlen (input);
13593
char *outptr = buf;
13594
size_t outbytesleft = sizeof (buf);
13595
size_t res = iconv (cd_88591_to_utf8,
13596
(char **) &inptr, &inbytesleft,
13597
&outptr, &outbytesleft);
13603
/* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
13605
if (/* Try standardized names. */
13606
iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
13607
/* Try IRIX, OSF/1 names. */
13608
&& iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
13609
/* Try AIX names. */
13610
&& iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
13611
/* Try HP-UX names. */
13612
&& iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
13617
if ac_fn_c_try_run "$LINENO"; then :
13618
am_cv_func_iconv_works=yes
13620
am_cv_func_iconv_works=no
13622
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13623
conftest.$ac_objext conftest.beam conftest.$ac_ext
13626
LIBS="$am_save_LIBS"
13629
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
13630
$as_echo "$am_cv_func_iconv_works" >&6; }
13631
case "$am_cv_func_iconv_works" in
13632
*no) am_func_iconv=no am_cv_lib_iconv=no ;;
13633
*) am_func_iconv=yes ;;
13636
am_func_iconv=no am_cv_lib_iconv=no
13638
if test "$am_func_iconv" = yes; then
13640
$as_echo "#define HAVE_ICONV 1" >>confdefs.h
13643
if test "$am_cv_lib_iconv" = yes; then
13644
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
13645
$as_echo_n "checking how to link with libiconv... " >&6; }
13646
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
13647
$as_echo "$LIBICONV" >&6; }
13649
CPPFLAGS="$am_save_CPPFLAGS"
13663
acl_save_prefix="$prefix"
13664
prefix="$acl_final_prefix"
13665
acl_save_exec_prefix="$exec_prefix"
13666
exec_prefix="$acl_final_exec_prefix"
13668
eval additional_includedir=\"$includedir\"
13669
eval additional_libdir=\"$libdir\"
13671
exec_prefix="$acl_save_exec_prefix"
13672
prefix="$acl_save_prefix"
13675
# Check whether --with-libintl-prefix was given.
13676
if test "${with_libintl_prefix+set}" = set; then :
13677
withval=$with_libintl_prefix;
13678
if test "X$withval" = "Xno"; then
13681
if test "X$withval" = "X"; then
13683
acl_save_prefix="$prefix"
13684
prefix="$acl_final_prefix"
13685
acl_save_exec_prefix="$exec_prefix"
13686
exec_prefix="$acl_final_exec_prefix"
13688
eval additional_includedir=\"$includedir\"
13689
eval additional_libdir=\"$libdir\"
13691
exec_prefix="$acl_save_exec_prefix"
13692
prefix="$acl_save_prefix"
13695
additional_includedir="$withval/include"
13696
additional_libdir="$withval/$acl_libdirstem"
13708
names_already_handled=
13709
names_next_round='intl '
13710
while test -n "$names_next_round"; do
13711
names_this_round="$names_next_round"
13713
for name in $names_this_round; do
13715
for n in $names_already_handled; do
13716
if test "$n" = "$name"; then
13717
already_handled=yes
13721
if test -z "$already_handled"; then
13722
names_already_handled="$names_already_handled $name"
13723
uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
13724
eval value=\"\$HAVE_LIB$uppername\"
13725
if test -n "$value"; then
13726
if test "$value" = yes; then
13727
eval value=\"\$LIB$uppername\"
13728
test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
13729
eval value=\"\$LTLIB$uppername\"
13730
test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
13739
eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
13740
if test -n "$acl_shlibext"; then
13741
shrext=".$acl_shlibext" # typically: shrext=.so
13745
if test $use_additional = yes; then
13746
dir="$additional_libdir"
13747
if test -n "$acl_shlibext"; then
13748
if test -f "$dir/$libname$shrext"; then
13750
found_so="$dir/$libname$shrext"
13752
if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
13753
ver=`(cd "$dir" && \
13754
for f in "$libname$shrext".*; do echo "$f"; done \
13755
| sed -e "s,^$libname$shrext\\\\.,," \
13756
| sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
13757
| sed 1q ) 2>/dev/null`
13758
if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
13760
found_so="$dir/$libname$shrext.$ver"
13763
eval library_names=\"$acl_library_names_spec\"
13764
for f in $library_names; do
13765
if test -f "$dir/$f"; then
13774
if test "X$found_dir" = "X"; then
13775
if test -f "$dir/$libname.$acl_libext"; then
13777
found_a="$dir/$libname.$acl_libext"
13780
if test "X$found_dir" != "X"; then
13781
if test -f "$dir/$libname.la"; then
13782
found_la="$dir/$libname.la"
13786
if test "X$found_dir" = "X"; then
13787
for x in $LDFLAGS $LTLIBINTL; do
13789
acl_save_prefix="$prefix"
13790
prefix="$acl_final_prefix"
13791
acl_save_exec_prefix="$exec_prefix"
13792
exec_prefix="$acl_final_exec_prefix"
13794
exec_prefix="$acl_save_exec_prefix"
13795
prefix="$acl_save_prefix"
13799
dir=`echo "X$x" | sed -e 's/^X-L//'`
13800
if test -n "$acl_shlibext"; then
13801
if test -f "$dir/$libname$shrext"; then
13803
found_so="$dir/$libname$shrext"
13805
if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
13806
ver=`(cd "$dir" && \
13807
for f in "$libname$shrext".*; do echo "$f"; done \
13808
| sed -e "s,^$libname$shrext\\\\.,," \
13809
| sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
13810
| sed 1q ) 2>/dev/null`
13811
if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
13813
found_so="$dir/$libname$shrext.$ver"
13816
eval library_names=\"$acl_library_names_spec\"
13817
for f in $library_names; do
13818
if test -f "$dir/$f"; then
13827
if test "X$found_dir" = "X"; then
13828
if test -f "$dir/$libname.$acl_libext"; then
13830
found_a="$dir/$libname.$acl_libext"
13833
if test "X$found_dir" != "X"; then
13834
if test -f "$dir/$libname.la"; then
13835
found_la="$dir/$libname.la"
13840
if test "X$found_dir" != "X"; then
13845
if test "X$found_dir" != "X"; then
13846
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
13847
if test "X$found_so" != "X"; then
13848
if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
13849
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
13852
for x in $ltrpathdirs; do
13853
if test "X$x" = "X$found_dir"; then
13858
if test -z "$haveit"; then
13859
ltrpathdirs="$ltrpathdirs $found_dir"
13861
if test "$acl_hardcode_direct" = yes; then
13862
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
13864
if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
13865
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
13867
for x in $rpathdirs; do
13868
if test "X$x" = "X$found_dir"; then
13873
if test -z "$haveit"; then
13874
rpathdirs="$rpathdirs $found_dir"
13878
for x in $LDFLAGS $LIBINTL; do
13880
acl_save_prefix="$prefix"
13881
prefix="$acl_final_prefix"
13882
acl_save_exec_prefix="$exec_prefix"
13883
exec_prefix="$acl_final_exec_prefix"
13885
exec_prefix="$acl_save_exec_prefix"
13886
prefix="$acl_save_prefix"
13888
if test "X$x" = "X-L$found_dir"; then
13893
if test -z "$haveit"; then
13894
LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
13896
if test "$acl_hardcode_minus_L" != no; then
13897
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
13899
LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
13905
if test "X$found_a" != "X"; then
13906
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
13908
LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
13911
additional_includedir=
13912
case "$found_dir" in
13913
*/$acl_libdirstem | */$acl_libdirstem/)
13914
basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
13915
LIBINTL_PREFIX="$basedir"
13916
additional_includedir="$basedir/include"
13919
if test "X$additional_includedir" != "X"; then
13920
if test "X$additional_includedir" != "X/usr/include"; then
13922
if test "X$additional_includedir" = "X/usr/local/include"; then
13923
if test -n "$GCC"; then
13925
linux* | gnu* | k*bsd*-gnu) haveit=yes;;
13929
if test -z "$haveit"; then
13930
for x in $CPPFLAGS $INCINTL; do
13932
acl_save_prefix="$prefix"
13933
prefix="$acl_final_prefix"
13934
acl_save_exec_prefix="$exec_prefix"
13935
exec_prefix="$acl_final_exec_prefix"
13937
exec_prefix="$acl_save_exec_prefix"
13938
prefix="$acl_save_prefix"
13940
if test "X$x" = "X-I$additional_includedir"; then
13945
if test -z "$haveit"; then
13946
if test -d "$additional_includedir"; then
13947
INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
13953
if test -n "$found_la"; then
13954
save_libdir="$libdir"
13955
case "$found_la" in
13956
*/* | *\\*) . "$found_la" ;;
13957
*) . "./$found_la" ;;
13959
libdir="$save_libdir"
13960
for dep in $dependency_libs; do
13963
additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
13964
if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
13966
if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
13967
if test -n "$GCC"; then
13969
linux* | gnu* | k*bsd*-gnu) haveit=yes;;
13973
if test -z "$haveit"; then
13975
for x in $LDFLAGS $LIBINTL; do
13977
acl_save_prefix="$prefix"
13978
prefix="$acl_final_prefix"
13979
acl_save_exec_prefix="$exec_prefix"
13980
exec_prefix="$acl_final_exec_prefix"
13982
exec_prefix="$acl_save_exec_prefix"
13983
prefix="$acl_save_prefix"
13985
if test "X$x" = "X-L$additional_libdir"; then
13990
if test -z "$haveit"; then
13991
if test -d "$additional_libdir"; then
13992
LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
13996
for x in $LDFLAGS $LTLIBINTL; do
13998
acl_save_prefix="$prefix"
13999
prefix="$acl_final_prefix"
14000
acl_save_exec_prefix="$exec_prefix"
14001
exec_prefix="$acl_final_exec_prefix"
14003
exec_prefix="$acl_save_exec_prefix"
14004
prefix="$acl_save_prefix"
14006
if test "X$x" = "X-L$additional_libdir"; then
14011
if test -z "$haveit"; then
14012
if test -d "$additional_libdir"; then
14013
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
14020
dir=`echo "X$dep" | sed -e 's/^X-R//'`
14021
if test "$enable_rpath" != no; then
14023
for x in $rpathdirs; do
14024
if test "X$x" = "X$dir"; then
14029
if test -z "$haveit"; then
14030
rpathdirs="$rpathdirs $dir"
14033
for x in $ltrpathdirs; do
14034
if test "X$x" = "X$dir"; then
14039
if test -z "$haveit"; then
14040
ltrpathdirs="$ltrpathdirs $dir"
14045
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
14048
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
14051
LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
14052
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
14058
LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
14059
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
14065
if test "X$rpathdirs" != "X"; then
14066
if test -n "$acl_hardcode_libdir_separator"; then
14068
for found_dir in $rpathdirs; do
14069
alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
14071
acl_save_libdir="$libdir"
14073
eval flag=\"$acl_hardcode_libdir_flag_spec\"
14074
libdir="$acl_save_libdir"
14075
LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
14077
for found_dir in $rpathdirs; do
14078
acl_save_libdir="$libdir"
14079
libdir="$found_dir"
14080
eval flag=\"$acl_hardcode_libdir_flag_spec\"
14081
libdir="$acl_save_libdir"
14082
LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
14086
if test "X$ltrpathdirs" != "X"; then
14087
for found_dir in $ltrpathdirs; do
14088
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
14092
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
14093
$as_echo_n "checking for GNU gettext in libintl... " >&6; }
14094
if eval "test \"\${$gt_func_gnugettext_libintl+set}\"" = set; then :
14095
$as_echo_n "(cached) " >&6
14097
gt_save_CPPFLAGS="$CPPFLAGS"
14098
CPPFLAGS="$CPPFLAGS $INCINTL"
14099
gt_save_LIBS="$LIBS"
14100
LIBS="$LIBS $LIBINTL"
14101
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14102
/* end confdefs.h. */
14103
#include <libintl.h>
14104
$gt_revision_test_code
14105
extern int _nl_msg_cat_cntr;
14110
const char *_nl_expand_alias (const char *);
14114
bindtextdomain ("", "");
14115
return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
14120
if ac_fn_c_try_link "$LINENO"; then :
14121
eval "$gt_func_gnugettext_libintl=yes"
14123
eval "$gt_func_gnugettext_libintl=no"
14125
rm -f core conftest.err conftest.$ac_objext \
14126
conftest$ac_exeext conftest.$ac_ext
14127
if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
14128
LIBS="$LIBS $LIBICONV"
14129
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14130
/* end confdefs.h. */
14131
#include <libintl.h>
14132
$gt_revision_test_code
14133
extern int _nl_msg_cat_cntr;
14138
const char *_nl_expand_alias (const char *);
14142
bindtextdomain ("", "");
14143
return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
14148
if ac_fn_c_try_link "$LINENO"; then :
14149
LIBINTL="$LIBINTL $LIBICONV"
14150
LTLIBINTL="$LTLIBINTL $LTLIBICONV"
14151
eval "$gt_func_gnugettext_libintl=yes"
14154
rm -f core conftest.err conftest.$ac_objext \
14155
conftest$ac_exeext conftest.$ac_ext
14157
CPPFLAGS="$gt_save_CPPFLAGS"
14158
LIBS="$gt_save_LIBS"
14160
eval ac_res=\$$gt_func_gnugettext_libintl
14161
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14162
$as_echo "$ac_res" >&6; }
14165
if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
14166
|| { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
14167
&& test "$PACKAGE" != gettext-runtime \
14168
&& test "$PACKAGE" != gettext-tools; }; then
14169
gt_use_preinstalled_gnugettext=yes
14178
if test -n "$INTL_MACOSX_LIBS"; then
14179
if test "$gt_use_preinstalled_gnugettext" = "yes" \
14180
|| test "$nls_cv_use_gnu_gettext" = "yes"; then
14181
LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
14182
LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
14186
if test "$gt_use_preinstalled_gnugettext" = "yes" \
14187
|| test "$nls_cv_use_gnu_gettext" = "yes"; then
14189
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
14196
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
14197
$as_echo_n "checking whether to use NLS... " >&6; }
14198
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
14199
$as_echo "$USE_NLS" >&6; }
14200
if test "$USE_NLS" = "yes"; then
14201
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
14202
$as_echo_n "checking where the gettext function comes from... " >&6; }
14203
if test "$gt_use_preinstalled_gnugettext" = "yes"; then
14204
if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
14205
gt_source="external libintl"
14210
gt_source="included intl directory"
14212
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
14213
$as_echo "$gt_source" >&6; }
14216
if test "$USE_NLS" = "yes"; then
14218
if test "$gt_use_preinstalled_gnugettext" = "yes"; then
14219
if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
14220
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
14221
$as_echo_n "checking how to link with libintl... " >&6; }
14222
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
14223
$as_echo "$LIBINTL" >&6; }
14225
for element in $INCINTL; do
14227
for x in $CPPFLAGS; do
14229
acl_save_prefix="$prefix"
14230
prefix="$acl_final_prefix"
14231
acl_save_exec_prefix="$exec_prefix"
14232
exec_prefix="$acl_final_exec_prefix"
14234
exec_prefix="$acl_save_exec_prefix"
14235
prefix="$acl_save_prefix"
14237
if test "X$x" = "X$element"; then
14242
if test -z "$haveit"; then
14243
CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
14250
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
14253
$as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
14262
INTLLIBS="$LIBINTL"
14271
GETTEXT_PACKAGE=cheese
14274
cat >>confdefs.h <<_ACEOF
14275
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
14281
case "$am__api_version" in
14283
as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
14289
if test -n "0.40.0"; then
14290
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.40.0" >&5
14291
$as_echo_n "checking for intltool >= 0.40.0... " >&6; }
14293
INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.40.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
14294
INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
14295
INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
14297
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
14298
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
14299
test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
14300
as_fn_error $? "Your intltool is too old. You need intltool 0.40.0 or later." "$LINENO" 5
14303
# Extract the first word of "intltool-update", so it can be a program name with args.
14304
set dummy intltool-update; ac_word=$2
14305
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14306
$as_echo_n "checking for $ac_word... " >&6; }
14307
if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then :
14308
$as_echo_n "(cached) " >&6
14310
case $INTLTOOL_UPDATE in
14312
ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
14315
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14316
for as_dir in $PATH
14319
test -z "$as_dir" && as_dir=.
14320
for ac_exec_ext in '' $ac_executable_extensions; do
14321
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14322
ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
14323
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14333
INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
14334
if test -n "$INTLTOOL_UPDATE"; then
14335
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
14336
$as_echo "$INTLTOOL_UPDATE" >&6; }
14338
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14339
$as_echo "no" >&6; }
14343
# Extract the first word of "intltool-merge", so it can be a program name with args.
14344
set dummy intltool-merge; ac_word=$2
14345
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14346
$as_echo_n "checking for $ac_word... " >&6; }
14347
if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then :
14348
$as_echo_n "(cached) " >&6
14350
case $INTLTOOL_MERGE in
14352
ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
14355
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14356
for as_dir in $PATH
14359
test -z "$as_dir" && as_dir=.
14360
for ac_exec_ext in '' $ac_executable_extensions; do
14361
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14362
ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
14363
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14373
INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
14374
if test -n "$INTLTOOL_MERGE"; then
14375
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
14376
$as_echo "$INTLTOOL_MERGE" >&6; }
14378
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14379
$as_echo "no" >&6; }
14383
# Extract the first word of "intltool-extract", so it can be a program name with args.
14384
set dummy intltool-extract; ac_word=$2
14385
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14386
$as_echo_n "checking for $ac_word... " >&6; }
14387
if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then :
14388
$as_echo_n "(cached) " >&6
14390
case $INTLTOOL_EXTRACT in
14392
ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
14395
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14396
for as_dir in $PATH
14399
test -z "$as_dir" && as_dir=.
14400
for ac_exec_ext in '' $ac_executable_extensions; do
14401
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14402
ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
14403
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14413
INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
14414
if test -n "$INTLTOOL_EXTRACT"; then
14415
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
14416
$as_echo "$INTLTOOL_EXTRACT" >&6; }
14418
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14419
$as_echo "no" >&6; }
14423
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
14424
as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
14427
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 $< $@'
14428
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 $< $@'
14429
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 $< $@'
14430
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 $< $@'
14431
INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
14432
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 $< $@'
14433
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 $< $@'
14434
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 $< $@'
14435
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 $< $@'
14436
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 $< $@'
14437
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 $< $@'
14438
INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
14439
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 $< $@'
14440
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 $< $@'
14441
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 $< $@'
14442
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 $< $@'
14443
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 $< $@'
14444
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 $< $@'
14445
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 $< $@'
14543
# Check the gettext tools to make sure they are GNU
14544
# Extract the first word of "xgettext", so it can be a program name with args.
14545
set dummy xgettext; ac_word=$2
14546
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14547
$as_echo_n "checking for $ac_word... " >&6; }
14548
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
14549
$as_echo_n "(cached) " >&6
14553
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
14556
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14557
for as_dir in $PATH
14560
test -z "$as_dir" && as_dir=.
14561
for ac_exec_ext in '' $ac_executable_extensions; do
14562
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14563
ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
14564
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14574
XGETTEXT=$ac_cv_path_XGETTEXT
14575
if test -n "$XGETTEXT"; then
14576
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
14577
$as_echo "$XGETTEXT" >&6; }
14579
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14580
$as_echo "no" >&6; }
14584
# Extract the first word of "msgmerge", so it can be a program name with args.
14585
set dummy msgmerge; ac_word=$2
14586
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14587
$as_echo_n "checking for $ac_word... " >&6; }
14588
if test "${ac_cv_path_MSGMERGE+set}" = set; then :
14589
$as_echo_n "(cached) " >&6
14593
ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
14596
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14597
for as_dir in $PATH
14600
test -z "$as_dir" && as_dir=.
14601
for ac_exec_ext in '' $ac_executable_extensions; do
14602
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14603
ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
14604
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14614
MSGMERGE=$ac_cv_path_MSGMERGE
14615
if test -n "$MSGMERGE"; then
14616
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
14617
$as_echo "$MSGMERGE" >&6; }
14619
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14620
$as_echo "no" >&6; }
14624
# Extract the first word of "msgfmt", so it can be a program name with args.
14625
set dummy msgfmt; ac_word=$2
14626
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14627
$as_echo_n "checking for $ac_word... " >&6; }
14628
if test "${ac_cv_path_MSGFMT+set}" = set; then :
14629
$as_echo_n "(cached) " >&6
14633
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
14636
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14637
for as_dir in $PATH
14640
test -z "$as_dir" && as_dir=.
14641
for ac_exec_ext in '' $ac_executable_extensions; do
14642
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14643
ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
14644
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14654
MSGFMT=$ac_cv_path_MSGFMT
14655
if test -n "$MSGFMT"; then
14656
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
14657
$as_echo "$MSGFMT" >&6; }
14659
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14660
$as_echo "no" >&6; }
14664
# Extract the first word of "gmsgfmt", so it can be a program name with args.
14665
set dummy gmsgfmt; ac_word=$2
14666
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14667
$as_echo_n "checking for $ac_word... " >&6; }
14668
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
14669
$as_echo_n "(cached) " >&6
14673
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
14676
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14677
for as_dir in $PATH
14680
test -z "$as_dir" && as_dir=.
14681
for ac_exec_ext in '' $ac_executable_extensions; do
14682
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14683
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
14684
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14691
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
14695
GMSGFMT=$ac_cv_path_GMSGFMT
14696
if test -n "$GMSGFMT"; then
14697
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
14698
$as_echo "$GMSGFMT" >&6; }
14700
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14701
$as_echo "no" >&6; }
14705
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
14706
as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
14708
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
14709
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
14710
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
14711
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
14712
as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
14715
# Extract the first word of "perl", so it can be a program name with args.
14716
set dummy perl; ac_word=$2
14717
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14718
$as_echo_n "checking for $ac_word... " >&6; }
14719
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then :
14720
$as_echo_n "(cached) " >&6
14722
case $INTLTOOL_PERL in
14724
ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
14727
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14728
for as_dir in $PATH
14731
test -z "$as_dir" && as_dir=.
14732
for ac_exec_ext in '' $ac_executable_extensions; do
14733
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14734
ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
14735
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14745
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
14746
if test -n "$INTLTOOL_PERL"; then
14747
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
14748
$as_echo "$INTLTOOL_PERL" >&6; }
14750
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14751
$as_echo "no" >&6; }
14755
if test -z "$INTLTOOL_PERL"; then
14756
as_fn_error $? "perl not found" "$LINENO" 5
14758
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
14759
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
14760
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
14761
if test $? -ne 0; then
14762
as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
14764
IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
14765
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
14766
$as_echo "$IT_PERL_VERSION" >&6; }
14768
if test "x" != "xno-xml"; then
14769
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
14770
$as_echo_n "checking for XML::Parser... " >&6; }
14771
if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
14772
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
14773
$as_echo "ok" >&6; }
14775
as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
14779
# Substitute ALL_LINGUAS so we can use it in po/Makefile
14782
# Set DATADIRNAME correctly if it is not set yet
14783
# (copied from glib-gettext.m4)
14784
if test -z "$DATADIRNAME"; then
14785
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14786
/* end confdefs.h. */
14791
extern int _nl_msg_cat_cntr;
14792
return _nl_msg_cat_cntr
14797
if ac_fn_c_try_link "$LINENO"; then :
14802
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
14803
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
14815
rm -f core conftest.err conftest.$ac_objext \
14816
conftest$ac_exeext conftest.$ac_ext
14824
#*******************************************************************************
14825
# Check required libraries
14826
#*******************************************************************************
14829
GLIB_REQUIRED=2.28.0
14830
GOBJECT_REQUIRED=2.28.0
14831
GIO_REQUIRED=2.28.0
14832
GTK_REQUIRED=2.99.4
14833
GDK_REQUIRED=2.99.4
14834
LIBGNOMEDESKTOP_REQUIRED=2.91.6
14835
GSTREAMER_REQUIRED=0.10.32
14836
CAIRO_REQUIRED=1.10.0
14837
PANGOCAIRO_REQUIRED=1.28.0
14838
LIBRSVG_REQUIRED=2.32.0
14839
CLUTTER_REQUIRED=1.6.1
14840
CLUTTERGTK_REQUIRED=0.91.8
14841
CLUTTERGST_REQUIRED=1.0.0
14843
LIBCANBERRA_REQUIRED=0.26
14845
#*******************************************************************************
14847
#*******************************************************************************
14856
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
14857
if test -n "$ac_tool_prefix"; then
14858
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
14859
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
14860
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14861
$as_echo_n "checking for $ac_word... " >&6; }
14862
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
14863
$as_echo_n "(cached) " >&6
14865
case $PKG_CONFIG in
14867
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
14870
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14871
for as_dir in $PATH
14874
test -z "$as_dir" && as_dir=.
14875
for ac_exec_ext in '' $ac_executable_extensions; do
14876
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14877
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14878
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14888
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
14889
if test -n "$PKG_CONFIG"; then
14890
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
14891
$as_echo "$PKG_CONFIG" >&6; }
14893
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14894
$as_echo "no" >&6; }
14899
if test -z "$ac_cv_path_PKG_CONFIG"; then
14900
ac_pt_PKG_CONFIG=$PKG_CONFIG
14901
# Extract the first word of "pkg-config", so it can be a program name with args.
14902
set dummy pkg-config; ac_word=$2
14903
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14904
$as_echo_n "checking for $ac_word... " >&6; }
14905
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
14906
$as_echo_n "(cached) " >&6
14908
case $ac_pt_PKG_CONFIG in
14910
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
14913
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14914
for as_dir in $PATH
14917
test -z "$as_dir" && as_dir=.
14918
for ac_exec_ext in '' $ac_executable_extensions; do
14919
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14920
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14921
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14931
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
14932
if test -n "$ac_pt_PKG_CONFIG"; then
14933
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
14934
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
14936
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14937
$as_echo "no" >&6; }
14940
if test "x$ac_pt_PKG_CONFIG" = x; then
14943
case $cross_compiling:$ac_tool_warned in
14945
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14946
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14947
ac_tool_warned=yes ;;
14949
PKG_CONFIG=$ac_pt_PKG_CONFIG
14952
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
14956
if test -n "$PKG_CONFIG"; then
14957
_pkg_min_version=0.9.0
14958
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
14959
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
14960
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
14961
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14962
$as_echo "yes" >&6; }
14964
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14965
$as_echo "no" >&6; }
14971
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for UDEV" >&5
14972
$as_echo_n "checking for UDEV... " >&6; }
14974
if test -n "$UDEV_CFLAGS"; then
14975
pkg_cv_UDEV_CFLAGS="$UDEV_CFLAGS"
14976
elif test -n "$PKG_CONFIG"; then
14977
if test -n "$PKG_CONFIG" && \
14978
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gudev-1.0\""; } >&5
14979
($PKG_CONFIG --exists --print-errors "gudev-1.0") 2>&5
14981
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14982
test $ac_status = 0; }; then
14983
pkg_cv_UDEV_CFLAGS=`$PKG_CONFIG --cflags "gudev-1.0" 2>/dev/null`
14990
if test -n "$UDEV_LIBS"; then
14991
pkg_cv_UDEV_LIBS="$UDEV_LIBS"
14992
elif test -n "$PKG_CONFIG"; then
14993
if test -n "$PKG_CONFIG" && \
14994
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gudev-1.0\""; } >&5
14995
($PKG_CONFIG --exists --print-errors "gudev-1.0") 2>&5
14997
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14998
test $ac_status = 0; }; then
14999
pkg_cv_UDEV_LIBS=`$PKG_CONFIG --libs "gudev-1.0" 2>/dev/null`
15009
if test $pkg_failed = yes; then
15010
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15011
$as_echo "no" >&6; }
15013
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15014
_pkg_short_errors_supported=yes
15016
_pkg_short_errors_supported=no
15018
if test $_pkg_short_errors_supported = yes; then
15019
UDEV_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gudev-1.0" 2>&1`
15021
UDEV_PKG_ERRORS=`$PKG_CONFIG --print-errors "gudev-1.0" 2>&1`
15023
# Put the nasty error message in config.log where it belongs
15024
echo "$UDEV_PKG_ERRORS" >&5
15027
elif test $pkg_failed = untried; then
15028
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15029
$as_echo "no" >&6; }
15032
UDEV_CFLAGS=$pkg_cv_UDEV_CFLAGS
15033
UDEV_LIBS=$pkg_cv_UDEV_LIBS
15034
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15035
$as_echo "yes" >&6; }
15037
$as_echo "#define HAVE_UDEV 1" >>confdefs.h
15042
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking operating system" >&5
15043
$as_echo_n "checking operating system... " >&6; }
15047
$as_echo "#define OS_LINUX /**/" >>confdefs.h
15050
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Linux" >&5
15051
$as_echo "Linux" >&6; }
15052
if test x$UDEV_PKG = "x" ; then
15053
as_fn_error $? "libgudev is required under Linux and not installed" "$LINENO" 5
15057
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported operating system" >&5
15058
$as_echo "unsupported operating system" >&6; }
15062
ac_fn_c_check_header_mongrel "$LINENO" "sys/videoio.h" "ac_cv_header_sys_videoio_h" "$ac_includes_default"
15063
if test "x$ac_cv_header_sys_videoio_h" = x""yes; then :
15065
$as_echo "#define USE_SYS_VIDEOIO_H 1" >>confdefs.h
15069
$as_echo "#define USE_SYS_VIDEOIO_H 0" >>confdefs.h
15076
ac_fn_c_check_header_mongrel "$LINENO" "X11/extensions/XTest.h" "ac_cv_header_X11_extensions_XTest_h" "$ac_includes_default"
15077
if test "x$ac_cv_header_X11_extensions_XTest_h" = x""yes; then :
15079
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XTestFakeKeyEvent in -lXtst" >&5
15080
$as_echo_n "checking for XTestFakeKeyEvent in -lXtst... " >&6; }
15081
if test "${ac_cv_lib_Xtst_XTestFakeKeyEvent+set}" = set; then :
15082
$as_echo_n "(cached) " >&6
15084
ac_check_lib_save_LIBS=$LIBS
15085
LIBS="-lXtst $LIBS"
15086
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15087
/* end confdefs.h. */
15089
/* Override any GCC internal prototype to avoid an error.
15090
Use char because int might match the return type of a GCC
15091
builtin and then its argument prototype would still apply. */
15095
char XTestFakeKeyEvent ();
15099
return XTestFakeKeyEvent ();
15104
if ac_fn_c_try_link "$LINENO"; then :
15105
ac_cv_lib_Xtst_XTestFakeKeyEvent=yes
15107
ac_cv_lib_Xtst_XTestFakeKeyEvent=no
15109
rm -f core conftest.err conftest.$ac_objext \
15110
conftest$ac_exeext conftest.$ac_ext
15111
LIBS=$ac_check_lib_save_LIBS
15113
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xtst_XTestFakeKeyEvent" >&5
15114
$as_echo "$ac_cv_lib_Xtst_XTestFakeKeyEvent" >&6; }
15115
if test "x$ac_cv_lib_Xtst_XTestFakeKeyEvent" = x""yes; then :
15118
$as_echo "#define HAVE_XTEST 1" >>confdefs.h
15120
XTEST_LIBS="-lX11 -lXtst"
15128
if test "x$HAVE_TEST" = "xyes"; then
15130
HAVE_XTEST_FALSE='#'
15132
HAVE_XTEST_TRUE='#'
15139
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHEESE" >&5
15140
$as_echo_n "checking for CHEESE... " >&6; }
15142
if test -n "$CHEESE_CFLAGS"; then
15143
pkg_cv_CHEESE_CFLAGS="$CHEESE_CFLAGS"
15144
elif test -n "$PKG_CONFIG"; then
15145
if test -n "$PKG_CONFIG" && \
15146
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
15147
glib-2.0 >= \$GLIB_REQUIRED \\
15148
gobject-2.0 >= \$GOBJECT_REQUIRED \\
15150
gstreamer-0.10 >= \$GSTREAMER_REQUIRED \\
15151
gstreamer-plugins-base-0.10 >= \$GSTREAMER_REQUIRED \\
15152
cairo >= \$CAIRO_REQUIRED \\
15153
pangocairo >= \$PANGOCAIRO_REQUIRED \\
15154
clutter-1.0 >= \$CLUTTER_REQUIRED \\
15155
clutter-gst-1.0 >= \$CLUTTERGST_REQUIRED \\
15159
($PKG_CONFIG --exists --print-errors "\
15160
glib-2.0 >= $GLIB_REQUIRED \
15161
gobject-2.0 >= $GOBJECT_REQUIRED \
15163
gstreamer-0.10 >= $GSTREAMER_REQUIRED \
15164
gstreamer-plugins-base-0.10 >= $GSTREAMER_REQUIRED \
15165
cairo >= $CAIRO_REQUIRED \
15166
pangocairo >= $PANGOCAIRO_REQUIRED \
15167
clutter-1.0 >= $CLUTTER_REQUIRED \
15168
clutter-gst-1.0 >= $CLUTTERGST_REQUIRED \
15173
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15174
test $ac_status = 0; }; then
15175
pkg_cv_CHEESE_CFLAGS=`$PKG_CONFIG --cflags "\
15176
glib-2.0 >= $GLIB_REQUIRED \
15177
gobject-2.0 >= $GOBJECT_REQUIRED \
15179
gstreamer-0.10 >= $GSTREAMER_REQUIRED \
15180
gstreamer-plugins-base-0.10 >= $GSTREAMER_REQUIRED \
15181
cairo >= $CAIRO_REQUIRED \
15182
pangocairo >= $PANGOCAIRO_REQUIRED \
15183
clutter-1.0 >= $CLUTTER_REQUIRED \
15184
clutter-gst-1.0 >= $CLUTTERGST_REQUIRED \
15194
if test -n "$CHEESE_LIBS"; then
15195
pkg_cv_CHEESE_LIBS="$CHEESE_LIBS"
15196
elif test -n "$PKG_CONFIG"; then
15197
if test -n "$PKG_CONFIG" && \
15198
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
15199
glib-2.0 >= \$GLIB_REQUIRED \\
15200
gobject-2.0 >= \$GOBJECT_REQUIRED \\
15202
gstreamer-0.10 >= \$GSTREAMER_REQUIRED \\
15203
gstreamer-plugins-base-0.10 >= \$GSTREAMER_REQUIRED \\
15204
cairo >= \$CAIRO_REQUIRED \\
15205
pangocairo >= \$PANGOCAIRO_REQUIRED \\
15206
clutter-1.0 >= \$CLUTTER_REQUIRED \\
15207
clutter-gst-1.0 >= \$CLUTTERGST_REQUIRED \\
15211
($PKG_CONFIG --exists --print-errors "\
15212
glib-2.0 >= $GLIB_REQUIRED \
15213
gobject-2.0 >= $GOBJECT_REQUIRED \
15215
gstreamer-0.10 >= $GSTREAMER_REQUIRED \
15216
gstreamer-plugins-base-0.10 >= $GSTREAMER_REQUIRED \
15217
cairo >= $CAIRO_REQUIRED \
15218
pangocairo >= $PANGOCAIRO_REQUIRED \
15219
clutter-1.0 >= $CLUTTER_REQUIRED \
15220
clutter-gst-1.0 >= $CLUTTERGST_REQUIRED \
15225
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15226
test $ac_status = 0; }; then
15227
pkg_cv_CHEESE_LIBS=`$PKG_CONFIG --libs "\
15228
glib-2.0 >= $GLIB_REQUIRED \
15229
gobject-2.0 >= $GOBJECT_REQUIRED \
15231
gstreamer-0.10 >= $GSTREAMER_REQUIRED \
15232
gstreamer-plugins-base-0.10 >= $GSTREAMER_REQUIRED \
15233
cairo >= $CAIRO_REQUIRED \
15234
pangocairo >= $PANGOCAIRO_REQUIRED \
15235
clutter-1.0 >= $CLUTTER_REQUIRED \
15236
clutter-gst-1.0 >= $CLUTTERGST_REQUIRED \
15249
if test $pkg_failed = yes; then
15250
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15251
$as_echo "no" >&6; }
15253
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15254
_pkg_short_errors_supported=yes
15256
_pkg_short_errors_supported=no
15258
if test $_pkg_short_errors_supported = yes; then
15259
CHEESE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "\
15260
glib-2.0 >= $GLIB_REQUIRED \
15261
gobject-2.0 >= $GOBJECT_REQUIRED \
15263
gstreamer-0.10 >= $GSTREAMER_REQUIRED \
15264
gstreamer-plugins-base-0.10 >= $GSTREAMER_REQUIRED \
15265
cairo >= $CAIRO_REQUIRED \
15266
pangocairo >= $PANGOCAIRO_REQUIRED \
15267
clutter-1.0 >= $CLUTTER_REQUIRED \
15268
clutter-gst-1.0 >= $CLUTTERGST_REQUIRED \
15273
CHEESE_PKG_ERRORS=`$PKG_CONFIG --print-errors "\
15274
glib-2.0 >= $GLIB_REQUIRED \
15275
gobject-2.0 >= $GOBJECT_REQUIRED \
15277
gstreamer-0.10 >= $GSTREAMER_REQUIRED \
15278
gstreamer-plugins-base-0.10 >= $GSTREAMER_REQUIRED \
15279
cairo >= $CAIRO_REQUIRED \
15280
pangocairo >= $PANGOCAIRO_REQUIRED \
15281
clutter-1.0 >= $CLUTTER_REQUIRED \
15282
clutter-gst-1.0 >= $CLUTTERGST_REQUIRED \
15287
# Put the nasty error message in config.log where it belongs
15288
echo "$CHEESE_PKG_ERRORS" >&5
15290
as_fn_error $? "Package requirements (\
15291
glib-2.0 >= $GLIB_REQUIRED \
15292
gobject-2.0 >= $GOBJECT_REQUIRED \
15294
gstreamer-0.10 >= $GSTREAMER_REQUIRED \
15295
gstreamer-plugins-base-0.10 >= $GSTREAMER_REQUIRED \
15296
cairo >= $CAIRO_REQUIRED \
15297
pangocairo >= $PANGOCAIRO_REQUIRED \
15298
clutter-1.0 >= $CLUTTER_REQUIRED \
15299
clutter-gst-1.0 >= $CLUTTERGST_REQUIRED \
15306
Consider adjusting the PKG_CONFIG_PATH environment variable if you
15307
installed software in a non-standard prefix.
15309
Alternatively, you may set the environment variables CHEESE_CFLAGS
15310
and CHEESE_LIBS to avoid the need to call pkg-config.
15311
See the pkg-config man page for more details." "$LINENO" 5
15312
elif test $pkg_failed = untried; then
15313
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15314
$as_echo "no" >&6; }
15315
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15316
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15317
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
15318
is in your PATH or set the PKG_CONFIG environment variable to the full
15319
path to pkg-config.
15321
Alternatively, you may set the environment variables CHEESE_CFLAGS
15322
and CHEESE_LIBS to avoid the need to call pkg-config.
15323
See the pkg-config man page for more details.
15325
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15326
See \`config.log' for more details" "$LINENO" 5 ; }
15328
CHEESE_CFLAGS=$pkg_cv_CHEESE_CFLAGS
15329
CHEESE_LIBS=$pkg_cv_CHEESE_LIBS
15330
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15331
$as_echo "yes" >&6; }
15336
CHEESE_LIBS="$CHEESE_LIBS -lgstinterfaces-0.10"
15340
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHEESE_GTK" >&5
15341
$as_echo_n "checking for CHEESE_GTK... " >&6; }
15343
if test -n "$CHEESE_GTK_CFLAGS"; then
15344
pkg_cv_CHEESE_GTK_CFLAGS="$CHEESE_GTK_CFLAGS"
15345
elif test -n "$PKG_CONFIG"; then
15346
if test -n "$PKG_CONFIG" && \
15347
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
15348
gio-2.0 >= \$GIO_REQUIRED \\
15349
gtk+-3.0 >= \$GTK_REQUIRED \\
15350
gdk-3.0 >= \$GDK_REQUIRED \\
15351
gnome-desktop-3.0 >= \$LIBGNOMEDESKTOP_REQUIRED \\
15352
librsvg-2.0 >= \$LIBRSVG_REQUIRED \\
15353
clutter-gtk-1.0 >= \$CLUTTERGTK_REQUIRED \\
15354
gee-1.0 >= \$GEE_REQUIRED \\
15355
libcanberra-gtk3 >= \$LIBCANBERRA_REQUIRED \\
15357
gnome-video-effects
15359
($PKG_CONFIG --exists --print-errors "\
15360
gio-2.0 >= $GIO_REQUIRED \
15361
gtk+-3.0 >= $GTK_REQUIRED \
15362
gdk-3.0 >= $GDK_REQUIRED \
15363
gnome-desktop-3.0 >= $LIBGNOMEDESKTOP_REQUIRED \
15364
librsvg-2.0 >= $LIBRSVG_REQUIRED \
15365
clutter-gtk-1.0 >= $CLUTTERGTK_REQUIRED \
15366
gee-1.0 >= $GEE_REQUIRED \
15367
libcanberra-gtk3 >= $LIBCANBERRA_REQUIRED \
15369
gnome-video-effects
15372
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15373
test $ac_status = 0; }; then
15374
pkg_cv_CHEESE_GTK_CFLAGS=`$PKG_CONFIG --cflags "\
15375
gio-2.0 >= $GIO_REQUIRED \
15376
gtk+-3.0 >= $GTK_REQUIRED \
15377
gdk-3.0 >= $GDK_REQUIRED \
15378
gnome-desktop-3.0 >= $LIBGNOMEDESKTOP_REQUIRED \
15379
librsvg-2.0 >= $LIBRSVG_REQUIRED \
15380
clutter-gtk-1.0 >= $CLUTTERGTK_REQUIRED \
15381
gee-1.0 >= $GEE_REQUIRED \
15382
libcanberra-gtk3 >= $LIBCANBERRA_REQUIRED \
15384
gnome-video-effects
15392
if test -n "$CHEESE_GTK_LIBS"; then
15393
pkg_cv_CHEESE_GTK_LIBS="$CHEESE_GTK_LIBS"
15394
elif test -n "$PKG_CONFIG"; then
15395
if test -n "$PKG_CONFIG" && \
15396
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
15397
gio-2.0 >= \$GIO_REQUIRED \\
15398
gtk+-3.0 >= \$GTK_REQUIRED \\
15399
gdk-3.0 >= \$GDK_REQUIRED \\
15400
gnome-desktop-3.0 >= \$LIBGNOMEDESKTOP_REQUIRED \\
15401
librsvg-2.0 >= \$LIBRSVG_REQUIRED \\
15402
clutter-gtk-1.0 >= \$CLUTTERGTK_REQUIRED \\
15403
gee-1.0 >= \$GEE_REQUIRED \\
15404
libcanberra-gtk3 >= \$LIBCANBERRA_REQUIRED \\
15406
gnome-video-effects
15408
($PKG_CONFIG --exists --print-errors "\
15409
gio-2.0 >= $GIO_REQUIRED \
15410
gtk+-3.0 >= $GTK_REQUIRED \
15411
gdk-3.0 >= $GDK_REQUIRED \
15412
gnome-desktop-3.0 >= $LIBGNOMEDESKTOP_REQUIRED \
15413
librsvg-2.0 >= $LIBRSVG_REQUIRED \
15414
clutter-gtk-1.0 >= $CLUTTERGTK_REQUIRED \
15415
gee-1.0 >= $GEE_REQUIRED \
15416
libcanberra-gtk3 >= $LIBCANBERRA_REQUIRED \
15418
gnome-video-effects
15421
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15422
test $ac_status = 0; }; then
15423
pkg_cv_CHEESE_GTK_LIBS=`$PKG_CONFIG --libs "\
15424
gio-2.0 >= $GIO_REQUIRED \
15425
gtk+-3.0 >= $GTK_REQUIRED \
15426
gdk-3.0 >= $GDK_REQUIRED \
15427
gnome-desktop-3.0 >= $LIBGNOMEDESKTOP_REQUIRED \
15428
librsvg-2.0 >= $LIBRSVG_REQUIRED \
15429
clutter-gtk-1.0 >= $CLUTTERGTK_REQUIRED \
15430
gee-1.0 >= $GEE_REQUIRED \
15431
libcanberra-gtk3 >= $LIBCANBERRA_REQUIRED \
15433
gnome-video-effects
15444
if test $pkg_failed = yes; then
15445
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15446
$as_echo "no" >&6; }
15448
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15449
_pkg_short_errors_supported=yes
15451
_pkg_short_errors_supported=no
15453
if test $_pkg_short_errors_supported = yes; then
15454
CHEESE_GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "\
15455
gio-2.0 >= $GIO_REQUIRED \
15456
gtk+-3.0 >= $GTK_REQUIRED \
15457
gdk-3.0 >= $GDK_REQUIRED \
15458
gnome-desktop-3.0 >= $LIBGNOMEDESKTOP_REQUIRED \
15459
librsvg-2.0 >= $LIBRSVG_REQUIRED \
15460
clutter-gtk-1.0 >= $CLUTTERGTK_REQUIRED \
15461
gee-1.0 >= $GEE_REQUIRED \
15462
libcanberra-gtk3 >= $LIBCANBERRA_REQUIRED \
15464
gnome-video-effects
15467
CHEESE_GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors "\
15468
gio-2.0 >= $GIO_REQUIRED \
15469
gtk+-3.0 >= $GTK_REQUIRED \
15470
gdk-3.0 >= $GDK_REQUIRED \
15471
gnome-desktop-3.0 >= $LIBGNOMEDESKTOP_REQUIRED \
15472
librsvg-2.0 >= $LIBRSVG_REQUIRED \
15473
clutter-gtk-1.0 >= $CLUTTERGTK_REQUIRED \
15474
gee-1.0 >= $GEE_REQUIRED \
15475
libcanberra-gtk3 >= $LIBCANBERRA_REQUIRED \
15477
gnome-video-effects
15480
# Put the nasty error message in config.log where it belongs
15481
echo "$CHEESE_GTK_PKG_ERRORS" >&5
15483
as_fn_error $? "Package requirements (\
15484
gio-2.0 >= $GIO_REQUIRED \
15485
gtk+-3.0 >= $GTK_REQUIRED \
15486
gdk-3.0 >= $GDK_REQUIRED \
15487
gnome-desktop-3.0 >= $LIBGNOMEDESKTOP_REQUIRED \
15488
librsvg-2.0 >= $LIBRSVG_REQUIRED \
15489
clutter-gtk-1.0 >= $CLUTTERGTK_REQUIRED \
15490
gee-1.0 >= $GEE_REQUIRED \
15491
libcanberra-gtk3 >= $LIBCANBERRA_REQUIRED \
15493
gnome-video-effects
15496
$CHEESE_GTK_PKG_ERRORS
15498
Consider adjusting the PKG_CONFIG_PATH environment variable if you
15499
installed software in a non-standard prefix.
15501
Alternatively, you may set the environment variables CHEESE_GTK_CFLAGS
15502
and CHEESE_GTK_LIBS to avoid the need to call pkg-config.
15503
See the pkg-config man page for more details." "$LINENO" 5
15504
elif test $pkg_failed = untried; then
15505
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15506
$as_echo "no" >&6; }
15507
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15508
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15509
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
15510
is in your PATH or set the PKG_CONFIG environment variable to the full
15511
path to pkg-config.
15513
Alternatively, you may set the environment variables CHEESE_GTK_CFLAGS
15514
and CHEESE_GTK_LIBS to avoid the need to call pkg-config.
15515
See the pkg-config man page for more details.
15517
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15518
See \`config.log' for more details" "$LINENO" 5 ; }
15520
CHEESE_GTK_CFLAGS=$pkg_cv_CHEESE_GTK_CFLAGS
15521
CHEESE_GTK_LIBS=$pkg_cv_CHEESE_GTK_LIBS
15522
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15523
$as_echo "yes" >&6; }
15529
GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`
15530
GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
15537
# Check whether --enable-introspection was given.
15538
if test "${enable_introspection+set}" = set; then :
15539
enableval=$enable_introspection;
15541
enable_introspection=auto
15545
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5
15546
$as_echo_n "checking for gobject-introspection... " >&6; }
15548
case $enable_introspection in #(
15550
found_introspection="no (disabled, use --enable-introspection to enable)"
15553
if test -n "$PKG_CONFIG" && \
15554
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5
15555
($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5
15557
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15558
test $ac_status = 0; }; then
15561
as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5
15563
if test -n "$PKG_CONFIG" && \
15564
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.6.7\""; } >&5
15565
($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.6.7") 2>&5
15567
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15568
test $ac_status = 0; }; then
15569
found_introspection=yes
15571
as_fn_error $? "You need to have gobject-introspection >= 0.6.7 installed to build cheese" "$LINENO" 5
15575
if test -n "$PKG_CONFIG" && \
15576
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.6.7\""; } >&5
15577
($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.6.7") 2>&5
15579
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15580
test $ac_status = 0; }; then
15581
found_introspection=yes
15583
found_introspection=no
15587
as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5
15590
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5
15591
$as_echo "$found_introspection" >&6; }
15593
INTROSPECTION_SCANNER=
15594
INTROSPECTION_COMPILER=
15595
INTROSPECTION_GENERATE=
15596
INTROSPECTION_GIRDIR=
15597
INTROSPECTION_TYPELIBDIR=
15598
if test "x$found_introspection" = "xyes"; then
15599
INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
15600
INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
15601
INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
15602
INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
15603
INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
15604
INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
15605
INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
15606
INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
15617
if test "x$found_introspection" = "xyes"; then
15618
HAVE_INTROSPECTION_TRUE=
15619
HAVE_INTROSPECTION_FALSE='#'
15621
HAVE_INTROSPECTION_TRUE='#'
15622
HAVE_INTROSPECTION_FALSE=
15628
# API documentation
15631
# Extract the first word of "gtkdoc-check", so it can be a program name with args.
15632
set dummy gtkdoc-check; ac_word=$2
15633
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15634
$as_echo_n "checking for $ac_word... " >&6; }
15635
if test "${ac_cv_path_GTKDOC_CHECK+set}" = set; then :
15636
$as_echo_n "(cached) " >&6
15638
case $GTKDOC_CHECK in
15640
ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
15643
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15644
for as_dir in $PATH
15647
test -z "$as_dir" && as_dir=.
15648
for ac_exec_ext in '' $ac_executable_extensions; do
15649
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15650
ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
15651
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15661
GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
15662
if test -n "$GTKDOC_CHECK"; then
15663
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
15664
$as_echo "$GTKDOC_CHECK" >&6; }
15666
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15667
$as_echo "no" >&6; }
15671
for ac_prog in gtkdoc-rebase
15673
# Extract the first word of "$ac_prog", so it can be a program name with args.
15674
set dummy $ac_prog; ac_word=$2
15675
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15676
$as_echo_n "checking for $ac_word... " >&6; }
15677
if test "${ac_cv_path_GTKDOC_REBASE+set}" = set; then :
15678
$as_echo_n "(cached) " >&6
15680
case $GTKDOC_REBASE in
15682
ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
15685
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15686
for as_dir in $PATH
15689
test -z "$as_dir" && as_dir=.
15690
for ac_exec_ext in '' $ac_executable_extensions; do
15691
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15692
ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
15693
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15703
GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
15704
if test -n "$GTKDOC_REBASE"; then
15705
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
15706
$as_echo "$GTKDOC_REBASE" >&6; }
15708
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15709
$as_echo "no" >&6; }
15713
test -n "$GTKDOC_REBASE" && break
15715
test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
15717
# Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
15718
set dummy gtkdoc-mkpdf; ac_word=$2
15719
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15720
$as_echo_n "checking for $ac_word... " >&6; }
15721
if test "${ac_cv_path_GTKDOC_MKPDF+set}" = set; then :
15722
$as_echo_n "(cached) " >&6
15724
case $GTKDOC_MKPDF in
15726
ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
15729
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15730
for as_dir in $PATH
15733
test -z "$as_dir" && as_dir=.
15734
for ac_exec_ext in '' $ac_executable_extensions; do
15735
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15736
ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
15737
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15747
GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
15748
if test -n "$GTKDOC_MKPDF"; then
15749
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
15750
$as_echo "$GTKDOC_MKPDF" >&6; }
15752
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15753
$as_echo "no" >&6; }
15759
# Check whether --with-html-dir was given.
15760
if test "${with_html_dir+set}" = set; then :
15761
withval=$with_html_dir;
15763
with_html_dir='${datadir}/gtk-doc/html'
15766
HTML_DIR="$with_html_dir"
15769
# Check whether --enable-gtk-doc was given.
15770
if test "${enable_gtk_doc+set}" = set; then :
15771
enableval=$enable_gtk_doc;
15777
if test x$enable_gtk_doc = xyes; then
15778
if test -n "$PKG_CONFIG" && \
15779
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.14\""; } >&5
15780
($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.14") 2>&5
15782
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15783
test $ac_status = 0; }; then
15786
as_fn_error $? "You need to have gtk-doc >= 1.14 installed to build $PACKAGE_NAME" "$LINENO" 5
15790
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
15791
$as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
15792
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
15793
$as_echo "$enable_gtk_doc" >&6; }
15795
# Check whether --enable-gtk-doc-html was given.
15796
if test "${enable_gtk_doc_html+set}" = set; then :
15797
enableval=$enable_gtk_doc_html;
15799
enable_gtk_doc_html=yes
15802
# Check whether --enable-gtk-doc-pdf was given.
15803
if test "${enable_gtk_doc_pdf+set}" = set; then :
15804
enableval=$enable_gtk_doc_pdf;
15806
enable_gtk_doc_pdf=no
15810
if test -z "$GTKDOC_MKPDF"; then
15811
enable_gtk_doc_pdf=no
15815
if test x$enable_gtk_doc = xyes; then
15816
ENABLE_GTK_DOC_TRUE=
15817
ENABLE_GTK_DOC_FALSE='#'
15819
ENABLE_GTK_DOC_TRUE='#'
15820
ENABLE_GTK_DOC_FALSE=
15823
if test x$enable_gtk_doc_html = xyes; then
15824
GTK_DOC_BUILD_HTML_TRUE=
15825
GTK_DOC_BUILD_HTML_FALSE='#'
15827
GTK_DOC_BUILD_HTML_TRUE='#'
15828
GTK_DOC_BUILD_HTML_FALSE=
15831
if test x$enable_gtk_doc_pdf = xyes; then
15832
GTK_DOC_BUILD_PDF_TRUE=
15833
GTK_DOC_BUILD_PDF_FALSE='#'
15835
GTK_DOC_BUILD_PDF_TRUE='#'
15836
GTK_DOC_BUILD_PDF_FALSE=
15839
if test -n "$LIBTOOL"; then
15840
GTK_DOC_USE_LIBTOOL_TRUE=
15841
GTK_DOC_USE_LIBTOOL_FALSE='#'
15843
GTK_DOC_USE_LIBTOOL_TRUE='#'
15844
GTK_DOC_USE_LIBTOOL_FALSE=
15847
if test -n "$GTKDOC_REBASE"; then
15848
GTK_DOC_USE_REBASE_TRUE=
15849
GTK_DOC_USE_REBASE_FALSE='#'
15851
GTK_DOC_USE_REBASE_TRUE='#'
15852
GTK_DOC_USE_REBASE_FALSE=
15859
gdu_cv_version_required=0.20
15861
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking gnome-doc-utils >= $gdu_cv_version_required" >&5
15862
$as_echo_n "checking gnome-doc-utils >= $gdu_cv_version_required... " >&6; }
15863
if test -n "$PKG_CONFIG" && \
15864
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-doc-utils >= \$gdu_cv_version_required\""; } >&5
15865
($PKG_CONFIG --exists --print-errors "gnome-doc-utils >= $gdu_cv_version_required") 2>&5
15867
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15868
test $ac_status = 0; }; then
15869
gdu_cv_have_gdu=yes
15874
if test "$gdu_cv_have_gdu" = "yes"; then
15875
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15876
$as_echo "yes" >&6; }
15879
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15880
$as_echo "no" >&6; }
15881
as_fn_error $? "gnome-doc-utils >= $gdu_cv_version_required not found" "$LINENO" 5
15886
# Check whether --with-help-dir was given.
15887
if test "${with_help_dir+set}" = set; then :
15888
withval=$with_help_dir;
15890
with_help_dir='${datadir}/gnome/help'
15893
HELP_DIR="$with_help_dir"
15897
# Check whether --with-omf-dir was given.
15898
if test "${with_omf_dir+set}" = set; then :
15899
withval=$with_omf_dir;
15901
with_omf_dir='${datadir}/omf'
15904
OMF_DIR="$with_omf_dir"
15908
# Check whether --with-help-formats was given.
15909
if test "${with_help_formats+set}" = set; then :
15910
withval=$with_help_formats;
15912
with_help_formats=''
15915
DOC_USER_FORMATS="$with_help_formats"
15918
# Check whether --enable-scrollkeeper was given.
15919
if test "${enable_scrollkeeper+set}" = set; then :
15920
enableval=$enable_scrollkeeper;
15922
enable_scrollkeeper=yes
15925
if test "$gdu_cv_have_gdu" = "yes" -a "$enable_scrollkeeper" = "yes"; then
15927
ENABLE_SK_FALSE='#'
15934
DISTCHECK_CONFIGURE_FLAGS="--disable-scrollkeeper $DISTCHECK_CONFIGURE_FLAGS"
15937
if test "$gdu_cv_have_gdu" = "yes"; then
15938
HAVE_GNOME_DOC_UTILS_TRUE=
15939
HAVE_GNOME_DOC_UTILS_FALSE='#'
15941
HAVE_GNOME_DOC_UTILS_TRUE='#'
15942
HAVE_GNOME_DOC_UTILS_FALSE=
15950
# Check whether --enable-schemas-compile was given.
15951
if test "${enable_schemas_compile+set}" = set; then :
15952
enableval=$enable_schemas_compile; case ${enableval} in
15953
yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE="" ;;
15954
no) GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;;
15955
*) as_fn_error $? "bad value ${enableval} for --enable-schemas-compile" "$LINENO" 5 ;;
15966
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
15967
if test -n "$ac_tool_prefix"; then
15968
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
15969
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
15970
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15971
$as_echo_n "checking for $ac_word... " >&6; }
15972
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
15973
$as_echo_n "(cached) " >&6
15975
case $PKG_CONFIG in
15977
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
15980
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15981
for as_dir in $PATH
15984
test -z "$as_dir" && as_dir=.
15985
for ac_exec_ext in '' $ac_executable_extensions; do
15986
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15987
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15988
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15998
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
15999
if test -n "$PKG_CONFIG"; then
16000
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
16001
$as_echo "$PKG_CONFIG" >&6; }
16003
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16004
$as_echo "no" >&6; }
16009
if test -z "$ac_cv_path_PKG_CONFIG"; then
16010
ac_pt_PKG_CONFIG=$PKG_CONFIG
16011
# Extract the first word of "pkg-config", so it can be a program name with args.
16012
set dummy pkg-config; ac_word=$2
16013
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16014
$as_echo_n "checking for $ac_word... " >&6; }
16015
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
16016
$as_echo_n "(cached) " >&6
16018
case $ac_pt_PKG_CONFIG in
16020
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
16023
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16024
for as_dir in $PATH
16027
test -z "$as_dir" && as_dir=.
16028
for ac_exec_ext in '' $ac_executable_extensions; do
16029
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16030
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
16031
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16041
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
16042
if test -n "$ac_pt_PKG_CONFIG"; then
16043
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
16044
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
16046
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16047
$as_echo "no" >&6; }
16050
if test "x$ac_pt_PKG_CONFIG" = x; then
16053
case $cross_compiling:$ac_tool_warned in
16055
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16056
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16057
ac_tool_warned=yes ;;
16059
PKG_CONFIG=$ac_pt_PKG_CONFIG
16062
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
16066
if test -n "$PKG_CONFIG"; then
16067
_pkg_min_version=0.16
16068
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
16069
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
16070
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
16071
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16072
$as_echo "yes" >&6; }
16074
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16075
$as_echo "no" >&6; }
16079
gsettingsschemadir=${datadir}/glib-2.0/schemas
16081
if test x$cross_compiling != xyes; then
16082
GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable glib_compile_schemas gio-2.0`
16084
# Extract the first word of "glib-compile-schemas", so it can be a program name with args.
16085
set dummy glib-compile-schemas; ac_word=$2
16086
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16087
$as_echo_n "checking for $ac_word... " >&6; }
16088
if test "${ac_cv_path_GLIB_COMPILE_SCHEMAS+set}" = set; then :
16089
$as_echo_n "(cached) " >&6
16091
case $GLIB_COMPILE_SCHEMAS in
16093
ac_cv_path_GLIB_COMPILE_SCHEMAS="$GLIB_COMPILE_SCHEMAS" # Let the user override the test with a path.
16096
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16097
for as_dir in $PATH
16100
test -z "$as_dir" && as_dir=.
16101
for ac_exec_ext in '' $ac_executable_extensions; do
16102
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16103
ac_cv_path_GLIB_COMPILE_SCHEMAS="$as_dir/$ac_word$ac_exec_ext"
16104
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16114
GLIB_COMPILE_SCHEMAS=$ac_cv_path_GLIB_COMPILE_SCHEMAS
16115
if test -n "$GLIB_COMPILE_SCHEMAS"; then
16116
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_COMPILE_SCHEMAS" >&5
16117
$as_echo "$GLIB_COMPILE_SCHEMAS" >&6; }
16119
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16120
$as_echo "no" >&6; }
16126
if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then
16127
as_fn_error $? "glib-compile-schemas not found." "$LINENO" 5
16133
.PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas
16135
mostlyclean-am: clean-gsettings-schemas
16137
gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE))
16139
%.gschema.valid: %.gschema.xml $(gsettings__enum_file)
16140
$(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 $@
16142
all-am: $(gsettings_SCHEMAS:.xml=.valid)
16143
uninstall-am: uninstall-gsettings-schemas
16144
install-data-am: install-gsettings-schemas
16146
.SECONDARY: $(gsettings_SCHEMAS)
16148
install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file)
16150
if test -n "$^"; then \
16151
test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"; \
16152
$(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"; \
16153
test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); \
16156
uninstall-gsettings-schemas:
16157
@$(NORMAL_UNINSTALL)
16158
@list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \
16159
files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \
16160
test -n "$$files" || exit 0; \
16161
echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \
16162
cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files
16163
test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir)
16165
clean-gsettings-schemas:
16166
rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file)
16168
ifdef gsettings_ENUM_NAMESPACE
16169
$(gsettings__enum_file): $(gsettings_ENUM_FILES)
16170
$(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 $@
16179
#*******************************************************************************
16181
ac_config_files="$ac_config_files Makefile docs/Makefile docs/reference/Makefile docs/reference/version.xml data/Makefile data/cheese.pc data/cheese-gtk.pc data/cheese.desktop.in data/icons/Makefile data/icons/16x16/Makefile data/icons/22x22/Makefile data/icons/24x24/Makefile data/icons/32x32/Makefile data/icons/48x48/Makefile data/icons/256x256/Makefile data/icons/scalable/Makefile data/icons/16x16/actions/Makefile data/icons/22x22/actions/Makefile data/icons/24x24/actions/Makefile data/icons/32x32/actions/Makefile data/icons/48x48/actions/Makefile data/icons/scalable/actions/Makefile data/pixmaps/Makefile help/Makefile libcheese/Makefile src/Makefile tests/Makefile po/Makefile.in"
16183
cat >confcache <<\_ACEOF
16184
# This file is a shell script that caches the results of configure
16185
# tests run on this system so they can be shared between configure
16186
# scripts and configure runs, see configure's option --config-cache.
16187
# It is not useful on other systems. If it contains results you don't
16188
# want to keep, you may remove or edit it.
16190
# config.status only pays attention to the cache file if you give it
16191
# the --recheck option to rerun configure.
16193
# `ac_cv_env_foo' variables (set or unset) will be overridden when
16194
# loading this file, other *unset* `ac_cv_foo' will be assigned the
16195
# following values.
16199
# The following way of writing the cache mishandles newlines in values,
16200
# but we know of no workaround that is simple, portable, and efficient.
16201
# So, we kill variables containing newlines.
16202
# Ultrix sh set writes to stderr and can't be redirected directly,
16203
# and sets the high bit in the cache file unless we assign to the vars.
16205
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16206
eval ac_val=\$$ac_var
16210
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16211
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16214
_ | IFS | as_nl) ;; #(
16215
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16216
*) { eval $ac_var=; unset $ac_var;} ;;
16222
case $as_nl`(ac_space=' '; set) 2>&1` in #(
16223
*${as_nl}ac_space=\ *)
16224
# `set' does not quote correctly, so add quotes: double-quote
16225
# substitution turns \\\\ into \\, and sed turns \\ into \.
16228
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16231
# `set' quotes correctly as required by POSIX, so do not add quotes.
16232
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16241
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16243
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16245
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16246
if test -w "$cache_file"; then
16247
test "x$cache_file" != "x/dev/null" &&
16248
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16249
$as_echo "$as_me: updating cache $cache_file" >&6;}
16250
cat confcache >$cache_file
16252
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16253
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16258
test "x$prefix" = xNONE && prefix=$ac_default_prefix
16259
# Let make expand exec_prefix.
16260
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16262
DEFS=-DHAVE_CONFIG_H
16267
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16268
# 1. Remove the extension, and $U if already installed.
16269
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16270
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16271
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16272
# will be set to the directory where LIBOBJS objects are built.
16273
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16274
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16276
LIBOBJS=$ac_libobjs
16278
LTLIBOBJS=$ac_ltlibobjs
16281
if test -n "$EXEEXT"; then
16283
am__EXEEXT_FALSE='#'
16285
am__EXEEXT_TRUE='#'
16289
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16290
as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
16291
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16293
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16294
as_fn_error $? "conditional \"AMDEP\" was never defined.
16295
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16297
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16298
as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16299
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16301
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16302
as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16303
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16306
ac_config_commands="$ac_config_commands po/stamp-it"
16309
if test -z "${HAVE_XTEST_TRUE}" && test -z "${HAVE_XTEST_FALSE}"; then
16310
as_fn_error $? "conditional \"HAVE_XTEST\" was never defined.
16311
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16313
if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
16314
as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined.
16315
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16317
if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
16318
as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
16319
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16321
if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
16322
as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
16323
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16325
if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
16326
as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
16327
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16329
if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
16330
as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
16331
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16333
if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
16334
as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
16335
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16337
if test -z "${ENABLE_SK_TRUE}" && test -z "${ENABLE_SK_FALSE}"; then
16338
as_fn_error $? "conditional \"ENABLE_SK\" was never defined.
16339
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16341
if test -z "${HAVE_GNOME_DOC_UTILS_TRUE}" && test -z "${HAVE_GNOME_DOC_UTILS_FALSE}"; then
16342
as_fn_error $? "conditional \"HAVE_GNOME_DOC_UTILS\" was never defined.
16343
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16346
: ${CONFIG_STATUS=./config.status}
16348
ac_clean_files_save=$ac_clean_files
16349
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16350
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16351
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16353
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16355
# Generated by $as_me.
16356
# Run this file to recreate the current configuration.
16357
# Compiler output produced by configure, useful for debugging
16358
# configure, is in config.log if it exists.
16361
ac_cs_recheck=false
16364
SHELL=\${CONFIG_SHELL-$SHELL}
16367
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
16368
## -------------------- ##
16369
## M4sh Initialization. ##
16370
## -------------------- ##
16372
# Be more Bourne compatible
16373
DUALCASE=1; export DUALCASE # for MKS sh
16374
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16377
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16378
# is contrary to our usage. Disable this feature.
16379
alias -g '${1+"$@"}'='"$@"'
16380
setopt NO_GLOB_SUBST
16382
case `(set -o) 2>/dev/null` in #(
16394
# Printing a long string crashes Solaris 7 /usr/bin/printf.
16395
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16396
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16397
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16398
# Prefer a ksh shell builtin over an external printf program on Solaris,
16399
# but without wasting forks for bash or zsh.
16400
if test -z "$BASH_VERSION$ZSH_VERSION" \
16401
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16402
as_echo='print -r --'
16403
as_echo_n='print -rn --'
16404
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16405
as_echo='printf %s\n'
16406
as_echo_n='printf %s'
16408
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16409
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
16410
as_echo_n='/usr/ucb/echo -n'
16412
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16413
as_echo_n_body='eval
16417
expr "X$arg" : "X\\(.*\\)$as_nl";
16418
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16420
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16422
export as_echo_n_body
16423
as_echo_n='sh -c $as_echo_n_body as_echo'
16425
export as_echo_body
16426
as_echo='sh -c $as_echo_body as_echo'
16429
# The user is always right.
16430
if test "${PATH_SEPARATOR+set}" != set; then
16432
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16433
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16440
# We need space, tab and new line, in precisely that order. Quoting is
16441
# there to prevent editors from complaining about space-tab.
16442
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
16443
# splitting by setting IFS to empty value.)
16446
# Find who we are. Look in the path if we contain no directory separator.
16448
*[\\/]* ) as_myself=$0 ;;
16449
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16450
for as_dir in $PATH
16453
test -z "$as_dir" && as_dir=.
16454
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16460
# We did not find ourselves, most probably we were run as `sh COMMAND'
16461
# in which case we are not to be found in the path.
16462
if test "x$as_myself" = x; then
16465
if test ! -f "$as_myself"; then
16466
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16470
# Unset variables that we do not need and which cause bugs (e.g. in
16471
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16472
# suppresses any "Segmentation fault" message there. '((' could
16473
# trigger a bug in pdksh 5.2.14.
16474
for as_var in BASH_ENV ENV MAIL MAILPATH
16475
do eval test x\${$as_var+set} = xset \
16476
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16489
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16492
# as_fn_error STATUS ERROR [LINENO LOG_FD]
16493
# ----------------------------------------
16494
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16495
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16496
# script with STATUS, using 1 if that was 0.
16499
as_status=$1; test $as_status -eq 0 && as_status=1
16501
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16502
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16504
$as_echo "$as_me: error: $2" >&2
16505
as_fn_exit $as_status
16509
# as_fn_set_status STATUS
16510
# -----------------------
16511
# Set $? to STATUS, without forking.
16512
as_fn_set_status ()
16515
} # as_fn_set_status
16517
# as_fn_exit STATUS
16518
# -----------------
16519
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16523
as_fn_set_status $1
16529
# Portably unset VAR.
16532
{ eval $1=; unset $1;}
16534
as_unset=as_fn_unset
16535
# as_fn_append VAR VALUE
16536
# ----------------------
16537
# Append the text in VALUE to the end of the definition contained in VAR. Take
16538
# advantage of any shell optimizations that allow amortized linear growth over
16539
# repeated appends, instead of the typical quadratic growth present in naive
16541
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
16542
eval 'as_fn_append ()
16553
# as_fn_arith ARG...
16554
# ------------------
16555
# Perform arithmetic evaluation on the ARGs, and store the result in the
16556
# global $as_val. Take advantage of shells that can avoid forks. The arguments
16557
# must be portable across $(()) and expr.
16558
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
16559
eval 'as_fn_arith ()
16566
as_val=`expr "$@" || test $? -eq 1`
16571
if expr a : '\(a\)' >/dev/null 2>&1 &&
16572
test "X`expr 00001 : '.*\(...\)'`" = X001; then
16578
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16579
as_basename=basename
16584
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16590
as_me=`$as_basename -- "$0" ||
16591
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16592
X"$0" : 'X\(//\)$' \| \
16593
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16595
sed '/^.*\/\([^/][^/]*\)\/*$/{
16609
# Avoid depending upon Character Ranges.
16610
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16611
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16612
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16613
as_cr_digits='0123456789'
16614
as_cr_alnum=$as_cr_Letters$as_cr_digits
16616
ECHO_C= ECHO_N= ECHO_T=
16617
case `echo -n x` in #(((((
16619
case `echo 'xy\c'` in
16620
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
16622
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
16629
rm -f conf$$ conf$$.exe conf$$.file
16630
if test -d conf$$.dir; then
16631
rm -f conf$$.dir/conf$$.file
16634
mkdir conf$$.dir 2>/dev/null
16636
if (echo >conf$$.file) 2>/dev/null; then
16637
if ln -s conf$$.file conf$$ 2>/dev/null; then
16639
# ... but there are two gotchas:
16640
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16641
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16642
# In both cases, we have to default to `cp -p'.
16643
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16645
elif ln conf$$.file conf$$ 2>/dev/null; then
16653
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16654
rmdir conf$$.dir 2>/dev/null
16659
# Create "$as_dir" as a directory, including parents if necessary.
16664
-*) as_dir=./$as_dir;;
16666
test -d "$as_dir" || eval $as_mkdir_p || {
16670
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16671
*) as_qdir=$as_dir;;
16673
as_dirs="'$as_qdir' $as_dirs"
16674
as_dir=`$as_dirname -- "$as_dir" ||
16675
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16676
X"$as_dir" : 'X\(//\)[^/]' \| \
16677
X"$as_dir" : 'X\(//\)$' \| \
16678
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16679
$as_echo X"$as_dir" |
16680
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16684
/^X\(\/\/\)[^/].*/{
16697
test -d "$as_dir" && break
16699
test -z "$as_dirs" || eval "mkdir $as_dirs"
16700
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16704
if mkdir -p . 2>/dev/null; then
16705
as_mkdir_p='mkdir -p "$as_dir"'
16707
test -d ./-p && rmdir ./-p
16711
if test -x / >/dev/null 2>&1; then
16712
as_test_x='test -x'
16714
if ls -dL / >/dev/null 2>&1; then
16721
if test -d "$1"; then
16727
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
16728
???[sx]*):;;*)false;;esac;fi
16732
as_executable_p=$as_test_x
16734
# Sed expression to map a string onto a valid CPP name.
16735
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16737
# Sed expression to map a string onto a valid variable name.
16738
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16742
## ----------------------------------- ##
16743
## Main body of $CONFIG_STATUS script. ##
16744
## ----------------------------------- ##
16746
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16748
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16749
# Save the log message, to keep $0 and so on meaningful, and to
16750
# report actual input values of CONFIG_FILES etc. instead of their
16751
# values after options handling.
16753
This file was extended by cheese $as_me 3.0.1, which was
16754
generated by GNU Autoconf 2.67. Invocation command line was
16756
CONFIG_FILES = $CONFIG_FILES
16757
CONFIG_HEADERS = $CONFIG_HEADERS
16758
CONFIG_LINKS = $CONFIG_LINKS
16759
CONFIG_COMMANDS = $CONFIG_COMMANDS
16762
on `(hostname || uname -n) 2>/dev/null | sed 1q`
16767
case $ac_config_files in *"
16768
"*) set x $ac_config_files; shift; ac_config_files=$*;;
16771
case $ac_config_headers in *"
16772
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16776
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16777
# Files that config.status was made for.
16778
config_files="$ac_config_files"
16779
config_headers="$ac_config_headers"
16780
config_commands="$ac_config_commands"
16784
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16786
\`$as_me' instantiates files and other configuration actions
16787
from templates according to the current configuration. Unless the files
16788
and actions are specified as TAGs, all are instantiated by default.
16790
Usage: $0 [OPTION]... [TAG]...
16792
-h, --help print this help, then exit
16793
-V, --version print version number and configuration settings, then exit
16794
--config print configuration, then exit
16795
-q, --quiet, --silent
16796
do not print progress messages
16797
-d, --debug don't remove temporary files
16798
--recheck update $as_me by reconfiguring in the same conditions
16799
--file=FILE[:TEMPLATE]
16800
instantiate the configuration file FILE
16801
--header=FILE[:TEMPLATE]
16802
instantiate the configuration header FILE
16804
Configuration files:
16807
Configuration headers:
16810
Configuration commands:
16813
Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=cheese>.
16814
cheese home page: <http://projects.gnome.org/cheese/>."
16817
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16818
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16820
cheese config.status 3.0.1
16821
configured by $0, generated by GNU Autoconf 2.67,
16822
with options \\"\$ac_cs_config\\"
16824
Copyright (C) 2010 Free Software Foundation, Inc.
16825
This config.status script is free software; the Free Software Foundation
16826
gives unlimited permission to copy, distribute and modify it."
16833
test -n "\$AWK" || AWK=awk
16836
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16837
# The default lists apply if the user does not specify any file.
16843
ac_option=`expr "X$1" : 'X\([^=]*\)='`
16844
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16848
ac_option=`expr "X$1" : 'X\([^=]*\)='`
16860
# Handling of the options.
16861
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16863
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16864
$as_echo "$ac_cs_version"; exit ;;
16865
--config | --confi | --conf | --con | --co | --c )
16866
$as_echo "$ac_cs_config"; exit ;;
16867
--debug | --debu | --deb | --de | --d | -d )
16869
--file | --fil | --fi | --f )
16872
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16873
'') as_fn_error $? "missing file argument" ;;
16875
as_fn_append CONFIG_FILES " '$ac_optarg'"
16876
ac_need_defaults=false;;
16877
--header | --heade | --head | --hea )
16880
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16882
as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16883
ac_need_defaults=false;;
16885
# Conflict between --help and --header
16886
as_fn_error $? "ambiguous option: \`$1'
16887
Try \`$0 --help' for more information.";;
16888
--help | --hel | -h )
16889
$as_echo "$ac_cs_usage"; exit ;;
16890
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
16891
| -silent | --silent | --silen | --sile | --sil | --si | --s)
16894
# This is an error.
16895
-*) as_fn_error $? "unrecognized option: \`$1'
16896
Try \`$0 --help' for more information." ;;
16898
*) as_fn_append ac_config_targets " $1"
16899
ac_need_defaults=false ;;
16905
ac_configure_extra_args=
16907
if $ac_cs_silent; then
16909
ac_configure_extra_args="$ac_configure_extra_args --silent"
16913
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16914
if \$ac_cs_recheck; then
16915
set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16917
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16918
CONFIG_SHELL='$SHELL'
16919
export CONFIG_SHELL
16924
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16928
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16929
## Running $as_me. ##
16935
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16939
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16942
# The HP-UX ksh and POSIX shell print the target directory to stdout
16943
# if CDPATH is set.
16944
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16946
sed_quote_subst='$sed_quote_subst'
16947
double_quote_subst='$double_quote_subst'
16948
delay_variable_subst='$delay_variable_subst'
16949
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16950
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16951
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16952
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16953
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16954
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16955
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16956
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16957
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16958
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16959
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16960
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16961
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16962
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16963
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16964
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16965
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16966
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16967
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16968
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16969
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16970
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16971
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16972
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16973
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16974
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16975
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16976
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16977
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16978
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16979
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16980
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16981
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16982
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16983
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16984
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16985
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16986
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16987
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16988
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16989
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16990
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16991
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16992
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16993
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16994
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16995
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16996
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16997
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16998
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16999
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17000
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17001
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17002
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17003
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17004
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"`'
17005
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
17006
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
17007
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17008
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17009
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17010
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17011
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17012
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17013
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17014
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17015
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
17016
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17017
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17018
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17019
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17020
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17021
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17022
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17023
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17024
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17025
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17026
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17027
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17028
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17029
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17030
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17031
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17032
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17033
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17034
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17035
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17036
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17037
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17038
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17039
hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
17040
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17041
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17042
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17043
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17044
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17045
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17046
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17047
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17048
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17049
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17050
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17051
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17052
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17053
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
17054
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17055
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17056
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17057
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17058
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17059
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17060
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17061
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17062
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17063
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17064
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17065
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17066
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17067
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17068
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17069
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17070
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17071
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17072
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
17073
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17074
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17075
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17076
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17077
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17078
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17081
LTCFLAGS='$LTCFLAGS'
17082
compiler='$compiler_DEFAULT'
17084
# A function that is used when there is no print builtin or printf.
17085
func_fallback_echo ()
17087
eval 'cat <<_LTECHO_EOF
17092
# Quote evaled strings.
17106
deplibs_check_method \
17111
sharedlib_from_linklib_cmd \
17114
archiver_list_spec \
17120
lt_cv_sys_global_symbol_pipe \
17121
lt_cv_sys_global_symbol_to_cdecl \
17122
lt_cv_sys_global_symbol_to_c_name_address \
17123
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17124
nm_file_list_spec \
17125
lt_prog_compiler_no_builtin_flag \
17126
lt_prog_compiler_pic \
17127
lt_prog_compiler_wl \
17128
lt_prog_compiler_static \
17129
lt_cv_prog_compiler_c_o \
17138
export_dynamic_flag_spec \
17139
whole_archive_flag_spec \
17140
compiler_needs_object \
17142
allow_undefined_flag \
17143
no_undefined_flag \
17144
hardcode_libdir_flag_spec \
17145
hardcode_libdir_flag_spec_ld \
17146
hardcode_libdir_separator \
17150
variables_saved_for_relink \
17152
library_names_spec \
17154
install_override_mode \
17158
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17159
*[\\\\\\\`\\"\\\$]*)
17160
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17163
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17168
# Double-quote double-evaled strings.
17169
for var in reload_cmds \
17170
old_postinstall_cmds \
17171
old_postuninstall_cmds \
17173
extract_expsyms_cmds \
17174
old_archive_from_new_cmds \
17175
old_archive_from_expsyms_cmds \
17177
archive_expsym_cmds \
17179
module_expsym_cmds \
17180
export_symbols_cmds \
17184
postuninstall_cmds \
17186
sys_lib_search_path_spec \
17187
sys_lib_dlsearch_path_spec; do
17188
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17189
*[\\\\\\\`\\"\\\$]*)
17190
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17193
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17198
ac_aux_dir='$ac_aux_dir'
17199
xsi_shell='$xsi_shell'
17200
lt_shell_append='$lt_shell_append'
17202
# See if we are running on zsh, and set the options which allow our
17203
# commands through without removal of \ escapes INIT.
17204
if test -n "\${ZSH_VERSION+set}" ; then
17205
setopt NO_GLOB_SUBST
17211
TIMESTAMP='$TIMESTAMP'
17217
# Capture the value of obsolete ALL_LINGUAS because we need it to compute
17218
# POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
17219
# from automake < 1.5.
17220
eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
17221
# Capture the value of LINGUAS because we need it to compute CATALOGS.
17222
LINGUAS="${LINGUAS-%UNSET%}"
17227
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17229
# Handling of arguments.
17230
for ac_config_target in $ac_config_targets
17232
case $ac_config_target in
17233
"cheese-config.h") CONFIG_HEADERS="$CONFIG_HEADERS cheese-config.h" ;;
17234
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17235
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17236
"po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
17237
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17238
"docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
17239
"docs/reference/Makefile") CONFIG_FILES="$CONFIG_FILES docs/reference/Makefile" ;;
17240
"docs/reference/version.xml") CONFIG_FILES="$CONFIG_FILES docs/reference/version.xml" ;;
17241
"data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
17242
"data/cheese.pc") CONFIG_FILES="$CONFIG_FILES data/cheese.pc" ;;
17243
"data/cheese-gtk.pc") CONFIG_FILES="$CONFIG_FILES data/cheese-gtk.pc" ;;
17244
"data/cheese.desktop.in") CONFIG_FILES="$CONFIG_FILES data/cheese.desktop.in" ;;
17245
"data/icons/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/Makefile" ;;
17246
"data/icons/16x16/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/16x16/Makefile" ;;
17247
"data/icons/22x22/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/22x22/Makefile" ;;
17248
"data/icons/24x24/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/24x24/Makefile" ;;
17249
"data/icons/32x32/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/32x32/Makefile" ;;
17250
"data/icons/48x48/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/48x48/Makefile" ;;
17251
"data/icons/256x256/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/256x256/Makefile" ;;
17252
"data/icons/scalable/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/scalable/Makefile" ;;
17253
"data/icons/16x16/actions/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/16x16/actions/Makefile" ;;
17254
"data/icons/22x22/actions/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/22x22/actions/Makefile" ;;
17255
"data/icons/24x24/actions/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/24x24/actions/Makefile" ;;
17256
"data/icons/32x32/actions/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/32x32/actions/Makefile" ;;
17257
"data/icons/48x48/actions/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/48x48/actions/Makefile" ;;
17258
"data/icons/scalable/actions/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/scalable/actions/Makefile" ;;
17259
"data/pixmaps/Makefile") CONFIG_FILES="$CONFIG_FILES data/pixmaps/Makefile" ;;
17260
"help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
17261
"libcheese/Makefile") CONFIG_FILES="$CONFIG_FILES libcheese/Makefile" ;;
17262
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
17263
"tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
17264
"po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
17265
"po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
17267
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
17272
# If the user did not use the arguments to specify the items to instantiate,
17273
# then the envvar interface is used. Set only those that are not.
17274
# We use the long form for the default assignment because of an extremely
17275
# bizarre bug on SunOS 4.1.3.
17276
if $ac_need_defaults; then
17277
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17278
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17279
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17282
# Have a temporary directory for convenience. Make it in the build tree
17283
# simply because there is no reason against having it here, and in addition,
17284
# creating and moving files from /tmp can sometimes cause problems.
17285
# Hook for its removal unless debugging.
17286
# Note that there is a small window in which the directory will not be cleaned:
17287
# after its creation but before its name has been assigned to `$tmp'.
17291
trap 'exit_status=$?
17292
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
17294
trap 'as_fn_exit 1' 1 2 13 15
17296
# Create a (secure) tmp directory for tmp files.
17299
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17300
test -n "$tmp" && test -d "$tmp"
17303
tmp=./conf$$-$RANDOM
17304
(umask 077 && mkdir "$tmp")
17305
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17307
# Set up the scripts for CONFIG_FILES section.
17308
# No need to generate them if there are no CONFIG_FILES.
17309
# This happens for instance with `./config.status config.h'.
17310
if test -n "$CONFIG_FILES"; then
17313
ac_cr=`echo X | tr X '\015'`
17314
# On cygwin, bash can eat \r inside `` if the user requested igncr.
17315
# But we know of no other shell where ac_cr would be empty at this
17316
# point, so we can use a bashism as a fallback.
17317
if test "x$ac_cr" = x; then
17318
eval ac_cr=\$\'\\r\'
17320
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17321
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17324
ac_cs_awk_cr=$ac_cr
17327
echo 'BEGIN {' >"$tmp/subs1.awk" &&
17332
echo "cat >conf$$subs.awk <<_ACEOF" &&
17333
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17335
} >conf$$subs.sh ||
17336
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17337
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17339
for ac_last_try in false false false false false :; do
17340
. ./conf$$subs.sh ||
17341
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17343
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17344
if test $ac_delim_n = $ac_delim_num; then
17346
elif $ac_last_try; then
17347
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17349
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17352
rm -f conf$$subs.sh
17354
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17355
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
17359
s/^/S["/; s/!.*/"]=/
17369
s/\(.\{148\}\)..*/\1/
17371
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17376
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17383
s/\(.\{148\}\)..*/\1/
17385
s/["\\]/\\&/g; s/^/"/; s/$/"/
17389
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17394
' <conf$$subs.awk | sed '
17399
' >>$CONFIG_STATUS || ac_write_fail=1
17400
rm -f conf$$subs.awk
17401
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17403
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
17404
for (key in S) S_is_set[key] = 1
17410
nfields = split(line, field, "@")
17412
len = length(field[1])
17413
for (i = 2; i < nfields; i++) {
17415
keylen = length(key)
17416
if (S_is_set[key]) {
17418
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17419
len += length(value) + length(field[++i])
17430
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17431
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17432
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
17435
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
17436
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5
17439
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17440
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
17441
# trailing colons and then remove the whole line if VPATH becomes empty
17442
# (actually we leave an empty line to preserve line numbers).
17443
if test "x$srcdir" = x.; then
17444
ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
17462
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17463
fi # test -n "$CONFIG_FILES"
17465
# Set up the scripts for CONFIG_HEADERS section.
17466
# No need to generate them if there are no CONFIG_HEADERS.
17467
# This happens for instance with `./config.status Makefile'.
17468
if test -n "$CONFIG_HEADERS"; then
17469
cat >"$tmp/defines.awk" <<\_ACAWK ||
17473
# Transform confdefs.h into an awk script `defines.awk', embedded as
17474
# here-document in config.status, that substitutes the proper values into
17475
# config.h.in to produce config.h.
17477
# Create a delimiter string that does not exist in confdefs.h, to ease
17478
# handling of long lines.
17480
for ac_last_try in false false :; do
17481
ac_t=`sed -n "/$ac_delim/p" confdefs.h`
17482
if test -z "$ac_t"; then
17484
elif $ac_last_try; then
17485
as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
17487
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17491
# For the awk script, D is an array of macro values keyed by name,
17492
# likewise P contains macro parameters if any. Preserve backslash
17493
# newline sequences.
17495
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17497
s/.\{148\}/&'"$ac_delim"'/g
17500
s/^[ ]*#[ ]*define[ ][ ]*/ /
17507
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17509
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
17513
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17514
D["\1"]=" \3\\\\\\n"\\/p
17516
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
17521
s/.\{148\}/&'"$ac_delim"'/g
17526
s/["\\]/\\&/g; s/^/"/; s/$/"/p
17529
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
17531
' <confdefs.h | sed '
17532
s/'"$ac_delim"'/"\\\
17533
"/g' >>$CONFIG_STATUS || ac_write_fail=1
17535
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17536
for (key in D) D_is_set[key] = 1
17539
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17541
split(line, arg, " ")
17542
if (arg[1] == "#") {
17546
defundef = substr(arg[1], 2)
17549
split(mac1, mac2, "(") #)
17551
prefix = substr(line, 1, index(line, defundef) - 1)
17552
if (D_is_set[macro]) {
17553
# Preserve the white space surrounding the "#".
17554
print prefix "define", macro P[macro] D[macro]
17557
# Replace #undef with comments. This is necessary, for example,
17558
# in the case of _POSIX_SOURCE, which is predefined and required
17559
# on some systems where configure will not decide to define it.
17560
if (defundef == "undef") {
17561
print "/*", prefix defundef, macro, "*/"
17569
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17570
as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
17571
fi # test -n "$CONFIG_HEADERS"
17574
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
17579
:[FHLC]) ac_mode=$ac_tag; continue;;
17581
case $ac_mode$ac_tag in
17583
:L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
17584
:[FH]-) ac_tag=-:-;;
17585
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17602
-) ac_f="$tmp/stdin";;
17603
*) # Look for the file first in the build tree, then in the source tree
17604
# (if the path is not absolute). The absolute path cannot be DOS-style,
17605
# because $ac_f cannot contain `:'.
17609
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17611
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
17613
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17614
as_fn_append ac_file_inputs " '$ac_f'"
17617
# Let's still pretend it is `configure' which instantiates (i.e., don't
17618
# use $as_me), people would be surprised to read:
17619
# /* config.h. Generated by config.status. */
17620
configure_input='Generated from '`
17621
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17623
if test x"$ac_file" != x-; then
17624
configure_input="$ac_file. $configure_input"
17625
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17626
$as_echo "$as_me: creating $ac_file" >&6;}
17628
# Neutralize special characters interpreted by sed in replacement strings.
17629
case $configure_input in #(
17630
*\&* | *\|* | *\\* )
17631
ac_sed_conf_input=`$as_echo "$configure_input" |
17632
sed 's/[\\\\&|]/\\\\&/g'`;; #(
17633
*) ac_sed_conf_input=$configure_input;;
17637
*:-:* | *:-) cat >"$tmp/stdin" \
17638
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
17643
ac_dir=`$as_dirname -- "$ac_file" ||
17644
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17645
X"$ac_file" : 'X\(//\)[^/]' \| \
17646
X"$ac_file" : 'X\(//\)$' \| \
17647
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17648
$as_echo X"$ac_file" |
17649
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17653
/^X\(\/\/\)[^/].*/{
17666
as_dir="$ac_dir"; as_fn_mkdir_p
17670
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17672
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17673
# A ".." for each directory in $ac_dir_suffix.
17674
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17675
case $ac_top_builddir_sub in
17676
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17677
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17680
ac_abs_top_builddir=$ac_pwd
17681
ac_abs_builddir=$ac_pwd$ac_dir_suffix
17682
# for backward compatibility:
17683
ac_top_builddir=$ac_top_build_prefix
17686
.) # We are building in place.
17688
ac_top_srcdir=$ac_top_builddir_sub
17689
ac_abs_top_srcdir=$ac_pwd ;;
17690
[\\/]* | ?:[\\/]* ) # Absolute name.
17691
ac_srcdir=$srcdir$ac_dir_suffix;
17692
ac_top_srcdir=$srcdir
17693
ac_abs_top_srcdir=$srcdir ;;
17694
*) # Relative name.
17695
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17696
ac_top_srcdir=$ac_top_build_prefix$srcdir
17697
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17699
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17709
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17710
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17712
ac_MKDIR_P=$MKDIR_P
17714
[\\/$]* | ?:[\\/]* ) ;;
17715
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
17719
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17720
# If the template does not know about datarootdir, expand it.
17721
# FIXME: This hack should be removed a few years after 2.60.
17722
ac_datarootdir_hack=; ac_datarootdir_seen=
17733
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17734
*datarootdir*) ac_datarootdir_seen=yes;;
17735
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17736
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17737
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17739
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17740
ac_datarootdir_hack='
17741
s&@datadir@&$datadir&g
17742
s&@docdir@&$docdir&g
17743
s&@infodir@&$infodir&g
17744
s&@localedir@&$localedir&g
17745
s&@mandir@&$mandir&g
17746
s&\\\${datarootdir}&$datarootdir&g' ;;
17750
# Neutralize VPATH when `$srcdir' = `.'.
17751
# Shell code in configure.ac might set extrasub.
17752
# FIXME: do we really want to maintain this feature?
17753
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17754
ac_sed_extra="$ac_vpsub
17757
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17759
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17760
s|@configure_input@|$ac_sed_conf_input|;t t
17761
s&@top_builddir@&$ac_top_builddir_sub&;t t
17762
s&@top_build_prefix@&$ac_top_build_prefix&;t t
17763
s&@srcdir@&$ac_srcdir&;t t
17764
s&@abs_srcdir@&$ac_abs_srcdir&;t t
17765
s&@top_srcdir@&$ac_top_srcdir&;t t
17766
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17767
s&@builddir@&$ac_builddir&;t t
17768
s&@abs_builddir@&$ac_abs_builddir&;t t
17769
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17770
s&@INSTALL@&$ac_INSTALL&;t t
17771
s&@MKDIR_P@&$ac_MKDIR_P&;t t
17772
$ac_datarootdir_hack
17774
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
17775
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
17777
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17778
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
17779
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
17780
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17781
which seems to be undefined. Please make sure it is defined" >&5
17782
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17783
which seems to be undefined. Please make sure it is defined" >&2;}
17787
-) cat "$tmp/out" && rm -f "$tmp/out";;
17788
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
17790
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
17796
if test x"$ac_file" != x-; then
17798
$as_echo "/* $configure_input */" \
17799
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
17800
} >"$tmp/config.h" \
17801
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
17802
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
17803
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17804
$as_echo "$as_me: $ac_file is unchanged" >&6;}
17807
mv "$tmp/config.h" "$ac_file" \
17808
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
17811
$as_echo "/* $configure_input */" \
17812
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
17813
|| as_fn_error $? "could not create -" "$LINENO" 5
17815
# Compute "$ac_file"'s index in $config_headers.
17818
for _am_header in $config_headers :; do
17819
case $_am_header in
17820
$_am_arg | $_am_arg:* )
17823
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
17826
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17827
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17828
X"$_am_arg" : 'X\(//\)[^/]' \| \
17829
X"$_am_arg" : 'X\(//\)$' \| \
17830
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17831
$as_echo X"$_am_arg" |
17832
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17836
/^X\(\/\/\)[^/].*/{
17848
s/.*/./; q'`/stamp-h$_am_stamp_count
17851
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17852
$as_echo "$as_me: executing $ac_file commands" >&6;}
17857
case $ac_file$ac_mode in
17858
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17859
# Autoconf 2.62 quotes --file arguments for eval, but not when files
17860
# are listed without --file. Let's play safe and only enable the eval
17861
# if we detect the quoting.
17862
case $CONFIG_FILES in
17863
*\'*) eval set x "$CONFIG_FILES" ;;
17864
*) set x $CONFIG_FILES ;;
17869
# Strip MF so we end up with the name of the file.
17870
mf=`echo "$mf" | sed -e 's/:.*$//'`
17871
# Check whether this is an Automake generated Makefile or not.
17872
# We used to match only the files named `Makefile.in', but
17873
# some people rename them; so instead we look at the file content.
17874
# Grep'ing the first line is not enough: some people post-process
17875
# each Makefile.in and add a new line on top of each file to say so.
17876
# Grep'ing the whole file is not good either: AIX grep has a line
17877
# limit of 2048, but all sed's we know have understand at least 4000.
17878
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
17879
dirpart=`$as_dirname -- "$mf" ||
17880
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17881
X"$mf" : 'X\(//\)[^/]' \| \
17882
X"$mf" : 'X\(//\)$' \| \
17883
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17885
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17889
/^X\(\/\/\)[^/].*/{
17905
# Extract the definition of DEPDIR, am__include, and am__quote
17906
# from the Makefile without running `make'.
17907
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17908
test -z "$DEPDIR" && continue
17909
am__include=`sed -n 's/^am__include = //p' < "$mf"`
17910
test -z "am__include" && continue
17911
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17912
# When using ansi2knr, U may be empty or an underscore; expand it
17913
U=`sed -n 's/^U = //p' < "$mf"`
17914
# Find all dependency output files, they are included files with
17915
# $(DEPDIR) in their names. We invoke sed twice because it is the
17916
# simplest approach to changing $(DEPDIR) to its actual value in the
17918
for file in `sed -n "
17919
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17920
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17921
# Make sure the directory exists.
17922
test -f "$dirpart/$file" && continue
17923
fdir=`$as_dirname -- "$file" ||
17924
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17925
X"$file" : 'X\(//\)[^/]' \| \
17926
X"$file" : 'X\(//\)$' \| \
17927
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17928
$as_echo X"$file" |
17929
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17933
/^X\(\/\/\)[^/].*/{
17946
as_dir=$dirpart/$fdir; as_fn_mkdir_p
17947
# echo "creating $dirpart/$file"
17948
echo '# dummy' > "$dirpart/$file"
17955
# See if we are running on zsh, and set the options which allow our
17956
# commands through without removal of \ escapes.
17957
if test -n "${ZSH_VERSION+set}" ; then
17958
setopt NO_GLOB_SUBST
17961
cfgfile="${ofile}T"
17962
trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17965
cat <<_LT_EOF >> "$cfgfile"
17968
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17969
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17970
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17971
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
17973
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17974
# 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
17976
# Written by Gordon Matzigkeit, 1996
17978
# This file is part of GNU Libtool.
17980
# GNU Libtool is free software; you can redistribute it and/or
17981
# modify it under the terms of the GNU General Public License as
17982
# published by the Free Software Foundation; either version 2 of
17983
# the License, or (at your option) any later version.
17985
# As a special exception to the GNU General Public License,
17986
# if you distribute this file as part of a program or library that
17987
# is built using GNU Libtool, you may include this file under the
17988
# same distribution terms that you use for the rest of that program.
17990
# GNU Libtool is distributed in the hope that it will be useful,
17991
# but WITHOUT ANY WARRANTY; without even the implied warranty of
17992
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17993
# GNU General Public License for more details.
17995
# You should have received a copy of the GNU General Public License
17996
# along with GNU Libtool; see the file COPYING. If not, a copy
17997
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17998
# obtained by writing to the Free Software Foundation, Inc.,
17999
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18002
# The names of the tagged configurations supported by this script.
18005
# ### BEGIN LIBTOOL CONFIG
18007
# Which release of libtool.m4 was used?
18008
macro_version=$macro_version
18009
macro_revision=$macro_revision
18011
# Whether or not to build shared libraries.
18012
build_libtool_libs=$enable_shared
18014
# Whether or not to build static libraries.
18015
build_old_libs=$enable_static
18017
# What type of objects to build.
18020
# Whether or not to optimize for fast installation.
18021
fast_install=$enable_fast_install
18023
# Shell to use when invoking shell scripts.
18026
# An echo program that protects backslashes.
18030
host_alias=$host_alias
18034
# The build system.
18035
build_alias=$build_alias
18039
# A sed program that does not truncate output.
18042
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
18043
Xsed="\$SED -e 1s/^X//"
18045
# A grep program that handles long lines.
18051
# A literal string matcher.
18054
# A BSD- or MS-compatible name lister.
18057
# Whether we need soft or hard links.
18060
# What is the maximum length of a command?
18061
max_cmd_len=$max_cmd_len
18063
# Object file suffix (normally "o").
18066
# Executable file suffix (normally "").
18069
# whether the shell understands "unset".
18072
# turn spaces into newlines.
18075
# turn newlines into spaces.
18078
# convert \$build file names to \$host format.
18079
to_host_file_cmd=$lt_cv_to_host_file_cmd
18081
# convert \$build files to toolchain format.
18082
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
18084
# An object symbol dumper.
18085
OBJDUMP=$lt_OBJDUMP
18087
# Method to check whether dependent libraries are shared objects.
18088
deplibs_check_method=$lt_deplibs_check_method
18090
# Command to use when deplibs_check_method = "file_magic".
18091
file_magic_cmd=$lt_file_magic_cmd
18093
# How to find potential files when deplibs_check_method = "file_magic".
18094
file_magic_glob=$lt_file_magic_glob
18096
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
18097
want_nocaseglob=$lt_want_nocaseglob
18099
# DLL creation program.
18100
DLLTOOL=$lt_DLLTOOL
18102
# Command to associate shared and link libraries.
18103
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
18108
# Flags to create an archive.
18109
AR_FLAGS=$lt_AR_FLAGS
18111
# How to feed a file listing to the archiver.
18112
archiver_list_spec=$lt_archiver_list_spec
18114
# A symbol stripping program.
18117
# Commands used to install an old-style archive.
18119
old_postinstall_cmds=$lt_old_postinstall_cmds
18120
old_postuninstall_cmds=$lt_old_postuninstall_cmds
18122
# Whether to use a lock for old archive extraction.
18123
lock_old_archive_extraction=$lock_old_archive_extraction
18128
# LTCC compiler flags.
18129
LTCFLAGS=$lt_CFLAGS
18131
# Take the output of nm and produce a listing of raw symbols and C names.
18132
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18134
# Transform the output of nm in a proper C declaration.
18135
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18137
# Transform the output of nm in a C name address pair.
18138
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18140
# Transform the output of nm in a C name address pair when lib prefix is needed.
18141
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18143
# Specify filename containing input files for \$NM.
18144
nm_file_list_spec=$lt_nm_file_list_spec
18146
# The root where to search for dependent libraries,and in which our libraries should be installed.
18147
lt_sysroot=$lt_sysroot
18149
# The name of the directory that contains temporary libtool files.
18152
# Used to examine libraries when file_magic_cmd begins with "file".
18153
MAGIC_CMD=$MAGIC_CMD
18155
# Must we lock files when doing compilation?
18156
need_locks=$lt_need_locks
18159
MANIFEST_TOOL=$lt_MANIFEST_TOOL
18161
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18162
DSYMUTIL=$lt_DSYMUTIL
18164
# Tool to change global to local symbols on Mac OS X.
18167
# Tool to manipulate fat objects and archives on Mac OS X.
18170
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
18173
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18174
OTOOL64=$lt_OTOOL64
18176
# Old archive suffix (normally "a").
18179
# Shared library suffix (normally ".so").
18180
shrext_cmds=$lt_shrext_cmds
18182
# The commands to extract the exported symbol list from a shared archive.
18183
extract_expsyms_cmds=$lt_extract_expsyms_cmds
18185
# Variables whose values should be saved in libtool wrapper scripts and
18186
# restored at link time.
18187
variables_saved_for_relink=$lt_variables_saved_for_relink
18189
# Do we need the "lib" prefix for modules?
18190
need_lib_prefix=$need_lib_prefix
18192
# Do we need a version for libraries?
18193
need_version=$need_version
18195
# Library versioning type.
18196
version_type=$version_type
18198
# Shared library runtime path variable.
18199
runpath_var=$runpath_var
18201
# Shared library path variable.
18202
shlibpath_var=$shlibpath_var
18204
# Is shlibpath searched before the hard-coded library search path?
18205
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18207
# Format of library name prefix.
18208
libname_spec=$lt_libname_spec
18210
# List of archive names. First name is the real one, the rest are links.
18211
# The last name is the one that the linker finds with -lNAME
18212
library_names_spec=$lt_library_names_spec
18214
# The coded name of the library, if different from the real name.
18215
soname_spec=$lt_soname_spec
18217
# Permission mode override for installation of shared libraries.
18218
install_override_mode=$lt_install_override_mode
18220
# Command to use after installation of a shared archive.
18221
postinstall_cmds=$lt_postinstall_cmds
18223
# Command to use after uninstallation of a shared archive.
18224
postuninstall_cmds=$lt_postuninstall_cmds
18226
# Commands used to finish a libtool library installation in a directory.
18227
finish_cmds=$lt_finish_cmds
18229
# As "finish_cmds", except a single script fragment to be evaled but
18231
finish_eval=$lt_finish_eval
18233
# Whether we should hardcode library paths into libraries.
18234
hardcode_into_libs=$hardcode_into_libs
18236
# Compile-time system search path for libraries.
18237
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18239
# Run-time system search path for libraries.
18240
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18242
# Whether dlopen is supported.
18243
dlopen_support=$enable_dlopen
18245
# Whether dlopen of programs is supported.
18246
dlopen_self=$enable_dlopen_self
18248
# Whether dlopen of statically linked programs is supported.
18249
dlopen_self_static=$enable_dlopen_self_static
18251
# Commands to strip libraries.
18252
old_striplib=$lt_old_striplib
18253
striplib=$lt_striplib
18256
# The linker used to build libraries.
18259
# How to create reloadable object files.
18260
reload_flag=$lt_reload_flag
18261
reload_cmds=$lt_reload_cmds
18263
# Commands used to build an old-style archive.
18264
old_archive_cmds=$lt_old_archive_cmds
18266
# A language specific compiler.
18269
# Is the compiler the GNU compiler?
18272
# Compiler flag to turn off builtin functions.
18273
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18275
# Additional compiler flags for building library objects.
18276
pic_flag=$lt_lt_prog_compiler_pic
18278
# How to pass a linker flag through the compiler.
18279
wl=$lt_lt_prog_compiler_wl
18281
# Compiler flag to prevent dynamic linking.
18282
link_static_flag=$lt_lt_prog_compiler_static
18284
# Does compiler simultaneously support -c and -o options?
18285
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18287
# Whether or not to add -lc for building shared libraries.
18288
build_libtool_need_lc=$archive_cmds_need_lc
18290
# Whether or not to disallow shared libs when runtime libs are static.
18291
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18293
# Compiler flag to allow reflexive dlopens.
18294
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18296
# Compiler flag to generate shared objects directly from archives.
18297
whole_archive_flag_spec=$lt_whole_archive_flag_spec
18299
# Whether the compiler copes with passing no objects directly.
18300
compiler_needs_object=$lt_compiler_needs_object
18302
# Create an old-style archive from a shared archive.
18303
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18305
# Create a temporary old-style archive to link instead of a shared archive.
18306
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18308
# Commands used to build a shared archive.
18309
archive_cmds=$lt_archive_cmds
18310
archive_expsym_cmds=$lt_archive_expsym_cmds
18312
# Commands used to build a loadable module if different from building
18313
# a shared archive.
18314
module_cmds=$lt_module_cmds
18315
module_expsym_cmds=$lt_module_expsym_cmds
18317
# Whether we are building with GNU ld or not.
18318
with_gnu_ld=$lt_with_gnu_ld
18320
# Flag that allows shared libraries with undefined symbols to be built.
18321
allow_undefined_flag=$lt_allow_undefined_flag
18323
# Flag that enforces no undefined symbols.
18324
no_undefined_flag=$lt_no_undefined_flag
18326
# Flag to hardcode \$libdir into a binary during linking.
18327
# This must work even if \$libdir does not exist
18328
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18330
# If ld is used when linking, flag to hardcode \$libdir into a binary
18331
# during linking. This must work even if \$libdir does not exist.
18332
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
18334
# Whether we need a single "-rpath" flag with a separated argument.
18335
hardcode_libdir_separator=$lt_hardcode_libdir_separator
18337
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18338
# DIR into the resulting binary.
18339
hardcode_direct=$hardcode_direct
18341
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18342
# DIR into the resulting binary and the resulting library dependency is
18343
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18344
# library is relocated.
18345
hardcode_direct_absolute=$hardcode_direct_absolute
18347
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18348
# into the resulting binary.
18349
hardcode_minus_L=$hardcode_minus_L
18351
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18352
# into the resulting binary.
18353
hardcode_shlibpath_var=$hardcode_shlibpath_var
18355
# Set to "yes" if building a shared library automatically hardcodes DIR
18356
# into the library and all subsequent libraries and executables linked
18358
hardcode_automatic=$hardcode_automatic
18360
# Set to yes if linker adds runtime paths of dependent libraries
18361
# to runtime path list.
18362
inherit_rpath=$inherit_rpath
18364
# Whether libtool must link a program against all its dependency libraries.
18365
link_all_deplibs=$link_all_deplibs
18367
# Set to "yes" if exported symbols are required.
18368
always_export_symbols=$always_export_symbols
18370
# The commands to list exported symbols.
18371
export_symbols_cmds=$lt_export_symbols_cmds
18373
# Symbols that should not be listed in the preloaded symbols.
18374
exclude_expsyms=$lt_exclude_expsyms
18376
# Symbols that must always be exported.
18377
include_expsyms=$lt_include_expsyms
18379
# Commands necessary for linking programs (against libraries) with templates.
18380
prelink_cmds=$lt_prelink_cmds
18382
# Commands necessary for finishing linking programs.
18383
postlink_cmds=$lt_postlink_cmds
18385
# Specify filename containing input files.
18386
file_list_spec=$lt_file_list_spec
18388
# How to hardcode a shared library path into an executable.
18389
hardcode_action=$hardcode_action
18391
# ### END LIBTOOL CONFIG
18397
cat <<\_LT_EOF >> "$cfgfile"
18398
# AIX sometimes has problems with the GCC collect2 program. For some
18399
# reason, if we set the COLLECT_NAMES environment variable, the problems
18400
# vanish in a puff of smoke.
18401
if test "X${COLLECT_NAMES+set}" != Xset; then
18403
export COLLECT_NAMES
18410
ltmain="$ac_aux_dir/ltmain.sh"
18413
# We use sed instead of cat because bash on DJGPP gets confused if
18414
# if finds mixed CR/LF and LF-only lines. Since sed operates in
18415
# text mode, it properly converts lines to CR/LF. This bash problem
18416
# is reportedly fixed, but why not run on old versions too?
18417
sed '$q' "$ltmain" >> "$cfgfile" \
18418
|| (rm -f "$cfgfile"; exit 1)
18420
if test x"$xsi_shell" = xyes; then
18421
sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
18425
\ */*) func_dirname_result="${1%/*}${2}" ;;\
18426
\ * ) func_dirname_result="${3}" ;;\
18428
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
18429
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18430
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18431
test 0 -eq $? || _lt_function_replace_fail=:
18434
sed -e '/^func_basename ()$/,/^} # func_basename /c\
18437
\ func_basename_result="${1##*/}"\
18438
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
18439
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18440
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18441
test 0 -eq $? || _lt_function_replace_fail=:
18444
sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
18445
func_dirname_and_basename ()\
18448
\ */*) func_dirname_result="${1%/*}${2}" ;;\
18449
\ * ) func_dirname_result="${3}" ;;\
18451
\ func_basename_result="${1##*/}"\
18452
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
18453
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18454
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18455
test 0 -eq $? || _lt_function_replace_fail=:
18458
sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
18461
\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
18462
\ # positional parameters, so assign one to ordinary parameter first.\
18463
\ func_stripname_result=${3}\
18464
\ func_stripname_result=${func_stripname_result#"${1}"}\
18465
\ func_stripname_result=${func_stripname_result%"${2}"}\
18466
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
18467
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18468
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18469
test 0 -eq $? || _lt_function_replace_fail=:
18472
sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
18473
func_split_long_opt ()\
18475
\ func_split_long_opt_name=${1%%=*}\
18476
\ func_split_long_opt_arg=${1#*=}\
18477
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
18478
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18479
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18480
test 0 -eq $? || _lt_function_replace_fail=:
18483
sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
18484
func_split_short_opt ()\
18486
\ func_split_short_opt_arg=${1#??}\
18487
\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
18488
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
18489
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18490
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18491
test 0 -eq $? || _lt_function_replace_fail=:
18494
sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
18498
\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
18499
\ *) func_lo2o_result=${1} ;;\
18501
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
18502
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18503
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18504
test 0 -eq $? || _lt_function_replace_fail=:
18507
sed -e '/^func_xform ()$/,/^} # func_xform /c\
18510
func_xform_result=${1%.*}.lo\
18511
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
18512
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18513
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18514
test 0 -eq $? || _lt_function_replace_fail=:
18517
sed -e '/^func_arith ()$/,/^} # func_arith /c\
18520
func_arith_result=$(( $* ))\
18521
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
18522
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18523
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18524
test 0 -eq $? || _lt_function_replace_fail=:
18527
sed -e '/^func_len ()$/,/^} # func_len /c\
18530
func_len_result=${#1}\
18531
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
18532
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18533
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18534
test 0 -eq $? || _lt_function_replace_fail=:
18538
if test x"$lt_shell_append" = xyes; then
18539
sed -e '/^func_append ()$/,/^} # func_append /c\
18542
eval "${1}+=\\${2}"\
18543
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
18544
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18545
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18546
test 0 -eq $? || _lt_function_replace_fail=:
18549
sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
18550
func_append_quoted ()\
18552
\ func_quote_for_eval "${2}"\
18553
\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
18554
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
18555
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18556
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18557
test 0 -eq $? || _lt_function_replace_fail=:
18560
# Save a `func_append' function call where possible by direct use of '+='
18561
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
18562
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18563
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18564
test 0 -eq $? || _lt_function_replace_fail=:
18566
# Save a `func_append' function call even when '+=' is not available
18567
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
18568
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18569
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18570
test 0 -eq $? || _lt_function_replace_fail=:
18573
if test x"$_lt_function_replace_fail" = x":"; then
18574
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
18575
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
18579
mv -f "$cfgfile" "$ofile" ||
18580
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18584
"po-directories":C)
18585
for ac_file in $CONFIG_FILES; do
18586
# Support "outfile[:infile[:infile...]]"
18588
*:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
18590
# PO directories have a Makefile.in generated from Makefile.in.in.
18591
case "$ac_file" in */Makefile.in)
18592
# Adjust a relative srcdir.
18593
ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
18594
ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
18595
ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
18596
# In autoconf-2.13 it is called $ac_given_srcdir.
18597
# In autoconf-2.50 it is called $srcdir.
18598
test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
18599
case "$ac_given_srcdir" in
18600
.) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
18601
/*) top_srcdir="$ac_given_srcdir" ;;
18602
*) top_srcdir="$ac_dots$ac_given_srcdir" ;;
18604
# Treat a directory as a PO directory if and only if it has a
18605
# POTFILES.in file. This allows packages to have multiple PO
18606
# directories under different names or in different locations.
18607
if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
18608
rm -f "$ac_dir/POTFILES"
18609
test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
18610
cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
18611
POMAKEFILEDEPS="POTFILES.in"
18612
# ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
18613
# on $ac_dir but don't depend on user-specified configuration
18615
if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
18616
# The LINGUAS file contains the set of available languages.
18617
if test -n "$OBSOLETE_ALL_LINGUAS"; then
18618
test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
18620
ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
18621
# Hide the ALL_LINGUAS assigment from automake < 1.5.
18622
eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
18623
POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
18625
# The set of available languages was given in configure.in.
18626
# Hide the ALL_LINGUAS assigment from automake < 1.5.
18627
eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
18630
# as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
18631
# Compute UPDATEPOFILES
18632
# as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
18633
# Compute DUMMYPOFILES
18634
# as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
18636
# as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
18637
case "$ac_given_srcdir" in
18639
*) srcdirpre='$(srcdir)/' ;;
18645
for lang in $ALL_LINGUAS; do
18646
POFILES="$POFILES $srcdirpre$lang.po"
18647
UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
18648
DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
18649
GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
18651
# CATALOGS depends on both $ac_dir and the user's LINGUAS
18652
# environment variable.
18654
if test -n "$ALL_LINGUAS"; then
18655
for presentlang in $ALL_LINGUAS; do
18657
if test "%UNSET%" != "$LINGUAS"; then
18658
desiredlanguages="$LINGUAS"
18660
desiredlanguages="$ALL_LINGUAS"
18662
for desiredlang in $desiredlanguages; do
18663
# Use the presentlang catalog if desiredlang is
18664
# a. equal to presentlang, or
18665
# b. a variant of presentlang (because in this case,
18666
# presentlang can be used as a fallback for messages
18667
# which are not translated in the desiredlang catalog).
18668
case "$desiredlang" in
18669
"$presentlang"*) useit=yes;;
18672
if test $useit = yes; then
18673
INST_LINGUAS="$INST_LINGUAS $presentlang"
18678
if test -n "$INST_LINGUAS"; then
18679
for lang in $INST_LINGUAS; do
18680
CATALOGS="$CATALOGS $lang.gmo"
18683
test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
18684
sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
18685
for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
18686
if test -f "$f"; then
18688
*.orig | *.bak | *~) ;;
18689
*) cat "$f" >> "$ac_dir/Makefile" ;;
18698
if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
18699
as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
18701
rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
18706
'"s|^| $ac_top_srcdir/|" \
18707
"$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
18709
sed '/^POTFILES =/,/[^\\]$/ {
18713
' "po/Makefile.in" >"po/Makefile"
18714
rm -f "po/Makefile.tmp"
18715
mv "po/stamp-it.tmp" "po/stamp-it"
18724
ac_clean_files=$ac_clean_files_save
18726
test $ac_write_fail = 0 ||
18727
as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18730
# configure is writing to config.log, and then calls config.status.
18731
# config.status does its own redirection, appending to config.log.
18732
# Unfortunately, on DOS this fails, as config.log is still kept open
18733
# by configure, so config.status won't be able to write to it; its
18734
# output is simply discarded. So we exec the FD to /dev/null,
18735
# effectively closing config.log, so it can be properly (re)opened and
18736
# appended to by config.status. When coming back to configure, we
18737
# need to make the FD available again.
18738
if test "$no_create" != yes; then
18740
ac_config_status_args=
18741
test "$silent" = yes &&
18742
ac_config_status_args="$ac_config_status_args --quiet"
18744
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18746
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
18747
# would make configure fail if this is the last instruction.
18748
$ac_cs_success || as_fn_exit 1
18750
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18751
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18752
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18756
#**************************************************************************