2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.68 for cheese 3.2.2.
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.
96
*[\\/]* ) as_myself=$0 ;;
97
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101
test -z "$as_dir" && as_dir=.
102
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108
# We did not find ourselves, most probably we were run as `sh COMMAND'
109
# in which case we are not to be found in the path.
110
if test "x$as_myself" = x; then
113
if test ! -f "$as_myself"; then
114
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118
# Unset variables that we do not need and which cause bugs (e.g. in
119
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120
# suppresses any "Segmentation fault" message there. '((' could
121
# trigger a bug in pdksh 5.2.14.
122
for as_var in BASH_ENV ENV MAIL MAILPATH
123
do eval test x\${$as_var+set} = xset \
124
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
137
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139
if test "x$CONFIG_SHELL" = x; then
140
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144
# is contrary to our usage. Disable this feature.
145
alias -g '\${1+\"\$@\"}'='\"\$@\"'
148
case \`(set -o) 2>/dev/null\` in #(
156
as_required="as_fn_return () { (exit \$1); }
157
as_fn_success () { as_fn_return 0; }
158
as_fn_failure () { as_fn_return 1; }
159
as_fn_ret_success () { return 0; }
160
as_fn_ret_failure () { return 1; }
163
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170
exitcode=1; echo positional parameters were not saved.
172
test x\$exitcode = x0 || exit 1"
173
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177
test \$(( 1 + 1 )) = 2 || exit 1
179
test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
180
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
181
ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182
ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
183
PATH=/empty FPATH=/empty; export PATH FPATH
184
test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
185
|| test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
186
if (eval "$as_required") 2>/dev/null; then :
191
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
194
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
196
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
199
test -z "$as_dir" && as_dir=.
203
for as_base in sh bash ksh sh5; do
204
# Try only shells that exist, to save several forks.
205
as_shell=$as_dir/$as_base
206
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208
CONFIG_SHELL=$as_shell as_have_required=yes
209
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
217
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219
CONFIG_SHELL=$SHELL as_have_required=yes
224
if test "x$CONFIG_SHELL" != x; then :
225
# We cannot yet assume a decent shell, so we have to provide a
226
# neutralization value for shells without unset; and this also
227
# works around shells that cannot unset nonexistent variables.
228
# Preserve -v and -x to the replacement shell.
231
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
234
*v*x* | *x*v* ) as_opts=-vx ;;
239
exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
242
if test x$as_have_required = xno; then :
243
$as_echo "$0: This script requires a shell more modern than all"
244
$as_echo "$0: the shells that I found on your system."
245
if test x${ZSH_VERSION+set} = xset ; then
246
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
249
$as_echo "$0: Please tell bug-autoconf@gnu.org and
250
$0: http://bugzilla.gnome.org/enter_bug.cgi?product=cheese
251
$0: about your system, including any error possibly output
252
$0: before this message. Then install a modern shell, or
253
$0: manually run the script under such a shell if you do
260
SHELL=${CONFIG_SHELL-/bin/sh}
262
# Unset more variables known to interfere with behavior of common tools.
263
CLICOLOR_FORCE= GREP_OPTIONS=
264
unset CLICOLOR_FORCE GREP_OPTIONS
266
## --------------------- ##
267
## M4sh Shell Functions. ##
268
## --------------------- ##
271
# Portably unset VAR.
274
{ eval $1=; unset $1;}
278
# as_fn_set_status STATUS
279
# -----------------------
280
# Set $? to STATUS, without forking.
288
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
298
# Create "$as_dir" as a directory, including parents if necessary.
303
-*) as_dir=./$as_dir;;
305
test -d "$as_dir" || eval $as_mkdir_p || {
309
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
312
as_dirs="'$as_qdir' $as_dirs"
313
as_dir=`$as_dirname -- "$as_dir" ||
314
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
315
X"$as_dir" : 'X\(//\)[^/]' \| \
316
X"$as_dir" : 'X\(//\)$' \| \
317
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
318
$as_echo X"$as_dir" |
319
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
336
test -d "$as_dir" && break
338
test -z "$as_dirs" || eval "mkdir $as_dirs"
339
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
343
# as_fn_append VAR VALUE
344
# ----------------------
345
# Append the text in VALUE to the end of the definition contained in VAR. Take
346
# advantage of any shell optimizations that allow amortized linear growth over
347
# repeated appends, instead of the typical quadratic growth present in naive
349
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
350
eval 'as_fn_append ()
363
# Perform arithmetic evaluation on the ARGs, and store the result in the
364
# global $as_val. Take advantage of shells that can avoid forks. The arguments
365
# must be portable across $(()) and expr.
366
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
374
as_val=`expr "$@" || test $? -eq 1`
379
# as_fn_error STATUS ERROR [LINENO LOG_FD]
380
# ----------------------------------------
381
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
382
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
383
# script with STATUS, using 1 if that was 0.
386
as_status=$1; test $as_status -eq 0 && as_status=1
388
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
389
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
391
$as_echo "$as_me: error: $2" >&2
392
as_fn_exit $as_status
395
if expr a : '\(a\)' >/dev/null 2>&1 &&
396
test "X`expr 00001 : '.*\(...\)'`" = X001; then
402
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
408
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
414
as_me=`$as_basename -- "$0" ||
415
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
416
X"$0" : 'X\(//\)$' \| \
417
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
419
sed '/^.*\/\([^/][^/]*\)\/*$/{
433
# Avoid depending upon Character Ranges.
434
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
435
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
436
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
437
as_cr_digits='0123456789'
438
as_cr_alnum=$as_cr_Letters$as_cr_digits
441
as_lineno_1=$LINENO as_lineno_1a=$LINENO
442
as_lineno_2=$LINENO as_lineno_2a=$LINENO
443
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
444
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
445
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
457
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
461
chmod +x "$as_me.lineno" ||
462
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
464
# Don't try to exec as it changes $[0], causing all sort of problems
465
# (the dirname of $[0] is not the place where we might find the
466
# original and so on. Autoconf is especially sensitive to this).
468
# Exit status is that of the last command.
472
ECHO_C= ECHO_N= ECHO_T=
473
case `echo -n x` in #(((((
475
case `echo 'xy\c'` in
476
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
478
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
485
rm -f conf$$ conf$$.exe conf$$.file
486
if test -d conf$$.dir; then
487
rm -f conf$$.dir/conf$$.file
490
mkdir conf$$.dir 2>/dev/null
492
if (echo >conf$$.file) 2>/dev/null; then
493
if ln -s conf$$.file conf$$ 2>/dev/null; then
495
# ... but there are two gotchas:
496
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
497
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
498
# In both cases, we have to default to `cp -p'.
499
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
501
elif ln conf$$.file conf$$ 2>/dev/null; then
509
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
510
rmdir conf$$.dir 2>/dev/null
512
if mkdir -p . 2>/dev/null; then
513
as_mkdir_p='mkdir -p "$as_dir"'
515
test -d ./-p && rmdir ./-p
519
if test -x / >/dev/null 2>&1; then
522
if ls -dL / >/dev/null 2>&1; then
529
if test -d "$1"; then
535
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
536
???[sx]*):;;*)false;;esac;fi
540
as_executable_p=$as_test_x
542
# Sed expression to map a string onto a valid CPP name.
543
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
545
# Sed expression to map a string onto a valid variable name.
546
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
549
# Use only awk features that work with 7th edition Unix awk (1978).
550
# My, what an old awk you have, Mr. Solaris!
552
while (length(v1) && length(v2)) {
553
# Set d1 to be the next thing to compare from v1, and likewise for d2.
554
# Normally this is a single character, but if v1 and v2 contain digits,
555
# compare them as integers and fractions as strverscmp does.
556
if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) {
557
# Split v1 and v2 into their leading digit string components d1 and d2,
558
# and advance v1 and v2 past the leading digit strings.
559
for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue
560
for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue
561
d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
562
d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
565
# Compare two fractions.
566
while (d1 ~ /^0/ && d2 ~ /^0/) {
567
d1 = substr(d1, 2); len1--
568
d2 = substr(d2, 2); len2--
570
if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
571
# The two components differ in length, and the common prefix
572
# contains only leading zeros. Consider the longer to be less.
576
# Otherwise, compare as strings.
581
# A fraction is less than an integer.
586
# An integer is greater than a fraction.
589
# Compare two integers.
595
# The normal case, without worrying about digits.
596
d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
597
d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
602
# Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
603
# which mishandles some comparisons of empty strings to integers.
604
if (length(v2)) exit 1
605
if (length(v1)) exit 2
608
SHELL=${CONFIG_SHELL-/bin/sh}
611
test -n "$DJDIR" || exec 7<&0 </dev/null
615
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
616
# so uname gets run too.
617
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
622
ac_default_prefix=/usr/local
624
ac_config_libobj_dir=.
631
# Identity of this package.
632
PACKAGE_NAME='cheese'
633
PACKAGE_TARNAME='cheese'
634
PACKAGE_VERSION='3.2.2'
635
PACKAGE_STRING='cheese 3.2.2'
636
PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=cheese'
637
PACKAGE_URL='http://projects.gnome.org/cheese/'
639
ac_unique_file="configure.ac"
640
# Factoring default headers for most tests.
641
ac_includes_default="\
643
#ifdef HAVE_SYS_TYPES_H
644
# include <sys/types.h>
646
#ifdef HAVE_SYS_STAT_H
647
# include <sys/stat.h>
653
# ifdef HAVE_STDLIB_H
658
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
663
#ifdef HAVE_STRINGS_H
664
# include <strings.h>
666
#ifdef HAVE_INTTYPES_H
667
# include <inttypes.h>
676
ac_subst_vars='am__EXEEXT_FALSE
683
GSETTINGS_DISABLE_SCHEMAS_COMPILE
684
HAVE_GNOME_DOC_UTILS_FALSE
685
HAVE_GNOME_DOC_UTILS_TRUE
686
DISTCHECK_CONFIGURE_FLAGS
692
GTK_DOC_USE_REBASE_FALSE
693
GTK_DOC_USE_REBASE_TRUE
694
GTK_DOC_USE_LIBTOOL_FALSE
695
GTK_DOC_USE_LIBTOOL_TRUE
696
GTK_DOC_BUILD_PDF_FALSE
697
GTK_DOC_BUILD_PDF_TRUE
698
GTK_DOC_BUILD_HTML_FALSE
699
GTK_DOC_BUILD_HTML_TRUE
708
HAVE_INTROSPECTION_FALSE
709
HAVE_INTROSPECTION_TRUE
710
INTROSPECTION_MAKEFILE
713
INTROSPECTION_TYPELIBDIR
715
INTROSPECTION_GENERATE
716
INTROSPECTION_COMPILER
717
INTROSPECTION_SCANNER
741
INTLTOOL_SERVICE_RULE
743
INTLTOOL_SCHEMAS_RULE
745
INTLTOOL_XML_NOMERGE_RULE
750
INTLTOOL_SOUNDLIST_RULE
757
INTLTOOL_DIRECTORY_RULE
758
INTLTOOL_DESKTOP_RULE
765
LIBCHEESE_GTK_LT_VERSION
817
MAINTAINER_MODE_FALSE
827
INSTALL_STRIP_PROGRAM
869
program_transform_name
882
enable_option_checking
883
enable_maintainer_mode
884
enable_dependency_tracking
892
enable_compile_warnings
904
enable_schemas_compile
906
ac_precious_vars='build_alias
928
# Initialize some variables set by options.
930
ac_init_version=false
931
ac_unrecognized_opts=
933
# The variables have the same names as the options, with
934
# dashes changed to underlines.
942
program_transform_name=s,x,x,
950
# Installation directory options.
951
# These are left unexpanded so users can "make install exec_prefix=/foo"
952
# and all the variables that are supposed to be based on exec_prefix
953
# by default will actually change.
954
# Use braces instead of parens because sh, perl, etc. also accept them.
955
# (The list follows the same order as the GNU Coding Standards.)
956
bindir='${exec_prefix}/bin'
957
sbindir='${exec_prefix}/sbin'
958
libexecdir='${exec_prefix}/libexec'
959
datarootdir='${prefix}/share'
960
datadir='${datarootdir}'
961
sysconfdir='${prefix}/etc'
962
sharedstatedir='${prefix}/com'
963
localstatedir='${prefix}/var'
964
includedir='${prefix}/include'
965
oldincludedir='/usr/include'
966
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
967
infodir='${datarootdir}/info'
972
libdir='${exec_prefix}/lib'
973
localedir='${datarootdir}/locale'
974
mandir='${datarootdir}/man'
980
# If the previous option needs an argument, assign it.
981
if test -n "$ac_prev"; then
982
eval $ac_prev=\$ac_option
988
*=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
993
# Accept the important Cygnus configure options, so we can diagnose typos.
995
case $ac_dashdash$ac_option in
999
-bindir | --bindir | --bindi | --bind | --bin | --bi)
1001
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1002
bindir=$ac_optarg ;;
1004
-build | --build | --buil | --bui | --bu)
1005
ac_prev=build_alias ;;
1006
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
1007
build_alias=$ac_optarg ;;
1009
-cache-file | --cache-file | --cache-fil | --cache-fi \
1010
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1011
ac_prev=cache_file ;;
1012
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1013
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1014
cache_file=$ac_optarg ;;
1016
--config-cache | -C)
1017
cache_file=config.cache ;;
1019
-datadir | --datadir | --datadi | --datad)
1021
-datadir=* | --datadir=* | --datadi=* | --datad=*)
1022
datadir=$ac_optarg ;;
1024
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1025
| --dataroo | --dataro | --datar)
1026
ac_prev=datarootdir ;;
1027
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1028
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1029
datarootdir=$ac_optarg ;;
1031
-disable-* | --disable-*)
1032
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1033
# Reject names that are not valid shell variable names.
1034
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1035
as_fn_error $? "invalid feature name: $ac_useropt"
1036
ac_useropt_orig=$ac_useropt
1037
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1038
case $ac_user_opts in
1040
"enable_$ac_useropt"
1042
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1043
ac_unrecognized_sep=', ';;
1045
eval enable_$ac_useropt=no ;;
1047
-docdir | --docdir | --docdi | --doc | --do)
1049
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1050
docdir=$ac_optarg ;;
1052
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1054
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1055
dvidir=$ac_optarg ;;
1057
-enable-* | --enable-*)
1058
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1059
# Reject names that are not valid shell variable names.
1060
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1061
as_fn_error $? "invalid feature name: $ac_useropt"
1062
ac_useropt_orig=$ac_useropt
1063
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1064
case $ac_user_opts in
1066
"enable_$ac_useropt"
1068
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1069
ac_unrecognized_sep=', ';;
1071
eval enable_$ac_useropt=\$ac_optarg ;;
1073
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1074
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1075
| --exec | --exe | --ex)
1076
ac_prev=exec_prefix ;;
1077
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1078
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1079
| --exec=* | --exe=* | --ex=*)
1080
exec_prefix=$ac_optarg ;;
1082
-gas | --gas | --ga | --g)
1083
# Obsolete; use --with-gas.
1086
-help | --help | --hel | --he | -h)
1087
ac_init_help=long ;;
1088
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1089
ac_init_help=recursive ;;
1090
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1091
ac_init_help=short ;;
1093
-host | --host | --hos | --ho)
1094
ac_prev=host_alias ;;
1095
-host=* | --host=* | --hos=* | --ho=*)
1096
host_alias=$ac_optarg ;;
1098
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1100
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1102
htmldir=$ac_optarg ;;
1104
-includedir | --includedir | --includedi | --included | --include \
1105
| --includ | --inclu | --incl | --inc)
1106
ac_prev=includedir ;;
1107
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1108
| --includ=* | --inclu=* | --incl=* | --inc=*)
1109
includedir=$ac_optarg ;;
1111
-infodir | --infodir | --infodi | --infod | --info | --inf)
1113
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1114
infodir=$ac_optarg ;;
1116
-libdir | --libdir | --libdi | --libd)
1118
-libdir=* | --libdir=* | --libdi=* | --libd=*)
1119
libdir=$ac_optarg ;;
1121
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1122
| --libexe | --libex | --libe)
1123
ac_prev=libexecdir ;;
1124
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1125
| --libexe=* | --libex=* | --libe=*)
1126
libexecdir=$ac_optarg ;;
1128
-localedir | --localedir | --localedi | --localed | --locale)
1129
ac_prev=localedir ;;
1130
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1131
localedir=$ac_optarg ;;
1133
-localstatedir | --localstatedir | --localstatedi | --localstated \
1134
| --localstate | --localstat | --localsta | --localst | --locals)
1135
ac_prev=localstatedir ;;
1136
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1137
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1138
localstatedir=$ac_optarg ;;
1140
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1142
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1143
mandir=$ac_optarg ;;
1145
-nfp | --nfp | --nf)
1146
# Obsolete; use --without-fp.
1149
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
1150
| --no-cr | --no-c | -n)
1153
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
1154
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1157
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1158
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1159
| --oldin | --oldi | --old | --ol | --o)
1160
ac_prev=oldincludedir ;;
1161
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1162
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1163
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1164
oldincludedir=$ac_optarg ;;
1166
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1168
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1169
prefix=$ac_optarg ;;
1171
-program-prefix | --program-prefix | --program-prefi | --program-pref \
1172
| --program-pre | --program-pr | --program-p)
1173
ac_prev=program_prefix ;;
1174
-program-prefix=* | --program-prefix=* | --program-prefi=* \
1175
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1176
program_prefix=$ac_optarg ;;
1178
-program-suffix | --program-suffix | --program-suffi | --program-suff \
1179
| --program-suf | --program-su | --program-s)
1180
ac_prev=program_suffix ;;
1181
-program-suffix=* | --program-suffix=* | --program-suffi=* \
1182
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1183
program_suffix=$ac_optarg ;;
1185
-program-transform-name | --program-transform-name \
1186
| --program-transform-nam | --program-transform-na \
1187
| --program-transform-n | --program-transform- \
1188
| --program-transform | --program-transfor \
1189
| --program-transfo | --program-transf \
1190
| --program-trans | --program-tran \
1191
| --progr-tra | --program-tr | --program-t)
1192
ac_prev=program_transform_name ;;
1193
-program-transform-name=* | --program-transform-name=* \
1194
| --program-transform-nam=* | --program-transform-na=* \
1195
| --program-transform-n=* | --program-transform-=* \
1196
| --program-transform=* | --program-transfor=* \
1197
| --program-transfo=* | --program-transf=* \
1198
| --program-trans=* | --program-tran=* \
1199
| --progr-tra=* | --program-tr=* | --program-t=*)
1200
program_transform_name=$ac_optarg ;;
1202
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1204
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1205
pdfdir=$ac_optarg ;;
1207
-psdir | --psdir | --psdi | --psd | --ps)
1209
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1212
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1213
| -silent | --silent | --silen | --sile | --sil)
1216
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1218
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1220
sbindir=$ac_optarg ;;
1222
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1223
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1224
| --sharedst | --shareds | --shared | --share | --shar \
1226
ac_prev=sharedstatedir ;;
1227
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1228
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1229
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1231
sharedstatedir=$ac_optarg ;;
1233
-site | --site | --sit)
1235
-site=* | --site=* | --sit=*)
1238
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1240
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1241
srcdir=$ac_optarg ;;
1243
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1244
| --syscon | --sysco | --sysc | --sys | --sy)
1245
ac_prev=sysconfdir ;;
1246
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1247
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1248
sysconfdir=$ac_optarg ;;
1250
-target | --target | --targe | --targ | --tar | --ta | --t)
1251
ac_prev=target_alias ;;
1252
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1253
target_alias=$ac_optarg ;;
1255
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1258
-version | --version | --versio | --versi | --vers | -V)
1259
ac_init_version=: ;;
1262
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1263
# Reject names that are not valid shell variable names.
1264
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1265
as_fn_error $? "invalid package name: $ac_useropt"
1266
ac_useropt_orig=$ac_useropt
1267
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1268
case $ac_user_opts in
1272
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1273
ac_unrecognized_sep=', ';;
1275
eval with_$ac_useropt=\$ac_optarg ;;
1277
-without-* | --without-*)
1278
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1279
# Reject names that are not valid shell variable names.
1280
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1281
as_fn_error $? "invalid package name: $ac_useropt"
1282
ac_useropt_orig=$ac_useropt
1283
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1284
case $ac_user_opts in
1288
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1289
ac_unrecognized_sep=', ';;
1291
eval with_$ac_useropt=no ;;
1294
# Obsolete; use --with-x.
1297
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1298
| --x-incl | --x-inc | --x-in | --x-i)
1299
ac_prev=x_includes ;;
1300
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1301
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1302
x_includes=$ac_optarg ;;
1304
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1305
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1306
ac_prev=x_libraries ;;
1307
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1308
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1309
x_libraries=$ac_optarg ;;
1311
-*) as_fn_error $? "unrecognized option: \`$ac_option'
1312
Try \`$0 --help' for more information"
1316
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1317
# Reject names that are not valid shell variable names.
1318
case $ac_envvar in #(
1319
'' | [0-9]* | *[!_$as_cr_alnum]* )
1320
as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1322
eval $ac_envvar=\$ac_optarg
1323
export $ac_envvar ;;
1326
# FIXME: should be removed in autoconf 3.0.
1327
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1328
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1329
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1330
: "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1336
if test -n "$ac_prev"; then
1337
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1338
as_fn_error $? "missing argument to $ac_option"
1341
if test -n "$ac_unrecognized_opts"; then
1342
case $enable_option_checking in
1344
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1345
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1349
# Check all directory arguments for consistency.
1350
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1351
datadir sysconfdir sharedstatedir localstatedir includedir \
1352
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1353
libdir localedir mandir
1355
eval ac_val=\$$ac_var
1356
# Remove trailing slashes.
1359
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1360
eval $ac_var=\$ac_val;;
1362
# Be sure to have absolute directory names.
1364
[\\/$]* | ?:[\\/]* ) continue;;
1365
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1367
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1370
# There might be people who depend on the old broken behavior: `$host'
1371
# used to hold the argument of --host etc.
1372
# FIXME: To remove some day.
1375
target=$target_alias
1377
# FIXME: To remove some day.
1378
if test "x$host_alias" != x; then
1379
if test "x$build_alias" = x; then
1380
cross_compiling=maybe
1381
$as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1382
If a cross compiler is detected then cross compile mode will be used" >&2
1383
elif test "x$build_alias" != "x$host_alias"; then
1389
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1391
test "$silent" = yes && exec 6>/dev/null
1394
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1395
ac_ls_di=`ls -di .` &&
1396
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1397
as_fn_error $? "working directory cannot be determined"
1398
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1399
as_fn_error $? "pwd does not report name of working directory"
1402
# Find the source files, if location was not specified.
1403
if test -z "$srcdir"; then
1404
ac_srcdir_defaulted=yes
1405
# Try the directory containing this script, then the parent directory.
1406
ac_confdir=`$as_dirname -- "$as_myself" ||
1407
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1408
X"$as_myself" : 'X\(//\)[^/]' \| \
1409
X"$as_myself" : 'X\(//\)$' \| \
1410
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1411
$as_echo X"$as_myself" |
1412
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1430
if test ! -r "$srcdir/$ac_unique_file"; then
1434
ac_srcdir_defaulted=no
1436
if test ! -r "$srcdir/$ac_unique_file"; then
1437
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1438
as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1440
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1442
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1444
# When building in place, set srcdir=.
1445
if test "$ac_abs_confdir" = "$ac_pwd"; then
1448
# Remove unnecessary trailing slashes from srcdir.
1449
# Double slashes in file names in object file debugging info
1450
# mess up M-x gdb in Emacs.
1452
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1454
for ac_var in $ac_precious_vars; do
1455
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1456
eval ac_env_${ac_var}_value=\$${ac_var}
1457
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1458
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1462
# Report the --help message.
1464
if test "$ac_init_help" = "long"; then
1465
# Omit some internal or obsolete options to make the list less imposing.
1466
# This message is too long to be a string in the A/UX 3.1 sh.
1468
\`configure' configures cheese 3.2.2 to adapt to many kinds of systems.
1470
Usage: $0 [OPTION]... [VAR=VALUE]...
1472
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1473
VAR=VALUE. See below for descriptions of some of the useful variables.
1475
Defaults for the options are specified in brackets.
1478
-h, --help display this help and exit
1479
--help=short display options specific to this package
1480
--help=recursive display the short help of all the included packages
1481
-V, --version display version information and exit
1482
-q, --quiet, --silent do not print \`checking ...' messages
1483
--cache-file=FILE cache test results in FILE [disabled]
1484
-C, --config-cache alias for \`--cache-file=config.cache'
1485
-n, --no-create do not create output files
1486
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1488
Installation directories:
1489
--prefix=PREFIX install architecture-independent files in PREFIX
1490
[$ac_default_prefix]
1491
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1494
By default, \`make install' will install all the files in
1495
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1496
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1497
for instance \`--prefix=\$HOME'.
1499
For better control, use the options below.
1501
Fine tuning of the installation directories:
1502
--bindir=DIR user executables [EPREFIX/bin]
1503
--sbindir=DIR system admin executables [EPREFIX/sbin]
1504
--libexecdir=DIR program executables [EPREFIX/libexec]
1505
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1506
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1507
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1508
--libdir=DIR object code libraries [EPREFIX/lib]
1509
--includedir=DIR C header files [PREFIX/include]
1510
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1511
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1512
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1513
--infodir=DIR info documentation [DATAROOTDIR/info]
1514
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1515
--mandir=DIR man documentation [DATAROOTDIR/man]
1516
--docdir=DIR documentation root [DATAROOTDIR/doc/cheese]
1517
--htmldir=DIR html documentation [DOCDIR]
1518
--dvidir=DIR dvi documentation [DOCDIR]
1519
--pdfdir=DIR pdf documentation [DOCDIR]
1520
--psdir=DIR ps documentation [DOCDIR]
1526
--program-prefix=PREFIX prepend PREFIX to installed program names
1527
--program-suffix=SUFFIX append SUFFIX to installed program names
1528
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1531
--build=BUILD configure for building on BUILD [guessed]
1532
--host=HOST cross-compile to build programs to run on HOST [BUILD]
1536
if test -n "$ac_init_help"; then
1537
case $ac_init_help in
1538
short | recursive ) echo "Configuration of cheese 3.2.2:";;
1543
--disable-option-checking ignore unrecognized --enable/--with options
1544
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1545
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1546
--disable-maintainer-mode disable make rules and dependencies not useful
1547
(and sometimes confusing) to the casual installer
1548
--disable-dependency-tracking speeds up one-time build
1549
--enable-dependency-tracking do not reject slow dependency extractors
1550
--enable-shared[=PKGS] build shared libraries [default=yes]
1551
--enable-static[=PKGS] build static libraries [default=yes]
1552
--enable-fast-install[=PKGS]
1553
optimize for fast installation [default=yes]
1554
--disable-libtool-lock avoid locking (might break parallel builds)
1555
--enable-compile-warnings=[no/minimum/yes/maximum/error]
1556
Turn on compiler warnings
1557
--enable-iso-c Try to warn if code is not ISO C
1558
--disable-nls do not use Native Language Support
1559
--enable-introspection=[no/auto/yes]
1560
Enable introspection for this build
1561
--enable-gtk-doc use gtk-doc to build documentation [[default=no]]
1562
--enable-gtk-doc-html build documentation in html format [[default=yes]]
1563
--enable-gtk-doc-pdf build documentation in pdf format [[default=no]]
1564
--disable-scrollkeeper do not make updates to the scrollkeeper database
1565
--disable-schemas-compile
1566
Disable regeneration of gschemas.compiled on install
1569
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1570
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1571
--with-pic try to use only PIC/non-PIC objects [default=use
1573
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
1574
--with-sysroot=DIR Search for dependent libraries within DIR
1575
(or the compiler's sysroot if not specified).
1576
--with-html-dir=PATH path to installed docs
1577
--with-help-dir=DIR path to help docs
1578
--with-omf-dir=DIR path to OMF files
1579
--with-help-formats=FORMATS
1582
Some influential environment variables:
1583
CC C compiler command
1584
CFLAGS C compiler flags
1585
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1586
nonstandard directory <lib dir>
1587
LIBS libraries to pass to the linker, e.g. -l<library>
1588
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1589
you have headers in a nonstandard directory <include dir>
1591
PKG_CONFIG path to pkg-config utility
1593
directories to add to pkg-config's search path
1595
path overriding pkg-config's built-in search path
1596
UDEV_CFLAGS C compiler flags for UDEV, overriding pkg-config
1597
UDEV_LIBS linker flags for UDEV, overriding pkg-config
1599
C compiler flags for CHEESE, overriding pkg-config
1600
CHEESE_LIBS linker flags for CHEESE, overriding pkg-config
1602
C compiler flags for CHEESE_GTK, overriding pkg-config
1604
linker flags for CHEESE_GTK, overriding pkg-config
1606
C compiler flags for GTKDOC_DEPS, overriding pkg-config
1608
linker flags for GTKDOC_DEPS, overriding pkg-config
1610
Use these variables to override the choices made by `configure' or to help
1611
it to find libraries and programs with nonstandard names/locations.
1613
Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=cheese>.
1614
cheese home page: <http://projects.gnome.org/cheese/>.
1619
if test "$ac_init_help" = "recursive"; then
1620
# If there are subdirs, report their specific --help.
1621
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1622
test -d "$ac_dir" ||
1623
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1628
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1630
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1631
# A ".." for each directory in $ac_dir_suffix.
1632
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1633
case $ac_top_builddir_sub in
1634
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1635
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1638
ac_abs_top_builddir=$ac_pwd
1639
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1640
# for backward compatibility:
1641
ac_top_builddir=$ac_top_build_prefix
1644
.) # We are building in place.
1646
ac_top_srcdir=$ac_top_builddir_sub
1647
ac_abs_top_srcdir=$ac_pwd ;;
1648
[\\/]* | ?:[\\/]* ) # Absolute name.
1649
ac_srcdir=$srcdir$ac_dir_suffix;
1650
ac_top_srcdir=$srcdir
1651
ac_abs_top_srcdir=$srcdir ;;
1653
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1654
ac_top_srcdir=$ac_top_build_prefix$srcdir
1655
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1657
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1659
cd "$ac_dir" || { ac_status=$?; continue; }
1660
# Check for guested configure.
1661
if test -f "$ac_srcdir/configure.gnu"; then
1663
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1664
elif test -f "$ac_srcdir/configure"; then
1666
$SHELL "$ac_srcdir/configure" --help=recursive
1668
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1670
cd "$ac_pwd" || { ac_status=$?; break; }
1674
test -n "$ac_init_help" && exit $ac_status
1675
if $ac_init_version; then
1677
cheese configure 3.2.2
1678
generated by GNU Autoconf 2.68
1680
Copyright (C) 2010 Free Software Foundation, Inc.
1681
This configure script is free software; the Free Software Foundation
1682
gives unlimited permission to copy, distribute and modify it.
1687
## ------------------------ ##
1688
## Autoconf initialization. ##
1689
## ------------------------ ##
1691
# ac_fn_c_try_compile LINENO
1692
# --------------------------
1693
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1694
ac_fn_c_try_compile ()
1696
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1697
rm -f conftest.$ac_objext
1698
if { { ac_try="$ac_compile"
1700
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1701
*) ac_try_echo=$ac_try;;
1703
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1704
$as_echo "$ac_try_echo"; } >&5
1705
(eval "$ac_compile") 2>conftest.err
1707
if test -s conftest.err; then
1708
grep -v '^ *+' conftest.err >conftest.er1
1709
cat conftest.er1 >&5
1710
mv -f conftest.er1 conftest.err
1712
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1713
test $ac_status = 0; } && {
1714
test -z "$ac_c_werror_flag" ||
1715
test ! -s conftest.err
1716
} && test -s conftest.$ac_objext; then :
1719
$as_echo "$as_me: failed program was:" >&5
1720
sed 's/^/| /' conftest.$ac_ext >&5
1724
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1725
as_fn_set_status $ac_retval
1727
} # ac_fn_c_try_compile
1729
# ac_fn_c_try_cpp LINENO
1730
# ----------------------
1731
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1734
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1735
if { { ac_try="$ac_cpp conftest.$ac_ext"
1737
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1738
*) ac_try_echo=$ac_try;;
1740
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1741
$as_echo "$ac_try_echo"; } >&5
1742
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1744
if test -s conftest.err; then
1745
grep -v '^ *+' conftest.err >conftest.er1
1746
cat conftest.er1 >&5
1747
mv -f conftest.er1 conftest.err
1749
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1750
test $ac_status = 0; } > conftest.i && {
1751
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1752
test ! -s conftest.err
1756
$as_echo "$as_me: failed program was:" >&5
1757
sed 's/^/| /' conftest.$ac_ext >&5
1761
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1762
as_fn_set_status $ac_retval
1766
# ac_fn_c_try_run LINENO
1767
# ----------------------
1768
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1769
# that executables *can* be run.
1772
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1773
if { { ac_try="$ac_link"
1775
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1776
*) ac_try_echo=$ac_try;;
1778
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1779
$as_echo "$ac_try_echo"; } >&5
1780
(eval "$ac_link") 2>&5
1782
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1783
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1784
{ { case "(($ac_try" in
1785
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1786
*) ac_try_echo=$ac_try;;
1788
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1789
$as_echo "$ac_try_echo"; } >&5
1790
(eval "$ac_try") 2>&5
1792
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1793
test $ac_status = 0; }; }; then :
1796
$as_echo "$as_me: program exited with status $ac_status" >&5
1797
$as_echo "$as_me: failed program was:" >&5
1798
sed 's/^/| /' conftest.$ac_ext >&5
1800
ac_retval=$ac_status
1802
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1803
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1804
as_fn_set_status $ac_retval
1808
# ac_fn_c_try_link LINENO
1809
# -----------------------
1810
# Try to link conftest.$ac_ext, and return whether this succeeded.
1813
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1814
rm -f conftest.$ac_objext conftest$ac_exeext
1815
if { { ac_try="$ac_link"
1817
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1818
*) ac_try_echo=$ac_try;;
1820
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1821
$as_echo "$ac_try_echo"; } >&5
1822
(eval "$ac_link") 2>conftest.err
1824
if test -s conftest.err; then
1825
grep -v '^ *+' conftest.err >conftest.er1
1826
cat conftest.er1 >&5
1827
mv -f conftest.er1 conftest.err
1829
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1830
test $ac_status = 0; } && {
1831
test -z "$ac_c_werror_flag" ||
1832
test ! -s conftest.err
1833
} && test -s conftest$ac_exeext && {
1834
test "$cross_compiling" = yes ||
1835
$as_test_x conftest$ac_exeext
1839
$as_echo "$as_me: failed program was:" >&5
1840
sed 's/^/| /' conftest.$ac_ext >&5
1844
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1845
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1846
# interfere with the next link command; also delete a directory that is
1847
# left behind by Apple's compiler. We do this before executing the actions.
1848
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1849
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1850
as_fn_set_status $ac_retval
1852
} # ac_fn_c_try_link
1854
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1855
# -------------------------------------------------------
1856
# Tests whether HEADER exists and can be compiled using the include files in
1857
# INCLUDES, setting the cache variable VAR accordingly.
1858
ac_fn_c_check_header_compile ()
1860
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1861
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1862
$as_echo_n "checking for $2... " >&6; }
1863
if eval \${$3+:} false; then :
1864
$as_echo_n "(cached) " >&6
1866
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1867
/* end confdefs.h. */
1871
if ac_fn_c_try_compile "$LINENO"; then :
1876
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1879
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1880
$as_echo "$ac_res" >&6; }
1881
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1883
} # ac_fn_c_check_header_compile
1885
# ac_fn_c_check_func LINENO FUNC VAR
1886
# ----------------------------------
1887
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1888
ac_fn_c_check_func ()
1890
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1891
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1892
$as_echo_n "checking for $2... " >&6; }
1893
if eval \${$3+:} false; then :
1894
$as_echo_n "(cached) " >&6
1896
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1897
/* end confdefs.h. */
1898
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1899
For example, HP-UX 11i <limits.h> declares gettimeofday. */
1900
#define $2 innocuous_$2
1902
/* System header to define __stub macros and hopefully few prototypes,
1903
which can conflict with char $2 (); below.
1904
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1905
<limits.h> exists even on freestanding compilers. */
1908
# include <limits.h>
1910
# include <assert.h>
1915
/* Override any GCC internal prototype to avoid an error.
1916
Use char because int might match the return type of a GCC
1917
builtin and then its argument prototype would still apply. */
1922
/* The GNU C library defines this for functions which it implements
1923
to always fail with ENOSYS. Some functions are actually named
1924
something starting with __ and the normal name is an alias. */
1925
#if defined __stub_$2 || defined __stub___$2
1937
if ac_fn_c_try_link "$LINENO"; then :
1942
rm -f core conftest.err conftest.$ac_objext \
1943
conftest$ac_exeext conftest.$ac_ext
1946
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1947
$as_echo "$ac_res" >&6; }
1948
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1950
} # ac_fn_c_check_func
1952
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1953
# -------------------------------------------------------
1954
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1955
# the include files in INCLUDES and setting the cache variable VAR
1957
ac_fn_c_check_header_mongrel ()
1959
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1960
if eval \${$3+:} false; then :
1961
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1962
$as_echo_n "checking for $2... " >&6; }
1963
if eval \${$3+:} false; then :
1964
$as_echo_n "(cached) " >&6
1967
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1968
$as_echo "$ac_res" >&6; }
1970
# Is the header compilable?
1971
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1972
$as_echo_n "checking $2 usability... " >&6; }
1973
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1974
/* end confdefs.h. */
1978
if ac_fn_c_try_compile "$LINENO"; then :
1979
ac_header_compiler=yes
1981
ac_header_compiler=no
1983
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1984
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1985
$as_echo "$ac_header_compiler" >&6; }
1987
# Is the header present?
1988
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1989
$as_echo_n "checking $2 presence... " >&6; }
1990
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1991
/* end confdefs.h. */
1994
if ac_fn_c_try_cpp "$LINENO"; then :
1995
ac_header_preproc=yes
1997
ac_header_preproc=no
1999
rm -f conftest.err conftest.i conftest.$ac_ext
2000
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2001
$as_echo "$ac_header_preproc" >&6; }
2003
# So? What about this header?
2004
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2006
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2007
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2008
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2009
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2012
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2013
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2014
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2015
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2016
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2017
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2018
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2019
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2020
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2021
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2022
( $as_echo "## --------------------------------------------------------------------- ##
2023
## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=cheese ##
2024
## --------------------------------------------------------------------- ##"
2025
) | sed "s/^/$as_me: WARNING: /" >&2
2028
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2029
$as_echo_n "checking for $2... " >&6; }
2030
if eval \${$3+:} false; then :
2031
$as_echo_n "(cached) " >&6
2033
eval "$3=\$ac_header_compiler"
2036
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2037
$as_echo "$ac_res" >&6; }
2039
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2041
} # ac_fn_c_check_header_mongrel
2042
cat >config.log <<_ACEOF
2043
This file contains any messages produced by compilers while
2044
running configure, to aid debugging if configure makes a mistake.
2046
It was created by cheese $as_me 3.2.2, which was
2047
generated by GNU Autoconf 2.68. Invocation command line was
2059
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2060
uname -m = `(uname -m) 2>/dev/null || echo unknown`
2061
uname -r = `(uname -r) 2>/dev/null || echo unknown`
2062
uname -s = `(uname -s) 2>/dev/null || echo unknown`
2063
uname -v = `(uname -v) 2>/dev/null || echo unknown`
2065
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2066
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2068
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2069
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2070
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2071
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2072
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2073
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2074
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2078
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2082
test -z "$as_dir" && as_dir=.
2083
$as_echo "PATH: $as_dir"
2099
# Keep a trace of the command line.
2100
# Strip out --no-create and --no-recursion so they do not pile up.
2101
# Strip out --silent because we don't want to record it for future runs.
2102
# Also quote any args containing shell meta-characters.
2103
# Make two passes to allow for proper duplicate-argument suppression.
2107
ac_must_keep_next=false
2113
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2114
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
2115
| -silent | --silent | --silen | --sile | --sil)
2118
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2121
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2123
as_fn_append ac_configure_args1 " '$ac_arg'"
2124
if test $ac_must_keep_next = true; then
2125
ac_must_keep_next=false # Got value, back to normal.
2128
*=* | --config-cache | -C | -disable-* | --disable-* \
2129
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2130
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2131
| -with-* | --with-* | -without-* | --without-* | --x)
2132
case "$ac_configure_args0 " in
2133
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2136
-* ) ac_must_keep_next=true ;;
2139
as_fn_append ac_configure_args " '$ac_arg'"
2144
{ ac_configure_args0=; unset ac_configure_args0;}
2145
{ ac_configure_args1=; unset ac_configure_args1;}
2147
# When interrupted or exit'd, cleanup temporary files, and complete
2148
# config.log. We remove comments because anyway the quotes in there
2149
# would cause problems or look ugly.
2150
# WARNING: Use '\'' to represent an apostrophe within the trap.
2151
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2152
trap 'exit_status=$?
2153
# Save into config.log some information that might help in debugging.
2157
$as_echo "## ---------------- ##
2158
## Cache variables. ##
2159
## ---------------- ##"
2161
# The following way of writing the cache mishandles newlines in values,
2163
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2164
eval ac_val=\$$ac_var
2168
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2169
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2172
_ | IFS | as_nl) ;; #(
2173
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2174
*) { eval $ac_var=; unset $ac_var;} ;;
2179
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2180
*${as_nl}ac_space=\ *)
2182
"s/'\''/'\''\\\\'\'''\''/g;
2183
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2186
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2193
$as_echo "## ----------------- ##
2194
## Output variables. ##
2195
## ----------------- ##"
2197
for ac_var in $ac_subst_vars
2199
eval ac_val=\$$ac_var
2201
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2203
$as_echo "$ac_var='\''$ac_val'\''"
2207
if test -n "$ac_subst_files"; then
2208
$as_echo "## ------------------- ##
2209
## File substitutions. ##
2210
## ------------------- ##"
2212
for ac_var in $ac_subst_files
2214
eval ac_val=\$$ac_var
2216
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2218
$as_echo "$ac_var='\''$ac_val'\''"
2223
if test -s confdefs.h; then
2224
$as_echo "## ----------- ##
2231
test "$ac_signal" != 0 &&
2232
$as_echo "$as_me: caught signal $ac_signal"
2233
$as_echo "$as_me: exit $exit_status"
2235
rm -f core *.core core.conftest.* &&
2236
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2239
for ac_signal in 1 2 13 15; do
2240
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2244
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2245
rm -f -r conftest* confdefs.h
2247
$as_echo "/* confdefs.h */" > confdefs.h
2249
# Predefined preprocessor variables.
2251
cat >>confdefs.h <<_ACEOF
2252
#define PACKAGE_NAME "$PACKAGE_NAME"
2255
cat >>confdefs.h <<_ACEOF
2256
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2259
cat >>confdefs.h <<_ACEOF
2260
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2263
cat >>confdefs.h <<_ACEOF
2264
#define PACKAGE_STRING "$PACKAGE_STRING"
2267
cat >>confdefs.h <<_ACEOF
2268
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2271
cat >>confdefs.h <<_ACEOF
2272
#define PACKAGE_URL "$PACKAGE_URL"
2276
# Let the site file select an alternate cache file if it wants to.
2277
# Prefer an explicitly selected file to automatically selected ones.
2280
if test -n "$CONFIG_SITE"; then
2281
# We do not want a PATH search for config.site.
2282
case $CONFIG_SITE in #((
2283
-*) ac_site_file1=./$CONFIG_SITE;;
2284
*/*) ac_site_file1=$CONFIG_SITE;;
2285
*) ac_site_file1=./$CONFIG_SITE;;
2287
elif test "x$prefix" != xNONE; then
2288
ac_site_file1=$prefix/share/config.site
2289
ac_site_file2=$prefix/etc/config.site
2291
ac_site_file1=$ac_default_prefix/share/config.site
2292
ac_site_file2=$ac_default_prefix/etc/config.site
2294
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2296
test "x$ac_site_file" = xNONE && continue
2297
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2298
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2299
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2300
sed 's/^/| /' "$ac_site_file" >&5
2302
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2303
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2304
as_fn_error $? "failed to load site script $ac_site_file
2305
See \`config.log' for more details" "$LINENO" 5; }
2309
if test -r "$cache_file"; then
2310
# Some versions of bash will fail to source /dev/null (special files
2311
# actually), so we avoid doing that. DJGPP emulates it as a regular file.
2312
if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2313
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2314
$as_echo "$as_me: loading cache $cache_file" >&6;}
2316
[\\/]* | ?:[\\/]* ) . "$cache_file";;
2317
*) . "./$cache_file";;
2321
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2322
$as_echo "$as_me: creating cache $cache_file" >&6;}
2326
# Check that the precious variables saved in the cache have kept the same
2328
ac_cache_corrupted=false
2329
for ac_var in $ac_precious_vars; do
2330
eval ac_old_set=\$ac_cv_env_${ac_var}_set
2331
eval ac_new_set=\$ac_env_${ac_var}_set
2332
eval ac_old_val=\$ac_cv_env_${ac_var}_value
2333
eval ac_new_val=\$ac_env_${ac_var}_value
2334
case $ac_old_set,$ac_new_set in
2336
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2337
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2338
ac_cache_corrupted=: ;;
2340
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2341
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2342
ac_cache_corrupted=: ;;
2345
if test "x$ac_old_val" != "x$ac_new_val"; then
2346
# differences in whitespace do not lead to failure.
2347
ac_old_val_w=`echo x $ac_old_val`
2348
ac_new_val_w=`echo x $ac_new_val`
2349
if test "$ac_old_val_w" != "$ac_new_val_w"; then
2350
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2351
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2352
ac_cache_corrupted=:
2354
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2355
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2356
eval $ac_var=\$ac_old_val
2358
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2359
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2360
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2361
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2364
# Pass precious variables to config.status.
2365
if test "$ac_new_set" = set; then
2367
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2368
*) ac_arg=$ac_var=$ac_new_val ;;
2370
case " $ac_configure_args " in
2371
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2372
*) as_fn_append ac_configure_args " '$ac_arg'" ;;
2376
if $ac_cache_corrupted; then
2377
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2378
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2379
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2380
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2381
as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2383
## -------------------- ##
2384
## Main body of script. ##
2385
## -------------------- ##
2388
ac_cpp='$CPP $CPPFLAGS'
2389
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2390
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2391
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2395
ac_config_headers="$ac_config_headers cheese-config.h"
2400
am__api_version='1.11'
2403
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2404
if test -f "$ac_dir/install-sh"; then
2406
ac_install_sh="$ac_aux_dir/install-sh -c"
2408
elif test -f "$ac_dir/install.sh"; then
2410
ac_install_sh="$ac_aux_dir/install.sh -c"
2412
elif test -f "$ac_dir/shtool"; then
2414
ac_install_sh="$ac_aux_dir/shtool install -c"
2418
if test -z "$ac_aux_dir"; then
2419
as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2422
# These three variables are undocumented and unsupported,
2423
# and are intended to be withdrawn in a future Autoconf release.
2424
# They can cause serious problems if a builder's source tree is in a directory
2425
# whose full name contains unusual characters.
2426
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2427
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2428
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2431
# Find a good install program. We prefer a C program (faster),
2432
# so one script is as good as another. But avoid the broken or
2433
# incompatible versions:
2434
# SysV /etc/install, /usr/sbin/install
2435
# SunOS /usr/etc/install
2436
# IRIX /sbin/install
2438
# AmigaOS /C/install, which installs bootblocks on floppy discs
2439
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2440
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2441
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2442
# OS/2's system install, which has a completely different semantic
2443
# ./install, which can be erroneously created by make from ./install.sh.
2444
# Reject install programs that cannot install multiple files.
2445
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2446
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2447
if test -z "$INSTALL"; then
2448
if ${ac_cv_path_install+:} false; then :
2449
$as_echo_n "(cached) " >&6
2451
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2455
test -z "$as_dir" && as_dir=.
2456
# Account for people who put trailing slashes in PATH elements.
2457
case $as_dir/ in #((
2458
./ | .// | /[cC]/* | \
2459
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2460
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2463
# OSF1 and SCO ODT 3.0 have their own names for install.
2464
# Don't use installbsd from OSF since it installs stuff as root
2466
for ac_prog in ginstall scoinst install; do
2467
for ac_exec_ext in '' $ac_executable_extensions; do
2468
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2469
if test $ac_prog = install &&
2470
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2471
# AIX install. It has an incompatible calling convention.
2473
elif test $ac_prog = install &&
2474
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2475
# program-specific install script used by HP pwplus--don't use.
2478
rm -rf conftest.one conftest.two conftest.dir
2479
echo one > conftest.one
2480
echo two > conftest.two
2482
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2483
test -s conftest.one && test -s conftest.two &&
2484
test -s conftest.dir/conftest.one &&
2485
test -s conftest.dir/conftest.two
2487
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2500
rm -rf conftest.one conftest.two conftest.dir
2503
if test "${ac_cv_path_install+set}" = set; then
2504
INSTALL=$ac_cv_path_install
2506
# As a last resort, use the slow shell script. Don't cache a
2507
# value for INSTALL within a source directory, because that will
2508
# break other packages using the cache if that directory is
2509
# removed, or if the value is a relative name.
2510
INSTALL=$ac_install_sh
2513
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2514
$as_echo "$INSTALL" >&6; }
2516
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2517
# It thinks the first close brace ends the variable substitution.
2518
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2520
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2522
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2524
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2525
$as_echo_n "checking whether build environment is sane... " >&6; }
2528
echo timestamp > conftest.file
2529
# Reject unsafe characters in $srcdir or the absolute working directory
2530
# name. Accept space and tab only in the latter.
2534
*[\\\"\#\$\&\'\`$am_lf]*)
2535
as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2538
*[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2539
as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2542
# Do `set' in a subshell so we don't clobber the current shell's
2543
# arguments. Must try -L first in case configure is actually a
2544
# symlink; some systems play weird games with the mod time of symlinks
2545
# (eg FreeBSD returns the mod time of the symlink's containing
2548
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2549
if test "$*" = "X"; then
2551
set X `ls -t "$srcdir/configure" conftest.file`
2554
if test "$*" != "X $srcdir/configure conftest.file" \
2555
&& test "$*" != "X conftest.file $srcdir/configure"; then
2557
# If neither matched, then we have a broken ls. This can happen
2558
# if, for instance, CONFIG_SHELL is bash and it inherits a
2559
# broken ls alias from the environment. This has actually
2560
# happened. Such a system could not be considered "sane".
2561
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2562
alias in your environment" "$LINENO" 5
2565
test "$2" = conftest.file
2571
as_fn_error $? "newly created file is older than distributed files!
2572
Check your system clock" "$LINENO" 5
2574
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2575
$as_echo "yes" >&6; }
2576
test "$program_prefix" != NONE &&
2577
program_transform_name="s&^&$program_prefix&;$program_transform_name"
2578
# Use a double $ so make ignores it.
2579
test "$program_suffix" != NONE &&
2580
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2581
# Double any \ or $.
2582
# By default was `s,x,x', remove it if useless.
2583
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2584
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2586
# expand $ac_aux_dir to an absolute path
2587
am_aux_dir=`cd $ac_aux_dir && pwd`
2589
if test x"${MISSING+set}" != xset; then
2592
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2594
MISSING="\${SHELL} $am_aux_dir/missing" ;;
2597
# Use eval to expand $SHELL
2598
if eval "$MISSING --run true"; then
2599
am_missing_run="$MISSING --run "
2602
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2603
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2606
if test x"${install_sh}" != xset; then
2609
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2611
install_sh="\${SHELL} $am_aux_dir/install-sh"
2615
# Installed binaries are usually stripped using `strip' when the user
2616
# run `make install-strip'. However `strip' might not be the right
2617
# tool to use in cross-compilation environments, therefore Automake
2618
# will honor the `STRIP' environment variable to overrule this program.
2619
if test "$cross_compiling" != no; then
2620
if test -n "$ac_tool_prefix"; then
2621
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2622
set dummy ${ac_tool_prefix}strip; ac_word=$2
2623
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2624
$as_echo_n "checking for $ac_word... " >&6; }
2625
if ${ac_cv_prog_STRIP+:} false; then :
2626
$as_echo_n "(cached) " >&6
2628
if test -n "$STRIP"; then
2629
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2631
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2635
test -z "$as_dir" && as_dir=.
2636
for ac_exec_ext in '' $ac_executable_extensions; do
2637
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2638
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2639
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2648
STRIP=$ac_cv_prog_STRIP
2649
if test -n "$STRIP"; then
2650
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2651
$as_echo "$STRIP" >&6; }
2653
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2654
$as_echo "no" >&6; }
2659
if test -z "$ac_cv_prog_STRIP"; then
2661
# Extract the first word of "strip", so it can be a program name with args.
2662
set dummy strip; ac_word=$2
2663
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2664
$as_echo_n "checking for $ac_word... " >&6; }
2665
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2666
$as_echo_n "(cached) " >&6
2668
if test -n "$ac_ct_STRIP"; then
2669
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2671
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2675
test -z "$as_dir" && as_dir=.
2676
for ac_exec_ext in '' $ac_executable_extensions; do
2677
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2678
ac_cv_prog_ac_ct_STRIP="strip"
2679
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2688
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2689
if test -n "$ac_ct_STRIP"; then
2690
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2691
$as_echo "$ac_ct_STRIP" >&6; }
2693
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2694
$as_echo "no" >&6; }
2697
if test "x$ac_ct_STRIP" = x; then
2700
case $cross_compiling:$ac_tool_warned in
2702
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2703
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2704
ac_tool_warned=yes ;;
2709
STRIP="$ac_cv_prog_STRIP"
2713
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2715
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2716
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2717
if test -z "$MKDIR_P"; then
2718
if ${ac_cv_path_mkdir+:} false; then :
2719
$as_echo_n "(cached) " >&6
2721
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2722
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2725
test -z "$as_dir" && as_dir=.
2726
for ac_prog in mkdir gmkdir; do
2727
for ac_exec_ext in '' $ac_executable_extensions; do
2728
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2729
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2730
'mkdir (GNU coreutils) '* | \
2731
'mkdir (coreutils) '* | \
2732
'mkdir (fileutils) '4.1*)
2733
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2743
test -d ./--version && rmdir ./--version
2744
if test "${ac_cv_path_mkdir+set}" = set; then
2745
MKDIR_P="$ac_cv_path_mkdir -p"
2747
# As a last resort, use the slow shell script. Don't cache a
2748
# value for MKDIR_P within a source directory, because that will
2749
# break other packages using the cache if that directory is
2750
# removed, or if the value is a relative name.
2751
MKDIR_P="$ac_install_sh -d"
2754
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2755
$as_echo "$MKDIR_P" >&6; }
2759
[\\/$]* | ?:[\\/]*) ;;
2760
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2763
for ac_prog in gawk mawk nawk awk
2765
# Extract the first word of "$ac_prog", so it can be a program name with args.
2766
set dummy $ac_prog; ac_word=$2
2767
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2768
$as_echo_n "checking for $ac_word... " >&6; }
2769
if ${ac_cv_prog_AWK+:} false; then :
2770
$as_echo_n "(cached) " >&6
2772
if test -n "$AWK"; then
2773
ac_cv_prog_AWK="$AWK" # Let the user override the test.
2775
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2779
test -z "$as_dir" && as_dir=.
2780
for ac_exec_ext in '' $ac_executable_extensions; do
2781
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2782
ac_cv_prog_AWK="$ac_prog"
2783
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2793
if test -n "$AWK"; then
2794
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2795
$as_echo "$AWK" >&6; }
2797
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2798
$as_echo "no" >&6; }
2802
test -n "$AWK" && break
2805
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2806
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2808
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2809
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2810
$as_echo_n "(cached) " >&6
2812
cat >conftest.make <<\_ACEOF
2815
@echo '@@@%%%=$(MAKE)=@@@%%%'
2817
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2818
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2820
eval ac_cv_prog_make_${ac_make}_set=yes;;
2822
eval ac_cv_prog_make_${ac_make}_set=no;;
2826
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2827
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2828
$as_echo "yes" >&6; }
2831
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2832
$as_echo "no" >&6; }
2833
SET_MAKE="MAKE=${MAKE-make}"
2836
rm -rf .tst 2>/dev/null
2837
mkdir .tst 2>/dev/null
2838
if test -d .tst; then
2843
rmdir .tst 2>/dev/null
2845
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2846
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2847
# is not polluted with repeated "-I."
2848
am__isrc=' -I$(srcdir)'
2849
# test to see if srcdir already configured
2850
if test -f $srcdir/config.status; then
2851
as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2855
# test whether we have cygpath
2856
if test -z "$CYGPATH_W"; then
2857
if (cygpath --version) >/dev/null 2>/dev/null; then
2858
CYGPATH_W='cygpath -w'
2865
# Define the identity of the package.
2870
cat >>confdefs.h <<_ACEOF
2871
#define PACKAGE "$PACKAGE"
2875
cat >>confdefs.h <<_ACEOF
2876
#define VERSION "$VERSION"
2879
# Some tools Automake needs.
2881
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2884
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2887
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2890
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2893
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2895
# We need awk for the "check" target. The system "awk" is bad on
2897
# Always define AMTAR for backward compatibility.
2899
AMTAR=${AMTAR-"${am_missing_run}tar"}
2901
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2908
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to disable maintainer-specific portions of Makefiles" >&5
2909
$as_echo_n "checking whether to disable maintainer-specific portions of Makefiles... " >&6; }
2910
# Check whether --enable-maintainer-mode was given.
2911
if test "${enable_maintainer_mode+set}" = set; then :
2912
enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2914
USE_MAINTAINER_MODE=yes
2917
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2918
$as_echo "$USE_MAINTAINER_MODE" >&6; }
2919
if test $USE_MAINTAINER_MODE = yes; then
2920
MAINTAINER_MODE_TRUE=
2921
MAINTAINER_MODE_FALSE='#'
2923
MAINTAINER_MODE_TRUE='#'
2924
MAINTAINER_MODE_FALSE=
2927
MAINT=$MAINTAINER_MODE_TRUE
2931
# Check for programs
2933
ac_cpp='$CPP $CPPFLAGS'
2934
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2935
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2936
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2937
if test -n "$ac_tool_prefix"; then
2938
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2939
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2940
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2941
$as_echo_n "checking for $ac_word... " >&6; }
2942
if ${ac_cv_prog_CC+:} false; then :
2943
$as_echo_n "(cached) " >&6
2945
if test -n "$CC"; then
2946
ac_cv_prog_CC="$CC" # Let the user override the test.
2948
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2952
test -z "$as_dir" && as_dir=.
2953
for ac_exec_ext in '' $ac_executable_extensions; do
2954
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2955
ac_cv_prog_CC="${ac_tool_prefix}gcc"
2956
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2966
if test -n "$CC"; then
2967
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2968
$as_echo "$CC" >&6; }
2970
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2971
$as_echo "no" >&6; }
2976
if test -z "$ac_cv_prog_CC"; then
2978
# Extract the first word of "gcc", so it can be a program name with args.
2979
set dummy gcc; ac_word=$2
2980
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2981
$as_echo_n "checking for $ac_word... " >&6; }
2982
if ${ac_cv_prog_ac_ct_CC+:} false; then :
2983
$as_echo_n "(cached) " >&6
2985
if test -n "$ac_ct_CC"; then
2986
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2988
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2992
test -z "$as_dir" && as_dir=.
2993
for ac_exec_ext in '' $ac_executable_extensions; do
2994
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2995
ac_cv_prog_ac_ct_CC="gcc"
2996
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3005
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3006
if test -n "$ac_ct_CC"; then
3007
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3008
$as_echo "$ac_ct_CC" >&6; }
3010
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3011
$as_echo "no" >&6; }
3014
if test "x$ac_ct_CC" = x; then
3017
case $cross_compiling:$ac_tool_warned in
3019
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3020
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3021
ac_tool_warned=yes ;;
3029
if test -z "$CC"; then
3030
if test -n "$ac_tool_prefix"; then
3031
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3032
set dummy ${ac_tool_prefix}cc; ac_word=$2
3033
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3034
$as_echo_n "checking for $ac_word... " >&6; }
3035
if ${ac_cv_prog_CC+:} false; then :
3036
$as_echo_n "(cached) " >&6
3038
if test -n "$CC"; then
3039
ac_cv_prog_CC="$CC" # Let the user override the test.
3041
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3045
test -z "$as_dir" && as_dir=.
3046
for ac_exec_ext in '' $ac_executable_extensions; do
3047
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3048
ac_cv_prog_CC="${ac_tool_prefix}cc"
3049
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3059
if test -n "$CC"; then
3060
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3061
$as_echo "$CC" >&6; }
3063
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3064
$as_echo "no" >&6; }
3070
if test -z "$CC"; then
3071
# Extract the first word of "cc", so it can be a program name with args.
3072
set dummy cc; ac_word=$2
3073
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3074
$as_echo_n "checking for $ac_word... " >&6; }
3075
if ${ac_cv_prog_CC+:} false; then :
3076
$as_echo_n "(cached) " >&6
3078
if test -n "$CC"; then
3079
ac_cv_prog_CC="$CC" # Let the user override the test.
3082
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3086
test -z "$as_dir" && as_dir=.
3087
for ac_exec_ext in '' $ac_executable_extensions; do
3088
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3089
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3090
ac_prog_rejected=yes
3094
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3101
if test $ac_prog_rejected = yes; then
3102
# We found a bogon in the path, so make sure we never use it.
3103
set dummy $ac_cv_prog_CC
3105
if test $# != 0; then
3106
# We chose a different compiler from the bogus one.
3107
# However, it has the same basename, so the bogon will be chosen
3108
# first if we set CC to just the basename; use the full file name.
3110
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3116
if test -n "$CC"; then
3117
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3118
$as_echo "$CC" >&6; }
3120
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3121
$as_echo "no" >&6; }
3126
if test -z "$CC"; then
3127
if test -n "$ac_tool_prefix"; then
3128
for ac_prog in cl.exe
3130
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3131
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3132
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3133
$as_echo_n "checking for $ac_word... " >&6; }
3134
if ${ac_cv_prog_CC+:} false; then :
3135
$as_echo_n "(cached) " >&6
3137
if test -n "$CC"; then
3138
ac_cv_prog_CC="$CC" # Let the user override the test.
3140
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3144
test -z "$as_dir" && as_dir=.
3145
for ac_exec_ext in '' $ac_executable_extensions; do
3146
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3147
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3148
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3158
if test -n "$CC"; then
3159
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3160
$as_echo "$CC" >&6; }
3162
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3163
$as_echo "no" >&6; }
3167
test -n "$CC" && break
3170
if test -z "$CC"; then
3172
for ac_prog in cl.exe
3174
# Extract the first word of "$ac_prog", so it can be a program name with args.
3175
set dummy $ac_prog; ac_word=$2
3176
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3177
$as_echo_n "checking for $ac_word... " >&6; }
3178
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3179
$as_echo_n "(cached) " >&6
3181
if test -n "$ac_ct_CC"; then
3182
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3184
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3188
test -z "$as_dir" && as_dir=.
3189
for ac_exec_ext in '' $ac_executable_extensions; do
3190
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3191
ac_cv_prog_ac_ct_CC="$ac_prog"
3192
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3201
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3202
if test -n "$ac_ct_CC"; then
3203
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3204
$as_echo "$ac_ct_CC" >&6; }
3206
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3207
$as_echo "no" >&6; }
3211
test -n "$ac_ct_CC" && break
3214
if test "x$ac_ct_CC" = x; then
3217
case $cross_compiling:$ac_tool_warned in
3219
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3220
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3221
ac_tool_warned=yes ;;
3230
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3231
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3232
as_fn_error $? "no acceptable C compiler found in \$PATH
3233
See \`config.log' for more details" "$LINENO" 5; }
3235
# Provide some information about the compiler.
3236
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3239
for ac_option in --version -v -V -qversion; do
3240
{ { ac_try="$ac_compiler $ac_option >&5"
3242
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3243
*) ac_try_echo=$ac_try;;
3245
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3246
$as_echo "$ac_try_echo"; } >&5
3247
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
3249
if test -s conftest.err; then
3251
... rest of stderr output deleted ...
3252
10q' conftest.err >conftest.er1
3253
cat conftest.er1 >&5
3255
rm -f conftest.er1 conftest.err
3256
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3257
test $ac_status = 0; }
3260
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3261
/* end confdefs.h. */
3271
ac_clean_files_save=$ac_clean_files
3272
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3273
# Try to create an executable without -o first, disregard a.out.
3274
# It will help us diagnose broken compilers, and finding out an intuition
3276
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3277
$as_echo_n "checking whether the C compiler works... " >&6; }
3278
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3280
# The possible output files:
3281
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3284
for ac_file in $ac_files
3287
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3288
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
3293
if { { ac_try="$ac_link_default"
3295
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3296
*) ac_try_echo=$ac_try;;
3298
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3299
$as_echo "$ac_try_echo"; } >&5
3300
(eval "$ac_link_default") 2>&5
3302
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3303
test $ac_status = 0; }; then :
3304
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3305
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3306
# in a Makefile. We should not override ac_cv_exeext if it was cached,
3307
# so that the user can short-circuit this test for compilers unknown to
3309
for ac_file in $ac_files ''
3311
test -f "$ac_file" || continue
3313
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3316
# We found the default executable, but exeext='' is most
3320
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3322
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3324
# We set ac_cv_exeext here because the later test for it is not
3325
# safe: cross compilers may not add the suffix if given an `-o'
3326
# argument, so we may need to know it at that point already.
3327
# Even if this section looks crufty: it has the advantage of
3334
test "$ac_cv_exeext" = no && ac_cv_exeext=
3339
if test -z "$ac_file"; then :
3340
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3341
$as_echo "no" >&6; }
3342
$as_echo "$as_me: failed program was:" >&5
3343
sed 's/^/| /' conftest.$ac_ext >&5
3345
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3346
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3347
as_fn_error 77 "C compiler cannot create executables
3348
See \`config.log' for more details" "$LINENO" 5; }
3350
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3351
$as_echo "yes" >&6; }
3353
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3354
$as_echo_n "checking for C compiler default output file name... " >&6; }
3355
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3356
$as_echo "$ac_file" >&6; }
3357
ac_exeext=$ac_cv_exeext
3359
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3360
ac_clean_files=$ac_clean_files_save
3361
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3362
$as_echo_n "checking for suffix of executables... " >&6; }
3363
if { { ac_try="$ac_link"
3365
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3366
*) ac_try_echo=$ac_try;;
3368
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3369
$as_echo "$ac_try_echo"; } >&5
3370
(eval "$ac_link") 2>&5
3372
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3373
test $ac_status = 0; }; then :
3374
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3375
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3376
# work properly (i.e., refer to `conftest.exe'), while it won't with
3378
for ac_file in conftest.exe conftest conftest.*; do
3379
test -f "$ac_file" || continue
3381
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3382
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3388
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3389
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3390
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3391
See \`config.log' for more details" "$LINENO" 5; }
3393
rm -f conftest conftest$ac_cv_exeext
3394
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3395
$as_echo "$ac_cv_exeext" >&6; }
3397
rm -f conftest.$ac_ext
3398
EXEEXT=$ac_cv_exeext
3400
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3401
/* end confdefs.h. */
3406
FILE *f = fopen ("conftest.out", "w");
3407
return ferror (f) || fclose (f) != 0;
3413
ac_clean_files="$ac_clean_files conftest.out"
3414
# Check that the compiler produces executables we can run. If not, either
3415
# the compiler is broken, or we cross compile.
3416
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3417
$as_echo_n "checking whether we are cross compiling... " >&6; }
3418
if test "$cross_compiling" != yes; then
3419
{ { ac_try="$ac_link"
3421
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3422
*) ac_try_echo=$ac_try;;
3424
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3425
$as_echo "$ac_try_echo"; } >&5
3426
(eval "$ac_link") 2>&5
3428
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3429
test $ac_status = 0; }
3430
if { ac_try='./conftest$ac_cv_exeext'
3431
{ { case "(($ac_try" in
3432
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3433
*) ac_try_echo=$ac_try;;
3435
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3436
$as_echo "$ac_try_echo"; } >&5
3437
(eval "$ac_try") 2>&5
3439
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3440
test $ac_status = 0; }; }; then
3443
if test "$cross_compiling" = maybe; then
3446
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3447
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3448
as_fn_error $? "cannot run C compiled programs.
3449
If you meant to cross compile, use \`--host'.
3450
See \`config.log' for more details" "$LINENO" 5; }
3454
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3455
$as_echo "$cross_compiling" >&6; }
3457
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3458
ac_clean_files=$ac_clean_files_save
3459
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3460
$as_echo_n "checking for suffix of object files... " >&6; }
3461
if ${ac_cv_objext+:} false; then :
3462
$as_echo_n "(cached) " >&6
3464
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3465
/* end confdefs.h. */
3475
rm -f conftest.o conftest.obj
3476
if { { ac_try="$ac_compile"
3478
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3479
*) ac_try_echo=$ac_try;;
3481
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3482
$as_echo "$ac_try_echo"; } >&5
3483
(eval "$ac_compile") 2>&5
3485
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3486
test $ac_status = 0; }; then :
3487
for ac_file in conftest.o conftest.obj conftest.*; do
3488
test -f "$ac_file" || continue;
3490
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3491
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3496
$as_echo "$as_me: failed program was:" >&5
3497
sed 's/^/| /' conftest.$ac_ext >&5
3499
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3500
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3501
as_fn_error $? "cannot compute suffix of object files: cannot compile
3502
See \`config.log' for more details" "$LINENO" 5; }
3504
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3506
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3507
$as_echo "$ac_cv_objext" >&6; }
3508
OBJEXT=$ac_cv_objext
3510
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3511
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3512
if ${ac_cv_c_compiler_gnu+:} false; then :
3513
$as_echo_n "(cached) " >&6
3515
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3516
/* end confdefs.h. */
3529
if ac_fn_c_try_compile "$LINENO"; then :
3534
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3535
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3538
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3539
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3540
if test $ac_compiler_gnu = yes; then
3545
ac_test_CFLAGS=${CFLAGS+set}
3546
ac_save_CFLAGS=$CFLAGS
3547
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3548
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3549
if ${ac_cv_prog_cc_g+:} false; then :
3550
$as_echo_n "(cached) " >&6
3552
ac_save_c_werror_flag=$ac_c_werror_flag
3553
ac_c_werror_flag=yes
3556
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3557
/* end confdefs.h. */
3567
if ac_fn_c_try_compile "$LINENO"; then :
3571
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3572
/* end confdefs.h. */
3582
if ac_fn_c_try_compile "$LINENO"; then :
3585
ac_c_werror_flag=$ac_save_c_werror_flag
3587
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3588
/* end confdefs.h. */
3598
if ac_fn_c_try_compile "$LINENO"; then :
3601
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3603
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3605
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3606
ac_c_werror_flag=$ac_save_c_werror_flag
3608
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3609
$as_echo "$ac_cv_prog_cc_g" >&6; }
3610
if test "$ac_test_CFLAGS" = set; then
3611
CFLAGS=$ac_save_CFLAGS
3612
elif test $ac_cv_prog_cc_g = yes; then
3613
if test "$GCC" = yes; then
3619
if test "$GCC" = yes; then
3625
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3626
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3627
if ${ac_cv_prog_cc_c89+:} false; then :
3628
$as_echo_n "(cached) " >&6
3630
ac_cv_prog_cc_c89=no
3632
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3633
/* end confdefs.h. */
3636
#include <sys/types.h>
3637
#include <sys/stat.h>
3638
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3639
struct buf { int x; };
3640
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3641
static char *e (p, i)
3647
static char *f (char * (*g) (char **, int), char **p, ...)
3652
s = g (p, va_arg (v,int));
3657
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3658
function prototypes and stuff, but not '\xHH' hex character constants.
3659
These don't provoke an error unfortunately, instead are silently treated
3660
as 'x'. The following induces an error, until -std is added to get
3661
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3662
array size at least. It's necessary to write '\x00'==0 to get something
3663
that's true only with -std. */
3664
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3666
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3667
inside strings and character constants. */
3669
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3671
int test (int i, double x);
3672
struct s1 {int (*f) (int a);};
3673
struct s2 {int (*f) (double a);};
3674
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3680
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3685
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3686
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3688
CC="$ac_save_CC $ac_arg"
3689
if ac_fn_c_try_compile "$LINENO"; then :
3690
ac_cv_prog_cc_c89=$ac_arg
3692
rm -f core conftest.err conftest.$ac_objext
3693
test "x$ac_cv_prog_cc_c89" != "xno" && break
3695
rm -f conftest.$ac_ext
3700
case "x$ac_cv_prog_cc_c89" in
3702
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3703
$as_echo "none needed" >&6; } ;;
3705
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3706
$as_echo "unsupported" >&6; } ;;
3708
CC="$CC $ac_cv_prog_cc_c89"
3709
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3710
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3712
if test "x$ac_cv_prog_cc_c89" != xno; then :
3717
ac_cpp='$CPP $CPPFLAGS'
3718
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3719
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3720
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3721
DEPDIR="${am__leading_dot}deps"
3723
ac_config_commands="$ac_config_commands depfiles"
3726
am_make=${MAKE-make}
3727
cat > confinc << 'END'
3729
@echo this is the am__doit target
3732
# If we don't find an include directive, just comment out the code.
3733
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3734
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3738
# First try GNU make style include.
3739
echo "include confinc" > confmf
3740
# Ignore all kinds of additional output from `make'.
3741
case `$am_make -s -f confmf 2> /dev/null` in #(
3742
*the\ am__doit\ target*)
3748
# Now try BSD make style include.
3749
if test "$am__include" = "#"; then
3750
echo '.include "confinc"' > confmf
3751
case `$am_make -s -f confmf 2> /dev/null` in #(
3752
*the\ am__doit\ target*)
3753
am__include=.include
3761
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3762
$as_echo "$_am_result" >&6; }
3763
rm -f confinc confmf
3765
# Check whether --enable-dependency-tracking was given.
3766
if test "${enable_dependency_tracking+set}" = set; then :
3767
enableval=$enable_dependency_tracking;
3770
if test "x$enable_dependency_tracking" != xno; then
3771
am_depcomp="$ac_aux_dir/depcomp"
3774
if test "x$enable_dependency_tracking" != xno; then
3784
depcc="$CC" am_compiler_list=
3786
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3787
$as_echo_n "checking dependency style of $depcc... " >&6; }
3788
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3789
$as_echo_n "(cached) " >&6
3791
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3792
# We make a subdir and do the tests there. Otherwise we can end up
3793
# making bogus files that we don't know about and never remove. For
3794
# instance it was reported that on HP-UX the gcc test will end up
3795
# making a dummy file named `D' -- because `-MD' means `put the output
3798
# Copy depcomp to subdir because otherwise we won't find it if we're
3799
# using a relative directory.
3800
cp "$am_depcomp" conftest.dir
3802
# We will build objects and dependencies in a subdirectory because
3803
# it helps to detect inapplicable dependency modes. For instance
3804
# both Tru64's cc and ICC support -MD to output dependencies as a
3805
# side effect of compilation, but ICC will put the dependencies in
3806
# the current directory while Tru64 will put them in the object
3810
am_cv_CC_dependencies_compiler_type=none
3811
if test "$am_compiler_list" = ""; then
3812
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3815
case " $depcc " in #(
3816
*\ -arch\ *\ -arch\ *) am__universal=true ;;
3819
for depmode in $am_compiler_list; do
3820
# Setup a source with many dependencies, because some compilers
3821
# like to wrap large dependency lists on column 80 (with \), and
3822
# we should not choose a depcomp mode which is confused by this.
3824
# We need to recreate these files for each test, as the compiler may
3825
# overwrite some of them when testing with obscure command lines.
3826
# This happens at least with the AIX C compiler.
3828
for i in 1 2 3 4 5 6; do
3829
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3830
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3831
# Solaris 8's {/usr,}/bin/sh.
3832
touch sub/conftst$i.h
3834
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3836
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3837
# mode. It turns out that the SunPro C++ compiler does not properly
3838
# handle `-M -o', and we need to detect this. Also, some Intel
3839
# versions had trouble with output in subdirs
3840
am__obj=sub/conftest.${OBJEXT-o}
3841
am__minus_obj="-o $am__obj"
3844
# This depmode causes a compiler race in universal mode.
3845
test "$am__universal" = false || continue
3848
# after this tag, mechanisms are not by side-effect, so they'll
3849
# only be used when explicitly requested
3850
if test "x$enable_dependency_tracking" = xyes; then
3856
msvisualcpp | msvcmsys)
3857
# This compiler won't grok `-c -o', but also, the minuso test has
3858
# not run yet. These depmodes are late enough in the game, and
3859
# so weak that their functioning should not be impacted.
3860
am__obj=conftest.${OBJEXT-o}
3865
if depmode=$depmode \
3866
source=sub/conftest.c object=$am__obj \
3867
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3868
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3869
>/dev/null 2>conftest.err &&
3870
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3871
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3872
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3873
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3874
# icc doesn't choke on unknown options, it will just issue warnings
3875
# or remarks (even with -Werror). So we grep stderr for any message
3876
# that says an option was ignored or not supported.
3877
# When given -MP, icc 7.0 and 7.1 complain thusly:
3878
# icc: Command line warning: ignoring option '-M'; no argument required
3879
# The diagnosis changed in icc 8.0:
3880
# icc: Command line remark: option '-MP' not supported
3881
if (grep 'ignoring option' conftest.err ||
3882
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3883
am_cv_CC_dependencies_compiler_type=$depmode
3892
am_cv_CC_dependencies_compiler_type=none
3896
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3897
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3898
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3901
test "x$enable_dependency_tracking" != xno \
3902
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3904
am__fastdepCC_FALSE='#'
3906
am__fastdepCC_TRUE='#'
3907
am__fastdepCC_FALSE=
3912
ac_cpp='$CPP $CPPFLAGS'
3913
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3914
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3915
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3916
if test -n "$ac_tool_prefix"; then
3917
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3918
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3919
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3920
$as_echo_n "checking for $ac_word... " >&6; }
3921
if ${ac_cv_prog_CC+:} false; then :
3922
$as_echo_n "(cached) " >&6
3924
if test -n "$CC"; then
3925
ac_cv_prog_CC="$CC" # Let the user override the test.
3927
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3931
test -z "$as_dir" && as_dir=.
3932
for ac_exec_ext in '' $ac_executable_extensions; do
3933
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3934
ac_cv_prog_CC="${ac_tool_prefix}gcc"
3935
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3945
if test -n "$CC"; then
3946
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3947
$as_echo "$CC" >&6; }
3949
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3950
$as_echo "no" >&6; }
3955
if test -z "$ac_cv_prog_CC"; then
3957
# Extract the first word of "gcc", so it can be a program name with args.
3958
set dummy gcc; ac_word=$2
3959
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3960
$as_echo_n "checking for $ac_word... " >&6; }
3961
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3962
$as_echo_n "(cached) " >&6
3964
if test -n "$ac_ct_CC"; then
3965
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3967
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3971
test -z "$as_dir" && as_dir=.
3972
for ac_exec_ext in '' $ac_executable_extensions; do
3973
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3974
ac_cv_prog_ac_ct_CC="gcc"
3975
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3984
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3985
if test -n "$ac_ct_CC"; then
3986
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3987
$as_echo "$ac_ct_CC" >&6; }
3989
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3990
$as_echo "no" >&6; }
3993
if test "x$ac_ct_CC" = x; then
3996
case $cross_compiling:$ac_tool_warned in
3998
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3999
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4000
ac_tool_warned=yes ;;
4008
if test -z "$CC"; then
4009
if test -n "$ac_tool_prefix"; then
4010
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4011
set dummy ${ac_tool_prefix}cc; ac_word=$2
4012
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4013
$as_echo_n "checking for $ac_word... " >&6; }
4014
if ${ac_cv_prog_CC+:} false; then :
4015
$as_echo_n "(cached) " >&6
4017
if test -n "$CC"; then
4018
ac_cv_prog_CC="$CC" # Let the user override the test.
4020
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4024
test -z "$as_dir" && as_dir=.
4025
for ac_exec_ext in '' $ac_executable_extensions; do
4026
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4027
ac_cv_prog_CC="${ac_tool_prefix}cc"
4028
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4038
if test -n "$CC"; then
4039
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4040
$as_echo "$CC" >&6; }
4042
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4043
$as_echo "no" >&6; }
4049
if test -z "$CC"; then
4050
# Extract the first word of "cc", so it can be a program name with args.
4051
set dummy cc; ac_word=$2
4052
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4053
$as_echo_n "checking for $ac_word... " >&6; }
4054
if ${ac_cv_prog_CC+:} false; then :
4055
$as_echo_n "(cached) " >&6
4057
if test -n "$CC"; then
4058
ac_cv_prog_CC="$CC" # Let the user override the test.
4061
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4065
test -z "$as_dir" && as_dir=.
4066
for ac_exec_ext in '' $ac_executable_extensions; do
4067
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4068
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4069
ac_prog_rejected=yes
4073
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4080
if test $ac_prog_rejected = yes; then
4081
# We found a bogon in the path, so make sure we never use it.
4082
set dummy $ac_cv_prog_CC
4084
if test $# != 0; then
4085
# We chose a different compiler from the bogus one.
4086
# However, it has the same basename, so the bogon will be chosen
4087
# first if we set CC to just the basename; use the full file name.
4089
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4095
if test -n "$CC"; then
4096
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4097
$as_echo "$CC" >&6; }
4099
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4100
$as_echo "no" >&6; }
4105
if test -z "$CC"; then
4106
if test -n "$ac_tool_prefix"; then
4107
for ac_prog in cl.exe
4109
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4110
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4111
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4112
$as_echo_n "checking for $ac_word... " >&6; }
4113
if ${ac_cv_prog_CC+:} false; then :
4114
$as_echo_n "(cached) " >&6
4116
if test -n "$CC"; then
4117
ac_cv_prog_CC="$CC" # Let the user override the test.
4119
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4123
test -z "$as_dir" && as_dir=.
4124
for ac_exec_ext in '' $ac_executable_extensions; do
4125
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4126
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4127
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4137
if test -n "$CC"; then
4138
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4139
$as_echo "$CC" >&6; }
4141
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4142
$as_echo "no" >&6; }
4146
test -n "$CC" && break
4149
if test -z "$CC"; then
4151
for ac_prog in cl.exe
4153
# Extract the first word of "$ac_prog", so it can be a program name with args.
4154
set dummy $ac_prog; ac_word=$2
4155
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4156
$as_echo_n "checking for $ac_word... " >&6; }
4157
if ${ac_cv_prog_ac_ct_CC+:} false; then :
4158
$as_echo_n "(cached) " >&6
4160
if test -n "$ac_ct_CC"; then
4161
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4163
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4167
test -z "$as_dir" && as_dir=.
4168
for ac_exec_ext in '' $ac_executable_extensions; do
4169
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4170
ac_cv_prog_ac_ct_CC="$ac_prog"
4171
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4180
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4181
if test -n "$ac_ct_CC"; then
4182
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4183
$as_echo "$ac_ct_CC" >&6; }
4185
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4186
$as_echo "no" >&6; }
4190
test -n "$ac_ct_CC" && break
4193
if test "x$ac_ct_CC" = x; then
4196
case $cross_compiling:$ac_tool_warned in
4198
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4199
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4200
ac_tool_warned=yes ;;
4209
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4210
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4211
as_fn_error $? "no acceptable C compiler found in \$PATH
4212
See \`config.log' for more details" "$LINENO" 5; }
4214
# Provide some information about the compiler.
4215
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4218
for ac_option in --version -v -V -qversion; do
4219
{ { ac_try="$ac_compiler $ac_option >&5"
4221
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4222
*) ac_try_echo=$ac_try;;
4224
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4225
$as_echo "$ac_try_echo"; } >&5
4226
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
4228
if test -s conftest.err; then
4230
... rest of stderr output deleted ...
4231
10q' conftest.err >conftest.er1
4232
cat conftest.er1 >&5
4234
rm -f conftest.er1 conftest.err
4235
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4236
test $ac_status = 0; }
4239
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4240
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4241
if ${ac_cv_c_compiler_gnu+:} false; then :
4242
$as_echo_n "(cached) " >&6
4244
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4245
/* end confdefs.h. */
4258
if ac_fn_c_try_compile "$LINENO"; then :
4263
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4264
ac_cv_c_compiler_gnu=$ac_compiler_gnu
4267
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4268
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4269
if test $ac_compiler_gnu = yes; then
4274
ac_test_CFLAGS=${CFLAGS+set}
4275
ac_save_CFLAGS=$CFLAGS
4276
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4277
$as_echo_n "checking whether $CC accepts -g... " >&6; }
4278
if ${ac_cv_prog_cc_g+:} false; then :
4279
$as_echo_n "(cached) " >&6
4281
ac_save_c_werror_flag=$ac_c_werror_flag
4282
ac_c_werror_flag=yes
4285
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4286
/* end confdefs.h. */
4296
if ac_fn_c_try_compile "$LINENO"; then :
4300
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4301
/* end confdefs.h. */
4311
if ac_fn_c_try_compile "$LINENO"; then :
4314
ac_c_werror_flag=$ac_save_c_werror_flag
4316
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4317
/* end confdefs.h. */
4327
if ac_fn_c_try_compile "$LINENO"; then :
4330
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4332
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4334
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4335
ac_c_werror_flag=$ac_save_c_werror_flag
4337
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4338
$as_echo "$ac_cv_prog_cc_g" >&6; }
4339
if test "$ac_test_CFLAGS" = set; then
4340
CFLAGS=$ac_save_CFLAGS
4341
elif test $ac_cv_prog_cc_g = yes; then
4342
if test "$GCC" = yes; then
4348
if test "$GCC" = yes; then
4354
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4355
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4356
if ${ac_cv_prog_cc_c89+:} false; then :
4357
$as_echo_n "(cached) " >&6
4359
ac_cv_prog_cc_c89=no
4361
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4362
/* end confdefs.h. */
4365
#include <sys/types.h>
4366
#include <sys/stat.h>
4367
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4368
struct buf { int x; };
4369
FILE * (*rcsopen) (struct buf *, struct stat *, int);
4370
static char *e (p, i)
4376
static char *f (char * (*g) (char **, int), char **p, ...)
4381
s = g (p, va_arg (v,int));
4386
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4387
function prototypes and stuff, but not '\xHH' hex character constants.
4388
These don't provoke an error unfortunately, instead are silently treated
4389
as 'x'. The following induces an error, until -std is added to get
4390
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4391
array size at least. It's necessary to write '\x00'==0 to get something
4392
that's true only with -std. */
4393
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4395
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4396
inside strings and character constants. */
4398
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4400
int test (int i, double x);
4401
struct s1 {int (*f) (int a);};
4402
struct s2 {int (*f) (double a);};
4403
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4409
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4414
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4415
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4417
CC="$ac_save_CC $ac_arg"
4418
if ac_fn_c_try_compile "$LINENO"; then :
4419
ac_cv_prog_cc_c89=$ac_arg
4421
rm -f core conftest.err conftest.$ac_objext
4422
test "x$ac_cv_prog_cc_c89" != "xno" && break
4424
rm -f conftest.$ac_ext
4429
case "x$ac_cv_prog_cc_c89" in
4431
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4432
$as_echo "none needed" >&6; } ;;
4434
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4435
$as_echo "unsupported" >&6; } ;;
4437
CC="$CC $ac_cv_prog_cc_c89"
4438
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4439
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4441
if test "x$ac_cv_prog_cc_c89" != xno; then :
4446
ac_cpp='$CPP $CPPFLAGS'
4447
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4448
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4449
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4451
depcc="$CC" am_compiler_list=
4453
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4454
$as_echo_n "checking dependency style of $depcc... " >&6; }
4455
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4456
$as_echo_n "(cached) " >&6
4458
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4459
# We make a subdir and do the tests there. Otherwise we can end up
4460
# making bogus files that we don't know about and never remove. For
4461
# instance it was reported that on HP-UX the gcc test will end up
4462
# making a dummy file named `D' -- because `-MD' means `put the output
4465
# Copy depcomp to subdir because otherwise we won't find it if we're
4466
# using a relative directory.
4467
cp "$am_depcomp" conftest.dir
4469
# We will build objects and dependencies in a subdirectory because
4470
# it helps to detect inapplicable dependency modes. For instance
4471
# both Tru64's cc and ICC support -MD to output dependencies as a
4472
# side effect of compilation, but ICC will put the dependencies in
4473
# the current directory while Tru64 will put them in the object
4477
am_cv_CC_dependencies_compiler_type=none
4478
if test "$am_compiler_list" = ""; then
4479
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4482
case " $depcc " in #(
4483
*\ -arch\ *\ -arch\ *) am__universal=true ;;
4486
for depmode in $am_compiler_list; do
4487
# Setup a source with many dependencies, because some compilers
4488
# like to wrap large dependency lists on column 80 (with \), and
4489
# we should not choose a depcomp mode which is confused by this.
4491
# We need to recreate these files for each test, as the compiler may
4492
# overwrite some of them when testing with obscure command lines.
4493
# This happens at least with the AIX C compiler.
4495
for i in 1 2 3 4 5 6; do
4496
echo '#include "conftst'$i'.h"' >> sub/conftest.c
4497
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4498
# Solaris 8's {/usr,}/bin/sh.
4499
touch sub/conftst$i.h
4501
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4503
# We check with `-c' and `-o' for the sake of the "dashmstdout"
4504
# mode. It turns out that the SunPro C++ compiler does not properly
4505
# handle `-M -o', and we need to detect this. Also, some Intel
4506
# versions had trouble with output in subdirs
4507
am__obj=sub/conftest.${OBJEXT-o}
4508
am__minus_obj="-o $am__obj"
4511
# This depmode causes a compiler race in universal mode.
4512
test "$am__universal" = false || continue
4515
# after this tag, mechanisms are not by side-effect, so they'll
4516
# only be used when explicitly requested
4517
if test "x$enable_dependency_tracking" = xyes; then
4523
msvisualcpp | msvcmsys)
4524
# This compiler won't grok `-c -o', but also, the minuso test has
4525
# not run yet. These depmodes are late enough in the game, and
4526
# so weak that their functioning should not be impacted.
4527
am__obj=conftest.${OBJEXT-o}
4532
if depmode=$depmode \
4533
source=sub/conftest.c object=$am__obj \
4534
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4535
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4536
>/dev/null 2>conftest.err &&
4537
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4538
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4539
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4540
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4541
# icc doesn't choke on unknown options, it will just issue warnings
4542
# or remarks (even with -Werror). So we grep stderr for any message
4543
# that says an option was ignored or not supported.
4544
# When given -MP, icc 7.0 and 7.1 complain thusly:
4545
# icc: Command line warning: ignoring option '-M'; no argument required
4546
# The diagnosis changed in icc 8.0:
4547
# icc: Command line remark: option '-MP' not supported
4548
if (grep 'ignoring option' conftest.err ||
4549
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4550
am_cv_CC_dependencies_compiler_type=$depmode
4559
am_cv_CC_dependencies_compiler_type=none
4563
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4564
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4565
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4568
test "x$enable_dependency_tracking" != xno \
4569
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4571
am__fastdepCC_FALSE='#'
4573
am__fastdepCC_TRUE='#'
4574
am__fastdepCC_FALSE=
4579
am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
4583
ac_cpp='$CPP $CPPFLAGS'
4584
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4585
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4586
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4587
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4588
$as_echo_n "checking how to run the C preprocessor... " >&6; }
4589
# On Suns, sometimes $CPP names a directory.
4590
if test -n "$CPP" && test -d "$CPP"; then
4593
if test -z "$CPP"; then
4594
if ${ac_cv_prog_CPP+:} false; then :
4595
$as_echo_n "(cached) " >&6
4597
# Double quotes because CPP needs to be expanded
4598
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4601
for ac_c_preproc_warn_flag in '' yes
4603
# Use a header file that comes with gcc, so configuring glibc
4604
# with a fresh cross-compiler works.
4605
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4606
# <limits.h> exists even on freestanding compilers.
4607
# On the NeXT, cc -E runs the code through the compiler's parser,
4608
# not just through cpp. "Syntax error" is here to catch this case.
4609
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4610
/* end confdefs.h. */
4612
# include <limits.h>
4614
# include <assert.h>
4618
if ac_fn_c_try_cpp "$LINENO"; then :
4621
# Broken: fails on valid input.
4624
rm -f conftest.err conftest.i conftest.$ac_ext
4626
# OK, works on sane cases. Now check whether nonexistent headers
4627
# can be detected and how.
4628
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4629
/* end confdefs.h. */
4630
#include <ac_nonexistent.h>
4632
if ac_fn_c_try_cpp "$LINENO"; then :
4633
# Broken: success on invalid input.
4636
# Passes both tests.
4640
rm -f conftest.err conftest.i conftest.$ac_ext
4643
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4644
rm -f conftest.i conftest.err conftest.$ac_ext
4645
if $ac_preproc_ok; then :
4657
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4658
$as_echo "$CPP" >&6; }
4660
for ac_c_preproc_warn_flag in '' yes
4662
# Use a header file that comes with gcc, so configuring glibc
4663
# with a fresh cross-compiler works.
4664
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4665
# <limits.h> exists even on freestanding compilers.
4666
# On the NeXT, cc -E runs the code through the compiler's parser,
4667
# not just through cpp. "Syntax error" is here to catch this case.
4668
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4669
/* end confdefs.h. */
4671
# include <limits.h>
4673
# include <assert.h>
4677
if ac_fn_c_try_cpp "$LINENO"; then :
4680
# Broken: fails on valid input.
4683
rm -f conftest.err conftest.i conftest.$ac_ext
4685
# OK, works on sane cases. Now check whether nonexistent headers
4686
# can be detected and how.
4687
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4688
/* end confdefs.h. */
4689
#include <ac_nonexistent.h>
4691
if ac_fn_c_try_cpp "$LINENO"; then :
4692
# Broken: success on invalid input.
4695
# Passes both tests.
4699
rm -f conftest.err conftest.i conftest.$ac_ext
4702
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4703
rm -f conftest.i conftest.err conftest.$ac_ext
4704
if $ac_preproc_ok; then :
4707
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4708
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4709
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4710
See \`config.log' for more details" "$LINENO" 5; }
4714
ac_cpp='$CPP $CPPFLAGS'
4715
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4716
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4717
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4720
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4721
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4722
if ${ac_cv_path_GREP+:} false; then :
4723
$as_echo_n "(cached) " >&6
4725
if test -z "$GREP"; then
4726
ac_path_GREP_found=false
4727
# Loop through the user's path and test for each of PROGNAME-LIST
4728
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4729
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4732
test -z "$as_dir" && as_dir=.
4733
for ac_prog in grep ggrep; do
4734
for ac_exec_ext in '' $ac_executable_extensions; do
4735
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4736
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4737
# Check for GNU ac_path_GREP and select it if it is found.
4738
# Check for GNU $ac_path_GREP
4739
case `"$ac_path_GREP" --version 2>&1` in
4741
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4744
$as_echo_n 0123456789 >"conftest.in"
4747
cat "conftest.in" "conftest.in" >"conftest.tmp"
4748
mv "conftest.tmp" "conftest.in"
4749
cp "conftest.in" "conftest.nl"
4750
$as_echo 'GREP' >> "conftest.nl"
4751
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4752
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4753
as_fn_arith $ac_count + 1 && ac_count=$as_val
4754
if test $ac_count -gt ${ac_path_GREP_max-0}; then
4755
# Best one so far, save it but keep looking for a better one
4756
ac_cv_path_GREP="$ac_path_GREP"
4757
ac_path_GREP_max=$ac_count
4759
# 10*(2^10) chars as input seems more than enough
4760
test $ac_count -gt 10 && break
4762
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4765
$ac_path_GREP_found && break 3
4770
if test -z "$ac_cv_path_GREP"; then
4771
as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4774
ac_cv_path_GREP=$GREP
4778
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4779
$as_echo "$ac_cv_path_GREP" >&6; }
4780
GREP="$ac_cv_path_GREP"
4783
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4784
$as_echo_n "checking for egrep... " >&6; }
4785
if ${ac_cv_path_EGREP+:} false; then :
4786
$as_echo_n "(cached) " >&6
4788
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4789
then ac_cv_path_EGREP="$GREP -E"
4791
if test -z "$EGREP"; then
4792
ac_path_EGREP_found=false
4793
# Loop through the user's path and test for each of PROGNAME-LIST
4794
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4795
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4798
test -z "$as_dir" && as_dir=.
4799
for ac_prog in egrep; do
4800
for ac_exec_ext in '' $ac_executable_extensions; do
4801
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4802
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4803
# Check for GNU ac_path_EGREP and select it if it is found.
4804
# Check for GNU $ac_path_EGREP
4805
case `"$ac_path_EGREP" --version 2>&1` in
4807
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4810
$as_echo_n 0123456789 >"conftest.in"
4813
cat "conftest.in" "conftest.in" >"conftest.tmp"
4814
mv "conftest.tmp" "conftest.in"
4815
cp "conftest.in" "conftest.nl"
4816
$as_echo 'EGREP' >> "conftest.nl"
4817
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4818
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4819
as_fn_arith $ac_count + 1 && ac_count=$as_val
4820
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4821
# Best one so far, save it but keep looking for a better one
4822
ac_cv_path_EGREP="$ac_path_EGREP"
4823
ac_path_EGREP_max=$ac_count
4825
# 10*(2^10) chars as input seems more than enough
4826
test $ac_count -gt 10 && break
4828
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4831
$ac_path_EGREP_found && break 3
4836
if test -z "$ac_cv_path_EGREP"; then
4837
as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4840
ac_cv_path_EGREP=$EGREP
4845
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4846
$as_echo "$ac_cv_path_EGREP" >&6; }
4847
EGREP="$ac_cv_path_EGREP"
4850
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4851
$as_echo_n "checking for ANSI C header files... " >&6; }
4852
if ${ac_cv_header_stdc+:} false; then :
4853
$as_echo_n "(cached) " >&6
4855
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4856
/* end confdefs.h. */
4870
if ac_fn_c_try_compile "$LINENO"; then :
4871
ac_cv_header_stdc=yes
4873
ac_cv_header_stdc=no
4875
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4877
if test $ac_cv_header_stdc = yes; then
4878
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4879
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4880
/* end confdefs.h. */
4884
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4885
$EGREP "memchr" >/dev/null 2>&1; then :
4888
ac_cv_header_stdc=no
4894
if test $ac_cv_header_stdc = yes; then
4895
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4896
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4897
/* end confdefs.h. */
4901
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4902
$EGREP "free" >/dev/null 2>&1; then :
4905
ac_cv_header_stdc=no
4911
if test $ac_cv_header_stdc = yes; then
4912
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4913
if test "$cross_compiling" = yes; then :
4916
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4917
/* end confdefs.h. */
4920
#if ((' ' & 0x0FF) == 0x020)
4921
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4922
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4924
# define ISLOWER(c) \
4925
(('a' <= (c) && (c) <= 'i') \
4926
|| ('j' <= (c) && (c) <= 'r') \
4927
|| ('s' <= (c) && (c) <= 'z'))
4928
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4931
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4936
for (i = 0; i < 256; i++)
4937
if (XOR (islower (i), ISLOWER (i))
4938
|| toupper (i) != TOUPPER (i))
4943
if ac_fn_c_try_run "$LINENO"; then :
4946
ac_cv_header_stdc=no
4948
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4949
conftest.$ac_objext conftest.beam conftest.$ac_ext
4954
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4955
$as_echo "$ac_cv_header_stdc" >&6; }
4956
if test $ac_cv_header_stdc = yes; then
4958
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4962
# Extract the first word of "valac", so it can be a program name with args.
4963
set dummy valac; ac_word=$2
4964
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4965
$as_echo_n "checking for $ac_word... " >&6; }
4966
if ${ac_cv_path_VALAC+:} false; then :
4967
$as_echo_n "(cached) " >&6
4971
ac_cv_path_VALAC="$VALAC" # Let the user override the test with a path.
4974
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4978
test -z "$as_dir" && as_dir=.
4979
for ac_exec_ext in '' $ac_executable_extensions; do
4980
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4981
ac_cv_path_VALAC="$as_dir/$ac_word$ac_exec_ext"
4982
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4992
VALAC=$ac_cv_path_VALAC
4993
if test -n "$VALAC"; then
4994
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALAC" >&5
4995
$as_echo "$VALAC" >&6; }
4997
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4998
$as_echo "no" >&6; }
5002
if test -z "$VALAC"; then :
5003
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No Vala compiler found. You will not be able to compile .vala source files." >&5
5004
$as_echo "$as_me: WARNING: No Vala compiler found. You will not be able to compile .vala source files." >&2;}
5006
if test -n "0.13.2"; then :
5007
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $VALAC is at least version 0.13.2" >&5
5008
$as_echo_n "checking $VALAC is at least version 0.13.2... " >&6; }
5009
am__vala_version=`$VALAC --version | sed 's/Vala *//'`
5011
as_arg_v2="$am__vala_version"
5012
awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
5015
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5016
$as_echo "yes" >&6; } ;; #(
5018
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5019
$as_echo "yes" >&6; } ;; #(
5021
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5022
$as_echo "no" >&6; }
5023
as_fn_error $? "Vala 0.13.2 not found." "$LINENO" 5 ;; #(
5031
# Initialize libtool
5035
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5036
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5042
macro_revision='1.3293'
5056
ltmain="$ac_aux_dir/ltmain.sh"
5058
# Make sure we can run config.sub.
5059
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5060
as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5062
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5063
$as_echo_n "checking build system type... " >&6; }
5064
if ${ac_cv_build+:} false; then :
5065
$as_echo_n "(cached) " >&6
5067
ac_build_alias=$build_alias
5068
test "x$ac_build_alias" = x &&
5069
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5070
test "x$ac_build_alias" = x &&
5071
as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5072
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5073
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5076
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5077
$as_echo "$ac_cv_build" >&6; }
5078
case $ac_cv_build in
5080
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5083
ac_save_IFS=$IFS; IFS='-'
5089
# Remember, the first character of IFS is used to create $*,
5090
# except with old shells:
5093
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5096
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5097
$as_echo_n "checking host system type... " >&6; }
5098
if ${ac_cv_host+:} false; then :
5099
$as_echo_n "(cached) " >&6
5101
if test "x$host_alias" = x; then
5102
ac_cv_host=$ac_cv_build
5104
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5105
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5109
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5110
$as_echo "$ac_cv_host" >&6; }
5113
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5116
ac_save_IFS=$IFS; IFS='-'
5122
# Remember, the first character of IFS is used to create $*,
5123
# except with old shells:
5126
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5129
# Backslashify metacharacters that are still active within
5130
# double-quoted strings.
5131
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5133
# Same as above, but do not quote variable references.
5134
double_quote_subst='s/\(["`\\]\)/\\\1/g'
5136
# Sed substitution to delay expansion of an escaped shell variable in a
5137
# double_quote_subst'ed string.
5138
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5140
# Sed substitution to delay expansion of an escaped single quote.
5141
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5143
# Sed substitution to avoid accidental globbing in evaled expressions
5144
no_glob_subst='s/\*/\\\*/g'
5146
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5147
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5148
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5150
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5151
$as_echo_n "checking how to print strings... " >&6; }
5152
# Test print first, because it will be a builtin if present.
5153
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5154
test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5156
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5159
# Use this function as a fallback that always works.
5160
func_fallback_echo ()
5162
eval 'cat <<_LTECHO_EOF
5166
ECHO='func_fallback_echo'
5169
# func_echo_all arg...
5170
# Invoke $ECHO with all args, space-separated.
5177
printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5178
$as_echo "printf" >&6; } ;;
5179
print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5180
$as_echo "print -r" >&6; } ;;
5181
*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5182
$as_echo "cat" >&6; } ;;
5198
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5199
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
5200
if ${ac_cv_path_SED+:} false; then :
5201
$as_echo_n "(cached) " >&6
5203
ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5204
for ac_i in 1 2 3 4 5 6 7; do
5205
ac_script="$ac_script$as_nl$ac_script"
5207
echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5208
{ ac_script=; unset ac_script;}
5209
if test -z "$SED"; then
5210
ac_path_SED_found=false
5211
# Loop through the user's path and test for each of PROGNAME-LIST
5212
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5216
test -z "$as_dir" && as_dir=.
5217
for ac_prog in sed gsed; do
5218
for ac_exec_ext in '' $ac_executable_extensions; do
5219
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5220
{ test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5221
# Check for GNU ac_path_SED and select it if it is found.
5222
# Check for GNU $ac_path_SED
5223
case `"$ac_path_SED" --version 2>&1` in
5225
ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5228
$as_echo_n 0123456789 >"conftest.in"
5231
cat "conftest.in" "conftest.in" >"conftest.tmp"
5232
mv "conftest.tmp" "conftest.in"
5233
cp "conftest.in" "conftest.nl"
5234
$as_echo '' >> "conftest.nl"
5235
"$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5236
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5237
as_fn_arith $ac_count + 1 && ac_count=$as_val
5238
if test $ac_count -gt ${ac_path_SED_max-0}; then
5239
# Best one so far, save it but keep looking for a better one
5240
ac_cv_path_SED="$ac_path_SED"
5241
ac_path_SED_max=$ac_count
5243
# 10*(2^10) chars as input seems more than enough
5244
test $ac_count -gt 10 && break
5246
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5249
$ac_path_SED_found && break 3
5254
if test -z "$ac_cv_path_SED"; then
5255
as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5262
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5263
$as_echo "$ac_cv_path_SED" >&6; }
5264
SED="$ac_cv_path_SED"
5267
test -z "$SED" && SED=sed
5268
Xsed="$SED -e 1s/^X//"
5280
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5281
$as_echo_n "checking for fgrep... " >&6; }
5282
if ${ac_cv_path_FGREP+:} false; then :
5283
$as_echo_n "(cached) " >&6
5285
if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5286
then ac_cv_path_FGREP="$GREP -F"
5288
if test -z "$FGREP"; then
5289
ac_path_FGREP_found=false
5290
# Loop through the user's path and test for each of PROGNAME-LIST
5291
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5292
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5295
test -z "$as_dir" && as_dir=.
5296
for ac_prog in fgrep; do
5297
for ac_exec_ext in '' $ac_executable_extensions; do
5298
ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5299
{ test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5300
# Check for GNU ac_path_FGREP and select it if it is found.
5301
# Check for GNU $ac_path_FGREP
5302
case `"$ac_path_FGREP" --version 2>&1` in
5304
ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5307
$as_echo_n 0123456789 >"conftest.in"
5310
cat "conftest.in" "conftest.in" >"conftest.tmp"
5311
mv "conftest.tmp" "conftest.in"
5312
cp "conftest.in" "conftest.nl"
5313
$as_echo 'FGREP' >> "conftest.nl"
5314
"$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5315
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5316
as_fn_arith $ac_count + 1 && ac_count=$as_val
5317
if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5318
# Best one so far, save it but keep looking for a better one
5319
ac_cv_path_FGREP="$ac_path_FGREP"
5320
ac_path_FGREP_max=$ac_count
5322
# 10*(2^10) chars as input seems more than enough
5323
test $ac_count -gt 10 && break
5325
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5328
$ac_path_FGREP_found && break 3
5333
if test -z "$ac_cv_path_FGREP"; then
5334
as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5337
ac_cv_path_FGREP=$FGREP
5342
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5343
$as_echo "$ac_cv_path_FGREP" >&6; }
5344
FGREP="$ac_cv_path_FGREP"
5347
test -z "$GREP" && GREP=grep
5367
# Check whether --with-gnu-ld was given.
5368
if test "${with_gnu_ld+set}" = set; then :
5369
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5375
if test "$GCC" = yes; then
5376
# Check if gcc -print-prog-name=ld gives a path.
5377
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5378
$as_echo_n "checking for ld used by $CC... " >&6; }
5381
# gcc leaves a trailing carriage return which upsets mingw
5382
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5384
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5387
# Accept absolute paths.
5389
re_direlt='/[^/][^/]*/\.\./'
5390
# Canonicalize the pathname of ld
5391
ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5392
while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5393
ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5395
test -z "$LD" && LD="$ac_prog"
5398
# If it fails, then pretend we aren't using GCC.
5402
# If it is relative, then search for the first ld in PATH.
5406
elif test "$with_gnu_ld" = yes; then
5407
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5408
$as_echo_n "checking for GNU ld... " >&6; }
5410
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5411
$as_echo_n "checking for non-GNU ld... " >&6; }
5413
if ${lt_cv_path_LD+:} false; then :
5414
$as_echo_n "(cached) " >&6
5416
if test -z "$LD"; then
5417
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5418
for ac_dir in $PATH; do
5420
test -z "$ac_dir" && ac_dir=.
5421
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5422
lt_cv_path_LD="$ac_dir/$ac_prog"
5423
# Check to see if the program is GNU ld. I'd rather use --version,
5424
# but apparently some variants of GNU ld only accept -v.
5425
# Break only if it was the GNU/non-GNU ld that we prefer.
5426
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5427
*GNU* | *'with BFD'*)
5428
test "$with_gnu_ld" != no && break
5431
test "$with_gnu_ld" != yes && break
5438
lt_cv_path_LD="$LD" # Let the user override the test with a path.
5443
if test -n "$LD"; then
5444
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5445
$as_echo "$LD" >&6; }
5447
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5448
$as_echo "no" >&6; }
5450
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5451
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5452
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5453
if ${lt_cv_prog_gnu_ld+:} false; then :
5454
$as_echo_n "(cached) " >&6
5456
# I'd rather use --version here, but apparently some GNU lds only accept -v.
5457
case `$LD -v 2>&1 </dev/null` in
5458
*GNU* | *'with BFD'*)
5459
lt_cv_prog_gnu_ld=yes
5462
lt_cv_prog_gnu_ld=no
5466
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5467
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
5468
with_gnu_ld=$lt_cv_prog_gnu_ld
5478
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5479
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5480
if ${lt_cv_path_NM+:} false; then :
5481
$as_echo_n "(cached) " >&6
5483
if test -n "$NM"; then
5484
# Let the user override the test.
5487
lt_nm_to_check="${ac_tool_prefix}nm"
5488
if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5489
lt_nm_to_check="$lt_nm_to_check nm"
5491
for lt_tmp_nm in $lt_nm_to_check; do
5492
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5493
for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5495
test -z "$ac_dir" && ac_dir=.
5496
tmp_nm="$ac_dir/$lt_tmp_nm"
5497
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5498
# Check to see if the nm accepts a BSD-compat flag.
5499
# Adding the `sed 1q' prevents false positives on HP-UX, which says:
5500
# nm: unknown option "B" ignored
5501
# Tru64's nm complains that /dev/null is an invalid object file
5502
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5503
*/dev/null* | *'Invalid file or object type'*)
5504
lt_cv_path_NM="$tmp_nm -B"
5508
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5510
lt_cv_path_NM="$tmp_nm -p"
5514
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5515
continue # so that we can try to find one that supports BSD flags
5524
: ${lt_cv_path_NM=no}
5527
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5528
$as_echo "$lt_cv_path_NM" >&6; }
5529
if test "$lt_cv_path_NM" != "no"; then
5532
# Didn't find any BSD compatible name lister, look for dumpbin.
5533
if test -n "$DUMPBIN"; then :
5534
# Let the user override the test.
5536
if test -n "$ac_tool_prefix"; then
5537
for ac_prog in dumpbin "link -dump"
5539
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5540
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5541
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5542
$as_echo_n "checking for $ac_word... " >&6; }
5543
if ${ac_cv_prog_DUMPBIN+:} false; then :
5544
$as_echo_n "(cached) " >&6
5546
if test -n "$DUMPBIN"; then
5547
ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5549
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5553
test -z "$as_dir" && as_dir=.
5554
for ac_exec_ext in '' $ac_executable_extensions; do
5555
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5556
ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5557
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5566
DUMPBIN=$ac_cv_prog_DUMPBIN
5567
if test -n "$DUMPBIN"; then
5568
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5569
$as_echo "$DUMPBIN" >&6; }
5571
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5572
$as_echo "no" >&6; }
5576
test -n "$DUMPBIN" && break
5579
if test -z "$DUMPBIN"; then
5580
ac_ct_DUMPBIN=$DUMPBIN
5581
for ac_prog in dumpbin "link -dump"
5583
# Extract the first word of "$ac_prog", so it can be a program name with args.
5584
set dummy $ac_prog; ac_word=$2
5585
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5586
$as_echo_n "checking for $ac_word... " >&6; }
5587
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5588
$as_echo_n "(cached) " >&6
5590
if test -n "$ac_ct_DUMPBIN"; then
5591
ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5593
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5597
test -z "$as_dir" && as_dir=.
5598
for ac_exec_ext in '' $ac_executable_extensions; do
5599
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5600
ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5601
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5610
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5611
if test -n "$ac_ct_DUMPBIN"; then
5612
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5613
$as_echo "$ac_ct_DUMPBIN" >&6; }
5615
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5616
$as_echo "no" >&6; }
5620
test -n "$ac_ct_DUMPBIN" && break
5623
if test "x$ac_ct_DUMPBIN" = x; then
5626
case $cross_compiling:$ac_tool_warned in
5628
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5629
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5630
ac_tool_warned=yes ;;
5632
DUMPBIN=$ac_ct_DUMPBIN
5636
case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5638
DUMPBIN="$DUMPBIN -symbols"
5646
if test "$DUMPBIN" != ":"; then
5650
test -z "$NM" && NM=nm
5657
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5658
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5659
if ${lt_cv_nm_interface+:} false; then :
5660
$as_echo_n "(cached) " >&6
5662
lt_cv_nm_interface="BSD nm"
5663
echo "int some_variable = 0;" > conftest.$ac_ext
5664
(eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5665
(eval "$ac_compile" 2>conftest.err)
5666
cat conftest.err >&5
5667
(eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5668
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5669
cat conftest.err >&5
5670
(eval echo "\"\$as_me:$LINENO: output\"" >&5)
5671
cat conftest.out >&5
5672
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5673
lt_cv_nm_interface="MS dumpbin"
5677
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5678
$as_echo "$lt_cv_nm_interface" >&6; }
5680
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5681
$as_echo_n "checking whether ln -s works... " >&6; }
5683
if test "$LN_S" = "ln -s"; then
5684
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5685
$as_echo "yes" >&6; }
5687
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5688
$as_echo "no, using $LN_S" >&6; }
5691
# find the maximum length of command line arguments
5692
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5693
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5694
if ${lt_cv_sys_max_cmd_len+:} false; then :
5695
$as_echo_n "(cached) " >&6
5702
# On DJGPP, this test can blow up pretty badly due to problems in libc
5703
# (any single argument exceeding 2000 bytes causes a buffer overrun
5704
# during glob expansion). Even if it were fixed, the result of this
5705
# check would be larger than it should be.
5706
lt_cv_sys_max_cmd_len=12288; # 12K is about right
5710
# Under GNU Hurd, this test is not required because there is
5711
# no limit to the length of command line arguments.
5712
# Libtool will interpret -1 as no limit whatsoever
5713
lt_cv_sys_max_cmd_len=-1;
5716
cygwin* | mingw* | cegcc*)
5717
# On Win9x/ME, this test blows up -- it succeeds, but takes
5718
# about 5 minutes as the teststring grows exponentially.
5719
# Worse, since 9x/ME are not pre-emptively multitasking,
5720
# you end up with a "frozen" computer, even though with patience
5721
# the test eventually succeeds (with a max line length of 256k).
5722
# Instead, let's just punt: use the minimum linelength reported by
5723
# all of the supported platforms: 8192 (on NT/2K/XP).
5724
lt_cv_sys_max_cmd_len=8192;
5728
# On MiNT this can take a long time and run out of memory.
5729
lt_cv_sys_max_cmd_len=8192;
5733
# On AmigaOS with pdksh, this test takes hours, literally.
5734
# So we just punt and use a minimum line length of 8192.
5735
lt_cv_sys_max_cmd_len=8192;
5738
netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5739
# This has been around since 386BSD, at least. Likely further.
5740
if test -x /sbin/sysctl; then
5741
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5742
elif test -x /usr/sbin/sysctl; then
5743
lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5745
lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5747
# And add a safety zone
5748
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5749
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5753
# We know the value 262144 and hardcode it with a safety zone (like BSD)
5754
lt_cv_sys_max_cmd_len=196608
5758
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5759
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5760
# nice to cause kernel panics so lets avoid the loop below.
5761
# First set a reasonable default.
5762
lt_cv_sys_max_cmd_len=16384
5764
if test -x /sbin/sysconfig; then
5765
case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5766
*1*) lt_cv_sys_max_cmd_len=-1 ;;
5771
lt_cv_sys_max_cmd_len=102400
5773
sysv5* | sco5v6* | sysv4.2uw2*)
5774
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5775
if test -n "$kargmax"; then
5776
lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5778
lt_cv_sys_max_cmd_len=32768
5782
lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5783
if test -n "$lt_cv_sys_max_cmd_len"; then
5784
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5785
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5787
# Make teststring a little bigger before we do anything with it.
5788
# a 1K string should be a reasonable start.
5789
for i in 1 2 3 4 5 6 7 8 ; do
5790
teststring=$teststring$teststring
5792
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5793
# If test is not a shell built-in, we'll probably end up computing a
5794
# maximum length that is only half of the actual maximum length, but
5796
while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5797
= "X$teststring$teststring"; } >/dev/null 2>&1 &&
5798
test $i != 17 # 1/2 MB should be enough
5801
teststring=$teststring$teststring
5803
# Only check the string length outside the loop.
5804
lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5806
# Add a significant safety factor because C++ compilers can tack on
5807
# massive amounts of additional arguments before passing them to the
5808
# linker. It appears as though 1/2 is a usable value.
5809
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5816
if test -n $lt_cv_sys_max_cmd_len ; then
5817
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5818
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5820
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5821
$as_echo "none" >&6; }
5823
max_cmd_len=$lt_cv_sys_max_cmd_len
5834
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5835
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5836
# Try some XSI features
5839
test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5841
&& eval 'test $(( 1 + 1 )) -eq 2 \
5842
&& test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5844
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5845
$as_echo "$xsi_shell" >&6; }
5848
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5849
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5851
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5853
&& lt_shell_append=yes
5854
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5855
$as_echo "$lt_shell_append" >&6; }
5858
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5868
# test EBCDIC or ASCII
5869
case `echo X|tr X '\101'` in
5870
A) # ASCII based system
5871
# \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5872
lt_SP2NL='tr \040 \012'
5873
lt_NL2SP='tr \015\012 \040\040'
5875
*) # EBCDIC based system
5876
lt_SP2NL='tr \100 \n'
5877
lt_NL2SP='tr \r\n \100\100'
5889
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5890
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5891
if ${lt_cv_to_host_file_cmd+:} false; then :
5892
$as_echo_n "(cached) " >&6
5897
*-*-mingw* ) # actually msys
5898
lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5901
lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5903
* ) # otherwise, assume *nix
5904
lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5910
*-*-mingw* ) # actually msys
5911
lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5914
lt_cv_to_host_file_cmd=func_convert_file_noop
5916
* ) # otherwise, assume *nix
5917
lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5921
* ) # unhandled hosts (and "normal" native builds)
5922
lt_cv_to_host_file_cmd=func_convert_file_noop
5928
to_host_file_cmd=$lt_cv_to_host_file_cmd
5929
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5930
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
5936
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5937
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5938
if ${lt_cv_to_tool_file_cmd+:} false; then :
5939
$as_echo_n "(cached) " >&6
5941
#assume ordinary cross tools, or native build.
5942
lt_cv_to_tool_file_cmd=func_convert_file_noop
5946
*-*-mingw* ) # actually msys
5947
lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5955
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5956
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5957
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5963
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5964
$as_echo_n "checking for $LD option to reload object files... " >&6; }
5965
if ${lt_cv_ld_reload_flag+:} false; then :
5966
$as_echo_n "(cached) " >&6
5968
lt_cv_ld_reload_flag='-r'
5970
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5971
$as_echo "$lt_cv_ld_reload_flag" >&6; }
5972
reload_flag=$lt_cv_ld_reload_flag
5973
case $reload_flag in
5975
*) reload_flag=" $reload_flag" ;;
5977
reload_cmds='$LD$reload_flag -o $output$reload_objs'
5979
cygwin* | mingw* | pw32* | cegcc*)
5980
if test "$GCC" != yes; then
5985
if test "$GCC" = yes; then
5986
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5988
reload_cmds='$LD$reload_flag -o $output$reload_objs'
6001
if test -n "$ac_tool_prefix"; then
6002
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6003
set dummy ${ac_tool_prefix}objdump; ac_word=$2
6004
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6005
$as_echo_n "checking for $ac_word... " >&6; }
6006
if ${ac_cv_prog_OBJDUMP+:} false; then :
6007
$as_echo_n "(cached) " >&6
6009
if test -n "$OBJDUMP"; then
6010
ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6012
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6016
test -z "$as_dir" && as_dir=.
6017
for ac_exec_ext in '' $ac_executable_extensions; do
6018
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6019
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6020
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6029
OBJDUMP=$ac_cv_prog_OBJDUMP
6030
if test -n "$OBJDUMP"; then
6031
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6032
$as_echo "$OBJDUMP" >&6; }
6034
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6035
$as_echo "no" >&6; }
6040
if test -z "$ac_cv_prog_OBJDUMP"; then
6041
ac_ct_OBJDUMP=$OBJDUMP
6042
# Extract the first word of "objdump", so it can be a program name with args.
6043
set dummy objdump; ac_word=$2
6044
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6045
$as_echo_n "checking for $ac_word... " >&6; }
6046
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6047
$as_echo_n "(cached) " >&6
6049
if test -n "$ac_ct_OBJDUMP"; then
6050
ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6052
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6056
test -z "$as_dir" && as_dir=.
6057
for ac_exec_ext in '' $ac_executable_extensions; do
6058
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6059
ac_cv_prog_ac_ct_OBJDUMP="objdump"
6060
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6069
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6070
if test -n "$ac_ct_OBJDUMP"; then
6071
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6072
$as_echo "$ac_ct_OBJDUMP" >&6; }
6074
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6075
$as_echo "no" >&6; }
6078
if test "x$ac_ct_OBJDUMP" = x; then
6081
case $cross_compiling:$ac_tool_warned in
6083
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6084
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6085
ac_tool_warned=yes ;;
6087
OBJDUMP=$ac_ct_OBJDUMP
6090
OBJDUMP="$ac_cv_prog_OBJDUMP"
6093
test -z "$OBJDUMP" && OBJDUMP=objdump
6103
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6104
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
6105
if ${lt_cv_deplibs_check_method+:} false; then :
6106
$as_echo_n "(cached) " >&6
6108
lt_cv_file_magic_cmd='$MAGIC_CMD'
6109
lt_cv_file_magic_test_file=
6110
lt_cv_deplibs_check_method='unknown'
6111
# Need to set the preceding variable on all platforms that support
6112
# interlibrary dependencies.
6113
# 'none' -- dependencies not supported.
6114
# `unknown' -- same as none, but documents that we really don't know.
6115
# 'pass_all' -- all dependencies passed with no checks.
6116
# 'test_compile' -- check by making test program.
6117
# 'file_magic [[regex]]' -- check by looking for files in library path
6118
# which responds to the $file_magic_cmd with a given extended regex.
6119
# If you have `file' or equivalent on your system and you're not sure
6120
# whether `pass_all' will *always* work, you probably want this one.
6124
lt_cv_deplibs_check_method=pass_all
6128
lt_cv_deplibs_check_method=pass_all
6132
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6133
lt_cv_file_magic_cmd='/usr/bin/file -L'
6134
lt_cv_file_magic_test_file=/shlib/libc.so
6138
# func_win32_libid is a shell function defined in ltmain.sh
6139
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6140
lt_cv_file_magic_cmd='func_win32_libid'
6144
# Base MSYS/MinGW do not provide the 'file' command needed by
6145
# func_win32_libid shell function, so use a weaker test based on 'objdump',
6146
# unless we find 'file', for example because we are cross-compiling.
6147
# func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6148
if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6149
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6150
lt_cv_file_magic_cmd='func_win32_libid'
6152
# Keep this pattern in sync with the one in func_win32_libid.
6153
lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6154
lt_cv_file_magic_cmd='$OBJDUMP -f'
6159
# use the weaker test based on 'objdump'. See mingw*.
6160
lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6161
lt_cv_file_magic_cmd='$OBJDUMP -f'
6164
darwin* | rhapsody*)
6165
lt_cv_deplibs_check_method=pass_all
6168
freebsd* | dragonfly*)
6169
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6172
# Not sure whether the presence of OpenBSD here was a mistake.
6173
# Let's accept both of them until this is cleared up.
6174
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6175
lt_cv_file_magic_cmd=/usr/bin/file
6176
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6180
lt_cv_deplibs_check_method=pass_all
6185
lt_cv_deplibs_check_method=pass_all
6189
lt_cv_deplibs_check_method=pass_all
6192
hpux10.20* | hpux11*)
6193
lt_cv_file_magic_cmd=/usr/bin/file
6196
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6197
lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6200
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]'
6201
lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6204
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6205
lt_cv_file_magic_test_file=/usr/lib/libc.sl
6211
# PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6212
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6215
irix5* | irix6* | nonstopux*)
6217
*-32|*"-32 ") libmagic=32-bit;;
6218
*-n32|*"-n32 ") libmagic=N32;;
6219
*-64|*"-64 ") libmagic=64-bit;;
6220
*) libmagic=never-match;;
6222
lt_cv_deplibs_check_method=pass_all
6225
# This must be Linux ELF.
6226
linux* | k*bsd*-gnu | kopensolaris*-gnu)
6227
lt_cv_deplibs_check_method=pass_all
6231
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6232
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6234
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6239
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6240
lt_cv_file_magic_cmd=/usr/bin/file
6241
lt_cv_file_magic_test_file=/usr/lib/libnls.so
6245
lt_cv_deplibs_check_method=pass_all
6249
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6250
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6252
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6256
osf3* | osf4* | osf5*)
6257
lt_cv_deplibs_check_method=pass_all
6261
lt_cv_deplibs_check_method=pass_all
6265
lt_cv_deplibs_check_method=pass_all
6268
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6269
lt_cv_deplibs_check_method=pass_all
6273
case $host_vendor in
6275
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]'
6276
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6279
lt_cv_deplibs_check_method=pass_all
6282
lt_cv_file_magic_cmd='/bin/file'
6283
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6286
lt_cv_file_magic_cmd='/bin/file'
6287
lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6288
lt_cv_file_magic_test_file=/lib/libc.so
6291
lt_cv_deplibs_check_method=pass_all
6294
lt_cv_deplibs_check_method=pass_all
6300
lt_cv_deplibs_check_method=pass_all
6305
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6306
$as_echo "$lt_cv_deplibs_check_method" >&6; }
6310
if test "$build" = "$host"; then
6313
if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6316
file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6322
file_magic_cmd=$lt_cv_file_magic_cmd
6323
deplibs_check_method=$lt_cv_deplibs_check_method
6324
test -z "$deplibs_check_method" && deplibs_check_method=unknown
6347
if test -n "$ac_tool_prefix"; then
6348
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6349
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6350
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6351
$as_echo_n "checking for $ac_word... " >&6; }
6352
if ${ac_cv_prog_DLLTOOL+:} false; then :
6353
$as_echo_n "(cached) " >&6
6355
if test -n "$DLLTOOL"; then
6356
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6358
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6362
test -z "$as_dir" && as_dir=.
6363
for ac_exec_ext in '' $ac_executable_extensions; do
6364
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6365
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6366
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6375
DLLTOOL=$ac_cv_prog_DLLTOOL
6376
if test -n "$DLLTOOL"; then
6377
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6378
$as_echo "$DLLTOOL" >&6; }
6380
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6381
$as_echo "no" >&6; }
6386
if test -z "$ac_cv_prog_DLLTOOL"; then
6387
ac_ct_DLLTOOL=$DLLTOOL
6388
# Extract the first word of "dlltool", so it can be a program name with args.
6389
set dummy dlltool; ac_word=$2
6390
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6391
$as_echo_n "checking for $ac_word... " >&6; }
6392
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6393
$as_echo_n "(cached) " >&6
6395
if test -n "$ac_ct_DLLTOOL"; then
6396
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6398
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6402
test -z "$as_dir" && as_dir=.
6403
for ac_exec_ext in '' $ac_executable_extensions; do
6404
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6405
ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6406
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6415
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6416
if test -n "$ac_ct_DLLTOOL"; then
6417
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6418
$as_echo "$ac_ct_DLLTOOL" >&6; }
6420
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6421
$as_echo "no" >&6; }
6424
if test "x$ac_ct_DLLTOOL" = x; then
6427
case $cross_compiling:$ac_tool_warned in
6429
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6430
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6431
ac_tool_warned=yes ;;
6433
DLLTOOL=$ac_ct_DLLTOOL
6436
DLLTOOL="$ac_cv_prog_DLLTOOL"
6439
test -z "$DLLTOOL" && DLLTOOL=dlltool
6450
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6451
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6452
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6453
$as_echo_n "(cached) " >&6
6455
lt_cv_sharedlib_from_linklib_cmd='unknown'
6458
cygwin* | mingw* | pw32* | cegcc*)
6459
# two different shell functions defined in ltmain.sh
6460
# decide which to use based on capabilities of $DLLTOOL
6461
case `$DLLTOOL --help 2>&1` in
6462
*--identify-strict*)
6463
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6466
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6471
# fallback: assume linklib IS sharedlib
6472
lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6477
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6478
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6479
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6480
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6488
if test -n "$ac_tool_prefix"; then
6491
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6492
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6493
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6494
$as_echo_n "checking for $ac_word... " >&6; }
6495
if ${ac_cv_prog_AR+:} false; then :
6496
$as_echo_n "(cached) " >&6
6498
if test -n "$AR"; then
6499
ac_cv_prog_AR="$AR" # Let the user override the test.
6501
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6505
test -z "$as_dir" && as_dir=.
6506
for ac_exec_ext in '' $ac_executable_extensions; do
6507
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6508
ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6509
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6519
if test -n "$AR"; then
6520
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6521
$as_echo "$AR" >&6; }
6523
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6524
$as_echo "no" >&6; }
6528
test -n "$AR" && break
6531
if test -z "$AR"; then
6535
# Extract the first word of "$ac_prog", so it can be a program name with args.
6536
set dummy $ac_prog; ac_word=$2
6537
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6538
$as_echo_n "checking for $ac_word... " >&6; }
6539
if ${ac_cv_prog_ac_ct_AR+:} false; then :
6540
$as_echo_n "(cached) " >&6
6542
if test -n "$ac_ct_AR"; then
6543
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6545
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6549
test -z "$as_dir" && as_dir=.
6550
for ac_exec_ext in '' $ac_executable_extensions; do
6551
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6552
ac_cv_prog_ac_ct_AR="$ac_prog"
6553
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6562
ac_ct_AR=$ac_cv_prog_ac_ct_AR
6563
if test -n "$ac_ct_AR"; then
6564
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6565
$as_echo "$ac_ct_AR" >&6; }
6567
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6568
$as_echo "no" >&6; }
6572
test -n "$ac_ct_AR" && break
6575
if test "x$ac_ct_AR" = x; then
6578
case $cross_compiling:$ac_tool_warned in
6580
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6581
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6582
ac_tool_warned=yes ;;
6601
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6602
$as_echo_n "checking for archiver @FILE support... " >&6; }
6603
if ${lt_cv_ar_at_file+:} false; then :
6604
$as_echo_n "(cached) " >&6
6607
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6608
/* end confdefs.h. */
6618
if ac_fn_c_try_compile "$LINENO"; then :
6619
echo conftest.$ac_objext > conftest.lst
6620
lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6621
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6622
(eval $lt_ar_try) 2>&5
6624
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6625
test $ac_status = 0; }
6626
if test "$ac_status" -eq 0; then
6627
# Ensure the archiver fails upon bogus file names.
6628
rm -f conftest.$ac_objext libconftest.a
6629
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6630
(eval $lt_ar_try) 2>&5
6632
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6633
test $ac_status = 0; }
6634
if test "$ac_status" -ne 0; then
6638
rm -f conftest.* libconftest.a
6641
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6644
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6645
$as_echo "$lt_cv_ar_at_file" >&6; }
6647
if test "x$lt_cv_ar_at_file" = xno; then
6650
archiver_list_spec=$lt_cv_ar_at_file
6659
if test -n "$ac_tool_prefix"; then
6660
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6661
set dummy ${ac_tool_prefix}strip; ac_word=$2
6662
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6663
$as_echo_n "checking for $ac_word... " >&6; }
6664
if ${ac_cv_prog_STRIP+:} false; then :
6665
$as_echo_n "(cached) " >&6
6667
if test -n "$STRIP"; then
6668
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6670
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6674
test -z "$as_dir" && as_dir=.
6675
for ac_exec_ext in '' $ac_executable_extensions; do
6676
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6677
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6678
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6687
STRIP=$ac_cv_prog_STRIP
6688
if test -n "$STRIP"; then
6689
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6690
$as_echo "$STRIP" >&6; }
6692
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6693
$as_echo "no" >&6; }
6698
if test -z "$ac_cv_prog_STRIP"; then
6700
# Extract the first word of "strip", so it can be a program name with args.
6701
set dummy strip; ac_word=$2
6702
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6703
$as_echo_n "checking for $ac_word... " >&6; }
6704
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6705
$as_echo_n "(cached) " >&6
6707
if test -n "$ac_ct_STRIP"; then
6708
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6710
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6714
test -z "$as_dir" && as_dir=.
6715
for ac_exec_ext in '' $ac_executable_extensions; do
6716
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6717
ac_cv_prog_ac_ct_STRIP="strip"
6718
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6727
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6728
if test -n "$ac_ct_STRIP"; then
6729
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6730
$as_echo "$ac_ct_STRIP" >&6; }
6732
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6733
$as_echo "no" >&6; }
6736
if test "x$ac_ct_STRIP" = x; then
6739
case $cross_compiling:$ac_tool_warned in
6741
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6742
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6743
ac_tool_warned=yes ;;
6748
STRIP="$ac_cv_prog_STRIP"
6751
test -z "$STRIP" && STRIP=:
6758
if test -n "$ac_tool_prefix"; then
6759
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6760
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6761
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6762
$as_echo_n "checking for $ac_word... " >&6; }
6763
if ${ac_cv_prog_RANLIB+:} false; then :
6764
$as_echo_n "(cached) " >&6
6766
if test -n "$RANLIB"; then
6767
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6769
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6773
test -z "$as_dir" && as_dir=.
6774
for ac_exec_ext in '' $ac_executable_extensions; do
6775
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6776
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6777
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6786
RANLIB=$ac_cv_prog_RANLIB
6787
if test -n "$RANLIB"; then
6788
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6789
$as_echo "$RANLIB" >&6; }
6791
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6792
$as_echo "no" >&6; }
6797
if test -z "$ac_cv_prog_RANLIB"; then
6798
ac_ct_RANLIB=$RANLIB
6799
# Extract the first word of "ranlib", so it can be a program name with args.
6800
set dummy ranlib; ac_word=$2
6801
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6802
$as_echo_n "checking for $ac_word... " >&6; }
6803
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6804
$as_echo_n "(cached) " >&6
6806
if test -n "$ac_ct_RANLIB"; then
6807
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6809
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6813
test -z "$as_dir" && as_dir=.
6814
for ac_exec_ext in '' $ac_executable_extensions; do
6815
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6816
ac_cv_prog_ac_ct_RANLIB="ranlib"
6817
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6826
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6827
if test -n "$ac_ct_RANLIB"; then
6828
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6829
$as_echo "$ac_ct_RANLIB" >&6; }
6831
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6832
$as_echo "no" >&6; }
6835
if test "x$ac_ct_RANLIB" = x; then
6838
case $cross_compiling:$ac_tool_warned in
6840
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6841
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6842
ac_tool_warned=yes ;;
6844
RANLIB=$ac_ct_RANLIB
6847
RANLIB="$ac_cv_prog_RANLIB"
6850
test -z "$RANLIB" && RANLIB=:
6857
# Determine commands to create old-style static archives.
6858
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6859
old_postinstall_cmds='chmod 644 $oldlib'
6860
old_postuninstall_cmds=
6862
if test -n "$RANLIB"; then
6865
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6868
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6871
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6876
lock_old_archive_extraction=yes ;;
6878
lock_old_archive_extraction=no ;;
6919
# If no C compiler was specified, use CC.
6922
# If no C compiler flags were specified, use CFLAGS.
6923
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6925
# Allow CC to be a program name with arguments.
6929
# Check for command to grab the raw symbol name followed by C symbol from nm.
6930
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6931
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6932
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6933
$as_echo_n "(cached) " >&6
6936
# These are sane defaults that work on at least a few old systems.
6937
# [They come from Ultrix. What could be older than Ultrix?!! ;)]
6939
# Character class describing NM global symbol codes.
6940
symcode='[BCDEGRST]'
6942
# Regexp to match symbols that can be accessed directly from C.
6943
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6945
# Define system-specific variables.
6950
cygwin* | mingw* | pw32* | cegcc*)
6951
symcode='[ABCDGISTW]'
6954
if test "$host_cpu" = ia64; then
6955
symcode='[ABCDEGRST]'
6959
symcode='[BCDEGRST]'
6962
symcode='[BCDEGQRST]'
6973
sysv5* | sco5v6* | unixware* | OpenUNIX*)
6981
# If we're using GNU nm, then use its standard symbol codes.
6982
case `$NM -V 2>&1` in
6983
*GNU* | *'with BFD'*)
6984
symcode='[ABCDGIRSTW]' ;;
6987
# Transform an extracted symbol line into a proper C declaration.
6988
# Some systems (esp. on ia64) link data and code symbols differently,
6989
# so use this general approach.
6990
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6992
# Transform an extracted symbol line into symbol name and symbol address
6993
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6994
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'"
6996
# Handle CRLF in mingw tool chain
7000
opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7004
# Try without a prefix underscore, then with it.
7005
for ac_symprfx in "" "_"; do
7007
# Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7008
symxfrm="\\1 $ac_symprfx\\2 \\2"
7010
# Write the raw and C identifiers.
7011
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7012
# Fake it for dumpbin and say T for any non-static function
7013
# and D for any global variable.
7014
# Also find C++ and __fastcall symbols from MSVC++,
7015
# which start with @ or ?.
7016
lt_cv_sys_global_symbol_pipe="$AWK '"\
7017
" {last_section=section; section=\$ 3};"\
7018
" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7019
" \$ 0!~/External *\|/{next};"\
7020
" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7021
" {if(hide[section]) next};"\
7022
" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7023
" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7024
" s[1]~/^[@?]/{print s[1], s[1]; next};"\
7025
" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7026
" ' prfx=^$ac_symprfx"
7028
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7030
lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7032
# Check to see that the pipe works correctly.
7036
cat > conftest.$ac_ext <<_LT_EOF
7041
void nm_test_func(void);
7042
void nm_test_func(void){}
7046
int main(){nm_test_var='a';nm_test_func();return(0);}
7049
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7050
(eval $ac_compile) 2>&5
7052
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7053
test $ac_status = 0; }; then
7054
# Now try to grab the symbols.
7056
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7057
(eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7059
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7060
test $ac_status = 0; } && test -s "$nlist"; then
7061
# Try sorting and uniquifying the output.
7062
if sort "$nlist" | uniq > "$nlist"T; then
7063
mv -f "$nlist"T "$nlist"
7068
# Make sure that we snagged all the symbols we need.
7069
if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7070
if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7071
cat <<_LT_EOF > conftest.$ac_ext
7072
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7073
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7074
/* DATA imports from DLLs on WIN32 con't be const, because runtime
7075
relocations are performed -- see ld's documentation on pseudo-relocs. */
7076
# define LT_DLSYM_CONST
7077
#elif defined(__osf__)
7078
/* This system does not cope well with relocations in const data. */
7079
# define LT_DLSYM_CONST
7081
# define LT_DLSYM_CONST const
7089
# Now generate the symbol file.
7090
eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7092
cat <<_LT_EOF >> conftest.$ac_ext
7094
/* The mapping between symbol names and symbols. */
7095
LT_DLSYM_CONST struct {
7099
lt__PROGRAM__LTX_preloaded_symbols[] =
7101
{ "@PROGRAM@", (void *) 0 },
7103
$SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7104
cat <<\_LT_EOF >> conftest.$ac_ext
7108
/* This works around a problem in FreeBSD linker */
7109
#ifdef FREEBSD_WORKAROUND
7110
static const void *lt_preloaded_setup() {
7111
return lt__PROGRAM__LTX_preloaded_symbols;
7119
# Now try linking the two files.
7120
mv conftest.$ac_objext conftstm.$ac_objext
7121
lt_globsym_save_LIBS=$LIBS
7122
lt_globsym_save_CFLAGS=$CFLAGS
7123
LIBS="conftstm.$ac_objext"
7124
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7125
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7126
(eval $ac_link) 2>&5
7128
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7129
test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7132
LIBS=$lt_globsym_save_LIBS
7133
CFLAGS=$lt_globsym_save_CFLAGS
7135
echo "cannot find nm_test_func in $nlist" >&5
7138
echo "cannot find nm_test_var in $nlist" >&5
7141
echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7144
echo "$progname: failed program was:" >&5
7145
cat conftest.$ac_ext >&5
7147
rm -rf conftest* conftst*
7149
# Do not use the global_symbol_pipe unless it works.
7150
if test "$pipe_works" = yes; then
7153
lt_cv_sys_global_symbol_pipe=
7159
if test -z "$lt_cv_sys_global_symbol_pipe"; then
7160
lt_cv_sys_global_symbol_to_cdecl=
7162
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7163
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7164
$as_echo "failed" >&6; }
7166
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7167
$as_echo "ok" >&6; }
7170
# Response file support.
7171
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7172
nm_file_list_spec='@'
7173
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7174
nm_file_list_spec='@'
7203
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7204
$as_echo_n "checking for sysroot... " >&6; }
7206
# Check whether --with-sysroot was given.
7207
if test "${with_sysroot+set}" = set; then :
7208
withval=$with_sysroot;
7215
case ${with_sysroot} in #(
7217
if test "$GCC" = yes; then
7218
lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7222
lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7227
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
7228
$as_echo "${with_sysroot}" >&6; }
7229
as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7233
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7234
$as_echo "${lt_sysroot:-no}" >&6; }
7240
# Check whether --enable-libtool-lock was given.
7241
if test "${enable_libtool_lock+set}" = set; then :
7242
enableval=$enable_libtool_lock;
7245
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7247
# Some flags need to be propagated to the compiler or linker for good
7251
# Find out which ABI we are using.
7252
echo 'int i;' > conftest.$ac_ext
7253
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7254
(eval $ac_compile) 2>&5
7256
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7257
test $ac_status = 0; }; then
7258
case `/usr/bin/file conftest.$ac_objext` in
7270
# Find out which ABI we are using.
7271
echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7272
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7273
(eval $ac_compile) 2>&5
7275
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7276
test $ac_status = 0; }; then
7277
if test "$lt_cv_prog_gnu_ld" = yes; then
7278
case `/usr/bin/file conftest.$ac_objext` in
7280
LD="${LD-ld} -melf32bsmip"
7283
LD="${LD-ld} -melf32bmipn32"
7286
LD="${LD-ld} -melf64bmip"
7290
case `/usr/bin/file conftest.$ac_objext` in
7306
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7307
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7308
# Find out which ABI we are using.
7309
echo 'int i;' > conftest.$ac_ext
7310
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7311
(eval $ac_compile) 2>&5
7313
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7314
test $ac_status = 0; }; then
7315
case `/usr/bin/file conftest.o` in
7318
x86_64-*kfreebsd*-gnu)
7319
LD="${LD-ld} -m elf_i386_fbsd"
7322
LD="${LD-ld} -m elf_i386"
7324
ppc64-*linux*|powerpc64-*linux*)
7325
LD="${LD-ld} -m elf32ppclinux"
7328
LD="${LD-ld} -m elf_s390"
7331
LD="${LD-ld} -m elf32_sparc"
7337
x86_64-*kfreebsd*-gnu)
7338
LD="${LD-ld} -m elf_x86_64_fbsd"
7341
LD="${LD-ld} -m elf_x86_64"
7343
ppc*-*linux*|powerpc*-*linux*)
7344
LD="${LD-ld} -m elf64ppc"
7346
s390*-*linux*|s390*-*tpf*)
7347
LD="${LD-ld} -m elf64_s390"
7350
LD="${LD-ld} -m elf64_sparc"
7360
# On SCO OpenServer 5, we need -belf to get full-featured binaries.
7361
SAVE_CFLAGS="$CFLAGS"
7362
CFLAGS="$CFLAGS -belf"
7363
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7364
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7365
if ${lt_cv_cc_needs_belf+:} false; then :
7366
$as_echo_n "(cached) " >&6
7369
ac_cpp='$CPP $CPPFLAGS'
7370
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7371
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7372
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7374
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7375
/* end confdefs.h. */
7385
if ac_fn_c_try_link "$LINENO"; then :
7386
lt_cv_cc_needs_belf=yes
7388
lt_cv_cc_needs_belf=no
7390
rm -f core conftest.err conftest.$ac_objext \
7391
conftest$ac_exeext conftest.$ac_ext
7393
ac_cpp='$CPP $CPPFLAGS'
7394
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7395
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7396
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7399
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7400
$as_echo "$lt_cv_cc_needs_belf" >&6; }
7401
if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7402
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7403
CFLAGS="$SAVE_CFLAGS"
7407
# Find out which ABI we are using.
7408
echo 'int i;' > conftest.$ac_ext
7409
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7410
(eval $ac_compile) 2>&5
7412
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7413
test $ac_status = 0; }; then
7414
case `/usr/bin/file conftest.o` in
7416
case $lt_cv_prog_gnu_ld in
7417
yes*) LD="${LD-ld} -m elf64_sparc" ;;
7419
if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7431
need_locks="$enable_libtool_lock"
7433
if test -n "$ac_tool_prefix"; then
7434
# Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7435
set dummy ${ac_tool_prefix}mt; ac_word=$2
7436
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7437
$as_echo_n "checking for $ac_word... " >&6; }
7438
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7439
$as_echo_n "(cached) " >&6
7441
if test -n "$MANIFEST_TOOL"; then
7442
ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7444
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7448
test -z "$as_dir" && as_dir=.
7449
for ac_exec_ext in '' $ac_executable_extensions; do
7450
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7451
ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7452
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7461
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7462
if test -n "$MANIFEST_TOOL"; then
7463
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7464
$as_echo "$MANIFEST_TOOL" >&6; }
7466
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7467
$as_echo "no" >&6; }
7472
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7473
ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7474
# Extract the first word of "mt", so it can be a program name with args.
7475
set dummy mt; ac_word=$2
7476
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7477
$as_echo_n "checking for $ac_word... " >&6; }
7478
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7479
$as_echo_n "(cached) " >&6
7481
if test -n "$ac_ct_MANIFEST_TOOL"; then
7482
ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7484
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7488
test -z "$as_dir" && as_dir=.
7489
for ac_exec_ext in '' $ac_executable_extensions; do
7490
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7491
ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7492
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7501
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7502
if test -n "$ac_ct_MANIFEST_TOOL"; then
7503
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7504
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7506
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7507
$as_echo "no" >&6; }
7510
if test "x$ac_ct_MANIFEST_TOOL" = x; then
7513
case $cross_compiling:$ac_tool_warned in
7515
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7516
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7517
ac_tool_warned=yes ;;
7519
MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7522
MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7525
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7526
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7527
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7528
if ${lt_cv_path_mainfest_tool+:} false; then :
7529
$as_echo_n "(cached) " >&6
7531
lt_cv_path_mainfest_tool=no
7532
echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7533
$MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7534
cat conftest.err >&5
7535
if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7536
lt_cv_path_mainfest_tool=yes
7540
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7541
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
7542
if test "x$lt_cv_path_mainfest_tool" != xyes; then
7552
rhapsody* | darwin*)
7553
if test -n "$ac_tool_prefix"; then
7554
# Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7555
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7556
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7557
$as_echo_n "checking for $ac_word... " >&6; }
7558
if ${ac_cv_prog_DSYMUTIL+:} false; then :
7559
$as_echo_n "(cached) " >&6
7561
if test -n "$DSYMUTIL"; then
7562
ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7564
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7568
test -z "$as_dir" && as_dir=.
7569
for ac_exec_ext in '' $ac_executable_extensions; do
7570
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7571
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7572
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7581
DSYMUTIL=$ac_cv_prog_DSYMUTIL
7582
if test -n "$DSYMUTIL"; then
7583
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7584
$as_echo "$DSYMUTIL" >&6; }
7586
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7587
$as_echo "no" >&6; }
7592
if test -z "$ac_cv_prog_DSYMUTIL"; then
7593
ac_ct_DSYMUTIL=$DSYMUTIL
7594
# Extract the first word of "dsymutil", so it can be a program name with args.
7595
set dummy dsymutil; ac_word=$2
7596
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7597
$as_echo_n "checking for $ac_word... " >&6; }
7598
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7599
$as_echo_n "(cached) " >&6
7601
if test -n "$ac_ct_DSYMUTIL"; then
7602
ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7604
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7608
test -z "$as_dir" && as_dir=.
7609
for ac_exec_ext in '' $ac_executable_extensions; do
7610
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7611
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7612
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7621
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7622
if test -n "$ac_ct_DSYMUTIL"; then
7623
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7624
$as_echo "$ac_ct_DSYMUTIL" >&6; }
7626
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7627
$as_echo "no" >&6; }
7630
if test "x$ac_ct_DSYMUTIL" = x; then
7633
case $cross_compiling:$ac_tool_warned in
7635
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7636
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7637
ac_tool_warned=yes ;;
7639
DSYMUTIL=$ac_ct_DSYMUTIL
7642
DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7645
if test -n "$ac_tool_prefix"; then
7646
# Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7647
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7648
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7649
$as_echo_n "checking for $ac_word... " >&6; }
7650
if ${ac_cv_prog_NMEDIT+:} false; then :
7651
$as_echo_n "(cached) " >&6
7653
if test -n "$NMEDIT"; then
7654
ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7656
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7660
test -z "$as_dir" && as_dir=.
7661
for ac_exec_ext in '' $ac_executable_extensions; do
7662
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7663
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7664
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7673
NMEDIT=$ac_cv_prog_NMEDIT
7674
if test -n "$NMEDIT"; then
7675
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7676
$as_echo "$NMEDIT" >&6; }
7678
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7679
$as_echo "no" >&6; }
7684
if test -z "$ac_cv_prog_NMEDIT"; then
7685
ac_ct_NMEDIT=$NMEDIT
7686
# Extract the first word of "nmedit", so it can be a program name with args.
7687
set dummy nmedit; ac_word=$2
7688
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7689
$as_echo_n "checking for $ac_word... " >&6; }
7690
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7691
$as_echo_n "(cached) " >&6
7693
if test -n "$ac_ct_NMEDIT"; then
7694
ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7696
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7700
test -z "$as_dir" && as_dir=.
7701
for ac_exec_ext in '' $ac_executable_extensions; do
7702
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7703
ac_cv_prog_ac_ct_NMEDIT="nmedit"
7704
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7713
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7714
if test -n "$ac_ct_NMEDIT"; then
7715
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7716
$as_echo "$ac_ct_NMEDIT" >&6; }
7718
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7719
$as_echo "no" >&6; }
7722
if test "x$ac_ct_NMEDIT" = x; then
7725
case $cross_compiling:$ac_tool_warned in
7727
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7728
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7729
ac_tool_warned=yes ;;
7731
NMEDIT=$ac_ct_NMEDIT
7734
NMEDIT="$ac_cv_prog_NMEDIT"
7737
if test -n "$ac_tool_prefix"; then
7738
# Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7739
set dummy ${ac_tool_prefix}lipo; ac_word=$2
7740
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7741
$as_echo_n "checking for $ac_word... " >&6; }
7742
if ${ac_cv_prog_LIPO+:} false; then :
7743
$as_echo_n "(cached) " >&6
7745
if test -n "$LIPO"; then
7746
ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7748
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7752
test -z "$as_dir" && as_dir=.
7753
for ac_exec_ext in '' $ac_executable_extensions; do
7754
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7755
ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7756
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7765
LIPO=$ac_cv_prog_LIPO
7766
if test -n "$LIPO"; then
7767
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7768
$as_echo "$LIPO" >&6; }
7770
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7771
$as_echo "no" >&6; }
7776
if test -z "$ac_cv_prog_LIPO"; then
7778
# Extract the first word of "lipo", so it can be a program name with args.
7779
set dummy lipo; ac_word=$2
7780
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7781
$as_echo_n "checking for $ac_word... " >&6; }
7782
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7783
$as_echo_n "(cached) " >&6
7785
if test -n "$ac_ct_LIPO"; then
7786
ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7788
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7792
test -z "$as_dir" && as_dir=.
7793
for ac_exec_ext in '' $ac_executable_extensions; do
7794
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7795
ac_cv_prog_ac_ct_LIPO="lipo"
7796
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7805
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7806
if test -n "$ac_ct_LIPO"; then
7807
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7808
$as_echo "$ac_ct_LIPO" >&6; }
7810
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7811
$as_echo "no" >&6; }
7814
if test "x$ac_ct_LIPO" = x; then
7817
case $cross_compiling:$ac_tool_warned in
7819
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7820
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7821
ac_tool_warned=yes ;;
7826
LIPO="$ac_cv_prog_LIPO"
7829
if test -n "$ac_tool_prefix"; then
7830
# Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7831
set dummy ${ac_tool_prefix}otool; ac_word=$2
7832
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7833
$as_echo_n "checking for $ac_word... " >&6; }
7834
if ${ac_cv_prog_OTOOL+:} false; then :
7835
$as_echo_n "(cached) " >&6
7837
if test -n "$OTOOL"; then
7838
ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7840
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7844
test -z "$as_dir" && as_dir=.
7845
for ac_exec_ext in '' $ac_executable_extensions; do
7846
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7847
ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7848
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7857
OTOOL=$ac_cv_prog_OTOOL
7858
if test -n "$OTOOL"; then
7859
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7860
$as_echo "$OTOOL" >&6; }
7862
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7863
$as_echo "no" >&6; }
7868
if test -z "$ac_cv_prog_OTOOL"; then
7870
# Extract the first word of "otool", so it can be a program name with args.
7871
set dummy otool; ac_word=$2
7872
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7873
$as_echo_n "checking for $ac_word... " >&6; }
7874
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7875
$as_echo_n "(cached) " >&6
7877
if test -n "$ac_ct_OTOOL"; then
7878
ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7880
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7884
test -z "$as_dir" && as_dir=.
7885
for ac_exec_ext in '' $ac_executable_extensions; do
7886
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7887
ac_cv_prog_ac_ct_OTOOL="otool"
7888
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7897
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7898
if test -n "$ac_ct_OTOOL"; then
7899
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7900
$as_echo "$ac_ct_OTOOL" >&6; }
7902
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7903
$as_echo "no" >&6; }
7906
if test "x$ac_ct_OTOOL" = x; then
7909
case $cross_compiling:$ac_tool_warned in
7911
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7912
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7913
ac_tool_warned=yes ;;
7918
OTOOL="$ac_cv_prog_OTOOL"
7921
if test -n "$ac_tool_prefix"; then
7922
# Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7923
set dummy ${ac_tool_prefix}otool64; ac_word=$2
7924
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7925
$as_echo_n "checking for $ac_word... " >&6; }
7926
if ${ac_cv_prog_OTOOL64+:} false; then :
7927
$as_echo_n "(cached) " >&6
7929
if test -n "$OTOOL64"; then
7930
ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7932
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7936
test -z "$as_dir" && as_dir=.
7937
for ac_exec_ext in '' $ac_executable_extensions; do
7938
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7939
ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7940
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7949
OTOOL64=$ac_cv_prog_OTOOL64
7950
if test -n "$OTOOL64"; then
7951
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7952
$as_echo "$OTOOL64" >&6; }
7954
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7955
$as_echo "no" >&6; }
7960
if test -z "$ac_cv_prog_OTOOL64"; then
7961
ac_ct_OTOOL64=$OTOOL64
7962
# Extract the first word of "otool64", so it can be a program name with args.
7963
set dummy otool64; ac_word=$2
7964
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7965
$as_echo_n "checking for $ac_word... " >&6; }
7966
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7967
$as_echo_n "(cached) " >&6
7969
if test -n "$ac_ct_OTOOL64"; then
7970
ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7972
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7976
test -z "$as_dir" && as_dir=.
7977
for ac_exec_ext in '' $ac_executable_extensions; do
7978
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7979
ac_cv_prog_ac_ct_OTOOL64="otool64"
7980
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7989
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7990
if test -n "$ac_ct_OTOOL64"; then
7991
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7992
$as_echo "$ac_ct_OTOOL64" >&6; }
7994
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7995
$as_echo "no" >&6; }
7998
if test "x$ac_ct_OTOOL64" = x; then
8001
case $cross_compiling:$ac_tool_warned in
8003
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8004
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8005
ac_tool_warned=yes ;;
8007
OTOOL64=$ac_ct_OTOOL64
8010
OTOOL64="$ac_cv_prog_OTOOL64"
8039
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8040
$as_echo_n "checking for -single_module linker flag... " >&6; }
8041
if ${lt_cv_apple_cc_single_mod+:} false; then :
8042
$as_echo_n "(cached) " >&6
8044
lt_cv_apple_cc_single_mod=no
8045
if test -z "${LT_MULTI_MODULE}"; then
8046
# By default we will add the -single_module flag. You can override
8047
# by either setting the environment variable LT_MULTI_MODULE
8048
# non-empty at configure time, or by adding -multi_module to the
8050
rm -rf libconftest.dylib*
8051
echo "int foo(void){return 1;}" > conftest.c
8052
echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8053
-dynamiclib -Wl,-single_module conftest.c" >&5
8054
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8055
-dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8057
if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8058
lt_cv_apple_cc_single_mod=yes
8060
cat conftest.err >&5
8062
rm -rf libconftest.dylib*
8066
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8067
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8068
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8069
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8070
if ${lt_cv_ld_exported_symbols_list+:} false; then :
8071
$as_echo_n "(cached) " >&6
8073
lt_cv_ld_exported_symbols_list=no
8074
save_LDFLAGS=$LDFLAGS
8075
echo "_main" > conftest.sym
8076
LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8077
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8078
/* end confdefs.h. */
8088
if ac_fn_c_try_link "$LINENO"; then :
8089
lt_cv_ld_exported_symbols_list=yes
8091
lt_cv_ld_exported_symbols_list=no
8093
rm -f core conftest.err conftest.$ac_objext \
8094
conftest$ac_exeext conftest.$ac_ext
8095
LDFLAGS="$save_LDFLAGS"
8098
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8099
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8100
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8101
$as_echo_n "checking for -force_load linker flag... " >&6; }
8102
if ${lt_cv_ld_force_load+:} false; then :
8103
$as_echo_n "(cached) " >&6
8105
lt_cv_ld_force_load=no
8106
cat > conftest.c << _LT_EOF
8107
int forced_loaded() { return 2;}
8109
echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8110
$LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8111
echo "$AR cru libconftest.a conftest.o" >&5
8112
$AR cru libconftest.a conftest.o 2>&5
8113
echo "$RANLIB libconftest.a" >&5
8114
$RANLIB libconftest.a 2>&5
8115
cat > conftest.c << _LT_EOF
8116
int main() { return 0;}
8118
echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8119
$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8121
if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8122
lt_cv_ld_force_load=yes
8124
cat conftest.err >&5
8126
rm -f conftest.err libconftest.a conftest conftest.c
8127
rm -rf conftest.dSYM
8130
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8131
$as_echo "$lt_cv_ld_force_load" >&6; }
8133
rhapsody* | darwin1.[012])
8134
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8136
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8137
darwin*) # darwin 5.x on
8138
# if running on 10.5 or later, the deployment target defaults
8139
# to the OS version, if on x86, and 10.4, the deployment
8140
# target defaults to 10.4. Don't you love it?
8141
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8142
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8143
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8145
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8147
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8151
if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8152
_lt_dar_single_mod='$single_module'
8154
if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8155
_lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8157
_lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8159
if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8160
_lt_dsymutil='~$DSYMUTIL $lib || :'
8167
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
8168
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8169
inttypes.h stdint.h unistd.h
8171
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8172
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8174
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8175
cat >>confdefs.h <<_ACEOF
8176
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8184
for ac_header in dlfcn.h
8186
ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8188
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8189
cat >>confdefs.h <<_ACEOF
8190
#define HAVE_DLFCN_H 1
8211
# Check whether --enable-shared was given.
8212
if test "${enable_shared+set}" = set; then :
8213
enableval=$enable_shared; p=${PACKAGE-default}
8215
yes) enable_shared=yes ;;
8216
no) enable_shared=no ;;
8219
# Look at the argument we got. We use all the common list separators.
8220
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8221
for pkg in $enableval; do
8223
if test "X$pkg" = "X$p"; then
8242
# Check whether --enable-static was given.
8243
if test "${enable_static+set}" = set; then :
8244
enableval=$enable_static; p=${PACKAGE-default}
8246
yes) enable_static=yes ;;
8247
no) enable_static=no ;;
8250
# Look at the argument we got. We use all the common list separators.
8251
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8252
for pkg in $enableval; do
8254
if test "X$pkg" = "X$p"; then
8274
# Check whether --with-pic was given.
8275
if test "${with_pic+set}" = set; then :
8276
withval=$with_pic; pic_mode="$withval"
8282
test -z "$pic_mode" && pic_mode=default
8290
# Check whether --enable-fast-install was given.
8291
if test "${enable_fast_install+set}" = set; then :
8292
enableval=$enable_fast_install; p=${PACKAGE-default}
8294
yes) enable_fast_install=yes ;;
8295
no) enable_fast_install=no ;;
8297
enable_fast_install=no
8298
# Look at the argument we got. We use all the common list separators.
8299
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8300
for pkg in $enableval; do
8302
if test "X$pkg" = "X$p"; then
8303
enable_fast_install=yes
8310
enable_fast_install=yes
8323
# This can be used to rebuild libtool when needed
8324
LIBTOOL_DEPS="$ltmain"
8326
# Always use our own libtool.
8327
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8354
test -z "$LN_S" && LN_S="ln -s"
8369
if test -n "${ZSH_VERSION+set}" ; then
8370
setopt NO_GLOB_SUBST
8373
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8374
$as_echo_n "checking for objdir... " >&6; }
8375
if ${lt_cv_objdir+:} false; then :
8376
$as_echo_n "(cached) " >&6
8378
rm -f .libs 2>/dev/null
8379
mkdir .libs 2>/dev/null
8380
if test -d .libs; then
8383
# MS-DOS does not allow filenames that begin with a dot.
8386
rmdir .libs 2>/dev/null
8388
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8389
$as_echo "$lt_cv_objdir" >&6; }
8390
objdir=$lt_cv_objdir
8396
cat >>confdefs.h <<_ACEOF
8397
#define LT_OBJDIR "$lt_cv_objdir/"
8405
# AIX sometimes has problems with the GCC collect2 program. For some
8406
# reason, if we set the COLLECT_NAMES environment variable, the problems
8407
# vanish in a puff of smoke.
8408
if test "X${COLLECT_NAMES+set}" != Xset; then
8410
export COLLECT_NAMES
8417
can_build_shared=yes
8419
# All known linkers require a `.a' archive for static linking (except MSVC,
8420
# which needs '.lib').
8423
with_gnu_ld="$lt_cv_prog_gnu_ld"
8426
old_CFLAGS="$CFLAGS"
8428
# Set sane defaults for various variables
8429
test -z "$CC" && CC=cc
8430
test -z "$LTCC" && LTCC=$CC
8431
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8432
test -z "$LD" && LD=ld
8433
test -z "$ac_objext" && ac_objext=o
8435
for cc_temp in $compiler""; do
8437
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8438
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8443
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8446
# Only perform the check for file, if the check method requires it
8447
test -z "$MAGIC_CMD" && MAGIC_CMD=file
8448
case $deplibs_check_method in
8450
if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8451
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8452
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8453
if ${lt_cv_path_MAGIC_CMD+:} false; then :
8454
$as_echo_n "(cached) " >&6
8458
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8461
lt_save_MAGIC_CMD="$MAGIC_CMD"
8462
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8463
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8464
for ac_dir in $ac_dummy; do
8466
test -z "$ac_dir" && ac_dir=.
8467
if test -f $ac_dir/${ac_tool_prefix}file; then
8468
lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8469
if test -n "$file_magic_test_file"; then
8470
case $deplibs_check_method in
8472
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8473
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8474
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8475
$EGREP "$file_magic_regex" > /dev/null; then
8480
*** Warning: the command libtool uses to detect shared libraries,
8481
*** $file_magic_cmd, produces output that libtool cannot recognize.
8482
*** The result is that libtool may fail to recognize shared libraries
8483
*** as such. This will affect the creation of libtool libraries that
8484
*** depend on shared libraries, but programs linked with such libtool
8485
*** libraries will work regardless of this problem. Nevertheless, you
8486
*** may want to report the problem to your system manager and/or to
8487
*** bug-libtool@gnu.org
8497
MAGIC_CMD="$lt_save_MAGIC_CMD"
8502
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8503
if test -n "$MAGIC_CMD"; then
8504
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8505
$as_echo "$MAGIC_CMD" >&6; }
8507
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8508
$as_echo "no" >&6; }
8515
if test -z "$lt_cv_path_MAGIC_CMD"; then
8516
if test -n "$ac_tool_prefix"; then
8517
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8518
$as_echo_n "checking for file... " >&6; }
8519
if ${lt_cv_path_MAGIC_CMD+:} false; then :
8520
$as_echo_n "(cached) " >&6
8524
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8527
lt_save_MAGIC_CMD="$MAGIC_CMD"
8528
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8529
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8530
for ac_dir in $ac_dummy; do
8532
test -z "$ac_dir" && ac_dir=.
8533
if test -f $ac_dir/file; then
8534
lt_cv_path_MAGIC_CMD="$ac_dir/file"
8535
if test -n "$file_magic_test_file"; then
8536
case $deplibs_check_method in
8538
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8539
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8540
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8541
$EGREP "$file_magic_regex" > /dev/null; then
8546
*** Warning: the command libtool uses to detect shared libraries,
8547
*** $file_magic_cmd, produces output that libtool cannot recognize.
8548
*** The result is that libtool may fail to recognize shared libraries
8549
*** as such. This will affect the creation of libtool libraries that
8550
*** depend on shared libraries, but programs linked with such libtool
8551
*** libraries will work regardless of this problem. Nevertheless, you
8552
*** may want to report the problem to your system manager and/or to
8553
*** bug-libtool@gnu.org
8563
MAGIC_CMD="$lt_save_MAGIC_CMD"
8568
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8569
if test -n "$MAGIC_CMD"; then
8570
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8571
$as_echo "$MAGIC_CMD" >&6; }
8573
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8574
$as_echo "no" >&6; }
8587
# Use C for the default configuration in the libtool script
8591
ac_cpp='$CPP $CPPFLAGS'
8592
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8593
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8594
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8597
# Source file extension for C test sources.
8600
# Object file extension for compiled C test sources.
8604
# Code to be used in simple compile tests
8605
lt_simple_compile_test_code="int some_variable = 0;"
8607
# Code to be used in simple link tests
8608
lt_simple_link_test_code='int main(){return(0);}'
8616
# If no C compiler was specified, use CC.
8619
# If no C compiler flags were specified, use CFLAGS.
8620
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8622
# Allow CC to be a program name with arguments.
8625
# Save the default compiler, since it gets overwritten when the other
8626
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8627
compiler_DEFAULT=$CC
8629
# save warnings/boilerplate of simple test code
8630
ac_outfile=conftest.$ac_objext
8631
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8632
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8633
_lt_compiler_boilerplate=`cat conftest.err`
8636
ac_outfile=conftest.$ac_objext
8637
echo "$lt_simple_link_test_code" >conftest.$ac_ext
8638
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8639
_lt_linker_boilerplate=`cat conftest.err`
8644
## There is no encapsulation within the following macros, do not change
8645
## the running order or otherwise move them around unless you know exactly
8646
## what you are doing...
8647
if test -n "$compiler"; then
8649
lt_prog_compiler_no_builtin_flag=
8651
if test "$GCC" = yes; then
8652
case $cc_basename in
8654
lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8656
lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8659
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8660
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8661
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8662
$as_echo_n "(cached) " >&6
8664
lt_cv_prog_compiler_rtti_exceptions=no
8665
ac_outfile=conftest.$ac_objext
8666
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8667
lt_compiler_flag="-fno-rtti -fno-exceptions"
8668
# Insert the option either (1) after the last *FLAGS variable, or
8669
# (2) before a word containing "conftest.", or (3) at the end.
8670
# Note that $ac_compile itself does not contain backslashes and begins
8671
# with a dollar sign (not a hyphen), so the echo should work correctly.
8672
# The option is referenced via a variable to avoid confusing sed.
8673
lt_compile=`echo "$ac_compile" | $SED \
8674
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8675
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8676
-e 's:$: $lt_compiler_flag:'`
8677
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8678
(eval "$lt_compile" 2>conftest.err)
8680
cat conftest.err >&5
8681
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8682
if (exit $ac_status) && test -s "$ac_outfile"; then
8683
# The compiler can only warn and ignore the option if not recognized
8684
# So say no if there are warnings other than the usual output.
8685
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8686
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8687
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8688
lt_cv_prog_compiler_rtti_exceptions=yes
8694
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8695
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8697
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8698
lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8710
lt_prog_compiler_wl=
8711
lt_prog_compiler_pic=
8712
lt_prog_compiler_static=
8715
if test "$GCC" = yes; then
8716
lt_prog_compiler_wl='-Wl,'
8717
lt_prog_compiler_static='-static'
8721
# All AIX code is PIC.
8722
if test "$host_cpu" = ia64; then
8723
# AIX 5 now supports IA64 processor
8724
lt_prog_compiler_static='-Bstatic'
8731
# see comment about AmigaOS4 .so support
8732
lt_prog_compiler_pic='-fPIC'
8735
# FIXME: we need at least 68020 code to build shared libraries, but
8736
# adding the `-m68020' flag to GCC prevents building anything better,
8738
lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8743
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8744
# PIC is the default for these OSes.
8747
mingw* | cygwin* | pw32* | os2* | cegcc*)
8748
# This hack is so that the source file can tell whether it is being
8749
# built for inclusion in a dll (and should export symbols for example).
8750
# Although the cygwin gcc ignores -fPIC, still need this for old-style
8751
# (--disable-auto-import) libraries
8752
lt_prog_compiler_pic='-DDLL_EXPORT'
8755
darwin* | rhapsody*)
8756
# PIC is the default on this platform
8757
# Common symbols not allowed in MH_DYLIB files
8758
lt_prog_compiler_pic='-fno-common'
8762
# PIC is the default for Haiku.
8763
# The "-static" flag exists, but is broken.
8764
lt_prog_compiler_static=
8768
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8769
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8770
# sets the default TLS model and affects inlining.
8776
lt_prog_compiler_pic='-fPIC'
8782
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
8783
# Instead, we relocate shared libraries at runtime.
8787
# Just because we use GCC doesn't mean we suddenly get shared libraries
8788
# on systems that don't support them.
8789
lt_prog_compiler_can_build_shared=no
8794
# QNX uses GNU C++, but need to define -shared option too, otherwise
8796
lt_prog_compiler_pic='-fPIC -shared'
8800
if test -d /usr/nec; then
8801
lt_prog_compiler_pic=-Kconform_pic
8806
lt_prog_compiler_pic='-fPIC'
8810
case $cc_basename in
8811
nvcc*) # Cuda Compiler Driver 2.2
8812
lt_prog_compiler_wl='-Xlinker '
8813
lt_prog_compiler_pic='-Xcompiler -fPIC'
8817
# PORTME Check for flag to pass linker flags through the system compiler.
8820
lt_prog_compiler_wl='-Wl,'
8821
if test "$host_cpu" = ia64; then
8822
# AIX 5 now supports IA64 processor
8823
lt_prog_compiler_static='-Bstatic'
8825
lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8829
mingw* | cygwin* | pw32* | os2* | cegcc*)
8830
# This hack is so that the source file can tell whether it is being
8831
# built for inclusion in a dll (and should export symbols for example).
8832
lt_prog_compiler_pic='-DDLL_EXPORT'
8835
hpux9* | hpux10* | hpux11*)
8836
lt_prog_compiler_wl='-Wl,'
8837
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8844
lt_prog_compiler_pic='+Z'
8847
# Is there a better lt_prog_compiler_static that works with the bundled CC?
8848
lt_prog_compiler_static='${wl}-a ${wl}archive'
8851
irix5* | irix6* | nonstopux*)
8852
lt_prog_compiler_wl='-Wl,'
8853
# PIC (with -KPIC) is the default.
8854
lt_prog_compiler_static='-non_shared'
8857
linux* | k*bsd*-gnu | kopensolaris*-gnu)
8858
case $cc_basename in
8859
# old Intel for x86_64 which still supported -KPIC.
8861
lt_prog_compiler_wl='-Wl,'
8862
lt_prog_compiler_pic='-KPIC'
8863
lt_prog_compiler_static='-static'
8865
# icc used to be incompatible with GCC.
8866
# ICC 10 doesn't accept -KPIC any more.
8868
lt_prog_compiler_wl='-Wl,'
8869
lt_prog_compiler_pic='-fPIC'
8870
lt_prog_compiler_static='-static'
8872
# Lahey Fortran 8.1.
8874
lt_prog_compiler_wl='-Wl,'
8875
lt_prog_compiler_pic='--shared'
8876
lt_prog_compiler_static='--static'
8879
# NAG Fortran compiler
8880
lt_prog_compiler_wl='-Wl,-Wl,,'
8881
lt_prog_compiler_pic='-PIC'
8882
lt_prog_compiler_static='-Bstatic'
8884
pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8885
# Portland Group compilers (*not* the Pentium gcc compiler,
8886
# which looks to be a dead project)
8887
lt_prog_compiler_wl='-Wl,'
8888
lt_prog_compiler_pic='-fpic'
8889
lt_prog_compiler_static='-Bstatic'
8892
lt_prog_compiler_wl='-Wl,'
8893
# All Alpha code is PIC.
8894
lt_prog_compiler_static='-non_shared'
8896
xl* | bgxl* | bgf* | mpixl*)
8897
# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8898
lt_prog_compiler_wl='-Wl,'
8899
lt_prog_compiler_pic='-qpic'
8900
lt_prog_compiler_static='-qstaticlink'
8903
case `$CC -V 2>&1 | sed 5q` in
8904
*Sun\ F* | *Sun*Fortran*)
8905
# Sun Fortran 8.3 passes all unrecognized flags to the linker
8906
lt_prog_compiler_pic='-KPIC'
8907
lt_prog_compiler_static='-Bstatic'
8908
lt_prog_compiler_wl=''
8912
lt_prog_compiler_pic='-KPIC'
8913
lt_prog_compiler_static='-Bstatic'
8914
lt_prog_compiler_wl='-Wl,'
8922
lt_prog_compiler_pic='-KPIC'
8923
lt_prog_compiler_static='-Bstatic'
8927
# QNX uses GNU C++, but need to define -shared option too, otherwise
8929
lt_prog_compiler_pic='-fPIC -shared'
8932
osf3* | osf4* | osf5*)
8933
lt_prog_compiler_wl='-Wl,'
8934
# All OSF/1 code is PIC.
8935
lt_prog_compiler_static='-non_shared'
8939
lt_prog_compiler_static='-non_shared'
8943
lt_prog_compiler_pic='-KPIC'
8944
lt_prog_compiler_static='-Bstatic'
8945
case $cc_basename in
8946
f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8947
lt_prog_compiler_wl='-Qoption ld ';;
8949
lt_prog_compiler_wl='-Wl,';;
8954
lt_prog_compiler_wl='-Qoption ld '
8955
lt_prog_compiler_pic='-PIC'
8956
lt_prog_compiler_static='-Bstatic'
8959
sysv4 | sysv4.2uw2* | sysv4.3*)
8960
lt_prog_compiler_wl='-Wl,'
8961
lt_prog_compiler_pic='-KPIC'
8962
lt_prog_compiler_static='-Bstatic'
8966
if test -d /usr/nec ;then
8967
lt_prog_compiler_pic='-Kconform_pic'
8968
lt_prog_compiler_static='-Bstatic'
8972
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8973
lt_prog_compiler_wl='-Wl,'
8974
lt_prog_compiler_pic='-KPIC'
8975
lt_prog_compiler_static='-Bstatic'
8979
lt_prog_compiler_wl='-Wl,'
8980
lt_prog_compiler_can_build_shared=no
8984
lt_prog_compiler_pic='-pic'
8985
lt_prog_compiler_static='-Bstatic'
8989
lt_prog_compiler_can_build_shared=no
8995
# For platforms which do not support PIC, -DPIC is meaningless:
8997
lt_prog_compiler_pic=
9000
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9004
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9005
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9006
if ${lt_cv_prog_compiler_pic+:} false; then :
9007
$as_echo_n "(cached) " >&6
9009
lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9011
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9012
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
9013
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9016
# Check to make sure the PIC flag actually works.
9018
if test -n "$lt_prog_compiler_pic"; then
9019
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9020
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9021
if ${lt_cv_prog_compiler_pic_works+:} false; then :
9022
$as_echo_n "(cached) " >&6
9024
lt_cv_prog_compiler_pic_works=no
9025
ac_outfile=conftest.$ac_objext
9026
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9027
lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9028
# Insert the option either (1) after the last *FLAGS variable, or
9029
# (2) before a word containing "conftest.", or (3) at the end.
9030
# Note that $ac_compile itself does not contain backslashes and begins
9031
# with a dollar sign (not a hyphen), so the echo should work correctly.
9032
# The option is referenced via a variable to avoid confusing sed.
9033
lt_compile=`echo "$ac_compile" | $SED \
9034
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9035
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9036
-e 's:$: $lt_compiler_flag:'`
9037
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9038
(eval "$lt_compile" 2>conftest.err)
9040
cat conftest.err >&5
9041
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9042
if (exit $ac_status) && test -s "$ac_outfile"; then
9043
# The compiler can only warn and ignore the option if not recognized
9044
# So say no if there are warnings other than the usual output.
9045
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9046
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9047
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9048
lt_cv_prog_compiler_pic_works=yes
9054
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9055
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9057
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9058
case $lt_prog_compiler_pic in
9060
*) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9063
lt_prog_compiler_pic=
9064
lt_prog_compiler_can_build_shared=no
9080
# Check to make sure the static flag actually works.
9082
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9083
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9084
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9085
if ${lt_cv_prog_compiler_static_works+:} false; then :
9086
$as_echo_n "(cached) " >&6
9088
lt_cv_prog_compiler_static_works=no
9089
save_LDFLAGS="$LDFLAGS"
9090
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9091
echo "$lt_simple_link_test_code" > conftest.$ac_ext
9092
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9093
# The linker can only warn and ignore the option if not recognized
9094
# So say no if there are warnings
9095
if test -s conftest.err; then
9096
# Append any errors to the config.log.
9097
cat conftest.err 1>&5
9098
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9099
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9100
if diff conftest.exp conftest.er2 >/dev/null; then
9101
lt_cv_prog_compiler_static_works=yes
9104
lt_cv_prog_compiler_static_works=yes
9108
LDFLAGS="$save_LDFLAGS"
9111
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9112
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9114
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9117
lt_prog_compiler_static=
9126
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9127
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9128
if ${lt_cv_prog_compiler_c_o+:} false; then :
9129
$as_echo_n "(cached) " >&6
9131
lt_cv_prog_compiler_c_o=no
9132
$RM -r conftest 2>/dev/null
9136
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9138
lt_compiler_flag="-o out/conftest2.$ac_objext"
9139
# Insert the option either (1) after the last *FLAGS variable, or
9140
# (2) before a word containing "conftest.", or (3) at the end.
9141
# Note that $ac_compile itself does not contain backslashes and begins
9142
# with a dollar sign (not a hyphen), so the echo should work correctly.
9143
lt_compile=`echo "$ac_compile" | $SED \
9144
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9145
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9146
-e 's:$: $lt_compiler_flag:'`
9147
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9148
(eval "$lt_compile" 2>out/conftest.err)
9150
cat out/conftest.err >&5
9151
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9152
if (exit $ac_status) && test -s out/conftest2.$ac_objext
9154
# The compiler can only warn and ignore the option if not recognized
9155
# So say no if there are warnings
9156
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9157
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9158
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9159
lt_cv_prog_compiler_c_o=yes
9164
# SGI C++ compiler will create directory out/ii_files/ for
9165
# template instantiation
9166
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9167
$RM out/* && rmdir out
9173
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9174
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9181
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9182
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9183
if ${lt_cv_prog_compiler_c_o+:} false; then :
9184
$as_echo_n "(cached) " >&6
9186
lt_cv_prog_compiler_c_o=no
9187
$RM -r conftest 2>/dev/null
9191
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9193
lt_compiler_flag="-o out/conftest2.$ac_objext"
9194
# Insert the option either (1) after the last *FLAGS variable, or
9195
# (2) before a word containing "conftest.", or (3) at the end.
9196
# Note that $ac_compile itself does not contain backslashes and begins
9197
# with a dollar sign (not a hyphen), so the echo should work correctly.
9198
lt_compile=`echo "$ac_compile" | $SED \
9199
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9200
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9201
-e 's:$: $lt_compiler_flag:'`
9202
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9203
(eval "$lt_compile" 2>out/conftest.err)
9205
cat out/conftest.err >&5
9206
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9207
if (exit $ac_status) && test -s out/conftest2.$ac_objext
9209
# The compiler can only warn and ignore the option if not recognized
9210
# So say no if there are warnings
9211
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9212
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9213
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9214
lt_cv_prog_compiler_c_o=yes
9219
# SGI C++ compiler will create directory out/ii_files/ for
9220
# template instantiation
9221
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9222
$RM out/* && rmdir out
9228
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9229
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9234
hard_links="nottested"
9235
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9236
# do not overwrite the value of need_locks provided by the user
9237
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9238
$as_echo_n "checking if we can lock with hard links... " >&6; }
9241
ln conftest.a conftest.b 2>/dev/null && hard_links=no
9243
ln conftest.a conftest.b 2>&5 || hard_links=no
9244
ln conftest.a conftest.b 2>/dev/null && hard_links=no
9245
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9246
$as_echo "$hard_links" >&6; }
9247
if test "$hard_links" = no; then
9248
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9249
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9261
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9262
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9265
allow_undefined_flag=
9266
always_export_symbols=no
9268
archive_expsym_cmds=
9269
compiler_needs_object=no
9270
enable_shared_with_static_runtimes=no
9271
export_dynamic_flag_spec=
9272
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9273
hardcode_automatic=no
9275
hardcode_direct_absolute=no
9276
hardcode_libdir_flag_spec=
9277
hardcode_libdir_flag_spec_ld=
9278
hardcode_libdir_separator=
9280
hardcode_shlibpath_var=unsupported
9282
link_all_deplibs=unknown
9285
old_archive_from_new_cmds=
9286
old_archive_from_expsyms_cmds=
9287
thread_safe_flag_spec=
9288
whole_archive_flag_spec=
9289
# include_expsyms should be a list of space-separated symbols to be *always*
9290
# included in the symbol list
9292
# exclude_expsyms can be an extended regexp of symbols to exclude
9293
# it will be wrapped by ` (' and `)$', so one must not match beginning or
9294
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9295
# as well as any symbol that contains `d'.
9296
exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9297
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9298
# platforms (ab)use it in PIC code, but their linkers get confused if
9299
# the symbol is explicitly referenced. Since portable code cannot
9300
# rely on this symbol name, it's probably fine to never include it in
9301
# preloaded symbol tables.
9302
# Exclude shared library initialization/finalization symbols.
9303
extract_expsyms_cmds=
9306
cygwin* | mingw* | pw32* | cegcc*)
9307
# FIXME: the MSVC++ port hasn't been tested in a loooong time
9308
# When not using gcc, we currently assume that we are using
9309
# Microsoft Visual C++.
9310
if test "$GCC" != yes; then
9315
# we just hope/assume this is gcc and not c89 (= MSVC++)
9325
# On some targets, GNU ld is compatible enough with the native linker
9326
# that we're better off using the native interface for both.
9327
lt_use_gnu_ld_interface=no
9328
if test "$with_gnu_ld" = yes; then
9331
# The AIX port of GNU ld has always aspired to compatibility
9332
# with the native linker. However, as the warning in the GNU ld
9333
# block says, versions before 2.19.5* couldn't really create working
9334
# shared libraries, regardless of the interface used.
9335
case `$LD -v 2>&1` in
9336
*\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9337
*\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9338
*\ \(GNU\ Binutils\)\ [3-9]*) ;;
9340
lt_use_gnu_ld_interface=yes
9345
lt_use_gnu_ld_interface=yes
9350
if test "$lt_use_gnu_ld_interface" = yes; then
9351
# If archive_cmds runs LD, not CC, wlarc should be empty
9354
# Set some defaults for GNU ld with shared library support. These
9355
# are reset later if shared libraries are not supported. Putting them
9356
# here allows them to be overridden if necessary.
9357
runpath_var=LD_RUN_PATH
9358
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9359
export_dynamic_flag_spec='${wl}--export-dynamic'
9360
# ancient GNU ld didn't support --whole-archive et. al.
9361
if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9362
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9364
whole_archive_flag_spec=
9366
supports_anon_versioning=no
9367
case `$LD -v 2>&1` in
9368
*GNU\ gold*) supports_anon_versioning=yes ;;
9369
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9370
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9371
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9372
*\ 2.11.*) ;; # other 2.11 versions
9373
*) supports_anon_versioning=yes ;;
9376
# See if GNU ld supports shared libraries.
9379
# On AIX/PPC, the GNU linker is very broken
9380
if test "$host_cpu" != ia64; then
9384
*** Warning: the GNU linker, at least up to release 2.19, is reported
9385
*** to be unable to reliably create shared libraries on AIX.
9386
*** Therefore, libtool is disabling shared libraries support. If you
9387
*** really care for shared libraries, you may want to install binutils
9388
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9389
*** You will then need to restart the configuration process.
9398
# see comment about AmigaOS4 .so support
9399
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9400
archive_expsym_cmds=''
9403
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)'
9404
hardcode_libdir_flag_spec='-L$libdir'
9405
hardcode_minus_L=yes
9411
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9412
allow_undefined_flag=unsupported
9413
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9414
# support --undefined. This deserves some investigation. FIXME
9415
archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9421
cygwin* | mingw* | pw32* | cegcc*)
9422
# _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9423
# as there is no search path for DLLs.
9424
hardcode_libdir_flag_spec='-L$libdir'
9425
export_dynamic_flag_spec='${wl}--export-all-symbols'
9426
allow_undefined_flag=unsupported
9427
always_export_symbols=no
9428
enable_shared_with_static_runtimes=yes
9429
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'
9430
exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9432
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9433
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9434
# If the export-symbols file already is a .def file (1st line
9435
# is EXPORTS), use it as is; otherwise, prepend...
9436
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9437
cp $export_symbols $output_objdir/$soname.def;
9439
echo EXPORTS > $output_objdir/$soname.def;
9440
cat $export_symbols >> $output_objdir/$soname.def;
9442
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9449
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9450
link_all_deplibs=yes
9455
hardcode_shlibpath_var=no
9456
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9457
export_dynamic_flag_spec='${wl}-E'
9458
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9459
# Instead, shared libraries are loaded at an image base (0x10000000 by
9460
# default) and relocated if they conflict, which is a slow very memory
9461
# consuming and fragmenting process. To avoid this, we pick a random,
9462
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9463
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
9464
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9465
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'
9468
gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9470
if test "$host_os" = linux-dietlibc; then
9471
case $cc_basename in
9472
diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9475
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9476
&& test "$tmp_diet" = no
9478
tmp_addflag=' $pic_flag'
9479
tmp_sharedflag='-shared'
9480
case $cc_basename,$host_cpu in
9481
pgcc*) # Portland Group C compiler
9482
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'
9483
tmp_addflag=' $pic_flag'
9485
pgf77* | pgf90* | pgf95* | pgfortran*)
9486
# Portland Group f77 and f90 compilers
9487
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'
9488
tmp_addflag=' $pic_flag -Mnomain' ;;
9489
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9490
tmp_addflag=' -i_dynamic' ;;
9491
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9492
tmp_addflag=' -i_dynamic -nofor_main' ;;
9493
ifc* | ifort*) # Intel Fortran compiler
9494
tmp_addflag=' -nofor_main' ;;
9495
lf95*) # Lahey Fortran 8.1
9496
whole_archive_flag_spec=
9497
tmp_sharedflag='--shared' ;;
9498
xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9499
tmp_sharedflag='-qmkshrobj'
9501
nvcc*) # Cuda Compiler Driver 2.2
9502
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'
9503
compiler_needs_object=yes
9506
case `$CC -V 2>&1 | sed 5q` in
9507
*Sun\ C*) # Sun C 5.9
9508
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'
9509
compiler_needs_object=yes
9510
tmp_sharedflag='-G' ;;
9511
*Sun\ F*) # Sun Fortran 8.3
9512
tmp_sharedflag='-G' ;;
9514
archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9516
if test "x$supports_anon_versioning" = xyes; then
9517
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9518
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9519
echo "local: *; };" >> $output_objdir/$libname.ver~
9520
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9523
case $cc_basename in
9524
xlf* | bgf* | bgxlf* | mpixlf*)
9525
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9526
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9527
hardcode_libdir_flag_spec=
9528
hardcode_libdir_flag_spec_ld='-rpath $libdir'
9529
archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9530
if test "x$supports_anon_versioning" = xyes; then
9531
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9532
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9533
echo "local: *; };" >> $output_objdir/$libname.ver~
9534
$LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9544
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9545
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9548
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9549
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9554
if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9558
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9559
*** create shared libraries on Solaris systems. Therefore, libtool
9560
*** is disabling shared libraries support. We urge you to upgrade GNU
9561
*** binutils to release 2.9.1 or newer. Another option is to modify
9562
*** your PATH or compiler configuration so that the native linker is
9563
*** used, and then restart.
9566
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9567
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9568
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9574
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9575
case `$LD -v 2>&1` in
9576
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9580
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9581
*** reliably create shared libraries on SCO systems. Therefore, libtool
9582
*** is disabling shared libraries support. We urge you to upgrade GNU
9583
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9584
*** your PATH or compiler configuration so that the native linker is
9585
*** used, and then restart.
9590
# For security reasons, it is highly recommended that you always
9591
# use absolute paths for naming shared libraries, and exclude the
9592
# DT_RUNPATH tag from executables and libraries. But doing so
9593
# requires that you compile everything twice, which is a pain.
9594
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9595
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9596
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9597
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9606
archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9609
hardcode_shlibpath_var=no
9613
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9614
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9615
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9622
if test "$ld_shlibs" = no; then
9624
hardcode_libdir_flag_spec=
9625
export_dynamic_flag_spec=
9626
whole_archive_flag_spec=
9629
# PORTME fill in a description of your system's linker (not GNU ld)
9632
allow_undefined_flag=unsupported
9633
always_export_symbols=yes
9634
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'
9635
# Note: this linker hardcodes the directories in LIBPATH if there
9636
# are no directories specified by -L.
9637
hardcode_minus_L=yes
9638
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9639
# Neither direct hardcoding nor static linking is supported with a
9641
hardcode_direct=unsupported
9646
if test "$host_cpu" = ia64; then
9647
# On IA64, the linker does run time linking by default, so we don't
9648
# have to do anything special.
9649
aix_use_runtimelinking=no
9650
exp_sym_flag='-Bexport'
9653
# If we're using GNU nm, then we don't want the "-C" option.
9654
# -C means demangle to AIX nm, but means don't demangle with GNU nm
9655
# Also, AIX nm treats weak defined symbols like other global
9656
# defined symbols, whereas GNU nm marks them as "W".
9657
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9658
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'
9660
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'
9662
aix_use_runtimelinking=no
9664
# Test if we are trying to use run time linking or normal
9665
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
9666
# need to do runtime linking.
9667
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9668
for ld_flag in $LDFLAGS; do
9669
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9670
aix_use_runtimelinking=yes
9677
exp_sym_flag='-bexport'
9678
no_entry_flag='-bnoentry'
9681
# When large executables or shared objects are built, AIX ld can
9682
# have problems creating the table of contents. If linking a library
9683
# or program results in "error TOC overflow" add -mminimal-toc to
9684
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9685
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9689
hardcode_direct_absolute=yes
9690
hardcode_libdir_separator=':'
9691
link_all_deplibs=yes
9692
file_list_spec='${wl}-f,'
9694
if test "$GCC" = yes; then
9695
case $host_os in aix4.[012]|aix4.[012].*)
9696
# We only want to do this on AIX 4.2 and lower, the check
9697
# below for broken collect2 doesn't work under 4.3+
9698
collect2name=`${CC} -print-prog-name=collect2`
9699
if test -f "$collect2name" &&
9700
strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9702
# We have reworked collect2
9705
# We have old collect2
9706
hardcode_direct=unsupported
9707
# It fails to find uninstalled libraries when the uninstalled
9708
# path is not listed in the libpath. Setting hardcode_minus_L
9709
# to unsupported forces relinking
9710
hardcode_minus_L=yes
9711
hardcode_libdir_flag_spec='-L$libdir'
9712
hardcode_libdir_separator=
9716
shared_flag='-shared'
9717
if test "$aix_use_runtimelinking" = yes; then
9718
shared_flag="$shared_flag "'${wl}-G'
9722
if test "$host_cpu" = ia64; then
9723
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9724
# chokes on -Wl,-G. The following line is correct:
9727
if test "$aix_use_runtimelinking" = yes; then
9728
shared_flag='${wl}-G'
9730
shared_flag='${wl}-bM:SRE'
9735
export_dynamic_flag_spec='${wl}-bexpall'
9736
# It seems that -bexpall does not export symbols beginning with
9737
# underscore (_), so it is better to generate a list of symbols to export.
9738
always_export_symbols=yes
9739
if test "$aix_use_runtimelinking" = yes; then
9740
# Warning - without using the other runtime loading flags (-brtl),
9741
# -berok will link without error, but may produce a broken library.
9742
allow_undefined_flag='-berok'
9743
# Determine the default libpath from the value encoded in an
9745
if test "${lt_cv_aix_libpath+set}" = set; then
9746
aix_libpath=$lt_cv_aix_libpath
9748
if ${lt_cv_aix_libpath_+:} false; then :
9749
$as_echo_n "(cached) " >&6
9751
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9752
/* end confdefs.h. */
9762
if ac_fn_c_try_link "$LINENO"; then :
9764
lt_aix_libpath_sed='
9765
/Import File Strings/,/^$/ {
9767
s/^0 *\([^ ]*\) *$/\1/
9771
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9772
# Check for a 64-bit object if we didn't find anything.
9773
if test -z "$lt_cv_aix_libpath_"; then
9774
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9777
rm -f core conftest.err conftest.$ac_objext \
9778
conftest$ac_exeext conftest.$ac_ext
9779
if test -z "$lt_cv_aix_libpath_"; then
9780
lt_cv_aix_libpath_="/usr/lib:/lib"
9785
aix_libpath=$lt_cv_aix_libpath_
9788
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9789
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"
9791
if test "$host_cpu" = ia64; then
9792
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9793
allow_undefined_flag="-z nodefs"
9794
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"
9796
# Determine the default libpath from the value encoded in an
9798
if test "${lt_cv_aix_libpath+set}" = set; then
9799
aix_libpath=$lt_cv_aix_libpath
9801
if ${lt_cv_aix_libpath_+:} false; then :
9802
$as_echo_n "(cached) " >&6
9804
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9805
/* end confdefs.h. */
9815
if ac_fn_c_try_link "$LINENO"; then :
9817
lt_aix_libpath_sed='
9818
/Import File Strings/,/^$/ {
9820
s/^0 *\([^ ]*\) *$/\1/
9824
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9825
# Check for a 64-bit object if we didn't find anything.
9826
if test -z "$lt_cv_aix_libpath_"; then
9827
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9830
rm -f core conftest.err conftest.$ac_objext \
9831
conftest$ac_exeext conftest.$ac_ext
9832
if test -z "$lt_cv_aix_libpath_"; then
9833
lt_cv_aix_libpath_="/usr/lib:/lib"
9838
aix_libpath=$lt_cv_aix_libpath_
9841
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9842
# Warning - without using the other run time loading flags,
9843
# -berok will link without error, but may produce a broken library.
9844
no_undefined_flag=' ${wl}-bernotok'
9845
allow_undefined_flag=' ${wl}-berok'
9846
if test "$with_gnu_ld" = yes; then
9847
# We only use this code for GNU lds that support --whole-archive.
9848
whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9850
# Exported symbols can be pulled into shared objects from archives
9851
whole_archive_flag_spec='$convenience'
9853
archive_cmds_need_lc=yes
9854
# This is similar to how AIX traditionally builds its shared libraries.
9855
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'
9863
# see comment about AmigaOS4 .so support
9864
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9865
archive_expsym_cmds=''
9868
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)'
9869
hardcode_libdir_flag_spec='-L$libdir'
9870
hardcode_minus_L=yes
9876
export_dynamic_flag_spec=-rdynamic
9879
cygwin* | mingw* | pw32* | cegcc*)
9880
# When not using gcc, we currently assume that we are using
9881
# Microsoft Visual C++.
9882
# hardcode_libdir_flag_spec is actually meaningless, as there is
9883
# no search path for DLLs.
9884
case $cc_basename in
9887
hardcode_libdir_flag_spec=' '
9888
allow_undefined_flag=unsupported
9889
always_export_symbols=yes
9891
# Tell ltmain to make .lib files, not .a files.
9893
# Tell ltmain to make .dll files, not .so files.
9895
# FIXME: Setting linknames here is a bad hack.
9896
archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9897
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9898
sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9900
sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9902
$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9904
# The linker will not automatically build a static lib if we build a DLL.
9905
# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9906
enable_shared_with_static_runtimes=yes
9907
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9909
old_postinstall_cmds='chmod 644 $oldlib'
9910
postlink_cmds='lt_outputfile="@OUTPUT@"~
9911
lt_tool_outputfile="@TOOL_OUTPUT@"~
9912
case $lt_outputfile in
9915
lt_outputfile="$lt_outputfile.exe"
9916
lt_tool_outputfile="$lt_tool_outputfile.exe"
9919
if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9920
$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9921
$RM "$lt_outputfile.manifest";
9925
# Assume MSVC wrapper
9926
hardcode_libdir_flag_spec=' '
9927
allow_undefined_flag=unsupported
9928
# Tell ltmain to make .lib files, not .a files.
9930
# Tell ltmain to make .dll files, not .so files.
9932
# FIXME: Setting linknames here is a bad hack.
9933
archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9934
# The linker will automatically build a .lib file if we build a DLL.
9935
old_archive_from_new_cmds='true'
9936
# FIXME: Should let the user specify the lib program.
9937
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9938
enable_shared_with_static_runtimes=yes
9943
darwin* | rhapsody*)
9946
archive_cmds_need_lc=no
9948
hardcode_automatic=yes
9949
hardcode_shlibpath_var=unsupported
9950
if test "$lt_cv_ld_force_load" = "yes"; then
9951
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\"`'
9953
whole_archive_flag_spec=''
9955
link_all_deplibs=yes
9956
allow_undefined_flag="$_lt_dar_allow_undefined"
9957
case $cc_basename in
9958
ifort*) _lt_dar_can_shared=yes ;;
9959
*) _lt_dar_can_shared=$GCC ;;
9961
if test "$_lt_dar_can_shared" = "yes"; then
9962
output_verbose_link_cmd=func_echo_all
9963
archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9964
module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9965
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}"
9966
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}"
9975
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9976
hardcode_libdir_flag_spec='-L$libdir'
9977
hardcode_shlibpath_var=no
9984
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9985
# support. Future versions do this automatically, but an explicit c++rt0.o
9986
# does not break anything, and helps significantly (at the cost of a little
9989
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9990
hardcode_libdir_flag_spec='-R$libdir'
9992
hardcode_shlibpath_var=no
9995
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
9997
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9999
hardcode_minus_L=yes
10000
hardcode_shlibpath_var=no
10003
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10004
freebsd* | dragonfly*)
10005
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10006
hardcode_libdir_flag_spec='-R$libdir'
10007
hardcode_direct=yes
10008
hardcode_shlibpath_var=no
10012
if test "$GCC" = yes; then
10013
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'
10015
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'
10017
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10018
hardcode_libdir_separator=:
10019
hardcode_direct=yes
10021
# hardcode_minus_L: Not really in the search PATH,
10022
# but as the default location of the library.
10023
hardcode_minus_L=yes
10024
export_dynamic_flag_spec='${wl}-E'
10028
if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10029
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10031
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10033
if test "$with_gnu_ld" = no; then
10034
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10035
hardcode_libdir_flag_spec_ld='+b $libdir'
10036
hardcode_libdir_separator=:
10037
hardcode_direct=yes
10038
hardcode_direct_absolute=yes
10039
export_dynamic_flag_spec='${wl}-E'
10040
# hardcode_minus_L: Not really in the search PATH,
10041
# but as the default location of the library.
10042
hardcode_minus_L=yes
10047
if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10050
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10053
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10056
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10062
archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10065
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10069
# Older versions of the 11.00 compiler do not understand -b yet
10070
# (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10071
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10072
$as_echo_n "checking if $CC understands -b... " >&6; }
10073
if ${lt_cv_prog_compiler__b+:} false; then :
10074
$as_echo_n "(cached) " >&6
10076
lt_cv_prog_compiler__b=no
10077
save_LDFLAGS="$LDFLAGS"
10078
LDFLAGS="$LDFLAGS -b"
10079
echo "$lt_simple_link_test_code" > conftest.$ac_ext
10080
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10081
# The linker can only warn and ignore the option if not recognized
10082
# So say no if there are warnings
10083
if test -s conftest.err; then
10084
# Append any errors to the config.log.
10085
cat conftest.err 1>&5
10086
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10087
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10088
if diff conftest.exp conftest.er2 >/dev/null; then
10089
lt_cv_prog_compiler__b=yes
10092
lt_cv_prog_compiler__b=yes
10096
LDFLAGS="$save_LDFLAGS"
10099
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10100
$as_echo "$lt_cv_prog_compiler__b" >&6; }
10102
if test x"$lt_cv_prog_compiler__b" = xyes; then
10103
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10105
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10111
if test "$with_gnu_ld" = no; then
10112
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10113
hardcode_libdir_separator=:
10118
hardcode_shlibpath_var=no
10121
hardcode_direct=yes
10122
hardcode_direct_absolute=yes
10123
export_dynamic_flag_spec='${wl}-E'
10125
# hardcode_minus_L: Not really in the search PATH,
10126
# but as the default location of the library.
10127
hardcode_minus_L=yes
10133
irix5* | irix6* | nonstopux*)
10134
if test "$GCC" = yes; then
10135
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'
10136
# Try to use the -exported_symbol ld option, if it does not
10137
# work, assume that -exports_file does not work either and
10138
# implicitly export all symbols.
10139
# This should be the same for all languages, so no per-tag cache variable.
10140
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10141
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10142
if ${lt_cv_irix_exported_symbol+:} false; then :
10143
$as_echo_n "(cached) " >&6
10145
save_LDFLAGS="$LDFLAGS"
10146
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10147
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10148
/* end confdefs.h. */
10149
int foo (void) { return 0; }
10151
if ac_fn_c_try_link "$LINENO"; then :
10152
lt_cv_irix_exported_symbol=yes
10154
lt_cv_irix_exported_symbol=no
10156
rm -f core conftest.err conftest.$ac_objext \
10157
conftest$ac_exeext conftest.$ac_ext
10158
LDFLAGS="$save_LDFLAGS"
10160
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10161
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
10162
if test "$lt_cv_irix_exported_symbol" = yes; then
10163
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'
10166
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'
10167
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'
10169
archive_cmds_need_lc='no'
10170
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10171
hardcode_libdir_separator=:
10173
link_all_deplibs=yes
10177
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10178
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10180
archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10182
hardcode_libdir_flag_spec='-R$libdir'
10183
hardcode_direct=yes
10184
hardcode_shlibpath_var=no
10188
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10189
hardcode_direct=yes
10190
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10191
hardcode_libdir_separator=:
10192
hardcode_shlibpath_var=no
10199
if test -f /usr/libexec/ld.so; then
10200
hardcode_direct=yes
10201
hardcode_shlibpath_var=no
10202
hardcode_direct_absolute=yes
10203
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10204
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10205
archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10206
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10207
export_dynamic_flag_spec='${wl}-E'
10210
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10211
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10212
hardcode_libdir_flag_spec='-R$libdir'
10215
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10216
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10226
hardcode_libdir_flag_spec='-L$libdir'
10227
hardcode_minus_L=yes
10228
allow_undefined_flag=unsupported
10229
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'
10230
old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10234
if test "$GCC" = yes; then
10235
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10236
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'
10238
allow_undefined_flag=' -expect_unresolved \*'
10239
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'
10241
archive_cmds_need_lc='no'
10242
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10243
hardcode_libdir_separator=:
10246
osf4* | osf5*) # as osf3* with the addition of -msym flag
10247
if test "$GCC" = yes; then
10248
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10249
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'
10250
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10252
allow_undefined_flag=' -expect_unresolved \*'
10253
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'
10254
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~
10255
$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'
10257
# Both c and cxx compiler support -rpath directly
10258
hardcode_libdir_flag_spec='-rpath $libdir'
10260
archive_cmds_need_lc='no'
10261
hardcode_libdir_separator=:
10265
no_undefined_flag=' -z defs'
10266
if test "$GCC" = yes; then
10268
archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10269
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10270
$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'
10272
case `$CC -V 2>&1` in
10275
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10276
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10277
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10281
archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10282
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10283
$CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10287
hardcode_libdir_flag_spec='-R$libdir'
10288
hardcode_shlibpath_var=no
10290
solaris2.[0-5] | solaris2.[0-5].*) ;;
10292
# The compiler driver will combine and reorder linker options,
10293
# but understands `-z linker_flag'. GCC discards it without `$wl',
10294
# but is careful enough not to reorder.
10295
# Supported since Solaris 2.6 (maybe 2.5.1?)
10296
if test "$GCC" = yes; then
10297
whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10299
whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10303
link_all_deplibs=yes
10307
if test "x$host_vendor" = xsequent; then
10308
# Use $CC to link under sequent, because it throws in some extra .o
10309
# files that make .init and .fini sections work.
10310
archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10312
archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10314
hardcode_libdir_flag_spec='-L$libdir'
10315
hardcode_direct=yes
10316
hardcode_minus_L=yes
10317
hardcode_shlibpath_var=no
10321
case $host_vendor in
10323
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10324
hardcode_direct=yes # is this really true???
10327
## LD is ld it makes a PLAMLIB
10328
## CC just makes a GrossModule.
10329
archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10330
reload_cmds='$CC -r -o $output$reload_objs'
10334
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10335
hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10338
runpath_var='LD_RUN_PATH'
10339
hardcode_shlibpath_var=no
10343
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10344
hardcode_shlibpath_var=no
10345
export_dynamic_flag_spec='-Bexport'
10349
if test -d /usr/nec; then
10350
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10351
hardcode_shlibpath_var=no
10352
runpath_var=LD_RUN_PATH
10353
hardcode_runpath_var=yes
10358
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10359
no_undefined_flag='${wl}-z,text'
10360
archive_cmds_need_lc=no
10361
hardcode_shlibpath_var=no
10362
runpath_var='LD_RUN_PATH'
10364
if test "$GCC" = yes; then
10365
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10366
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10368
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10369
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10373
sysv5* | sco3.2v5* | sco5v6*)
10374
# Note: We can NOT use -z defs as we might desire, because we do not
10375
# link with -lc, and that would cause any symbols used from libc to
10376
# always be unresolved, which means just about no library would
10377
# ever link correctly. If we're not using GNU ld we use -z text
10378
# though, which does catch some bad symbols but isn't as heavy-handed
10380
no_undefined_flag='${wl}-z,text'
10381
allow_undefined_flag='${wl}-z,nodefs'
10382
archive_cmds_need_lc=no
10383
hardcode_shlibpath_var=no
10384
hardcode_libdir_flag_spec='${wl}-R,$libdir'
10385
hardcode_libdir_separator=':'
10386
link_all_deplibs=yes
10387
export_dynamic_flag_spec='${wl}-Bexport'
10388
runpath_var='LD_RUN_PATH'
10390
if test "$GCC" = yes; then
10391
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10392
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10394
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10395
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10400
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10401
hardcode_libdir_flag_spec='-L$libdir'
10402
hardcode_shlibpath_var=no
10410
if test x$host_vendor = xsni; then
10412
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10413
export_dynamic_flag_spec='${wl}-Blargedynsym'
10419
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10420
$as_echo "$ld_shlibs" >&6; }
10421
test "$ld_shlibs" = no && can_build_shared=no
10423
with_gnu_ld=$with_gnu_ld
10440
# Do we need to explicitly link libc?
10442
case "x$archive_cmds_need_lc" in
10444
# Assume -lc should be added
10445
archive_cmds_need_lc=yes
10447
if test "$enable_shared" = yes && test "$GCC" = yes; then
10448
case $archive_cmds in
10450
# FIXME: we may have to deal with multi-command sequences.
10453
# Test whether the compiler implicitly links with -lc since on some
10454
# systems, -lgcc has to come before -lc. If gcc already passes -lc
10455
# to ld, don't add -lc before -lgcc.
10456
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10457
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10458
if ${lt_cv_archive_cmds_need_lc+:} false; then :
10459
$as_echo_n "(cached) " >&6
10462
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10464
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10465
(eval $ac_compile) 2>&5
10467
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10468
test $ac_status = 0; } 2>conftest.err; then
10471
libobjs=conftest.$ac_objext
10473
wl=$lt_prog_compiler_wl
10474
pic_flag=$lt_prog_compiler_pic
10480
lt_save_allow_undefined_flag=$allow_undefined_flag
10481
allow_undefined_flag=
10482
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10483
(eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10485
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10486
test $ac_status = 0; }
10488
lt_cv_archive_cmds_need_lc=no
10490
lt_cv_archive_cmds_need_lc=yes
10492
allow_undefined_flag=$lt_save_allow_undefined_flag
10494
cat conftest.err 1>&5
10499
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10500
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10501
archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10664
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10665
$as_echo_n "checking dynamic linker characteristics... " >&6; }
10667
if test "$GCC" = yes; then
10669
darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10670
*) lt_awk_arg="/^libraries:/" ;;
10673
mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10674
*) lt_sed_strip_eq="s,=/,/,g" ;;
10676
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10677
case $lt_search_path_spec in
10679
# if the path contains ";" then we assume it to be the separator
10680
# otherwise default to the standard path separator (i.e. ":") - it is
10681
# assumed that no part of a normal pathname contains ";" but that should
10682
# okay in the real world where ";" in dirpaths is itself problematic.
10683
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10686
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10689
# Ok, now we have the path, separated by spaces, we can step through it
10690
# and add multilib dir if necessary.
10691
lt_tmp_lt_search_path_spec=
10692
lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10693
for lt_sys_path in $lt_search_path_spec; do
10694
if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10695
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10697
test -d "$lt_sys_path" && \
10698
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10701
lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10702
BEGIN {RS=" "; FS="/|\n";} {
10705
for (lt_i = NF; lt_i > 0; lt_i--) {
10706
if ($lt_i != "" && $lt_i != ".") {
10707
if ($lt_i == "..") {
10710
if (lt_count == 0) {
10711
lt_foo="/" $lt_i lt_foo;
10718
if (lt_foo != "") { lt_freq[lt_foo]++; }
10719
if (lt_freq[lt_foo] == 1) { print lt_foo; }
10721
# AWK program above erroneously prepends '/' to C:/dos/paths
10724
mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10725
$SED 's,/\([A-Za-z]:\),\1,g'` ;;
10727
sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10729
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10731
library_names_spec=
10732
libname_spec='lib$name'
10736
postuninstall_cmds=
10740
shlibpath_overrides_runpath=unknown
10742
dynamic_linker="$host_os ld.so"
10743
sys_lib_dlsearch_path_spec="/lib /usr/lib"
10744
need_lib_prefix=unknown
10745
hardcode_into_libs=no
10747
# when you set need_version to no, make sure it does not cause -set_version
10748
# flags to be left without arguments
10749
need_version=unknown
10754
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10755
shlibpath_var=LIBPATH
10757
# AIX 3 has no versioning support, so we append a major version to the name.
10758
soname_spec='${libname}${release}${shared_ext}$major'
10765
hardcode_into_libs=yes
10766
if test "$host_cpu" = ia64; then
10767
# AIX 5 supports IA64
10768
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10769
shlibpath_var=LD_LIBRARY_PATH
10771
# With GCC up to 2.95.x, collect2 would create an import file
10772
# for dependence libraries. The import file would start with
10773
# the line `#! .'. This would cause the generated library to
10774
# depend on `.', always an invalid library. This was fixed in
10775
# development snapshots of GCC prior to 3.0.
10777
aix4 | aix4.[01] | aix4.[01].*)
10778
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10780
echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10783
can_build_shared=no
10787
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10788
# soname into executable. Probably we can add versioning support to
10789
# collect2, so additional links can be useful in future.
10790
if test "$aix_use_runtimelinking" = yes; then
10791
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
10792
# instead of lib<name>.a to let people know that these are not
10793
# typical AIX shared libraries.
10794
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10796
# We preserve .a as extension for shared libraries through AIX4.2
10797
# and later when we are not doing run time linking.
10798
library_names_spec='${libname}${release}.a $libname.a'
10799
soname_spec='${libname}${release}${shared_ext}$major'
10801
shlibpath_var=LIBPATH
10808
# Since July 2007 AmigaOS4 officially supports .so libraries.
10809
# When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10810
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10813
library_names_spec='$libname.ixlibrary $libname.a'
10814
# Create ${libname}_ixlibrary.a entries in /sys/libs.
10815
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'
10821
library_names_spec='${libname}${shared_ext}'
10822
dynamic_linker="$host_os ld.so"
10823
shlibpath_var=LIBRARY_PATH
10829
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10830
soname_spec='${libname}${release}${shared_ext}$major'
10831
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10832
shlibpath_var=LD_LIBRARY_PATH
10833
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10834
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10835
# the default ld.so.conf also contains /usr/contrib/lib and
10836
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10837
# libtool to hard-code these into programs
10840
cygwin* | mingw* | pw32* | cegcc*)
10841
version_type=windows
10846
case $GCC,$cc_basename in
10849
library_names_spec='$libname.dll.a'
10850
# DLL is installed to $(libdir)/../bin by postinstall_cmds
10851
postinstall_cmds='base_file=`basename \${file}`~
10852
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10853
dldir=$destdir/`dirname \$dlpath`~
10854
test -d \$dldir || mkdir -p \$dldir~
10855
$install_prog $dir/$dlname \$dldir/$dlname~
10856
chmod a+x \$dldir/$dlname~
10857
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10858
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10860
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10861
dlpath=$dir/\$dldll~
10863
shlibpath_overrides_runpath=yes
10867
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
10868
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10870
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10873
# MinGW DLLs use traditional 'lib' prefix
10874
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10877
# pw32 DLLs use 'pw' prefix rather than 'lib'
10878
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10881
dynamic_linker='Win32 ld.exe'
10886
libname_spec='$name'
10887
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10888
library_names_spec='${libname}.dll.lib'
10892
sys_lib_search_path_spec=
10895
for lt_path in $LIB
10898
# Let DOS variable expansion print the short 8.3 style file name.
10899
lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10900
sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10903
# Convert to MSYS style.
10904
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10907
# Convert to unix form, then to dos form, then back to unix form
10908
# but this time dos style (no spaces!) so that the unix form looks
10909
# like /cygdrive/c/PROGRA~1:/cygdr...
10910
sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10911
sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10912
sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10915
sys_lib_search_path_spec="$LIB"
10916
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10917
# It is most probably a Windows format PATH.
10918
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10920
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10922
# FIXME: find the short name or the path components, as spaces are
10923
# common. (e.g. "Program Files" -> "PROGRA~1")
10927
# DLL is installed to $(libdir)/../bin by postinstall_cmds
10928
postinstall_cmds='base_file=`basename \${file}`~
10929
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10930
dldir=$destdir/`dirname \$dlpath`~
10931
test -d \$dldir || mkdir -p \$dldir~
10932
$install_prog $dir/$dlname \$dldir/$dlname'
10933
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10934
dlpath=$dir/\$dldll~
10936
shlibpath_overrides_runpath=yes
10937
dynamic_linker='Win32 link.exe'
10941
# Assume MSVC wrapper
10942
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10943
dynamic_linker='Win32 ld.exe'
10946
# FIXME: first we should search . and the directory the executable is in
10950
darwin* | rhapsody*)
10951
dynamic_linker="$host_os dyld"
10952
version_type=darwin
10955
library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10956
soname_spec='${libname}${release}${major}$shared_ext'
10957
shlibpath_overrides_runpath=yes
10958
shlibpath_var=DYLD_LIBRARY_PATH
10959
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10961
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10962
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10969
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10970
soname_spec='${libname}${release}${shared_ext}$major'
10971
shlibpath_var=LD_LIBRARY_PATH
10978
freebsd* | dragonfly*)
10979
# DragonFly does not have aout. When/if they implement a new
10980
# versioning mechanism, adjust this.
10981
if test -x /usr/bin/objformat; then
10982
objformat=`/usr/bin/objformat`
10985
freebsd[123]*) objformat=aout ;;
10986
*) objformat=elf ;;
10989
version_type=freebsd-$objformat
10990
case $version_type in
10992
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10997
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11001
shlibpath_var=LD_LIBRARY_PATH
11004
shlibpath_overrides_runpath=yes
11006
freebsd3.[01]* | freebsdelf3.[01]*)
11007
shlibpath_overrides_runpath=yes
11008
hardcode_into_libs=yes
11010
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11011
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11012
shlibpath_overrides_runpath=no
11013
hardcode_into_libs=yes
11015
*) # from 4.6 on, and DragonFly
11016
shlibpath_overrides_runpath=yes
11017
hardcode_into_libs=yes
11026
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11027
soname_spec='${libname}${release}${shared_ext}$major'
11028
shlibpath_var=LD_LIBRARY_PATH
11029
hardcode_into_libs=yes
11036
dynamic_linker="$host_os runtime_loader"
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=LIBRARY_PATH
11040
shlibpath_overrides_runpath=yes
11041
sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11042
hardcode_into_libs=yes
11045
hpux9* | hpux10* | hpux11*)
11046
# Give a soname corresponding to the major version so that dld.sl refuses to
11047
# link against other versions.
11054
hardcode_into_libs=yes
11055
dynamic_linker="$host_os dld.so"
11056
shlibpath_var=LD_LIBRARY_PATH
11057
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11058
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11059
soname_spec='${libname}${release}${shared_ext}$major'
11060
if test "X$HPUX_IA64_MODE" = X32; then
11061
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11063
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11065
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11069
hardcode_into_libs=yes
11070
dynamic_linker="$host_os dld.sl"
11071
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11072
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11073
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11074
soname_spec='${libname}${release}${shared_ext}$major'
11075
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11076
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11080
dynamic_linker="$host_os dld.sl"
11081
shlibpath_var=SHLIB_PATH
11082
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11083
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11084
soname_spec='${libname}${release}${shared_ext}$major'
11087
# HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11088
postinstall_cmds='chmod 555 $lib'
11089
# or fails outright, so override atomically:
11090
install_override_mode=555
11097
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11098
soname_spec='${libname}${release}${shared_ext}$major'
11099
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11100
shlibpath_var=LD_LIBRARY_PATH
11101
shlibpath_overrides_runpath=no
11102
hardcode_into_libs=yes
11105
irix5* | irix6* | nonstopux*)
11107
nonstopux*) version_type=nonstopux ;;
11109
if test "$lt_cv_prog_gnu_ld" = yes; then
11117
soname_spec='${libname}${release}${shared_ext}$major'
11118
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11120
irix5* | nonstopux*)
11121
libsuff= shlibsuff=
11124
case $LD in # libtool.m4 will add one of these switches to LD
11125
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11126
libsuff= shlibsuff= libmagic=32-bit;;
11127
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11128
libsuff=32 shlibsuff=N32 libmagic=N32;;
11129
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11130
libsuff=64 shlibsuff=64 libmagic=64-bit;;
11131
*) libsuff= shlibsuff= libmagic=never-match;;
11135
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11136
shlibpath_overrides_runpath=no
11137
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11138
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11139
hardcode_into_libs=yes
11142
# No shared lib support for Linux oldld, aout, or coff.
11143
linux*oldld* | linux*aout* | linux*coff*)
11147
# This must be Linux ELF.
11148
linux* | k*bsd*-gnu | kopensolaris*-gnu)
11152
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11153
soname_spec='${libname}${release}${shared_ext}$major'
11154
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11155
shlibpath_var=LD_LIBRARY_PATH
11156
shlibpath_overrides_runpath=no
11158
# Some binutils ld are patched to set DT_RUNPATH
11159
if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11160
$as_echo_n "(cached) " >&6
11162
lt_cv_shlibpath_overrides_runpath=no
11163
save_LDFLAGS=$LDFLAGS
11164
save_libdir=$libdir
11165
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11166
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11167
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11168
/* end confdefs.h. */
11178
if ac_fn_c_try_link "$LINENO"; then :
11179
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11180
lt_cv_shlibpath_overrides_runpath=yes
11183
rm -f core conftest.err conftest.$ac_objext \
11184
conftest$ac_exeext conftest.$ac_ext
11185
LDFLAGS=$save_LDFLAGS
11186
libdir=$save_libdir
11190
shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11192
# This implies no fast_install, which is unacceptable.
11193
# Some rework will be needed to allow for fast_install
11194
# before this can be enabled.
11195
hardcode_into_libs=yes
11197
# Add ABI-specific directories to the system library path.
11198
sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
11200
# Append ld.so.conf contents to the search path
11201
if test -f /etc/ld.so.conf; then
11202
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' ' '`
11203
sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
11207
# We used to test for /lib/ld.so.1 and disable shared libraries on
11208
# powerpc, because MkLinux only supported shared libraries with the
11209
# GNU dynamic linker. Since this was broken with cross compilers,
11210
# most powerpc-linux boxes support dynamic linking these days and
11211
# people can always --disable-shared, the test was removed, and we
11212
# assume the GNU/Linux dynamic linker is in use.
11213
dynamic_linker='GNU/Linux ld.so'
11220
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11221
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11222
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11223
dynamic_linker='NetBSD (a.out) ld.so'
11225
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11226
soname_spec='${libname}${release}${shared_ext}$major'
11227
dynamic_linker='NetBSD ld.elf_so'
11229
shlibpath_var=LD_LIBRARY_PATH
11230
shlibpath_overrides_runpath=yes
11231
hardcode_into_libs=yes
11236
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11237
shlibpath_var=LD_LIBRARY_PATH
11238
shlibpath_overrides_runpath=yes
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
shlibpath_var=LD_LIBRARY_PATH
11248
shlibpath_overrides_runpath=no
11249
hardcode_into_libs=yes
11250
dynamic_linker='ldqnx.so'
11255
sys_lib_dlsearch_path_spec="/usr/lib"
11257
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11259
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11260
*) need_version=no ;;
11262
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11263
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11264
shlibpath_var=LD_LIBRARY_PATH
11265
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11267
openbsd2.[89] | openbsd2.[89].*)
11268
shlibpath_overrides_runpath=no
11271
shlibpath_overrides_runpath=yes
11275
shlibpath_overrides_runpath=yes
11280
libname_spec='$name'
11283
library_names_spec='$libname${shared_ext} $libname.a'
11284
dynamic_linker='OS/2 ld.exe'
11285
shlibpath_var=LIBPATH
11288
osf3* | osf4* | osf5*)
11292
soname_spec='${libname}${release}${shared_ext}$major'
11293
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11294
shlibpath_var=LD_LIBRARY_PATH
11295
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11296
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11307
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11308
soname_spec='${libname}${release}${shared_ext}$major'
11309
shlibpath_var=LD_LIBRARY_PATH
11310
shlibpath_overrides_runpath=yes
11311
hardcode_into_libs=yes
11312
# ldd complains unless libraries are executable
11313
postinstall_cmds='chmod +x $lib'
11318
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11319
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11320
shlibpath_var=LD_LIBRARY_PATH
11321
shlibpath_overrides_runpath=yes
11322
if test "$with_gnu_ld" = yes; then
11330
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11331
soname_spec='${libname}${release}${shared_ext}$major'
11332
shlibpath_var=LD_LIBRARY_PATH
11333
case $host_vendor in
11335
shlibpath_overrides_runpath=no
11337
runpath_var=LD_RUN_PATH
11345
shlibpath_overrides_runpath=no
11346
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11352
if test -d /usr/nec ;then
11354
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11355
soname_spec='$libname${shared_ext}.$major'
11356
shlibpath_var=LD_LIBRARY_PATH
11360
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11361
version_type=freebsd-elf
11364
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11365
soname_spec='${libname}${release}${shared_ext}$major'
11366
shlibpath_var=LD_LIBRARY_PATH
11367
shlibpath_overrides_runpath=yes
11368
hardcode_into_libs=yes
11369
if test "$with_gnu_ld" = yes; then
11370
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11372
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11375
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11379
sys_lib_dlsearch_path_spec='/usr/lib'
11383
# TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11387
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11388
shlibpath_var=LD_LIBRARY_PATH
11389
shlibpath_overrides_runpath=no
11390
hardcode_into_libs=yes
11395
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11396
soname_spec='${libname}${release}${shared_ext}$major'
11397
shlibpath_var=LD_LIBRARY_PATH
11404
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11405
$as_echo "$dynamic_linker" >&6; }
11406
test "$dynamic_linker" = no && can_build_shared=no
11408
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11409
if test "$GCC" = yes; then
11410
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11413
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11414
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11416
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11417
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11511
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11512
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11514
if test -n "$hardcode_libdir_flag_spec" ||
11515
test -n "$runpath_var" ||
11516
test "X$hardcode_automatic" = "Xyes" ; then
11518
# We can hardcode non-existent directories.
11519
if test "$hardcode_direct" != no &&
11520
# If the only mechanism to avoid hardcoding is shlibpath_var, we
11521
# have to relink, otherwise we might link with an installed library
11522
# when we should be linking with a yet-to-be-installed one
11523
## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11524
test "$hardcode_minus_L" != no; then
11525
# Linking always hardcodes the temporary library directory.
11526
hardcode_action=relink
11528
# We can link without hardcoding, and we can hardcode nonexisting dirs.
11529
hardcode_action=immediate
11532
# We cannot hardcode anything, or else we can only hardcode existing
11534
hardcode_action=unsupported
11536
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11537
$as_echo "$hardcode_action" >&6; }
11539
if test "$hardcode_action" = relink ||
11540
test "$inherit_rpath" = yes; then
11541
# Fast installation is not supported
11542
enable_fast_install=no
11543
elif test "$shlibpath_overrides_runpath" = yes ||
11544
test "$enable_shared" = no; then
11545
# Fast installation is not necessary
11546
enable_fast_install=needless
11554
if test "x$enable_dlopen" != xyes; then
11555
enable_dlopen=unknown
11556
enable_dlopen_self=unknown
11557
enable_dlopen_self_static=unknown
11564
lt_cv_dlopen="load_add_on"
11566
lt_cv_dlopen_self=yes
11569
mingw* | pw32* | cegcc*)
11570
lt_cv_dlopen="LoadLibrary"
11575
lt_cv_dlopen="dlopen"
11580
# if libdl is installed we need to link against it
11581
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11582
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11583
if ${ac_cv_lib_dl_dlopen+:} false; then :
11584
$as_echo_n "(cached) " >&6
11586
ac_check_lib_save_LIBS=$LIBS
11588
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11589
/* end confdefs.h. */
11591
/* Override any GCC internal prototype to avoid an error.
11592
Use char because int might match the return type of a GCC
11593
builtin and then its argument prototype would still apply. */
11606
if ac_fn_c_try_link "$LINENO"; then :
11607
ac_cv_lib_dl_dlopen=yes
11609
ac_cv_lib_dl_dlopen=no
11611
rm -f core conftest.err conftest.$ac_objext \
11612
conftest$ac_exeext conftest.$ac_ext
11613
LIBS=$ac_check_lib_save_LIBS
11615
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11616
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11617
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11618
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11621
lt_cv_dlopen="dyld"
11623
lt_cv_dlopen_self=yes
11630
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11631
if test "x$ac_cv_func_shl_load" = xyes; then :
11632
lt_cv_dlopen="shl_load"
11634
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11635
$as_echo_n "checking for shl_load in -ldld... " >&6; }
11636
if ${ac_cv_lib_dld_shl_load+:} false; then :
11637
$as_echo_n "(cached) " >&6
11639
ac_check_lib_save_LIBS=$LIBS
11641
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11642
/* end confdefs.h. */
11644
/* Override any GCC internal prototype to avoid an error.
11645
Use char because int might match the return type of a GCC
11646
builtin and then its argument prototype would still apply. */
11654
return shl_load ();
11659
if ac_fn_c_try_link "$LINENO"; then :
11660
ac_cv_lib_dld_shl_load=yes
11662
ac_cv_lib_dld_shl_load=no
11664
rm -f core conftest.err conftest.$ac_objext \
11665
conftest$ac_exeext conftest.$ac_ext
11666
LIBS=$ac_check_lib_save_LIBS
11668
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11669
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11670
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11671
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11673
ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11674
if test "x$ac_cv_func_dlopen" = xyes; then :
11675
lt_cv_dlopen="dlopen"
11677
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11678
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11679
if ${ac_cv_lib_dl_dlopen+:} false; then :
11680
$as_echo_n "(cached) " >&6
11682
ac_check_lib_save_LIBS=$LIBS
11684
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11685
/* end confdefs.h. */
11687
/* Override any GCC internal prototype to avoid an error.
11688
Use char because int might match the return type of a GCC
11689
builtin and then its argument prototype would still apply. */
11702
if ac_fn_c_try_link "$LINENO"; then :
11703
ac_cv_lib_dl_dlopen=yes
11705
ac_cv_lib_dl_dlopen=no
11707
rm -f core conftest.err conftest.$ac_objext \
11708
conftest$ac_exeext conftest.$ac_ext
11709
LIBS=$ac_check_lib_save_LIBS
11711
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11712
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11713
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11714
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11716
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11717
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11718
if ${ac_cv_lib_svld_dlopen+:} false; then :
11719
$as_echo_n "(cached) " >&6
11721
ac_check_lib_save_LIBS=$LIBS
11722
LIBS="-lsvld $LIBS"
11723
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11724
/* end confdefs.h. */
11726
/* Override any GCC internal prototype to avoid an error.
11727
Use char because int might match the return type of a GCC
11728
builtin and then its argument prototype would still apply. */
11741
if ac_fn_c_try_link "$LINENO"; then :
11742
ac_cv_lib_svld_dlopen=yes
11744
ac_cv_lib_svld_dlopen=no
11746
rm -f core conftest.err conftest.$ac_objext \
11747
conftest$ac_exeext conftest.$ac_ext
11748
LIBS=$ac_check_lib_save_LIBS
11750
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11751
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11752
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11753
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11755
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11756
$as_echo_n "checking for dld_link in -ldld... " >&6; }
11757
if ${ac_cv_lib_dld_dld_link+:} false; then :
11758
$as_echo_n "(cached) " >&6
11760
ac_check_lib_save_LIBS=$LIBS
11762
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11763
/* end confdefs.h. */
11765
/* Override any GCC internal prototype to avoid an error.
11766
Use char because int might match the return type of a GCC
11767
builtin and then its argument prototype would still apply. */
11775
return dld_link ();
11780
if ac_fn_c_try_link "$LINENO"; then :
11781
ac_cv_lib_dld_dld_link=yes
11783
ac_cv_lib_dld_dld_link=no
11785
rm -f core conftest.err conftest.$ac_objext \
11786
conftest$ac_exeext conftest.$ac_ext
11787
LIBS=$ac_check_lib_save_LIBS
11789
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11790
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11791
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11792
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11813
if test "x$lt_cv_dlopen" != xno; then
11819
case $lt_cv_dlopen in
11821
save_CPPFLAGS="$CPPFLAGS"
11822
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11824
save_LDFLAGS="$LDFLAGS"
11825
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11828
LIBS="$lt_cv_dlopen_libs $LIBS"
11830
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11831
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11832
if ${lt_cv_dlopen_self+:} false; then :
11833
$as_echo_n "(cached) " >&6
11835
if test "$cross_compiling" = yes; then :
11836
lt_cv_dlopen_self=cross
11838
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11839
lt_status=$lt_dlunknown
11840
cat > conftest.$ac_ext <<_LT_EOF
11841
#line $LINENO "configure"
11842
#include "confdefs.h"
11851
# define LT_DLGLOBAL RTLD_GLOBAL
11854
# define LT_DLGLOBAL DL_GLOBAL
11856
# define LT_DLGLOBAL 0
11860
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11861
find out it does not work in some platform. */
11862
#ifndef LT_DLLAZY_OR_NOW
11864
# define LT_DLLAZY_OR_NOW RTLD_LAZY
11867
# define LT_DLLAZY_OR_NOW DL_LAZY
11870
# define LT_DLLAZY_OR_NOW RTLD_NOW
11873
# define LT_DLLAZY_OR_NOW DL_NOW
11875
# define LT_DLLAZY_OR_NOW 0
11882
/* When -fvisbility=hidden is used, assume the code has been annotated
11883
correspondingly for the symbols needed. */
11884
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11885
int fnord () __attribute__((visibility("default")));
11888
int fnord () { return 42; }
11891
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11892
int status = $lt_dlunknown;
11896
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11899
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11900
else puts (dlerror ());
11902
/* dlclose (self); */
11910
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11911
(eval $ac_link) 2>&5
11913
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11914
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11915
(./conftest; exit; ) >&5 2>/dev/null
11917
case x$lt_status in
11918
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11919
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11920
x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11923
# compilation failed
11924
lt_cv_dlopen_self=no
11931
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11932
$as_echo "$lt_cv_dlopen_self" >&6; }
11934
if test "x$lt_cv_dlopen_self" = xyes; then
11935
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11936
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11937
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11938
if ${lt_cv_dlopen_self_static+:} false; then :
11939
$as_echo_n "(cached) " >&6
11941
if test "$cross_compiling" = yes; then :
11942
lt_cv_dlopen_self_static=cross
11944
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11945
lt_status=$lt_dlunknown
11946
cat > conftest.$ac_ext <<_LT_EOF
11947
#line $LINENO "configure"
11948
#include "confdefs.h"
11957
# define LT_DLGLOBAL RTLD_GLOBAL
11960
# define LT_DLGLOBAL DL_GLOBAL
11962
# define LT_DLGLOBAL 0
11966
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11967
find out it does not work in some platform. */
11968
#ifndef LT_DLLAZY_OR_NOW
11970
# define LT_DLLAZY_OR_NOW RTLD_LAZY
11973
# define LT_DLLAZY_OR_NOW DL_LAZY
11976
# define LT_DLLAZY_OR_NOW RTLD_NOW
11979
# define LT_DLLAZY_OR_NOW DL_NOW
11981
# define LT_DLLAZY_OR_NOW 0
11988
/* When -fvisbility=hidden is used, assume the code has been annotated
11989
correspondingly for the symbols needed. */
11990
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11991
int fnord () __attribute__((visibility("default")));
11994
int fnord () { return 42; }
11997
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11998
int status = $lt_dlunknown;
12002
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12005
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12006
else puts (dlerror ());
12008
/* dlclose (self); */
12016
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12017
(eval $ac_link) 2>&5
12019
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12020
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12021
(./conftest; exit; ) >&5 2>/dev/null
12023
case x$lt_status in
12024
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12025
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12026
x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12029
# compilation failed
12030
lt_cv_dlopen_self_static=no
12037
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12038
$as_echo "$lt_cv_dlopen_self_static" >&6; }
12041
CPPFLAGS="$save_CPPFLAGS"
12042
LDFLAGS="$save_LDFLAGS"
12047
case $lt_cv_dlopen_self in
12048
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12049
*) enable_dlopen_self=unknown ;;
12052
case $lt_cv_dlopen_self_static in
12053
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12054
*) enable_dlopen_self_static=unknown ;;
12076
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12077
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
12078
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12079
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12080
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12081
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12082
$as_echo "yes" >&6; }
12084
# FIXME - insert some real tests, host_os isn't really good enough
12087
if test -n "$STRIP" ; then
12088
striplib="$STRIP -x"
12089
old_striplib="$STRIP -S"
12090
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12091
$as_echo "yes" >&6; }
12093
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12094
$as_echo "no" >&6; }
12098
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12099
$as_echo "no" >&6; }
12115
# Report which library types will actually be built
12116
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12117
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
12118
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12119
$as_echo "$can_build_shared" >&6; }
12121
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12122
$as_echo_n "checking whether to build shared libraries... " >&6; }
12123
test "$can_build_shared" = "no" && enable_shared=no
12125
# On AIX, shared libraries and static libraries use the same namespace, and
12126
# are all built from PIC.
12129
test "$enable_shared" = yes && enable_static=no
12130
if test -n "$RANLIB"; then
12131
archive_cmds="$archive_cmds~\$RANLIB \$lib"
12132
postinstall_cmds='$RANLIB $lib'
12137
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12138
test "$enable_shared" = yes && enable_static=no
12142
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12143
$as_echo "$enable_shared" >&6; }
12145
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12146
$as_echo_n "checking whether to build static libraries... " >&6; }
12147
# Make sure either enable_shared or enable_static is yes.
12148
test "$enable_shared" = yes || enable_static=yes
12149
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12150
$as_echo "$enable_static" >&6; }
12157
ac_cpp='$CPP $CPPFLAGS'
12158
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12159
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12160
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12176
ac_config_commands="$ac_config_commands libtool"
12181
# Only expand once:
12185
CFLAGS="${CFLAGS} -Wall"
12186
CFLAGS+=" -DGSEAL_ENABLE"
12191
DISABLE_DEPRECATED=""
12192
if test $USE_MAINTAINER_MODE = yes; then
12193
DOMAINS="G ATK PANGO GDK GDK_PIXBUF GTK GCONF BONOBO BONOBO_UI GNOME LIBGLADE VTE GNOME_VFS WNCK LIBSOUP"
12194
for DOMAIN in $DOMAINS; do
12195
DISABLE_DEPRECATED="$DISABLE_DEPRECATED -D${DOMAIN}_DISABLE_DEPRECATED -D${DOMAIN}_DISABLE_SINGLE_INCLUDES"
12203
# Check whether --enable-compile-warnings was given.
12204
if test "${enable_compile_warnings+set}" = set; then :
12205
enableval=$enable_compile_warnings;
12207
enable_compile_warnings="maximum"
12212
if test "x$GCC" != xyes; then
12213
enable_compile_warnings=no
12217
realsave_CFLAGS="$CFLAGS"
12219
case "$enable_compile_warnings" in
12224
warning_flags="-Wall"
12227
warning_flags="-Wall -Wmissing-prototypes"
12230
warning_flags="-Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith"
12231
CFLAGS="$warning_flags $CFLAGS"
12232
for option in -Wno-sign-compare; do
12233
SAVE_CFLAGS="$CFLAGS"
12234
CFLAGS="$CFLAGS $option"
12235
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands $option" >&5
12236
$as_echo_n "checking whether gcc understands $option... " >&6; }
12237
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12238
/* end confdefs.h. */
12248
if ac_fn_c_try_compile "$LINENO"; then :
12253
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12254
CFLAGS="$SAVE_CFLAGS"
12255
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_option" >&5
12256
$as_echo "$has_option" >&6; }
12257
if test $has_option = yes; then
12258
warning_flags="$warning_flags $option"
12264
if test "$enable_compile_warnings" = "error" ; then
12265
warning_flags="$warning_flags -Werror"
12269
as_fn_error $? "Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" "$LINENO" 5
12272
CFLAGS="$realsave_CFLAGS"
12273
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5
12274
$as_echo_n "checking what warning flags to pass to the C compiler... " >&6; }
12275
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $warning_flags" >&5
12276
$as_echo "$warning_flags" >&6; }
12278
# Check whether --enable-iso-c was given.
12279
if test "${enable_iso_c+set}" = set; then :
12280
enableval=$enable_iso_c;
12286
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking what language compliance flags to pass to the C compiler" >&5
12287
$as_echo_n "checking what language compliance flags to pass to the C compiler... " >&6; }
12289
if test "x$enable_iso_c" != "xno"; then
12290
if test "x$GCC" = "xyes"; then
12291
case " $CFLAGS " in
12292
*\ \ -ansi\ \ *) ;;
12293
*) complCFLAGS="$complCFLAGS -ansi" ;;
12295
case " $CFLAGS " in
12296
*\ \ -pedantic\ \ *) ;;
12297
*) complCFLAGS="$complCFLAGS -pedantic" ;;
12301
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $complCFLAGS" >&5
12302
$as_echo "$complCFLAGS" >&6; }
12304
WARN_CFLAGS="$warning_flags $complCFLAGS"
12308
#*******************************************************************************
12310
#*******************************************************************************
12311
# Before making a release, the CHEESE_LT_VERSION string should be modified.
12312
# The string is of the form C:R:A.
12313
# - If interfaces have been changed or added, but binary compatibility has
12314
# been preserved, change to C+1:0:A+1
12315
# - If binary compatibility has been broken (eg removed or changed interfaces)
12316
# change to C+1:0:0
12317
# - If the interface is the same as the previous version, change to C:R+1:A
12318
LIBCHEESE_LT_VERSION=2:4:1
12319
LIBCHEESE_GTK_LT_VERSION=20:6:0
12323
#*******************************************************************************
12325
#*******************************************************************************
12326
# This macro expands DIR and assigns it to RET.
12327
# If DIR is NONE, then it's replaced by DEFAULT.
12328
# Based on AC_DEFINE_DIR
12331
# FULL_LIBEXECDIR is used for X-GNOME-Bugzilla-ExtraInfoScript expansion
12332
# in data/cheese.desktop.in.in
12334
test "x$prefix" = xNONE && prefix="$ac_default_prefix"
12335
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12336
ac_expand=$libexecdir
12337
test "x$ac_expand" = xNONE && ac_expand="$NONE"
12338
ac_expand=`eval echo $ac_expand`
12339
FULL_LIBEXECDIR=`eval echo $ac_expand`
12343
#*******************************************************************************
12344
# Internationalization
12345
#*******************************************************************************
12346
GETTEXT_PACKAGE=cheese
12349
cat >>confdefs.h <<_ACEOF
12350
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
12355
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
12356
$as_echo_n "checking whether NLS is requested... " >&6; }
12357
# Check whether --enable-nls was given.
12358
if test "${enable_nls+set}" = set; then :
12359
enableval=$enable_nls; USE_NLS=$enableval
12364
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
12365
$as_echo "$USE_NLS" >&6; }
12370
case "$am__api_version" in
12372
as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
12378
if test -n "0.40.0"; then
12379
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.40.0" >&5
12380
$as_echo_n "checking for intltool >= 0.40.0... " >&6; }
12382
INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.40.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
12383
INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
12384
INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
12386
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
12387
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
12388
test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
12389
as_fn_error $? "Your intltool is too old. You need intltool 0.40.0 or later." "$LINENO" 5
12392
# Extract the first word of "intltool-update", so it can be a program name with args.
12393
set dummy intltool-update; ac_word=$2
12394
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12395
$as_echo_n "checking for $ac_word... " >&6; }
12396
if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
12397
$as_echo_n "(cached) " >&6
12399
case $INTLTOOL_UPDATE in
12401
ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
12404
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12405
for as_dir in $PATH
12408
test -z "$as_dir" && as_dir=.
12409
for ac_exec_ext in '' $ac_executable_extensions; do
12410
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12411
ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
12412
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12422
INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
12423
if test -n "$INTLTOOL_UPDATE"; then
12424
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
12425
$as_echo "$INTLTOOL_UPDATE" >&6; }
12427
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12428
$as_echo "no" >&6; }
12432
# Extract the first word of "intltool-merge", so it can be a program name with args.
12433
set dummy intltool-merge; ac_word=$2
12434
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12435
$as_echo_n "checking for $ac_word... " >&6; }
12436
if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
12437
$as_echo_n "(cached) " >&6
12439
case $INTLTOOL_MERGE in
12441
ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
12444
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12445
for as_dir in $PATH
12448
test -z "$as_dir" && as_dir=.
12449
for ac_exec_ext in '' $ac_executable_extensions; do
12450
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12451
ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
12452
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12462
INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
12463
if test -n "$INTLTOOL_MERGE"; then
12464
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
12465
$as_echo "$INTLTOOL_MERGE" >&6; }
12467
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12468
$as_echo "no" >&6; }
12472
# Extract the first word of "intltool-extract", so it can be a program name with args.
12473
set dummy intltool-extract; ac_word=$2
12474
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12475
$as_echo_n "checking for $ac_word... " >&6; }
12476
if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
12477
$as_echo_n "(cached) " >&6
12479
case $INTLTOOL_EXTRACT in
12481
ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
12484
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12485
for as_dir in $PATH
12488
test -z "$as_dir" && as_dir=.
12489
for ac_exec_ext in '' $ac_executable_extensions; do
12490
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12491
ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
12492
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12502
INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
12503
if test -n "$INTLTOOL_EXTRACT"; then
12504
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
12505
$as_echo "$INTLTOOL_EXTRACT" >&6; }
12507
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12508
$as_echo "no" >&6; }
12512
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
12513
as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
12516
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 $< $@'
12517
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 $< $@'
12518
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 $< $@'
12519
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 $< $@'
12520
INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
12521
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 $< $@'
12522
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 $< $@'
12523
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 $< $@'
12524
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 $< $@'
12525
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 $< $@'
12526
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 $< $@'
12527
INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
12528
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 $< $@'
12529
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 $< $@'
12530
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 $< $@'
12531
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 $< $@'
12532
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 $< $@'
12533
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 $< $@'
12534
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 $< $@'
12632
# Check the gettext tools to make sure they are GNU
12633
# Extract the first word of "xgettext", so it can be a program name with args.
12634
set dummy xgettext; ac_word=$2
12635
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12636
$as_echo_n "checking for $ac_word... " >&6; }
12637
if ${ac_cv_path_XGETTEXT+:} false; then :
12638
$as_echo_n "(cached) " >&6
12642
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
12645
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12646
for as_dir in $PATH
12649
test -z "$as_dir" && as_dir=.
12650
for ac_exec_ext in '' $ac_executable_extensions; do
12651
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12652
ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
12653
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12663
XGETTEXT=$ac_cv_path_XGETTEXT
12664
if test -n "$XGETTEXT"; then
12665
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
12666
$as_echo "$XGETTEXT" >&6; }
12668
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12669
$as_echo "no" >&6; }
12673
# Extract the first word of "msgmerge", so it can be a program name with args.
12674
set dummy msgmerge; ac_word=$2
12675
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12676
$as_echo_n "checking for $ac_word... " >&6; }
12677
if ${ac_cv_path_MSGMERGE+:} false; then :
12678
$as_echo_n "(cached) " >&6
12682
ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
12685
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12686
for as_dir in $PATH
12689
test -z "$as_dir" && as_dir=.
12690
for ac_exec_ext in '' $ac_executable_extensions; do
12691
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12692
ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
12693
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12703
MSGMERGE=$ac_cv_path_MSGMERGE
12704
if test -n "$MSGMERGE"; then
12705
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
12706
$as_echo "$MSGMERGE" >&6; }
12708
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12709
$as_echo "no" >&6; }
12713
# Extract the first word of "msgfmt", so it can be a program name with args.
12714
set dummy msgfmt; ac_word=$2
12715
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12716
$as_echo_n "checking for $ac_word... " >&6; }
12717
if ${ac_cv_path_MSGFMT+:} false; then :
12718
$as_echo_n "(cached) " >&6
12722
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
12725
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12726
for as_dir in $PATH
12729
test -z "$as_dir" && as_dir=.
12730
for ac_exec_ext in '' $ac_executable_extensions; do
12731
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12732
ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
12733
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12743
MSGFMT=$ac_cv_path_MSGFMT
12744
if test -n "$MSGFMT"; then
12745
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
12746
$as_echo "$MSGFMT" >&6; }
12748
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12749
$as_echo "no" >&6; }
12753
# Extract the first word of "gmsgfmt", so it can be a program name with args.
12754
set dummy gmsgfmt; ac_word=$2
12755
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12756
$as_echo_n "checking for $ac_word... " >&6; }
12757
if ${ac_cv_path_GMSGFMT+:} false; then :
12758
$as_echo_n "(cached) " >&6
12762
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
12765
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12766
for as_dir in $PATH
12769
test -z "$as_dir" && as_dir=.
12770
for ac_exec_ext in '' $ac_executable_extensions; do
12771
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12772
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
12773
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12780
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
12784
GMSGFMT=$ac_cv_path_GMSGFMT
12785
if test -n "$GMSGFMT"; then
12786
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
12787
$as_echo "$GMSGFMT" >&6; }
12789
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12790
$as_echo "no" >&6; }
12794
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
12795
as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
12797
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
12798
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
12799
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
12800
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
12801
as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
12804
# Extract the first word of "perl", so it can be a program name with args.
12805
set dummy perl; ac_word=$2
12806
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12807
$as_echo_n "checking for $ac_word... " >&6; }
12808
if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
12809
$as_echo_n "(cached) " >&6
12811
case $INTLTOOL_PERL in
12813
ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
12816
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12817
for as_dir in $PATH
12820
test -z "$as_dir" && as_dir=.
12821
for ac_exec_ext in '' $ac_executable_extensions; do
12822
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12823
ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
12824
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12834
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
12835
if test -n "$INTLTOOL_PERL"; then
12836
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
12837
$as_echo "$INTLTOOL_PERL" >&6; }
12839
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12840
$as_echo "no" >&6; }
12844
if test -z "$INTLTOOL_PERL"; then
12845
as_fn_error $? "perl not found" "$LINENO" 5
12847
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
12848
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
12849
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
12850
if test $? -ne 0; then
12851
as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
12853
IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
12854
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
12855
$as_echo "$IT_PERL_VERSION" >&6; }
12857
if test "x" != "xno-xml"; then
12858
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
12859
$as_echo_n "checking for XML::Parser... " >&6; }
12860
if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
12861
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
12862
$as_echo "ok" >&6; }
12864
as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
12868
# Substitute ALL_LINGUAS so we can use it in po/Makefile
12871
# Set DATADIRNAME correctly if it is not set yet
12872
# (copied from glib-gettext.m4)
12873
if test -z "$DATADIRNAME"; then
12874
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12875
/* end confdefs.h. */
12880
extern int _nl_msg_cat_cntr;
12881
return _nl_msg_cat_cntr
12886
if ac_fn_c_try_link "$LINENO"; then :
12891
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
12892
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
12904
rm -f core conftest.err conftest.$ac_objext \
12905
conftest$ac_exeext conftest.$ac_ext
12913
#*******************************************************************************
12914
# Check required libraries
12915
#*******************************************************************************
12918
GLIB_REQUIRED=2.28.0
12919
GOBJECT_REQUIRED=2.28.0
12920
GIO_REQUIRED=2.28.0
12921
GTK_REQUIRED=2.99.4
12922
GDK_REQUIRED=2.99.4
12923
LIBGNOMEDESKTOP_REQUIRED=2.91.6
12924
GSTREAMER_REQUIRED=0.10.32
12925
CAIRO_REQUIRED=1.10.0
12926
PANGOCAIRO_REQUIRED=1.28.0
12927
LIBRSVG_REQUIRED=2.32.0
12928
CLUTTER_REQUIRED=1.6.1
12929
CLUTTERGTK_REQUIRED=0.91.8
12930
CLUTTERGST_REQUIRED=1.0.0
12932
LIBCANBERRA_REQUIRED=0.26
12934
#*******************************************************************************
12936
#*******************************************************************************
12945
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12946
if test -n "$ac_tool_prefix"; then
12947
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12948
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12949
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12950
$as_echo_n "checking for $ac_word... " >&6; }
12951
if ${ac_cv_path_PKG_CONFIG+:} false; then :
12952
$as_echo_n "(cached) " >&6
12954
case $PKG_CONFIG in
12956
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12959
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12960
for as_dir in $PATH
12963
test -z "$as_dir" && as_dir=.
12964
for ac_exec_ext in '' $ac_executable_extensions; do
12965
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12966
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12967
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12977
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12978
if test -n "$PKG_CONFIG"; then
12979
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12980
$as_echo "$PKG_CONFIG" >&6; }
12982
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12983
$as_echo "no" >&6; }
12988
if test -z "$ac_cv_path_PKG_CONFIG"; then
12989
ac_pt_PKG_CONFIG=$PKG_CONFIG
12990
# Extract the first word of "pkg-config", so it can be a program name with args.
12991
set dummy pkg-config; ac_word=$2
12992
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12993
$as_echo_n "checking for $ac_word... " >&6; }
12994
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12995
$as_echo_n "(cached) " >&6
12997
case $ac_pt_PKG_CONFIG in
12999
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
13002
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13003
for as_dir in $PATH
13006
test -z "$as_dir" && as_dir=.
13007
for ac_exec_ext in '' $ac_executable_extensions; do
13008
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13009
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13010
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13020
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
13021
if test -n "$ac_pt_PKG_CONFIG"; then
13022
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
13023
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
13025
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13026
$as_echo "no" >&6; }
13029
if test "x$ac_pt_PKG_CONFIG" = x; then
13032
case $cross_compiling:$ac_tool_warned in
13034
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13035
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13036
ac_tool_warned=yes ;;
13038
PKG_CONFIG=$ac_pt_PKG_CONFIG
13041
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
13045
if test -n "$PKG_CONFIG"; then
13046
_pkg_min_version=0.9.0
13047
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
13048
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
13049
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
13050
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13051
$as_echo "yes" >&6; }
13053
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13054
$as_echo "no" >&6; }
13060
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for UDEV" >&5
13061
$as_echo_n "checking for UDEV... " >&6; }
13063
if test -n "$UDEV_CFLAGS"; then
13064
pkg_cv_UDEV_CFLAGS="$UDEV_CFLAGS"
13065
elif test -n "$PKG_CONFIG"; then
13066
if test -n "$PKG_CONFIG" && \
13067
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gudev-1.0\""; } >&5
13068
($PKG_CONFIG --exists --print-errors "gudev-1.0") 2>&5
13070
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13071
test $ac_status = 0; }; then
13072
pkg_cv_UDEV_CFLAGS=`$PKG_CONFIG --cflags "gudev-1.0" 2>/dev/null`
13079
if test -n "$UDEV_LIBS"; then
13080
pkg_cv_UDEV_LIBS="$UDEV_LIBS"
13081
elif test -n "$PKG_CONFIG"; then
13082
if test -n "$PKG_CONFIG" && \
13083
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gudev-1.0\""; } >&5
13084
($PKG_CONFIG --exists --print-errors "gudev-1.0") 2>&5
13086
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13087
test $ac_status = 0; }; then
13088
pkg_cv_UDEV_LIBS=`$PKG_CONFIG --libs "gudev-1.0" 2>/dev/null`
13098
if test $pkg_failed = yes; then
13099
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13100
$as_echo "no" >&6; }
13102
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13103
_pkg_short_errors_supported=yes
13105
_pkg_short_errors_supported=no
13107
if test $_pkg_short_errors_supported = yes; then
13108
UDEV_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gudev-1.0" 2>&1`
13110
UDEV_PKG_ERRORS=`$PKG_CONFIG --print-errors "gudev-1.0" 2>&1`
13112
# Put the nasty error message in config.log where it belongs
13113
echo "$UDEV_PKG_ERRORS" >&5
13116
elif test $pkg_failed = untried; then
13117
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13118
$as_echo "no" >&6; }
13121
UDEV_CFLAGS=$pkg_cv_UDEV_CFLAGS
13122
UDEV_LIBS=$pkg_cv_UDEV_LIBS
13123
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13124
$as_echo "yes" >&6; }
13126
$as_echo "#define HAVE_UDEV 1" >>confdefs.h
13131
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking operating system" >&5
13132
$as_echo_n "checking operating system... " >&6; }
13136
$as_echo "#define OS_LINUX /**/" >>confdefs.h
13139
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Linux" >&5
13140
$as_echo "Linux" >&6; }
13141
if test x$UDEV_PKG = "x" ; then
13142
as_fn_error $? "libgudev is required under Linux and not installed" "$LINENO" 5
13146
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported operating system" >&5
13147
$as_echo "unsupported operating system" >&6; }
13151
ac_fn_c_check_header_mongrel "$LINENO" "sys/videoio.h" "ac_cv_header_sys_videoio_h" "$ac_includes_default"
13152
if test "x$ac_cv_header_sys_videoio_h" = xyes; then :
13154
$as_echo "#define USE_SYS_VIDEOIO_H 1" >>confdefs.h
13158
$as_echo "#define USE_SYS_VIDEOIO_H 0" >>confdefs.h
13165
ac_fn_c_check_header_mongrel "$LINENO" "X11/extensions/XTest.h" "ac_cv_header_X11_extensions_XTest_h" "$ac_includes_default"
13166
if test "x$ac_cv_header_X11_extensions_XTest_h" = xyes; then :
13168
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XTestFakeKeyEvent in -lXtst" >&5
13169
$as_echo_n "checking for XTestFakeKeyEvent in -lXtst... " >&6; }
13170
if ${ac_cv_lib_Xtst_XTestFakeKeyEvent+:} false; then :
13171
$as_echo_n "(cached) " >&6
13173
ac_check_lib_save_LIBS=$LIBS
13174
LIBS="-lXtst $LIBS"
13175
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13176
/* end confdefs.h. */
13178
/* Override any GCC internal prototype to avoid an error.
13179
Use char because int might match the return type of a GCC
13180
builtin and then its argument prototype would still apply. */
13184
char XTestFakeKeyEvent ();
13188
return XTestFakeKeyEvent ();
13193
if ac_fn_c_try_link "$LINENO"; then :
13194
ac_cv_lib_Xtst_XTestFakeKeyEvent=yes
13196
ac_cv_lib_Xtst_XTestFakeKeyEvent=no
13198
rm -f core conftest.err conftest.$ac_objext \
13199
conftest$ac_exeext conftest.$ac_ext
13200
LIBS=$ac_check_lib_save_LIBS
13202
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xtst_XTestFakeKeyEvent" >&5
13203
$as_echo "$ac_cv_lib_Xtst_XTestFakeKeyEvent" >&6; }
13204
if test "x$ac_cv_lib_Xtst_XTestFakeKeyEvent" = xyes; then :
13207
$as_echo "#define HAVE_XTEST 1" >>confdefs.h
13209
XTEST_LIBS="-lX11 -lXtst"
13217
if test "x$HAVE_TEST" = "xyes"; then
13219
HAVE_XTEST_FALSE='#'
13221
HAVE_XTEST_TRUE='#'
13228
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHEESE" >&5
13229
$as_echo_n "checking for CHEESE... " >&6; }
13231
if test -n "$CHEESE_CFLAGS"; then
13232
pkg_cv_CHEESE_CFLAGS="$CHEESE_CFLAGS"
13233
elif test -n "$PKG_CONFIG"; then
13234
if test -n "$PKG_CONFIG" && \
13235
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
13236
glib-2.0 >= \$GLIB_REQUIRED \\
13237
gio-2.0 >= \$GIO_REQUIRED \\
13239
gobject-2.0 >= \$GOBJECT_REQUIRED \\
13241
gstreamer-0.10 >= \$GSTREAMER_REQUIRED \\
13242
gstreamer-plugins-base-0.10 >= \$GSTREAMER_REQUIRED \\
13243
cairo >= \$CAIRO_REQUIRED \\
13244
pangocairo >= \$PANGOCAIRO_REQUIRED \\
13245
clutter-1.0 >= \$CLUTTER_REQUIRED \\
13246
clutter-gst-1.0 >= \$CLUTTERGST_REQUIRED \\
13250
($PKG_CONFIG --exists --print-errors "\
13251
glib-2.0 >= $GLIB_REQUIRED \
13252
gio-2.0 >= $GIO_REQUIRED \
13254
gobject-2.0 >= $GOBJECT_REQUIRED \
13256
gstreamer-0.10 >= $GSTREAMER_REQUIRED \
13257
gstreamer-plugins-base-0.10 >= $GSTREAMER_REQUIRED \
13258
cairo >= $CAIRO_REQUIRED \
13259
pangocairo >= $PANGOCAIRO_REQUIRED \
13260
clutter-1.0 >= $CLUTTER_REQUIRED \
13261
clutter-gst-1.0 >= $CLUTTERGST_REQUIRED \
13266
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13267
test $ac_status = 0; }; then
13268
pkg_cv_CHEESE_CFLAGS=`$PKG_CONFIG --cflags "\
13269
glib-2.0 >= $GLIB_REQUIRED \
13270
gio-2.0 >= $GIO_REQUIRED \
13272
gobject-2.0 >= $GOBJECT_REQUIRED \
13274
gstreamer-0.10 >= $GSTREAMER_REQUIRED \
13275
gstreamer-plugins-base-0.10 >= $GSTREAMER_REQUIRED \
13276
cairo >= $CAIRO_REQUIRED \
13277
pangocairo >= $PANGOCAIRO_REQUIRED \
13278
clutter-1.0 >= $CLUTTER_REQUIRED \
13279
clutter-gst-1.0 >= $CLUTTERGST_REQUIRED \
13289
if test -n "$CHEESE_LIBS"; then
13290
pkg_cv_CHEESE_LIBS="$CHEESE_LIBS"
13291
elif test -n "$PKG_CONFIG"; then
13292
if test -n "$PKG_CONFIG" && \
13293
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
13294
glib-2.0 >= \$GLIB_REQUIRED \\
13295
gio-2.0 >= \$GIO_REQUIRED \\
13297
gobject-2.0 >= \$GOBJECT_REQUIRED \\
13299
gstreamer-0.10 >= \$GSTREAMER_REQUIRED \\
13300
gstreamer-plugins-base-0.10 >= \$GSTREAMER_REQUIRED \\
13301
cairo >= \$CAIRO_REQUIRED \\
13302
pangocairo >= \$PANGOCAIRO_REQUIRED \\
13303
clutter-1.0 >= \$CLUTTER_REQUIRED \\
13304
clutter-gst-1.0 >= \$CLUTTERGST_REQUIRED \\
13308
($PKG_CONFIG --exists --print-errors "\
13309
glib-2.0 >= $GLIB_REQUIRED \
13310
gio-2.0 >= $GIO_REQUIRED \
13312
gobject-2.0 >= $GOBJECT_REQUIRED \
13314
gstreamer-0.10 >= $GSTREAMER_REQUIRED \
13315
gstreamer-plugins-base-0.10 >= $GSTREAMER_REQUIRED \
13316
cairo >= $CAIRO_REQUIRED \
13317
pangocairo >= $PANGOCAIRO_REQUIRED \
13318
clutter-1.0 >= $CLUTTER_REQUIRED \
13319
clutter-gst-1.0 >= $CLUTTERGST_REQUIRED \
13324
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13325
test $ac_status = 0; }; then
13326
pkg_cv_CHEESE_LIBS=`$PKG_CONFIG --libs "\
13327
glib-2.0 >= $GLIB_REQUIRED \
13328
gio-2.0 >= $GIO_REQUIRED \
13330
gobject-2.0 >= $GOBJECT_REQUIRED \
13332
gstreamer-0.10 >= $GSTREAMER_REQUIRED \
13333
gstreamer-plugins-base-0.10 >= $GSTREAMER_REQUIRED \
13334
cairo >= $CAIRO_REQUIRED \
13335
pangocairo >= $PANGOCAIRO_REQUIRED \
13336
clutter-1.0 >= $CLUTTER_REQUIRED \
13337
clutter-gst-1.0 >= $CLUTTERGST_REQUIRED \
13350
if test $pkg_failed = yes; then
13351
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13352
$as_echo "no" >&6; }
13354
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13355
_pkg_short_errors_supported=yes
13357
_pkg_short_errors_supported=no
13359
if test $_pkg_short_errors_supported = yes; then
13360
CHEESE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "\
13361
glib-2.0 >= $GLIB_REQUIRED \
13362
gio-2.0 >= $GIO_REQUIRED \
13364
gobject-2.0 >= $GOBJECT_REQUIRED \
13366
gstreamer-0.10 >= $GSTREAMER_REQUIRED \
13367
gstreamer-plugins-base-0.10 >= $GSTREAMER_REQUIRED \
13368
cairo >= $CAIRO_REQUIRED \
13369
pangocairo >= $PANGOCAIRO_REQUIRED \
13370
clutter-1.0 >= $CLUTTER_REQUIRED \
13371
clutter-gst-1.0 >= $CLUTTERGST_REQUIRED \
13376
CHEESE_PKG_ERRORS=`$PKG_CONFIG --print-errors "\
13377
glib-2.0 >= $GLIB_REQUIRED \
13378
gio-2.0 >= $GIO_REQUIRED \
13380
gobject-2.0 >= $GOBJECT_REQUIRED \
13382
gstreamer-0.10 >= $GSTREAMER_REQUIRED \
13383
gstreamer-plugins-base-0.10 >= $GSTREAMER_REQUIRED \
13384
cairo >= $CAIRO_REQUIRED \
13385
pangocairo >= $PANGOCAIRO_REQUIRED \
13386
clutter-1.0 >= $CLUTTER_REQUIRED \
13387
clutter-gst-1.0 >= $CLUTTERGST_REQUIRED \
13392
# Put the nasty error message in config.log where it belongs
13393
echo "$CHEESE_PKG_ERRORS" >&5
13395
as_fn_error $? "Package requirements (\
13396
glib-2.0 >= $GLIB_REQUIRED \
13397
gio-2.0 >= $GIO_REQUIRED \
13399
gobject-2.0 >= $GOBJECT_REQUIRED \
13401
gstreamer-0.10 >= $GSTREAMER_REQUIRED \
13402
gstreamer-plugins-base-0.10 >= $GSTREAMER_REQUIRED \
13403
cairo >= $CAIRO_REQUIRED \
13404
pangocairo >= $PANGOCAIRO_REQUIRED \
13405
clutter-1.0 >= $CLUTTER_REQUIRED \
13406
clutter-gst-1.0 >= $CLUTTERGST_REQUIRED \
13413
Consider adjusting the PKG_CONFIG_PATH environment variable if you
13414
installed software in a non-standard prefix.
13416
Alternatively, you may set the environment variables CHEESE_CFLAGS
13417
and CHEESE_LIBS to avoid the need to call pkg-config.
13418
See the pkg-config man page for more details." "$LINENO" 5
13420
elif test $pkg_failed = untried; then
13421
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13422
$as_echo "no" >&6; }
13423
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13424
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13425
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13426
is in your PATH or set the PKG_CONFIG environment variable to the full
13427
path to pkg-config.
13429
Alternatively, you may set the environment variables CHEESE_CFLAGS
13430
and CHEESE_LIBS to avoid the need to call pkg-config.
13431
See the pkg-config man page for more details.
13433
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13434
See \`config.log' for more details" "$LINENO" 5; }
13437
CHEESE_CFLAGS=$pkg_cv_CHEESE_CFLAGS
13438
CHEESE_LIBS=$pkg_cv_CHEESE_LIBS
13439
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13440
$as_echo "yes" >&6; }
13445
CHEESE_LIBS="$CHEESE_LIBS -lgstinterfaces-0.10"
13449
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHEESE_GTK" >&5
13450
$as_echo_n "checking for CHEESE_GTK... " >&6; }
13452
if test -n "$CHEESE_GTK_CFLAGS"; then
13453
pkg_cv_CHEESE_GTK_CFLAGS="$CHEESE_GTK_CFLAGS"
13454
elif test -n "$PKG_CONFIG"; then
13455
if test -n "$PKG_CONFIG" && \
13456
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
13457
gio-2.0 >= \$GIO_REQUIRED \\
13458
gtk+-3.0 >= \$GTK_REQUIRED \\
13459
gdk-3.0 >= \$GDK_REQUIRED \\
13460
gnome-desktop-3.0 >= \$LIBGNOMEDESKTOP_REQUIRED \\
13461
librsvg-2.0 >= \$LIBRSVG_REQUIRED \\
13462
clutter-gtk-1.0 >= \$CLUTTERGTK_REQUIRED \\
13463
gee-1.0 >= \$GEE_REQUIRED \\
13464
libcanberra-gtk3 >= \$LIBCANBERRA_REQUIRED \\
13466
gnome-video-effects
13468
($PKG_CONFIG --exists --print-errors "\
13469
gio-2.0 >= $GIO_REQUIRED \
13470
gtk+-3.0 >= $GTK_REQUIRED \
13471
gdk-3.0 >= $GDK_REQUIRED \
13472
gnome-desktop-3.0 >= $LIBGNOMEDESKTOP_REQUIRED \
13473
librsvg-2.0 >= $LIBRSVG_REQUIRED \
13474
clutter-gtk-1.0 >= $CLUTTERGTK_REQUIRED \
13475
gee-1.0 >= $GEE_REQUIRED \
13476
libcanberra-gtk3 >= $LIBCANBERRA_REQUIRED \
13478
gnome-video-effects
13481
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13482
test $ac_status = 0; }; then
13483
pkg_cv_CHEESE_GTK_CFLAGS=`$PKG_CONFIG --cflags "\
13484
gio-2.0 >= $GIO_REQUIRED \
13485
gtk+-3.0 >= $GTK_REQUIRED \
13486
gdk-3.0 >= $GDK_REQUIRED \
13487
gnome-desktop-3.0 >= $LIBGNOMEDESKTOP_REQUIRED \
13488
librsvg-2.0 >= $LIBRSVG_REQUIRED \
13489
clutter-gtk-1.0 >= $CLUTTERGTK_REQUIRED \
13490
gee-1.0 >= $GEE_REQUIRED \
13491
libcanberra-gtk3 >= $LIBCANBERRA_REQUIRED \
13493
gnome-video-effects
13501
if test -n "$CHEESE_GTK_LIBS"; then
13502
pkg_cv_CHEESE_GTK_LIBS="$CHEESE_GTK_LIBS"
13503
elif test -n "$PKG_CONFIG"; then
13504
if test -n "$PKG_CONFIG" && \
13505
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
13506
gio-2.0 >= \$GIO_REQUIRED \\
13507
gtk+-3.0 >= \$GTK_REQUIRED \\
13508
gdk-3.0 >= \$GDK_REQUIRED \\
13509
gnome-desktop-3.0 >= \$LIBGNOMEDESKTOP_REQUIRED \\
13510
librsvg-2.0 >= \$LIBRSVG_REQUIRED \\
13511
clutter-gtk-1.0 >= \$CLUTTERGTK_REQUIRED \\
13512
gee-1.0 >= \$GEE_REQUIRED \\
13513
libcanberra-gtk3 >= \$LIBCANBERRA_REQUIRED \\
13515
gnome-video-effects
13517
($PKG_CONFIG --exists --print-errors "\
13518
gio-2.0 >= $GIO_REQUIRED \
13519
gtk+-3.0 >= $GTK_REQUIRED \
13520
gdk-3.0 >= $GDK_REQUIRED \
13521
gnome-desktop-3.0 >= $LIBGNOMEDESKTOP_REQUIRED \
13522
librsvg-2.0 >= $LIBRSVG_REQUIRED \
13523
clutter-gtk-1.0 >= $CLUTTERGTK_REQUIRED \
13524
gee-1.0 >= $GEE_REQUIRED \
13525
libcanberra-gtk3 >= $LIBCANBERRA_REQUIRED \
13527
gnome-video-effects
13530
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13531
test $ac_status = 0; }; then
13532
pkg_cv_CHEESE_GTK_LIBS=`$PKG_CONFIG --libs "\
13533
gio-2.0 >= $GIO_REQUIRED \
13534
gtk+-3.0 >= $GTK_REQUIRED \
13535
gdk-3.0 >= $GDK_REQUIRED \
13536
gnome-desktop-3.0 >= $LIBGNOMEDESKTOP_REQUIRED \
13537
librsvg-2.0 >= $LIBRSVG_REQUIRED \
13538
clutter-gtk-1.0 >= $CLUTTERGTK_REQUIRED \
13539
gee-1.0 >= $GEE_REQUIRED \
13540
libcanberra-gtk3 >= $LIBCANBERRA_REQUIRED \
13542
gnome-video-effects
13553
if test $pkg_failed = yes; then
13554
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13555
$as_echo "no" >&6; }
13557
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13558
_pkg_short_errors_supported=yes
13560
_pkg_short_errors_supported=no
13562
if test $_pkg_short_errors_supported = yes; then
13563
CHEESE_GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "\
13564
gio-2.0 >= $GIO_REQUIRED \
13565
gtk+-3.0 >= $GTK_REQUIRED \
13566
gdk-3.0 >= $GDK_REQUIRED \
13567
gnome-desktop-3.0 >= $LIBGNOMEDESKTOP_REQUIRED \
13568
librsvg-2.0 >= $LIBRSVG_REQUIRED \
13569
clutter-gtk-1.0 >= $CLUTTERGTK_REQUIRED \
13570
gee-1.0 >= $GEE_REQUIRED \
13571
libcanberra-gtk3 >= $LIBCANBERRA_REQUIRED \
13573
gnome-video-effects
13576
CHEESE_GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors "\
13577
gio-2.0 >= $GIO_REQUIRED \
13578
gtk+-3.0 >= $GTK_REQUIRED \
13579
gdk-3.0 >= $GDK_REQUIRED \
13580
gnome-desktop-3.0 >= $LIBGNOMEDESKTOP_REQUIRED \
13581
librsvg-2.0 >= $LIBRSVG_REQUIRED \
13582
clutter-gtk-1.0 >= $CLUTTERGTK_REQUIRED \
13583
gee-1.0 >= $GEE_REQUIRED \
13584
libcanberra-gtk3 >= $LIBCANBERRA_REQUIRED \
13586
gnome-video-effects
13589
# Put the nasty error message in config.log where it belongs
13590
echo "$CHEESE_GTK_PKG_ERRORS" >&5
13592
as_fn_error $? "Package requirements (\
13593
gio-2.0 >= $GIO_REQUIRED \
13594
gtk+-3.0 >= $GTK_REQUIRED \
13595
gdk-3.0 >= $GDK_REQUIRED \
13596
gnome-desktop-3.0 >= $LIBGNOMEDESKTOP_REQUIRED \
13597
librsvg-2.0 >= $LIBRSVG_REQUIRED \
13598
clutter-gtk-1.0 >= $CLUTTERGTK_REQUIRED \
13599
gee-1.0 >= $GEE_REQUIRED \
13600
libcanberra-gtk3 >= $LIBCANBERRA_REQUIRED \
13602
gnome-video-effects
13605
$CHEESE_GTK_PKG_ERRORS
13607
Consider adjusting the PKG_CONFIG_PATH environment variable if you
13608
installed software in a non-standard prefix.
13610
Alternatively, you may set the environment variables CHEESE_GTK_CFLAGS
13611
and CHEESE_GTK_LIBS to avoid the need to call pkg-config.
13612
See the pkg-config man page for more details." "$LINENO" 5
13614
elif test $pkg_failed = untried; then
13615
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13616
$as_echo "no" >&6; }
13617
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13618
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13619
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13620
is in your PATH or set the PKG_CONFIG environment variable to the full
13621
path to pkg-config.
13623
Alternatively, you may set the environment variables CHEESE_GTK_CFLAGS
13624
and CHEESE_GTK_LIBS to avoid the need to call pkg-config.
13625
See the pkg-config man page for more details.
13627
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13628
See \`config.log' for more details" "$LINENO" 5; }
13631
CHEESE_GTK_CFLAGS=$pkg_cv_CHEESE_GTK_CFLAGS
13632
CHEESE_GTK_LIBS=$pkg_cv_CHEESE_GTK_LIBS
13633
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13634
$as_echo "yes" >&6; }
13640
GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`
13641
GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
13648
# Check whether --enable-introspection was given.
13649
if test "${enable_introspection+set}" = set; then :
13650
enableval=$enable_introspection;
13652
enable_introspection=auto
13656
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5
13657
$as_echo_n "checking for gobject-introspection... " >&6; }
13659
case $enable_introspection in #(
13661
found_introspection="no (disabled, use --enable-introspection to enable)"
13664
if test -n "$PKG_CONFIG" && \
13665
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5
13666
($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5
13668
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13669
test $ac_status = 0; }; then
13672
as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5
13674
if test -n "$PKG_CONFIG" && \
13675
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.6.7\""; } >&5
13676
($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.6.7") 2>&5
13678
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13679
test $ac_status = 0; }; then
13680
found_introspection=yes
13682
as_fn_error $? "You need to have gobject-introspection >= 0.6.7 installed to build cheese" "$LINENO" 5
13686
if test -n "$PKG_CONFIG" && \
13687
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.6.7\""; } >&5
13688
($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.6.7") 2>&5
13690
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13691
test $ac_status = 0; }; then
13692
found_introspection=yes
13694
found_introspection=no
13698
as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5
13701
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5
13702
$as_echo "$found_introspection" >&6; }
13704
INTROSPECTION_SCANNER=
13705
INTROSPECTION_COMPILER=
13706
INTROSPECTION_GENERATE=
13707
INTROSPECTION_GIRDIR=
13708
INTROSPECTION_TYPELIBDIR=
13709
if test "x$found_introspection" = "xyes"; then
13710
INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
13711
INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
13712
INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
13713
INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
13714
INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
13715
INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
13716
INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
13717
INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
13728
if test "x$found_introspection" = "xyes"; then
13729
HAVE_INTROSPECTION_TRUE=
13730
HAVE_INTROSPECTION_FALSE='#'
13732
HAVE_INTROSPECTION_TRUE='#'
13733
HAVE_INTROSPECTION_FALSE=
13739
# API documentation
13743
# Extract the first word of "gtkdoc-check", so it can be a program name with args.
13744
set dummy gtkdoc-check; ac_word=$2
13745
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13746
$as_echo_n "checking for $ac_word... " >&6; }
13747
if ${ac_cv_path_GTKDOC_CHECK+:} false; then :
13748
$as_echo_n "(cached) " >&6
13750
case $GTKDOC_CHECK in
13752
ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
13755
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13756
for as_dir in $PATH
13759
test -z "$as_dir" && as_dir=.
13760
for ac_exec_ext in '' $ac_executable_extensions; do
13761
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13762
ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
13763
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13773
GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
13774
if test -n "$GTKDOC_CHECK"; then
13775
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
13776
$as_echo "$GTKDOC_CHECK" >&6; }
13778
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13779
$as_echo "no" >&6; }
13783
for ac_prog in gtkdoc-rebase
13785
# Extract the first word of "$ac_prog", so it can be a program name with args.
13786
set dummy $ac_prog; ac_word=$2
13787
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13788
$as_echo_n "checking for $ac_word... " >&6; }
13789
if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
13790
$as_echo_n "(cached) " >&6
13792
case $GTKDOC_REBASE in
13794
ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
13797
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13798
for as_dir in $PATH
13801
test -z "$as_dir" && as_dir=.
13802
for ac_exec_ext in '' $ac_executable_extensions; do
13803
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13804
ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
13805
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13815
GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
13816
if test -n "$GTKDOC_REBASE"; then
13817
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
13818
$as_echo "$GTKDOC_REBASE" >&6; }
13820
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13821
$as_echo "no" >&6; }
13825
test -n "$GTKDOC_REBASE" && break
13827
test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
13829
# Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
13830
set dummy gtkdoc-mkpdf; ac_word=$2
13831
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13832
$as_echo_n "checking for $ac_word... " >&6; }
13833
if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
13834
$as_echo_n "(cached) " >&6
13836
case $GTKDOC_MKPDF in
13838
ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
13841
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13842
for as_dir in $PATH
13845
test -z "$as_dir" && as_dir=.
13846
for ac_exec_ext in '' $ac_executable_extensions; do
13847
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13848
ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
13849
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13859
GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
13860
if test -n "$GTKDOC_MKPDF"; then
13861
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
13862
$as_echo "$GTKDOC_MKPDF" >&6; }
13864
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13865
$as_echo "no" >&6; }
13871
# Check whether --with-html-dir was given.
13872
if test "${with_html_dir+set}" = set; then :
13873
withval=$with_html_dir;
13875
with_html_dir='${datadir}/gtk-doc/html'
13878
HTML_DIR="$with_html_dir"
13881
# Check whether --enable-gtk-doc was given.
13882
if test "${enable_gtk_doc+set}" = set; then :
13883
enableval=$enable_gtk_doc;
13889
if test x$enable_gtk_doc = xyes; then
13890
if test -n "$PKG_CONFIG" && \
13891
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.14\""; } >&5
13892
($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.14") 2>&5
13894
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13895
test $ac_status = 0; }; then
13898
as_fn_error $? "You need to have gtk-doc >= 1.14 installed to build $PACKAGE_NAME" "$LINENO" 5
13900
if test "x$PACKAGE_NAME" != "xglib"; then
13903
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
13904
$as_echo_n "checking for GTKDOC_DEPS... " >&6; }
13906
if test -n "$GTKDOC_DEPS_CFLAGS"; then
13907
pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
13908
elif test -n "$PKG_CONFIG"; then
13909
if test -n "$PKG_CONFIG" && \
13910
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0\""; } >&5
13911
($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
13913
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13914
test $ac_status = 0; }; then
13915
pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
13922
if test -n "$GTKDOC_DEPS_LIBS"; then
13923
pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
13924
elif test -n "$PKG_CONFIG"; then
13925
if test -n "$PKG_CONFIG" && \
13926
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0\""; } >&5
13927
($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
13929
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13930
test $ac_status = 0; }; then
13931
pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
13941
if test $pkg_failed = yes; then
13942
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13943
$as_echo "no" >&6; }
13945
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13946
_pkg_short_errors_supported=yes
13948
_pkg_short_errors_supported=no
13950
if test $_pkg_short_errors_supported = yes; then
13951
GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
13953
GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
13955
# Put the nasty error message in config.log where it belongs
13956
echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
13958
as_fn_error $? "Package requirements (glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0) were not met:
13960
$GTKDOC_DEPS_PKG_ERRORS
13962
Consider adjusting the PKG_CONFIG_PATH environment variable if you
13963
installed software in a non-standard prefix.
13965
Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
13966
and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
13967
See the pkg-config man page for more details." "$LINENO" 5
13969
elif test $pkg_failed = untried; then
13970
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13971
$as_echo "no" >&6; }
13972
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13973
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13974
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13975
is in your PATH or set the PKG_CONFIG environment variable to the full
13976
path to pkg-config.
13978
Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
13979
and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
13980
See the pkg-config man page for more details.
13982
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13983
See \`config.log' for more details" "$LINENO" 5; }
13986
GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
13987
GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
13988
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13989
$as_echo "yes" >&6; }
13995
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
13996
$as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
13997
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
13998
$as_echo "$enable_gtk_doc" >&6; }
14000
# Check whether --enable-gtk-doc-html was given.
14001
if test "${enable_gtk_doc_html+set}" = set; then :
14002
enableval=$enable_gtk_doc_html;
14004
enable_gtk_doc_html=yes
14007
# Check whether --enable-gtk-doc-pdf was given.
14008
if test "${enable_gtk_doc_pdf+set}" = set; then :
14009
enableval=$enable_gtk_doc_pdf;
14011
enable_gtk_doc_pdf=no
14015
if test -z "$GTKDOC_MKPDF"; then
14016
enable_gtk_doc_pdf=no
14020
if test x$enable_gtk_doc = xyes; then
14021
ENABLE_GTK_DOC_TRUE=
14022
ENABLE_GTK_DOC_FALSE='#'
14024
ENABLE_GTK_DOC_TRUE='#'
14025
ENABLE_GTK_DOC_FALSE=
14028
if test x$enable_gtk_doc_html = xyes; then
14029
GTK_DOC_BUILD_HTML_TRUE=
14030
GTK_DOC_BUILD_HTML_FALSE='#'
14032
GTK_DOC_BUILD_HTML_TRUE='#'
14033
GTK_DOC_BUILD_HTML_FALSE=
14036
if test x$enable_gtk_doc_pdf = xyes; then
14037
GTK_DOC_BUILD_PDF_TRUE=
14038
GTK_DOC_BUILD_PDF_FALSE='#'
14040
GTK_DOC_BUILD_PDF_TRUE='#'
14041
GTK_DOC_BUILD_PDF_FALSE=
14044
if test -n "$LIBTOOL"; then
14045
GTK_DOC_USE_LIBTOOL_TRUE=
14046
GTK_DOC_USE_LIBTOOL_FALSE='#'
14048
GTK_DOC_USE_LIBTOOL_TRUE='#'
14049
GTK_DOC_USE_LIBTOOL_FALSE=
14052
if test -n "$GTKDOC_REBASE"; then
14053
GTK_DOC_USE_REBASE_TRUE=
14054
GTK_DOC_USE_REBASE_FALSE='#'
14056
GTK_DOC_USE_REBASE_TRUE='#'
14057
GTK_DOC_USE_REBASE_FALSE=
14064
gdu_cv_version_required=0.20
14066
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking gnome-doc-utils >= $gdu_cv_version_required" >&5
14067
$as_echo_n "checking gnome-doc-utils >= $gdu_cv_version_required... " >&6; }
14068
if test -n "$PKG_CONFIG" && \
14069
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-doc-utils >= \$gdu_cv_version_required\""; } >&5
14070
($PKG_CONFIG --exists --print-errors "gnome-doc-utils >= $gdu_cv_version_required") 2>&5
14072
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14073
test $ac_status = 0; }; then
14074
gdu_cv_have_gdu=yes
14079
if test "$gdu_cv_have_gdu" = "yes"; then
14080
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14081
$as_echo "yes" >&6; }
14084
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14085
$as_echo "no" >&6; }
14086
as_fn_error $? "gnome-doc-utils >= $gdu_cv_version_required not found" "$LINENO" 5
14091
# Check whether --with-help-dir was given.
14092
if test "${with_help_dir+set}" = set; then :
14093
withval=$with_help_dir;
14095
with_help_dir='${datadir}/gnome/help'
14098
HELP_DIR="$with_help_dir"
14102
# Check whether --with-omf-dir was given.
14103
if test "${with_omf_dir+set}" = set; then :
14104
withval=$with_omf_dir;
14106
with_omf_dir='${datadir}/omf'
14109
OMF_DIR="$with_omf_dir"
14113
# Check whether --with-help-formats was given.
14114
if test "${with_help_formats+set}" = set; then :
14115
withval=$with_help_formats;
14117
with_help_formats=''
14120
DOC_USER_FORMATS="$with_help_formats"
14123
# Check whether --enable-scrollkeeper was given.
14124
if test "${enable_scrollkeeper+set}" = set; then :
14125
enableval=$enable_scrollkeeper;
14127
enable_scrollkeeper=yes
14130
if test "$gdu_cv_have_gdu" = "yes" -a "$enable_scrollkeeper" = "yes"; then
14132
ENABLE_SK_FALSE='#'
14139
DISTCHECK_CONFIGURE_FLAGS="--disable-scrollkeeper $DISTCHECK_CONFIGURE_FLAGS"
14142
if test "$gdu_cv_have_gdu" = "yes"; then
14143
HAVE_GNOME_DOC_UTILS_TRUE=
14144
HAVE_GNOME_DOC_UTILS_FALSE='#'
14146
HAVE_GNOME_DOC_UTILS_TRUE='#'
14147
HAVE_GNOME_DOC_UTILS_FALSE=
14155
# Check whether --enable-schemas-compile was given.
14156
if test "${enable_schemas_compile+set}" = set; then :
14157
enableval=$enable_schemas_compile; case ${enableval} in
14158
yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE="" ;;
14159
no) GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;;
14160
*) as_fn_error $? "bad value ${enableval} for --enable-schemas-compile" "$LINENO" 5 ;;
14171
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
14172
if test -n "$ac_tool_prefix"; then
14173
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
14174
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
14175
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14176
$as_echo_n "checking for $ac_word... " >&6; }
14177
if ${ac_cv_path_PKG_CONFIG+:} false; then :
14178
$as_echo_n "(cached) " >&6
14180
case $PKG_CONFIG in
14182
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
14185
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14186
for as_dir in $PATH
14189
test -z "$as_dir" && as_dir=.
14190
for ac_exec_ext in '' $ac_executable_extensions; do
14191
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14192
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14193
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14203
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
14204
if test -n "$PKG_CONFIG"; then
14205
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
14206
$as_echo "$PKG_CONFIG" >&6; }
14208
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14209
$as_echo "no" >&6; }
14214
if test -z "$ac_cv_path_PKG_CONFIG"; then
14215
ac_pt_PKG_CONFIG=$PKG_CONFIG
14216
# Extract the first word of "pkg-config", so it can be a program name with args.
14217
set dummy pkg-config; ac_word=$2
14218
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14219
$as_echo_n "checking for $ac_word... " >&6; }
14220
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
14221
$as_echo_n "(cached) " >&6
14223
case $ac_pt_PKG_CONFIG in
14225
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
14228
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14229
for as_dir in $PATH
14232
test -z "$as_dir" && as_dir=.
14233
for ac_exec_ext in '' $ac_executable_extensions; do
14234
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14235
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14236
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14246
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
14247
if test -n "$ac_pt_PKG_CONFIG"; then
14248
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
14249
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
14251
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14252
$as_echo "no" >&6; }
14255
if test "x$ac_pt_PKG_CONFIG" = x; then
14258
case $cross_compiling:$ac_tool_warned in
14260
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14261
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14262
ac_tool_warned=yes ;;
14264
PKG_CONFIG=$ac_pt_PKG_CONFIG
14267
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
14271
if test -n "$PKG_CONFIG"; then
14272
_pkg_min_version=0.16
14273
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
14274
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
14275
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
14276
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14277
$as_echo "yes" >&6; }
14279
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14280
$as_echo "no" >&6; }
14284
gsettingsschemadir=${datadir}/glib-2.0/schemas
14286
if test x$cross_compiling != xyes; then
14287
GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable glib_compile_schemas gio-2.0`
14289
# Extract the first word of "glib-compile-schemas", so it can be a program name with args.
14290
set dummy glib-compile-schemas; ac_word=$2
14291
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14292
$as_echo_n "checking for $ac_word... " >&6; }
14293
if ${ac_cv_path_GLIB_COMPILE_SCHEMAS+:} false; then :
14294
$as_echo_n "(cached) " >&6
14296
case $GLIB_COMPILE_SCHEMAS in
14298
ac_cv_path_GLIB_COMPILE_SCHEMAS="$GLIB_COMPILE_SCHEMAS" # Let the user override the test with a path.
14301
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14302
for as_dir in $PATH
14305
test -z "$as_dir" && as_dir=.
14306
for ac_exec_ext in '' $ac_executable_extensions; do
14307
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14308
ac_cv_path_GLIB_COMPILE_SCHEMAS="$as_dir/$ac_word$ac_exec_ext"
14309
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14319
GLIB_COMPILE_SCHEMAS=$ac_cv_path_GLIB_COMPILE_SCHEMAS
14320
if test -n "$GLIB_COMPILE_SCHEMAS"; then
14321
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_COMPILE_SCHEMAS" >&5
14322
$as_echo "$GLIB_COMPILE_SCHEMAS" >&6; }
14324
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14325
$as_echo "no" >&6; }
14331
if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then
14332
as_fn_error $? "glib-compile-schemas not found." "$LINENO" 5
14338
.PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas
14340
mostlyclean-am: clean-gsettings-schemas
14342
gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE))
14344
%.gschema.valid: %.gschema.xml $(gsettings__enum_file)
14345
$(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 $@
14347
all-am: $(gsettings_SCHEMAS:.xml=.valid)
14348
uninstall-am: uninstall-gsettings-schemas
14349
install-data-am: install-gsettings-schemas
14351
.SECONDARY: $(gsettings_SCHEMAS)
14353
install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file)
14355
if test -n "$^"; then \
14356
test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"; \
14357
$(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"; \
14358
test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); \
14361
uninstall-gsettings-schemas:
14362
@$(NORMAL_UNINSTALL)
14363
@list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \
14364
files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \
14365
test -n "$$files" || exit 0; \
14366
echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \
14367
cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files
14368
test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir)
14370
clean-gsettings-schemas:
14371
rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file)
14373
ifdef gsettings_ENUM_NAMESPACE
14374
$(gsettings__enum_file): $(gsettings_ENUM_FILES)
14375
$(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 $@
14384
#*******************************************************************************
14386
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"
14388
cat >confcache <<\_ACEOF
14389
# This file is a shell script that caches the results of configure
14390
# tests run on this system so they can be shared between configure
14391
# scripts and configure runs, see configure's option --config-cache.
14392
# It is not useful on other systems. If it contains results you don't
14393
# want to keep, you may remove or edit it.
14395
# config.status only pays attention to the cache file if you give it
14396
# the --recheck option to rerun configure.
14398
# `ac_cv_env_foo' variables (set or unset) will be overridden when
14399
# loading this file, other *unset* `ac_cv_foo' will be assigned the
14400
# following values.
14404
# The following way of writing the cache mishandles newlines in values,
14405
# but we know of no workaround that is simple, portable, and efficient.
14406
# So, we kill variables containing newlines.
14407
# Ultrix sh set writes to stderr and can't be redirected directly,
14408
# and sets the high bit in the cache file unless we assign to the vars.
14410
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14411
eval ac_val=\$$ac_var
14415
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14416
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14419
_ | IFS | as_nl) ;; #(
14420
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14421
*) { eval $ac_var=; unset $ac_var;} ;;
14427
case $as_nl`(ac_space=' '; set) 2>&1` in #(
14428
*${as_nl}ac_space=\ *)
14429
# `set' does not quote correctly, so add quotes: double-quote
14430
# substitution turns \\\\ into \\, and sed turns \\ into \.
14433
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14436
# `set' quotes correctly as required by POSIX, so do not add quotes.
14437
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14446
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14448
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14450
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14451
if test -w "$cache_file"; then
14452
if test "x$cache_file" != "x/dev/null"; then
14453
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14454
$as_echo "$as_me: updating cache $cache_file" >&6;}
14455
if test ! -f "$cache_file" || test -h "$cache_file"; then
14456
cat confcache >"$cache_file"
14458
case $cache_file in #(
14460
mv -f confcache "$cache_file"$$ &&
14461
mv -f "$cache_file"$$ "$cache_file" ;; #(
14463
mv -f confcache "$cache_file" ;;
14468
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14469
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14474
test "x$prefix" = xNONE && prefix=$ac_default_prefix
14475
# Let make expand exec_prefix.
14476
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14478
DEFS=-DHAVE_CONFIG_H
14483
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14484
# 1. Remove the extension, and $U if already installed.
14485
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14486
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14487
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14488
# will be set to the directory where LIBOBJS objects are built.
14489
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14490
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14492
LIBOBJS=$ac_libobjs
14494
LTLIBOBJS=$ac_ltlibobjs
14497
if test -n "$EXEEXT"; then
14499
am__EXEEXT_FALSE='#'
14501
am__EXEEXT_TRUE='#'
14505
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14506
as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
14507
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14509
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14510
as_fn_error $? "conditional \"AMDEP\" was never defined.
14511
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14513
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14514
as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14515
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14517
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14518
as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14519
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14522
ac_config_commands="$ac_config_commands po/stamp-it"
14525
if test -z "${HAVE_XTEST_TRUE}" && test -z "${HAVE_XTEST_FALSE}"; then
14526
as_fn_error $? "conditional \"HAVE_XTEST\" was never defined.
14527
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14529
if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
14530
as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined.
14531
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14533
if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
14534
as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
14535
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14537
if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
14538
as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
14539
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14541
if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
14542
as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
14543
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14545
if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
14546
as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
14547
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14549
if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
14550
as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
14551
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14553
if test -z "${ENABLE_SK_TRUE}" && test -z "${ENABLE_SK_FALSE}"; then
14554
as_fn_error $? "conditional \"ENABLE_SK\" was never defined.
14555
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14557
if test -z "${HAVE_GNOME_DOC_UTILS_TRUE}" && test -z "${HAVE_GNOME_DOC_UTILS_FALSE}"; then
14558
as_fn_error $? "conditional \"HAVE_GNOME_DOC_UTILS\" was never defined.
14559
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14562
: "${CONFIG_STATUS=./config.status}"
14564
ac_clean_files_save=$ac_clean_files
14565
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14566
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14567
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14569
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14571
# Generated by $as_me.
14572
# Run this file to recreate the current configuration.
14573
# Compiler output produced by configure, useful for debugging
14574
# configure, is in config.log if it exists.
14577
ac_cs_recheck=false
14580
SHELL=\${CONFIG_SHELL-$SHELL}
14583
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14584
## -------------------- ##
14585
## M4sh Initialization. ##
14586
## -------------------- ##
14588
# Be more Bourne compatible
14589
DUALCASE=1; export DUALCASE # for MKS sh
14590
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14593
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14594
# is contrary to our usage. Disable this feature.
14595
alias -g '${1+"$@"}'='"$@"'
14596
setopt NO_GLOB_SUBST
14598
case `(set -o) 2>/dev/null` in #(
14610
# Printing a long string crashes Solaris 7 /usr/bin/printf.
14611
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14612
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14613
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14614
# Prefer a ksh shell builtin over an external printf program on Solaris,
14615
# but without wasting forks for bash or zsh.
14616
if test -z "$BASH_VERSION$ZSH_VERSION" \
14617
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14618
as_echo='print -r --'
14619
as_echo_n='print -rn --'
14620
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14621
as_echo='printf %s\n'
14622
as_echo_n='printf %s'
14624
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14625
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
14626
as_echo_n='/usr/ucb/echo -n'
14628
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14629
as_echo_n_body='eval
14633
expr "X$arg" : "X\\(.*\\)$as_nl";
14634
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14636
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14638
export as_echo_n_body
14639
as_echo_n='sh -c $as_echo_n_body as_echo'
14641
export as_echo_body
14642
as_echo='sh -c $as_echo_body as_echo'
14645
# The user is always right.
14646
if test "${PATH_SEPARATOR+set}" != set; then
14648
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14649
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14656
# We need space, tab and new line, in precisely that order. Quoting is
14657
# there to prevent editors from complaining about space-tab.
14658
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
14659
# splitting by setting IFS to empty value.)
14662
# Find who we are. Look in the path if we contain no directory separator.
14665
*[\\/]* ) as_myself=$0 ;;
14666
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14667
for as_dir in $PATH
14670
test -z "$as_dir" && as_dir=.
14671
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14677
# We did not find ourselves, most probably we were run as `sh COMMAND'
14678
# in which case we are not to be found in the path.
14679
if test "x$as_myself" = x; then
14682
if test ! -f "$as_myself"; then
14683
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14687
# Unset variables that we do not need and which cause bugs (e.g. in
14688
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14689
# suppresses any "Segmentation fault" message there. '((' could
14690
# trigger a bug in pdksh 5.2.14.
14691
for as_var in BASH_ENV ENV MAIL MAILPATH
14692
do eval test x\${$as_var+set} = xset \
14693
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14706
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14709
# as_fn_error STATUS ERROR [LINENO LOG_FD]
14710
# ----------------------------------------
14711
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14712
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14713
# script with STATUS, using 1 if that was 0.
14716
as_status=$1; test $as_status -eq 0 && as_status=1
14718
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14719
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14721
$as_echo "$as_me: error: $2" >&2
14722
as_fn_exit $as_status
14726
# as_fn_set_status STATUS
14727
# -----------------------
14728
# Set $? to STATUS, without forking.
14729
as_fn_set_status ()
14732
} # as_fn_set_status
14734
# as_fn_exit STATUS
14735
# -----------------
14736
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14740
as_fn_set_status $1
14746
# Portably unset VAR.
14749
{ eval $1=; unset $1;}
14751
as_unset=as_fn_unset
14752
# as_fn_append VAR VALUE
14753
# ----------------------
14754
# Append the text in VALUE to the end of the definition contained in VAR. Take
14755
# advantage of any shell optimizations that allow amortized linear growth over
14756
# repeated appends, instead of the typical quadratic growth present in naive
14758
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
14759
eval 'as_fn_append ()
14770
# as_fn_arith ARG...
14771
# ------------------
14772
# Perform arithmetic evaluation on the ARGs, and store the result in the
14773
# global $as_val. Take advantage of shells that can avoid forks. The arguments
14774
# must be portable across $(()) and expr.
14775
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
14776
eval 'as_fn_arith ()
14783
as_val=`expr "$@" || test $? -eq 1`
14788
if expr a : '\(a\)' >/dev/null 2>&1 &&
14789
test "X`expr 00001 : '.*\(...\)'`" = X001; then
14795
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14796
as_basename=basename
14801
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14807
as_me=`$as_basename -- "$0" ||
14808
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14809
X"$0" : 'X\(//\)$' \| \
14810
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14812
sed '/^.*\/\([^/][^/]*\)\/*$/{
14826
# Avoid depending upon Character Ranges.
14827
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14828
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14829
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14830
as_cr_digits='0123456789'
14831
as_cr_alnum=$as_cr_Letters$as_cr_digits
14833
ECHO_C= ECHO_N= ECHO_T=
14834
case `echo -n x` in #(((((
14836
case `echo 'xy\c'` in
14837
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
14839
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
14846
rm -f conf$$ conf$$.exe conf$$.file
14847
if test -d conf$$.dir; then
14848
rm -f conf$$.dir/conf$$.file
14851
mkdir conf$$.dir 2>/dev/null
14853
if (echo >conf$$.file) 2>/dev/null; then
14854
if ln -s conf$$.file conf$$ 2>/dev/null; then
14856
# ... but there are two gotchas:
14857
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14858
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14859
# In both cases, we have to default to `cp -p'.
14860
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14862
elif ln conf$$.file conf$$ 2>/dev/null; then
14870
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14871
rmdir conf$$.dir 2>/dev/null
14876
# Create "$as_dir" as a directory, including parents if necessary.
14881
-*) as_dir=./$as_dir;;
14883
test -d "$as_dir" || eval $as_mkdir_p || {
14887
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14888
*) as_qdir=$as_dir;;
14890
as_dirs="'$as_qdir' $as_dirs"
14891
as_dir=`$as_dirname -- "$as_dir" ||
14892
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14893
X"$as_dir" : 'X\(//\)[^/]' \| \
14894
X"$as_dir" : 'X\(//\)$' \| \
14895
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14896
$as_echo X"$as_dir" |
14897
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14901
/^X\(\/\/\)[^/].*/{
14914
test -d "$as_dir" && break
14916
test -z "$as_dirs" || eval "mkdir $as_dirs"
14917
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
14921
if mkdir -p . 2>/dev/null; then
14922
as_mkdir_p='mkdir -p "$as_dir"'
14924
test -d ./-p && rmdir ./-p
14928
if test -x / >/dev/null 2>&1; then
14929
as_test_x='test -x'
14931
if ls -dL / >/dev/null 2>&1; then
14938
if test -d "$1"; then
14944
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14945
???[sx]*):;;*)false;;esac;fi
14949
as_executable_p=$as_test_x
14951
# Sed expression to map a string onto a valid CPP name.
14952
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14954
# Sed expression to map a string onto a valid variable name.
14955
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14959
## ----------------------------------- ##
14960
## Main body of $CONFIG_STATUS script. ##
14961
## ----------------------------------- ##
14963
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14965
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14966
# Save the log message, to keep $0 and so on meaningful, and to
14967
# report actual input values of CONFIG_FILES etc. instead of their
14968
# values after options handling.
14970
This file was extended by cheese $as_me 3.2.2, which was
14971
generated by GNU Autoconf 2.68. Invocation command line was
14973
CONFIG_FILES = $CONFIG_FILES
14974
CONFIG_HEADERS = $CONFIG_HEADERS
14975
CONFIG_LINKS = $CONFIG_LINKS
14976
CONFIG_COMMANDS = $CONFIG_COMMANDS
14979
on `(hostname || uname -n) 2>/dev/null | sed 1q`
14984
case $ac_config_files in *"
14985
"*) set x $ac_config_files; shift; ac_config_files=$*;;
14988
case $ac_config_headers in *"
14989
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
14993
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14994
# Files that config.status was made for.
14995
config_files="$ac_config_files"
14996
config_headers="$ac_config_headers"
14997
config_commands="$ac_config_commands"
15001
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15003
\`$as_me' instantiates files and other configuration actions
15004
from templates according to the current configuration. Unless the files
15005
and actions are specified as TAGs, all are instantiated by default.
15007
Usage: $0 [OPTION]... [TAG]...
15009
-h, --help print this help, then exit
15010
-V, --version print version number and configuration settings, then exit
15011
--config print configuration, then exit
15012
-q, --quiet, --silent
15013
do not print progress messages
15014
-d, --debug don't remove temporary files
15015
--recheck update $as_me by reconfiguring in the same conditions
15016
--file=FILE[:TEMPLATE]
15017
instantiate the configuration file FILE
15018
--header=FILE[:TEMPLATE]
15019
instantiate the configuration header FILE
15021
Configuration files:
15024
Configuration headers:
15027
Configuration commands:
15030
Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=cheese>.
15031
cheese home page: <http://projects.gnome.org/cheese/>."
15034
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15035
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15037
cheese config.status 3.2.2
15038
configured by $0, generated by GNU Autoconf 2.68,
15039
with options \\"\$ac_cs_config\\"
15041
Copyright (C) 2010 Free Software Foundation, Inc.
15042
This config.status script is free software; the Free Software Foundation
15043
gives unlimited permission to copy, distribute and modify it."
15050
test -n "\$AWK" || AWK=awk
15053
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15054
# The default lists apply if the user does not specify any file.
15060
ac_option=`expr "X$1" : 'X\([^=]*\)='`
15061
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15065
ac_option=`expr "X$1" : 'X\([^=]*\)='`
15077
# Handling of the options.
15078
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15080
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15081
$as_echo "$ac_cs_version"; exit ;;
15082
--config | --confi | --conf | --con | --co | --c )
15083
$as_echo "$ac_cs_config"; exit ;;
15084
--debug | --debu | --deb | --de | --d | -d )
15086
--file | --fil | --fi | --f )
15089
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15090
'') as_fn_error $? "missing file argument" ;;
15092
as_fn_append CONFIG_FILES " '$ac_optarg'"
15093
ac_need_defaults=false;;
15094
--header | --heade | --head | --hea )
15097
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15099
as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15100
ac_need_defaults=false;;
15102
# Conflict between --help and --header
15103
as_fn_error $? "ambiguous option: \`$1'
15104
Try \`$0 --help' for more information.";;
15105
--help | --hel | -h )
15106
$as_echo "$ac_cs_usage"; exit ;;
15107
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
15108
| -silent | --silent | --silen | --sile | --sil | --si | --s)
15111
# This is an error.
15112
-*) as_fn_error $? "unrecognized option: \`$1'
15113
Try \`$0 --help' for more information." ;;
15115
*) as_fn_append ac_config_targets " $1"
15116
ac_need_defaults=false ;;
15122
ac_configure_extra_args=
15124
if $ac_cs_silent; then
15126
ac_configure_extra_args="$ac_configure_extra_args --silent"
15130
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15131
if \$ac_cs_recheck; then
15132
set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15134
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15135
CONFIG_SHELL='$SHELL'
15136
export CONFIG_SHELL
15141
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15145
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15146
## Running $as_me. ##
15152
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15156
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15159
# The HP-UX ksh and POSIX shell print the target directory to stdout
15160
# if CDPATH is set.
15161
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15163
sed_quote_subst='$sed_quote_subst'
15164
double_quote_subst='$double_quote_subst'
15165
delay_variable_subst='$delay_variable_subst'
15166
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15167
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15168
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15169
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15170
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15171
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15172
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15173
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15174
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15175
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15176
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15177
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15178
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15179
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15180
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15181
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15182
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15183
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15184
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15185
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15186
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15187
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15188
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15189
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15190
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15191
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15192
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15193
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15194
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15195
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15196
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15197
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15198
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15199
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15200
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15201
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15202
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15203
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15204
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15205
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15206
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15207
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15208
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15209
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15210
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15211
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15212
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15213
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15214
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15215
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15216
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15217
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15218
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15219
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15220
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15221
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"`'
15222
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15223
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15224
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15225
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15226
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15227
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15228
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15229
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15230
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15231
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15232
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15233
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15234
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15235
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15236
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15237
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15238
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15239
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15240
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15241
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15242
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15243
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15244
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15245
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15246
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15247
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15248
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15249
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15250
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15251
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15252
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15253
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15254
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15255
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15256
hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
15257
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15258
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15259
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15260
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15261
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15262
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15263
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15264
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15265
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15266
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15267
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15268
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15269
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15270
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15271
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15272
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15273
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15274
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15275
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15276
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15277
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15278
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15279
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15280
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15281
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15282
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15283
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15284
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15285
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15286
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15287
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15288
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15289
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15290
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15291
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15292
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15293
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15294
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15295
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15298
LTCFLAGS='$LTCFLAGS'
15299
compiler='$compiler_DEFAULT'
15301
# A function that is used when there is no print builtin or printf.
15302
func_fallback_echo ()
15304
eval 'cat <<_LTECHO_EOF
15309
# Quote evaled strings.
15323
deplibs_check_method \
15328
sharedlib_from_linklib_cmd \
15331
archiver_list_spec \
15337
lt_cv_sys_global_symbol_pipe \
15338
lt_cv_sys_global_symbol_to_cdecl \
15339
lt_cv_sys_global_symbol_to_c_name_address \
15340
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15341
nm_file_list_spec \
15342
lt_prog_compiler_no_builtin_flag \
15343
lt_prog_compiler_pic \
15344
lt_prog_compiler_wl \
15345
lt_prog_compiler_static \
15346
lt_cv_prog_compiler_c_o \
15355
export_dynamic_flag_spec \
15356
whole_archive_flag_spec \
15357
compiler_needs_object \
15359
allow_undefined_flag \
15360
no_undefined_flag \
15361
hardcode_libdir_flag_spec \
15362
hardcode_libdir_flag_spec_ld \
15363
hardcode_libdir_separator \
15367
variables_saved_for_relink \
15369
library_names_spec \
15371
install_override_mode \
15375
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15376
*[\\\\\\\`\\"\\\$]*)
15377
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15380
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15385
# Double-quote double-evaled strings.
15386
for var in reload_cmds \
15387
old_postinstall_cmds \
15388
old_postuninstall_cmds \
15390
extract_expsyms_cmds \
15391
old_archive_from_new_cmds \
15392
old_archive_from_expsyms_cmds \
15394
archive_expsym_cmds \
15396
module_expsym_cmds \
15397
export_symbols_cmds \
15401
postuninstall_cmds \
15403
sys_lib_search_path_spec \
15404
sys_lib_dlsearch_path_spec; do
15405
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15406
*[\\\\\\\`\\"\\\$]*)
15407
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15410
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15415
ac_aux_dir='$ac_aux_dir'
15416
xsi_shell='$xsi_shell'
15417
lt_shell_append='$lt_shell_append'
15419
# See if we are running on zsh, and set the options which allow our
15420
# commands through without removal of \ escapes INIT.
15421
if test -n "\${ZSH_VERSION+set}" ; then
15422
setopt NO_GLOB_SUBST
15428
TIMESTAMP='$TIMESTAMP'
15437
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15439
# Handling of arguments.
15440
for ac_config_target in $ac_config_targets
15442
case $ac_config_target in
15443
"cheese-config.h") CONFIG_HEADERS="$CONFIG_HEADERS cheese-config.h" ;;
15444
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15445
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15446
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15447
"docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
15448
"docs/reference/Makefile") CONFIG_FILES="$CONFIG_FILES docs/reference/Makefile" ;;
15449
"docs/reference/version.xml") CONFIG_FILES="$CONFIG_FILES docs/reference/version.xml" ;;
15450
"data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
15451
"data/cheese.pc") CONFIG_FILES="$CONFIG_FILES data/cheese.pc" ;;
15452
"data/cheese-gtk.pc") CONFIG_FILES="$CONFIG_FILES data/cheese-gtk.pc" ;;
15453
"data/cheese.desktop.in") CONFIG_FILES="$CONFIG_FILES data/cheese.desktop.in" ;;
15454
"data/icons/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/Makefile" ;;
15455
"data/icons/16x16/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/16x16/Makefile" ;;
15456
"data/icons/22x22/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/22x22/Makefile" ;;
15457
"data/icons/24x24/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/24x24/Makefile" ;;
15458
"data/icons/32x32/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/32x32/Makefile" ;;
15459
"data/icons/48x48/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/48x48/Makefile" ;;
15460
"data/icons/256x256/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/256x256/Makefile" ;;
15461
"data/icons/scalable/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/scalable/Makefile" ;;
15462
"data/icons/16x16/actions/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/16x16/actions/Makefile" ;;
15463
"data/icons/22x22/actions/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/22x22/actions/Makefile" ;;
15464
"data/icons/24x24/actions/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/24x24/actions/Makefile" ;;
15465
"data/icons/32x32/actions/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/32x32/actions/Makefile" ;;
15466
"data/icons/48x48/actions/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/48x48/actions/Makefile" ;;
15467
"data/icons/scalable/actions/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/scalable/actions/Makefile" ;;
15468
"data/pixmaps/Makefile") CONFIG_FILES="$CONFIG_FILES data/pixmaps/Makefile" ;;
15469
"help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
15470
"libcheese/Makefile") CONFIG_FILES="$CONFIG_FILES libcheese/Makefile" ;;
15471
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
15472
"tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
15473
"po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
15474
"po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
15476
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15481
# If the user did not use the arguments to specify the items to instantiate,
15482
# then the envvar interface is used. Set only those that are not.
15483
# We use the long form for the default assignment because of an extremely
15484
# bizarre bug on SunOS 4.1.3.
15485
if $ac_need_defaults; then
15486
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15487
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15488
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15491
# Have a temporary directory for convenience. Make it in the build tree
15492
# simply because there is no reason against having it here, and in addition,
15493
# creating and moving files from /tmp can sometimes cause problems.
15494
# Hook for its removal unless debugging.
15495
# Note that there is a small window in which the directory will not be cleaned:
15496
# after its creation but before its name has been assigned to `$tmp'.
15500
trap 'exit_status=$?
15501
: "${ac_tmp:=$tmp}"
15502
{ test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15504
trap 'as_fn_exit 1' 1 2 13 15
15506
# Create a (secure) tmp directory for tmp files.
15509
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15513
tmp=./conf$$-$RANDOM
15514
(umask 077 && mkdir "$tmp")
15515
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15518
# Set up the scripts for CONFIG_FILES section.
15519
# No need to generate them if there are no CONFIG_FILES.
15520
# This happens for instance with `./config.status config.h'.
15521
if test -n "$CONFIG_FILES"; then
15524
ac_cr=`echo X | tr X '\015'`
15525
# On cygwin, bash can eat \r inside `` if the user requested igncr.
15526
# But we know of no other shell where ac_cr would be empty at this
15527
# point, so we can use a bashism as a fallback.
15528
if test "x$ac_cr" = x; then
15529
eval ac_cr=\$\'\\r\'
15531
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15532
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15535
ac_cs_awk_cr=$ac_cr
15538
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15543
echo "cat >conf$$subs.awk <<_ACEOF" &&
15544
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15546
} >conf$$subs.sh ||
15547
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15548
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15550
for ac_last_try in false false false false false :; do
15551
. ./conf$$subs.sh ||
15552
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15554
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15555
if test $ac_delim_n = $ac_delim_num; then
15557
elif $ac_last_try; then
15558
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15560
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15563
rm -f conf$$subs.sh
15565
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15566
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15570
s/^/S["/; s/!.*/"]=/
15580
s/\(.\{148\}\)..*/\1/
15582
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15587
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15594
s/\(.\{148\}\)..*/\1/
15596
s/["\\]/\\&/g; s/^/"/; s/$/"/
15600
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15605
' <conf$$subs.awk | sed '
15610
' >>$CONFIG_STATUS || ac_write_fail=1
15611
rm -f conf$$subs.awk
15612
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15614
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15615
for (key in S) S_is_set[key] = 1
15621
nfields = split(line, field, "@")
15623
len = length(field[1])
15624
for (i = 2; i < nfields; i++) {
15626
keylen = length(key)
15627
if (S_is_set[key]) {
15629
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15630
len += length(value) + length(field[++i])
15641
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15642
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15643
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15646
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15647
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15650
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15651
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15652
# trailing colons and then remove the whole line if VPATH becomes empty
15653
# (actually we leave an empty line to preserve line numbers).
15654
if test "x$srcdir" = x.; then
15655
ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15673
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15674
fi # test -n "$CONFIG_FILES"
15676
# Set up the scripts for CONFIG_HEADERS section.
15677
# No need to generate them if there are no CONFIG_HEADERS.
15678
# This happens for instance with `./config.status Makefile'.
15679
if test -n "$CONFIG_HEADERS"; then
15680
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15684
# Transform confdefs.h into an awk script `defines.awk', embedded as
15685
# here-document in config.status, that substitutes the proper values into
15686
# config.h.in to produce config.h.
15688
# Create a delimiter string that does not exist in confdefs.h, to ease
15689
# handling of long lines.
15691
for ac_last_try in false false :; do
15692
ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
15693
if test -z "$ac_tt"; then
15695
elif $ac_last_try; then
15696
as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15698
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15702
# For the awk script, D is an array of macro values keyed by name,
15703
# likewise P contains macro parameters if any. Preserve backslash
15704
# newline sequences.
15706
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15708
s/.\{148\}/&'"$ac_delim"'/g
15711
s/^[ ]*#[ ]*define[ ][ ]*/ /
15718
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
15720
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
15724
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
15725
D["\1"]=" \3\\\\\\n"\\/p
15727
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
15732
s/.\{148\}/&'"$ac_delim"'/g
15737
s/["\\]/\\&/g; s/^/"/; s/$/"/p
15740
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
15742
' <confdefs.h | sed '
15743
s/'"$ac_delim"'/"\\\
15744
"/g' >>$CONFIG_STATUS || ac_write_fail=1
15746
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15747
for (key in D) D_is_set[key] = 1
15750
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15752
split(line, arg, " ")
15753
if (arg[1] == "#") {
15757
defundef = substr(arg[1], 2)
15760
split(mac1, mac2, "(") #)
15762
prefix = substr(line, 1, index(line, defundef) - 1)
15763
if (D_is_set[macro]) {
15764
# Preserve the white space surrounding the "#".
15765
print prefix "define", macro P[macro] D[macro]
15768
# Replace #undef with comments. This is necessary, for example,
15769
# in the case of _POSIX_SOURCE, which is predefined and required
15770
# on some systems where configure will not decide to define it.
15771
if (defundef == "undef") {
15772
print "/*", prefix defundef, macro, "*/"
15780
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15781
as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
15782
fi # test -n "$CONFIG_HEADERS"
15785
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15790
:[FHLC]) ac_mode=$ac_tag; continue;;
15792
case $ac_mode$ac_tag in
15794
:L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
15795
:[FH]-) ac_tag=-:-;;
15796
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15813
-) ac_f="$ac_tmp/stdin";;
15814
*) # Look for the file first in the build tree, then in the source tree
15815
# (if the path is not absolute). The absolute path cannot be DOS-style,
15816
# because $ac_f cannot contain `:'.
15820
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15822
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15824
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15825
as_fn_append ac_file_inputs " '$ac_f'"
15828
# Let's still pretend it is `configure' which instantiates (i.e., don't
15829
# use $as_me), people would be surprised to read:
15830
# /* config.h. Generated by config.status. */
15831
configure_input='Generated from '`
15832
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15834
if test x"$ac_file" != x-; then
15835
configure_input="$ac_file. $configure_input"
15836
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15837
$as_echo "$as_me: creating $ac_file" >&6;}
15839
# Neutralize special characters interpreted by sed in replacement strings.
15840
case $configure_input in #(
15841
*\&* | *\|* | *\\* )
15842
ac_sed_conf_input=`$as_echo "$configure_input" |
15843
sed 's/[\\\\&|]/\\\\&/g'`;; #(
15844
*) ac_sed_conf_input=$configure_input;;
15848
*:-:* | *:-) cat >"$ac_tmp/stdin" \
15849
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
15854
ac_dir=`$as_dirname -- "$ac_file" ||
15855
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15856
X"$ac_file" : 'X\(//\)[^/]' \| \
15857
X"$ac_file" : 'X\(//\)$' \| \
15858
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15859
$as_echo X"$ac_file" |
15860
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15864
/^X\(\/\/\)[^/].*/{
15877
as_dir="$ac_dir"; as_fn_mkdir_p
15881
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15883
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15884
# A ".." for each directory in $ac_dir_suffix.
15885
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15886
case $ac_top_builddir_sub in
15887
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15888
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15891
ac_abs_top_builddir=$ac_pwd
15892
ac_abs_builddir=$ac_pwd$ac_dir_suffix
15893
# for backward compatibility:
15894
ac_top_builddir=$ac_top_build_prefix
15897
.) # We are building in place.
15899
ac_top_srcdir=$ac_top_builddir_sub
15900
ac_abs_top_srcdir=$ac_pwd ;;
15901
[\\/]* | ?:[\\/]* ) # Absolute name.
15902
ac_srcdir=$srcdir$ac_dir_suffix;
15903
ac_top_srcdir=$srcdir
15904
ac_abs_top_srcdir=$srcdir ;;
15905
*) # Relative name.
15906
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15907
ac_top_srcdir=$ac_top_build_prefix$srcdir
15908
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15910
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15920
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15921
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15923
ac_MKDIR_P=$MKDIR_P
15925
[\\/$]* | ?:[\\/]* ) ;;
15926
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
15930
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15931
# If the template does not know about datarootdir, expand it.
15932
# FIXME: This hack should be removed a few years after 2.60.
15933
ac_datarootdir_hack=; ac_datarootdir_seen=
15944
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15945
*datarootdir*) ac_datarootdir_seen=yes;;
15946
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15947
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15948
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15950
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15951
ac_datarootdir_hack='
15952
s&@datadir@&$datadir&g
15953
s&@docdir@&$docdir&g
15954
s&@infodir@&$infodir&g
15955
s&@localedir@&$localedir&g
15956
s&@mandir@&$mandir&g
15957
s&\\\${datarootdir}&$datarootdir&g' ;;
15961
# Neutralize VPATH when `$srcdir' = `.'.
15962
# Shell code in configure.ac might set extrasub.
15963
# FIXME: do we really want to maintain this feature?
15964
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15965
ac_sed_extra="$ac_vpsub
15968
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15970
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15971
s|@configure_input@|$ac_sed_conf_input|;t t
15972
s&@top_builddir@&$ac_top_builddir_sub&;t t
15973
s&@top_build_prefix@&$ac_top_build_prefix&;t t
15974
s&@srcdir@&$ac_srcdir&;t t
15975
s&@abs_srcdir@&$ac_abs_srcdir&;t t
15976
s&@top_srcdir@&$ac_top_srcdir&;t t
15977
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
15978
s&@builddir@&$ac_builddir&;t t
15979
s&@abs_builddir@&$ac_abs_builddir&;t t
15980
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
15981
s&@INSTALL@&$ac_INSTALL&;t t
15982
s&@MKDIR_P@&$ac_MKDIR_P&;t t
15983
$ac_datarootdir_hack
15985
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
15986
>$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15988
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15989
{ ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
15990
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
15991
"$ac_tmp/out"`; test -z "$ac_out"; } &&
15992
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15993
which seems to be undefined. Please make sure it is defined" >&5
15994
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15995
which seems to be undefined. Please make sure it is defined" >&2;}
15997
rm -f "$ac_tmp/stdin"
15999
-) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16000
*) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16002
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
16008
if test x"$ac_file" != x-; then
16010
$as_echo "/* $configure_input */" \
16011
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16012
} >"$ac_tmp/config.h" \
16013
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
16014
if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16015
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16016
$as_echo "$as_me: $ac_file is unchanged" >&6;}
16019
mv "$ac_tmp/config.h" "$ac_file" \
16020
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
16023
$as_echo "/* $configure_input */" \
16024
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16025
|| as_fn_error $? "could not create -" "$LINENO" 5
16027
# Compute "$ac_file"'s index in $config_headers.
16030
for _am_header in $config_headers :; do
16031
case $_am_header in
16032
$_am_arg | $_am_arg:* )
16035
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
16038
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16039
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16040
X"$_am_arg" : 'X\(//\)[^/]' \| \
16041
X"$_am_arg" : 'X\(//\)$' \| \
16042
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16043
$as_echo X"$_am_arg" |
16044
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16048
/^X\(\/\/\)[^/].*/{
16060
s/.*/./; q'`/stamp-h$_am_stamp_count
16063
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16064
$as_echo "$as_me: executing $ac_file commands" >&6;}
16069
case $ac_file$ac_mode in
16070
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16071
# Autoconf 2.62 quotes --file arguments for eval, but not when files
16072
# are listed without --file. Let's play safe and only enable the eval
16073
# if we detect the quoting.
16074
case $CONFIG_FILES in
16075
*\'*) eval set x "$CONFIG_FILES" ;;
16076
*) set x $CONFIG_FILES ;;
16081
# Strip MF so we end up with the name of the file.
16082
mf=`echo "$mf" | sed -e 's/:.*$//'`
16083
# Check whether this is an Automake generated Makefile or not.
16084
# We used to match only the files named `Makefile.in', but
16085
# some people rename them; so instead we look at the file content.
16086
# Grep'ing the first line is not enough: some people post-process
16087
# each Makefile.in and add a new line on top of each file to say so.
16088
# Grep'ing the whole file is not good either: AIX grep has a line
16089
# limit of 2048, but all sed's we know have understand at least 4000.
16090
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16091
dirpart=`$as_dirname -- "$mf" ||
16092
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16093
X"$mf" : 'X\(//\)[^/]' \| \
16094
X"$mf" : 'X\(//\)$' \| \
16095
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16097
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16101
/^X\(\/\/\)[^/].*/{
16117
# Extract the definition of DEPDIR, am__include, and am__quote
16118
# from the Makefile without running `make'.
16119
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16120
test -z "$DEPDIR" && continue
16121
am__include=`sed -n 's/^am__include = //p' < "$mf"`
16122
test -z "am__include" && continue
16123
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16124
# When using ansi2knr, U may be empty or an underscore; expand it
16125
U=`sed -n 's/^U = //p' < "$mf"`
16126
# Find all dependency output files, they are included files with
16127
# $(DEPDIR) in their names. We invoke sed twice because it is the
16128
# simplest approach to changing $(DEPDIR) to its actual value in the
16130
for file in `sed -n "
16131
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16132
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16133
# Make sure the directory exists.
16134
test -f "$dirpart/$file" && continue
16135
fdir=`$as_dirname -- "$file" ||
16136
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16137
X"$file" : 'X\(//\)[^/]' \| \
16138
X"$file" : 'X\(//\)$' \| \
16139
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16140
$as_echo X"$file" |
16141
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16145
/^X\(\/\/\)[^/].*/{
16158
as_dir=$dirpart/$fdir; as_fn_mkdir_p
16159
# echo "creating $dirpart/$file"
16160
echo '# dummy' > "$dirpart/$file"
16167
# See if we are running on zsh, and set the options which allow our
16168
# commands through without removal of \ escapes.
16169
if test -n "${ZSH_VERSION+set}" ; then
16170
setopt NO_GLOB_SUBST
16173
cfgfile="${ofile}T"
16174
trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16177
cat <<_LT_EOF >> "$cfgfile"
16180
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16181
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16182
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16183
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
16185
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16186
# 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
16188
# Written by Gordon Matzigkeit, 1996
16190
# This file is part of GNU Libtool.
16192
# GNU Libtool is free software; you can redistribute it and/or
16193
# modify it under the terms of the GNU General Public License as
16194
# published by the Free Software Foundation; either version 2 of
16195
# the License, or (at your option) any later version.
16197
# As a special exception to the GNU General Public License,
16198
# if you distribute this file as part of a program or library that
16199
# is built using GNU Libtool, you may include this file under the
16200
# same distribution terms that you use for the rest of that program.
16202
# GNU Libtool is distributed in the hope that it will be useful,
16203
# but WITHOUT ANY WARRANTY; without even the implied warranty of
16204
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16205
# GNU General Public License for more details.
16207
# You should have received a copy of the GNU General Public License
16208
# along with GNU Libtool; see the file COPYING. If not, a copy
16209
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16210
# obtained by writing to the Free Software Foundation, Inc.,
16211
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16214
# The names of the tagged configurations supported by this script.
16217
# ### BEGIN LIBTOOL CONFIG
16219
# Which release of libtool.m4 was used?
16220
macro_version=$macro_version
16221
macro_revision=$macro_revision
16223
# Whether or not to build shared libraries.
16224
build_libtool_libs=$enable_shared
16226
# Whether or not to build static libraries.
16227
build_old_libs=$enable_static
16229
# What type of objects to build.
16232
# Whether or not to optimize for fast installation.
16233
fast_install=$enable_fast_install
16235
# Shell to use when invoking shell scripts.
16238
# An echo program that protects backslashes.
16242
host_alias=$host_alias
16246
# The build system.
16247
build_alias=$build_alias
16251
# A sed program that does not truncate output.
16254
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
16255
Xsed="\$SED -e 1s/^X//"
16257
# A grep program that handles long lines.
16263
# A literal string matcher.
16266
# A BSD- or MS-compatible name lister.
16269
# Whether we need soft or hard links.
16272
# What is the maximum length of a command?
16273
max_cmd_len=$max_cmd_len
16275
# Object file suffix (normally "o").
16278
# Executable file suffix (normally "").
16281
# whether the shell understands "unset".
16284
# turn spaces into newlines.
16287
# turn newlines into spaces.
16290
# convert \$build file names to \$host format.
16291
to_host_file_cmd=$lt_cv_to_host_file_cmd
16293
# convert \$build files to toolchain format.
16294
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16296
# An object symbol dumper.
16297
OBJDUMP=$lt_OBJDUMP
16299
# Method to check whether dependent libraries are shared objects.
16300
deplibs_check_method=$lt_deplibs_check_method
16302
# Command to use when deplibs_check_method = "file_magic".
16303
file_magic_cmd=$lt_file_magic_cmd
16305
# How to find potential files when deplibs_check_method = "file_magic".
16306
file_magic_glob=$lt_file_magic_glob
16308
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16309
want_nocaseglob=$lt_want_nocaseglob
16311
# DLL creation program.
16312
DLLTOOL=$lt_DLLTOOL
16314
# Command to associate shared and link libraries.
16315
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16320
# Flags to create an archive.
16321
AR_FLAGS=$lt_AR_FLAGS
16323
# How to feed a file listing to the archiver.
16324
archiver_list_spec=$lt_archiver_list_spec
16326
# A symbol stripping program.
16329
# Commands used to install an old-style archive.
16331
old_postinstall_cmds=$lt_old_postinstall_cmds
16332
old_postuninstall_cmds=$lt_old_postuninstall_cmds
16334
# Whether to use a lock for old archive extraction.
16335
lock_old_archive_extraction=$lock_old_archive_extraction
16340
# LTCC compiler flags.
16341
LTCFLAGS=$lt_CFLAGS
16343
# Take the output of nm and produce a listing of raw symbols and C names.
16344
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16346
# Transform the output of nm in a proper C declaration.
16347
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16349
# Transform the output of nm in a C name address pair.
16350
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16352
# Transform the output of nm in a C name address pair when lib prefix is needed.
16353
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16355
# Specify filename containing input files for \$NM.
16356
nm_file_list_spec=$lt_nm_file_list_spec
16358
# The root where to search for dependent libraries,and in which our libraries should be installed.
16359
lt_sysroot=$lt_sysroot
16361
# The name of the directory that contains temporary libtool files.
16364
# Used to examine libraries when file_magic_cmd begins with "file".
16365
MAGIC_CMD=$MAGIC_CMD
16367
# Must we lock files when doing compilation?
16368
need_locks=$lt_need_locks
16371
MANIFEST_TOOL=$lt_MANIFEST_TOOL
16373
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16374
DSYMUTIL=$lt_DSYMUTIL
16376
# Tool to change global to local symbols on Mac OS X.
16379
# Tool to manipulate fat objects and archives on Mac OS X.
16382
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
16385
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16386
OTOOL64=$lt_OTOOL64
16388
# Old archive suffix (normally "a").
16391
# Shared library suffix (normally ".so").
16392
shrext_cmds=$lt_shrext_cmds
16394
# The commands to extract the exported symbol list from a shared archive.
16395
extract_expsyms_cmds=$lt_extract_expsyms_cmds
16397
# Variables whose values should be saved in libtool wrapper scripts and
16398
# restored at link time.
16399
variables_saved_for_relink=$lt_variables_saved_for_relink
16401
# Do we need the "lib" prefix for modules?
16402
need_lib_prefix=$need_lib_prefix
16404
# Do we need a version for libraries?
16405
need_version=$need_version
16407
# Library versioning type.
16408
version_type=$version_type
16410
# Shared library runtime path variable.
16411
runpath_var=$runpath_var
16413
# Shared library path variable.
16414
shlibpath_var=$shlibpath_var
16416
# Is shlibpath searched before the hard-coded library search path?
16417
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16419
# Format of library name prefix.
16420
libname_spec=$lt_libname_spec
16422
# List of archive names. First name is the real one, the rest are links.
16423
# The last name is the one that the linker finds with -lNAME
16424
library_names_spec=$lt_library_names_spec
16426
# The coded name of the library, if different from the real name.
16427
soname_spec=$lt_soname_spec
16429
# Permission mode override for installation of shared libraries.
16430
install_override_mode=$lt_install_override_mode
16432
# Command to use after installation of a shared archive.
16433
postinstall_cmds=$lt_postinstall_cmds
16435
# Command to use after uninstallation of a shared archive.
16436
postuninstall_cmds=$lt_postuninstall_cmds
16438
# Commands used to finish a libtool library installation in a directory.
16439
finish_cmds=$lt_finish_cmds
16441
# As "finish_cmds", except a single script fragment to be evaled but
16443
finish_eval=$lt_finish_eval
16445
# Whether we should hardcode library paths into libraries.
16446
hardcode_into_libs=$hardcode_into_libs
16448
# Compile-time system search path for libraries.
16449
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16451
# Run-time system search path for libraries.
16452
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16454
# Whether dlopen is supported.
16455
dlopen_support=$enable_dlopen
16457
# Whether dlopen of programs is supported.
16458
dlopen_self=$enable_dlopen_self
16460
# Whether dlopen of statically linked programs is supported.
16461
dlopen_self_static=$enable_dlopen_self_static
16463
# Commands to strip libraries.
16464
old_striplib=$lt_old_striplib
16465
striplib=$lt_striplib
16468
# The linker used to build libraries.
16471
# How to create reloadable object files.
16472
reload_flag=$lt_reload_flag
16473
reload_cmds=$lt_reload_cmds
16475
# Commands used to build an old-style archive.
16476
old_archive_cmds=$lt_old_archive_cmds
16478
# A language specific compiler.
16481
# Is the compiler the GNU compiler?
16484
# Compiler flag to turn off builtin functions.
16485
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16487
# Additional compiler flags for building library objects.
16488
pic_flag=$lt_lt_prog_compiler_pic
16490
# How to pass a linker flag through the compiler.
16491
wl=$lt_lt_prog_compiler_wl
16493
# Compiler flag to prevent dynamic linking.
16494
link_static_flag=$lt_lt_prog_compiler_static
16496
# Does compiler simultaneously support -c and -o options?
16497
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16499
# Whether or not to add -lc for building shared libraries.
16500
build_libtool_need_lc=$archive_cmds_need_lc
16502
# Whether or not to disallow shared libs when runtime libs are static.
16503
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16505
# Compiler flag to allow reflexive dlopens.
16506
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16508
# Compiler flag to generate shared objects directly from archives.
16509
whole_archive_flag_spec=$lt_whole_archive_flag_spec
16511
# Whether the compiler copes with passing no objects directly.
16512
compiler_needs_object=$lt_compiler_needs_object
16514
# Create an old-style archive from a shared archive.
16515
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16517
# Create a temporary old-style archive to link instead of a shared archive.
16518
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16520
# Commands used to build a shared archive.
16521
archive_cmds=$lt_archive_cmds
16522
archive_expsym_cmds=$lt_archive_expsym_cmds
16524
# Commands used to build a loadable module if different from building
16525
# a shared archive.
16526
module_cmds=$lt_module_cmds
16527
module_expsym_cmds=$lt_module_expsym_cmds
16529
# Whether we are building with GNU ld or not.
16530
with_gnu_ld=$lt_with_gnu_ld
16532
# Flag that allows shared libraries with undefined symbols to be built.
16533
allow_undefined_flag=$lt_allow_undefined_flag
16535
# Flag that enforces no undefined symbols.
16536
no_undefined_flag=$lt_no_undefined_flag
16538
# Flag to hardcode \$libdir into a binary during linking.
16539
# This must work even if \$libdir does not exist
16540
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16542
# If ld is used when linking, flag to hardcode \$libdir into a binary
16543
# during linking. This must work even if \$libdir does not exist.
16544
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
16546
# Whether we need a single "-rpath" flag with a separated argument.
16547
hardcode_libdir_separator=$lt_hardcode_libdir_separator
16549
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16550
# DIR into the resulting binary.
16551
hardcode_direct=$hardcode_direct
16553
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16554
# DIR into the resulting binary and the resulting library dependency is
16555
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16556
# library is relocated.
16557
hardcode_direct_absolute=$hardcode_direct_absolute
16559
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16560
# into the resulting binary.
16561
hardcode_minus_L=$hardcode_minus_L
16563
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16564
# into the resulting binary.
16565
hardcode_shlibpath_var=$hardcode_shlibpath_var
16567
# Set to "yes" if building a shared library automatically hardcodes DIR
16568
# into the library and all subsequent libraries and executables linked
16570
hardcode_automatic=$hardcode_automatic
16572
# Set to yes if linker adds runtime paths of dependent libraries
16573
# to runtime path list.
16574
inherit_rpath=$inherit_rpath
16576
# Whether libtool must link a program against all its dependency libraries.
16577
link_all_deplibs=$link_all_deplibs
16579
# Set to "yes" if exported symbols are required.
16580
always_export_symbols=$always_export_symbols
16582
# The commands to list exported symbols.
16583
export_symbols_cmds=$lt_export_symbols_cmds
16585
# Symbols that should not be listed in the preloaded symbols.
16586
exclude_expsyms=$lt_exclude_expsyms
16588
# Symbols that must always be exported.
16589
include_expsyms=$lt_include_expsyms
16591
# Commands necessary for linking programs (against libraries) with templates.
16592
prelink_cmds=$lt_prelink_cmds
16594
# Commands necessary for finishing linking programs.
16595
postlink_cmds=$lt_postlink_cmds
16597
# Specify filename containing input files.
16598
file_list_spec=$lt_file_list_spec
16600
# How to hardcode a shared library path into an executable.
16601
hardcode_action=$hardcode_action
16603
# ### END LIBTOOL CONFIG
16609
cat <<\_LT_EOF >> "$cfgfile"
16610
# AIX sometimes has problems with the GCC collect2 program. For some
16611
# reason, if we set the COLLECT_NAMES environment variable, the problems
16612
# vanish in a puff of smoke.
16613
if test "X${COLLECT_NAMES+set}" != Xset; then
16615
export COLLECT_NAMES
16622
ltmain="$ac_aux_dir/ltmain.sh"
16625
# We use sed instead of cat because bash on DJGPP gets confused if
16626
# if finds mixed CR/LF and LF-only lines. Since sed operates in
16627
# text mode, it properly converts lines to CR/LF. This bash problem
16628
# is reportedly fixed, but why not run on old versions too?
16629
sed '$q' "$ltmain" >> "$cfgfile" \
16630
|| (rm -f "$cfgfile"; exit 1)
16632
if test x"$xsi_shell" = xyes; then
16633
sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
16637
\ */*) func_dirname_result="${1%/*}${2}" ;;\
16638
\ * ) func_dirname_result="${3}" ;;\
16640
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
16641
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16642
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16643
test 0 -eq $? || _lt_function_replace_fail=:
16646
sed -e '/^func_basename ()$/,/^} # func_basename /c\
16649
\ func_basename_result="${1##*/}"\
16650
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
16651
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16652
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16653
test 0 -eq $? || _lt_function_replace_fail=:
16656
sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
16657
func_dirname_and_basename ()\
16660
\ */*) func_dirname_result="${1%/*}${2}" ;;\
16661
\ * ) func_dirname_result="${3}" ;;\
16663
\ func_basename_result="${1##*/}"\
16664
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
16665
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16666
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16667
test 0 -eq $? || _lt_function_replace_fail=:
16670
sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
16673
\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
16674
\ # positional parameters, so assign one to ordinary parameter first.\
16675
\ func_stripname_result=${3}\
16676
\ func_stripname_result=${func_stripname_result#"${1}"}\
16677
\ func_stripname_result=${func_stripname_result%"${2}"}\
16678
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
16679
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16680
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16681
test 0 -eq $? || _lt_function_replace_fail=:
16684
sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
16685
func_split_long_opt ()\
16687
\ func_split_long_opt_name=${1%%=*}\
16688
\ func_split_long_opt_arg=${1#*=}\
16689
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
16690
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16691
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16692
test 0 -eq $? || _lt_function_replace_fail=:
16695
sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
16696
func_split_short_opt ()\
16698
\ func_split_short_opt_arg=${1#??}\
16699
\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
16700
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
16701
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16702
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16703
test 0 -eq $? || _lt_function_replace_fail=:
16706
sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
16710
\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
16711
\ *) func_lo2o_result=${1} ;;\
16713
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
16714
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16715
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16716
test 0 -eq $? || _lt_function_replace_fail=:
16719
sed -e '/^func_xform ()$/,/^} # func_xform /c\
16722
func_xform_result=${1%.*}.lo\
16723
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
16724
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16725
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16726
test 0 -eq $? || _lt_function_replace_fail=:
16729
sed -e '/^func_arith ()$/,/^} # func_arith /c\
16732
func_arith_result=$(( $* ))\
16733
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
16734
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16735
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16736
test 0 -eq $? || _lt_function_replace_fail=:
16739
sed -e '/^func_len ()$/,/^} # func_len /c\
16742
func_len_result=${#1}\
16743
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
16744
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16745
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16746
test 0 -eq $? || _lt_function_replace_fail=:
16750
if test x"$lt_shell_append" = xyes; then
16751
sed -e '/^func_append ()$/,/^} # func_append /c\
16754
eval "${1}+=\\${2}"\
16755
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
16756
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16757
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16758
test 0 -eq $? || _lt_function_replace_fail=:
16761
sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
16762
func_append_quoted ()\
16764
\ func_quote_for_eval "${2}"\
16765
\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
16766
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
16767
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16768
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16769
test 0 -eq $? || _lt_function_replace_fail=:
16772
# Save a `func_append' function call where possible by direct use of '+='
16773
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
16774
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16775
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16776
test 0 -eq $? || _lt_function_replace_fail=:
16778
# Save a `func_append' function call even when '+=' is not available
16779
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
16780
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16781
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16782
test 0 -eq $? || _lt_function_replace_fail=:
16785
if test x"$_lt_function_replace_fail" = x":"; then
16786
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
16787
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
16791
mv -f "$cfgfile" "$ofile" ||
16792
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16797
if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
16798
as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
16800
rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
16805
'"s|^| $ac_top_srcdir/|" \
16806
"$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
16808
sed '/^POTFILES =/,/[^\\]$/ {
16812
' "po/Makefile.in" >"po/Makefile"
16813
rm -f "po/Makefile.tmp"
16814
mv "po/stamp-it.tmp" "po/stamp-it"
16823
ac_clean_files=$ac_clean_files_save
16825
test $ac_write_fail = 0 ||
16826
as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16829
# configure is writing to config.log, and then calls config.status.
16830
# config.status does its own redirection, appending to config.log.
16831
# Unfortunately, on DOS this fails, as config.log is still kept open
16832
# by configure, so config.status won't be able to write to it; its
16833
# output is simply discarded. So we exec the FD to /dev/null,
16834
# effectively closing config.log, so it can be properly (re)opened and
16835
# appended to by config.status. When coming back to configure, we
16836
# need to make the FD available again.
16837
if test "$no_create" != yes; then
16839
ac_config_status_args=
16840
test "$silent" = yes &&
16841
ac_config_status_args="$ac_config_status_args --quiet"
16843
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
16845
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
16846
# would make configure fail if this is the last instruction.
16847
$ac_cs_success || as_fn_exit 1
16849
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16850
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16851
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16855
#**************************************************************************