2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.67 for unity-place-files 0.5.38.
5
# Report bugs to <https://launchpad.net/unity-place-files>.
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.
16
# Copyright 2010 Canonical
17
## -------------------- ##
18
## M4sh Initialization. ##
19
## -------------------- ##
21
# Be more Bourne compatible
22
DUALCASE=1; export DUALCASE # for MKS sh
23
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
26
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
27
# is contrary to our usage. Disable this feature.
28
alias -g '${1+"$@"}'='"$@"'
31
case `(set -o) 2>/dev/null` in #(
43
# Printing a long string crashes Solaris 7 /usr/bin/printf.
44
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
45
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
46
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
47
# Prefer a ksh shell builtin over an external printf program on Solaris,
48
# but without wasting forks for bash or zsh.
49
if test -z "$BASH_VERSION$ZSH_VERSION" \
50
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
52
as_echo_n='print -rn --'
53
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
57
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
58
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
59
as_echo_n='/usr/ucb/echo -n'
61
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
66
expr "X$arg" : "X\\(.*\\)$as_nl";
67
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
69
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
72
as_echo_n='sh -c $as_echo_n_body as_echo'
75
as_echo='sh -c $as_echo_body as_echo'
78
# The user is always right.
79
if test "${PATH_SEPARATOR+set}" != set; then
81
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
82
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
89
# We need space, tab and new line, in precisely that order. Quoting is
90
# there to prevent editors from complaining about space-tab.
91
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
92
# splitting by setting IFS to empty value.)
95
# Find who we are. Look in the path if we contain no directory separator.
97
*[\\/]* ) as_myself=$0 ;;
98
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
102
test -z "$as_dir" && as_dir=.
103
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
109
# We did not find ourselves, most probably we were run as `sh COMMAND'
110
# in which case we are not to be found in the path.
111
if test "x$as_myself" = x; then
114
if test ! -f "$as_myself"; then
115
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119
# Unset variables that we do not need and which cause bugs (e.g. in
120
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
121
# suppresses any "Segmentation fault" message there. '((' could
122
# trigger a bug in pdksh 5.2.14.
123
for as_var in BASH_ENV ENV MAIL MAILPATH
124
do eval test x\${$as_var+set} = xset \
125
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
138
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
140
if test "x$CONFIG_SHELL" = x; then
141
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
144
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
145
# is contrary to our usage. Disable this feature.
146
alias -g '\${1+\"\$@\"}'='\"\$@\"'
149
case \`(set -o) 2>/dev/null\` in #(
157
as_required="as_fn_return () { (exit \$1); }
158
as_fn_success () { as_fn_return 0; }
159
as_fn_failure () { as_fn_return 1; }
160
as_fn_ret_success () { return 0; }
161
as_fn_ret_failure () { return 1; }
164
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
165
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
166
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
167
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
168
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
171
exitcode=1; echo positional parameters were not saved.
173
test x\$exitcode = x0 || exit 1"
174
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
175
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
176
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
177
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
178
test \$(( 1 + 1 )) = 2 || exit 1"
179
if (eval "$as_required") 2>/dev/null; then :
184
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
187
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
189
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
192
test -z "$as_dir" && as_dir=.
196
for as_base in sh bash ksh sh5; do
197
# Try only shells that exist, to save several forks.
198
as_shell=$as_dir/$as_base
199
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
200
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
201
CONFIG_SHELL=$as_shell as_have_required=yes
202
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
210
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
211
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
212
CONFIG_SHELL=$SHELL as_have_required=yes
217
if test "x$CONFIG_SHELL" != x; then :
218
# We cannot yet assume a decent shell, so we have to provide a
219
# neutralization value for shells without unset; and this also
220
# works around shells that cannot unset nonexistent variables.
223
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
225
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
228
if test x$as_have_required = xno; then :
229
$as_echo "$0: This script requires a shell more modern than all"
230
$as_echo "$0: the shells that I found on your system."
231
if test x${ZSH_VERSION+set} = xset ; then
232
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
233
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
235
$as_echo "$0: Please tell bug-autoconf@gnu.org and
236
$0: https://launchpad.net/unity-place-files about your
237
$0: system, including any error possibly output before this
238
$0: message. Then install a modern shell, or manually run
239
$0: the script under such a shell if you do have one."
245
SHELL=${CONFIG_SHELL-/bin/sh}
247
# Unset more variables known to interfere with behavior of common tools.
248
CLICOLOR_FORCE= GREP_OPTIONS=
249
unset CLICOLOR_FORCE GREP_OPTIONS
251
## --------------------- ##
252
## M4sh Shell Functions. ##
253
## --------------------- ##
256
# Portably unset VAR.
259
{ eval $1=; unset $1;}
263
# as_fn_set_status STATUS
264
# -----------------------
265
# Set $? to STATUS, without forking.
273
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
283
# Create "$as_dir" as a directory, including parents if necessary.
288
-*) as_dir=./$as_dir;;
290
test -d "$as_dir" || eval $as_mkdir_p || {
294
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
297
as_dirs="'$as_qdir' $as_dirs"
298
as_dir=`$as_dirname -- "$as_dir" ||
299
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
300
X"$as_dir" : 'X\(//\)[^/]' \| \
301
X"$as_dir" : 'X\(//\)$' \| \
302
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
303
$as_echo X"$as_dir" |
304
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
321
test -d "$as_dir" && break
323
test -z "$as_dirs" || eval "mkdir $as_dirs"
324
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
328
# as_fn_append VAR VALUE
329
# ----------------------
330
# Append the text in VALUE to the end of the definition contained in VAR. Take
331
# advantage of any shell optimizations that allow amortized linear growth over
332
# repeated appends, instead of the typical quadratic growth present in naive
334
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
335
eval 'as_fn_append ()
348
# Perform arithmetic evaluation on the ARGs, and store the result in the
349
# global $as_val. Take advantage of shells that can avoid forks. The arguments
350
# must be portable across $(()) and expr.
351
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
359
as_val=`expr "$@" || test $? -eq 1`
364
# as_fn_error STATUS ERROR [LINENO LOG_FD]
365
# ----------------------------------------
366
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
367
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
368
# script with STATUS, using 1 if that was 0.
371
as_status=$1; test $as_status -eq 0 && as_status=1
373
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
374
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
376
$as_echo "$as_me: error: $2" >&2
377
as_fn_exit $as_status
380
if expr a : '\(a\)' >/dev/null 2>&1 &&
381
test "X`expr 00001 : '.*\(...\)'`" = X001; then
387
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
393
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
399
as_me=`$as_basename -- "$0" ||
400
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
401
X"$0" : 'X\(//\)$' \| \
402
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
404
sed '/^.*\/\([^/][^/]*\)\/*$/{
418
# Avoid depending upon Character Ranges.
419
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
420
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
421
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
422
as_cr_digits='0123456789'
423
as_cr_alnum=$as_cr_Letters$as_cr_digits
426
as_lineno_1=$LINENO as_lineno_1a=$LINENO
427
as_lineno_2=$LINENO as_lineno_2a=$LINENO
428
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
429
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
430
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
442
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
446
chmod +x "$as_me.lineno" ||
447
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
449
# Don't try to exec as it changes $[0], causing all sort of problems
450
# (the dirname of $[0] is not the place where we might find the
451
# original and so on. Autoconf is especially sensitive to this).
453
# Exit status is that of the last command.
457
ECHO_C= ECHO_N= ECHO_T=
458
case `echo -n x` in #(((((
460
case `echo 'xy\c'` in
461
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
463
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
470
rm -f conf$$ conf$$.exe conf$$.file
471
if test -d conf$$.dir; then
472
rm -f conf$$.dir/conf$$.file
475
mkdir conf$$.dir 2>/dev/null
477
if (echo >conf$$.file) 2>/dev/null; then
478
if ln -s conf$$.file conf$$ 2>/dev/null; then
480
# ... but there are two gotchas:
481
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
482
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
483
# In both cases, we have to default to `cp -p'.
484
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
486
elif ln conf$$.file conf$$ 2>/dev/null; then
494
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
495
rmdir conf$$.dir 2>/dev/null
497
if mkdir -p . 2>/dev/null; then
498
as_mkdir_p='mkdir -p "$as_dir"'
500
test -d ./-p && rmdir ./-p
504
if test -x / >/dev/null 2>&1; then
507
if ls -dL / >/dev/null 2>&1; then
514
if test -d "$1"; then
520
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
521
???[sx]*):;;*)false;;esac;fi
525
as_executable_p=$as_test_x
527
# Sed expression to map a string onto a valid CPP name.
528
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
530
# Sed expression to map a string onto a valid variable name.
531
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534
# Use only awk features that work with 7th edition Unix awk (1978).
535
# My, what an old awk you have, Mr. Solaris!
537
while (length(v1) && length(v2)) {
538
# Set d1 to be the next thing to compare from v1, and likewise for d2.
539
# Normally this is a single character, but if v1 and v2 contain digits,
540
# compare them as integers and fractions as strverscmp does.
541
if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) {
542
# Split v1 and v2 into their leading digit string components d1 and d2,
543
# and advance v1 and v2 past the leading digit strings.
544
for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue
545
for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue
546
d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
547
d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
550
# Compare two fractions.
551
while (d1 ~ /^0/ && d2 ~ /^0/) {
552
d1 = substr(d1, 2); len1--
553
d2 = substr(d2, 2); len2--
555
if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
556
# The two components differ in length, and the common prefix
557
# contains only leading zeros. Consider the longer to be less.
561
# Otherwise, compare as strings.
566
# A fraction is less than an integer.
571
# An integer is greater than a fraction.
574
# Compare two integers.
580
# The normal case, without worrying about digits.
581
d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
582
d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
587
# Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
588
# which mishandles some comparisons of empty strings to integers.
589
if (length(v2)) exit 1
590
if (length(v1)) exit 2
595
# Check that we are running under the correct shell.
596
SHELL=${CONFIG_SHELL-/bin/sh}
600
# Remove one level of quotation (which was required for Make).
601
ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
606
if test "X$1" = X--no-reexec; then
607
# Discard the --no-reexec flag, and continue.
609
elif test "X$1" = X--fallback-echo; then
610
# Avoid inline document here, it may be left over
612
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
613
# Yippee, $ECHO works!
616
# Restart under the correct shell.
617
exec $SHELL "$0" --no-reexec ${1+"$@"}
620
if test "X$1" = X--fallback-echo; then
621
# used as fallback echo
629
# The HP-UX ksh and POSIX shell print the target directory to stdout
631
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
633
if test -z "$lt_ECHO"; then
634
if test "X${echo_test_string+set}" != Xset; then
635
# find a string as large as possible, as long as the shell can cope with it
636
for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
637
# expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
638
if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
639
{ test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
646
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
647
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
648
test "X$echo_testing_string" = "X$echo_test_string"; then
651
# The Solaris, AIX, and Digital Unix default echo programs unquote
652
# backslashes. This makes it impossible to quote backslashes using
653
# echo "$something" | sed 's/\\/\\\\/g'
655
# So, first we look for a working echo in the user's PATH.
657
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
658
for dir in $PATH /usr/ucb; do
660
if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
661
test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
662
echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
663
test "X$echo_testing_string" = "X$echo_test_string"; then
670
if test "X$ECHO" = Xecho; then
671
# We didn't find a better echo, so look for alternatives.
672
if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
673
echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
674
test "X$echo_testing_string" = "X$echo_test_string"; then
675
# This shell has a builtin print -r that does the trick.
677
elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
678
test "X$CONFIG_SHELL" != X/bin/ksh; then
679
# If we have ksh, try running configure again with it.
680
ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
681
export ORIGINAL_CONFIG_SHELL
682
CONFIG_SHELL=/bin/ksh
684
exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
688
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
689
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
690
test "X$echo_testing_string" = "X$echo_test_string"; then
693
elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
694
test "X$echo_testing_string" = 'X\t' &&
695
echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
696
test "X$echo_testing_string" = "X$echo_test_string"; then
697
CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
699
SHELL="$CONFIG_SHELL"
701
ECHO="$CONFIG_SHELL $0 --fallback-echo"
702
elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
703
test "X$echo_testing_string" = 'X\t' &&
704
echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
705
test "X$echo_testing_string" = "X$echo_test_string"; then
706
ECHO="$CONFIG_SHELL $0 --fallback-echo"
708
# maybe with a smaller string...
711
for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
712
if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
719
if test "$prev" != 'sed 50q "$0"'; then
720
echo_test_string=`eval $prev`
721
export echo_test_string
722
exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
724
# Oops. We lost completely, so just stick with echo.
733
# Copy echo and quote the copy suitably for passing to libtool from
734
# the Makefile, instead of quoting the original, which is used later.
736
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
737
lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
743
test -n "$DJDIR" || exec 7<&0 </dev/null
747
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
748
# so uname gets run too.
749
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
754
ac_default_prefix=/usr/local
756
ac_config_libobj_dir=.
763
# Identity of this package.
764
PACKAGE_NAME='unity-place-files'
765
PACKAGE_TARNAME='unity-place-files'
766
PACKAGE_VERSION='0.5.38'
767
PACKAGE_STRING='unity-place-files 0.5.38'
768
PACKAGE_BUGREPORT='https://launchpad.net/unity-place-files'
771
# Factoring default headers for most tests.
772
ac_includes_default="\
774
#ifdef HAVE_SYS_TYPES_H
775
# include <sys/types.h>
777
#ifdef HAVE_SYS_STAT_H
778
# include <sys/stat.h>
784
# ifdef HAVE_STDLIB_H
789
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
794
#ifdef HAVE_STRINGS_H
795
# include <strings.h>
797
#ifdef HAVE_INTTYPES_H
798
# include <inttypes.h>
807
ac_subst_vars='am__EXEEXT_FALSE
814
HAVE_LOCALINSTALL_FALSE
815
HAVE_LOCALINSTALL_TRUE
816
ZEITGEIST_DAEMON_LIBS
817
ZEITGEIST_DAEMON_CFLAGS
828
INTLTOOL_SERVICE_RULE
830
INTLTOOL_SCHEMAS_RULE
832
INTLTOOL_XML_NOMERGE_RULE
837
INTLTOOL_SOUNDLIST_RULE
844
INTLTOOL_DIRECTORY_RULE
845
INTLTOOL_DESKTOP_RULE
865
CONFIG_STATUS_DEPENDENCIES
913
MAINTAINER_MODE_FALSE
925
INSTALL_STRIP_PROGRAM
967
program_transform_name
980
enable_option_checking
982
enable_maintainer_mode
983
enable_dependency_tracking
993
ac_precious_vars='build_alias
1007
ZEITGEIST_DAEMON_CFLAGS
1008
ZEITGEIST_DAEMON_LIBS'
1011
# Initialize some variables set by options.
1013
ac_init_version=false
1014
ac_unrecognized_opts=
1015
ac_unrecognized_sep=
1016
# The variables have the same names as the options, with
1017
# dashes changed to underlines.
1018
cache_file=/dev/null
1025
program_transform_name=s,x,x,
1033
# Installation directory options.
1034
# These are left unexpanded so users can "make install exec_prefix=/foo"
1035
# and all the variables that are supposed to be based on exec_prefix
1036
# by default will actually change.
1037
# Use braces instead of parens because sh, perl, etc. also accept them.
1038
# (The list follows the same order as the GNU Coding Standards.)
1039
bindir='${exec_prefix}/bin'
1040
sbindir='${exec_prefix}/sbin'
1041
libexecdir='${exec_prefix}/libexec'
1042
datarootdir='${prefix}/share'
1043
datadir='${datarootdir}'
1044
sysconfdir='${prefix}/etc'
1045
sharedstatedir='${prefix}/com'
1046
localstatedir='${prefix}/var'
1047
includedir='${prefix}/include'
1048
oldincludedir='/usr/include'
1049
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1050
infodir='${datarootdir}/info'
1055
libdir='${exec_prefix}/lib'
1056
localedir='${datarootdir}/locale'
1057
mandir='${datarootdir}/man'
1063
# If the previous option needs an argument, assign it.
1064
if test -n "$ac_prev"; then
1065
eval $ac_prev=\$ac_option
1071
*=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1076
# Accept the important Cygnus configure options, so we can diagnose typos.
1078
case $ac_dashdash$ac_option in
1082
-bindir | --bindir | --bindi | --bind | --bin | --bi)
1084
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1085
bindir=$ac_optarg ;;
1087
-build | --build | --buil | --bui | --bu)
1088
ac_prev=build_alias ;;
1089
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
1090
build_alias=$ac_optarg ;;
1092
-cache-file | --cache-file | --cache-fil | --cache-fi \
1093
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1094
ac_prev=cache_file ;;
1095
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1096
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1097
cache_file=$ac_optarg ;;
1099
--config-cache | -C)
1100
cache_file=config.cache ;;
1102
-datadir | --datadir | --datadi | --datad)
1104
-datadir=* | --datadir=* | --datadi=* | --datad=*)
1105
datadir=$ac_optarg ;;
1107
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1108
| --dataroo | --dataro | --datar)
1109
ac_prev=datarootdir ;;
1110
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1111
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1112
datarootdir=$ac_optarg ;;
1114
-disable-* | --disable-*)
1115
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1116
# Reject names that are not valid shell variable names.
1117
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1118
as_fn_error $? "invalid feature name: $ac_useropt"
1119
ac_useropt_orig=$ac_useropt
1120
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1121
case $ac_user_opts in
1123
"enable_$ac_useropt"
1125
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1126
ac_unrecognized_sep=', ';;
1128
eval enable_$ac_useropt=no ;;
1130
-docdir | --docdir | --docdi | --doc | --do)
1132
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1133
docdir=$ac_optarg ;;
1135
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1137
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1138
dvidir=$ac_optarg ;;
1140
-enable-* | --enable-*)
1141
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1142
# Reject names that are not valid shell variable names.
1143
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1144
as_fn_error $? "invalid feature name: $ac_useropt"
1145
ac_useropt_orig=$ac_useropt
1146
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1147
case $ac_user_opts in
1149
"enable_$ac_useropt"
1151
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1152
ac_unrecognized_sep=', ';;
1154
eval enable_$ac_useropt=\$ac_optarg ;;
1156
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1157
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1158
| --exec | --exe | --ex)
1159
ac_prev=exec_prefix ;;
1160
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1161
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1162
| --exec=* | --exe=* | --ex=*)
1163
exec_prefix=$ac_optarg ;;
1165
-gas | --gas | --ga | --g)
1166
# Obsolete; use --with-gas.
1169
-help | --help | --hel | --he | -h)
1170
ac_init_help=long ;;
1171
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1172
ac_init_help=recursive ;;
1173
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1174
ac_init_help=short ;;
1176
-host | --host | --hos | --ho)
1177
ac_prev=host_alias ;;
1178
-host=* | --host=* | --hos=* | --ho=*)
1179
host_alias=$ac_optarg ;;
1181
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1183
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1185
htmldir=$ac_optarg ;;
1187
-includedir | --includedir | --includedi | --included | --include \
1188
| --includ | --inclu | --incl | --inc)
1189
ac_prev=includedir ;;
1190
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1191
| --includ=* | --inclu=* | --incl=* | --inc=*)
1192
includedir=$ac_optarg ;;
1194
-infodir | --infodir | --infodi | --infod | --info | --inf)
1196
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1197
infodir=$ac_optarg ;;
1199
-libdir | --libdir | --libdi | --libd)
1201
-libdir=* | --libdir=* | --libdi=* | --libd=*)
1202
libdir=$ac_optarg ;;
1204
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1205
| --libexe | --libex | --libe)
1206
ac_prev=libexecdir ;;
1207
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1208
| --libexe=* | --libex=* | --libe=*)
1209
libexecdir=$ac_optarg ;;
1211
-localedir | --localedir | --localedi | --localed | --locale)
1212
ac_prev=localedir ;;
1213
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1214
localedir=$ac_optarg ;;
1216
-localstatedir | --localstatedir | --localstatedi | --localstated \
1217
| --localstate | --localstat | --localsta | --localst | --locals)
1218
ac_prev=localstatedir ;;
1219
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1220
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1221
localstatedir=$ac_optarg ;;
1223
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1225
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1226
mandir=$ac_optarg ;;
1228
-nfp | --nfp | --nf)
1229
# Obsolete; use --without-fp.
1232
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
1233
| --no-cr | --no-c | -n)
1236
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
1237
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1240
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1241
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1242
| --oldin | --oldi | --old | --ol | --o)
1243
ac_prev=oldincludedir ;;
1244
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1245
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1246
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1247
oldincludedir=$ac_optarg ;;
1249
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1251
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1252
prefix=$ac_optarg ;;
1254
-program-prefix | --program-prefix | --program-prefi | --program-pref \
1255
| --program-pre | --program-pr | --program-p)
1256
ac_prev=program_prefix ;;
1257
-program-prefix=* | --program-prefix=* | --program-prefi=* \
1258
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1259
program_prefix=$ac_optarg ;;
1261
-program-suffix | --program-suffix | --program-suffi | --program-suff \
1262
| --program-suf | --program-su | --program-s)
1263
ac_prev=program_suffix ;;
1264
-program-suffix=* | --program-suffix=* | --program-suffi=* \
1265
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1266
program_suffix=$ac_optarg ;;
1268
-program-transform-name | --program-transform-name \
1269
| --program-transform-nam | --program-transform-na \
1270
| --program-transform-n | --program-transform- \
1271
| --program-transform | --program-transfor \
1272
| --program-transfo | --program-transf \
1273
| --program-trans | --program-tran \
1274
| --progr-tra | --program-tr | --program-t)
1275
ac_prev=program_transform_name ;;
1276
-program-transform-name=* | --program-transform-name=* \
1277
| --program-transform-nam=* | --program-transform-na=* \
1278
| --program-transform-n=* | --program-transform-=* \
1279
| --program-transform=* | --program-transfor=* \
1280
| --program-transfo=* | --program-transf=* \
1281
| --program-trans=* | --program-tran=* \
1282
| --progr-tra=* | --program-tr=* | --program-t=*)
1283
program_transform_name=$ac_optarg ;;
1285
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1287
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1288
pdfdir=$ac_optarg ;;
1290
-psdir | --psdir | --psdi | --psd | --ps)
1292
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1295
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1296
| -silent | --silent | --silen | --sile | --sil)
1299
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1301
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1303
sbindir=$ac_optarg ;;
1305
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1306
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1307
| --sharedst | --shareds | --shared | --share | --shar \
1309
ac_prev=sharedstatedir ;;
1310
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1311
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1312
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1314
sharedstatedir=$ac_optarg ;;
1316
-site | --site | --sit)
1318
-site=* | --site=* | --sit=*)
1321
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1323
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1324
srcdir=$ac_optarg ;;
1326
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1327
| --syscon | --sysco | --sysc | --sys | --sy)
1328
ac_prev=sysconfdir ;;
1329
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1330
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1331
sysconfdir=$ac_optarg ;;
1333
-target | --target | --targe | --targ | --tar | --ta | --t)
1334
ac_prev=target_alias ;;
1335
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1336
target_alias=$ac_optarg ;;
1338
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1341
-version | --version | --versio | --versi | --vers | -V)
1342
ac_init_version=: ;;
1345
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1346
# Reject names that are not valid shell variable names.
1347
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1348
as_fn_error $? "invalid package name: $ac_useropt"
1349
ac_useropt_orig=$ac_useropt
1350
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1351
case $ac_user_opts in
1355
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1356
ac_unrecognized_sep=', ';;
1358
eval with_$ac_useropt=\$ac_optarg ;;
1360
-without-* | --without-*)
1361
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1362
# Reject names that are not valid shell variable names.
1363
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1364
as_fn_error $? "invalid package name: $ac_useropt"
1365
ac_useropt_orig=$ac_useropt
1366
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1367
case $ac_user_opts in
1371
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1372
ac_unrecognized_sep=', ';;
1374
eval with_$ac_useropt=no ;;
1377
# Obsolete; use --with-x.
1380
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1381
| --x-incl | --x-inc | --x-in | --x-i)
1382
ac_prev=x_includes ;;
1383
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1384
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1385
x_includes=$ac_optarg ;;
1387
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1388
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1389
ac_prev=x_libraries ;;
1390
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1391
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1392
x_libraries=$ac_optarg ;;
1394
-*) as_fn_error $? "unrecognized option: \`$ac_option'
1395
Try \`$0 --help' for more information"
1399
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1400
# Reject names that are not valid shell variable names.
1401
case $ac_envvar in #(
1402
'' | [0-9]* | *[!_$as_cr_alnum]* )
1403
as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1405
eval $ac_envvar=\$ac_optarg
1406
export $ac_envvar ;;
1409
# FIXME: should be removed in autoconf 3.0.
1410
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1411
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1412
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1413
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1419
if test -n "$ac_prev"; then
1420
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1421
as_fn_error $? "missing argument to $ac_option"
1424
if test -n "$ac_unrecognized_opts"; then
1425
case $enable_option_checking in
1427
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1428
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1432
# Check all directory arguments for consistency.
1433
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1434
datadir sysconfdir sharedstatedir localstatedir includedir \
1435
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1436
libdir localedir mandir
1438
eval ac_val=\$$ac_var
1439
# Remove trailing slashes.
1442
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1443
eval $ac_var=\$ac_val;;
1445
# Be sure to have absolute directory names.
1447
[\\/$]* | ?:[\\/]* ) continue;;
1448
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1450
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1453
# There might be people who depend on the old broken behavior: `$host'
1454
# used to hold the argument of --host etc.
1455
# FIXME: To remove some day.
1458
target=$target_alias
1460
# FIXME: To remove some day.
1461
if test "x$host_alias" != x; then
1462
if test "x$build_alias" = x; then
1463
cross_compiling=maybe
1464
$as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1465
If a cross compiler is detected then cross compile mode will be used" >&2
1466
elif test "x$build_alias" != "x$host_alias"; then
1472
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1474
test "$silent" = yes && exec 6>/dev/null
1477
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1478
ac_ls_di=`ls -di .` &&
1479
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1480
as_fn_error $? "working directory cannot be determined"
1481
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1482
as_fn_error $? "pwd does not report name of working directory"
1485
# Find the source files, if location was not specified.
1486
if test -z "$srcdir"; then
1487
ac_srcdir_defaulted=yes
1488
# Try the directory containing this script, then the parent directory.
1489
ac_confdir=`$as_dirname -- "$as_myself" ||
1490
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1491
X"$as_myself" : 'X\(//\)[^/]' \| \
1492
X"$as_myself" : 'X\(//\)$' \| \
1493
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1494
$as_echo X"$as_myself" |
1495
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1513
if test ! -r "$srcdir/$ac_unique_file"; then
1517
ac_srcdir_defaulted=no
1519
if test ! -r "$srcdir/$ac_unique_file"; then
1520
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1521
as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1523
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1525
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1527
# When building in place, set srcdir=.
1528
if test "$ac_abs_confdir" = "$ac_pwd"; then
1531
# Remove unnecessary trailing slashes from srcdir.
1532
# Double slashes in file names in object file debugging info
1533
# mess up M-x gdb in Emacs.
1535
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1537
for ac_var in $ac_precious_vars; do
1538
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1539
eval ac_env_${ac_var}_value=\$${ac_var}
1540
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1541
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1545
# Report the --help message.
1547
if test "$ac_init_help" = "long"; then
1548
# Omit some internal or obsolete options to make the list less imposing.
1549
# This message is too long to be a string in the A/UX 3.1 sh.
1551
\`configure' configures unity-place-files 0.5.38 to adapt to many kinds of systems.
1553
Usage: $0 [OPTION]... [VAR=VALUE]...
1555
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1556
VAR=VALUE. See below for descriptions of some of the useful variables.
1558
Defaults for the options are specified in brackets.
1561
-h, --help display this help and exit
1562
--help=short display options specific to this package
1563
--help=recursive display the short help of all the included packages
1564
-V, --version display version information and exit
1565
-q, --quiet, --silent do not print \`checking ...' messages
1566
--cache-file=FILE cache test results in FILE [disabled]
1567
-C, --config-cache alias for \`--cache-file=config.cache'
1568
-n, --no-create do not create output files
1569
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1571
Installation directories:
1572
--prefix=PREFIX install architecture-independent files in PREFIX
1573
[$ac_default_prefix]
1574
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1577
By default, \`make install' will install all the files in
1578
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1579
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1580
for instance \`--prefix=\$HOME'.
1582
For better control, use the options below.
1584
Fine tuning of the installation directories:
1585
--bindir=DIR user executables [EPREFIX/bin]
1586
--sbindir=DIR system admin executables [EPREFIX/sbin]
1587
--libexecdir=DIR program executables [EPREFIX/libexec]
1588
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1589
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1590
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1591
--libdir=DIR object code libraries [EPREFIX/lib]
1592
--includedir=DIR C header files [PREFIX/include]
1593
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1594
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1595
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1596
--infodir=DIR info documentation [DATAROOTDIR/info]
1597
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1598
--mandir=DIR man documentation [DATAROOTDIR/man]
1599
--docdir=DIR documentation root
1600
[DATAROOTDIR/doc/unity-place-files]
1601
--htmldir=DIR html documentation [DOCDIR]
1602
--dvidir=DIR dvi documentation [DOCDIR]
1603
--pdfdir=DIR pdf documentation [DOCDIR]
1604
--psdir=DIR ps documentation [DOCDIR]
1610
--program-prefix=PREFIX prepend PREFIX to installed program names
1611
--program-suffix=SUFFIX append SUFFIX to installed program names
1612
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1615
--build=BUILD configure for building on BUILD [guessed]
1616
--host=HOST cross-compile to build programs to run on HOST [BUILD]
1620
if test -n "$ac_init_help"; then
1621
case $ac_init_help in
1622
short | recursive ) echo "Configuration of unity-place-files 0.5.38:";;
1627
--disable-option-checking ignore unrecognized --enable/--with options
1628
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1629
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1630
--enable-silent-rules less verbose build output (undo: `make V=1')
1631
--disable-silent-rules verbose build output (undo: `make V=0')
1632
--enable-maintainer-mode enable make rules and dependencies not useful
1633
(and sometimes confusing) to the casual installer
1634
--disable-dependency-tracking speeds up one-time build
1635
--enable-dependency-tracking do not reject slow dependency extractors
1636
--enable-shared[=PKGS] build shared libraries [default=yes]
1637
--enable-static[=PKGS] build static libraries [default=yes]
1638
--enable-fast-install[=PKGS]
1639
optimize for fast installation [default=yes]
1640
--disable-libtool-lock avoid locking (might break parallel builds)
1641
--disable-nls do not use Native Language Support
1642
--enable-localinstall Install all of the files locally instead of in
1643
system directories (for distcheck)
1646
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1647
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1648
--with-pic try to use only PIC/non-PIC objects [default=use
1650
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
1652
Some influential environment variables:
1653
CC C compiler command
1654
CFLAGS C compiler flags
1655
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1656
nonstandard directory <lib dir>
1657
LIBS libraries to pass to the linker, e.g. -l<library>
1658
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1659
you have headers in a nonstandard directory <include dir>
1661
PKG_CONFIG path to pkg-config utility
1663
directories to add to pkg-config's search path
1665
path overriding pkg-config's built-in search path
1667
C compiler flags for PLACE_DAEMON, overriding pkg-config
1669
linker flags for PLACE_DAEMON, overriding pkg-config
1670
ZEITGEIST_DAEMON_CFLAGS
1671
C compiler flags for ZEITGEIST_DAEMON, overriding pkg-config
1672
ZEITGEIST_DAEMON_LIBS
1673
linker flags for ZEITGEIST_DAEMON, overriding pkg-config
1675
Use these variables to override the choices made by `configure' or to help
1676
it to find libraries and programs with nonstandard names/locations.
1678
Report bugs to <https://launchpad.net/unity-place-files>.
1683
if test "$ac_init_help" = "recursive"; then
1684
# If there are subdirs, report their specific --help.
1685
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1686
test -d "$ac_dir" ||
1687
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1692
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1694
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1695
# A ".." for each directory in $ac_dir_suffix.
1696
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1697
case $ac_top_builddir_sub in
1698
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1699
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1702
ac_abs_top_builddir=$ac_pwd
1703
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1704
# for backward compatibility:
1705
ac_top_builddir=$ac_top_build_prefix
1708
.) # We are building in place.
1710
ac_top_srcdir=$ac_top_builddir_sub
1711
ac_abs_top_srcdir=$ac_pwd ;;
1712
[\\/]* | ?:[\\/]* ) # Absolute name.
1713
ac_srcdir=$srcdir$ac_dir_suffix;
1714
ac_top_srcdir=$srcdir
1715
ac_abs_top_srcdir=$srcdir ;;
1717
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1718
ac_top_srcdir=$ac_top_build_prefix$srcdir
1719
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1721
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1723
cd "$ac_dir" || { ac_status=$?; continue; }
1724
# Check for guested configure.
1725
if test -f "$ac_srcdir/configure.gnu"; then
1727
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1728
elif test -f "$ac_srcdir/configure"; then
1730
$SHELL "$ac_srcdir/configure" --help=recursive
1732
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1734
cd "$ac_pwd" || { ac_status=$?; break; }
1738
test -n "$ac_init_help" && exit $ac_status
1739
if $ac_init_version; then
1741
unity-place-files configure 0.5.38
1742
generated by GNU Autoconf 2.67
1744
Copyright (C) 2010 Free Software Foundation, Inc.
1745
This configure script is free software; the Free Software Foundation
1746
gives unlimited permission to copy, distribute and modify it.
1748
Copyright 2010 Canonical
1753
## ------------------------ ##
1754
## Autoconf initialization. ##
1755
## ------------------------ ##
1757
# ac_fn_c_try_compile LINENO
1758
# --------------------------
1759
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1760
ac_fn_c_try_compile ()
1762
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1763
rm -f conftest.$ac_objext
1764
if { { ac_try="$ac_compile"
1766
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1767
*) ac_try_echo=$ac_try;;
1769
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1770
$as_echo "$ac_try_echo"; } >&5
1771
(eval "$ac_compile") 2>conftest.err
1773
if test -s conftest.err; then
1774
grep -v '^ *+' conftest.err >conftest.er1
1775
cat conftest.er1 >&5
1776
mv -f conftest.er1 conftest.err
1778
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1779
test $ac_status = 0; } && {
1780
test -z "$ac_c_werror_flag" ||
1781
test ! -s conftest.err
1782
} && test -s conftest.$ac_objext; then :
1785
$as_echo "$as_me: failed program was:" >&5
1786
sed 's/^/| /' conftest.$ac_ext >&5
1790
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1791
as_fn_set_status $ac_retval
1793
} # ac_fn_c_try_compile
1795
# ac_fn_c_try_cpp LINENO
1796
# ----------------------
1797
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1800
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1801
if { { ac_try="$ac_cpp conftest.$ac_ext"
1803
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1804
*) ac_try_echo=$ac_try;;
1806
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1807
$as_echo "$ac_try_echo"; } >&5
1808
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1810
if test -s conftest.err; then
1811
grep -v '^ *+' conftest.err >conftest.er1
1812
cat conftest.er1 >&5
1813
mv -f conftest.er1 conftest.err
1815
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1816
test $ac_status = 0; } > conftest.i && {
1817
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1818
test ! -s conftest.err
1822
$as_echo "$as_me: failed program was:" >&5
1823
sed 's/^/| /' conftest.$ac_ext >&5
1827
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1828
as_fn_set_status $ac_retval
1832
# ac_fn_c_try_run LINENO
1833
# ----------------------
1834
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1835
# that executables *can* be run.
1838
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1839
if { { ac_try="$ac_link"
1841
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1842
*) ac_try_echo=$ac_try;;
1844
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1845
$as_echo "$ac_try_echo"; } >&5
1846
(eval "$ac_link") 2>&5
1848
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1849
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1850
{ { case "(($ac_try" in
1851
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1852
*) ac_try_echo=$ac_try;;
1854
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1855
$as_echo "$ac_try_echo"; } >&5
1856
(eval "$ac_try") 2>&5
1858
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1859
test $ac_status = 0; }; }; then :
1862
$as_echo "$as_me: program exited with status $ac_status" >&5
1863
$as_echo "$as_me: failed program was:" >&5
1864
sed 's/^/| /' conftest.$ac_ext >&5
1866
ac_retval=$ac_status
1868
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1869
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1870
as_fn_set_status $ac_retval
1874
# ac_fn_c_try_link LINENO
1875
# -----------------------
1876
# Try to link conftest.$ac_ext, and return whether this succeeded.
1879
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1880
rm -f conftest.$ac_objext conftest$ac_exeext
1881
if { { ac_try="$ac_link"
1883
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1884
*) ac_try_echo=$ac_try;;
1886
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1887
$as_echo "$ac_try_echo"; } >&5
1888
(eval "$ac_link") 2>conftest.err
1890
if test -s conftest.err; then
1891
grep -v '^ *+' conftest.err >conftest.er1
1892
cat conftest.er1 >&5
1893
mv -f conftest.er1 conftest.err
1895
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1896
test $ac_status = 0; } && {
1897
test -z "$ac_c_werror_flag" ||
1898
test ! -s conftest.err
1899
} && test -s conftest$ac_exeext && {
1900
test "$cross_compiling" = yes ||
1901
$as_test_x conftest$ac_exeext
1905
$as_echo "$as_me: failed program was:" >&5
1906
sed 's/^/| /' conftest.$ac_ext >&5
1910
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1911
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1912
# interfere with the next link command; also delete a directory that is
1913
# left behind by Apple's compiler. We do this before executing the actions.
1914
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1915
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1916
as_fn_set_status $ac_retval
1918
} # ac_fn_c_try_link
1920
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1921
# -------------------------------------------------------
1922
# Tests whether HEADER exists and can be compiled using the include files in
1923
# INCLUDES, setting the cache variable VAR accordingly.
1924
ac_fn_c_check_header_compile ()
1926
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1927
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1928
$as_echo_n "checking for $2... " >&6; }
1929
if eval "test \"\${$3+set}\"" = set; then :
1930
$as_echo_n "(cached) " >&6
1932
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1933
/* end confdefs.h. */
1937
if ac_fn_c_try_compile "$LINENO"; then :
1942
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1945
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1946
$as_echo "$ac_res" >&6; }
1947
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1949
} # ac_fn_c_check_header_compile
1951
# ac_fn_c_check_func LINENO FUNC VAR
1952
# ----------------------------------
1953
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1954
ac_fn_c_check_func ()
1956
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1957
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1958
$as_echo_n "checking for $2... " >&6; }
1959
if eval "test \"\${$3+set}\"" = set; then :
1960
$as_echo_n "(cached) " >&6
1962
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1963
/* end confdefs.h. */
1964
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1965
For example, HP-UX 11i <limits.h> declares gettimeofday. */
1966
#define $2 innocuous_$2
1968
/* System header to define __stub macros and hopefully few prototypes,
1969
which can conflict with char $2 (); below.
1970
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1971
<limits.h> exists even on freestanding compilers. */
1974
# include <limits.h>
1976
# include <assert.h>
1981
/* Override any GCC internal prototype to avoid an error.
1982
Use char because int might match the return type of a GCC
1983
builtin and then its argument prototype would still apply. */
1988
/* The GNU C library defines this for functions which it implements
1989
to always fail with ENOSYS. Some functions are actually named
1990
something starting with __ and the normal name is an alias. */
1991
#if defined __stub_$2 || defined __stub___$2
2003
if ac_fn_c_try_link "$LINENO"; then :
2008
rm -f core conftest.err conftest.$ac_objext \
2009
conftest$ac_exeext conftest.$ac_ext
2012
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2013
$as_echo "$ac_res" >&6; }
2014
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2016
} # ac_fn_c_check_func
2018
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2019
# -------------------------------------------------------
2020
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
2021
# the include files in INCLUDES and setting the cache variable VAR
2023
ac_fn_c_check_header_mongrel ()
2025
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2026
if eval "test \"\${$3+set}\"" = set; then :
2027
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2028
$as_echo_n "checking for $2... " >&6; }
2029
if eval "test \"\${$3+set}\"" = set; then :
2030
$as_echo_n "(cached) " >&6
2033
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2034
$as_echo "$ac_res" >&6; }
2036
# Is the header compilable?
2037
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2038
$as_echo_n "checking $2 usability... " >&6; }
2039
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2040
/* end confdefs.h. */
2044
if ac_fn_c_try_compile "$LINENO"; then :
2045
ac_header_compiler=yes
2047
ac_header_compiler=no
2049
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2050
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2051
$as_echo "$ac_header_compiler" >&6; }
2053
# Is the header present?
2054
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2055
$as_echo_n "checking $2 presence... " >&6; }
2056
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2057
/* end confdefs.h. */
2060
if ac_fn_c_try_cpp "$LINENO"; then :
2061
ac_header_preproc=yes
2063
ac_header_preproc=no
2065
rm -f conftest.err conftest.i conftest.$ac_ext
2066
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2067
$as_echo "$ac_header_preproc" >&6; }
2069
# So? What about this header?
2070
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2072
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2073
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2074
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2075
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2078
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2079
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2080
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2081
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2082
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2083
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2084
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2085
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2086
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2087
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2088
( $as_echo "## ------------------------------------------------------ ##
2089
## Report this to https://launchpad.net/unity-place-files ##
2090
## ------------------------------------------------------ ##"
2091
) | sed "s/^/$as_me: WARNING: /" >&2
2094
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2095
$as_echo_n "checking for $2... " >&6; }
2096
if eval "test \"\${$3+set}\"" = set; then :
2097
$as_echo_n "(cached) " >&6
2099
eval "$3=\$ac_header_compiler"
2102
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2103
$as_echo "$ac_res" >&6; }
2105
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2107
} # ac_fn_c_check_header_mongrel
2108
cat >config.log <<_ACEOF
2109
This file contains any messages produced by compilers while
2110
running configure, to aid debugging if configure makes a mistake.
2112
It was created by unity-place-files $as_me 0.5.38, which was
2113
generated by GNU Autoconf 2.67. Invocation command line was
2125
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2126
uname -m = `(uname -m) 2>/dev/null || echo unknown`
2127
uname -r = `(uname -r) 2>/dev/null || echo unknown`
2128
uname -s = `(uname -s) 2>/dev/null || echo unknown`
2129
uname -v = `(uname -v) 2>/dev/null || echo unknown`
2131
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2132
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2134
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2135
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2136
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2137
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2138
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2139
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2140
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2144
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2148
test -z "$as_dir" && as_dir=.
2149
$as_echo "PATH: $as_dir"
2165
# Keep a trace of the command line.
2166
# Strip out --no-create and --no-recursion so they do not pile up.
2167
# Strip out --silent because we don't want to record it for future runs.
2168
# Also quote any args containing shell meta-characters.
2169
# Make two passes to allow for proper duplicate-argument suppression.
2173
ac_must_keep_next=false
2179
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2180
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
2181
| -silent | --silent | --silen | --sile | --sil)
2184
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2187
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2189
as_fn_append ac_configure_args1 " '$ac_arg'"
2190
if test $ac_must_keep_next = true; then
2191
ac_must_keep_next=false # Got value, back to normal.
2194
*=* | --config-cache | -C | -disable-* | --disable-* \
2195
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2196
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2197
| -with-* | --with-* | -without-* | --without-* | --x)
2198
case "$ac_configure_args0 " in
2199
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2202
-* ) ac_must_keep_next=true ;;
2205
as_fn_append ac_configure_args " '$ac_arg'"
2210
{ ac_configure_args0=; unset ac_configure_args0;}
2211
{ ac_configure_args1=; unset ac_configure_args1;}
2213
# When interrupted or exit'd, cleanup temporary files, and complete
2214
# config.log. We remove comments because anyway the quotes in there
2215
# would cause problems or look ugly.
2216
# WARNING: Use '\'' to represent an apostrophe within the trap.
2217
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2218
trap 'exit_status=$?
2219
# Save into config.log some information that might help in debugging.
2223
$as_echo "## ---------------- ##
2224
## Cache variables. ##
2225
## ---------------- ##"
2227
# The following way of writing the cache mishandles newlines in values,
2229
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2230
eval ac_val=\$$ac_var
2234
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2235
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2238
_ | IFS | as_nl) ;; #(
2239
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2240
*) { eval $ac_var=; unset $ac_var;} ;;
2245
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2246
*${as_nl}ac_space=\ *)
2248
"s/'\''/'\''\\\\'\'''\''/g;
2249
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2252
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2259
$as_echo "## ----------------- ##
2260
## Output variables. ##
2261
## ----------------- ##"
2263
for ac_var in $ac_subst_vars
2265
eval ac_val=\$$ac_var
2267
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2269
$as_echo "$ac_var='\''$ac_val'\''"
2273
if test -n "$ac_subst_files"; then
2274
$as_echo "## ------------------- ##
2275
## File substitutions. ##
2276
## ------------------- ##"
2278
for ac_var in $ac_subst_files
2280
eval ac_val=\$$ac_var
2282
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2284
$as_echo "$ac_var='\''$ac_val'\''"
2289
if test -s confdefs.h; then
2290
$as_echo "## ----------- ##
2297
test "$ac_signal" != 0 &&
2298
$as_echo "$as_me: caught signal $ac_signal"
2299
$as_echo "$as_me: exit $exit_status"
2301
rm -f core *.core core.conftest.* &&
2302
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2305
for ac_signal in 1 2 13 15; do
2306
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2310
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2311
rm -f -r conftest* confdefs.h
2313
$as_echo "/* confdefs.h */" > confdefs.h
2315
# Predefined preprocessor variables.
2317
cat >>confdefs.h <<_ACEOF
2318
#define PACKAGE_NAME "$PACKAGE_NAME"
2321
cat >>confdefs.h <<_ACEOF
2322
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2325
cat >>confdefs.h <<_ACEOF
2326
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2329
cat >>confdefs.h <<_ACEOF
2330
#define PACKAGE_STRING "$PACKAGE_STRING"
2333
cat >>confdefs.h <<_ACEOF
2334
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2337
cat >>confdefs.h <<_ACEOF
2338
#define PACKAGE_URL "$PACKAGE_URL"
2342
# Let the site file select an alternate cache file if it wants to.
2343
# Prefer an explicitly selected file to automatically selected ones.
2346
if test -n "$CONFIG_SITE"; then
2347
# We do not want a PATH search for config.site.
2348
case $CONFIG_SITE in #((
2349
-*) ac_site_file1=./$CONFIG_SITE;;
2350
*/*) ac_site_file1=$CONFIG_SITE;;
2351
*) ac_site_file1=./$CONFIG_SITE;;
2353
elif test "x$prefix" != xNONE; then
2354
ac_site_file1=$prefix/share/config.site
2355
ac_site_file2=$prefix/etc/config.site
2357
ac_site_file1=$ac_default_prefix/share/config.site
2358
ac_site_file2=$ac_default_prefix/etc/config.site
2360
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2362
test "x$ac_site_file" = xNONE && continue
2363
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2364
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2365
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2366
sed 's/^/| /' "$ac_site_file" >&5
2368
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2369
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2370
as_fn_error $? "failed to load site script $ac_site_file
2371
See \`config.log' for more details" "$LINENO" 5 ; }
2375
if test -r "$cache_file"; then
2376
# Some versions of bash will fail to source /dev/null (special files
2377
# actually), so we avoid doing that. DJGPP emulates it as a regular file.
2378
if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2379
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2380
$as_echo "$as_me: loading cache $cache_file" >&6;}
2382
[\\/]* | ?:[\\/]* ) . "$cache_file";;
2383
*) . "./$cache_file";;
2387
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2388
$as_echo "$as_me: creating cache $cache_file" >&6;}
2392
# Check that the precious variables saved in the cache have kept the same
2394
ac_cache_corrupted=false
2395
for ac_var in $ac_precious_vars; do
2396
eval ac_old_set=\$ac_cv_env_${ac_var}_set
2397
eval ac_new_set=\$ac_env_${ac_var}_set
2398
eval ac_old_val=\$ac_cv_env_${ac_var}_value
2399
eval ac_new_val=\$ac_env_${ac_var}_value
2400
case $ac_old_set,$ac_new_set in
2402
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2403
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2404
ac_cache_corrupted=: ;;
2406
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2407
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2408
ac_cache_corrupted=: ;;
2411
if test "x$ac_old_val" != "x$ac_new_val"; then
2412
# differences in whitespace do not lead to failure.
2413
ac_old_val_w=`echo x $ac_old_val`
2414
ac_new_val_w=`echo x $ac_new_val`
2415
if test "$ac_old_val_w" != "$ac_new_val_w"; then
2416
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2417
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2418
ac_cache_corrupted=:
2420
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2421
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2422
eval $ac_var=\$ac_old_val
2424
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2425
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2426
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2427
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2430
# Pass precious variables to config.status.
2431
if test "$ac_new_set" = set; then
2433
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2434
*) ac_arg=$ac_var=$ac_new_val ;;
2436
case " $ac_configure_args " in
2437
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2438
*) as_fn_append ac_configure_args " '$ac_arg'" ;;
2442
if $ac_cache_corrupted; then
2443
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2444
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2445
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2446
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2447
as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2449
## -------------------- ##
2450
## Main body of script. ##
2451
## -------------------- ##
2454
ac_cpp='$CPP $CPPFLAGS'
2455
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2456
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2457
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2462
am__api_version='1.11'
2465
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2466
if test -f "$ac_dir/install-sh"; then
2468
ac_install_sh="$ac_aux_dir/install-sh -c"
2470
elif test -f "$ac_dir/install.sh"; then
2472
ac_install_sh="$ac_aux_dir/install.sh -c"
2474
elif test -f "$ac_dir/shtool"; then
2476
ac_install_sh="$ac_aux_dir/shtool install -c"
2480
if test -z "$ac_aux_dir"; then
2481
as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2484
# These three variables are undocumented and unsupported,
2485
# and are intended to be withdrawn in a future Autoconf release.
2486
# They can cause serious problems if a builder's source tree is in a directory
2487
# whose full name contains unusual characters.
2488
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2489
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2490
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2493
# Find a good install program. We prefer a C program (faster),
2494
# so one script is as good as another. But avoid the broken or
2495
# incompatible versions:
2496
# SysV /etc/install, /usr/sbin/install
2497
# SunOS /usr/etc/install
2498
# IRIX /sbin/install
2500
# AmigaOS /C/install, which installs bootblocks on floppy discs
2501
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2502
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2503
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2504
# OS/2's system install, which has a completely different semantic
2505
# ./install, which can be erroneously created by make from ./install.sh.
2506
# Reject install programs that cannot install multiple files.
2507
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2508
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2509
if test -z "$INSTALL"; then
2510
if test "${ac_cv_path_install+set}" = set; then :
2511
$as_echo_n "(cached) " >&6
2513
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2517
test -z "$as_dir" && as_dir=.
2518
# Account for people who put trailing slashes in PATH elements.
2519
case $as_dir/ in #((
2520
./ | .// | /[cC]/* | \
2521
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2522
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2525
# OSF1 and SCO ODT 3.0 have their own names for install.
2526
# Don't use installbsd from OSF since it installs stuff as root
2528
for ac_prog in ginstall scoinst install; do
2529
for ac_exec_ext in '' $ac_executable_extensions; do
2530
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2531
if test $ac_prog = install &&
2532
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2533
# AIX install. It has an incompatible calling convention.
2535
elif test $ac_prog = install &&
2536
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2537
# program-specific install script used by HP pwplus--don't use.
2540
rm -rf conftest.one conftest.two conftest.dir
2541
echo one > conftest.one
2542
echo two > conftest.two
2544
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2545
test -s conftest.one && test -s conftest.two &&
2546
test -s conftest.dir/conftest.one &&
2547
test -s conftest.dir/conftest.two
2549
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2562
rm -rf conftest.one conftest.two conftest.dir
2565
if test "${ac_cv_path_install+set}" = set; then
2566
INSTALL=$ac_cv_path_install
2568
# As a last resort, use the slow shell script. Don't cache a
2569
# value for INSTALL within a source directory, because that will
2570
# break other packages using the cache if that directory is
2571
# removed, or if the value is a relative name.
2572
INSTALL=$ac_install_sh
2575
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2576
$as_echo "$INSTALL" >&6; }
2578
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2579
# It thinks the first close brace ends the variable substitution.
2580
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2582
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2584
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2586
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2587
$as_echo_n "checking whether build environment is sane... " >&6; }
2590
echo timestamp > conftest.file
2591
# Reject unsafe characters in $srcdir or the absolute working directory
2592
# name. Accept space and tab only in the latter.
2596
*[\\\"\#\$\&\'\`$am_lf]*)
2597
as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
2600
*[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2601
as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
2604
# Do `set' in a subshell so we don't clobber the current shell's
2605
# arguments. Must try -L first in case configure is actually a
2606
# symlink; some systems play weird games with the mod time of symlinks
2607
# (eg FreeBSD returns the mod time of the symlink's containing
2610
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2611
if test "$*" = "X"; then
2613
set X `ls -t "$srcdir/configure" conftest.file`
2616
if test "$*" != "X $srcdir/configure conftest.file" \
2617
&& test "$*" != "X conftest.file $srcdir/configure"; then
2619
# If neither matched, then we have a broken ls. This can happen
2620
# if, for instance, CONFIG_SHELL is bash and it inherits a
2621
# broken ls alias from the environment. This has actually
2622
# happened. Such a system could not be considered "sane".
2623
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2624
alias in your environment" "$LINENO" 5
2627
test "$2" = conftest.file
2633
as_fn_error $? "newly created file is older than distributed files!
2634
Check your system clock" "$LINENO" 5
2636
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2637
$as_echo "yes" >&6; }
2638
test "$program_prefix" != NONE &&
2639
program_transform_name="s&^&$program_prefix&;$program_transform_name"
2640
# Use a double $ so make ignores it.
2641
test "$program_suffix" != NONE &&
2642
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2643
# Double any \ or $.
2644
# By default was `s,x,x', remove it if useless.
2645
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2646
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2648
# expand $ac_aux_dir to an absolute path
2649
am_aux_dir=`cd $ac_aux_dir && pwd`
2651
if test x"${MISSING+set}" != xset; then
2654
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2656
MISSING="\${SHELL} $am_aux_dir/missing" ;;
2659
# Use eval to expand $SHELL
2660
if eval "$MISSING --run true"; then
2661
am_missing_run="$MISSING --run "
2664
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2665
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2668
if test x"${install_sh}" != xset; then
2671
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2673
install_sh="\${SHELL} $am_aux_dir/install-sh"
2677
# Installed binaries are usually stripped using `strip' when the user
2678
# run `make install-strip'. However `strip' might not be the right
2679
# tool to use in cross-compilation environments, therefore Automake
2680
# will honor the `STRIP' environment variable to overrule this program.
2681
if test "$cross_compiling" != no; then
2682
if test -n "$ac_tool_prefix"; then
2683
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2684
set dummy ${ac_tool_prefix}strip; ac_word=$2
2685
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2686
$as_echo_n "checking for $ac_word... " >&6; }
2687
if test "${ac_cv_prog_STRIP+set}" = set; then :
2688
$as_echo_n "(cached) " >&6
2690
if test -n "$STRIP"; then
2691
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2693
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2697
test -z "$as_dir" && as_dir=.
2698
for ac_exec_ext in '' $ac_executable_extensions; do
2699
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2700
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2701
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2710
STRIP=$ac_cv_prog_STRIP
2711
if test -n "$STRIP"; then
2712
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2713
$as_echo "$STRIP" >&6; }
2715
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2716
$as_echo "no" >&6; }
2721
if test -z "$ac_cv_prog_STRIP"; then
2723
# Extract the first word of "strip", so it can be a program name with args.
2724
set dummy strip; ac_word=$2
2725
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2726
$as_echo_n "checking for $ac_word... " >&6; }
2727
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2728
$as_echo_n "(cached) " >&6
2730
if test -n "$ac_ct_STRIP"; then
2731
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2733
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2737
test -z "$as_dir" && as_dir=.
2738
for ac_exec_ext in '' $ac_executable_extensions; do
2739
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2740
ac_cv_prog_ac_ct_STRIP="strip"
2741
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2750
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2751
if test -n "$ac_ct_STRIP"; then
2752
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2753
$as_echo "$ac_ct_STRIP" >&6; }
2755
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2756
$as_echo "no" >&6; }
2759
if test "x$ac_ct_STRIP" = x; then
2762
case $cross_compiling:$ac_tool_warned in
2764
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2765
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2766
ac_tool_warned=yes ;;
2771
STRIP="$ac_cv_prog_STRIP"
2775
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2777
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2778
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2779
if test -z "$MKDIR_P"; then
2780
if test "${ac_cv_path_mkdir+set}" = set; then :
2781
$as_echo_n "(cached) " >&6
2783
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2784
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2787
test -z "$as_dir" && as_dir=.
2788
for ac_prog in mkdir gmkdir; do
2789
for ac_exec_ext in '' $ac_executable_extensions; do
2790
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2791
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2792
'mkdir (GNU coreutils) '* | \
2793
'mkdir (coreutils) '* | \
2794
'mkdir (fileutils) '4.1*)
2795
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2805
test -d ./--version && rmdir ./--version
2806
if test "${ac_cv_path_mkdir+set}" = set; then
2807
MKDIR_P="$ac_cv_path_mkdir -p"
2809
# As a last resort, use the slow shell script. Don't cache a
2810
# value for MKDIR_P within a source directory, because that will
2811
# break other packages using the cache if that directory is
2812
# removed, or if the value is a relative name.
2813
MKDIR_P="$ac_install_sh -d"
2816
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2817
$as_echo "$MKDIR_P" >&6; }
2821
[\\/$]* | ?:[\\/]*) ;;
2822
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2825
for ac_prog in gawk mawk nawk awk
2827
# Extract the first word of "$ac_prog", so it can be a program name with args.
2828
set dummy $ac_prog; ac_word=$2
2829
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2830
$as_echo_n "checking for $ac_word... " >&6; }
2831
if test "${ac_cv_prog_AWK+set}" = set; then :
2832
$as_echo_n "(cached) " >&6
2834
if test -n "$AWK"; then
2835
ac_cv_prog_AWK="$AWK" # Let the user override the test.
2837
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2841
test -z "$as_dir" && as_dir=.
2842
for ac_exec_ext in '' $ac_executable_extensions; do
2843
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2844
ac_cv_prog_AWK="$ac_prog"
2845
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2855
if test -n "$AWK"; then
2856
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2857
$as_echo "$AWK" >&6; }
2859
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2860
$as_echo "no" >&6; }
2864
test -n "$AWK" && break
2867
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2868
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2870
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2871
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2872
$as_echo_n "(cached) " >&6
2874
cat >conftest.make <<\_ACEOF
2877
@echo '@@@%%%=$(MAKE)=@@@%%%'
2879
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2880
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2882
eval ac_cv_prog_make_${ac_make}_set=yes;;
2884
eval ac_cv_prog_make_${ac_make}_set=no;;
2888
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2889
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2890
$as_echo "yes" >&6; }
2893
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2894
$as_echo "no" >&6; }
2895
SET_MAKE="MAKE=${MAKE-make}"
2898
rm -rf .tst 2>/dev/null
2899
mkdir .tst 2>/dev/null
2900
if test -d .tst; then
2905
rmdir .tst 2>/dev/null
2907
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2908
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2909
# is not polluted with repeated "-I."
2910
am__isrc=' -I$(srcdir)'
2911
# test to see if srcdir already configured
2912
if test -f $srcdir/config.status; then
2913
as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2917
# test whether we have cygpath
2918
if test -z "$CYGPATH_W"; then
2919
if (cygpath --version) >/dev/null 2>/dev/null; then
2920
CYGPATH_W='cygpath -w'
2927
# Define the identity of the package.
2928
PACKAGE=unity-place-files
2932
cat >>confdefs.h <<_ACEOF
2933
#define PACKAGE "$PACKAGE"
2937
cat >>confdefs.h <<_ACEOF
2938
#define VERSION "$VERSION"
2941
# Some tools Automake needs.
2943
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2946
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2949
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2952
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2955
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2957
# We need awk for the "check" target. The system "awk" is bad on
2959
# Always define AMTAR for backward compatibility.
2961
AMTAR=${AMTAR-"${am_missing_run}tar"}
2963
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2970
#####################################################
2971
# Silent build rules
2972
#####################################################
2973
# Check whether --enable-silent-rules was given.
2974
if test "${enable_silent_rules+set}" = set; then :
2975
enableval=$enable_silent_rules;
2978
case $enable_silent_rules in
2979
yes) AM_DEFAULT_VERBOSITY=0;;
2980
no) AM_DEFAULT_VERBOSITY=1;;
2981
*) AM_DEFAULT_VERBOSITY=0;;
2988
ac_config_headers="$ac_config_headers config.h"
2991
#####################################################
2992
# Init the other things we depend on
2993
#####################################################
2995
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2996
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2997
# Check whether --enable-maintainer-mode was given.
2998
if test "${enable_maintainer_mode+set}" = set; then :
2999
enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3001
USE_MAINTAINER_MODE=no
3004
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3005
$as_echo "$USE_MAINTAINER_MODE" >&6; }
3006
if test $USE_MAINTAINER_MODE = yes; then
3007
MAINTAINER_MODE_TRUE=
3008
MAINTAINER_MODE_FALSE='#'
3010
MAINTAINER_MODE_TRUE='#'
3011
MAINTAINER_MODE_FALSE=
3014
MAINT=$MAINTAINER_MODE_TRUE
3017
# Extract the first word of "valac", so it can be a program name with args.
3018
set dummy valac; ac_word=$2
3019
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3020
$as_echo_n "checking for $ac_word... " >&6; }
3021
if test "${ac_cv_path_VALAC+set}" = set; then :
3022
$as_echo_n "(cached) " >&6
3026
ac_cv_path_VALAC="$VALAC" # Let the user override the test with a path.
3029
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3033
test -z "$as_dir" && as_dir=.
3034
for ac_exec_ext in '' $ac_executable_extensions; do
3035
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3036
ac_cv_path_VALAC="$as_dir/$ac_word$ac_exec_ext"
3037
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3047
VALAC=$ac_cv_path_VALAC
3048
if test -n "$VALAC"; then
3049
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALAC" >&5
3050
$as_echo "$VALAC" >&6; }
3052
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3053
$as_echo "no" >&6; }
3057
if test -z "$VALAC"; then :
3058
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No Vala compiler found. You will not be able to compile .vala source files." >&5
3059
$as_echo "$as_me: WARNING: No Vala compiler found. You will not be able to compile .vala source files." >&2;}
3061
if test -n "0.8.0"; then :
3062
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $VALAC is at least version 0.8.0" >&5
3063
$as_echo_n "checking $VALAC is at least version 0.8.0... " >&6; }
3064
am__vala_version=`$VALAC --version | sed 's/Vala *//'`
3066
as_arg_v2="$am__vala_version"
3067
awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
3070
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3071
$as_echo "yes" >&6; } ;; #(
3073
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3074
$as_echo "yes" >&6; } ;; #(
3076
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3077
$as_echo "no" >&6; }
3078
as_fn_error $? "Vala 0.8.0 not found." "$LINENO" 5 ;; #(
3085
if test -z "$VALAC"; then :
3086
as_fn_error $? "\"No valac compiler found.\"" "$LINENO" 5
3089
ac_cpp='$CPP $CPPFLAGS'
3090
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3091
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3092
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3093
if test -n "$ac_tool_prefix"; then
3094
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3095
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3096
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3097
$as_echo_n "checking for $ac_word... " >&6; }
3098
if test "${ac_cv_prog_CC+set}" = set; then :
3099
$as_echo_n "(cached) " >&6
3101
if test -n "$CC"; then
3102
ac_cv_prog_CC="$CC" # Let the user override the test.
3104
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3108
test -z "$as_dir" && as_dir=.
3109
for ac_exec_ext in '' $ac_executable_extensions; do
3110
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3111
ac_cv_prog_CC="${ac_tool_prefix}gcc"
3112
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3122
if test -n "$CC"; then
3123
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3124
$as_echo "$CC" >&6; }
3126
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3127
$as_echo "no" >&6; }
3132
if test -z "$ac_cv_prog_CC"; then
3134
# Extract the first word of "gcc", so it can be a program name with args.
3135
set dummy gcc; ac_word=$2
3136
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3137
$as_echo_n "checking for $ac_word... " >&6; }
3138
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3139
$as_echo_n "(cached) " >&6
3141
if test -n "$ac_ct_CC"; then
3142
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3144
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3148
test -z "$as_dir" && as_dir=.
3149
for ac_exec_ext in '' $ac_executable_extensions; do
3150
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3151
ac_cv_prog_ac_ct_CC="gcc"
3152
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3161
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3162
if test -n "$ac_ct_CC"; then
3163
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3164
$as_echo "$ac_ct_CC" >&6; }
3166
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3167
$as_echo "no" >&6; }
3170
if test "x$ac_ct_CC" = x; then
3173
case $cross_compiling:$ac_tool_warned in
3175
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3176
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3177
ac_tool_warned=yes ;;
3185
if test -z "$CC"; then
3186
if test -n "$ac_tool_prefix"; then
3187
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3188
set dummy ${ac_tool_prefix}cc; ac_word=$2
3189
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3190
$as_echo_n "checking for $ac_word... " >&6; }
3191
if test "${ac_cv_prog_CC+set}" = set; then :
3192
$as_echo_n "(cached) " >&6
3194
if test -n "$CC"; then
3195
ac_cv_prog_CC="$CC" # Let the user override the test.
3197
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3201
test -z "$as_dir" && as_dir=.
3202
for ac_exec_ext in '' $ac_executable_extensions; do
3203
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3204
ac_cv_prog_CC="${ac_tool_prefix}cc"
3205
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3215
if test -n "$CC"; then
3216
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3217
$as_echo "$CC" >&6; }
3219
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3220
$as_echo "no" >&6; }
3226
if test -z "$CC"; then
3227
# Extract the first word of "cc", so it can be a program name with args.
3228
set dummy cc; ac_word=$2
3229
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3230
$as_echo_n "checking for $ac_word... " >&6; }
3231
if test "${ac_cv_prog_CC+set}" = set; then :
3232
$as_echo_n "(cached) " >&6
3234
if test -n "$CC"; then
3235
ac_cv_prog_CC="$CC" # Let the user override the test.
3238
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3242
test -z "$as_dir" && as_dir=.
3243
for ac_exec_ext in '' $ac_executable_extensions; do
3244
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3245
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3246
ac_prog_rejected=yes
3250
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3257
if test $ac_prog_rejected = yes; then
3258
# We found a bogon in the path, so make sure we never use it.
3259
set dummy $ac_cv_prog_CC
3261
if test $# != 0; then
3262
# We chose a different compiler from the bogus one.
3263
# However, it has the same basename, so the bogon will be chosen
3264
# first if we set CC to just the basename; use the full file name.
3266
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3272
if test -n "$CC"; then
3273
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3274
$as_echo "$CC" >&6; }
3276
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3277
$as_echo "no" >&6; }
3282
if test -z "$CC"; then
3283
if test -n "$ac_tool_prefix"; then
3284
for ac_prog in cl.exe
3286
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3287
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3288
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3289
$as_echo_n "checking for $ac_word... " >&6; }
3290
if test "${ac_cv_prog_CC+set}" = set; then :
3291
$as_echo_n "(cached) " >&6
3293
if test -n "$CC"; then
3294
ac_cv_prog_CC="$CC" # Let the user override the test.
3296
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3300
test -z "$as_dir" && as_dir=.
3301
for ac_exec_ext in '' $ac_executable_extensions; do
3302
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3303
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3304
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3314
if test -n "$CC"; then
3315
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3316
$as_echo "$CC" >&6; }
3318
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3319
$as_echo "no" >&6; }
3323
test -n "$CC" && break
3326
if test -z "$CC"; then
3328
for ac_prog in cl.exe
3330
# Extract the first word of "$ac_prog", so it can be a program name with args.
3331
set dummy $ac_prog; ac_word=$2
3332
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3333
$as_echo_n "checking for $ac_word... " >&6; }
3334
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3335
$as_echo_n "(cached) " >&6
3337
if test -n "$ac_ct_CC"; then
3338
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3340
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3344
test -z "$as_dir" && as_dir=.
3345
for ac_exec_ext in '' $ac_executable_extensions; do
3346
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3347
ac_cv_prog_ac_ct_CC="$ac_prog"
3348
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3357
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3358
if test -n "$ac_ct_CC"; then
3359
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3360
$as_echo "$ac_ct_CC" >&6; }
3362
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3363
$as_echo "no" >&6; }
3367
test -n "$ac_ct_CC" && break
3370
if test "x$ac_ct_CC" = x; then
3373
case $cross_compiling:$ac_tool_warned in
3375
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3376
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3377
ac_tool_warned=yes ;;
3386
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3387
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3388
as_fn_error $? "no acceptable C compiler found in \$PATH
3389
See \`config.log' for more details" "$LINENO" 5 ; }
3391
# Provide some information about the compiler.
3392
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3395
for ac_option in --version -v -V -qversion; do
3396
{ { ac_try="$ac_compiler $ac_option >&5"
3398
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3399
*) ac_try_echo=$ac_try;;
3401
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3402
$as_echo "$ac_try_echo"; } >&5
3403
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
3405
if test -s conftest.err; then
3407
... rest of stderr output deleted ...
3408
10q' conftest.err >conftest.er1
3409
cat conftest.er1 >&5
3411
rm -f conftest.er1 conftest.err
3412
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3413
test $ac_status = 0; }
3416
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3417
/* end confdefs.h. */
3427
ac_clean_files_save=$ac_clean_files
3428
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3429
# Try to create an executable without -o first, disregard a.out.
3430
# It will help us diagnose broken compilers, and finding out an intuition
3432
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3433
$as_echo_n "checking whether the C compiler works... " >&6; }
3434
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3436
# The possible output files:
3437
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3440
for ac_file in $ac_files
3443
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3444
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
3449
if { { ac_try="$ac_link_default"
3451
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3452
*) ac_try_echo=$ac_try;;
3454
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3455
$as_echo "$ac_try_echo"; } >&5
3456
(eval "$ac_link_default") 2>&5
3458
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3459
test $ac_status = 0; }; then :
3460
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3461
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3462
# in a Makefile. We should not override ac_cv_exeext if it was cached,
3463
# so that the user can short-circuit this test for compilers unknown to
3465
for ac_file in $ac_files ''
3467
test -f "$ac_file" || continue
3469
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3472
# We found the default executable, but exeext='' is most
3476
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3478
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3480
# We set ac_cv_exeext here because the later test for it is not
3481
# safe: cross compilers may not add the suffix if given an `-o'
3482
# argument, so we may need to know it at that point already.
3483
# Even if this section looks crufty: it has the advantage of
3490
test "$ac_cv_exeext" = no && ac_cv_exeext=
3495
if test -z "$ac_file"; then :
3496
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3497
$as_echo "no" >&6; }
3498
$as_echo "$as_me: failed program was:" >&5
3499
sed 's/^/| /' conftest.$ac_ext >&5
3501
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3502
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3503
as_fn_error 77 "C compiler cannot create executables
3504
See \`config.log' for more details" "$LINENO" 5 ; }
3506
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3507
$as_echo "yes" >&6; }
3509
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3510
$as_echo_n "checking for C compiler default output file name... " >&6; }
3511
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3512
$as_echo "$ac_file" >&6; }
3513
ac_exeext=$ac_cv_exeext
3515
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3516
ac_clean_files=$ac_clean_files_save
3517
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3518
$as_echo_n "checking for suffix of executables... " >&6; }
3519
if { { ac_try="$ac_link"
3521
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3522
*) ac_try_echo=$ac_try;;
3524
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3525
$as_echo "$ac_try_echo"; } >&5
3526
(eval "$ac_link") 2>&5
3528
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3529
test $ac_status = 0; }; then :
3530
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3531
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3532
# work properly (i.e., refer to `conftest.exe'), while it won't with
3534
for ac_file in conftest.exe conftest conftest.*; do
3535
test -f "$ac_file" || continue
3537
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3538
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3544
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3545
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3546
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3547
See \`config.log' for more details" "$LINENO" 5 ; }
3549
rm -f conftest conftest$ac_cv_exeext
3550
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3551
$as_echo "$ac_cv_exeext" >&6; }
3553
rm -f conftest.$ac_ext
3554
EXEEXT=$ac_cv_exeext
3556
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3557
/* end confdefs.h. */
3562
FILE *f = fopen ("conftest.out", "w");
3563
return ferror (f) || fclose (f) != 0;
3569
ac_clean_files="$ac_clean_files conftest.out"
3570
# Check that the compiler produces executables we can run. If not, either
3571
# the compiler is broken, or we cross compile.
3572
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3573
$as_echo_n "checking whether we are cross compiling... " >&6; }
3574
if test "$cross_compiling" != yes; then
3575
{ { ac_try="$ac_link"
3577
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3578
*) ac_try_echo=$ac_try;;
3580
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3581
$as_echo "$ac_try_echo"; } >&5
3582
(eval "$ac_link") 2>&5
3584
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3585
test $ac_status = 0; }
3586
if { ac_try='./conftest$ac_cv_exeext'
3587
{ { case "(($ac_try" in
3588
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3589
*) ac_try_echo=$ac_try;;
3591
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3592
$as_echo "$ac_try_echo"; } >&5
3593
(eval "$ac_try") 2>&5
3595
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3596
test $ac_status = 0; }; }; then
3599
if test "$cross_compiling" = maybe; then
3602
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3603
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3604
as_fn_error $? "cannot run C compiled programs.
3605
If you meant to cross compile, use \`--host'.
3606
See \`config.log' for more details" "$LINENO" 5 ; }
3610
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3611
$as_echo "$cross_compiling" >&6; }
3613
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3614
ac_clean_files=$ac_clean_files_save
3615
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3616
$as_echo_n "checking for suffix of object files... " >&6; }
3617
if test "${ac_cv_objext+set}" = set; then :
3618
$as_echo_n "(cached) " >&6
3620
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3621
/* end confdefs.h. */
3631
rm -f conftest.o conftest.obj
3632
if { { ac_try="$ac_compile"
3634
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3635
*) ac_try_echo=$ac_try;;
3637
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3638
$as_echo "$ac_try_echo"; } >&5
3639
(eval "$ac_compile") 2>&5
3641
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3642
test $ac_status = 0; }; then :
3643
for ac_file in conftest.o conftest.obj conftest.*; do
3644
test -f "$ac_file" || continue;
3646
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3647
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3652
$as_echo "$as_me: failed program was:" >&5
3653
sed 's/^/| /' conftest.$ac_ext >&5
3655
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3656
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3657
as_fn_error $? "cannot compute suffix of object files: cannot compile
3658
See \`config.log' for more details" "$LINENO" 5 ; }
3660
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3662
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3663
$as_echo "$ac_cv_objext" >&6; }
3664
OBJEXT=$ac_cv_objext
3666
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3667
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3668
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3669
$as_echo_n "(cached) " >&6
3671
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3672
/* end confdefs.h. */
3685
if ac_fn_c_try_compile "$LINENO"; then :
3690
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3691
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3694
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3695
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3696
if test $ac_compiler_gnu = yes; then
3701
ac_test_CFLAGS=${CFLAGS+set}
3702
ac_save_CFLAGS=$CFLAGS
3703
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3704
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3705
if test "${ac_cv_prog_cc_g+set}" = set; then :
3706
$as_echo_n "(cached) " >&6
3708
ac_save_c_werror_flag=$ac_c_werror_flag
3709
ac_c_werror_flag=yes
3712
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3713
/* end confdefs.h. */
3723
if ac_fn_c_try_compile "$LINENO"; then :
3727
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3728
/* end confdefs.h. */
3738
if ac_fn_c_try_compile "$LINENO"; then :
3741
ac_c_werror_flag=$ac_save_c_werror_flag
3743
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3744
/* end confdefs.h. */
3754
if ac_fn_c_try_compile "$LINENO"; then :
3757
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3759
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3761
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3762
ac_c_werror_flag=$ac_save_c_werror_flag
3764
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3765
$as_echo "$ac_cv_prog_cc_g" >&6; }
3766
if test "$ac_test_CFLAGS" = set; then
3767
CFLAGS=$ac_save_CFLAGS
3768
elif test $ac_cv_prog_cc_g = yes; then
3769
if test "$GCC" = yes; then
3775
if test "$GCC" = yes; then
3781
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3782
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3783
if test "${ac_cv_prog_cc_c89+set}" = set; then :
3784
$as_echo_n "(cached) " >&6
3786
ac_cv_prog_cc_c89=no
3788
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3789
/* end confdefs.h. */
3792
#include <sys/types.h>
3793
#include <sys/stat.h>
3794
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3795
struct buf { int x; };
3796
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3797
static char *e (p, i)
3803
static char *f (char * (*g) (char **, int), char **p, ...)
3808
s = g (p, va_arg (v,int));
3813
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3814
function prototypes and stuff, but not '\xHH' hex character constants.
3815
These don't provoke an error unfortunately, instead are silently treated
3816
as 'x'. The following induces an error, until -std is added to get
3817
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3818
array size at least. It's necessary to write '\x00'==0 to get something
3819
that's true only with -std. */
3820
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3822
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3823
inside strings and character constants. */
3825
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3827
int test (int i, double x);
3828
struct s1 {int (*f) (int a);};
3829
struct s2 {int (*f) (double a);};
3830
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3836
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3841
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3842
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3844
CC="$ac_save_CC $ac_arg"
3845
if ac_fn_c_try_compile "$LINENO"; then :
3846
ac_cv_prog_cc_c89=$ac_arg
3848
rm -f core conftest.err conftest.$ac_objext
3849
test "x$ac_cv_prog_cc_c89" != "xno" && break
3851
rm -f conftest.$ac_ext
3856
case "x$ac_cv_prog_cc_c89" in
3858
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3859
$as_echo "none needed" >&6; } ;;
3861
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3862
$as_echo "unsupported" >&6; } ;;
3864
CC="$CC $ac_cv_prog_cc_c89"
3865
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3866
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3868
if test "x$ac_cv_prog_cc_c89" != xno; then :
3873
ac_cpp='$CPP $CPPFLAGS'
3874
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3875
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3876
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3877
DEPDIR="${am__leading_dot}deps"
3879
ac_config_commands="$ac_config_commands depfiles"
3882
am_make=${MAKE-make}
3883
cat > confinc << 'END'
3885
@echo this is the am__doit target
3888
# If we don't find an include directive, just comment out the code.
3889
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3890
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3894
# First try GNU make style include.
3895
echo "include confinc" > confmf
3896
# Ignore all kinds of additional output from `make'.
3897
case `$am_make -s -f confmf 2> /dev/null` in #(
3898
*the\ am__doit\ target*)
3904
# Now try BSD make style include.
3905
if test "$am__include" = "#"; then
3906
echo '.include "confinc"' > confmf
3907
case `$am_make -s -f confmf 2> /dev/null` in #(
3908
*the\ am__doit\ target*)
3909
am__include=.include
3917
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3918
$as_echo "$_am_result" >&6; }
3919
rm -f confinc confmf
3921
# Check whether --enable-dependency-tracking was given.
3922
if test "${enable_dependency_tracking+set}" = set; then :
3923
enableval=$enable_dependency_tracking;
3926
if test "x$enable_dependency_tracking" != xno; then
3927
am_depcomp="$ac_aux_dir/depcomp"
3930
if test "x$enable_dependency_tracking" != xno; then
3940
depcc="$CC" am_compiler_list=
3942
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3943
$as_echo_n "checking dependency style of $depcc... " >&6; }
3944
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3945
$as_echo_n "(cached) " >&6
3947
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3948
# We make a subdir and do the tests there. Otherwise we can end up
3949
# making bogus files that we don't know about and never remove. For
3950
# instance it was reported that on HP-UX the gcc test will end up
3951
# making a dummy file named `D' -- because `-MD' means `put the output
3954
# Copy depcomp to subdir because otherwise we won't find it if we're
3955
# using a relative directory.
3956
cp "$am_depcomp" conftest.dir
3958
# We will build objects and dependencies in a subdirectory because
3959
# it helps to detect inapplicable dependency modes. For instance
3960
# both Tru64's cc and ICC support -MD to output dependencies as a
3961
# side effect of compilation, but ICC will put the dependencies in
3962
# the current directory while Tru64 will put them in the object
3966
am_cv_CC_dependencies_compiler_type=none
3967
if test "$am_compiler_list" = ""; then
3968
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3971
case " $depcc " in #(
3972
*\ -arch\ *\ -arch\ *) am__universal=true ;;
3975
for depmode in $am_compiler_list; do
3976
# Setup a source with many dependencies, because some compilers
3977
# like to wrap large dependency lists on column 80 (with \), and
3978
# we should not choose a depcomp mode which is confused by this.
3980
# We need to recreate these files for each test, as the compiler may
3981
# overwrite some of them when testing with obscure command lines.
3982
# This happens at least with the AIX C compiler.
3984
for i in 1 2 3 4 5 6; do
3985
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3986
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3987
# Solaris 8's {/usr,}/bin/sh.
3988
touch sub/conftst$i.h
3990
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3992
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3993
# mode. It turns out that the SunPro C++ compiler does not properly
3994
# handle `-M -o', and we need to detect this. Also, some Intel
3995
# versions had trouble with output in subdirs
3996
am__obj=sub/conftest.${OBJEXT-o}
3997
am__minus_obj="-o $am__obj"
4000
# This depmode causes a compiler race in universal mode.
4001
test "$am__universal" = false || continue
4004
# after this tag, mechanisms are not by side-effect, so they'll
4005
# only be used when explicitly requested
4006
if test "x$enable_dependency_tracking" = xyes; then
4012
msvisualcpp | msvcmsys)
4013
# This compiler won't grok `-c -o', but also, the minuso test has
4014
# not run yet. These depmodes are late enough in the game, and
4015
# so weak that their functioning should not be impacted.
4016
am__obj=conftest.${OBJEXT-o}
4021
if depmode=$depmode \
4022
source=sub/conftest.c object=$am__obj \
4023
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4024
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4025
>/dev/null 2>conftest.err &&
4026
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4027
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4028
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4029
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4030
# icc doesn't choke on unknown options, it will just issue warnings
4031
# or remarks (even with -Werror). So we grep stderr for any message
4032
# that says an option was ignored or not supported.
4033
# When given -MP, icc 7.0 and 7.1 complain thusly:
4034
# icc: Command line warning: ignoring option '-M'; no argument required
4035
# The diagnosis changed in icc 8.0:
4036
# icc: Command line remark: option '-MP' not supported
4037
if (grep 'ignoring option' conftest.err ||
4038
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4039
am_cv_CC_dependencies_compiler_type=$depmode
4048
am_cv_CC_dependencies_compiler_type=none
4052
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4053
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4054
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4057
test "x$enable_dependency_tracking" != xno \
4058
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4060
am__fastdepCC_FALSE='#'
4062
am__fastdepCC_TRUE='#'
4063
am__fastdepCC_FALSE=
4067
if test "x$CC" != xcc; then
4068
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
4069
$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
4071
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
4072
$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
4074
set dummy $CC; ac_cc=`$as_echo "$2" |
4075
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4076
if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\"" = set; then :
4077
$as_echo_n "(cached) " >&6
4079
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4080
/* end confdefs.h. */
4090
# Make sure it works both with $CC and with simple cc.
4091
# We do the test twice because some compilers refuse to overwrite an
4092
# existing .o file with -o, though they will create one.
4093
ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4095
if { { case "(($ac_try" in
4096
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4097
*) ac_try_echo=$ac_try;;
4099
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4100
$as_echo "$ac_try_echo"; } >&5
4101
(eval "$ac_try") 2>&5
4103
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4104
test $ac_status = 0; } &&
4105
test -f conftest2.$ac_objext && { { case "(($ac_try" in
4106
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4107
*) ac_try_echo=$ac_try;;
4109
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4110
$as_echo "$ac_try_echo"; } >&5
4111
(eval "$ac_try") 2>&5
4113
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4114
test $ac_status = 0; };
4116
eval ac_cv_prog_cc_${ac_cc}_c_o=yes
4117
if test "x$CC" != xcc; then
4118
# Test first that cc exists at all.
4119
if { ac_try='cc -c conftest.$ac_ext >&5'
4120
{ { case "(($ac_try" in
4121
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4122
*) ac_try_echo=$ac_try;;
4124
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4125
$as_echo "$ac_try_echo"; } >&5
4126
(eval "$ac_try") 2>&5
4128
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4129
test $ac_status = 0; }; }; then
4130
ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4132
if { { case "(($ac_try" in
4133
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4134
*) ac_try_echo=$ac_try;;
4136
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4137
$as_echo "$ac_try_echo"; } >&5
4138
(eval "$ac_try") 2>&5
4140
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4141
test $ac_status = 0; } &&
4142
test -f conftest2.$ac_objext && { { case "(($ac_try" in
4143
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4144
*) ac_try_echo=$ac_try;;
4146
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4147
$as_echo "$ac_try_echo"; } >&5
4148
(eval "$ac_try") 2>&5
4150
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4151
test $ac_status = 0; };
4156
# cc exists but doesn't like -o.
4157
eval ac_cv_prog_cc_${ac_cc}_c_o=no
4162
eval ac_cv_prog_cc_${ac_cc}_c_o=no
4164
rm -f core conftest*
4167
if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4168
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4169
$as_echo "yes" >&6; }
4171
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4172
$as_echo "no" >&6; }
4174
$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
4178
# FIXME: we rely on the cache variable name because
4179
# there is no other way.
4181
am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4182
eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
4183
if test "$am_t" != yes; then
4184
# Losing compiler, so override with the script.
4185
# FIXME: It is wrong to rewrite CC.
4186
# But if we don't then we get into trouble of one sort or another.
4187
# A longer-term fix would be to have automake use am__CC in this case,
4188
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4189
CC="$am_aux_dir/compile $CC"
4195
ac_cpp='$CPP $CPPFLAGS'
4196
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4197
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4198
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4199
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4200
$as_echo_n "checking how to run the C preprocessor... " >&6; }
4201
# On Suns, sometimes $CPP names a directory.
4202
if test -n "$CPP" && test -d "$CPP"; then
4205
if test -z "$CPP"; then
4206
if test "${ac_cv_prog_CPP+set}" = set; then :
4207
$as_echo_n "(cached) " >&6
4209
# Double quotes because CPP needs to be expanded
4210
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4213
for ac_c_preproc_warn_flag in '' yes
4215
# Use a header file that comes with gcc, so configuring glibc
4216
# with a fresh cross-compiler works.
4217
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4218
# <limits.h> exists even on freestanding compilers.
4219
# On the NeXT, cc -E runs the code through the compiler's parser,
4220
# not just through cpp. "Syntax error" is here to catch this case.
4221
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4222
/* end confdefs.h. */
4224
# include <limits.h>
4226
# include <assert.h>
4230
if ac_fn_c_try_cpp "$LINENO"; then :
4233
# Broken: fails on valid input.
4236
rm -f conftest.err conftest.i conftest.$ac_ext
4238
# OK, works on sane cases. Now check whether nonexistent headers
4239
# can be detected and how.
4240
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4241
/* end confdefs.h. */
4242
#include <ac_nonexistent.h>
4244
if ac_fn_c_try_cpp "$LINENO"; then :
4245
# Broken: success on invalid input.
4248
# Passes both tests.
4252
rm -f conftest.err conftest.i conftest.$ac_ext
4255
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4256
rm -f conftest.i conftest.err conftest.$ac_ext
4257
if $ac_preproc_ok; then :
4269
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4270
$as_echo "$CPP" >&6; }
4272
for ac_c_preproc_warn_flag in '' yes
4274
# Use a header file that comes with gcc, so configuring glibc
4275
# with a fresh cross-compiler works.
4276
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4277
# <limits.h> exists even on freestanding compilers.
4278
# On the NeXT, cc -E runs the code through the compiler's parser,
4279
# not just through cpp. "Syntax error" is here to catch this case.
4280
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4281
/* end confdefs.h. */
4283
# include <limits.h>
4285
# include <assert.h>
4289
if ac_fn_c_try_cpp "$LINENO"; then :
4292
# Broken: fails on valid input.
4295
rm -f conftest.err conftest.i conftest.$ac_ext
4297
# OK, works on sane cases. Now check whether nonexistent headers
4298
# can be detected and how.
4299
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4300
/* end confdefs.h. */
4301
#include <ac_nonexistent.h>
4303
if ac_fn_c_try_cpp "$LINENO"; then :
4304
# Broken: success on invalid input.
4307
# Passes both tests.
4311
rm -f conftest.err conftest.i conftest.$ac_ext
4314
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4315
rm -f conftest.i conftest.err conftest.$ac_ext
4316
if $ac_preproc_ok; then :
4319
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4320
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4321
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4322
See \`config.log' for more details" "$LINENO" 5 ; }
4326
ac_cpp='$CPP $CPPFLAGS'
4327
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4328
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4329
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4332
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4333
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4334
if test "${ac_cv_path_GREP+set}" = set; then :
4335
$as_echo_n "(cached) " >&6
4337
if test -z "$GREP"; then
4338
ac_path_GREP_found=false
4339
# Loop through the user's path and test for each of PROGNAME-LIST
4340
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4341
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4344
test -z "$as_dir" && as_dir=.
4345
for ac_prog in grep ggrep; do
4346
for ac_exec_ext in '' $ac_executable_extensions; do
4347
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4348
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4349
# Check for GNU ac_path_GREP and select it if it is found.
4350
# Check for GNU $ac_path_GREP
4351
case `"$ac_path_GREP" --version 2>&1` in
4353
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4356
$as_echo_n 0123456789 >"conftest.in"
4359
cat "conftest.in" "conftest.in" >"conftest.tmp"
4360
mv "conftest.tmp" "conftest.in"
4361
cp "conftest.in" "conftest.nl"
4362
$as_echo 'GREP' >> "conftest.nl"
4363
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4364
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4365
as_fn_arith $ac_count + 1 && ac_count=$as_val
4366
if test $ac_count -gt ${ac_path_GREP_max-0}; then
4367
# Best one so far, save it but keep looking for a better one
4368
ac_cv_path_GREP="$ac_path_GREP"
4369
ac_path_GREP_max=$ac_count
4371
# 10*(2^10) chars as input seems more than enough
4372
test $ac_count -gt 10 && break
4374
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4377
$ac_path_GREP_found && break 3
4382
if test -z "$ac_cv_path_GREP"; then
4383
as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4386
ac_cv_path_GREP=$GREP
4390
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4391
$as_echo "$ac_cv_path_GREP" >&6; }
4392
GREP="$ac_cv_path_GREP"
4395
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4396
$as_echo_n "checking for egrep... " >&6; }
4397
if test "${ac_cv_path_EGREP+set}" = set; then :
4398
$as_echo_n "(cached) " >&6
4400
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4401
then ac_cv_path_EGREP="$GREP -E"
4403
if test -z "$EGREP"; then
4404
ac_path_EGREP_found=false
4405
# Loop through the user's path and test for each of PROGNAME-LIST
4406
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4407
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4410
test -z "$as_dir" && as_dir=.
4411
for ac_prog in egrep; do
4412
for ac_exec_ext in '' $ac_executable_extensions; do
4413
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4414
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4415
# Check for GNU ac_path_EGREP and select it if it is found.
4416
# Check for GNU $ac_path_EGREP
4417
case `"$ac_path_EGREP" --version 2>&1` in
4419
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4422
$as_echo_n 0123456789 >"conftest.in"
4425
cat "conftest.in" "conftest.in" >"conftest.tmp"
4426
mv "conftest.tmp" "conftest.in"
4427
cp "conftest.in" "conftest.nl"
4428
$as_echo 'EGREP' >> "conftest.nl"
4429
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4430
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4431
as_fn_arith $ac_count + 1 && ac_count=$as_val
4432
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4433
# Best one so far, save it but keep looking for a better one
4434
ac_cv_path_EGREP="$ac_path_EGREP"
4435
ac_path_EGREP_max=$ac_count
4437
# 10*(2^10) chars as input seems more than enough
4438
test $ac_count -gt 10 && break
4440
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4443
$ac_path_EGREP_found && break 3
4448
if test -z "$ac_cv_path_EGREP"; then
4449
as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4452
ac_cv_path_EGREP=$EGREP
4457
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4458
$as_echo "$ac_cv_path_EGREP" >&6; }
4459
EGREP="$ac_cv_path_EGREP"
4462
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4463
$as_echo_n "checking for ANSI C header files... " >&6; }
4464
if test "${ac_cv_header_stdc+set}" = set; then :
4465
$as_echo_n "(cached) " >&6
4467
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4468
/* end confdefs.h. */
4482
if ac_fn_c_try_compile "$LINENO"; then :
4483
ac_cv_header_stdc=yes
4485
ac_cv_header_stdc=no
4487
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4489
if test $ac_cv_header_stdc = yes; then
4490
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4491
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4492
/* end confdefs.h. */
4496
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4497
$EGREP "memchr" >/dev/null 2>&1; then :
4500
ac_cv_header_stdc=no
4506
if test $ac_cv_header_stdc = yes; then
4507
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4508
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4509
/* end confdefs.h. */
4513
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4514
$EGREP "free" >/dev/null 2>&1; then :
4517
ac_cv_header_stdc=no
4523
if test $ac_cv_header_stdc = yes; then
4524
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4525
if test "$cross_compiling" = yes; then :
4528
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4529
/* end confdefs.h. */
4532
#if ((' ' & 0x0FF) == 0x020)
4533
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4534
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4536
# define ISLOWER(c) \
4537
(('a' <= (c) && (c) <= 'i') \
4538
|| ('j' <= (c) && (c) <= 'r') \
4539
|| ('s' <= (c) && (c) <= 'z'))
4540
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4543
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4548
for (i = 0; i < 256; i++)
4549
if (XOR (islower (i), ISLOWER (i))
4550
|| toupper (i) != TOUPPER (i))
4555
if ac_fn_c_try_run "$LINENO"; then :
4558
ac_cv_header_stdc=no
4560
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4561
conftest.$ac_objext conftest.beam conftest.$ac_ext
4566
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4567
$as_echo "$ac_cv_header_stdc" >&6; }
4568
if test $ac_cv_header_stdc = yes; then
4570
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4577
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4578
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4583
macro_version='2.2.6b'
4584
macro_revision='1.3017'
4598
ltmain="$ac_aux_dir/ltmain.sh"
4600
# Make sure we can run config.sub.
4601
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4602
as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4604
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4605
$as_echo_n "checking build system type... " >&6; }
4606
if test "${ac_cv_build+set}" = set; then :
4607
$as_echo_n "(cached) " >&6
4609
ac_build_alias=$build_alias
4610
test "x$ac_build_alias" = x &&
4611
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4612
test "x$ac_build_alias" = x &&
4613
as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4614
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4615
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4618
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4619
$as_echo "$ac_cv_build" >&6; }
4620
case $ac_cv_build in
4622
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
4625
ac_save_IFS=$IFS; IFS='-'
4631
# Remember, the first character of IFS is used to create $*,
4632
# except with old shells:
4635
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4638
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4639
$as_echo_n "checking host system type... " >&6; }
4640
if test "${ac_cv_host+set}" = set; then :
4641
$as_echo_n "(cached) " >&6
4643
if test "x$host_alias" = x; then
4644
ac_cv_host=$ac_cv_build
4646
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4647
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4651
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4652
$as_echo "$ac_cv_host" >&6; }
4655
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
4658
ac_save_IFS=$IFS; IFS='-'
4664
# Remember, the first character of IFS is used to create $*,
4665
# except with old shells:
4668
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4671
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4672
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4673
if test "${ac_cv_path_SED+set}" = set; then :
4674
$as_echo_n "(cached) " >&6
4676
ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4677
for ac_i in 1 2 3 4 5 6 7; do
4678
ac_script="$ac_script$as_nl$ac_script"
4680
echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4681
{ ac_script=; unset ac_script;}
4682
if test -z "$SED"; then
4683
ac_path_SED_found=false
4684
# Loop through the user's path and test for each of PROGNAME-LIST
4685
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4689
test -z "$as_dir" && as_dir=.
4690
for ac_prog in sed gsed; do
4691
for ac_exec_ext in '' $ac_executable_extensions; do
4692
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4693
{ test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4694
# Check for GNU ac_path_SED and select it if it is found.
4695
# Check for GNU $ac_path_SED
4696
case `"$ac_path_SED" --version 2>&1` in
4698
ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4701
$as_echo_n 0123456789 >"conftest.in"
4704
cat "conftest.in" "conftest.in" >"conftest.tmp"
4705
mv "conftest.tmp" "conftest.in"
4706
cp "conftest.in" "conftest.nl"
4707
$as_echo '' >> "conftest.nl"
4708
"$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4709
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4710
as_fn_arith $ac_count + 1 && ac_count=$as_val
4711
if test $ac_count -gt ${ac_path_SED_max-0}; then
4712
# Best one so far, save it but keep looking for a better one
4713
ac_cv_path_SED="$ac_path_SED"
4714
ac_path_SED_max=$ac_count
4716
# 10*(2^10) chars as input seems more than enough
4717
test $ac_count -gt 10 && break
4719
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4722
$ac_path_SED_found && break 3
4727
if test -z "$ac_cv_path_SED"; then
4728
as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4735
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4736
$as_echo "$ac_cv_path_SED" >&6; }
4737
SED="$ac_cv_path_SED"
4740
test -z "$SED" && SED=sed
4741
Xsed="$SED -e 1s/^X//"
4753
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4754
$as_echo_n "checking for fgrep... " >&6; }
4755
if test "${ac_cv_path_FGREP+set}" = set; then :
4756
$as_echo_n "(cached) " >&6
4758
if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4759
then ac_cv_path_FGREP="$GREP -F"
4761
if test -z "$FGREP"; then
4762
ac_path_FGREP_found=false
4763
# Loop through the user's path and test for each of PROGNAME-LIST
4764
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4765
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4768
test -z "$as_dir" && as_dir=.
4769
for ac_prog in fgrep; do
4770
for ac_exec_ext in '' $ac_executable_extensions; do
4771
ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4772
{ test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4773
# Check for GNU ac_path_FGREP and select it if it is found.
4774
# Check for GNU $ac_path_FGREP
4775
case `"$ac_path_FGREP" --version 2>&1` in
4777
ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4780
$as_echo_n 0123456789 >"conftest.in"
4783
cat "conftest.in" "conftest.in" >"conftest.tmp"
4784
mv "conftest.tmp" "conftest.in"
4785
cp "conftest.in" "conftest.nl"
4786
$as_echo 'FGREP' >> "conftest.nl"
4787
"$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4788
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4789
as_fn_arith $ac_count + 1 && ac_count=$as_val
4790
if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4791
# Best one so far, save it but keep looking for a better one
4792
ac_cv_path_FGREP="$ac_path_FGREP"
4793
ac_path_FGREP_max=$ac_count
4795
# 10*(2^10) chars as input seems more than enough
4796
test $ac_count -gt 10 && break
4798
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4801
$ac_path_FGREP_found && break 3
4806
if test -z "$ac_cv_path_FGREP"; then
4807
as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4810
ac_cv_path_FGREP=$FGREP
4815
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4816
$as_echo "$ac_cv_path_FGREP" >&6; }
4817
FGREP="$ac_cv_path_FGREP"
4820
test -z "$GREP" && GREP=grep
4840
# Check whether --with-gnu-ld was given.
4841
if test "${with_gnu_ld+set}" = set; then :
4842
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4848
if test "$GCC" = yes; then
4849
# Check if gcc -print-prog-name=ld gives a path.
4850
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4851
$as_echo_n "checking for ld used by $CC... " >&6; }
4854
# gcc leaves a trailing carriage return which upsets mingw
4855
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4857
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4860
# Accept absolute paths.
4862
re_direlt='/[^/][^/]*/\.\./'
4863
# Canonicalize the pathname of ld
4864
ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4865
while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4866
ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4868
test -z "$LD" && LD="$ac_prog"
4871
# If it fails, then pretend we aren't using GCC.
4875
# If it is relative, then search for the first ld in PATH.
4879
elif test "$with_gnu_ld" = yes; then
4880
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4881
$as_echo_n "checking for GNU ld... " >&6; }
4883
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4884
$as_echo_n "checking for non-GNU ld... " >&6; }
4886
if test "${lt_cv_path_LD+set}" = set; then :
4887
$as_echo_n "(cached) " >&6
4889
if test -z "$LD"; then
4890
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4891
for ac_dir in $PATH; do
4893
test -z "$ac_dir" && ac_dir=.
4894
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4895
lt_cv_path_LD="$ac_dir/$ac_prog"
4896
# Check to see if the program is GNU ld. I'd rather use --version,
4897
# but apparently some variants of GNU ld only accept -v.
4898
# Break only if it was the GNU/non-GNU ld that we prefer.
4899
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4900
*GNU* | *'with BFD'*)
4901
test "$with_gnu_ld" != no && break
4904
test "$with_gnu_ld" != yes && break
4911
lt_cv_path_LD="$LD" # Let the user override the test with a path.
4916
if test -n "$LD"; then
4917
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4918
$as_echo "$LD" >&6; }
4920
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4921
$as_echo "no" >&6; }
4923
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4924
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4925
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4926
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4927
$as_echo_n "(cached) " >&6
4929
# I'd rather use --version here, but apparently some GNU lds only accept -v.
4930
case `$LD -v 2>&1 </dev/null` in
4931
*GNU* | *'with BFD'*)
4932
lt_cv_prog_gnu_ld=yes
4935
lt_cv_prog_gnu_ld=no
4939
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4940
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4941
with_gnu_ld=$lt_cv_prog_gnu_ld
4951
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4952
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4953
if test "${lt_cv_path_NM+set}" = set; then :
4954
$as_echo_n "(cached) " >&6
4956
if test -n "$NM"; then
4957
# Let the user override the test.
4960
lt_nm_to_check="${ac_tool_prefix}nm"
4961
if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4962
lt_nm_to_check="$lt_nm_to_check nm"
4964
for lt_tmp_nm in $lt_nm_to_check; do
4965
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4966
for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4968
test -z "$ac_dir" && ac_dir=.
4969
tmp_nm="$ac_dir/$lt_tmp_nm"
4970
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4971
# Check to see if the nm accepts a BSD-compat flag.
4972
# Adding the `sed 1q' prevents false positives on HP-UX, which says:
4973
# nm: unknown option "B" ignored
4974
# Tru64's nm complains that /dev/null is an invalid object file
4975
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4976
*/dev/null* | *'Invalid file or object type'*)
4977
lt_cv_path_NM="$tmp_nm -B"
4981
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4983
lt_cv_path_NM="$tmp_nm -p"
4987
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4988
continue # so that we can try to find one that supports BSD flags
4997
: ${lt_cv_path_NM=no}
5000
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5001
$as_echo "$lt_cv_path_NM" >&6; }
5002
if test "$lt_cv_path_NM" != "no"; then
5005
# Didn't find any BSD compatible name lister, look for dumpbin.
5006
if test -n "$ac_tool_prefix"; then
5007
for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5009
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5010
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5011
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5012
$as_echo_n "checking for $ac_word... " >&6; }
5013
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5014
$as_echo_n "(cached) " >&6
5016
if test -n "$DUMPBIN"; then
5017
ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5019
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5023
test -z "$as_dir" && as_dir=.
5024
for ac_exec_ext in '' $ac_executable_extensions; do
5025
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5026
ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5027
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5036
DUMPBIN=$ac_cv_prog_DUMPBIN
5037
if test -n "$DUMPBIN"; then
5038
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5039
$as_echo "$DUMPBIN" >&6; }
5041
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5042
$as_echo "no" >&6; }
5046
test -n "$DUMPBIN" && break
5049
if test -z "$DUMPBIN"; then
5050
ac_ct_DUMPBIN=$DUMPBIN
5051
for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5053
# Extract the first word of "$ac_prog", so it can be a program name with args.
5054
set dummy $ac_prog; ac_word=$2
5055
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5056
$as_echo_n "checking for $ac_word... " >&6; }
5057
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5058
$as_echo_n "(cached) " >&6
5060
if test -n "$ac_ct_DUMPBIN"; then
5061
ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5063
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5067
test -z "$as_dir" && as_dir=.
5068
for ac_exec_ext in '' $ac_executable_extensions; do
5069
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5070
ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5071
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5080
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5081
if test -n "$ac_ct_DUMPBIN"; then
5082
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5083
$as_echo "$ac_ct_DUMPBIN" >&6; }
5085
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5086
$as_echo "no" >&6; }
5090
test -n "$ac_ct_DUMPBIN" && break
5093
if test "x$ac_ct_DUMPBIN" = x; then
5096
case $cross_compiling:$ac_tool_warned in
5098
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5099
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5100
ac_tool_warned=yes ;;
5102
DUMPBIN=$ac_ct_DUMPBIN
5107
if test "$DUMPBIN" != ":"; then
5111
test -z "$NM" && NM=nm
5118
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5119
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5120
if test "${lt_cv_nm_interface+set}" = set; then :
5121
$as_echo_n "(cached) " >&6
5123
lt_cv_nm_interface="BSD nm"
5124
echo "int some_variable = 0;" > conftest.$ac_ext
5125
(eval echo "\"\$as_me:5125: $ac_compile\"" >&5)
5126
(eval "$ac_compile" 2>conftest.err)
5127
cat conftest.err >&5
5128
(eval echo "\"\$as_me:5128: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5129
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5130
cat conftest.err >&5
5131
(eval echo "\"\$as_me:5131: output\"" >&5)
5132
cat conftest.out >&5
5133
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5134
lt_cv_nm_interface="MS dumpbin"
5138
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5139
$as_echo "$lt_cv_nm_interface" >&6; }
5141
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5142
$as_echo_n "checking whether ln -s works... " >&6; }
5144
if test "$LN_S" = "ln -s"; then
5145
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5146
$as_echo "yes" >&6; }
5148
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5149
$as_echo "no, using $LN_S" >&6; }
5152
# find the maximum length of command line arguments
5153
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5154
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5155
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5156
$as_echo_n "(cached) " >&6
5163
# On DJGPP, this test can blow up pretty badly due to problems in libc
5164
# (any single argument exceeding 2000 bytes causes a buffer overrun
5165
# during glob expansion). Even if it were fixed, the result of this
5166
# check would be larger than it should be.
5167
lt_cv_sys_max_cmd_len=12288; # 12K is about right
5171
# Under GNU Hurd, this test is not required because there is
5172
# no limit to the length of command line arguments.
5173
# Libtool will interpret -1 as no limit whatsoever
5174
lt_cv_sys_max_cmd_len=-1;
5177
cygwin* | mingw* | cegcc*)
5178
# On Win9x/ME, this test blows up -- it succeeds, but takes
5179
# about 5 minutes as the teststring grows exponentially.
5180
# Worse, since 9x/ME are not pre-emptively multitasking,
5181
# you end up with a "frozen" computer, even though with patience
5182
# the test eventually succeeds (with a max line length of 256k).
5183
# Instead, let's just punt: use the minimum linelength reported by
5184
# all of the supported platforms: 8192 (on NT/2K/XP).
5185
lt_cv_sys_max_cmd_len=8192;
5189
# On AmigaOS with pdksh, this test takes hours, literally.
5190
# So we just punt and use a minimum line length of 8192.
5191
lt_cv_sys_max_cmd_len=8192;
5194
netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5195
# This has been around since 386BSD, at least. Likely further.
5196
if test -x /sbin/sysctl; then
5197
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5198
elif test -x /usr/sbin/sysctl; then
5199
lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5201
lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5203
# And add a safety zone
5204
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5205
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5209
# We know the value 262144 and hardcode it with a safety zone (like BSD)
5210
lt_cv_sys_max_cmd_len=196608
5214
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5215
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5216
# nice to cause kernel panics so lets avoid the loop below.
5217
# First set a reasonable default.
5218
lt_cv_sys_max_cmd_len=16384
5220
if test -x /sbin/sysconfig; then
5221
case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5222
*1*) lt_cv_sys_max_cmd_len=-1 ;;
5227
lt_cv_sys_max_cmd_len=102400
5229
sysv5* | sco5v6* | sysv4.2uw2*)
5230
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5231
if test -n "$kargmax"; then
5232
lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5234
lt_cv_sys_max_cmd_len=32768
5238
lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5239
if test -n "$lt_cv_sys_max_cmd_len"; then
5240
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5241
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5243
# Make teststring a little bigger before we do anything with it.
5244
# a 1K string should be a reasonable start.
5245
for i in 1 2 3 4 5 6 7 8 ; do
5246
teststring=$teststring$teststring
5248
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5249
# If test is not a shell built-in, we'll probably end up computing a
5250
# maximum length that is only half of the actual maximum length, but
5252
while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5253
= "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5254
test $i != 17 # 1/2 MB should be enough
5257
teststring=$teststring$teststring
5259
# Only check the string length outside the loop.
5260
lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5262
# Add a significant safety factor because C++ compilers can tack on
5263
# massive amounts of additional arguments before passing them to the
5264
# linker. It appears as though 1/2 is a usable value.
5265
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5272
if test -n $lt_cv_sys_max_cmd_len ; then
5273
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5274
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5276
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5277
$as_echo "none" >&6; }
5279
max_cmd_len=$lt_cv_sys_max_cmd_len
5290
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5291
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5292
# Try some XSI features
5295
test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5297
&& eval 'test $(( 1 + 1 )) -eq 2 \
5298
&& test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5300
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5301
$as_echo "$xsi_shell" >&6; }
5304
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5305
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5307
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5309
&& lt_shell_append=yes
5310
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5311
$as_echo "$lt_shell_append" >&6; }
5314
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5324
# test EBCDIC or ASCII
5325
case `echo X|tr X '\101'` in
5326
A) # ASCII based system
5327
# \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5328
lt_SP2NL='tr \040 \012'
5329
lt_NL2SP='tr \015\012 \040\040'
5331
*) # EBCDIC based system
5332
lt_SP2NL='tr \100 \n'
5333
lt_NL2SP='tr \r\n \100\100'
5345
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5346
$as_echo_n "checking for $LD option to reload object files... " >&6; }
5347
if test "${lt_cv_ld_reload_flag+set}" = set; then :
5348
$as_echo_n "(cached) " >&6
5350
lt_cv_ld_reload_flag='-r'
5352
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5353
$as_echo "$lt_cv_ld_reload_flag" >&6; }
5354
reload_flag=$lt_cv_ld_reload_flag
5355
case $reload_flag in
5357
*) reload_flag=" $reload_flag" ;;
5359
reload_cmds='$LD$reload_flag -o $output$reload_objs'
5362
if test "$GCC" = yes; then
5363
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5365
reload_cmds='$LD$reload_flag -o $output$reload_objs'
5378
if test -n "$ac_tool_prefix"; then
5379
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5380
set dummy ${ac_tool_prefix}objdump; ac_word=$2
5381
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5382
$as_echo_n "checking for $ac_word... " >&6; }
5383
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5384
$as_echo_n "(cached) " >&6
5386
if test -n "$OBJDUMP"; then
5387
ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5389
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5393
test -z "$as_dir" && as_dir=.
5394
for ac_exec_ext in '' $ac_executable_extensions; do
5395
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5396
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5397
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5406
OBJDUMP=$ac_cv_prog_OBJDUMP
5407
if test -n "$OBJDUMP"; then
5408
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5409
$as_echo "$OBJDUMP" >&6; }
5411
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5412
$as_echo "no" >&6; }
5417
if test -z "$ac_cv_prog_OBJDUMP"; then
5418
ac_ct_OBJDUMP=$OBJDUMP
5419
# Extract the first word of "objdump", so it can be a program name with args.
5420
set dummy objdump; ac_word=$2
5421
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5422
$as_echo_n "checking for $ac_word... " >&6; }
5423
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5424
$as_echo_n "(cached) " >&6
5426
if test -n "$ac_ct_OBJDUMP"; then
5427
ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5429
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5433
test -z "$as_dir" && as_dir=.
5434
for ac_exec_ext in '' $ac_executable_extensions; do
5435
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5436
ac_cv_prog_ac_ct_OBJDUMP="objdump"
5437
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5446
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5447
if test -n "$ac_ct_OBJDUMP"; then
5448
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5449
$as_echo "$ac_ct_OBJDUMP" >&6; }
5451
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5452
$as_echo "no" >&6; }
5455
if test "x$ac_ct_OBJDUMP" = x; then
5458
case $cross_compiling:$ac_tool_warned in
5460
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5461
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5462
ac_tool_warned=yes ;;
5464
OBJDUMP=$ac_ct_OBJDUMP
5467
OBJDUMP="$ac_cv_prog_OBJDUMP"
5470
test -z "$OBJDUMP" && OBJDUMP=objdump
5480
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5481
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5482
if test "${lt_cv_deplibs_check_method+set}" = set; then :
5483
$as_echo_n "(cached) " >&6
5485
lt_cv_file_magic_cmd='$MAGIC_CMD'
5486
lt_cv_file_magic_test_file=
5487
lt_cv_deplibs_check_method='unknown'
5488
# Need to set the preceding variable on all platforms that support
5489
# interlibrary dependencies.
5490
# 'none' -- dependencies not supported.
5491
# `unknown' -- same as none, but documents that we really don't know.
5492
# 'pass_all' -- all dependencies passed with no checks.
5493
# 'test_compile' -- check by making test program.
5494
# 'file_magic [[regex]]' -- check by looking for files in library path
5495
# which responds to the $file_magic_cmd with a given extended regex.
5496
# If you have `file' or equivalent on your system and you're not sure
5497
# whether `pass_all' will *always* work, you probably want this one.
5501
lt_cv_deplibs_check_method=pass_all
5505
lt_cv_deplibs_check_method=pass_all
5509
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5510
lt_cv_file_magic_cmd='/usr/bin/file -L'
5511
lt_cv_file_magic_test_file=/shlib/libc.so
5515
# func_win32_libid is a shell function defined in ltmain.sh
5516
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5517
lt_cv_file_magic_cmd='func_win32_libid'
5521
# Base MSYS/MinGW do not provide the 'file' command needed by
5522
# func_win32_libid shell function, so use a weaker test based on 'objdump',
5523
# unless we find 'file', for example because we are cross-compiling.
5524
if ( file / ) >/dev/null 2>&1; then
5525
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5526
lt_cv_file_magic_cmd='func_win32_libid'
5528
lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5529
lt_cv_file_magic_cmd='$OBJDUMP -f'
5534
# use the weaker test based on 'objdump'. See mingw*.
5535
lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5536
lt_cv_file_magic_cmd='$OBJDUMP -f'
5539
darwin* | rhapsody*)
5540
lt_cv_deplibs_check_method=pass_all
5543
freebsd* | dragonfly*)
5544
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5547
# Not sure whether the presence of OpenBSD here was a mistake.
5548
# Let's accept both of them until this is cleared up.
5549
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5550
lt_cv_file_magic_cmd=/usr/bin/file
5551
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5555
lt_cv_deplibs_check_method=pass_all
5560
lt_cv_deplibs_check_method=pass_all
5563
hpux10.20* | hpux11*)
5564
lt_cv_file_magic_cmd=/usr/bin/file
5567
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5568
lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5571
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
5572
lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5575
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5576
lt_cv_file_magic_test_file=/usr/lib/libc.sl
5582
# PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5583
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5586
irix5* | irix6* | nonstopux*)
5588
*-32|*"-32 ") libmagic=32-bit;;
5589
*-n32|*"-n32 ") libmagic=N32;;
5590
*-64|*"-64 ") libmagic=64-bit;;
5591
*) libmagic=never-match;;
5593
lt_cv_deplibs_check_method=pass_all
5596
# This must be Linux ELF.
5597
linux* | k*bsd*-gnu | kopensolaris*-gnu)
5598
lt_cv_deplibs_check_method=pass_all
5601
netbsd* | netbsdelf*-gnu)
5602
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5603
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5605
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5610
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5611
lt_cv_file_magic_cmd=/usr/bin/file
5612
lt_cv_file_magic_test_file=/usr/lib/libnls.so
5616
lt_cv_deplibs_check_method=pass_all
5620
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5621
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5623
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5627
osf3* | osf4* | osf5*)
5628
lt_cv_deplibs_check_method=pass_all
5632
lt_cv_deplibs_check_method=pass_all
5636
lt_cv_deplibs_check_method=pass_all
5639
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5640
lt_cv_deplibs_check_method=pass_all
5644
case $host_vendor in
5646
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]'
5647
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5650
lt_cv_deplibs_check_method=pass_all
5653
lt_cv_file_magic_cmd='/bin/file'
5654
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5657
lt_cv_file_magic_cmd='/bin/file'
5658
lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5659
lt_cv_file_magic_test_file=/lib/libc.so
5662
lt_cv_deplibs_check_method=pass_all
5665
lt_cv_deplibs_check_method=pass_all
5671
lt_cv_deplibs_check_method=pass_all
5676
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5677
$as_echo "$lt_cv_deplibs_check_method" >&6; }
5678
file_magic_cmd=$lt_cv_file_magic_cmd
5679
deplibs_check_method=$lt_cv_deplibs_check_method
5680
test -z "$deplibs_check_method" && deplibs_check_method=unknown
5693
if test -n "$ac_tool_prefix"; then
5694
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5695
set dummy ${ac_tool_prefix}ar; ac_word=$2
5696
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5697
$as_echo_n "checking for $ac_word... " >&6; }
5698
if test "${ac_cv_prog_AR+set}" = set; then :
5699
$as_echo_n "(cached) " >&6
5701
if test -n "$AR"; then
5702
ac_cv_prog_AR="$AR" # Let the user override the test.
5704
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5708
test -z "$as_dir" && as_dir=.
5709
for ac_exec_ext in '' $ac_executable_extensions; do
5710
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5711
ac_cv_prog_AR="${ac_tool_prefix}ar"
5712
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5722
if test -n "$AR"; then
5723
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5724
$as_echo "$AR" >&6; }
5726
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5727
$as_echo "no" >&6; }
5732
if test -z "$ac_cv_prog_AR"; then
5734
# Extract the first word of "ar", so it can be a program name with args.
5735
set dummy ar; ac_word=$2
5736
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5737
$as_echo_n "checking for $ac_word... " >&6; }
5738
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5739
$as_echo_n "(cached) " >&6
5741
if test -n "$ac_ct_AR"; then
5742
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5744
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5748
test -z "$as_dir" && as_dir=.
5749
for ac_exec_ext in '' $ac_executable_extensions; do
5750
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5751
ac_cv_prog_ac_ct_AR="ar"
5752
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5761
ac_ct_AR=$ac_cv_prog_ac_ct_AR
5762
if test -n "$ac_ct_AR"; then
5763
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5764
$as_echo "$ac_ct_AR" >&6; }
5766
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5767
$as_echo "no" >&6; }
5770
if test "x$ac_ct_AR" = x; then
5773
case $cross_compiling:$ac_tool_warned in
5775
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5776
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5777
ac_tool_warned=yes ;;
5785
test -z "$AR" && AR=ar
5786
test -z "$AR_FLAGS" && AR_FLAGS=cru
5798
if test -n "$ac_tool_prefix"; then
5799
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5800
set dummy ${ac_tool_prefix}strip; ac_word=$2
5801
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5802
$as_echo_n "checking for $ac_word... " >&6; }
5803
if test "${ac_cv_prog_STRIP+set}" = set; then :
5804
$as_echo_n "(cached) " >&6
5806
if test -n "$STRIP"; then
5807
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5809
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5813
test -z "$as_dir" && as_dir=.
5814
for ac_exec_ext in '' $ac_executable_extensions; do
5815
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5816
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5817
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5826
STRIP=$ac_cv_prog_STRIP
5827
if test -n "$STRIP"; then
5828
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5829
$as_echo "$STRIP" >&6; }
5831
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5832
$as_echo "no" >&6; }
5837
if test -z "$ac_cv_prog_STRIP"; then
5839
# Extract the first word of "strip", so it can be a program name with args.
5840
set dummy strip; ac_word=$2
5841
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5842
$as_echo_n "checking for $ac_word... " >&6; }
5843
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5844
$as_echo_n "(cached) " >&6
5846
if test -n "$ac_ct_STRIP"; then
5847
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5849
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5853
test -z "$as_dir" && as_dir=.
5854
for ac_exec_ext in '' $ac_executable_extensions; do
5855
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5856
ac_cv_prog_ac_ct_STRIP="strip"
5857
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5866
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5867
if test -n "$ac_ct_STRIP"; then
5868
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5869
$as_echo "$ac_ct_STRIP" >&6; }
5871
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5872
$as_echo "no" >&6; }
5875
if test "x$ac_ct_STRIP" = x; then
5878
case $cross_compiling:$ac_tool_warned in
5880
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5881
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5882
ac_tool_warned=yes ;;
5887
STRIP="$ac_cv_prog_STRIP"
5890
test -z "$STRIP" && STRIP=:
5897
if test -n "$ac_tool_prefix"; then
5898
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5899
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5900
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5901
$as_echo_n "checking for $ac_word... " >&6; }
5902
if test "${ac_cv_prog_RANLIB+set}" = set; then :
5903
$as_echo_n "(cached) " >&6
5905
if test -n "$RANLIB"; then
5906
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5908
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5912
test -z "$as_dir" && as_dir=.
5913
for ac_exec_ext in '' $ac_executable_extensions; do
5914
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5915
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5916
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5925
RANLIB=$ac_cv_prog_RANLIB
5926
if test -n "$RANLIB"; then
5927
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5928
$as_echo "$RANLIB" >&6; }
5930
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5931
$as_echo "no" >&6; }
5936
if test -z "$ac_cv_prog_RANLIB"; then
5937
ac_ct_RANLIB=$RANLIB
5938
# Extract the first word of "ranlib", so it can be a program name with args.
5939
set dummy ranlib; ac_word=$2
5940
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5941
$as_echo_n "checking for $ac_word... " >&6; }
5942
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5943
$as_echo_n "(cached) " >&6
5945
if test -n "$ac_ct_RANLIB"; then
5946
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5948
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5952
test -z "$as_dir" && as_dir=.
5953
for ac_exec_ext in '' $ac_executable_extensions; do
5954
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5955
ac_cv_prog_ac_ct_RANLIB="ranlib"
5956
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5965
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5966
if test -n "$ac_ct_RANLIB"; then
5967
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5968
$as_echo "$ac_ct_RANLIB" >&6; }
5970
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5971
$as_echo "no" >&6; }
5974
if test "x$ac_ct_RANLIB" = x; then
5977
case $cross_compiling:$ac_tool_warned in
5979
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5980
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5981
ac_tool_warned=yes ;;
5983
RANLIB=$ac_ct_RANLIB
5986
RANLIB="$ac_cv_prog_RANLIB"
5989
test -z "$RANLIB" && RANLIB=:
5996
# Determine commands to create old-style static archives.
5997
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5998
old_postinstall_cmds='chmod 644 $oldlib'
5999
old_postuninstall_cmds=
6001
if test -n "$RANLIB"; then
6004
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6007
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6010
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6046
# If no C compiler was specified, use CC.
6049
# If no C compiler flags were specified, use CFLAGS.
6050
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6052
# Allow CC to be a program name with arguments.
6056
# Check for command to grab the raw symbol name followed by C symbol from nm.
6057
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6058
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6059
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6060
$as_echo_n "(cached) " >&6
6063
# These are sane defaults that work on at least a few old systems.
6064
# [They come from Ultrix. What could be older than Ultrix?!! ;)]
6066
# Character class describing NM global symbol codes.
6067
symcode='[BCDEGRST]'
6069
# Regexp to match symbols that can be accessed directly from C.
6070
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6072
# Define system-specific variables.
6077
cygwin* | mingw* | pw32* | cegcc*)
6078
symcode='[ABCDGISTW]'
6081
if test "$host_cpu" = ia64; then
6082
symcode='[ABCDEGRST]'
6086
symcode='[BCDEGRST]'
6089
symcode='[BCDEGQRST]'
6100
sysv5* | sco5v6* | unixware* | OpenUNIX*)
6108
# If we're using GNU nm, then use its standard symbol codes.
6109
case `$NM -V 2>&1` in
6110
*GNU* | *'with BFD'*)
6111
symcode='[ABCDGIRSTW]' ;;
6114
# Transform an extracted symbol line into a proper C declaration.
6115
# Some systems (esp. on ia64) link data and code symbols differently,
6116
# so use this general approach.
6117
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6119
# Transform an extracted symbol line into symbol name and symbol address
6120
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6121
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'"
6123
# Handle CRLF in mingw tool chain
6127
opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6131
# Try without a prefix underscore, then with it.
6132
for ac_symprfx in "" "_"; do
6134
# Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6135
symxfrm="\\1 $ac_symprfx\\2 \\2"
6137
# Write the raw and C identifiers.
6138
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6139
# Fake it for dumpbin and say T for any non-static function
6140
# and D for any global variable.
6141
# Also find C++ and __fastcall symbols from MSVC++,
6142
# which start with @ or ?.
6143
lt_cv_sys_global_symbol_pipe="$AWK '"\
6144
" {last_section=section; section=\$ 3};"\
6145
" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6146
" \$ 0!~/External *\|/{next};"\
6147
" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6148
" {if(hide[section]) next};"\
6149
" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6150
" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6151
" s[1]~/^[@?]/{print s[1], s[1]; next};"\
6152
" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6153
" ' prfx=^$ac_symprfx"
6155
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6158
# Check to see that the pipe works correctly.
6162
cat > conftest.$ac_ext <<_LT_EOF
6167
void nm_test_func(void);
6168
void nm_test_func(void){}
6172
int main(){nm_test_var='a';nm_test_func();return(0);}
6175
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6176
(eval $ac_compile) 2>&5
6178
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6179
test $ac_status = 0; }; then
6180
# Now try to grab the symbols.
6182
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6183
(eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6185
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6186
test $ac_status = 0; } && test -s "$nlist"; then
6187
# Try sorting and uniquifying the output.
6188
if sort "$nlist" | uniq > "$nlist"T; then
6189
mv -f "$nlist"T "$nlist"
6194
# Make sure that we snagged all the symbols we need.
6195
if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6196
if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6197
cat <<_LT_EOF > conftest.$ac_ext
6203
# Now generate the symbol file.
6204
eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6206
cat <<_LT_EOF >> conftest.$ac_ext
6208
/* The mapping between symbol names and symbols. */
6213
lt__PROGRAM__LTX_preloaded_symbols[] =
6215
{ "@PROGRAM@", (void *) 0 },
6217
$SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6218
cat <<\_LT_EOF >> conftest.$ac_ext
6222
/* This works around a problem in FreeBSD linker */
6223
#ifdef FREEBSD_WORKAROUND
6224
static const void *lt_preloaded_setup() {
6225
return lt__PROGRAM__LTX_preloaded_symbols;
6233
# Now try linking the two files.
6234
mv conftest.$ac_objext conftstm.$ac_objext
6235
lt_save_LIBS="$LIBS"
6236
lt_save_CFLAGS="$CFLAGS"
6237
LIBS="conftstm.$ac_objext"
6238
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6239
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6240
(eval $ac_link) 2>&5
6242
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6243
test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6246
LIBS="$lt_save_LIBS"
6247
CFLAGS="$lt_save_CFLAGS"
6249
echo "cannot find nm_test_func in $nlist" >&5
6252
echo "cannot find nm_test_var in $nlist" >&5
6255
echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6258
echo "$progname: failed program was:" >&5
6259
cat conftest.$ac_ext >&5
6261
rm -rf conftest* conftst*
6263
# Do not use the global_symbol_pipe unless it works.
6264
if test "$pipe_works" = yes; then
6267
lt_cv_sys_global_symbol_pipe=
6273
if test -z "$lt_cv_sys_global_symbol_pipe"; then
6274
lt_cv_sys_global_symbol_to_cdecl=
6276
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6277
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6278
$as_echo "failed" >&6; }
6280
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6281
$as_echo "ok" >&6; }
6305
# Check whether --enable-libtool-lock was given.
6306
if test "${enable_libtool_lock+set}" = set; then :
6307
enableval=$enable_libtool_lock;
6310
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6312
# Some flags need to be propagated to the compiler or linker for good
6316
# Find out which ABI we are using.
6317
echo 'int i;' > conftest.$ac_ext
6318
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6319
(eval $ac_compile) 2>&5
6321
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6322
test $ac_status = 0; }; then
6323
case `/usr/bin/file conftest.$ac_objext` in
6335
# Find out which ABI we are using.
6336
echo '#line 6336 "configure"' > conftest.$ac_ext
6337
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6338
(eval $ac_compile) 2>&5
6340
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6341
test $ac_status = 0; }; then
6342
if test "$lt_cv_prog_gnu_ld" = yes; then
6343
case `/usr/bin/file conftest.$ac_objext` in
6345
LD="${LD-ld} -melf32bsmip"
6348
LD="${LD-ld} -melf32bmipn32"
6351
LD="${LD-ld} -melf64bmip"
6355
case `/usr/bin/file conftest.$ac_objext` in
6371
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6372
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6373
# Find out which ABI we are using.
6374
echo 'int i;' > conftest.$ac_ext
6375
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6376
(eval $ac_compile) 2>&5
6378
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6379
test $ac_status = 0; }; then
6380
case `/usr/bin/file conftest.o` in
6383
x86_64-*kfreebsd*-gnu)
6384
LD="${LD-ld} -m elf_i386_fbsd"
6387
LD="${LD-ld} -m elf_i386"
6389
ppc64-*linux*|powerpc64-*linux*)
6390
LD="${LD-ld} -m elf32ppclinux"
6393
LD="${LD-ld} -m elf_s390"
6396
LD="${LD-ld} -m elf32_sparc"
6402
x86_64-*kfreebsd*-gnu)
6403
LD="${LD-ld} -m elf_x86_64_fbsd"
6406
LD="${LD-ld} -m elf_x86_64"
6408
ppc*-*linux*|powerpc*-*linux*)
6409
LD="${LD-ld} -m elf64ppc"
6411
s390*-*linux*|s390*-*tpf*)
6412
LD="${LD-ld} -m elf64_s390"
6415
LD="${LD-ld} -m elf64_sparc"
6425
# On SCO OpenServer 5, we need -belf to get full-featured binaries.
6426
SAVE_CFLAGS="$CFLAGS"
6427
CFLAGS="$CFLAGS -belf"
6428
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6429
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6430
if test "${lt_cv_cc_needs_belf+set}" = set; then :
6431
$as_echo_n "(cached) " >&6
6434
ac_cpp='$CPP $CPPFLAGS'
6435
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6436
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6437
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6439
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6440
/* end confdefs.h. */
6450
if ac_fn_c_try_link "$LINENO"; then :
6451
lt_cv_cc_needs_belf=yes
6453
lt_cv_cc_needs_belf=no
6455
rm -f core conftest.err conftest.$ac_objext \
6456
conftest$ac_exeext conftest.$ac_ext
6458
ac_cpp='$CPP $CPPFLAGS'
6459
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6460
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6461
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6464
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6465
$as_echo "$lt_cv_cc_needs_belf" >&6; }
6466
if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6467
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6468
CFLAGS="$SAVE_CFLAGS"
6472
# Find out which ABI we are using.
6473
echo 'int i;' > conftest.$ac_ext
6474
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6475
(eval $ac_compile) 2>&5
6477
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6478
test $ac_status = 0; }; then
6479
case `/usr/bin/file conftest.o` in
6481
case $lt_cv_prog_gnu_ld in
6482
yes*) LD="${LD-ld} -m elf64_sparc" ;;
6484
if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6496
need_locks="$enable_libtool_lock"
6500
rhapsody* | darwin*)
6501
if test -n "$ac_tool_prefix"; then
6502
# Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6503
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6504
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6505
$as_echo_n "checking for $ac_word... " >&6; }
6506
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6507
$as_echo_n "(cached) " >&6
6509
if test -n "$DSYMUTIL"; then
6510
ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6512
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6516
test -z "$as_dir" && as_dir=.
6517
for ac_exec_ext in '' $ac_executable_extensions; do
6518
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6519
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6520
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6529
DSYMUTIL=$ac_cv_prog_DSYMUTIL
6530
if test -n "$DSYMUTIL"; then
6531
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6532
$as_echo "$DSYMUTIL" >&6; }
6534
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6535
$as_echo "no" >&6; }
6540
if test -z "$ac_cv_prog_DSYMUTIL"; then
6541
ac_ct_DSYMUTIL=$DSYMUTIL
6542
# Extract the first word of "dsymutil", so it can be a program name with args.
6543
set dummy dsymutil; ac_word=$2
6544
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6545
$as_echo_n "checking for $ac_word... " >&6; }
6546
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6547
$as_echo_n "(cached) " >&6
6549
if test -n "$ac_ct_DSYMUTIL"; then
6550
ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6552
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6556
test -z "$as_dir" && as_dir=.
6557
for ac_exec_ext in '' $ac_executable_extensions; do
6558
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6559
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6560
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6569
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6570
if test -n "$ac_ct_DSYMUTIL"; then
6571
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6572
$as_echo "$ac_ct_DSYMUTIL" >&6; }
6574
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6575
$as_echo "no" >&6; }
6578
if test "x$ac_ct_DSYMUTIL" = x; then
6581
case $cross_compiling:$ac_tool_warned in
6583
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6584
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6585
ac_tool_warned=yes ;;
6587
DSYMUTIL=$ac_ct_DSYMUTIL
6590
DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6593
if test -n "$ac_tool_prefix"; then
6594
# Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6595
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6596
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6597
$as_echo_n "checking for $ac_word... " >&6; }
6598
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6599
$as_echo_n "(cached) " >&6
6601
if test -n "$NMEDIT"; then
6602
ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6604
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6608
test -z "$as_dir" && as_dir=.
6609
for ac_exec_ext in '' $ac_executable_extensions; do
6610
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6611
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6612
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6621
NMEDIT=$ac_cv_prog_NMEDIT
6622
if test -n "$NMEDIT"; then
6623
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6624
$as_echo "$NMEDIT" >&6; }
6626
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6627
$as_echo "no" >&6; }
6632
if test -z "$ac_cv_prog_NMEDIT"; then
6633
ac_ct_NMEDIT=$NMEDIT
6634
# Extract the first word of "nmedit", so it can be a program name with args.
6635
set dummy nmedit; ac_word=$2
6636
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6637
$as_echo_n "checking for $ac_word... " >&6; }
6638
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6639
$as_echo_n "(cached) " >&6
6641
if test -n "$ac_ct_NMEDIT"; then
6642
ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6644
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6648
test -z "$as_dir" && as_dir=.
6649
for ac_exec_ext in '' $ac_executable_extensions; do
6650
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6651
ac_cv_prog_ac_ct_NMEDIT="nmedit"
6652
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6661
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6662
if test -n "$ac_ct_NMEDIT"; then
6663
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6664
$as_echo "$ac_ct_NMEDIT" >&6; }
6666
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6667
$as_echo "no" >&6; }
6670
if test "x$ac_ct_NMEDIT" = x; then
6673
case $cross_compiling:$ac_tool_warned in
6675
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6676
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6677
ac_tool_warned=yes ;;
6679
NMEDIT=$ac_ct_NMEDIT
6682
NMEDIT="$ac_cv_prog_NMEDIT"
6685
if test -n "$ac_tool_prefix"; then
6686
# Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6687
set dummy ${ac_tool_prefix}lipo; ac_word=$2
6688
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6689
$as_echo_n "checking for $ac_word... " >&6; }
6690
if test "${ac_cv_prog_LIPO+set}" = set; then :
6691
$as_echo_n "(cached) " >&6
6693
if test -n "$LIPO"; then
6694
ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6696
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6700
test -z "$as_dir" && as_dir=.
6701
for ac_exec_ext in '' $ac_executable_extensions; do
6702
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6703
ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6704
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6713
LIPO=$ac_cv_prog_LIPO
6714
if test -n "$LIPO"; then
6715
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6716
$as_echo "$LIPO" >&6; }
6718
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6719
$as_echo "no" >&6; }
6724
if test -z "$ac_cv_prog_LIPO"; then
6726
# Extract the first word of "lipo", so it can be a program name with args.
6727
set dummy lipo; ac_word=$2
6728
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6729
$as_echo_n "checking for $ac_word... " >&6; }
6730
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6731
$as_echo_n "(cached) " >&6
6733
if test -n "$ac_ct_LIPO"; then
6734
ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6736
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6740
test -z "$as_dir" && as_dir=.
6741
for ac_exec_ext in '' $ac_executable_extensions; do
6742
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6743
ac_cv_prog_ac_ct_LIPO="lipo"
6744
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6753
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6754
if test -n "$ac_ct_LIPO"; then
6755
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6756
$as_echo "$ac_ct_LIPO" >&6; }
6758
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6759
$as_echo "no" >&6; }
6762
if test "x$ac_ct_LIPO" = x; then
6765
case $cross_compiling:$ac_tool_warned in
6767
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6768
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6769
ac_tool_warned=yes ;;
6774
LIPO="$ac_cv_prog_LIPO"
6777
if test -n "$ac_tool_prefix"; then
6778
# Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6779
set dummy ${ac_tool_prefix}otool; ac_word=$2
6780
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6781
$as_echo_n "checking for $ac_word... " >&6; }
6782
if test "${ac_cv_prog_OTOOL+set}" = set; then :
6783
$as_echo_n "(cached) " >&6
6785
if test -n "$OTOOL"; then
6786
ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6788
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6792
test -z "$as_dir" && as_dir=.
6793
for ac_exec_ext in '' $ac_executable_extensions; do
6794
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6795
ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6796
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6805
OTOOL=$ac_cv_prog_OTOOL
6806
if test -n "$OTOOL"; then
6807
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6808
$as_echo "$OTOOL" >&6; }
6810
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6811
$as_echo "no" >&6; }
6816
if test -z "$ac_cv_prog_OTOOL"; then
6818
# Extract the first word of "otool", so it can be a program name with args.
6819
set dummy otool; ac_word=$2
6820
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6821
$as_echo_n "checking for $ac_word... " >&6; }
6822
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6823
$as_echo_n "(cached) " >&6
6825
if test -n "$ac_ct_OTOOL"; then
6826
ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6828
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6832
test -z "$as_dir" && as_dir=.
6833
for ac_exec_ext in '' $ac_executable_extensions; do
6834
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6835
ac_cv_prog_ac_ct_OTOOL="otool"
6836
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6845
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6846
if test -n "$ac_ct_OTOOL"; then
6847
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6848
$as_echo "$ac_ct_OTOOL" >&6; }
6850
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6851
$as_echo "no" >&6; }
6854
if test "x$ac_ct_OTOOL" = x; then
6857
case $cross_compiling:$ac_tool_warned in
6859
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6860
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6861
ac_tool_warned=yes ;;
6866
OTOOL="$ac_cv_prog_OTOOL"
6869
if test -n "$ac_tool_prefix"; then
6870
# Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6871
set dummy ${ac_tool_prefix}otool64; ac_word=$2
6872
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6873
$as_echo_n "checking for $ac_word... " >&6; }
6874
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6875
$as_echo_n "(cached) " >&6
6877
if test -n "$OTOOL64"; then
6878
ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6880
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6884
test -z "$as_dir" && as_dir=.
6885
for ac_exec_ext in '' $ac_executable_extensions; do
6886
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6887
ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6888
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6897
OTOOL64=$ac_cv_prog_OTOOL64
6898
if test -n "$OTOOL64"; then
6899
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6900
$as_echo "$OTOOL64" >&6; }
6902
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6903
$as_echo "no" >&6; }
6908
if test -z "$ac_cv_prog_OTOOL64"; then
6909
ac_ct_OTOOL64=$OTOOL64
6910
# Extract the first word of "otool64", so it can be a program name with args.
6911
set dummy otool64; ac_word=$2
6912
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6913
$as_echo_n "checking for $ac_word... " >&6; }
6914
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6915
$as_echo_n "(cached) " >&6
6917
if test -n "$ac_ct_OTOOL64"; then
6918
ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6920
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6924
test -z "$as_dir" && as_dir=.
6925
for ac_exec_ext in '' $ac_executable_extensions; do
6926
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6927
ac_cv_prog_ac_ct_OTOOL64="otool64"
6928
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6937
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6938
if test -n "$ac_ct_OTOOL64"; then
6939
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6940
$as_echo "$ac_ct_OTOOL64" >&6; }
6942
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6943
$as_echo "no" >&6; }
6946
if test "x$ac_ct_OTOOL64" = x; then
6949
case $cross_compiling:$ac_tool_warned in
6951
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6952
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6953
ac_tool_warned=yes ;;
6955
OTOOL64=$ac_ct_OTOOL64
6958
OTOOL64="$ac_cv_prog_OTOOL64"
6987
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6988
$as_echo_n "checking for -single_module linker flag... " >&6; }
6989
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
6990
$as_echo_n "(cached) " >&6
6992
lt_cv_apple_cc_single_mod=no
6993
if test -z "${LT_MULTI_MODULE}"; then
6994
# By default we will add the -single_module flag. You can override
6995
# by either setting the environment variable LT_MULTI_MODULE
6996
# non-empty at configure time, or by adding -multi_module to the
6998
rm -rf libconftest.dylib*
6999
echo "int foo(void){return 1;}" > conftest.c
7000
echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7001
-dynamiclib -Wl,-single_module conftest.c" >&5
7002
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7003
-dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7005
if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7006
lt_cv_apple_cc_single_mod=yes
7008
cat conftest.err >&5
7010
rm -rf libconftest.dylib*
7014
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7015
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7016
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7017
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7018
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7019
$as_echo_n "(cached) " >&6
7021
lt_cv_ld_exported_symbols_list=no
7022
save_LDFLAGS=$LDFLAGS
7023
echo "_main" > conftest.sym
7024
LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7025
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7026
/* end confdefs.h. */
7036
if ac_fn_c_try_link "$LINENO"; then :
7037
lt_cv_ld_exported_symbols_list=yes
7039
lt_cv_ld_exported_symbols_list=no
7041
rm -f core conftest.err conftest.$ac_objext \
7042
conftest$ac_exeext conftest.$ac_ext
7043
LDFLAGS="$save_LDFLAGS"
7046
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7047
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7049
rhapsody* | darwin1.[012])
7050
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7052
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7053
darwin*) # darwin 5.x on
7054
# if running on 10.5 or later, the deployment target defaults
7055
# to the OS version, if on x86, and 10.4, the deployment
7056
# target defaults to 10.4. Don't you love it?
7057
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7058
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7059
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7061
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7063
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7067
if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7068
_lt_dar_single_mod='$single_module'
7070
if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7071
_lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7073
_lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7075
if test "$DSYMUTIL" != ":"; then
7076
_lt_dsymutil='~$DSYMUTIL $lib || :'
7083
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7084
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7085
inttypes.h stdint.h unistd.h
7087
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7088
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7090
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7091
cat >>confdefs.h <<_ACEOF
7092
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7100
for ac_header in dlfcn.h
7102
ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7104
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7105
cat >>confdefs.h <<_ACEOF
7106
#define HAVE_DLFCN_H 1
7125
# Check whether --enable-shared was given.
7126
if test "${enable_shared+set}" = set; then :
7127
enableval=$enable_shared; p=${PACKAGE-default}
7129
yes) enable_shared=yes ;;
7130
no) enable_shared=no ;;
7133
# Look at the argument we got. We use all the common list separators.
7134
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7135
for pkg in $enableval; do
7137
if test "X$pkg" = "X$p"; then
7156
# Check whether --enable-static was given.
7157
if test "${enable_static+set}" = set; then :
7158
enableval=$enable_static; p=${PACKAGE-default}
7160
yes) enable_static=yes ;;
7161
no) enable_static=no ;;
7164
# Look at the argument we got. We use all the common list separators.
7165
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7166
for pkg in $enableval; do
7168
if test "X$pkg" = "X$p"; then
7188
# Check whether --with-pic was given.
7189
if test "${with_pic+set}" = set; then :
7190
withval=$with_pic; pic_mode="$withval"
7196
test -z "$pic_mode" && pic_mode=default
7204
# Check whether --enable-fast-install was given.
7205
if test "${enable_fast_install+set}" = set; then :
7206
enableval=$enable_fast_install; p=${PACKAGE-default}
7208
yes) enable_fast_install=yes ;;
7209
no) enable_fast_install=no ;;
7211
enable_fast_install=no
7212
# Look at the argument we got. We use all the common list separators.
7213
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7214
for pkg in $enableval; do
7216
if test "X$pkg" = "X$p"; then
7217
enable_fast_install=yes
7224
enable_fast_install=yes
7237
# This can be used to rebuild libtool when needed
7238
LIBTOOL_DEPS="$ltmain"
7240
# Always use our own libtool.
7241
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7267
test -z "$LN_S" && LN_S="ln -s"
7282
if test -n "${ZSH_VERSION+set}" ; then
7283
setopt NO_GLOB_SUBST
7286
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7287
$as_echo_n "checking for objdir... " >&6; }
7288
if test "${lt_cv_objdir+set}" = set; then :
7289
$as_echo_n "(cached) " >&6
7291
rm -f .libs 2>/dev/null
7292
mkdir .libs 2>/dev/null
7293
if test -d .libs; then
7296
# MS-DOS does not allow filenames that begin with a dot.
7299
rmdir .libs 2>/dev/null
7301
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7302
$as_echo "$lt_cv_objdir" >&6; }
7303
objdir=$lt_cv_objdir
7309
cat >>confdefs.h <<_ACEOF
7310
#define LT_OBJDIR "$lt_cv_objdir/"
7331
# AIX sometimes has problems with the GCC collect2 program. For some
7332
# reason, if we set the COLLECT_NAMES environment variable, the problems
7333
# vanish in a puff of smoke.
7334
if test "X${COLLECT_NAMES+set}" != Xset; then
7336
export COLLECT_NAMES
7341
# Sed substitution that helps us do robust quoting. It backslashifies
7342
# metacharacters that are still active within double-quoted strings.
7343
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7345
# Same as above, but do not quote variable references.
7346
double_quote_subst='s/\(["`\\]\)/\\\1/g'
7348
# Sed substitution to delay expansion of an escaped shell variable in a
7349
# double_quote_subst'ed string.
7350
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7352
# Sed substitution to delay expansion of an escaped single quote.
7353
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7355
# Sed substitution to avoid accidental globbing in evaled expressions
7356
no_glob_subst='s/\*/\\\*/g'
7360
can_build_shared=yes
7362
# All known linkers require a `.a' archive for static linking (except MSVC,
7363
# which needs '.lib').
7366
with_gnu_ld="$lt_cv_prog_gnu_ld"
7369
old_CFLAGS="$CFLAGS"
7371
# Set sane defaults for various variables
7372
test -z "$CC" && CC=cc
7373
test -z "$LTCC" && LTCC=$CC
7374
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7375
test -z "$LD" && LD=ld
7376
test -z "$ac_objext" && ac_objext=o
7378
for cc_temp in $compiler""; do
7380
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7381
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7386
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7389
# Only perform the check for file, if the check method requires it
7390
test -z "$MAGIC_CMD" && MAGIC_CMD=file
7391
case $deplibs_check_method in
7393
if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7394
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7395
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7396
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7397
$as_echo_n "(cached) " >&6
7401
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7404
lt_save_MAGIC_CMD="$MAGIC_CMD"
7405
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7406
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7407
for ac_dir in $ac_dummy; do
7409
test -z "$ac_dir" && ac_dir=.
7410
if test -f $ac_dir/${ac_tool_prefix}file; then
7411
lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7412
if test -n "$file_magic_test_file"; then
7413
case $deplibs_check_method in
7415
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7416
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7417
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7418
$EGREP "$file_magic_regex" > /dev/null; then
7423
*** Warning: the command libtool uses to detect shared libraries,
7424
*** $file_magic_cmd, produces output that libtool cannot recognize.
7425
*** The result is that libtool may fail to recognize shared libraries
7426
*** as such. This will affect the creation of libtool libraries that
7427
*** depend on shared libraries, but programs linked with such libtool
7428
*** libraries will work regardless of this problem. Nevertheless, you
7429
*** may want to report the problem to your system manager and/or to
7430
*** bug-libtool@gnu.org
7440
MAGIC_CMD="$lt_save_MAGIC_CMD"
7445
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7446
if test -n "$MAGIC_CMD"; then
7447
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7448
$as_echo "$MAGIC_CMD" >&6; }
7450
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7451
$as_echo "no" >&6; }
7458
if test -z "$lt_cv_path_MAGIC_CMD"; then
7459
if test -n "$ac_tool_prefix"; then
7460
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7461
$as_echo_n "checking for file... " >&6; }
7462
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7463
$as_echo_n "(cached) " >&6
7467
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7470
lt_save_MAGIC_CMD="$MAGIC_CMD"
7471
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7472
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7473
for ac_dir in $ac_dummy; do
7475
test -z "$ac_dir" && ac_dir=.
7476
if test -f $ac_dir/file; then
7477
lt_cv_path_MAGIC_CMD="$ac_dir/file"
7478
if test -n "$file_magic_test_file"; then
7479
case $deplibs_check_method in
7481
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7482
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7483
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7484
$EGREP "$file_magic_regex" > /dev/null; then
7489
*** Warning: the command libtool uses to detect shared libraries,
7490
*** $file_magic_cmd, produces output that libtool cannot recognize.
7491
*** The result is that libtool may fail to recognize shared libraries
7492
*** as such. This will affect the creation of libtool libraries that
7493
*** depend on shared libraries, but programs linked with such libtool
7494
*** libraries will work regardless of this problem. Nevertheless, you
7495
*** may want to report the problem to your system manager and/or to
7496
*** bug-libtool@gnu.org
7506
MAGIC_CMD="$lt_save_MAGIC_CMD"
7511
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7512
if test -n "$MAGIC_CMD"; then
7513
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7514
$as_echo "$MAGIC_CMD" >&6; }
7516
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7517
$as_echo "no" >&6; }
7530
# Use C for the default configuration in the libtool script
7534
ac_cpp='$CPP $CPPFLAGS'
7535
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7536
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7537
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7540
# Source file extension for C test sources.
7543
# Object file extension for compiled C test sources.
7547
# Code to be used in simple compile tests
7548
lt_simple_compile_test_code="int some_variable = 0;"
7550
# Code to be used in simple link tests
7551
lt_simple_link_test_code='int main(){return(0);}'
7559
# If no C compiler was specified, use CC.
7562
# If no C compiler flags were specified, use CFLAGS.
7563
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7565
# Allow CC to be a program name with arguments.
7568
# Save the default compiler, since it gets overwritten when the other
7569
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7570
compiler_DEFAULT=$CC
7572
# save warnings/boilerplate of simple test code
7573
ac_outfile=conftest.$ac_objext
7574
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7575
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7576
_lt_compiler_boilerplate=`cat conftest.err`
7579
ac_outfile=conftest.$ac_objext
7580
echo "$lt_simple_link_test_code" >conftest.$ac_ext
7581
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7582
_lt_linker_boilerplate=`cat conftest.err`
7587
## There is no encapsulation within the following macros, do not change
7588
## the running order or otherwise move them around unless you know exactly
7589
## what you are doing...
7590
if test -n "$compiler"; then
7592
lt_prog_compiler_no_builtin_flag=
7594
if test "$GCC" = yes; then
7595
lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7597
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7598
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7599
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7600
$as_echo_n "(cached) " >&6
7602
lt_cv_prog_compiler_rtti_exceptions=no
7603
ac_outfile=conftest.$ac_objext
7604
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7605
lt_compiler_flag="-fno-rtti -fno-exceptions"
7606
# Insert the option either (1) after the last *FLAGS variable, or
7607
# (2) before a word containing "conftest.", or (3) at the end.
7608
# Note that $ac_compile itself does not contain backslashes and begins
7609
# with a dollar sign (not a hyphen), so the echo should work correctly.
7610
# The option is referenced via a variable to avoid confusing sed.
7611
lt_compile=`echo "$ac_compile" | $SED \
7612
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7613
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7614
-e 's:$: $lt_compiler_flag:'`
7615
(eval echo "\"\$as_me:7615: $lt_compile\"" >&5)
7616
(eval "$lt_compile" 2>conftest.err)
7618
cat conftest.err >&5
7619
echo "$as_me:7619: \$? = $ac_status" >&5
7620
if (exit $ac_status) && test -s "$ac_outfile"; then
7621
# The compiler can only warn and ignore the option if not recognized
7622
# So say no if there are warnings other than the usual output.
7623
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7624
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7625
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7626
lt_cv_prog_compiler_rtti_exceptions=yes
7632
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7633
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7635
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7636
lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7648
lt_prog_compiler_wl=
7649
lt_prog_compiler_pic=
7650
lt_prog_compiler_static=
7652
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7653
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7655
if test "$GCC" = yes; then
7656
lt_prog_compiler_wl='-Wl,'
7657
lt_prog_compiler_static='-static'
7661
# All AIX code is PIC.
7662
if test "$host_cpu" = ia64; then
7663
# AIX 5 now supports IA64 processor
7664
lt_prog_compiler_static='-Bstatic'
7671
# see comment about AmigaOS4 .so support
7672
lt_prog_compiler_pic='-fPIC'
7675
# FIXME: we need at least 68020 code to build shared libraries, but
7676
# adding the `-m68020' flag to GCC prevents building anything better,
7678
lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7683
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7684
# PIC is the default for these OSes.
7687
mingw* | cygwin* | pw32* | os2* | cegcc*)
7688
# This hack is so that the source file can tell whether it is being
7689
# built for inclusion in a dll (and should export symbols for example).
7690
# Although the cygwin gcc ignores -fPIC, still need this for old-style
7691
# (--disable-auto-import) libraries
7692
lt_prog_compiler_pic='-DDLL_EXPORT'
7695
darwin* | rhapsody*)
7696
# PIC is the default on this platform
7697
# Common symbols not allowed in MH_DYLIB files
7698
lt_prog_compiler_pic='-fno-common'
7702
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7703
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7704
# sets the default TLS model and affects inlining.
7710
lt_prog_compiler_pic='-fPIC'
7716
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
7717
# Instead, we relocate shared libraries at runtime.
7721
# Just because we use GCC doesn't mean we suddenly get shared libraries
7722
# on systems that don't support them.
7723
lt_prog_compiler_can_build_shared=no
7728
# QNX uses GNU C++, but need to define -shared option too, otherwise
7730
lt_prog_compiler_pic='-fPIC -shared'
7734
if test -d /usr/nec; then
7735
lt_prog_compiler_pic=-Kconform_pic
7740
lt_prog_compiler_pic='-fPIC'
7744
# PORTME Check for flag to pass linker flags through the system compiler.
7747
lt_prog_compiler_wl='-Wl,'
7748
if test "$host_cpu" = ia64; then
7749
# AIX 5 now supports IA64 processor
7750
lt_prog_compiler_static='-Bstatic'
7752
lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7756
mingw* | cygwin* | pw32* | os2* | cegcc*)
7757
# This hack is so that the source file can tell whether it is being
7758
# built for inclusion in a dll (and should export symbols for example).
7759
lt_prog_compiler_pic='-DDLL_EXPORT'
7762
hpux9* | hpux10* | hpux11*)
7763
lt_prog_compiler_wl='-Wl,'
7764
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7771
lt_prog_compiler_pic='+Z'
7774
# Is there a better lt_prog_compiler_static that works with the bundled CC?
7775
lt_prog_compiler_static='${wl}-a ${wl}archive'
7778
irix5* | irix6* | nonstopux*)
7779
lt_prog_compiler_wl='-Wl,'
7780
# PIC (with -KPIC) is the default.
7781
lt_prog_compiler_static='-non_shared'
7784
linux* | k*bsd*-gnu | kopensolaris*-gnu)
7785
case $cc_basename in
7786
# old Intel for x86_64 which still supported -KPIC.
7788
lt_prog_compiler_wl='-Wl,'
7789
lt_prog_compiler_pic='-KPIC'
7790
lt_prog_compiler_static='-static'
7792
# icc used to be incompatible with GCC.
7793
# ICC 10 doesn't accept -KPIC any more.
7795
lt_prog_compiler_wl='-Wl,'
7796
lt_prog_compiler_pic='-fPIC'
7797
lt_prog_compiler_static='-static'
7799
# Lahey Fortran 8.1.
7801
lt_prog_compiler_wl='-Wl,'
7802
lt_prog_compiler_pic='--shared'
7803
lt_prog_compiler_static='--static'
7805
pgcc* | pgf77* | pgf90* | pgf95*)
7806
# Portland Group compilers (*not* the Pentium gcc compiler,
7807
# which looks to be a dead project)
7808
lt_prog_compiler_wl='-Wl,'
7809
lt_prog_compiler_pic='-fpic'
7810
lt_prog_compiler_static='-Bstatic'
7813
lt_prog_compiler_wl='-Wl,'
7814
# All Alpha code is PIC.
7815
lt_prog_compiler_static='-non_shared'
7818
# IBM XL C 8.0/Fortran 10.1 on PPC
7819
lt_prog_compiler_wl='-Wl,'
7820
lt_prog_compiler_pic='-qpic'
7821
lt_prog_compiler_static='-qstaticlink'
7824
case `$CC -V 2>&1 | sed 5q` in
7827
lt_prog_compiler_pic='-KPIC'
7828
lt_prog_compiler_static='-Bstatic'
7829
lt_prog_compiler_wl='-Wl,'
7832
# Sun Fortran 8.3 passes all unrecognized flags to the linker
7833
lt_prog_compiler_pic='-KPIC'
7834
lt_prog_compiler_static='-Bstatic'
7835
lt_prog_compiler_wl=''
7843
lt_prog_compiler_pic='-KPIC'
7844
lt_prog_compiler_static='-Bstatic'
7848
# QNX uses GNU C++, but need to define -shared option too, otherwise
7850
lt_prog_compiler_pic='-fPIC -shared'
7853
osf3* | osf4* | osf5*)
7854
lt_prog_compiler_wl='-Wl,'
7855
# All OSF/1 code is PIC.
7856
lt_prog_compiler_static='-non_shared'
7860
lt_prog_compiler_static='-non_shared'
7864
lt_prog_compiler_pic='-KPIC'
7865
lt_prog_compiler_static='-Bstatic'
7866
case $cc_basename in
7868
lt_prog_compiler_wl='-Qoption ld ';;
7870
lt_prog_compiler_wl='-Wl,';;
7875
lt_prog_compiler_wl='-Qoption ld '
7876
lt_prog_compiler_pic='-PIC'
7877
lt_prog_compiler_static='-Bstatic'
7880
sysv4 | sysv4.2uw2* | sysv4.3*)
7881
lt_prog_compiler_wl='-Wl,'
7882
lt_prog_compiler_pic='-KPIC'
7883
lt_prog_compiler_static='-Bstatic'
7887
if test -d /usr/nec ;then
7888
lt_prog_compiler_pic='-Kconform_pic'
7889
lt_prog_compiler_static='-Bstatic'
7893
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7894
lt_prog_compiler_wl='-Wl,'
7895
lt_prog_compiler_pic='-KPIC'
7896
lt_prog_compiler_static='-Bstatic'
7900
lt_prog_compiler_wl='-Wl,'
7901
lt_prog_compiler_can_build_shared=no
7905
lt_prog_compiler_pic='-pic'
7906
lt_prog_compiler_static='-Bstatic'
7910
lt_prog_compiler_can_build_shared=no
7916
# For platforms which do not support PIC, -DPIC is meaningless:
7918
lt_prog_compiler_pic=
7921
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7924
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
7925
$as_echo "$lt_prog_compiler_pic" >&6; }
7933
# Check to make sure the PIC flag actually works.
7935
if test -n "$lt_prog_compiler_pic"; then
7936
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7937
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7938
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
7939
$as_echo_n "(cached) " >&6
7941
lt_cv_prog_compiler_pic_works=no
7942
ac_outfile=conftest.$ac_objext
7943
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7944
lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7945
# Insert the option either (1) after the last *FLAGS variable, or
7946
# (2) before a word containing "conftest.", or (3) at the end.
7947
# Note that $ac_compile itself does not contain backslashes and begins
7948
# with a dollar sign (not a hyphen), so the echo should work correctly.
7949
# The option is referenced via a variable to avoid confusing sed.
7950
lt_compile=`echo "$ac_compile" | $SED \
7951
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7952
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7953
-e 's:$: $lt_compiler_flag:'`
7954
(eval echo "\"\$as_me:7954: $lt_compile\"" >&5)
7955
(eval "$lt_compile" 2>conftest.err)
7957
cat conftest.err >&5
7958
echo "$as_me:7958: \$? = $ac_status" >&5
7959
if (exit $ac_status) && test -s "$ac_outfile"; then
7960
# The compiler can only warn and ignore the option if not recognized
7961
# So say no if there are warnings other than the usual output.
7962
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7963
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7964
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7965
lt_cv_prog_compiler_pic_works=yes
7971
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
7972
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7974
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7975
case $lt_prog_compiler_pic in
7977
*) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7980
lt_prog_compiler_pic=
7981
lt_prog_compiler_can_build_shared=no
7992
# Check to make sure the static flag actually works.
7994
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7995
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7996
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7997
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
7998
$as_echo_n "(cached) " >&6
8000
lt_cv_prog_compiler_static_works=no
8001
save_LDFLAGS="$LDFLAGS"
8002
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8003
echo "$lt_simple_link_test_code" > conftest.$ac_ext
8004
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8005
# The linker can only warn and ignore the option if not recognized
8006
# So say no if there are warnings
8007
if test -s conftest.err; then
8008
# Append any errors to the config.log.
8009
cat conftest.err 1>&5
8010
$ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8011
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8012
if diff conftest.exp conftest.er2 >/dev/null; then
8013
lt_cv_prog_compiler_static_works=yes
8016
lt_cv_prog_compiler_static_works=yes
8020
LDFLAGS="$save_LDFLAGS"
8023
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8024
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8026
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8029
lt_prog_compiler_static=
8038
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8039
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8040
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8041
$as_echo_n "(cached) " >&6
8043
lt_cv_prog_compiler_c_o=no
8044
$RM -r conftest 2>/dev/null
8048
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8050
lt_compiler_flag="-o out/conftest2.$ac_objext"
8051
# Insert the option either (1) after the last *FLAGS variable, or
8052
# (2) before a word containing "conftest.", or (3) at the end.
8053
# Note that $ac_compile itself does not contain backslashes and begins
8054
# with a dollar sign (not a hyphen), so the echo should work correctly.
8055
lt_compile=`echo "$ac_compile" | $SED \
8056
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8057
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8058
-e 's:$: $lt_compiler_flag:'`
8059
(eval echo "\"\$as_me:8059: $lt_compile\"" >&5)
8060
(eval "$lt_compile" 2>out/conftest.err)
8062
cat out/conftest.err >&5
8063
echo "$as_me:8063: \$? = $ac_status" >&5
8064
if (exit $ac_status) && test -s out/conftest2.$ac_objext
8066
# The compiler can only warn and ignore the option if not recognized
8067
# So say no if there are warnings
8068
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8069
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8070
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8071
lt_cv_prog_compiler_c_o=yes
8076
# SGI C++ compiler will create directory out/ii_files/ for
8077
# template instantiation
8078
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8079
$RM out/* && rmdir out
8085
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8086
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8093
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8094
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8095
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8096
$as_echo_n "(cached) " >&6
8098
lt_cv_prog_compiler_c_o=no
8099
$RM -r conftest 2>/dev/null
8103
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8105
lt_compiler_flag="-o out/conftest2.$ac_objext"
8106
# Insert the option either (1) after the last *FLAGS variable, or
8107
# (2) before a word containing "conftest.", or (3) at the end.
8108
# Note that $ac_compile itself does not contain backslashes and begins
8109
# with a dollar sign (not a hyphen), so the echo should work correctly.
8110
lt_compile=`echo "$ac_compile" | $SED \
8111
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8112
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8113
-e 's:$: $lt_compiler_flag:'`
8114
(eval echo "\"\$as_me:8114: $lt_compile\"" >&5)
8115
(eval "$lt_compile" 2>out/conftest.err)
8117
cat out/conftest.err >&5
8118
echo "$as_me:8118: \$? = $ac_status" >&5
8119
if (exit $ac_status) && test -s out/conftest2.$ac_objext
8121
# The compiler can only warn and ignore the option if not recognized
8122
# So say no if there are warnings
8123
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8124
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8125
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8126
lt_cv_prog_compiler_c_o=yes
8131
# SGI C++ compiler will create directory out/ii_files/ for
8132
# template instantiation
8133
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8134
$RM out/* && rmdir out
8140
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8141
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8146
hard_links="nottested"
8147
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8148
# do not overwrite the value of need_locks provided by the user
8149
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8150
$as_echo_n "checking if we can lock with hard links... " >&6; }
8153
ln conftest.a conftest.b 2>/dev/null && hard_links=no
8155
ln conftest.a conftest.b 2>&5 || hard_links=no
8156
ln conftest.a conftest.b 2>/dev/null && hard_links=no
8157
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8158
$as_echo "$hard_links" >&6; }
8159
if test "$hard_links" = no; then
8160
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8161
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8173
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8174
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8177
allow_undefined_flag=
8178
always_export_symbols=no
8180
archive_expsym_cmds=
8181
compiler_needs_object=no
8182
enable_shared_with_static_runtimes=no
8183
export_dynamic_flag_spec=
8184
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8185
hardcode_automatic=no
8187
hardcode_direct_absolute=no
8188
hardcode_libdir_flag_spec=
8189
hardcode_libdir_flag_spec_ld=
8190
hardcode_libdir_separator=
8192
hardcode_shlibpath_var=unsupported
8194
link_all_deplibs=unknown
8197
old_archive_from_new_cmds=
8198
old_archive_from_expsyms_cmds=
8199
thread_safe_flag_spec=
8200
whole_archive_flag_spec=
8201
# include_expsyms should be a list of space-separated symbols to be *always*
8202
# included in the symbol list
8204
# exclude_expsyms can be an extended regexp of symbols to exclude
8205
# it will be wrapped by ` (' and `)$', so one must not match beginning or
8206
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8207
# as well as any symbol that contains `d'.
8208
exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8209
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8210
# platforms (ab)use it in PIC code, but their linkers get confused if
8211
# the symbol is explicitly referenced. Since portable code cannot
8212
# rely on this symbol name, it's probably fine to never include it in
8213
# preloaded symbol tables.
8214
# Exclude shared library initialization/finalization symbols.
8215
extract_expsyms_cmds=
8218
cygwin* | mingw* | pw32* | cegcc*)
8219
# FIXME: the MSVC++ port hasn't been tested in a loooong time
8220
# When not using gcc, we currently assume that we are using
8221
# Microsoft Visual C++.
8222
if test "$GCC" != yes; then
8227
# we just hope/assume this is gcc and not c89 (= MSVC++)
8233
linux* | k*bsd*-gnu)
8239
if test "$with_gnu_ld" = yes; then
8240
# If archive_cmds runs LD, not CC, wlarc should be empty
8243
# Set some defaults for GNU ld with shared library support. These
8244
# are reset later if shared libraries are not supported. Putting them
8245
# here allows them to be overridden if necessary.
8246
runpath_var=LD_RUN_PATH
8247
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8248
export_dynamic_flag_spec='${wl}--export-dynamic'
8249
# ancient GNU ld didn't support --whole-archive et. al.
8250
if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8251
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8253
whole_archive_flag_spec=
8255
supports_anon_versioning=no
8256
case `$LD -v 2>&1` in
8257
*GNU\ gold*) supports_anon_versioning=yes ;;
8258
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8259
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8260
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8261
*\ 2.11.*) ;; # other 2.11 versions
8262
*) supports_anon_versioning=yes ;;
8265
# See if GNU ld supports shared libraries.
8268
# On AIX/PPC, the GNU linker is very broken
8269
if test "$host_cpu" != ia64; then
8273
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
8274
*** to be unable to reliably create shared libraries on AIX.
8275
*** Therefore, libtool is disabling shared libraries support. If you
8276
*** really care for shared libraries, you may want to modify your PATH
8277
*** so that a non-GNU linker is found, and then restart.
8286
# see comment about AmigaOS4 .so support
8287
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8288
archive_expsym_cmds=''
8291
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)'
8292
hardcode_libdir_flag_spec='-L$libdir'
8293
hardcode_minus_L=yes
8299
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8300
allow_undefined_flag=unsupported
8301
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8302
# support --undefined. This deserves some investigation. FIXME
8303
archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8309
cygwin* | mingw* | pw32* | cegcc*)
8310
# _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8311
# as there is no search path for DLLs.
8312
hardcode_libdir_flag_spec='-L$libdir'
8313
allow_undefined_flag=unsupported
8314
always_export_symbols=no
8315
enable_shared_with_static_runtimes=yes
8316
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8318
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8319
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8320
# If the export-symbols file already is a .def file (1st line
8321
# is EXPORTS), use it as is; otherwise, prepend...
8322
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8323
cp $export_symbols $output_objdir/$soname.def;
8325
echo EXPORTS > $output_objdir/$soname.def;
8326
cat $export_symbols >> $output_objdir/$soname.def;
8328
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8336
hardcode_shlibpath_var=no
8337
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8338
export_dynamic_flag_spec='${wl}-E'
8339
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8340
# Instead, shared libraries are loaded at an image base (0x10000000 by
8341
# default) and relocated if they conflict, which is a slow very memory
8342
# consuming and fragmenting process. To avoid this, we pick a random,
8343
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8344
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
8345
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8346
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'
8349
gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8351
if test "$host_os" = linux-dietlibc; then
8352
case $cc_basename in
8353
diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8356
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8357
&& test "$tmp_diet" = no
8360
tmp_sharedflag='-shared'
8361
case $cc_basename,$host_cpu in
8362
pgcc*) # Portland Group C compiler
8363
whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8364
tmp_addflag=' $pic_flag'
8366
pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
8367
whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8368
tmp_addflag=' $pic_flag -Mnomain' ;;
8369
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8370
tmp_addflag=' -i_dynamic' ;;
8371
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8372
tmp_addflag=' -i_dynamic -nofor_main' ;;
8373
ifc* | ifort*) # Intel Fortran compiler
8374
tmp_addflag=' -nofor_main' ;;
8375
lf95*) # Lahey Fortran 8.1
8376
whole_archive_flag_spec=
8377
tmp_sharedflag='--shared' ;;
8378
xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8379
tmp_sharedflag='-qmkshrobj'
8382
case `$CC -V 2>&1 | sed 5q` in
8383
*Sun\ C*) # Sun C 5.9
8384
whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8385
compiler_needs_object=yes
8386
tmp_sharedflag='-G' ;;
8387
*Sun\ F*) # Sun Fortran 8.3
8388
tmp_sharedflag='-G' ;;
8390
archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8392
if test "x$supports_anon_versioning" = xyes; then
8393
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8394
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8395
echo "local: *; };" >> $output_objdir/$libname.ver~
8396
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8399
case $cc_basename in
8401
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8402
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8403
hardcode_libdir_flag_spec=
8404
hardcode_libdir_flag_spec_ld='-rpath $libdir'
8405
archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8406
if test "x$supports_anon_versioning" = xyes; then
8407
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8408
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8409
echo "local: *; };" >> $output_objdir/$libname.ver~
8410
$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8419
netbsd* | netbsdelf*-gnu)
8420
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8421
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8424
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8425
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8430
if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8434
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
8435
*** create shared libraries on Solaris systems. Therefore, libtool
8436
*** is disabling shared libraries support. We urge you to upgrade GNU
8437
*** binutils to release 2.9.1 or newer. Another option is to modify
8438
*** your PATH or compiler configuration so that the native linker is
8439
*** used, and then restart.
8442
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8443
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8444
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8450
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8451
case `$LD -v 2>&1` in
8452
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8456
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8457
*** reliably create shared libraries on SCO systems. Therefore, libtool
8458
*** is disabling shared libraries support. We urge you to upgrade GNU
8459
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8460
*** your PATH or compiler configuration so that the native linker is
8461
*** used, and then restart.
8466
# For security reasons, it is highly recommended that you always
8467
# use absolute paths for naming shared libraries, and exclude the
8468
# DT_RUNPATH tag from executables and libraries. But doing so
8469
# requires that you compile everything twice, which is a pain.
8470
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8471
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8472
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8473
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8482
archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8485
hardcode_shlibpath_var=no
8489
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8490
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8491
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8498
if test "$ld_shlibs" = no; then
8500
hardcode_libdir_flag_spec=
8501
export_dynamic_flag_spec=
8502
whole_archive_flag_spec=
8505
# PORTME fill in a description of your system's linker (not GNU ld)
8508
allow_undefined_flag=unsupported
8509
always_export_symbols=yes
8510
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'
8511
# Note: this linker hardcodes the directories in LIBPATH if there
8512
# are no directories specified by -L.
8513
hardcode_minus_L=yes
8514
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8515
# Neither direct hardcoding nor static linking is supported with a
8517
hardcode_direct=unsupported
8522
if test "$host_cpu" = ia64; then
8523
# On IA64, the linker does run time linking by default, so we don't
8524
# have to do anything special.
8525
aix_use_runtimelinking=no
8526
exp_sym_flag='-Bexport'
8529
# If we're using GNU nm, then we don't want the "-C" option.
8530
# -C means demangle to AIX nm, but means don't demangle with GNU nm
8531
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8532
export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8534
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'
8536
aix_use_runtimelinking=no
8538
# Test if we are trying to use run time linking or normal
8539
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
8540
# need to do runtime linking.
8541
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8542
for ld_flag in $LDFLAGS; do
8543
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8544
aix_use_runtimelinking=yes
8551
exp_sym_flag='-bexport'
8552
no_entry_flag='-bnoentry'
8555
# When large executables or shared objects are built, AIX ld can
8556
# have problems creating the table of contents. If linking a library
8557
# or program results in "error TOC overflow" add -mminimal-toc to
8558
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8559
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8563
hardcode_direct_absolute=yes
8564
hardcode_libdir_separator=':'
8565
link_all_deplibs=yes
8566
file_list_spec='${wl}-f,'
8568
if test "$GCC" = yes; then
8569
case $host_os in aix4.[012]|aix4.[012].*)
8570
# We only want to do this on AIX 4.2 and lower, the check
8571
# below for broken collect2 doesn't work under 4.3+
8572
collect2name=`${CC} -print-prog-name=collect2`
8573
if test -f "$collect2name" &&
8574
strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8576
# We have reworked collect2
8579
# We have old collect2
8580
hardcode_direct=unsupported
8581
# It fails to find uninstalled libraries when the uninstalled
8582
# path is not listed in the libpath. Setting hardcode_minus_L
8583
# to unsupported forces relinking
8584
hardcode_minus_L=yes
8585
hardcode_libdir_flag_spec='-L$libdir'
8586
hardcode_libdir_separator=
8590
shared_flag='-shared'
8591
if test "$aix_use_runtimelinking" = yes; then
8592
shared_flag="$shared_flag "'${wl}-G'
8597
if test "$host_cpu" = ia64; then
8598
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8599
# chokes on -Wl,-G. The following line is correct:
8602
if test "$aix_use_runtimelinking" = yes; then
8603
shared_flag='${wl}-G'
8605
shared_flag='${wl}-bM:SRE'
8610
export_dynamic_flag_spec='${wl}-bexpall'
8611
# It seems that -bexpall does not export symbols beginning with
8612
# underscore (_), so it is better to generate a list of symbols to export.
8613
always_export_symbols=yes
8614
if test "$aix_use_runtimelinking" = yes; then
8615
# Warning - without using the other runtime loading flags (-brtl),
8616
# -berok will link without error, but may produce a broken library.
8617
allow_undefined_flag='-berok'
8618
# Determine the default libpath from the value encoded in an
8620
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8621
/* end confdefs.h. */
8631
if ac_fn_c_try_link "$LINENO"; then :
8633
lt_aix_libpath_sed='
8634
/Import File Strings/,/^$/ {
8640
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8641
# Check for a 64-bit object if we didn't find anything.
8642
if test -z "$aix_libpath"; then
8643
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8646
rm -f core conftest.err conftest.$ac_objext \
8647
conftest$ac_exeext conftest.$ac_ext
8648
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8650
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8651
archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8653
if test "$host_cpu" = ia64; then
8654
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8655
allow_undefined_flag="-z nodefs"
8656
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"
8658
# Determine the default libpath from the value encoded in an
8660
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8661
/* end confdefs.h. */
8671
if ac_fn_c_try_link "$LINENO"; then :
8673
lt_aix_libpath_sed='
8674
/Import File Strings/,/^$/ {
8680
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8681
# Check for a 64-bit object if we didn't find anything.
8682
if test -z "$aix_libpath"; then
8683
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8686
rm -f core conftest.err conftest.$ac_objext \
8687
conftest$ac_exeext conftest.$ac_ext
8688
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8690
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8691
# Warning - without using the other run time loading flags,
8692
# -berok will link without error, but may produce a broken library.
8693
no_undefined_flag=' ${wl}-bernotok'
8694
allow_undefined_flag=' ${wl}-berok'
8695
# Exported symbols can be pulled into shared objects from archives
8696
whole_archive_flag_spec='$convenience'
8697
archive_cmds_need_lc=yes
8698
# This is similar to how AIX traditionally builds its shared libraries.
8699
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'
8707
# see comment about AmigaOS4 .so support
8708
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8709
archive_expsym_cmds=''
8712
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)'
8713
hardcode_libdir_flag_spec='-L$libdir'
8714
hardcode_minus_L=yes
8720
export_dynamic_flag_spec=-rdynamic
8723
cygwin* | mingw* | pw32* | cegcc*)
8724
# When not using gcc, we currently assume that we are using
8725
# Microsoft Visual C++.
8726
# hardcode_libdir_flag_spec is actually meaningless, as there is
8727
# no search path for DLLs.
8728
hardcode_libdir_flag_spec=' '
8729
allow_undefined_flag=unsupported
8730
# Tell ltmain to make .lib files, not .a files.
8732
# Tell ltmain to make .dll files, not .so files.
8734
# FIXME: Setting linknames here is a bad hack.
8735
archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8736
# The linker will automatically build a .lib file if we build a DLL.
8737
old_archive_from_new_cmds='true'
8738
# FIXME: Should let the user specify the lib program.
8739
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8740
fix_srcfile_path='`cygpath -w "$srcfile"`'
8741
enable_shared_with_static_runtimes=yes
8744
darwin* | rhapsody*)
8747
archive_cmds_need_lc=no
8749
hardcode_automatic=yes
8750
hardcode_shlibpath_var=unsupported
8751
whole_archive_flag_spec=''
8752
link_all_deplibs=yes
8753
allow_undefined_flag="$_lt_dar_allow_undefined"
8754
case $cc_basename in
8755
ifort*) _lt_dar_can_shared=yes ;;
8756
*) _lt_dar_can_shared=$GCC ;;
8758
if test "$_lt_dar_can_shared" = "yes"; then
8759
output_verbose_link_cmd=echo
8760
archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8761
module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8762
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}"
8763
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}"
8772
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8773
hardcode_libdir_flag_spec='-L$libdir'
8774
hardcode_shlibpath_var=no
8781
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8782
# support. Future versions do this automatically, but an explicit c++rt0.o
8783
# does not break anything, and helps significantly (at the cost of a little
8786
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8787
hardcode_libdir_flag_spec='-R$libdir'
8789
hardcode_shlibpath_var=no
8792
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
8794
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8796
hardcode_minus_L=yes
8797
hardcode_shlibpath_var=no
8800
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8801
freebsd* | dragonfly*)
8802
archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8803
hardcode_libdir_flag_spec='-R$libdir'
8805
hardcode_shlibpath_var=no
8809
if test "$GCC" = yes; then
8810
archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8812
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'
8814
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8815
hardcode_libdir_separator=:
8818
# hardcode_minus_L: Not really in the search PATH,
8819
# but as the default location of the library.
8820
hardcode_minus_L=yes
8821
export_dynamic_flag_spec='${wl}-E'
8825
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8826
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8828
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8830
if test "$with_gnu_ld" = no; then
8831
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8832
hardcode_libdir_flag_spec_ld='+b $libdir'
8833
hardcode_libdir_separator=:
8835
hardcode_direct_absolute=yes
8836
export_dynamic_flag_spec='${wl}-E'
8837
# hardcode_minus_L: Not really in the search PATH,
8838
# but as the default location of the library.
8839
hardcode_minus_L=yes
8844
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8847
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8850
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8853
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8859
archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8862
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8865
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8869
if test "$with_gnu_ld" = no; then
8870
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8871
hardcode_libdir_separator=:
8876
hardcode_shlibpath_var=no
8880
hardcode_direct_absolute=yes
8881
export_dynamic_flag_spec='${wl}-E'
8883
# hardcode_minus_L: Not really in the search PATH,
8884
# but as the default location of the library.
8885
hardcode_minus_L=yes
8891
irix5* | irix6* | nonstopux*)
8892
if test "$GCC" = yes; then
8893
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8894
# Try to use the -exported_symbol ld option, if it does not
8895
# work, assume that -exports_file does not work either and
8896
# implicitly export all symbols.
8897
save_LDFLAGS="$LDFLAGS"
8898
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8899
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8900
/* end confdefs.h. */
8903
if ac_fn_c_try_link "$LINENO"; then :
8904
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
8907
rm -f core conftest.err conftest.$ac_objext \
8908
conftest$ac_exeext conftest.$ac_ext
8909
LDFLAGS="$save_LDFLAGS"
8911
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8912
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
8914
archive_cmds_need_lc='no'
8915
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8916
hardcode_libdir_separator=:
8918
link_all_deplibs=yes
8921
netbsd* | netbsdelf*-gnu)
8922
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8923
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8925
archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8927
hardcode_libdir_flag_spec='-R$libdir'
8929
hardcode_shlibpath_var=no
8933
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8935
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8936
hardcode_libdir_separator=:
8937
hardcode_shlibpath_var=no
8944
if test -f /usr/libexec/ld.so; then
8946
hardcode_shlibpath_var=no
8947
hardcode_direct_absolute=yes
8948
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8949
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8950
archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8951
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8952
export_dynamic_flag_spec='${wl}-E'
8955
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8956
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8957
hardcode_libdir_flag_spec='-R$libdir'
8960
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8961
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8971
hardcode_libdir_flag_spec='-L$libdir'
8972
hardcode_minus_L=yes
8973
allow_undefined_flag=unsupported
8974
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'
8975
old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8979
if test "$GCC" = yes; then
8980
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8981
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8983
allow_undefined_flag=' -expect_unresolved \*'
8984
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8986
archive_cmds_need_lc='no'
8987
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8988
hardcode_libdir_separator=:
8991
osf4* | osf5*) # as osf3* with the addition of -msym flag
8992
if test "$GCC" = yes; then
8993
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8994
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8995
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8997
allow_undefined_flag=' -expect_unresolved \*'
8998
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8999
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~
9000
$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9002
# Both c and cxx compiler support -rpath directly
9003
hardcode_libdir_flag_spec='-rpath $libdir'
9005
archive_cmds_need_lc='no'
9006
hardcode_libdir_separator=:
9010
no_undefined_flag=' -z defs'
9011
if test "$GCC" = yes; then
9013
archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9014
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9015
$CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9017
case `$CC -V 2>&1` in
9020
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9021
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9022
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9026
archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9027
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9028
$CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9032
hardcode_libdir_flag_spec='-R$libdir'
9033
hardcode_shlibpath_var=no
9035
solaris2.[0-5] | solaris2.[0-5].*) ;;
9037
# The compiler driver will combine and reorder linker options,
9038
# but understands `-z linker_flag'. GCC discards it without `$wl',
9039
# but is careful enough not to reorder.
9040
# Supported since Solaris 2.6 (maybe 2.5.1?)
9041
if test "$GCC" = yes; then
9042
whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9044
whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9048
link_all_deplibs=yes
9052
if test "x$host_vendor" = xsequent; then
9053
# Use $CC to link under sequent, because it throws in some extra .o
9054
# files that make .init and .fini sections work.
9055
archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9057
archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9059
hardcode_libdir_flag_spec='-L$libdir'
9061
hardcode_minus_L=yes
9062
hardcode_shlibpath_var=no
9066
case $host_vendor in
9068
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9069
hardcode_direct=yes # is this really true???
9072
## LD is ld it makes a PLAMLIB
9073
## CC just makes a GrossModule.
9074
archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9075
reload_cmds='$CC -r -o $output$reload_objs'
9079
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9080
hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9083
runpath_var='LD_RUN_PATH'
9084
hardcode_shlibpath_var=no
9088
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9089
hardcode_shlibpath_var=no
9090
export_dynamic_flag_spec='-Bexport'
9094
if test -d /usr/nec; then
9095
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9096
hardcode_shlibpath_var=no
9097
runpath_var=LD_RUN_PATH
9098
hardcode_runpath_var=yes
9103
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9104
no_undefined_flag='${wl}-z,text'
9105
archive_cmds_need_lc=no
9106
hardcode_shlibpath_var=no
9107
runpath_var='LD_RUN_PATH'
9109
if test "$GCC" = yes; then
9110
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9111
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9113
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9114
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9118
sysv5* | sco3.2v5* | sco5v6*)
9119
# Note: We can NOT use -z defs as we might desire, because we do not
9120
# link with -lc, and that would cause any symbols used from libc to
9121
# always be unresolved, which means just about no library would
9122
# ever link correctly. If we're not using GNU ld we use -z text
9123
# though, which does catch some bad symbols but isn't as heavy-handed
9125
no_undefined_flag='${wl}-z,text'
9126
allow_undefined_flag='${wl}-z,nodefs'
9127
archive_cmds_need_lc=no
9128
hardcode_shlibpath_var=no
9129
hardcode_libdir_flag_spec='${wl}-R,$libdir'
9130
hardcode_libdir_separator=':'
9131
link_all_deplibs=yes
9132
export_dynamic_flag_spec='${wl}-Bexport'
9133
runpath_var='LD_RUN_PATH'
9135
if test "$GCC" = yes; then
9136
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9137
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9139
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9140
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9145
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9146
hardcode_libdir_flag_spec='-L$libdir'
9147
hardcode_shlibpath_var=no
9155
if test x$host_vendor = xsni; then
9157
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9158
export_dynamic_flag_spec='${wl}-Blargedynsym'
9164
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9165
$as_echo "$ld_shlibs" >&6; }
9166
test "$ld_shlibs" = no && can_build_shared=no
9168
with_gnu_ld=$with_gnu_ld
9185
# Do we need to explicitly link libc?
9187
case "x$archive_cmds_need_lc" in
9189
# Assume -lc should be added
9190
archive_cmds_need_lc=yes
9192
if test "$enable_shared" = yes && test "$GCC" = yes; then
9193
case $archive_cmds in
9195
# FIXME: we may have to deal with multi-command sequences.
9198
# Test whether the compiler implicitly links with -lc since on some
9199
# systems, -lgcc has to come before -lc. If gcc already passes -lc
9200
# to ld, don't add -lc before -lgcc.
9201
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9202
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9204
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9206
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9207
(eval $ac_compile) 2>&5
9209
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9210
test $ac_status = 0; } 2>conftest.err; then
9213
libobjs=conftest.$ac_objext
9215
wl=$lt_prog_compiler_wl
9216
pic_flag=$lt_prog_compiler_pic
9222
lt_save_allow_undefined_flag=$allow_undefined_flag
9223
allow_undefined_flag=
9224
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9225
(eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9227
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9228
test $ac_status = 0; }
9230
archive_cmds_need_lc=no
9232
archive_cmds_need_lc=yes
9234
allow_undefined_flag=$lt_save_allow_undefined_flag
9236
cat conftest.err 1>&5
9239
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9240
$as_echo "$archive_cmds_need_lc" >&6; }
9403
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9404
$as_echo_n "checking dynamic linker characteristics... " >&6; }
9406
if test "$GCC" = yes; then
9408
darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9409
*) lt_awk_arg="/^libraries:/" ;;
9411
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9412
if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9413
# if the path contains ";" then we assume it to be the separator
9414
# otherwise default to the standard path separator (i.e. ":") - it is
9415
# assumed that no part of a normal pathname contains ";" but that should
9416
# okay in the real world where ";" in dirpaths is itself problematic.
9417
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9419
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9421
# Ok, now we have the path, separated by spaces, we can step through it
9422
# and add multilib dir if necessary.
9423
lt_tmp_lt_search_path_spec=
9424
lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9425
for lt_sys_path in $lt_search_path_spec; do
9426
if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9427
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9429
test -d "$lt_sys_path" && \
9430
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9433
lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9434
BEGIN {RS=" "; FS="/|\n";} {
9437
for (lt_i = NF; lt_i > 0; lt_i--) {
9438
if ($lt_i != "" && $lt_i != ".") {
9439
if ($lt_i == "..") {
9442
if (lt_count == 0) {
9443
lt_foo="/" $lt_i lt_foo;
9450
if (lt_foo != "") { lt_freq[lt_foo]++; }
9451
if (lt_freq[lt_foo] == 1) { print lt_foo; }
9453
sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9455
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9458
libname_spec='lib$name'
9466
shlibpath_overrides_runpath=unknown
9468
dynamic_linker="$host_os ld.so"
9469
sys_lib_dlsearch_path_spec="/lib /usr/lib"
9470
need_lib_prefix=unknown
9471
hardcode_into_libs=no
9473
# when you set need_version to no, make sure it does not cause -set_version
9474
# flags to be left without arguments
9475
need_version=unknown
9480
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9481
shlibpath_var=LIBPATH
9483
# AIX 3 has no versioning support, so we append a major version to the name.
9484
soname_spec='${libname}${release}${shared_ext}$major'
9491
hardcode_into_libs=yes
9492
if test "$host_cpu" = ia64; then
9493
# AIX 5 supports IA64
9494
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9495
shlibpath_var=LD_LIBRARY_PATH
9497
# With GCC up to 2.95.x, collect2 would create an import file
9498
# for dependence libraries. The import file would start with
9499
# the line `#! .'. This would cause the generated library to
9500
# depend on `.', always an invalid library. This was fixed in
9501
# development snapshots of GCC prior to 3.0.
9503
aix4 | aix4.[01] | aix4.[01].*)
9504
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9506
echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9513
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9514
# soname into executable. Probably we can add versioning support to
9515
# collect2, so additional links can be useful in future.
9516
if test "$aix_use_runtimelinking" = yes; then
9517
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
9518
# instead of lib<name>.a to let people know that these are not
9519
# typical AIX shared libraries.
9520
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9522
# We preserve .a as extension for shared libraries through AIX4.2
9523
# and later when we are not doing run time linking.
9524
library_names_spec='${libname}${release}.a $libname.a'
9525
soname_spec='${libname}${release}${shared_ext}$major'
9527
shlibpath_var=LIBPATH
9534
# Since July 2007 AmigaOS4 officially supports .so libraries.
9535
# When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9536
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9539
library_names_spec='$libname.ixlibrary $libname.a'
9540
# Create ${libname}_ixlibrary.a entries in /sys/libs.
9541
finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''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'
9547
library_names_spec='${libname}${shared_ext}'
9548
dynamic_linker="$host_os ld.so"
9549
shlibpath_var=LIBRARY_PATH
9555
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9556
soname_spec='${libname}${release}${shared_ext}$major'
9557
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9558
shlibpath_var=LD_LIBRARY_PATH
9559
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9560
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9561
# the default ld.so.conf also contains /usr/contrib/lib and
9562
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9563
# libtool to hard-code these into programs
9566
cygwin* | mingw* | pw32* | cegcc*)
9567
version_type=windows
9572
case $GCC,$host_os in
9573
yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9574
library_names_spec='$libname.dll.a'
9575
# DLL is installed to $(libdir)/../bin by postinstall_cmds
9576
postinstall_cmds='base_file=`basename \${file}`~
9577
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9578
dldir=$destdir/`dirname \$dlpath`~
9579
test -d \$dldir || mkdir -p \$dldir~
9580
$install_prog $dir/$dlname \$dldir/$dlname~
9581
chmod a+x \$dldir/$dlname~
9582
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9583
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9585
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9586
dlpath=$dir/\$dldll~
9588
shlibpath_overrides_runpath=yes
9592
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
9593
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9594
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9597
# MinGW DLLs use traditional 'lib' prefix
9598
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9599
sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9600
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9601
# It is most probably a Windows format PATH printed by
9602
# mingw gcc, but we are running on Cygwin. Gcc prints its search
9603
# path with ; separators, and with drive letters. We can handle the
9604
# drive letters (cygwin fileutils understands them), so leave them,
9605
# especially as we might pass files found there to a mingw objdump,
9606
# which wouldn't understand a cygwinified path. Ahh.
9607
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9609
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9613
# pw32 DLLs use 'pw' prefix rather than 'lib'
9614
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9620
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9623
dynamic_linker='Win32 ld.exe'
9624
# FIXME: first we should search . and the directory the executable is in
9628
darwin* | rhapsody*)
9629
dynamic_linker="$host_os dyld"
9633
library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9634
soname_spec='${libname}${release}${major}$shared_ext'
9635
shlibpath_overrides_runpath=yes
9636
shlibpath_var=DYLD_LIBRARY_PATH
9637
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9639
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9640
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9647
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9648
soname_spec='${libname}${release}${shared_ext}$major'
9649
shlibpath_var=LD_LIBRARY_PATH
9656
freebsd* | dragonfly*)
9657
# DragonFly does not have aout. When/if they implement a new
9658
# versioning mechanism, adjust this.
9659
if test -x /usr/bin/objformat; then
9660
objformat=`/usr/bin/objformat`
9663
freebsd[123]*) objformat=aout ;;
9667
version_type=freebsd-$objformat
9668
case $version_type in
9670
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9675
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9679
shlibpath_var=LD_LIBRARY_PATH
9682
shlibpath_overrides_runpath=yes
9684
freebsd3.[01]* | freebsdelf3.[01]*)
9685
shlibpath_overrides_runpath=yes
9686
hardcode_into_libs=yes
9688
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9689
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9690
shlibpath_overrides_runpath=no
9691
hardcode_into_libs=yes
9693
*) # from 4.6 on, and DragonFly
9694
shlibpath_overrides_runpath=yes
9695
hardcode_into_libs=yes
9704
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9705
soname_spec='${libname}${release}${shared_ext}$major'
9706
shlibpath_var=LD_LIBRARY_PATH
9707
hardcode_into_libs=yes
9710
hpux9* | hpux10* | hpux11*)
9711
# Give a soname corresponding to the major version so that dld.sl refuses to
9712
# link against other versions.
9719
hardcode_into_libs=yes
9720
dynamic_linker="$host_os dld.so"
9721
shlibpath_var=LD_LIBRARY_PATH
9722
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9723
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9724
soname_spec='${libname}${release}${shared_ext}$major'
9725
if test "X$HPUX_IA64_MODE" = X32; then
9726
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9728
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9730
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9734
hardcode_into_libs=yes
9735
dynamic_linker="$host_os dld.sl"
9736
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9737
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9738
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9739
soname_spec='${libname}${release}${shared_ext}$major'
9740
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9741
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9745
dynamic_linker="$host_os dld.sl"
9746
shlibpath_var=SHLIB_PATH
9747
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9748
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9749
soname_spec='${libname}${release}${shared_ext}$major'
9752
# HP-UX runs *really* slowly unless shared libraries are mode 555.
9753
postinstall_cmds='chmod 555 $lib'
9760
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9761
soname_spec='${libname}${release}${shared_ext}$major'
9762
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9763
shlibpath_var=LD_LIBRARY_PATH
9764
shlibpath_overrides_runpath=no
9765
hardcode_into_libs=yes
9768
irix5* | irix6* | nonstopux*)
9770
nonstopux*) version_type=nonstopux ;;
9772
if test "$lt_cv_prog_gnu_ld" = yes; then
9780
soname_spec='${libname}${release}${shared_ext}$major'
9781
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9783
irix5* | nonstopux*)
9787
case $LD in # libtool.m4 will add one of these switches to LD
9788
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9789
libsuff= shlibsuff= libmagic=32-bit;;
9790
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9791
libsuff=32 shlibsuff=N32 libmagic=N32;;
9792
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9793
libsuff=64 shlibsuff=64 libmagic=64-bit;;
9794
*) libsuff= shlibsuff= libmagic=never-match;;
9798
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9799
shlibpath_overrides_runpath=no
9800
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9801
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9802
hardcode_into_libs=yes
9805
# No shared lib support for Linux oldld, aout, or coff.
9806
linux*oldld* | linux*aout* | linux*coff*)
9810
# This must be Linux ELF.
9811
linux* | k*bsd*-gnu | kopensolaris*-gnu)
9815
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9816
soname_spec='${libname}${release}${shared_ext}$major'
9817
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9818
shlibpath_var=LD_LIBRARY_PATH
9819
shlibpath_overrides_runpath=no
9820
# Some binutils ld are patched to set DT_RUNPATH
9821
save_LDFLAGS=$LDFLAGS
9823
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9824
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9825
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9826
/* end confdefs.h. */
9836
if ac_fn_c_try_link "$LINENO"; then :
9837
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
9838
shlibpath_overrides_runpath=yes
9841
rm -f core conftest.err conftest.$ac_objext \
9842
conftest$ac_exeext conftest.$ac_ext
9843
LDFLAGS=$save_LDFLAGS
9846
# This implies no fast_install, which is unacceptable.
9847
# Some rework will be needed to allow for fast_install
9848
# before this can be enabled.
9849
hardcode_into_libs=yes
9851
# Append ld.so.conf contents to the search path
9852
if test -f /etc/ld.so.conf; then
9853
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;/^$/d' | tr '\n' ' '`
9854
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9857
# We used to test for /lib/ld.so.1 and disable shared libraries on
9858
# powerpc, because MkLinux only supported shared libraries with the
9859
# GNU dynamic linker. Since this was broken with cross compilers,
9860
# most powerpc-linux boxes support dynamic linking these days and
9861
# people can always --disable-shared, the test was removed, and we
9862
# assume the GNU/Linux dynamic linker is in use.
9863
dynamic_linker='GNU/Linux ld.so'
9870
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9871
soname_spec='${libname}${release}${shared_ext}$major'
9872
shlibpath_var=LD_LIBRARY_PATH
9873
shlibpath_overrides_runpath=no
9874
hardcode_into_libs=yes
9875
dynamic_linker='NetBSD ld.elf_so'
9882
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9883
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9884
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9885
dynamic_linker='NetBSD (a.out) ld.so'
9887
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9888
soname_spec='${libname}${release}${shared_ext}$major'
9889
dynamic_linker='NetBSD ld.elf_so'
9891
shlibpath_var=LD_LIBRARY_PATH
9892
shlibpath_overrides_runpath=yes
9893
hardcode_into_libs=yes
9898
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9899
shlibpath_var=LD_LIBRARY_PATH
9900
shlibpath_overrides_runpath=yes
9907
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9908
soname_spec='${libname}${release}${shared_ext}$major'
9909
shlibpath_var=LD_LIBRARY_PATH
9910
shlibpath_overrides_runpath=no
9911
hardcode_into_libs=yes
9912
dynamic_linker='ldqnx.so'
9917
sys_lib_dlsearch_path_spec="/usr/lib"
9919
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9921
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9922
*) need_version=no ;;
9924
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9925
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9926
shlibpath_var=LD_LIBRARY_PATH
9927
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9929
openbsd2.[89] | openbsd2.[89].*)
9930
shlibpath_overrides_runpath=no
9933
shlibpath_overrides_runpath=yes
9937
shlibpath_overrides_runpath=yes
9942
libname_spec='$name'
9945
library_names_spec='$libname${shared_ext} $libname.a'
9946
dynamic_linker='OS/2 ld.exe'
9947
shlibpath_var=LIBPATH
9950
osf3* | osf4* | osf5*)
9954
soname_spec='${libname}${release}${shared_ext}$major'
9955
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9956
shlibpath_var=LD_LIBRARY_PATH
9957
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9958
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9969
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9970
soname_spec='${libname}${release}${shared_ext}$major'
9971
shlibpath_var=LD_LIBRARY_PATH
9972
shlibpath_overrides_runpath=yes
9973
hardcode_into_libs=yes
9974
# ldd complains unless libraries are executable
9975
postinstall_cmds='chmod +x $lib'
9980
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9981
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9982
shlibpath_var=LD_LIBRARY_PATH
9983
shlibpath_overrides_runpath=yes
9984
if test "$with_gnu_ld" = yes; then
9992
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9993
soname_spec='${libname}${release}${shared_ext}$major'
9994
shlibpath_var=LD_LIBRARY_PATH
9995
case $host_vendor in
9997
shlibpath_overrides_runpath=no
9999
runpath_var=LD_RUN_PATH
10007
shlibpath_overrides_runpath=no
10008
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10014
if test -d /usr/nec ;then
10016
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10017
soname_spec='$libname${shared_ext}.$major'
10018
shlibpath_var=LD_LIBRARY_PATH
10022
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10023
version_type=freebsd-elf
10026
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10027
soname_spec='${libname}${release}${shared_ext}$major'
10028
shlibpath_var=LD_LIBRARY_PATH
10029
shlibpath_overrides_runpath=yes
10030
hardcode_into_libs=yes
10031
if test "$with_gnu_ld" = yes; then
10032
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10034
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10037
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10041
sys_lib_dlsearch_path_spec='/usr/lib'
10045
# TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10049
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10050
shlibpath_var=LD_LIBRARY_PATH
10051
shlibpath_overrides_runpath=no
10052
hardcode_into_libs=yes
10057
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10058
soname_spec='${libname}${release}${shared_ext}$major'
10059
shlibpath_var=LD_LIBRARY_PATH
10066
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10067
$as_echo "$dynamic_linker" >&6; }
10068
test "$dynamic_linker" = no && can_build_shared=no
10070
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10071
if test "$GCC" = yes; then
10072
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10075
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10076
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10078
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10079
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10168
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10169
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10171
if test -n "$hardcode_libdir_flag_spec" ||
10172
test -n "$runpath_var" ||
10173
test "X$hardcode_automatic" = "Xyes" ; then
10175
# We can hardcode non-existent directories.
10176
if test "$hardcode_direct" != no &&
10177
# If the only mechanism to avoid hardcoding is shlibpath_var, we
10178
# have to relink, otherwise we might link with an installed library
10179
# when we should be linking with a yet-to-be-installed one
10180
## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10181
test "$hardcode_minus_L" != no; then
10182
# Linking always hardcodes the temporary library directory.
10183
hardcode_action=relink
10185
# We can link without hardcoding, and we can hardcode nonexisting dirs.
10186
hardcode_action=immediate
10189
# We cannot hardcode anything, or else we can only hardcode existing
10191
hardcode_action=unsupported
10193
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10194
$as_echo "$hardcode_action" >&6; }
10196
if test "$hardcode_action" = relink ||
10197
test "$inherit_rpath" = yes; then
10198
# Fast installation is not supported
10199
enable_fast_install=no
10200
elif test "$shlibpath_overrides_runpath" = yes ||
10201
test "$enable_shared" = no; then
10202
# Fast installation is not necessary
10203
enable_fast_install=needless
10211
if test "x$enable_dlopen" != xyes; then
10212
enable_dlopen=unknown
10213
enable_dlopen_self=unknown
10214
enable_dlopen_self_static=unknown
10221
lt_cv_dlopen="load_add_on"
10223
lt_cv_dlopen_self=yes
10226
mingw* | pw32* | cegcc*)
10227
lt_cv_dlopen="LoadLibrary"
10232
lt_cv_dlopen="dlopen"
10237
# if libdl is installed we need to link against it
10238
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10239
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10240
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10241
$as_echo_n "(cached) " >&6
10243
ac_check_lib_save_LIBS=$LIBS
10245
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10246
/* end confdefs.h. */
10248
/* Override any GCC internal prototype to avoid an error.
10249
Use char because int might match the return type of a GCC
10250
builtin and then its argument prototype would still apply. */
10263
if ac_fn_c_try_link "$LINENO"; then :
10264
ac_cv_lib_dl_dlopen=yes
10266
ac_cv_lib_dl_dlopen=no
10268
rm -f core conftest.err conftest.$ac_objext \
10269
conftest$ac_exeext conftest.$ac_ext
10270
LIBS=$ac_check_lib_save_LIBS
10272
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10273
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10274
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10275
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10278
lt_cv_dlopen="dyld"
10280
lt_cv_dlopen_self=yes
10287
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10288
if test "x$ac_cv_func_shl_load" = x""yes; then :
10289
lt_cv_dlopen="shl_load"
10291
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10292
$as_echo_n "checking for shl_load in -ldld... " >&6; }
10293
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10294
$as_echo_n "(cached) " >&6
10296
ac_check_lib_save_LIBS=$LIBS
10298
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10299
/* end confdefs.h. */
10301
/* Override any GCC internal prototype to avoid an error.
10302
Use char because int might match the return type of a GCC
10303
builtin and then its argument prototype would still apply. */
10311
return shl_load ();
10316
if ac_fn_c_try_link "$LINENO"; then :
10317
ac_cv_lib_dld_shl_load=yes
10319
ac_cv_lib_dld_shl_load=no
10321
rm -f core conftest.err conftest.$ac_objext \
10322
conftest$ac_exeext conftest.$ac_ext
10323
LIBS=$ac_check_lib_save_LIBS
10325
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10326
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10327
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
10328
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10330
ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10331
if test "x$ac_cv_func_dlopen" = x""yes; then :
10332
lt_cv_dlopen="dlopen"
10334
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10335
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10336
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10337
$as_echo_n "(cached) " >&6
10339
ac_check_lib_save_LIBS=$LIBS
10341
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10342
/* end confdefs.h. */
10344
/* Override any GCC internal prototype to avoid an error.
10345
Use char because int might match the return type of a GCC
10346
builtin and then its argument prototype would still apply. */
10359
if ac_fn_c_try_link "$LINENO"; then :
10360
ac_cv_lib_dl_dlopen=yes
10362
ac_cv_lib_dl_dlopen=no
10364
rm -f core conftest.err conftest.$ac_objext \
10365
conftest$ac_exeext conftest.$ac_ext
10366
LIBS=$ac_check_lib_save_LIBS
10368
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10369
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10370
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10371
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10373
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10374
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
10375
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10376
$as_echo_n "(cached) " >&6
10378
ac_check_lib_save_LIBS=$LIBS
10379
LIBS="-lsvld $LIBS"
10380
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10381
/* end confdefs.h. */
10383
/* Override any GCC internal prototype to avoid an error.
10384
Use char because int might match the return type of a GCC
10385
builtin and then its argument prototype would still apply. */
10398
if ac_fn_c_try_link "$LINENO"; then :
10399
ac_cv_lib_svld_dlopen=yes
10401
ac_cv_lib_svld_dlopen=no
10403
rm -f core conftest.err conftest.$ac_objext \
10404
conftest$ac_exeext conftest.$ac_ext
10405
LIBS=$ac_check_lib_save_LIBS
10407
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10408
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10409
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
10410
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10412
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10413
$as_echo_n "checking for dld_link in -ldld... " >&6; }
10414
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10415
$as_echo_n "(cached) " >&6
10417
ac_check_lib_save_LIBS=$LIBS
10419
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10420
/* end confdefs.h. */
10422
/* Override any GCC internal prototype to avoid an error.
10423
Use char because int might match the return type of a GCC
10424
builtin and then its argument prototype would still apply. */
10432
return dld_link ();
10437
if ac_fn_c_try_link "$LINENO"; then :
10438
ac_cv_lib_dld_dld_link=yes
10440
ac_cv_lib_dld_dld_link=no
10442
rm -f core conftest.err conftest.$ac_objext \
10443
conftest$ac_exeext conftest.$ac_ext
10444
LIBS=$ac_check_lib_save_LIBS
10446
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10447
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10448
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
10449
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10470
if test "x$lt_cv_dlopen" != xno; then
10476
case $lt_cv_dlopen in
10478
save_CPPFLAGS="$CPPFLAGS"
10479
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10481
save_LDFLAGS="$LDFLAGS"
10482
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10485
LIBS="$lt_cv_dlopen_libs $LIBS"
10487
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10488
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
10489
if test "${lt_cv_dlopen_self+set}" = set; then :
10490
$as_echo_n "(cached) " >&6
10492
if test "$cross_compiling" = yes; then :
10493
lt_cv_dlopen_self=cross
10495
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10496
lt_status=$lt_dlunknown
10497
cat > conftest.$ac_ext <<_LT_EOF
10498
#line 10498 "configure"
10499
#include "confdefs.h"
10508
# define LT_DLGLOBAL RTLD_GLOBAL
10511
# define LT_DLGLOBAL DL_GLOBAL
10513
# define LT_DLGLOBAL 0
10517
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10518
find out it does not work in some platform. */
10519
#ifndef LT_DLLAZY_OR_NOW
10521
# define LT_DLLAZY_OR_NOW RTLD_LAZY
10524
# define LT_DLLAZY_OR_NOW DL_LAZY
10527
# define LT_DLLAZY_OR_NOW RTLD_NOW
10530
# define LT_DLLAZY_OR_NOW DL_NOW
10532
# define LT_DLLAZY_OR_NOW 0
10539
void fnord() { int i=42;}
10542
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10543
int status = $lt_dlunknown;
10547
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10548
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10549
/* dlclose (self); */
10557
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10558
(eval $ac_link) 2>&5
10560
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10561
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10562
(./conftest; exit; ) >&5 2>/dev/null
10564
case x$lt_status in
10565
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10566
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10567
x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10570
# compilation failed
10571
lt_cv_dlopen_self=no
10578
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10579
$as_echo "$lt_cv_dlopen_self" >&6; }
10581
if test "x$lt_cv_dlopen_self" = xyes; then
10582
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10583
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10584
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10585
if test "${lt_cv_dlopen_self_static+set}" = set; then :
10586
$as_echo_n "(cached) " >&6
10588
if test "$cross_compiling" = yes; then :
10589
lt_cv_dlopen_self_static=cross
10591
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10592
lt_status=$lt_dlunknown
10593
cat > conftest.$ac_ext <<_LT_EOF
10594
#line 10594 "configure"
10595
#include "confdefs.h"
10604
# define LT_DLGLOBAL RTLD_GLOBAL
10607
# define LT_DLGLOBAL DL_GLOBAL
10609
# define LT_DLGLOBAL 0
10613
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10614
find out it does not work in some platform. */
10615
#ifndef LT_DLLAZY_OR_NOW
10617
# define LT_DLLAZY_OR_NOW RTLD_LAZY
10620
# define LT_DLLAZY_OR_NOW DL_LAZY
10623
# define LT_DLLAZY_OR_NOW RTLD_NOW
10626
# define LT_DLLAZY_OR_NOW DL_NOW
10628
# define LT_DLLAZY_OR_NOW 0
10635
void fnord() { int i=42;}
10638
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10639
int status = $lt_dlunknown;
10643
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10644
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10645
/* dlclose (self); */
10653
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10654
(eval $ac_link) 2>&5
10656
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10657
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10658
(./conftest; exit; ) >&5 2>/dev/null
10660
case x$lt_status in
10661
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10662
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10663
x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10666
# compilation failed
10667
lt_cv_dlopen_self_static=no
10674
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10675
$as_echo "$lt_cv_dlopen_self_static" >&6; }
10678
CPPFLAGS="$save_CPPFLAGS"
10679
LDFLAGS="$save_LDFLAGS"
10684
case $lt_cv_dlopen_self in
10685
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10686
*) enable_dlopen_self=unknown ;;
10689
case $lt_cv_dlopen_self_static in
10690
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10691
*) enable_dlopen_self_static=unknown ;;
10713
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10714
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
10715
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10716
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10717
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10718
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10719
$as_echo "yes" >&6; }
10721
# FIXME - insert some real tests, host_os isn't really good enough
10724
if test -n "$STRIP" ; then
10725
striplib="$STRIP -x"
10726
old_striplib="$STRIP -S"
10727
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10728
$as_echo "yes" >&6; }
10730
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10731
$as_echo "no" >&6; }
10735
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10736
$as_echo "no" >&6; }
10752
# Report which library types will actually be built
10753
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
10754
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
10755
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
10756
$as_echo "$can_build_shared" >&6; }
10758
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
10759
$as_echo_n "checking whether to build shared libraries... " >&6; }
10760
test "$can_build_shared" = "no" && enable_shared=no
10762
# On AIX, shared libraries and static libraries use the same namespace, and
10763
# are all built from PIC.
10766
test "$enable_shared" = yes && enable_static=no
10767
if test -n "$RANLIB"; then
10768
archive_cmds="$archive_cmds~\$RANLIB \$lib"
10769
postinstall_cmds='$RANLIB $lib'
10774
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10775
test "$enable_shared" = yes && enable_static=no
10779
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
10780
$as_echo "$enable_shared" >&6; }
10782
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
10783
$as_echo_n "checking whether to build static libraries... " >&6; }
10784
# Make sure either enable_shared or enable_static is yes.
10785
test "$enable_shared" = yes || enable_static=yes
10786
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
10787
$as_echo "$enable_static" >&6; }
10794
ac_cpp='$CPP $CPPFLAGS'
10795
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10796
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10797
ac_compiler_gnu=$ac_cv_c_compiler_gnu
10813
ac_config_commands="$ac_config_commands libtool"
10818
# Only expand once:
10823
#############################################
10825
#############################################
10826
GETTEXT_PACKAGE="$PACKAGE"
10828
CONFIG_STATUS_DEPENDENCIES='$(top_srcdir)/po/LINGUAS'
10831
cat >>confdefs.h <<_ACEOF
10832
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
10836
for ac_header in locale.h
10838
ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
10839
if test "x$ac_cv_header_locale_h" = x""yes; then :
10840
cat >>confdefs.h <<_ACEOF
10841
#define HAVE_LOCALE_H 1
10848
if test $ac_cv_header_locale_h = yes; then
10849
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
10850
$as_echo_n "checking for LC_MESSAGES... " >&6; }
10851
if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
10852
$as_echo_n "(cached) " >&6
10854
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10855
/* end confdefs.h. */
10856
#include <locale.h>
10865
if ac_fn_c_try_link "$LINENO"; then :
10866
am_cv_val_LC_MESSAGES=yes
10868
am_cv_val_LC_MESSAGES=no
10870
rm -f core conftest.err conftest.$ac_objext \
10871
conftest$ac_exeext conftest.$ac_ext
10873
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
10874
$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
10875
if test $am_cv_val_LC_MESSAGES = yes; then
10877
$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
10884
gt_cv_have_gettext=no
10890
ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
10891
if test "x$ac_cv_header_libintl_h" = x""yes; then :
10892
gt_cv_func_dgettext_libintl="no"
10893
libintl_extra_libs=""
10896
# First check in libc
10898
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
10899
$as_echo_n "checking for ngettext in libc... " >&6; }
10900
if test "${gt_cv_func_ngettext_libc+set}" = set; then :
10901
$as_echo_n "(cached) " >&6
10903
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10904
/* end confdefs.h. */
10906
#include <libintl.h>
10911
return !ngettext ("","", 1)
10916
if ac_fn_c_try_link "$LINENO"; then :
10917
gt_cv_func_ngettext_libc=yes
10919
gt_cv_func_ngettext_libc=no
10921
rm -f core conftest.err conftest.$ac_objext \
10922
conftest$ac_exeext conftest.$ac_ext
10925
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
10926
$as_echo "$gt_cv_func_ngettext_libc" >&6; }
10928
if test "$gt_cv_func_ngettext_libc" = "yes" ; then
10929
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
10930
$as_echo_n "checking for dgettext in libc... " >&6; }
10931
if test "${gt_cv_func_dgettext_libc+set}" = set; then :
10932
$as_echo_n "(cached) " >&6
10934
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10935
/* end confdefs.h. */
10937
#include <libintl.h>
10942
return !dgettext ("","")
10947
if ac_fn_c_try_link "$LINENO"; then :
10948
gt_cv_func_dgettext_libc=yes
10950
gt_cv_func_dgettext_libc=no
10952
rm -f core conftest.err conftest.$ac_objext \
10953
conftest$ac_exeext conftest.$ac_ext
10956
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
10957
$as_echo "$gt_cv_func_dgettext_libc" >&6; }
10960
if test "$gt_cv_func_ngettext_libc" = "yes" ; then
10961
for ac_func in bind_textdomain_codeset
10963
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
10964
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
10965
cat >>confdefs.h <<_ACEOF
10966
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
10975
# If we don't have everything we want, check in libintl
10977
if test "$gt_cv_func_dgettext_libc" != "yes" \
10978
|| test "$gt_cv_func_ngettext_libc" != "yes" \
10979
|| test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
10981
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
10982
$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
10983
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then :
10984
$as_echo_n "(cached) " >&6
10986
ac_check_lib_save_LIBS=$LIBS
10987
LIBS="-lintl $LIBS"
10988
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10989
/* end confdefs.h. */
10991
/* Override any GCC internal prototype to avoid an error.
10992
Use char because int might match the return type of a GCC
10993
builtin and then its argument prototype would still apply. */
10997
char bindtextdomain ();
11001
return bindtextdomain ();
11006
if ac_fn_c_try_link "$LINENO"; then :
11007
ac_cv_lib_intl_bindtextdomain=yes
11009
ac_cv_lib_intl_bindtextdomain=no
11011
rm -f core conftest.err conftest.$ac_objext \
11012
conftest$ac_exeext conftest.$ac_ext
11013
LIBS=$ac_check_lib_save_LIBS
11015
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
11016
$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
11017
if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then :
11018
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
11019
$as_echo_n "checking for ngettext in -lintl... " >&6; }
11020
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
11021
$as_echo_n "(cached) " >&6
11023
ac_check_lib_save_LIBS=$LIBS
11024
LIBS="-lintl $LIBS"
11025
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11026
/* end confdefs.h. */
11028
/* Override any GCC internal prototype to avoid an error.
11029
Use char because int might match the return type of a GCC
11030
builtin and then its argument prototype would still apply. */
11038
return ngettext ();
11043
if ac_fn_c_try_link "$LINENO"; then :
11044
ac_cv_lib_intl_ngettext=yes
11046
ac_cv_lib_intl_ngettext=no
11048
rm -f core conftest.err conftest.$ac_objext \
11049
conftest$ac_exeext conftest.$ac_ext
11050
LIBS=$ac_check_lib_save_LIBS
11052
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
11053
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
11054
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
11055
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
11056
$as_echo_n "checking for dgettext in -lintl... " >&6; }
11057
if test "${ac_cv_lib_intl_dgettext+set}" = set; then :
11058
$as_echo_n "(cached) " >&6
11060
ac_check_lib_save_LIBS=$LIBS
11061
LIBS="-lintl $LIBS"
11062
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11063
/* end confdefs.h. */
11065
/* Override any GCC internal prototype to avoid an error.
11066
Use char because int might match the return type of a GCC
11067
builtin and then its argument prototype would still apply. */
11075
return dgettext ();
11080
if ac_fn_c_try_link "$LINENO"; then :
11081
ac_cv_lib_intl_dgettext=yes
11083
ac_cv_lib_intl_dgettext=no
11085
rm -f core conftest.err conftest.$ac_objext \
11086
conftest$ac_exeext conftest.$ac_ext
11087
LIBS=$ac_check_lib_save_LIBS
11089
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
11090
$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
11091
if test "x$ac_cv_lib_intl_dgettext" = x""yes; then :
11092
gt_cv_func_dgettext_libintl=yes
11100
if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
11101
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
11102
$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
11103
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
11105
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
11106
$as_echo_n "checking for ngettext in -lintl... " >&6; }
11107
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
11108
$as_echo_n "(cached) " >&6
11110
ac_check_lib_save_LIBS=$LIBS
11111
LIBS="-lintl -liconv $LIBS"
11112
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11113
/* end confdefs.h. */
11115
/* Override any GCC internal prototype to avoid an error.
11116
Use char because int might match the return type of a GCC
11117
builtin and then its argument prototype would still apply. */
11125
return ngettext ();
11130
if ac_fn_c_try_link "$LINENO"; then :
11131
ac_cv_lib_intl_ngettext=yes
11133
ac_cv_lib_intl_ngettext=no
11135
rm -f core conftest.err conftest.$ac_objext \
11136
conftest$ac_exeext conftest.$ac_ext
11137
LIBS=$ac_check_lib_save_LIBS
11139
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
11140
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
11141
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
11142
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
11143
$as_echo_n "checking for dcgettext in -lintl... " >&6; }
11144
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then :
11145
$as_echo_n "(cached) " >&6
11147
ac_check_lib_save_LIBS=$LIBS
11148
LIBS="-lintl -liconv $LIBS"
11149
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11150
/* end confdefs.h. */
11152
/* Override any GCC internal prototype to avoid an error.
11153
Use char because int might match the return type of a GCC
11154
builtin and then its argument prototype would still apply. */
11162
return dcgettext ();
11167
if ac_fn_c_try_link "$LINENO"; then :
11168
ac_cv_lib_intl_dcgettext=yes
11170
ac_cv_lib_intl_dcgettext=no
11172
rm -f core conftest.err conftest.$ac_objext \
11173
conftest$ac_exeext conftest.$ac_ext
11174
LIBS=$ac_check_lib_save_LIBS
11176
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
11177
$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
11178
if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then :
11179
gt_cv_func_dgettext_libintl=yes
11180
libintl_extra_libs=-liconv
11192
# If we found libintl, then check in it for bind_textdomain_codeset();
11193
# we'll prefer libc if neither have bind_textdomain_codeset(),
11194
# and both have dgettext and ngettext
11196
if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
11197
glib_save_LIBS="$LIBS"
11198
LIBS="$LIBS -lintl $libintl_extra_libs"
11199
unset ac_cv_func_bind_textdomain_codeset
11200
for ac_func in bind_textdomain_codeset
11202
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
11203
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
11204
cat >>confdefs.h <<_ACEOF
11205
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
11211
LIBS="$glib_save_LIBS"
11213
if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
11214
gt_cv_func_dgettext_libc=no
11216
if test "$gt_cv_func_dgettext_libc" = "yes" \
11217
&& test "$gt_cv_func_ngettext_libc" = "yes"; then
11218
gt_cv_func_dgettext_libintl=no
11224
if test "$gt_cv_func_dgettext_libc" = "yes" \
11225
|| test "$gt_cv_func_dgettext_libintl" = "yes"; then
11226
gt_cv_have_gettext=yes
11229
if test "$gt_cv_func_dgettext_libintl" = "yes"; then
11230
INTLLIBS="-lintl $libintl_extra_libs"
11233
if test "$gt_cv_have_gettext" = "yes"; then
11235
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
11237
# Extract the first word of "msgfmt", so it can be a program name with args.
11238
set dummy msgfmt; ac_word=$2
11239
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11240
$as_echo_n "checking for $ac_word... " >&6; }
11241
if test "${ac_cv_path_MSGFMT+set}" = set; then :
11242
$as_echo_n "(cached) " >&6
11246
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
11249
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
11250
for ac_dir in $PATH; do
11251
test -z "$ac_dir" && ac_dir=.
11252
if test -f $ac_dir/$ac_word; then
11253
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
11254
ac_cv_path_MSGFMT="$ac_dir/$ac_word"
11260
test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
11264
MSGFMT="$ac_cv_path_MSGFMT"
11265
if test "$MSGFMT" != "no"; then
11266
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
11267
$as_echo "$MSGFMT" >&6; }
11269
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11270
$as_echo "no" >&6; }
11272
if test "$MSGFMT" != "no"; then
11273
glib_save_LIBS="$LIBS"
11274
LIBS="$LIBS $INTLLIBS"
11275
for ac_func in dcgettext
11277
ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
11278
if test "x$ac_cv_func_dcgettext" = x""yes; then :
11279
cat >>confdefs.h <<_ACEOF
11280
#define HAVE_DCGETTEXT 1
11287
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
11288
$as_echo_n "checking if msgfmt accepts -c... " >&6; }
11289
cat >conftest.foo <<_ACEOF
11293
"Content-Type: text/plain; charset=UTF-8\n"
11294
"Project-Id-Version: test 1.0\n"
11295
"PO-Revision-Date: 2007-02-15 12:01+0100\n"
11296
"Last-Translator: test <foo@bar.xx>\n"
11297
"Language-Team: C <LL@li.org>\n"
11298
"MIME-Version: 1.0\n"
11299
"Content-Transfer-Encoding: 8bit\n"
11302
if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
11303
($MSGFMT -c -o /dev/null conftest.foo) 2>&5
11305
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11306
test $ac_status = 0; }; then
11307
MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11308
$as_echo "yes" >&6; }
11309
else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11310
$as_echo "no" >&6; }
11311
echo "$as_me: failed input was:" >&5
11312
sed 's/^/| /' conftest.foo >&5
11315
# Extract the first word of "gmsgfmt", so it can be a program name with args.
11316
set dummy gmsgfmt; ac_word=$2
11317
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11318
$as_echo_n "checking for $ac_word... " >&6; }
11319
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
11320
$as_echo_n "(cached) " >&6
11324
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
11327
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11328
for as_dir in $PATH
11331
test -z "$as_dir" && as_dir=.
11332
for ac_exec_ext in '' $ac_executable_extensions; do
11333
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11334
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
11335
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11342
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
11346
GMSGFMT=$ac_cv_path_GMSGFMT
11347
if test -n "$GMSGFMT"; then
11348
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
11349
$as_echo "$GMSGFMT" >&6; }
11351
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11352
$as_echo "no" >&6; }
11356
# Extract the first word of "xgettext", so it can be a program name with args.
11357
set dummy xgettext; ac_word=$2
11358
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11359
$as_echo_n "checking for $ac_word... " >&6; }
11360
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
11361
$as_echo_n "(cached) " >&6
11363
case "$XGETTEXT" in
11365
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
11368
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
11369
for ac_dir in $PATH; do
11370
test -z "$ac_dir" && ac_dir=.
11371
if test -f $ac_dir/$ac_word; then
11372
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
11373
ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
11379
test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
11383
XGETTEXT="$ac_cv_path_XGETTEXT"
11384
if test "$XGETTEXT" != ":"; then
11385
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
11386
$as_echo "$XGETTEXT" >&6; }
11388
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11389
$as_echo "no" >&6; }
11392
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11393
/* end confdefs.h. */
11398
extern int _nl_msg_cat_cntr;
11399
return _nl_msg_cat_cntr
11404
if ac_fn_c_try_link "$LINENO"; then :
11410
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
11411
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
11426
rm -f core conftest.err conftest.$ac_objext \
11427
conftest$ac_exeext conftest.$ac_ext
11428
LIBS="$glib_save_LIBS"
11431
gt_cv_have_gettext=no
11439
if test "$gt_cv_have_gettext" = "yes" ; then
11441
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
11445
if test "$XGETTEXT" != ":"; then
11446
if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
11449
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
11450
$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
11455
# We need to process the po/ directory.
11458
ac_config_commands="$ac_config_commands default-1"
11461
for lang in $ALL_LINGUAS; do
11462
GMOFILES="$GMOFILES $lang.gmo"
11463
POFILES="$POFILES $lang.po"
11478
if test "$gt_cv_have_gettext" = "yes"; then
11479
if test "x$ALL_LINGUAS" = "x"; then
11482
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
11483
$as_echo_n "checking for catalogs to be installed... " >&6; }
11485
for presentlang in $ALL_LINGUAS; do
11487
if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
11488
desiredlanguages="$LINGUAS"
11490
desiredlanguages="$ALL_LINGUAS"
11492
for desiredlang in $desiredlanguages; do
11493
# Use the presentlang catalog if desiredlang is
11494
# a. equal to presentlang, or
11495
# b. a variant of presentlang (because in this case,
11496
# presentlang can be used as a fallback for messages
11497
# which are not translated in the desiredlang catalog).
11498
case "$desiredlang" in
11499
"$presentlang"*) useit=yes;;
11502
if test $useit = yes; then
11503
NEW_LINGUAS="$NEW_LINGUAS $presentlang"
11506
LINGUAS=$NEW_LINGUAS
11507
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
11508
$as_echo "$LINGUAS" >&6; }
11511
if test -n "$LINGUAS"; then
11512
for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
11517
if test -n "$ac_aux_dir"; then
11518
MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
11520
if test -z "$MKINSTALLDIRS"; then
11521
MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
11525
test -d po || mkdir po
11526
if test "x$srcdir" != "x."; then
11527
if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
11528
posrcprefix="$srcdir/"
11530
posrcprefix="../$srcdir/"
11536
sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
11537
< $srcdir/po/POTFILES.in > po/POTFILES
11540
# AM_GNOME_GETTEXT above substs $DATADIRNAME
11541
# this is the directory where the *.{mo,gmo} files are installed
11542
localedir='${prefix}/${DATADIRNAME}/locale'
11546
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
11547
$as_echo_n "checking whether NLS is requested... " >&6; }
11548
# Check whether --enable-nls was given.
11549
if test "${enable_nls+set}" = set; then :
11550
enableval=$enable_nls; USE_NLS=$enableval
11555
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
11556
$as_echo "$USE_NLS" >&6; }
11561
case "$am__api_version" in
11563
as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
11569
if test -n "0.40.0"; then
11570
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.40.0" >&5
11571
$as_echo_n "checking for intltool >= 0.40.0... " >&6; }
11573
INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.40.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
11574
INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
11575
INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
11577
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
11578
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
11579
test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
11580
as_fn_error $? "Your intltool is too old. You need intltool 0.40.0 or later." "$LINENO" 5
11583
# Extract the first word of "intltool-update", so it can be a program name with args.
11584
set dummy intltool-update; ac_word=$2
11585
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11586
$as_echo_n "checking for $ac_word... " >&6; }
11587
if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then :
11588
$as_echo_n "(cached) " >&6
11590
case $INTLTOOL_UPDATE in
11592
ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
11595
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11596
for as_dir in $PATH
11599
test -z "$as_dir" && as_dir=.
11600
for ac_exec_ext in '' $ac_executable_extensions; do
11601
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11602
ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
11603
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11613
INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
11614
if test -n "$INTLTOOL_UPDATE"; then
11615
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
11616
$as_echo "$INTLTOOL_UPDATE" >&6; }
11618
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11619
$as_echo "no" >&6; }
11623
# Extract the first word of "intltool-merge", so it can be a program name with args.
11624
set dummy intltool-merge; ac_word=$2
11625
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11626
$as_echo_n "checking for $ac_word... " >&6; }
11627
if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then :
11628
$as_echo_n "(cached) " >&6
11630
case $INTLTOOL_MERGE in
11632
ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
11635
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11636
for as_dir in $PATH
11639
test -z "$as_dir" && as_dir=.
11640
for ac_exec_ext in '' $ac_executable_extensions; do
11641
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11642
ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
11643
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11653
INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
11654
if test -n "$INTLTOOL_MERGE"; then
11655
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
11656
$as_echo "$INTLTOOL_MERGE" >&6; }
11658
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11659
$as_echo "no" >&6; }
11663
# Extract the first word of "intltool-extract", so it can be a program name with args.
11664
set dummy intltool-extract; ac_word=$2
11665
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11666
$as_echo_n "checking for $ac_word... " >&6; }
11667
if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then :
11668
$as_echo_n "(cached) " >&6
11670
case $INTLTOOL_EXTRACT in
11672
ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
11675
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11676
for as_dir in $PATH
11679
test -z "$as_dir" && as_dir=.
11680
for ac_exec_ext in '' $ac_executable_extensions; do
11681
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11682
ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
11683
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11693
INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
11694
if test -n "$INTLTOOL_EXTRACT"; then
11695
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
11696
$as_echo "$INTLTOOL_EXTRACT" >&6; }
11698
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11699
$as_echo "no" >&6; }
11703
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
11704
as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
11707
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 $< $@'
11708
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 $< $@'
11709
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 $< $@'
11710
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 $< $@'
11711
INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
11712
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 $< $@'
11713
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 $< $@'
11714
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 $< $@'
11715
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 $< $@'
11716
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 $< $@'
11717
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 $< $@'
11718
INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
11719
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 $< $@'
11720
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 $< $@'
11721
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 $< $@'
11722
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 $< $@'
11723
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 $< $@'
11724
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 $< $@'
11725
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 $< $@'
11823
# Check the gettext tools to make sure they are GNU
11824
# Extract the first word of "xgettext", so it can be a program name with args.
11825
set dummy xgettext; ac_word=$2
11826
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11827
$as_echo_n "checking for $ac_word... " >&6; }
11828
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
11829
$as_echo_n "(cached) " >&6
11833
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
11836
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11837
for as_dir in $PATH
11840
test -z "$as_dir" && as_dir=.
11841
for ac_exec_ext in '' $ac_executable_extensions; do
11842
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11843
ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
11844
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11854
XGETTEXT=$ac_cv_path_XGETTEXT
11855
if test -n "$XGETTEXT"; then
11856
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
11857
$as_echo "$XGETTEXT" >&6; }
11859
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11860
$as_echo "no" >&6; }
11864
# Extract the first word of "msgmerge", so it can be a program name with args.
11865
set dummy msgmerge; ac_word=$2
11866
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11867
$as_echo_n "checking for $ac_word... " >&6; }
11868
if test "${ac_cv_path_MSGMERGE+set}" = set; then :
11869
$as_echo_n "(cached) " >&6
11873
ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
11876
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11877
for as_dir in $PATH
11880
test -z "$as_dir" && as_dir=.
11881
for ac_exec_ext in '' $ac_executable_extensions; do
11882
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11883
ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
11884
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11894
MSGMERGE=$ac_cv_path_MSGMERGE
11895
if test -n "$MSGMERGE"; then
11896
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
11897
$as_echo "$MSGMERGE" >&6; }
11899
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11900
$as_echo "no" >&6; }
11904
# Extract the first word of "msgfmt", so it can be a program name with args.
11905
set dummy msgfmt; ac_word=$2
11906
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11907
$as_echo_n "checking for $ac_word... " >&6; }
11908
if test "${ac_cv_path_MSGFMT+set}" = set; then :
11909
$as_echo_n "(cached) " >&6
11913
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
11916
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11917
for as_dir in $PATH
11920
test -z "$as_dir" && as_dir=.
11921
for ac_exec_ext in '' $ac_executable_extensions; do
11922
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11923
ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
11924
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11934
MSGFMT=$ac_cv_path_MSGFMT
11935
if test -n "$MSGFMT"; then
11936
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
11937
$as_echo "$MSGFMT" >&6; }
11939
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11940
$as_echo "no" >&6; }
11944
# Extract the first word of "gmsgfmt", so it can be a program name with args.
11945
set dummy gmsgfmt; ac_word=$2
11946
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11947
$as_echo_n "checking for $ac_word... " >&6; }
11948
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
11949
$as_echo_n "(cached) " >&6
11953
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
11956
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11957
for as_dir in $PATH
11960
test -z "$as_dir" && as_dir=.
11961
for ac_exec_ext in '' $ac_executable_extensions; do
11962
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11963
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
11964
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11971
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
11975
GMSGFMT=$ac_cv_path_GMSGFMT
11976
if test -n "$GMSGFMT"; then
11977
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
11978
$as_echo "$GMSGFMT" >&6; }
11980
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11981
$as_echo "no" >&6; }
11985
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
11986
as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
11988
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
11989
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
11990
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
11991
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
11992
as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
11995
# Extract the first word of "perl", so it can be a program name with args.
11996
set dummy perl; ac_word=$2
11997
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11998
$as_echo_n "checking for $ac_word... " >&6; }
11999
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then :
12000
$as_echo_n "(cached) " >&6
12002
case $INTLTOOL_PERL in
12004
ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
12007
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12008
for as_dir in $PATH
12011
test -z "$as_dir" && as_dir=.
12012
for ac_exec_ext in '' $ac_executable_extensions; do
12013
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12014
ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
12015
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12025
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
12026
if test -n "$INTLTOOL_PERL"; then
12027
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
12028
$as_echo "$INTLTOOL_PERL" >&6; }
12030
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12031
$as_echo "no" >&6; }
12035
if test -z "$INTLTOOL_PERL"; then
12036
as_fn_error $? "perl not found" "$LINENO" 5
12038
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
12039
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
12040
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
12041
if test $? -ne 0; then
12042
as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
12044
IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
12045
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
12046
$as_echo "$IT_PERL_VERSION" >&6; }
12048
if test "x" != "xno-xml"; then
12049
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
12050
$as_echo_n "checking for XML::Parser... " >&6; }
12051
if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
12052
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
12053
$as_echo "ok" >&6; }
12055
as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
12059
# Substitute ALL_LINGUAS so we can use it in po/Makefile
12062
# Set DATADIRNAME correctly if it is not set yet
12063
# (copied from glib-gettext.m4)
12064
if test -z "$DATADIRNAME"; then
12065
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12066
/* end confdefs.h. */
12071
extern int _nl_msg_cat_cntr;
12072
return _nl_msg_cat_cntr
12077
if ac_fn_c_try_link "$LINENO"; then :
12082
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
12083
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
12095
rm -f core conftest.err conftest.$ac_objext \
12096
conftest$ac_exeext conftest.$ac_ext
12105
cat >>confdefs.h <<_ACEOF
12106
#define LOCALE_DIR "${PREFIX}/${DATADIRNAME}/locale"
12110
cat >>confdefs.h <<_ACEOF
12111
#define DATADIR "${PREFIX}/${DATADIRNAME}"
12115
cat >>confdefs.h <<_ACEOF
12116
#define PREFIXDIR "${PREFIX}"
12120
######################################################
12121
# intltool rule for generating translated .place file
12122
######################################################
12123
INTLTOOL_PLACE_RULE='%.place: %.place.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 $< $@'
12126
#####################################################
12127
# Check for module and library dependancies
12128
#####################################################
12136
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12137
if test -n "$ac_tool_prefix"; then
12138
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12139
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12140
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12141
$as_echo_n "checking for $ac_word... " >&6; }
12142
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
12143
$as_echo_n "(cached) " >&6
12145
case $PKG_CONFIG in
12147
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12150
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12151
for as_dir in $PATH
12154
test -z "$as_dir" && as_dir=.
12155
for ac_exec_ext in '' $ac_executable_extensions; do
12156
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12157
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12158
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12168
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12169
if test -n "$PKG_CONFIG"; then
12170
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12171
$as_echo "$PKG_CONFIG" >&6; }
12173
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12174
$as_echo "no" >&6; }
12179
if test -z "$ac_cv_path_PKG_CONFIG"; then
12180
ac_pt_PKG_CONFIG=$PKG_CONFIG
12181
# Extract the first word of "pkg-config", so it can be a program name with args.
12182
set dummy pkg-config; ac_word=$2
12183
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12184
$as_echo_n "checking for $ac_word... " >&6; }
12185
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
12186
$as_echo_n "(cached) " >&6
12188
case $ac_pt_PKG_CONFIG in
12190
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12193
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12194
for as_dir in $PATH
12197
test -z "$as_dir" && as_dir=.
12198
for ac_exec_ext in '' $ac_executable_extensions; do
12199
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12200
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12201
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12211
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12212
if test -n "$ac_pt_PKG_CONFIG"; then
12213
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12214
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
12216
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12217
$as_echo "no" >&6; }
12220
if test "x$ac_pt_PKG_CONFIG" = x; then
12223
case $cross_compiling:$ac_tool_warned in
12225
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12226
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12227
ac_tool_warned=yes ;;
12229
PKG_CONFIG=$ac_pt_PKG_CONFIG
12232
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12236
if test -n "$PKG_CONFIG"; then
12237
_pkg_min_version=0.9.0
12238
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12239
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12240
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12241
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12242
$as_echo "yes" >&6; }
12244
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12245
$as_echo "no" >&6; }
12251
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PLACE_DAEMON" >&5
12252
$as_echo_n "checking for PLACE_DAEMON... " >&6; }
12254
if test -n "$PLACE_DAEMON_CFLAGS"; then
12255
pkg_cv_PLACE_DAEMON_CFLAGS="$PLACE_DAEMON_CFLAGS"
12256
elif test -n "$PKG_CONFIG"; then
12257
if test -n "$PKG_CONFIG" && \
12258
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED
12259
gobject-2.0 >= \$GLIB_REQUIRED
12260
gio-2.0 >= \$GLIB_REQUIRED
12261
gio-unix-2.0 >= \$GLIB_REQUIRED
12264
zeitgeist-1.0 >= 0.3.4
12266
dbusmenu-glib-0.4 >= 0.3.97\""; } >&5
12267
($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED
12268
gobject-2.0 >= $GLIB_REQUIRED
12269
gio-2.0 >= $GLIB_REQUIRED
12270
gio-unix-2.0 >= $GLIB_REQUIRED
12273
zeitgeist-1.0 >= 0.3.4
12275
dbusmenu-glib-0.4 >= 0.3.97") 2>&5
12277
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12278
test $ac_status = 0; }; then
12279
pkg_cv_PLACE_DAEMON_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= $GLIB_REQUIRED
12280
gobject-2.0 >= $GLIB_REQUIRED
12281
gio-2.0 >= $GLIB_REQUIRED
12282
gio-unix-2.0 >= $GLIB_REQUIRED
12285
zeitgeist-1.0 >= 0.3.4
12287
dbusmenu-glib-0.4 >= 0.3.97" 2>/dev/null`
12294
if test -n "$PLACE_DAEMON_LIBS"; then
12295
pkg_cv_PLACE_DAEMON_LIBS="$PLACE_DAEMON_LIBS"
12296
elif test -n "$PKG_CONFIG"; then
12297
if test -n "$PKG_CONFIG" && \
12298
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED
12299
gobject-2.0 >= \$GLIB_REQUIRED
12300
gio-2.0 >= \$GLIB_REQUIRED
12301
gio-unix-2.0 >= \$GLIB_REQUIRED
12304
zeitgeist-1.0 >= 0.3.4
12306
dbusmenu-glib-0.4 >= 0.3.97\""; } >&5
12307
($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED
12308
gobject-2.0 >= $GLIB_REQUIRED
12309
gio-2.0 >= $GLIB_REQUIRED
12310
gio-unix-2.0 >= $GLIB_REQUIRED
12313
zeitgeist-1.0 >= 0.3.4
12315
dbusmenu-glib-0.4 >= 0.3.97") 2>&5
12317
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12318
test $ac_status = 0; }; then
12319
pkg_cv_PLACE_DAEMON_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= $GLIB_REQUIRED
12320
gobject-2.0 >= $GLIB_REQUIRED
12321
gio-2.0 >= $GLIB_REQUIRED
12322
gio-unix-2.0 >= $GLIB_REQUIRED
12325
zeitgeist-1.0 >= 0.3.4
12327
dbusmenu-glib-0.4 >= 0.3.97" 2>/dev/null`
12337
if test $pkg_failed = yes; then
12338
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12339
$as_echo "no" >&6; }
12341
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12342
_pkg_short_errors_supported=yes
12344
_pkg_short_errors_supported=no
12346
if test $_pkg_short_errors_supported = yes; then
12347
PLACE_DAEMON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0 >= $GLIB_REQUIRED
12348
gobject-2.0 >= $GLIB_REQUIRED
12349
gio-2.0 >= $GLIB_REQUIRED
12350
gio-unix-2.0 >= $GLIB_REQUIRED
12353
zeitgeist-1.0 >= 0.3.4
12355
dbusmenu-glib-0.4 >= 0.3.97" 2>&1`
12357
PLACE_DAEMON_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0 >= $GLIB_REQUIRED
12358
gobject-2.0 >= $GLIB_REQUIRED
12359
gio-2.0 >= $GLIB_REQUIRED
12360
gio-unix-2.0 >= $GLIB_REQUIRED
12363
zeitgeist-1.0 >= 0.3.4
12365
dbusmenu-glib-0.4 >= 0.3.97" 2>&1`
12367
# Put the nasty error message in config.log where it belongs
12368
echo "$PLACE_DAEMON_PKG_ERRORS" >&5
12370
as_fn_error $? "Package requirements (glib-2.0 >= $GLIB_REQUIRED
12371
gobject-2.0 >= $GLIB_REQUIRED
12372
gio-2.0 >= $GLIB_REQUIRED
12373
gio-unix-2.0 >= $GLIB_REQUIRED
12376
zeitgeist-1.0 >= 0.3.4
12378
dbusmenu-glib-0.4 >= 0.3.97) were not met:
12380
$PLACE_DAEMON_PKG_ERRORS
12382
Consider adjusting the PKG_CONFIG_PATH environment variable if you
12383
installed software in a non-standard prefix.
12385
Alternatively, you may set the environment variables PLACE_DAEMON_CFLAGS
12386
and PLACE_DAEMON_LIBS to avoid the need to call pkg-config.
12387
See the pkg-config man page for more details." "$LINENO" 5
12388
elif test $pkg_failed = untried; then
12389
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12390
$as_echo "no" >&6; }
12391
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12392
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12393
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12394
is in your PATH or set the PKG_CONFIG environment variable to the full
12395
path to pkg-config.
12397
Alternatively, you may set the environment variables PLACE_DAEMON_CFLAGS
12398
and PLACE_DAEMON_LIBS to avoid the need to call pkg-config.
12399
See the pkg-config man page for more details.
12401
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12402
See \`config.log' for more details" "$LINENO" 5 ; }
12404
PLACE_DAEMON_CFLAGS=$pkg_cv_PLACE_DAEMON_CFLAGS
12405
PLACE_DAEMON_LIBS=$pkg_cv_PLACE_DAEMON_LIBS
12406
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12407
$as_echo "yes" >&6; }
12415
#####################################################
12416
# Check minimum required version of Zeitgeist daemon
12417
#####################################################
12420
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ZEITGEIST_DAEMON" >&5
12421
$as_echo_n "checking for ZEITGEIST_DAEMON... " >&6; }
12423
if test -n "$ZEITGEIST_DAEMON_CFLAGS"; then
12424
pkg_cv_ZEITGEIST_DAEMON_CFLAGS="$ZEITGEIST_DAEMON_CFLAGS"
12425
elif test -n "$PKG_CONFIG"; then
12426
if test -n "$PKG_CONFIG" && \
12427
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zeitgeist-daemon >= 0.5.0\""; } >&5
12428
($PKG_CONFIG --exists --print-errors "zeitgeist-daemon >= 0.5.0") 2>&5
12430
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12431
test $ac_status = 0; }; then
12432
pkg_cv_ZEITGEIST_DAEMON_CFLAGS=`$PKG_CONFIG --cflags "zeitgeist-daemon >= 0.5.0" 2>/dev/null`
12439
if test -n "$ZEITGEIST_DAEMON_LIBS"; then
12440
pkg_cv_ZEITGEIST_DAEMON_LIBS="$ZEITGEIST_DAEMON_LIBS"
12441
elif test -n "$PKG_CONFIG"; then
12442
if test -n "$PKG_CONFIG" && \
12443
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zeitgeist-daemon >= 0.5.0\""; } >&5
12444
($PKG_CONFIG --exists --print-errors "zeitgeist-daemon >= 0.5.0") 2>&5
12446
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12447
test $ac_status = 0; }; then
12448
pkg_cv_ZEITGEIST_DAEMON_LIBS=`$PKG_CONFIG --libs "zeitgeist-daemon >= 0.5.0" 2>/dev/null`
12458
if test $pkg_failed = yes; then
12459
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12460
$as_echo "no" >&6; }
12462
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12463
_pkg_short_errors_supported=yes
12465
_pkg_short_errors_supported=no
12467
if test $_pkg_short_errors_supported = yes; then
12468
ZEITGEIST_DAEMON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "zeitgeist-daemon >= 0.5.0" 2>&1`
12470
ZEITGEIST_DAEMON_PKG_ERRORS=`$PKG_CONFIG --print-errors "zeitgeist-daemon >= 0.5.0" 2>&1`
12472
# Put the nasty error message in config.log where it belongs
12473
echo "$ZEITGEIST_DAEMON_PKG_ERRORS" >&5
12475
as_fn_error $? "Package requirements (zeitgeist-daemon >= 0.5.0) were not met:
12477
$ZEITGEIST_DAEMON_PKG_ERRORS
12479
Consider adjusting the PKG_CONFIG_PATH environment variable if you
12480
installed software in a non-standard prefix.
12482
Alternatively, you may set the environment variables ZEITGEIST_DAEMON_CFLAGS
12483
and ZEITGEIST_DAEMON_LIBS to avoid the need to call pkg-config.
12484
See the pkg-config man page for more details." "$LINENO" 5
12485
elif test $pkg_failed = untried; then
12486
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12487
$as_echo "no" >&6; }
12488
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12489
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12490
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12491
is in your PATH or set the PKG_CONFIG environment variable to the full
12492
path to pkg-config.
12494
Alternatively, you may set the environment variables ZEITGEIST_DAEMON_CFLAGS
12495
and ZEITGEIST_DAEMON_LIBS to avoid the need to call pkg-config.
12496
See the pkg-config man page for more details.
12498
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12499
See \`config.log' for more details" "$LINENO" 5 ; }
12501
ZEITGEIST_DAEMON_CFLAGS=$pkg_cv_ZEITGEIST_DAEMON_CFLAGS
12502
ZEITGEIST_DAEMON_LIBS=$pkg_cv_ZEITGEIST_DAEMON_LIBS
12503
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12504
$as_echo "yes" >&6; }
12508
#####################################################
12509
# local install for distcheck and stand-alone running
12510
#####################################################
12511
with_localinstall="no"
12512
# Check whether --enable-localinstall was given.
12513
if test "${enable_localinstall+set}" = set; then :
12514
enableval=$enable_localinstall; with_localinstall=$enableval
12516
with_localinstall=no
12520
if test "x$with_localinstall" = "xyes"; then
12521
HAVE_LOCALINSTALL_TRUE=
12522
HAVE_LOCALINSTALL_FALSE='#'
12524
HAVE_LOCALINSTALL_TRUE='#'
12525
HAVE_LOCALINSTALL_FALSE=
12529
#####################################################
12530
# Expand variables needed for config.vala
12531
#####################################################
12536
prefix_save=$prefix
12537
exec_prefix_save=$exec_prefix
12539
if test "x$prefix" = "xNONE"; then
12540
prefix=$ac_default_prefix
12542
if test "x$exec_prefix" = "xNONE"; then
12543
exec_prefix=$prefix
12546
full_var="$FROM_VAR"
12548
new_full_var="`eval echo $full_var`"
12549
if test "x$new_full_var"="x$full_var"; then break; fi
12550
full_var=$new_full_var
12553
full_var=$new_full_var
12557
prefix=$prefix_save
12558
exec_prefix=$exec_prefix_save
12564
FROM_VAR=$datarootdir
12566
prefix_save=$prefix
12567
exec_prefix_save=$exec_prefix
12569
if test "x$prefix" = "xNONE"; then
12570
prefix=$ac_default_prefix
12572
if test "x$exec_prefix" = "xNONE"; then
12573
exec_prefix=$prefix
12576
full_var="$FROM_VAR"
12578
new_full_var="`eval echo $full_var`"
12579
if test "x$new_full_var"="x$full_var"; then break; fi
12580
full_var=$new_full_var
12583
full_var=$new_full_var
12584
DATADIR="$full_var"
12587
prefix=$prefix_save
12588
exec_prefix=$exec_prefix_save
12592
#####################################################
12593
# look for dbus service dir
12594
#####################################################
12595
if test "x$with_localinstall" = "xyes"; then
12596
DBUSSERVICEDIR="${datadir}/dbus-1/services/"
12598
DBUSSERVICEDIR=`$PKG_CONFIG --variable=session_bus_services_dir dbus-1`
12602
#####################################################
12603
# Create the Makefiles
12604
#####################################################
12605
ac_config_files="$ac_config_files Makefile files.place.in data/Makefile src/Makefile src/config.vala po/Makefile.in"
12607
cat >confcache <<\_ACEOF
12608
# This file is a shell script that caches the results of configure
12609
# tests run on this system so they can be shared between configure
12610
# scripts and configure runs, see configure's option --config-cache.
12611
# It is not useful on other systems. If it contains results you don't
12612
# want to keep, you may remove or edit it.
12614
# config.status only pays attention to the cache file if you give it
12615
# the --recheck option to rerun configure.
12617
# `ac_cv_env_foo' variables (set or unset) will be overridden when
12618
# loading this file, other *unset* `ac_cv_foo' will be assigned the
12619
# following values.
12623
# The following way of writing the cache mishandles newlines in values,
12624
# but we know of no workaround that is simple, portable, and efficient.
12625
# So, we kill variables containing newlines.
12626
# Ultrix sh set writes to stderr and can't be redirected directly,
12627
# and sets the high bit in the cache file unless we assign to the vars.
12629
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12630
eval ac_val=\$$ac_var
12634
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12635
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12638
_ | IFS | as_nl) ;; #(
12639
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12640
*) { eval $ac_var=; unset $ac_var;} ;;
12646
case $as_nl`(ac_space=' '; set) 2>&1` in #(
12647
*${as_nl}ac_space=\ *)
12648
# `set' does not quote correctly, so add quotes: double-quote
12649
# substitution turns \\\\ into \\, and sed turns \\ into \.
12652
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12655
# `set' quotes correctly as required by POSIX, so do not add quotes.
12656
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12665
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12667
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12669
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12670
if test -w "$cache_file"; then
12671
test "x$cache_file" != "x/dev/null" &&
12672
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12673
$as_echo "$as_me: updating cache $cache_file" >&6;}
12674
cat confcache >$cache_file
12676
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12677
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12682
test "x$prefix" = xNONE && prefix=$ac_default_prefix
12683
# Let make expand exec_prefix.
12684
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12686
DEFS=-DHAVE_CONFIG_H
12691
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12692
# 1. Remove the extension, and $U if already installed.
12693
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12694
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12695
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12696
# will be set to the directory where LIBOBJS objects are built.
12697
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12698
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
12700
LIBOBJS=$ac_libobjs
12702
LTLIBOBJS=$ac_ltlibobjs
12705
if test -n "$EXEEXT"; then
12707
am__EXEEXT_FALSE='#'
12709
am__EXEEXT_TRUE='#'
12713
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
12714
as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
12715
Usually this means the macro was only invoked conditionally." "$LINENO" 5
12717
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12718
as_fn_error $? "conditional \"AMDEP\" was never defined.
12719
Usually this means the macro was only invoked conditionally." "$LINENO" 5
12721
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12722
as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
12723
Usually this means the macro was only invoked conditionally." "$LINENO" 5
12726
ac_config_commands="$ac_config_commands po/stamp-it"
12729
if test -z "${HAVE_LOCALINSTALL_TRUE}" && test -z "${HAVE_LOCALINSTALL_FALSE}"; then
12730
as_fn_error $? "conditional \"HAVE_LOCALINSTALL\" was never defined.
12731
Usually this means the macro was only invoked conditionally." "$LINENO" 5
12734
: ${CONFIG_STATUS=./config.status}
12736
ac_clean_files_save=$ac_clean_files
12737
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12738
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12739
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12741
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12743
# Generated by $as_me.
12744
# Run this file to recreate the current configuration.
12745
# Compiler output produced by configure, useful for debugging
12746
# configure, is in config.log if it exists.
12749
ac_cs_recheck=false
12752
SHELL=\${CONFIG_SHELL-$SHELL}
12755
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
12756
## -------------------- ##
12757
## M4sh Initialization. ##
12758
## -------------------- ##
12760
# Be more Bourne compatible
12761
DUALCASE=1; export DUALCASE # for MKS sh
12762
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
12765
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12766
# is contrary to our usage. Disable this feature.
12767
alias -g '${1+"$@"}'='"$@"'
12768
setopt NO_GLOB_SUBST
12770
case `(set -o) 2>/dev/null` in #(
12782
# Printing a long string crashes Solaris 7 /usr/bin/printf.
12783
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12784
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12785
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12786
# Prefer a ksh shell builtin over an external printf program on Solaris,
12787
# but without wasting forks for bash or zsh.
12788
if test -z "$BASH_VERSION$ZSH_VERSION" \
12789
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12790
as_echo='print -r --'
12791
as_echo_n='print -rn --'
12792
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12793
as_echo='printf %s\n'
12794
as_echo_n='printf %s'
12796
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12797
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
12798
as_echo_n='/usr/ucb/echo -n'
12800
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12801
as_echo_n_body='eval
12805
expr "X$arg" : "X\\(.*\\)$as_nl";
12806
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12808
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
12810
export as_echo_n_body
12811
as_echo_n='sh -c $as_echo_n_body as_echo'
12813
export as_echo_body
12814
as_echo='sh -c $as_echo_body as_echo'
12817
# The user is always right.
12818
if test "${PATH_SEPARATOR+set}" != set; then
12820
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12821
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12828
# We need space, tab and new line, in precisely that order. Quoting is
12829
# there to prevent editors from complaining about space-tab.
12830
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
12831
# splitting by setting IFS to empty value.)
12834
# Find who we are. Look in the path if we contain no directory separator.
12836
*[\\/]* ) as_myself=$0 ;;
12837
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12838
for as_dir in $PATH
12841
test -z "$as_dir" && as_dir=.
12842
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12848
# We did not find ourselves, most probably we were run as `sh COMMAND'
12849
# in which case we are not to be found in the path.
12850
if test "x$as_myself" = x; then
12853
if test ! -f "$as_myself"; then
12854
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12858
# Unset variables that we do not need and which cause bugs (e.g. in
12859
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
12860
# suppresses any "Segmentation fault" message there. '((' could
12861
# trigger a bug in pdksh 5.2.14.
12862
for as_var in BASH_ENV ENV MAIL MAILPATH
12863
do eval test x\${$as_var+set} = xset \
12864
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
12877
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12880
# as_fn_error STATUS ERROR [LINENO LOG_FD]
12881
# ----------------------------------------
12882
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12883
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12884
# script with STATUS, using 1 if that was 0.
12887
as_status=$1; test $as_status -eq 0 && as_status=1
12889
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
12890
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12892
$as_echo "$as_me: error: $2" >&2
12893
as_fn_exit $as_status
12897
# as_fn_set_status STATUS
12898
# -----------------------
12899
# Set $? to STATUS, without forking.
12900
as_fn_set_status ()
12903
} # as_fn_set_status
12905
# as_fn_exit STATUS
12906
# -----------------
12907
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12911
as_fn_set_status $1
12917
# Portably unset VAR.
12920
{ eval $1=; unset $1;}
12922
as_unset=as_fn_unset
12923
# as_fn_append VAR VALUE
12924
# ----------------------
12925
# Append the text in VALUE to the end of the definition contained in VAR. Take
12926
# advantage of any shell optimizations that allow amortized linear growth over
12927
# repeated appends, instead of the typical quadratic growth present in naive
12929
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
12930
eval 'as_fn_append ()
12941
# as_fn_arith ARG...
12942
# ------------------
12943
# Perform arithmetic evaluation on the ARGs, and store the result in the
12944
# global $as_val. Take advantage of shells that can avoid forks. The arguments
12945
# must be portable across $(()) and expr.
12946
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
12947
eval 'as_fn_arith ()
12954
as_val=`expr "$@" || test $? -eq 1`
12959
if expr a : '\(a\)' >/dev/null 2>&1 &&
12960
test "X`expr 00001 : '.*\(...\)'`" = X001; then
12966
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12967
as_basename=basename
12972
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
12978
as_me=`$as_basename -- "$0" ||
12979
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12980
X"$0" : 'X\(//\)$' \| \
12981
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12983
sed '/^.*\/\([^/][^/]*\)\/*$/{
12997
# Avoid depending upon Character Ranges.
12998
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12999
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13000
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13001
as_cr_digits='0123456789'
13002
as_cr_alnum=$as_cr_Letters$as_cr_digits
13004
ECHO_C= ECHO_N= ECHO_T=
13005
case `echo -n x` in #(((((
13007
case `echo 'xy\c'` in
13008
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
13010
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
13017
rm -f conf$$ conf$$.exe conf$$.file
13018
if test -d conf$$.dir; then
13019
rm -f conf$$.dir/conf$$.file
13022
mkdir conf$$.dir 2>/dev/null
13024
if (echo >conf$$.file) 2>/dev/null; then
13025
if ln -s conf$$.file conf$$ 2>/dev/null; then
13027
# ... but there are two gotchas:
13028
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13029
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13030
# In both cases, we have to default to `cp -p'.
13031
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13033
elif ln conf$$.file conf$$ 2>/dev/null; then
13041
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13042
rmdir conf$$.dir 2>/dev/null
13047
# Create "$as_dir" as a directory, including parents if necessary.
13052
-*) as_dir=./$as_dir;;
13054
test -d "$as_dir" || eval $as_mkdir_p || {
13058
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13059
*) as_qdir=$as_dir;;
13061
as_dirs="'$as_qdir' $as_dirs"
13062
as_dir=`$as_dirname -- "$as_dir" ||
13063
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13064
X"$as_dir" : 'X\(//\)[^/]' \| \
13065
X"$as_dir" : 'X\(//\)$' \| \
13066
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13067
$as_echo X"$as_dir" |
13068
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13072
/^X\(\/\/\)[^/].*/{
13085
test -d "$as_dir" && break
13087
test -z "$as_dirs" || eval "mkdir $as_dirs"
13088
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13092
if mkdir -p . 2>/dev/null; then
13093
as_mkdir_p='mkdir -p "$as_dir"'
13095
test -d ./-p && rmdir ./-p
13099
if test -x / >/dev/null 2>&1; then
13100
as_test_x='test -x'
13102
if ls -dL / >/dev/null 2>&1; then
13109
if test -d "$1"; then
13115
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
13116
???[sx]*):;;*)false;;esac;fi
13120
as_executable_p=$as_test_x
13122
# Sed expression to map a string onto a valid CPP name.
13123
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13125
# Sed expression to map a string onto a valid variable name.
13126
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13130
## ----------------------------------- ##
13131
## Main body of $CONFIG_STATUS script. ##
13132
## ----------------------------------- ##
13134
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13136
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13137
# Save the log message, to keep $0 and so on meaningful, and to
13138
# report actual input values of CONFIG_FILES etc. instead of their
13139
# values after options handling.
13141
This file was extended by unity-place-files $as_me 0.5.38, which was
13142
generated by GNU Autoconf 2.67. Invocation command line was
13144
CONFIG_FILES = $CONFIG_FILES
13145
CONFIG_HEADERS = $CONFIG_HEADERS
13146
CONFIG_LINKS = $CONFIG_LINKS
13147
CONFIG_COMMANDS = $CONFIG_COMMANDS
13150
on `(hostname || uname -n) 2>/dev/null | sed 1q`
13155
case $ac_config_files in *"
13156
"*) set x $ac_config_files; shift; ac_config_files=$*;;
13159
case $ac_config_headers in *"
13160
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13164
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13165
# Files that config.status was made for.
13166
config_files="$ac_config_files"
13167
config_headers="$ac_config_headers"
13168
config_commands="$ac_config_commands"
13172
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13174
\`$as_me' instantiates files and other configuration actions
13175
from templates according to the current configuration. Unless the files
13176
and actions are specified as TAGs, all are instantiated by default.
13178
Usage: $0 [OPTION]... [TAG]...
13180
-h, --help print this help, then exit
13181
-V, --version print version number and configuration settings, then exit
13182
--config print configuration, then exit
13183
-q, --quiet, --silent
13184
do not print progress messages
13185
-d, --debug don't remove temporary files
13186
--recheck update $as_me by reconfiguring in the same conditions
13187
--file=FILE[:TEMPLATE]
13188
instantiate the configuration file FILE
13189
--header=FILE[:TEMPLATE]
13190
instantiate the configuration header FILE
13192
Configuration files:
13195
Configuration headers:
13198
Configuration commands:
13201
Report bugs to <https://launchpad.net/unity-place-files>."
13204
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13205
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13207
unity-place-files config.status 0.5.38
13208
configured by $0, generated by GNU Autoconf 2.67,
13209
with options \\"\$ac_cs_config\\"
13211
Copyright (C) 2010 Free Software Foundation, Inc.
13212
This config.status script is free software; the Free Software Foundation
13213
gives unlimited permission to copy, distribute and modify it."
13220
test -n "\$AWK" || AWK=awk
13223
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13224
# The default lists apply if the user does not specify any file.
13230
ac_option=`expr "X$1" : 'X\([^=]*\)='`
13231
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13235
ac_option=`expr "X$1" : 'X\([^=]*\)='`
13247
# Handling of the options.
13248
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13250
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13251
$as_echo "$ac_cs_version"; exit ;;
13252
--config | --confi | --conf | --con | --co | --c )
13253
$as_echo "$ac_cs_config"; exit ;;
13254
--debug | --debu | --deb | --de | --d | -d )
13256
--file | --fil | --fi | --f )
13259
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13260
'') as_fn_error $? "missing file argument" ;;
13262
as_fn_append CONFIG_FILES " '$ac_optarg'"
13263
ac_need_defaults=false;;
13264
--header | --heade | --head | --hea )
13267
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13269
as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13270
ac_need_defaults=false;;
13272
# Conflict between --help and --header
13273
as_fn_error $? "ambiguous option: \`$1'
13274
Try \`$0 --help' for more information.";;
13275
--help | --hel | -h )
13276
$as_echo "$ac_cs_usage"; exit ;;
13277
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
13278
| -silent | --silent | --silen | --sile | --sil | --si | --s)
13281
# This is an error.
13282
-*) as_fn_error $? "unrecognized option: \`$1'
13283
Try \`$0 --help' for more information." ;;
13285
*) as_fn_append ac_config_targets " $1"
13286
ac_need_defaults=false ;;
13292
ac_configure_extra_args=
13294
if $ac_cs_silent; then
13296
ac_configure_extra_args="$ac_configure_extra_args --silent"
13300
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13301
if \$ac_cs_recheck; then
13302
set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13304
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13305
CONFIG_SHELL='$SHELL'
13306
export CONFIG_SHELL
13311
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13315
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13316
## Running $as_me. ##
13322
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13326
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13329
# The HP-UX ksh and POSIX shell print the target directory to stdout
13330
# if CDPATH is set.
13331
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13333
sed_quote_subst='$sed_quote_subst'
13334
double_quote_subst='$double_quote_subst'
13335
delay_variable_subst='$delay_variable_subst'
13336
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
13337
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
13338
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
13339
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
13340
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
13341
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
13342
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
13343
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
13344
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
13345
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
13346
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
13347
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
13348
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
13349
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
13350
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
13351
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
13352
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
13353
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
13354
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
13355
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
13356
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
13357
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
13358
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
13359
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
13360
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
13361
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
13362
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
13363
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13364
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
13365
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
13366
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
13367
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
13368
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13369
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
13370
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
13371
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13372
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13373
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13374
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
13375
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13376
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
13377
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
13378
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
13379
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
13380
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
13381
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
13382
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
13383
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
13384
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
13385
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
13386
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
13387
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
13388
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
13389
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
13390
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
13391
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
13392
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
13393
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
13394
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
13395
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
13396
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
13397
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
13398
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13399
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13400
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
13401
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
13402
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13403
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13404
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
13405
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13406
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13407
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13408
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13409
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13410
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13411
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
13412
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13413
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13414
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13415
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
13416
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
13417
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
13418
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
13419
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
13420
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13421
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
13422
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
13423
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
13424
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
13425
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
13426
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13427
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13428
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13429
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13430
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
13431
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
13432
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
13433
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
13434
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
13435
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13436
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13437
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
13438
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13439
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
13440
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13441
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13442
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13443
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13444
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
13445
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
13446
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13447
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13448
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
13449
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
13450
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
13451
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
13452
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
13453
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
13456
LTCFLAGS='$LTCFLAGS'
13457
compiler='$compiler_DEFAULT'
13459
# Quote evaled strings.
13471
deplibs_check_method \
13480
lt_cv_sys_global_symbol_pipe \
13481
lt_cv_sys_global_symbol_to_cdecl \
13482
lt_cv_sys_global_symbol_to_c_name_address \
13483
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13486
lt_prog_compiler_no_builtin_flag \
13487
lt_prog_compiler_wl \
13488
lt_prog_compiler_pic \
13489
lt_prog_compiler_static \
13490
lt_cv_prog_compiler_c_o \
13498
export_dynamic_flag_spec \
13499
whole_archive_flag_spec \
13500
compiler_needs_object \
13502
allow_undefined_flag \
13503
no_undefined_flag \
13504
hardcode_libdir_flag_spec \
13505
hardcode_libdir_flag_spec_ld \
13506
hardcode_libdir_separator \
13511
variables_saved_for_relink \
13513
library_names_spec \
13518
case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13519
*[\\\\\\\`\\"\\\$]*)
13520
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13523
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13528
# Double-quote double-evaled strings.
13529
for var in reload_cmds \
13530
old_postinstall_cmds \
13531
old_postuninstall_cmds \
13533
extract_expsyms_cmds \
13534
old_archive_from_new_cmds \
13535
old_archive_from_expsyms_cmds \
13537
archive_expsym_cmds \
13539
module_expsym_cmds \
13540
export_symbols_cmds \
13543
postuninstall_cmds \
13545
sys_lib_search_path_spec \
13546
sys_lib_dlsearch_path_spec; do
13547
case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13548
*[\\\\\\\`\\"\\\$]*)
13549
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13552
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13557
# Fix-up fallback echo if it was mangled by the above quoting rules.
13559
*'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
13563
ac_aux_dir='$ac_aux_dir'
13564
xsi_shell='$xsi_shell'
13565
lt_shell_append='$lt_shell_append'
13567
# See if we are running on zsh, and set the options which allow our
13568
# commands through without removal of \ escapes INIT.
13569
if test -n "\${ZSH_VERSION+set}" ; then
13570
setopt NO_GLOB_SUBST
13576
TIMESTAMP='$TIMESTAMP'
13586
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13588
# Handling of arguments.
13589
for ac_config_target in $ac_config_targets
13591
case $ac_config_target in
13592
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
13593
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13594
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13595
"default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
13596
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13597
"files.place.in") CONFIG_FILES="$CONFIG_FILES files.place.in" ;;
13598
"data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
13599
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
13600
"src/config.vala") CONFIG_FILES="$CONFIG_FILES src/config.vala" ;;
13601
"po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
13602
"po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
13604
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
13609
# If the user did not use the arguments to specify the items to instantiate,
13610
# then the envvar interface is used. Set only those that are not.
13611
# We use the long form for the default assignment because of an extremely
13612
# bizarre bug on SunOS 4.1.3.
13613
if $ac_need_defaults; then
13614
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13615
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13616
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13619
# Have a temporary directory for convenience. Make it in the build tree
13620
# simply because there is no reason against having it here, and in addition,
13621
# creating and moving files from /tmp can sometimes cause problems.
13622
# Hook for its removal unless debugging.
13623
# Note that there is a small window in which the directory will not be cleaned:
13624
# after its creation but before its name has been assigned to `$tmp'.
13628
trap 'exit_status=$?
13629
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13631
trap 'as_fn_exit 1' 1 2 13 15
13633
# Create a (secure) tmp directory for tmp files.
13636
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13637
test -n "$tmp" && test -d "$tmp"
13640
tmp=./conf$$-$RANDOM
13641
(umask 077 && mkdir "$tmp")
13642
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
13644
# Set up the scripts for CONFIG_FILES section.
13645
# No need to generate them if there are no CONFIG_FILES.
13646
# This happens for instance with `./config.status config.h'.
13647
if test -n "$CONFIG_FILES"; then
13650
ac_cr=`echo X | tr X '\015'`
13651
# On cygwin, bash can eat \r inside `` if the user requested igncr.
13652
# But we know of no other shell where ac_cr would be empty at this
13653
# point, so we can use a bashism as a fallback.
13654
if test "x$ac_cr" = x; then
13655
eval ac_cr=\$\'\\r\'
13657
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13658
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13661
ac_cs_awk_cr=$ac_cr
13664
echo 'BEGIN {' >"$tmp/subs1.awk" &&
13669
echo "cat >conf$$subs.awk <<_ACEOF" &&
13670
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13672
} >conf$$subs.sh ||
13673
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13674
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13676
for ac_last_try in false false false false false :; do
13677
. ./conf$$subs.sh ||
13678
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13680
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13681
if test $ac_delim_n = $ac_delim_num; then
13683
elif $ac_last_try; then
13684
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13686
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13689
rm -f conf$$subs.sh
13691
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13692
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
13696
s/^/S["/; s/!.*/"]=/
13706
s/\(.\{148\}\)..*/\1/
13708
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13713
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13720
s/\(.\{148\}\)..*/\1/
13722
s/["\\]/\\&/g; s/^/"/; s/$/"/
13726
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13731
' <conf$$subs.awk | sed '
13736
' >>$CONFIG_STATUS || ac_write_fail=1
13737
rm -f conf$$subs.awk
13738
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13740
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
13741
for (key in S) S_is_set[key] = 1
13747
nfields = split(line, field, "@")
13749
len = length(field[1])
13750
for (i = 2; i < nfields; i++) {
13752
keylen = length(key)
13753
if (S_is_set[key]) {
13755
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13756
len += length(value) + length(field[++i])
13767
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13768
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13769
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
13772
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
13773
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5
13776
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13777
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
13778
# trailing colons and then remove the whole line if VPATH becomes empty
13779
# (actually we leave an empty line to preserve line numbers).
13780
if test "x$srcdir" = x.; then
13781
ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
13799
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13800
fi # test -n "$CONFIG_FILES"
13802
# Set up the scripts for CONFIG_HEADERS section.
13803
# No need to generate them if there are no CONFIG_HEADERS.
13804
# This happens for instance with `./config.status Makefile'.
13805
if test -n "$CONFIG_HEADERS"; then
13806
cat >"$tmp/defines.awk" <<\_ACAWK ||
13810
# Transform confdefs.h into an awk script `defines.awk', embedded as
13811
# here-document in config.status, that substitutes the proper values into
13812
# config.h.in to produce config.h.
13814
# Create a delimiter string that does not exist in confdefs.h, to ease
13815
# handling of long lines.
13817
for ac_last_try in false false :; do
13818
ac_t=`sed -n "/$ac_delim/p" confdefs.h`
13819
if test -z "$ac_t"; then
13821
elif $ac_last_try; then
13822
as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
13824
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13828
# For the awk script, D is an array of macro values keyed by name,
13829
# likewise P contains macro parameters if any. Preserve backslash
13830
# newline sequences.
13832
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13834
s/.\{148\}/&'"$ac_delim"'/g
13837
s/^[ ]*#[ ]*define[ ][ ]*/ /
13844
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
13846
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
13850
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
13851
D["\1"]=" \3\\\\\\n"\\/p
13853
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
13858
s/.\{148\}/&'"$ac_delim"'/g
13863
s/["\\]/\\&/g; s/^/"/; s/$/"/p
13866
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
13868
' <confdefs.h | sed '
13869
s/'"$ac_delim"'/"\\\
13870
"/g' >>$CONFIG_STATUS || ac_write_fail=1
13872
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13873
for (key in D) D_is_set[key] = 1
13876
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13878
split(line, arg, " ")
13879
if (arg[1] == "#") {
13883
defundef = substr(arg[1], 2)
13886
split(mac1, mac2, "(") #)
13888
prefix = substr(line, 1, index(line, defundef) - 1)
13889
if (D_is_set[macro]) {
13890
# Preserve the white space surrounding the "#".
13891
print prefix "define", macro P[macro] D[macro]
13894
# Replace #undef with comments. This is necessary, for example,
13895
# in the case of _POSIX_SOURCE, which is predefined and required
13896
# on some systems where configure will not decide to define it.
13897
if (defundef == "undef") {
13898
print "/*", prefix defundef, macro, "*/"
13906
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13907
as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
13908
fi # test -n "$CONFIG_HEADERS"
13911
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
13916
:[FHLC]) ac_mode=$ac_tag; continue;;
13918
case $ac_mode$ac_tag in
13920
:L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
13921
:[FH]-) ac_tag=-:-;;
13922
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
13939
-) ac_f="$tmp/stdin";;
13940
*) # Look for the file first in the build tree, then in the source tree
13941
# (if the path is not absolute). The absolute path cannot be DOS-style,
13942
# because $ac_f cannot contain `:'.
13946
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
13948
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
13950
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13951
as_fn_append ac_file_inputs " '$ac_f'"
13954
# Let's still pretend it is `configure' which instantiates (i.e., don't
13955
# use $as_me), people would be surprised to read:
13956
# /* config.h. Generated by config.status. */
13957
configure_input='Generated from '`
13958
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13960
if test x"$ac_file" != x-; then
13961
configure_input="$ac_file. $configure_input"
13962
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13963
$as_echo "$as_me: creating $ac_file" >&6;}
13965
# Neutralize special characters interpreted by sed in replacement strings.
13966
case $configure_input in #(
13967
*\&* | *\|* | *\\* )
13968
ac_sed_conf_input=`$as_echo "$configure_input" |
13969
sed 's/[\\\\&|]/\\\\&/g'`;; #(
13970
*) ac_sed_conf_input=$configure_input;;
13974
*:-:* | *:-) cat >"$tmp/stdin" \
13975
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
13980
ac_dir=`$as_dirname -- "$ac_file" ||
13981
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13982
X"$ac_file" : 'X\(//\)[^/]' \| \
13983
X"$ac_file" : 'X\(//\)$' \| \
13984
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13985
$as_echo X"$ac_file" |
13986
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13990
/^X\(\/\/\)[^/].*/{
14003
as_dir="$ac_dir"; as_fn_mkdir_p
14007
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14009
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14010
# A ".." for each directory in $ac_dir_suffix.
14011
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14012
case $ac_top_builddir_sub in
14013
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14014
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14017
ac_abs_top_builddir=$ac_pwd
14018
ac_abs_builddir=$ac_pwd$ac_dir_suffix
14019
# for backward compatibility:
14020
ac_top_builddir=$ac_top_build_prefix
14023
.) # We are building in place.
14025
ac_top_srcdir=$ac_top_builddir_sub
14026
ac_abs_top_srcdir=$ac_pwd ;;
14027
[\\/]* | ?:[\\/]* ) # Absolute name.
14028
ac_srcdir=$srcdir$ac_dir_suffix;
14029
ac_top_srcdir=$srcdir
14030
ac_abs_top_srcdir=$srcdir ;;
14031
*) # Relative name.
14032
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14033
ac_top_srcdir=$ac_top_build_prefix$srcdir
14034
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14036
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14046
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14047
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14049
ac_MKDIR_P=$MKDIR_P
14051
[\\/$]* | ?:[\\/]* ) ;;
14052
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14056
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14057
# If the template does not know about datarootdir, expand it.
14058
# FIXME: This hack should be removed a few years after 2.60.
14059
ac_datarootdir_hack=; ac_datarootdir_seen=
14070
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14071
*datarootdir*) ac_datarootdir_seen=yes;;
14072
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14073
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14074
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14076
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14077
ac_datarootdir_hack='
14078
s&@datadir@&$datadir&g
14079
s&@docdir@&$docdir&g
14080
s&@infodir@&$infodir&g
14081
s&@localedir@&$localedir&g
14082
s&@mandir@&$mandir&g
14083
s&\\\${datarootdir}&$datarootdir&g' ;;
14087
# Neutralize VPATH when `$srcdir' = `.'.
14088
# Shell code in configure.ac might set extrasub.
14089
# FIXME: do we really want to maintain this feature?
14090
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14091
ac_sed_extra="$ac_vpsub
14094
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14096
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14097
s|@configure_input@|$ac_sed_conf_input|;t t
14098
s&@top_builddir@&$ac_top_builddir_sub&;t t
14099
s&@top_build_prefix@&$ac_top_build_prefix&;t t
14100
s&@srcdir@&$ac_srcdir&;t t
14101
s&@abs_srcdir@&$ac_abs_srcdir&;t t
14102
s&@top_srcdir@&$ac_top_srcdir&;t t
14103
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14104
s&@builddir@&$ac_builddir&;t t
14105
s&@abs_builddir@&$ac_abs_builddir&;t t
14106
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14107
s&@INSTALL@&$ac_INSTALL&;t t
14108
s&@MKDIR_P@&$ac_MKDIR_P&;t t
14109
$ac_datarootdir_hack
14111
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
14112
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
14114
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14115
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
14116
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
14117
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14118
which seems to be undefined. Please make sure it is defined" >&5
14119
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14120
which seems to be undefined. Please make sure it is defined" >&2;}
14124
-) cat "$tmp/out" && rm -f "$tmp/out";;
14125
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
14127
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
14133
if test x"$ac_file" != x-; then
14135
$as_echo "/* $configure_input */" \
14136
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
14137
} >"$tmp/config.h" \
14138
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
14139
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
14140
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14141
$as_echo "$as_me: $ac_file is unchanged" >&6;}
14144
mv "$tmp/config.h" "$ac_file" \
14145
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
14148
$as_echo "/* $configure_input */" \
14149
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
14150
|| as_fn_error $? "could not create -" "$LINENO" 5
14152
# Compute "$ac_file"'s index in $config_headers.
14155
for _am_header in $config_headers :; do
14156
case $_am_header in
14157
$_am_arg | $_am_arg:* )
14160
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
14163
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14164
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14165
X"$_am_arg" : 'X\(//\)[^/]' \| \
14166
X"$_am_arg" : 'X\(//\)$' \| \
14167
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14168
$as_echo X"$_am_arg" |
14169
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14173
/^X\(\/\/\)[^/].*/{
14185
s/.*/./; q'`/stamp-h$_am_stamp_count
14188
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14189
$as_echo "$as_me: executing $ac_file commands" >&6;}
14194
case $ac_file$ac_mode in
14195
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14196
# Autoconf 2.62 quotes --file arguments for eval, but not when files
14197
# are listed without --file. Let's play safe and only enable the eval
14198
# if we detect the quoting.
14199
case $CONFIG_FILES in
14200
*\'*) eval set x "$CONFIG_FILES" ;;
14201
*) set x $CONFIG_FILES ;;
14206
# Strip MF so we end up with the name of the file.
14207
mf=`echo "$mf" | sed -e 's/:.*$//'`
14208
# Check whether this is an Automake generated Makefile or not.
14209
# We used to match only the files named `Makefile.in', but
14210
# some people rename them; so instead we look at the file content.
14211
# Grep'ing the first line is not enough: some people post-process
14212
# each Makefile.in and add a new line on top of each file to say so.
14213
# Grep'ing the whole file is not good either: AIX grep has a line
14214
# limit of 2048, but all sed's we know have understand at least 4000.
14215
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14216
dirpart=`$as_dirname -- "$mf" ||
14217
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14218
X"$mf" : 'X\(//\)[^/]' \| \
14219
X"$mf" : 'X\(//\)$' \| \
14220
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14222
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14226
/^X\(\/\/\)[^/].*/{
14242
# Extract the definition of DEPDIR, am__include, and am__quote
14243
# from the Makefile without running `make'.
14244
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14245
test -z "$DEPDIR" && continue
14246
am__include=`sed -n 's/^am__include = //p' < "$mf"`
14247
test -z "am__include" && continue
14248
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14249
# When using ansi2knr, U may be empty or an underscore; expand it
14250
U=`sed -n 's/^U = //p' < "$mf"`
14251
# Find all dependency output files, they are included files with
14252
# $(DEPDIR) in their names. We invoke sed twice because it is the
14253
# simplest approach to changing $(DEPDIR) to its actual value in the
14255
for file in `sed -n "
14256
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14257
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14258
# Make sure the directory exists.
14259
test -f "$dirpart/$file" && continue
14260
fdir=`$as_dirname -- "$file" ||
14261
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14262
X"$file" : 'X\(//\)[^/]' \| \
14263
X"$file" : 'X\(//\)$' \| \
14264
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14265
$as_echo X"$file" |
14266
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14270
/^X\(\/\/\)[^/].*/{
14283
as_dir=$dirpart/$fdir; as_fn_mkdir_p
14284
# echo "creating $dirpart/$file"
14285
echo '# dummy' > "$dirpart/$file"
14292
# See if we are running on zsh, and set the options which allow our
14293
# commands through without removal of \ escapes.
14294
if test -n "${ZSH_VERSION+set}" ; then
14295
setopt NO_GLOB_SUBST
14298
cfgfile="${ofile}T"
14299
trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14302
cat <<_LT_EOF >> "$cfgfile"
14305
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14306
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14307
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14308
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
14310
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14311
# 2006, 2007, 2008 Free Software Foundation, Inc.
14312
# Written by Gordon Matzigkeit, 1996
14314
# This file is part of GNU Libtool.
14316
# GNU Libtool is free software; you can redistribute it and/or
14317
# modify it under the terms of the GNU General Public License as
14318
# published by the Free Software Foundation; either version 2 of
14319
# the License, or (at your option) any later version.
14321
# As a special exception to the GNU General Public License,
14322
# if you distribute this file as part of a program or library that
14323
# is built using GNU Libtool, you may include this file under the
14324
# same distribution terms that you use for the rest of that program.
14326
# GNU Libtool is distributed in the hope that it will be useful,
14327
# but WITHOUT ANY WARRANTY; without even the implied warranty of
14328
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14329
# GNU General Public License for more details.
14331
# You should have received a copy of the GNU General Public License
14332
# along with GNU Libtool; see the file COPYING. If not, a copy
14333
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14334
# obtained by writing to the Free Software Foundation, Inc.,
14335
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14338
# The names of the tagged configurations supported by this script.
14341
# ### BEGIN LIBTOOL CONFIG
14343
# Which release of libtool.m4 was used?
14344
macro_version=$macro_version
14345
macro_revision=$macro_revision
14347
# Whether or not to build shared libraries.
14348
build_libtool_libs=$enable_shared
14350
# Whether or not to build static libraries.
14351
build_old_libs=$enable_static
14353
# What type of objects to build.
14356
# Whether or not to optimize for fast installation.
14357
fast_install=$enable_fast_install
14360
host_alias=$host_alias
14364
# The build system.
14365
build_alias=$build_alias
14369
# A sed program that does not truncate output.
14372
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
14373
Xsed="\$SED -e 1s/^X//"
14375
# A grep program that handles long lines.
14381
# A literal string matcher.
14384
# A BSD- or MS-compatible name lister.
14387
# Whether we need soft or hard links.
14390
# What is the maximum length of a command?
14391
max_cmd_len=$max_cmd_len
14393
# Object file suffix (normally "o").
14396
# Executable file suffix (normally "").
14399
# whether the shell understands "unset".
14402
# turn spaces into newlines.
14405
# turn newlines into spaces.
14408
# How to create reloadable object files.
14409
reload_flag=$lt_reload_flag
14410
reload_cmds=$lt_reload_cmds
14412
# An object symbol dumper.
14413
OBJDUMP=$lt_OBJDUMP
14415
# Method to check whether dependent libraries are shared objects.
14416
deplibs_check_method=$lt_deplibs_check_method
14418
# Command to use when deplibs_check_method == "file_magic".
14419
file_magic_cmd=$lt_file_magic_cmd
14423
AR_FLAGS=$lt_AR_FLAGS
14425
# A symbol stripping program.
14428
# Commands used to install an old-style archive.
14430
old_postinstall_cmds=$lt_old_postinstall_cmds
14431
old_postuninstall_cmds=$lt_old_postuninstall_cmds
14436
# LTCC compiler flags.
14437
LTCFLAGS=$lt_CFLAGS
14439
# Take the output of nm and produce a listing of raw symbols and C names.
14440
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14442
# Transform the output of nm in a proper C declaration.
14443
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14445
# Transform the output of nm in a C name address pair.
14446
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14448
# Transform the output of nm in a C name address pair when lib prefix is needed.
14449
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14451
# The name of the directory that contains temporary libtool files.
14454
# Shell to use when invoking shell scripts.
14457
# An echo program that does not interpret backslashes.
14460
# Used to examine libraries when file_magic_cmd begins with "file".
14461
MAGIC_CMD=$MAGIC_CMD
14463
# Must we lock files when doing compilation?
14464
need_locks=$lt_need_locks
14466
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14467
DSYMUTIL=$lt_DSYMUTIL
14469
# Tool to change global to local symbols on Mac OS X.
14472
# Tool to manipulate fat objects and archives on Mac OS X.
14475
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
14478
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14479
OTOOL64=$lt_OTOOL64
14481
# Old archive suffix (normally "a").
14484
# Shared library suffix (normally ".so").
14485
shrext_cmds=$lt_shrext_cmds
14487
# The commands to extract the exported symbol list from a shared archive.
14488
extract_expsyms_cmds=$lt_extract_expsyms_cmds
14490
# Variables whose values should be saved in libtool wrapper scripts and
14491
# restored at link time.
14492
variables_saved_for_relink=$lt_variables_saved_for_relink
14494
# Do we need the "lib" prefix for modules?
14495
need_lib_prefix=$need_lib_prefix
14497
# Do we need a version for libraries?
14498
need_version=$need_version
14500
# Library versioning type.
14501
version_type=$version_type
14503
# Shared library runtime path variable.
14504
runpath_var=$runpath_var
14506
# Shared library path variable.
14507
shlibpath_var=$shlibpath_var
14509
# Is shlibpath searched before the hard-coded library search path?
14510
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14512
# Format of library name prefix.
14513
libname_spec=$lt_libname_spec
14515
# List of archive names. First name is the real one, the rest are links.
14516
# The last name is the one that the linker finds with -lNAME
14517
library_names_spec=$lt_library_names_spec
14519
# The coded name of the library, if different from the real name.
14520
soname_spec=$lt_soname_spec
14522
# Command to use after installation of a shared archive.
14523
postinstall_cmds=$lt_postinstall_cmds
14525
# Command to use after uninstallation of a shared archive.
14526
postuninstall_cmds=$lt_postuninstall_cmds
14528
# Commands used to finish a libtool library installation in a directory.
14529
finish_cmds=$lt_finish_cmds
14531
# As "finish_cmds", except a single script fragment to be evaled but
14533
finish_eval=$lt_finish_eval
14535
# Whether we should hardcode library paths into libraries.
14536
hardcode_into_libs=$hardcode_into_libs
14538
# Compile-time system search path for libraries.
14539
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14541
# Run-time system search path for libraries.
14542
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14544
# Whether dlopen is supported.
14545
dlopen_support=$enable_dlopen
14547
# Whether dlopen of programs is supported.
14548
dlopen_self=$enable_dlopen_self
14550
# Whether dlopen of statically linked programs is supported.
14551
dlopen_self_static=$enable_dlopen_self_static
14553
# Commands to strip libraries.
14554
old_striplib=$lt_old_striplib
14555
striplib=$lt_striplib
14558
# The linker used to build libraries.
14561
# Commands used to build an old-style archive.
14562
old_archive_cmds=$lt_old_archive_cmds
14564
# A language specific compiler.
14567
# Is the compiler the GNU compiler?
14570
# Compiler flag to turn off builtin functions.
14571
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14573
# How to pass a linker flag through the compiler.
14574
wl=$lt_lt_prog_compiler_wl
14576
# Additional compiler flags for building library objects.
14577
pic_flag=$lt_lt_prog_compiler_pic
14579
# Compiler flag to prevent dynamic linking.
14580
link_static_flag=$lt_lt_prog_compiler_static
14582
# Does compiler simultaneously support -c and -o options?
14583
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14585
# Whether or not to add -lc for building shared libraries.
14586
build_libtool_need_lc=$archive_cmds_need_lc
14588
# Whether or not to disallow shared libs when runtime libs are static.
14589
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14591
# Compiler flag to allow reflexive dlopens.
14592
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14594
# Compiler flag to generate shared objects directly from archives.
14595
whole_archive_flag_spec=$lt_whole_archive_flag_spec
14597
# Whether the compiler copes with passing no objects directly.
14598
compiler_needs_object=$lt_compiler_needs_object
14600
# Create an old-style archive from a shared archive.
14601
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14603
# Create a temporary old-style archive to link instead of a shared archive.
14604
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14606
# Commands used to build a shared archive.
14607
archive_cmds=$lt_archive_cmds
14608
archive_expsym_cmds=$lt_archive_expsym_cmds
14610
# Commands used to build a loadable module if different from building
14611
# a shared archive.
14612
module_cmds=$lt_module_cmds
14613
module_expsym_cmds=$lt_module_expsym_cmds
14615
# Whether we are building with GNU ld or not.
14616
with_gnu_ld=$lt_with_gnu_ld
14618
# Flag that allows shared libraries with undefined symbols to be built.
14619
allow_undefined_flag=$lt_allow_undefined_flag
14621
# Flag that enforces no undefined symbols.
14622
no_undefined_flag=$lt_no_undefined_flag
14624
# Flag to hardcode \$libdir into a binary during linking.
14625
# This must work even if \$libdir does not exist
14626
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14628
# If ld is used when linking, flag to hardcode \$libdir into a binary
14629
# during linking. This must work even if \$libdir does not exist.
14630
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
14632
# Whether we need a single "-rpath" flag with a separated argument.
14633
hardcode_libdir_separator=$lt_hardcode_libdir_separator
14635
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14636
# DIR into the resulting binary.
14637
hardcode_direct=$hardcode_direct
14639
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14640
# DIR into the resulting binary and the resulting library dependency is
14641
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14642
# library is relocated.
14643
hardcode_direct_absolute=$hardcode_direct_absolute
14645
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14646
# into the resulting binary.
14647
hardcode_minus_L=$hardcode_minus_L
14649
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14650
# into the resulting binary.
14651
hardcode_shlibpath_var=$hardcode_shlibpath_var
14653
# Set to "yes" if building a shared library automatically hardcodes DIR
14654
# into the library and all subsequent libraries and executables linked
14656
hardcode_automatic=$hardcode_automatic
14658
# Set to yes if linker adds runtime paths of dependent libraries
14659
# to runtime path list.
14660
inherit_rpath=$inherit_rpath
14662
# Whether libtool must link a program against all its dependency libraries.
14663
link_all_deplibs=$link_all_deplibs
14665
# Fix the shell variable \$srcfile for the compiler.
14666
fix_srcfile_path=$lt_fix_srcfile_path
14668
# Set to "yes" if exported symbols are required.
14669
always_export_symbols=$always_export_symbols
14671
# The commands to list exported symbols.
14672
export_symbols_cmds=$lt_export_symbols_cmds
14674
# Symbols that should not be listed in the preloaded symbols.
14675
exclude_expsyms=$lt_exclude_expsyms
14677
# Symbols that must always be exported.
14678
include_expsyms=$lt_include_expsyms
14680
# Commands necessary for linking programs (against libraries) with templates.
14681
prelink_cmds=$lt_prelink_cmds
14683
# Specify filename containing input files.
14684
file_list_spec=$lt_file_list_spec
14686
# How to hardcode a shared library path into an executable.
14687
hardcode_action=$hardcode_action
14689
# ### END LIBTOOL CONFIG
14695
cat <<\_LT_EOF >> "$cfgfile"
14696
# AIX sometimes has problems with the GCC collect2 program. For some
14697
# reason, if we set the COLLECT_NAMES environment variable, the problems
14698
# vanish in a puff of smoke.
14699
if test "X${COLLECT_NAMES+set}" != Xset; then
14701
export COLLECT_NAMES
14708
ltmain="$ac_aux_dir/ltmain.sh"
14711
# We use sed instead of cat because bash on DJGPP gets confused if
14712
# if finds mixed CR/LF and LF-only lines. Since sed operates in
14713
# text mode, it properly converts lines to CR/LF. This bash problem
14714
# is reportedly fixed, but why not run on old versions too?
14715
sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
14716
|| (rm -f "$cfgfile"; exit 1)
14720
cat << \_LT_EOF >> "$cfgfile"
14722
# func_dirname file append nondir_replacement
14723
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
14724
# otherwise set result to NONDIR_REPLACEMENT.
14728
*/*) func_dirname_result="${1%/*}${2}" ;;
14729
* ) func_dirname_result="${3}" ;;
14733
# func_basename file
14736
func_basename_result="${1##*/}"
14739
# func_dirname_and_basename file append nondir_replacement
14740
# perform func_basename and func_dirname in a single function
14742
# dirname: Compute the dirname of FILE. If nonempty,
14743
# add APPEND to the result, otherwise set result
14744
# to NONDIR_REPLACEMENT.
14745
# value returned in "$func_dirname_result"
14746
# basename: Compute filename of FILE.
14747
# value retuned in "$func_basename_result"
14748
# Implementation must be kept synchronized with func_dirname
14749
# and func_basename. For efficiency, we do not delegate to
14750
# those functions but instead duplicate the functionality here.
14751
func_dirname_and_basename ()
14754
*/*) func_dirname_result="${1%/*}${2}" ;;
14755
* ) func_dirname_result="${3}" ;;
14757
func_basename_result="${1##*/}"
14760
# func_stripname prefix suffix name
14761
# strip PREFIX and SUFFIX off of NAME.
14762
# PREFIX and SUFFIX must not contain globbing or regex special
14763
# characters, hashes, percent signs, but SUFFIX may contain a leading
14764
# dot (in which case that matches only a dot).
14767
# pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
14768
# positional parameters, so assign one to ordinary parameter first.
14769
func_stripname_result=${3}
14770
func_stripname_result=${func_stripname_result#"${1}"}
14771
func_stripname_result=${func_stripname_result%"${2}"}
14777
func_opt_split_opt=${1%%=*}
14778
func_opt_split_arg=${1#*=}
14785
*.lo) func_lo2o_result=${1%.lo}.${objext} ;;
14786
*) func_lo2o_result=${1} ;;
14790
# func_xform libobj-or-source
14793
func_xform_result=${1%.*}.lo
14796
# func_arith arithmetic-term...
14799
func_arith_result=$(( $* ))
14803
# STRING may not start with a hyphen.
14806
func_len_result=${#1}
14811
*) # Bourne compatible functions.
14812
cat << \_LT_EOF >> "$cfgfile"
14814
# func_dirname file append nondir_replacement
14815
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
14816
# otherwise set result to NONDIR_REPLACEMENT.
14819
# Extract subdirectory from the argument.
14820
func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
14821
if test "X$func_dirname_result" = "X${1}"; then
14822
func_dirname_result="${3}"
14824
func_dirname_result="$func_dirname_result${2}"
14828
# func_basename file
14831
func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
14835
# func_stripname prefix suffix name
14836
# strip PREFIX and SUFFIX off of NAME.
14837
# PREFIX and SUFFIX must not contain globbing or regex special
14838
# characters, hashes, percent signs, but SUFFIX may contain a leading
14839
# dot (in which case that matches only a dot).
14840
# func_strip_suffix prefix name
14844
.*) func_stripname_result=`$ECHO "X${3}" \
14845
| $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
14846
*) func_stripname_result=`$ECHO "X${3}" \
14847
| $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
14852
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
14853
my_sed_long_arg='1s/^-[^=]*=//'
14858
func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
14859
func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
14865
func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
14868
# func_xform libobj-or-source
14871
func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
14874
# func_arith arithmetic-term...
14877
func_arith_result=`expr "$@"`
14881
# STRING may not start with a hyphen.
14884
func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
14890
case $lt_shell_append in
14892
cat << \_LT_EOF >> "$cfgfile"
14894
# func_append var value
14895
# Append VALUE to the end of shell variable VAR.
14903
cat << \_LT_EOF >> "$cfgfile"
14905
# func_append var value
14906
# Append VALUE to the end of shell variable VAR.
14917
sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
14918
|| (rm -f "$cfgfile"; exit 1)
14920
mv -f "$cfgfile" "$ofile" ||
14921
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14925
"default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
14926
sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
14929
if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
14930
as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
14932
rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
14937
'"s|^| $ac_top_srcdir/|" \
14938
"$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
14940
sed '/^POTFILES =/,/[^\\]$/ {
14944
' "po/Makefile.in" >"po/Makefile"
14945
rm -f "po/Makefile.tmp"
14946
mv "po/stamp-it.tmp" "po/stamp-it"
14955
ac_clean_files=$ac_clean_files_save
14957
test $ac_write_fail = 0 ||
14958
as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
14961
# configure is writing to config.log, and then calls config.status.
14962
# config.status does its own redirection, appending to config.log.
14963
# Unfortunately, on DOS this fails, as config.log is still kept open
14964
# by configure, so config.status won't be able to write to it; its
14965
# output is simply discarded. So we exec the FD to /dev/null,
14966
# effectively closing config.log, so it can be properly (re)opened and
14967
# appended to by config.status. When coming back to configure, we
14968
# need to make the FD available again.
14969
if test "$no_create" != yes; then
14971
ac_config_status_args=
14972
test "$silent" = yes &&
14973
ac_config_status_args="$ac_config_status_args --quiet"
14975
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
14977
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
14978
# would make configure fail if this is the last instruction.
14979
$ac_cs_success || as_fn_exit 1
14981
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
14982
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14983
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
14987
#####################################################
14988
# Output the results
14989
#####################################################
14990
{ $as_echo "$as_me:${as_lineno-$LINENO}:
14992
Unity Files Place Daemon $VERSION
14993
-------------------------------
14997
Local install : ${with_localinstall}
14999
Extra CFlags : ${CPPFLAGS} $MAINTAINER_CFLAGS
15000
Extra ValaFlags: ${CPPFLAGS} $MAINTAINER_VALAFLAGS
15004
Unity Files Place Daemon $VERSION
15005
-------------------------------
15009
Local install : ${with_localinstall}
15011
Extra CFlags : ${CPPFLAGS} $MAINTAINER_CFLAGS
15012
Extra ValaFlags: ${CPPFLAGS} $MAINTAINER_VALAFLAGS