2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.65 for pcmanfm 0.9.7.
5
# Report bugs to <http://pcmanfm.sf.net/>.
8
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
13
# This configure script is free software; the Free Software Foundation
14
# gives unlimited permission to copy, distribute and modify it.
15
## -------------------- ##
16
## M4sh Initialization. ##
17
## -------------------- ##
19
# Be more Bourne compatible
20
DUALCASE=1; export DUALCASE # for MKS sh
21
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25
# is contrary to our usage. Disable this feature.
26
alias -g '${1+"$@"}'='"$@"'
29
case `(set -o) 2>/dev/null` in #(
41
# Printing a long string crashes Solaris 7 /usr/bin/printf.
42
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45
# Prefer a ksh shell builtin over an external printf program on Solaris,
46
# but without wasting forks for bash or zsh.
47
if test -z "$BASH_VERSION$ZSH_VERSION" \
48
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50
as_echo_n='print -rn --'
51
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57
as_echo_n='/usr/ucb/echo -n'
59
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64
expr "X$arg" : "X\\(.*\\)$as_nl";
65
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70
as_echo_n='sh -c $as_echo_n_body as_echo'
73
as_echo='sh -c $as_echo_body as_echo'
76
# The user is always right.
77
if test "${PATH_SEPARATOR+set}" != set; then
79
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87
# We need space, tab and new line, in precisely that order. Quoting is
88
# there to prevent editors from complaining about space-tab.
89
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
90
# splitting by setting IFS to empty value.)
93
# Find who we are. Look in the path if we contain no directory separator.
95
*[\\/]* ) as_myself=$0 ;;
96
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100
test -z "$as_dir" && as_dir=.
101
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107
# We did not find ourselves, most probably we were run as `sh COMMAND'
108
# in which case we are not to be found in the path.
109
if test "x$as_myself" = x; then
112
if test ! -f "$as_myself"; then
113
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117
# Unset variables that we do not need and which cause bugs (e.g. in
118
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119
# suppresses any "Segmentation fault" message there. '((' could
120
# trigger a bug in pdksh 5.2.14.
121
for as_var in BASH_ENV ENV MAIL MAILPATH
122
do eval test x\${$as_var+set} = xset \
123
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
136
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138
if test "x$CONFIG_SHELL" = x; then
139
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143
# is contrary to our usage. Disable this feature.
144
alias -g '\${1+\"\$@\"}'='\"\$@\"'
147
case \`(set -o) 2>/dev/null\` in #(
155
as_required="as_fn_return () { (exit \$1); }
156
as_fn_success () { as_fn_return 0; }
157
as_fn_failure () { as_fn_return 1; }
158
as_fn_ret_success () { return 0; }
159
as_fn_ret_failure () { return 1; }
162
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169
exitcode=1; echo positional parameters were not saved.
171
test x\$exitcode = x0 || exit 1"
172
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176
test \$(( 1 + 1 )) = 2 || exit 1"
177
if (eval "$as_required") 2>/dev/null; then :
182
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
185
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
187
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
190
test -z "$as_dir" && as_dir=.
194
for as_base in sh bash ksh sh5; do
195
# Try only shells that exist, to save several forks.
196
as_shell=$as_dir/$as_base
197
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
199
CONFIG_SHELL=$as_shell as_have_required=yes
200
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
208
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
210
CONFIG_SHELL=$SHELL as_have_required=yes
215
if test "x$CONFIG_SHELL" != x; then :
216
# We cannot yet assume a decent shell, so we have to provide a
217
# neutralization value for shells without unset; and this also
218
# works around shells that cannot unset nonexistent variables.
221
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
223
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
226
if test x$as_have_required = xno; then :
227
$as_echo "$0: This script requires a shell more modern than all"
228
$as_echo "$0: the shells that I found on your system."
229
if test x${ZSH_VERSION+set} = xset ; then
230
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
233
$as_echo "$0: Please tell bug-autoconf@gnu.org and
234
$0: http://pcmanfm.sf.net/ about your system, including any
235
$0: error possibly output before this message. Then install
236
$0: a modern shell, or manually run the script under such a
237
$0: shell if you do have one."
243
SHELL=${CONFIG_SHELL-/bin/sh}
245
# Unset more variables known to interfere with behavior of common tools.
246
CLICOLOR_FORCE= GREP_OPTIONS=
247
unset CLICOLOR_FORCE GREP_OPTIONS
249
## --------------------- ##
250
## M4sh Shell Functions. ##
251
## --------------------- ##
254
# Portably unset VAR.
257
{ eval $1=; unset $1;}
261
# as_fn_set_status STATUS
262
# -----------------------
263
# Set $? to STATUS, without forking.
271
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
281
# Create "$as_dir" as a directory, including parents if necessary.
286
-*) as_dir=./$as_dir;;
288
test -d "$as_dir" || eval $as_mkdir_p || {
292
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
295
as_dirs="'$as_qdir' $as_dirs"
296
as_dir=`$as_dirname -- "$as_dir" ||
297
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
298
X"$as_dir" : 'X\(//\)[^/]' \| \
299
X"$as_dir" : 'X\(//\)$' \| \
300
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
301
$as_echo X"$as_dir" |
302
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
319
test -d "$as_dir" && break
321
test -z "$as_dirs" || eval "mkdir $as_dirs"
322
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
326
# as_fn_append VAR VALUE
327
# ----------------------
328
# Append the text in VALUE to the end of the definition contained in VAR. Take
329
# advantage of any shell optimizations that allow amortized linear growth over
330
# repeated appends, instead of the typical quadratic growth present in naive
332
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
333
eval 'as_fn_append ()
346
# Perform arithmetic evaluation on the ARGs, and store the result in the
347
# global $as_val. Take advantage of shells that can avoid forks. The arguments
348
# must be portable across $(()) and expr.
349
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
357
as_val=`expr "$@" || test $? -eq 1`
362
# as_fn_error ERROR [LINENO LOG_FD]
363
# ---------------------------------
364
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
365
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
366
# script with status $?, using 1 if that was 0.
369
as_status=$?; test $as_status -eq 0 && as_status=1
371
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
372
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
374
$as_echo "$as_me: error: $1" >&2
375
as_fn_exit $as_status
378
if expr a : '\(a\)' >/dev/null 2>&1 &&
379
test "X`expr 00001 : '.*\(...\)'`" = X001; then
385
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
391
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
397
as_me=`$as_basename -- "$0" ||
398
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
399
X"$0" : 'X\(//\)$' \| \
400
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
402
sed '/^.*\/\([^/][^/]*\)\/*$/{
416
# Avoid depending upon Character Ranges.
417
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
418
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
419
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
420
as_cr_digits='0123456789'
421
as_cr_alnum=$as_cr_Letters$as_cr_digits
424
as_lineno_1=$LINENO as_lineno_1a=$LINENO
425
as_lineno_2=$LINENO as_lineno_2a=$LINENO
426
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
427
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
428
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
440
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444
chmod +x "$as_me.lineno" ||
445
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
447
# Don't try to exec as it changes $[0], causing all sort of problems
448
# (the dirname of $[0] is not the place where we might find the
449
# original and so on. Autoconf is especially sensitive to this).
451
# Exit status is that of the last command.
455
ECHO_C= ECHO_N= ECHO_T=
456
case `echo -n x` in #(((((
458
case `echo 'xy\c'` in
459
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
461
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
468
rm -f conf$$ conf$$.exe conf$$.file
469
if test -d conf$$.dir; then
470
rm -f conf$$.dir/conf$$.file
473
mkdir conf$$.dir 2>/dev/null
475
if (echo >conf$$.file) 2>/dev/null; then
476
if ln -s conf$$.file conf$$ 2>/dev/null; then
478
# ... but there are two gotchas:
479
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
480
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
481
# In both cases, we have to default to `cp -p'.
482
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
484
elif ln conf$$.file conf$$ 2>/dev/null; then
492
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
493
rmdir conf$$.dir 2>/dev/null
495
if mkdir -p . 2>/dev/null; then
496
as_mkdir_p='mkdir -p "$as_dir"'
498
test -d ./-p && rmdir ./-p
502
if test -x / >/dev/null 2>&1; then
505
if ls -dL / >/dev/null 2>&1; then
512
if test -d "$1"; then
518
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
519
???[sx]*):;;*)false;;esac;fi
523
as_executable_p=$as_test_x
525
# Sed expression to map a string onto a valid CPP name.
526
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
528
# Sed expression to map a string onto a valid variable name.
529
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
533
# Check that we are running under the correct shell.
534
SHELL=${CONFIG_SHELL-/bin/sh}
538
# Remove one level of quotation (which was required for Make).
539
ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
544
if test "X$1" = X--no-reexec; then
545
# Discard the --no-reexec flag, and continue.
547
elif test "X$1" = X--fallback-echo; then
548
# Avoid inline document here, it may be left over
550
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
551
# Yippee, $ECHO works!
554
# Restart under the correct shell.
555
exec $SHELL "$0" --no-reexec ${1+"$@"}
558
if test "X$1" = X--fallback-echo; then
559
# used as fallback echo
567
# The HP-UX ksh and POSIX shell print the target directory to stdout
569
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
571
if test -z "$lt_ECHO"; then
572
if test "X${echo_test_string+set}" != Xset; then
573
# find a string as large as possible, as long as the shell can cope with it
574
for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
575
# expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
576
if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
577
{ test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
584
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
585
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
586
test "X$echo_testing_string" = "X$echo_test_string"; then
589
# The Solaris, AIX, and Digital Unix default echo programs unquote
590
# backslashes. This makes it impossible to quote backslashes using
591
# echo "$something" | sed 's/\\/\\\\/g'
593
# So, first we look for a working echo in the user's PATH.
595
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
596
for dir in $PATH /usr/ucb; do
598
if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
599
test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
600
echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
601
test "X$echo_testing_string" = "X$echo_test_string"; then
608
if test "X$ECHO" = Xecho; then
609
# We didn't find a better echo, so look for alternatives.
610
if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
611
echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
612
test "X$echo_testing_string" = "X$echo_test_string"; then
613
# This shell has a builtin print -r that does the trick.
615
elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
616
test "X$CONFIG_SHELL" != X/bin/ksh; then
617
# If we have ksh, try running configure again with it.
618
ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
619
export ORIGINAL_CONFIG_SHELL
620
CONFIG_SHELL=/bin/ksh
622
exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
626
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
627
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
628
test "X$echo_testing_string" = "X$echo_test_string"; then
631
elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
632
test "X$echo_testing_string" = 'X\t' &&
633
echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
634
test "X$echo_testing_string" = "X$echo_test_string"; then
635
CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
637
SHELL="$CONFIG_SHELL"
639
ECHO="$CONFIG_SHELL $0 --fallback-echo"
640
elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
641
test "X$echo_testing_string" = 'X\t' &&
642
echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
643
test "X$echo_testing_string" = "X$echo_test_string"; then
644
ECHO="$CONFIG_SHELL $0 --fallback-echo"
646
# maybe with a smaller string...
649
for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
650
if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
657
if test "$prev" != 'sed 50q "$0"'; then
658
echo_test_string=`eval $prev`
659
export echo_test_string
660
exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
662
# Oops. We lost completely, so just stick with echo.
671
# Copy echo and quote the copy suitably for passing to libtool from
672
# the Makefile, instead of quoting the original, which is used later.
674
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
675
lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
681
test -n "$DJDIR" || exec 7<&0 </dev/null
685
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
686
# so uname gets run too.
687
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
692
ac_default_prefix=/usr/local
694
ac_config_libobj_dir=.
701
# Identity of this package.
702
PACKAGE_NAME='pcmanfm'
703
PACKAGE_TARNAME='pcmanfm'
704
PACKAGE_VERSION='0.9.7'
705
PACKAGE_STRING='pcmanfm 0.9.7'
706
PACKAGE_BUGREPORT='http://pcmanfm.sf.net/'
709
# Factoring default headers for most tests.
710
ac_includes_default="\
712
#ifdef HAVE_SYS_TYPES_H
713
# include <sys/types.h>
715
#ifdef HAVE_SYS_STAT_H
716
# include <sys/stat.h>
722
# ifdef HAVE_STDLIB_H
727
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
732
#ifdef HAVE_STRINGS_H
733
# include <strings.h>
735
#ifdef HAVE_INTTYPES_H
736
# include <inttypes.h>
745
ac_subst_vars='am__EXEEXT_FALSE
782
INTLTOOL_SERVICE_RULE
784
INTLTOOL_SCHEMAS_RULE
786
INTLTOOL_XML_NOMERGE_RULE
791
INTLTOOL_SOUNDLIST_RULE
798
INTLTOOL_DIRECTORY_RULE
799
INTLTOOL_DESKTOP_RULE
857
INSTALL_STRIP_PROGRAM
899
program_transform_name
912
enable_option_checking
913
enable_dependency_tracking
925
ac_precious_vars='build_alias
949
# Initialize some variables set by options.
951
ac_init_version=false
952
ac_unrecognized_opts=
954
# The variables have the same names as the options, with
955
# dashes changed to underlines.
963
program_transform_name=s,x,x,
971
# Installation directory options.
972
# These are left unexpanded so users can "make install exec_prefix=/foo"
973
# and all the variables that are supposed to be based on exec_prefix
974
# by default will actually change.
975
# Use braces instead of parens because sh, perl, etc. also accept them.
976
# (The list follows the same order as the GNU Coding Standards.)
977
bindir='${exec_prefix}/bin'
978
sbindir='${exec_prefix}/sbin'
979
libexecdir='${exec_prefix}/libexec'
980
datarootdir='${prefix}/share'
981
datadir='${datarootdir}'
982
sysconfdir='${prefix}/etc'
983
sharedstatedir='${prefix}/com'
984
localstatedir='${prefix}/var'
985
includedir='${prefix}/include'
986
oldincludedir='/usr/include'
987
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
988
infodir='${datarootdir}/info'
993
libdir='${exec_prefix}/lib'
994
localedir='${datarootdir}/locale'
995
mandir='${datarootdir}/man'
1001
# If the previous option needs an argument, assign it.
1002
if test -n "$ac_prev"; then
1003
eval $ac_prev=\$ac_option
1009
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1013
# Accept the important Cygnus configure options, so we can diagnose typos.
1015
case $ac_dashdash$ac_option in
1019
-bindir | --bindir | --bindi | --bind | --bin | --bi)
1021
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1022
bindir=$ac_optarg ;;
1024
-build | --build | --buil | --bui | --bu)
1025
ac_prev=build_alias ;;
1026
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
1027
build_alias=$ac_optarg ;;
1029
-cache-file | --cache-file | --cache-fil | --cache-fi \
1030
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1031
ac_prev=cache_file ;;
1032
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1033
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1034
cache_file=$ac_optarg ;;
1036
--config-cache | -C)
1037
cache_file=config.cache ;;
1039
-datadir | --datadir | --datadi | --datad)
1041
-datadir=* | --datadir=* | --datadi=* | --datad=*)
1042
datadir=$ac_optarg ;;
1044
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1045
| --dataroo | --dataro | --datar)
1046
ac_prev=datarootdir ;;
1047
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1048
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1049
datarootdir=$ac_optarg ;;
1051
-disable-* | --disable-*)
1052
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1053
# Reject names that are not valid shell variable names.
1054
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1055
as_fn_error "invalid feature name: $ac_useropt"
1056
ac_useropt_orig=$ac_useropt
1057
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1058
case $ac_user_opts in
1060
"enable_$ac_useropt"
1062
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1063
ac_unrecognized_sep=', ';;
1065
eval enable_$ac_useropt=no ;;
1067
-docdir | --docdir | --docdi | --doc | --do)
1069
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1070
docdir=$ac_optarg ;;
1072
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1074
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1075
dvidir=$ac_optarg ;;
1077
-enable-* | --enable-*)
1078
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1079
# Reject names that are not valid shell variable names.
1080
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1081
as_fn_error "invalid feature name: $ac_useropt"
1082
ac_useropt_orig=$ac_useropt
1083
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1084
case $ac_user_opts in
1086
"enable_$ac_useropt"
1088
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1089
ac_unrecognized_sep=', ';;
1091
eval enable_$ac_useropt=\$ac_optarg ;;
1093
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1094
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1095
| --exec | --exe | --ex)
1096
ac_prev=exec_prefix ;;
1097
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1098
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1099
| --exec=* | --exe=* | --ex=*)
1100
exec_prefix=$ac_optarg ;;
1102
-gas | --gas | --ga | --g)
1103
# Obsolete; use --with-gas.
1106
-help | --help | --hel | --he | -h)
1107
ac_init_help=long ;;
1108
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1109
ac_init_help=recursive ;;
1110
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1111
ac_init_help=short ;;
1113
-host | --host | --hos | --ho)
1114
ac_prev=host_alias ;;
1115
-host=* | --host=* | --hos=* | --ho=*)
1116
host_alias=$ac_optarg ;;
1118
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1120
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1122
htmldir=$ac_optarg ;;
1124
-includedir | --includedir | --includedi | --included | --include \
1125
| --includ | --inclu | --incl | --inc)
1126
ac_prev=includedir ;;
1127
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1128
| --includ=* | --inclu=* | --incl=* | --inc=*)
1129
includedir=$ac_optarg ;;
1131
-infodir | --infodir | --infodi | --infod | --info | --inf)
1133
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1134
infodir=$ac_optarg ;;
1136
-libdir | --libdir | --libdi | --libd)
1138
-libdir=* | --libdir=* | --libdi=* | --libd=*)
1139
libdir=$ac_optarg ;;
1141
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1142
| --libexe | --libex | --libe)
1143
ac_prev=libexecdir ;;
1144
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1145
| --libexe=* | --libex=* | --libe=*)
1146
libexecdir=$ac_optarg ;;
1148
-localedir | --localedir | --localedi | --localed | --locale)
1149
ac_prev=localedir ;;
1150
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1151
localedir=$ac_optarg ;;
1153
-localstatedir | --localstatedir | --localstatedi | --localstated \
1154
| --localstate | --localstat | --localsta | --localst | --locals)
1155
ac_prev=localstatedir ;;
1156
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1157
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1158
localstatedir=$ac_optarg ;;
1160
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1162
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1163
mandir=$ac_optarg ;;
1165
-nfp | --nfp | --nf)
1166
# Obsolete; use --without-fp.
1169
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
1170
| --no-cr | --no-c | -n)
1173
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
1174
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1177
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1178
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1179
| --oldin | --oldi | --old | --ol | --o)
1180
ac_prev=oldincludedir ;;
1181
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1182
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1183
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1184
oldincludedir=$ac_optarg ;;
1186
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1188
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1189
prefix=$ac_optarg ;;
1191
-program-prefix | --program-prefix | --program-prefi | --program-pref \
1192
| --program-pre | --program-pr | --program-p)
1193
ac_prev=program_prefix ;;
1194
-program-prefix=* | --program-prefix=* | --program-prefi=* \
1195
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1196
program_prefix=$ac_optarg ;;
1198
-program-suffix | --program-suffix | --program-suffi | --program-suff \
1199
| --program-suf | --program-su | --program-s)
1200
ac_prev=program_suffix ;;
1201
-program-suffix=* | --program-suffix=* | --program-suffi=* \
1202
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1203
program_suffix=$ac_optarg ;;
1205
-program-transform-name | --program-transform-name \
1206
| --program-transform-nam | --program-transform-na \
1207
| --program-transform-n | --program-transform- \
1208
| --program-transform | --program-transfor \
1209
| --program-transfo | --program-transf \
1210
| --program-trans | --program-tran \
1211
| --progr-tra | --program-tr | --program-t)
1212
ac_prev=program_transform_name ;;
1213
-program-transform-name=* | --program-transform-name=* \
1214
| --program-transform-nam=* | --program-transform-na=* \
1215
| --program-transform-n=* | --program-transform-=* \
1216
| --program-transform=* | --program-transfor=* \
1217
| --program-transfo=* | --program-transf=* \
1218
| --program-trans=* | --program-tran=* \
1219
| --progr-tra=* | --program-tr=* | --program-t=*)
1220
program_transform_name=$ac_optarg ;;
1222
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1224
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1225
pdfdir=$ac_optarg ;;
1227
-psdir | --psdir | --psdi | --psd | --ps)
1229
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1232
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1233
| -silent | --silent | --silen | --sile | --sil)
1236
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1238
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1240
sbindir=$ac_optarg ;;
1242
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1243
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1244
| --sharedst | --shareds | --shared | --share | --shar \
1246
ac_prev=sharedstatedir ;;
1247
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1248
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1249
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1251
sharedstatedir=$ac_optarg ;;
1253
-site | --site | --sit)
1255
-site=* | --site=* | --sit=*)
1258
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1260
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1261
srcdir=$ac_optarg ;;
1263
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1264
| --syscon | --sysco | --sysc | --sys | --sy)
1265
ac_prev=sysconfdir ;;
1266
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1267
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1268
sysconfdir=$ac_optarg ;;
1270
-target | --target | --targe | --targ | --tar | --ta | --t)
1271
ac_prev=target_alias ;;
1272
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1273
target_alias=$ac_optarg ;;
1275
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1278
-version | --version | --versio | --versi | --vers | -V)
1279
ac_init_version=: ;;
1282
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1283
# Reject names that are not valid shell variable names.
1284
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1285
as_fn_error "invalid package name: $ac_useropt"
1286
ac_useropt_orig=$ac_useropt
1287
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1288
case $ac_user_opts in
1292
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1293
ac_unrecognized_sep=', ';;
1295
eval with_$ac_useropt=\$ac_optarg ;;
1297
-without-* | --without-*)
1298
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1299
# Reject names that are not valid shell variable names.
1300
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1301
as_fn_error "invalid package name: $ac_useropt"
1302
ac_useropt_orig=$ac_useropt
1303
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1304
case $ac_user_opts in
1308
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1309
ac_unrecognized_sep=', ';;
1311
eval with_$ac_useropt=no ;;
1314
# Obsolete; use --with-x.
1317
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1318
| --x-incl | --x-inc | --x-in | --x-i)
1319
ac_prev=x_includes ;;
1320
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1321
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1322
x_includes=$ac_optarg ;;
1324
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1325
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1326
ac_prev=x_libraries ;;
1327
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1328
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1329
x_libraries=$ac_optarg ;;
1331
-*) as_fn_error "unrecognized option: \`$ac_option'
1332
Try \`$0 --help' for more information."
1336
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1337
# Reject names that are not valid shell variable names.
1338
case $ac_envvar in #(
1339
'' | [0-9]* | *[!_$as_cr_alnum]* )
1340
as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1342
eval $ac_envvar=\$ac_optarg
1343
export $ac_envvar ;;
1346
# FIXME: should be removed in autoconf 3.0.
1347
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1348
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1349
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1350
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1356
if test -n "$ac_prev"; then
1357
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1358
as_fn_error "missing argument to $ac_option"
1361
if test -n "$ac_unrecognized_opts"; then
1362
case $enable_option_checking in
1364
fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1365
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1369
# Check all directory arguments for consistency.
1370
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1371
datadir sysconfdir sharedstatedir localstatedir includedir \
1372
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1373
libdir localedir mandir
1375
eval ac_val=\$$ac_var
1376
# Remove trailing slashes.
1379
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1380
eval $ac_var=\$ac_val;;
1382
# Be sure to have absolute directory names.
1384
[\\/$]* | ?:[\\/]* ) continue;;
1385
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1387
as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1390
# There might be people who depend on the old broken behavior: `$host'
1391
# used to hold the argument of --host etc.
1392
# FIXME: To remove some day.
1395
target=$target_alias
1397
# FIXME: To remove some day.
1398
if test "x$host_alias" != x; then
1399
if test "x$build_alias" = x; then
1400
cross_compiling=maybe
1401
$as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1402
If a cross compiler is detected then cross compile mode will be used." >&2
1403
elif test "x$build_alias" != "x$host_alias"; then
1409
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1411
test "$silent" = yes && exec 6>/dev/null
1414
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1415
ac_ls_di=`ls -di .` &&
1416
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1417
as_fn_error "working directory cannot be determined"
1418
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1419
as_fn_error "pwd does not report name of working directory"
1422
# Find the source files, if location was not specified.
1423
if test -z "$srcdir"; then
1424
ac_srcdir_defaulted=yes
1425
# Try the directory containing this script, then the parent directory.
1426
ac_confdir=`$as_dirname -- "$as_myself" ||
1427
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1428
X"$as_myself" : 'X\(//\)[^/]' \| \
1429
X"$as_myself" : 'X\(//\)$' \| \
1430
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1431
$as_echo X"$as_myself" |
1432
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1450
if test ! -r "$srcdir/$ac_unique_file"; then
1454
ac_srcdir_defaulted=no
1456
if test ! -r "$srcdir/$ac_unique_file"; then
1457
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1458
as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1460
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1462
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1464
# When building in place, set srcdir=.
1465
if test "$ac_abs_confdir" = "$ac_pwd"; then
1468
# Remove unnecessary trailing slashes from srcdir.
1469
# Double slashes in file names in object file debugging info
1470
# mess up M-x gdb in Emacs.
1472
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1474
for ac_var in $ac_precious_vars; do
1475
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1476
eval ac_env_${ac_var}_value=\$${ac_var}
1477
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1478
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1482
# Report the --help message.
1484
if test "$ac_init_help" = "long"; then
1485
# Omit some internal or obsolete options to make the list less imposing.
1486
# This message is too long to be a string in the A/UX 3.1 sh.
1488
\`configure' configures pcmanfm 0.9.7 to adapt to many kinds of systems.
1490
Usage: $0 [OPTION]... [VAR=VALUE]...
1492
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1493
VAR=VALUE. See below for descriptions of some of the useful variables.
1495
Defaults for the options are specified in brackets.
1498
-h, --help display this help and exit
1499
--help=short display options specific to this package
1500
--help=recursive display the short help of all the included packages
1501
-V, --version display version information and exit
1502
-q, --quiet, --silent do not print \`checking...' messages
1503
--cache-file=FILE cache test results in FILE [disabled]
1504
-C, --config-cache alias for \`--cache-file=config.cache'
1505
-n, --no-create do not create output files
1506
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1508
Installation directories:
1509
--prefix=PREFIX install architecture-independent files in PREFIX
1510
[$ac_default_prefix]
1511
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1514
By default, \`make install' will install all the files in
1515
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1516
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1517
for instance \`--prefix=\$HOME'.
1519
For better control, use the options below.
1521
Fine tuning of the installation directories:
1522
--bindir=DIR user executables [EPREFIX/bin]
1523
--sbindir=DIR system admin executables [EPREFIX/sbin]
1524
--libexecdir=DIR program executables [EPREFIX/libexec]
1525
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1526
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1527
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1528
--libdir=DIR object code libraries [EPREFIX/lib]
1529
--includedir=DIR C header files [PREFIX/include]
1530
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1531
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1532
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1533
--infodir=DIR info documentation [DATAROOTDIR/info]
1534
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1535
--mandir=DIR man documentation [DATAROOTDIR/man]
1536
--docdir=DIR documentation root [DATAROOTDIR/doc/pcmanfm]
1537
--htmldir=DIR html documentation [DOCDIR]
1538
--dvidir=DIR dvi documentation [DOCDIR]
1539
--pdfdir=DIR pdf documentation [DOCDIR]
1540
--psdir=DIR ps documentation [DOCDIR]
1546
--program-prefix=PREFIX prepend PREFIX to installed program names
1547
--program-suffix=SUFFIX append SUFFIX to installed program names
1548
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1551
--build=BUILD configure for building on BUILD [guessed]
1552
--host=HOST cross-compile to build programs to run on HOST [BUILD]
1556
if test -n "$ac_init_help"; then
1557
case $ac_init_help in
1558
short | recursive ) echo "Configuration of pcmanfm 0.9.7:";;
1563
--disable-option-checking ignore unrecognized --enable/--with options
1564
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1565
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1566
--disable-dependency-tracking speeds up one-time build
1567
--enable-dependency-tracking do not reject slow dependency extractors
1568
--enable-shared[=PKGS] build shared libraries [default=yes]
1569
--enable-static[=PKGS] build static libraries [default=yes]
1570
--enable-fast-install[=PKGS]
1571
optimize for fast installation [default=yes]
1572
--disable-libtool-lock avoid locking (might break parallel builds)
1573
--enable-largefile enable Large file support (default: yes)
1574
--enable-cast-checks enable Glib casting checks (default: disable)
1575
--enable-debug build pcmanfm with debug support [default=no]
1576
--disable-nls do not use Native Language Support
1579
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1580
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1581
--with-pic try to use only PIC/non-PIC objects [default=use
1583
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
1585
Some influential environment variables:
1586
CC C compiler command
1587
CFLAGS C compiler flags
1588
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1589
nonstandard directory <lib dir>
1590
LIBS libraries to pass to the linker, e.g. -l<library>
1591
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1592
you have headers in a nonstandard directory <include dir>
1594
PKG_CONFIG path to pkg-config utility
1595
XLIB_CFLAGS C compiler flags for XLIB, overriding pkg-config
1596
XLIB_LIBS linker flags for XLIB, overriding pkg-config
1597
GTK_CFLAGS C compiler flags for GTK, overriding pkg-config
1598
GTK_LIBS linker flags for GTK, overriding pkg-config
1599
GIO_CFLAGS C compiler flags for GIO, overriding pkg-config
1600
GIO_LIBS linker flags for GIO, overriding pkg-config
1602
C compiler flags for GMODULE, overriding pkg-config
1604
linker flags for GMODULE, overriding pkg-config
1605
FM_CFLAGS C compiler flags for FM, overriding pkg-config
1606
FM_LIBS linker flags for FM, overriding pkg-config
1608
C compiler flags for MENU_CACHE, overriding pkg-config
1610
linker flags for MENU_CACHE, overriding pkg-config
1612
Use these variables to override the choices made by `configure' or to help
1613
it to find libraries and programs with nonstandard names/locations.
1615
Report bugs to <http://pcmanfm.sf.net/>.
1620
if test "$ac_init_help" = "recursive"; then
1621
# If there are subdirs, report their specific --help.
1622
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1623
test -d "$ac_dir" ||
1624
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1629
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1631
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1632
# A ".." for each directory in $ac_dir_suffix.
1633
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1634
case $ac_top_builddir_sub in
1635
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1636
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1639
ac_abs_top_builddir=$ac_pwd
1640
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1641
# for backward compatibility:
1642
ac_top_builddir=$ac_top_build_prefix
1645
.) # We are building in place.
1647
ac_top_srcdir=$ac_top_builddir_sub
1648
ac_abs_top_srcdir=$ac_pwd ;;
1649
[\\/]* | ?:[\\/]* ) # Absolute name.
1650
ac_srcdir=$srcdir$ac_dir_suffix;
1651
ac_top_srcdir=$srcdir
1652
ac_abs_top_srcdir=$srcdir ;;
1654
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1655
ac_top_srcdir=$ac_top_build_prefix$srcdir
1656
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1658
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1660
cd "$ac_dir" || { ac_status=$?; continue; }
1661
# Check for guested configure.
1662
if test -f "$ac_srcdir/configure.gnu"; then
1664
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1665
elif test -f "$ac_srcdir/configure"; then
1667
$SHELL "$ac_srcdir/configure" --help=recursive
1669
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1671
cd "$ac_pwd" || { ac_status=$?; break; }
1675
test -n "$ac_init_help" && exit $ac_status
1676
if $ac_init_version; then
1678
pcmanfm configure 0.9.7
1679
generated by GNU Autoconf 2.65
1681
Copyright (C) 2009 Free Software Foundation, Inc.
1682
This configure script is free software; the Free Software Foundation
1683
gives unlimited permission to copy, distribute and modify it.
1688
## ------------------------ ##
1689
## Autoconf initialization. ##
1690
## ------------------------ ##
1692
# ac_fn_c_try_compile LINENO
1693
# --------------------------
1694
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1695
ac_fn_c_try_compile ()
1697
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1698
rm -f conftest.$ac_objext
1699
if { { ac_try="$ac_compile"
1701
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1702
*) ac_try_echo=$ac_try;;
1704
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1705
$as_echo "$ac_try_echo"; } >&5
1706
(eval "$ac_compile") 2>conftest.err
1708
if test -s conftest.err; then
1709
grep -v '^ *+' conftest.err >conftest.er1
1710
cat conftest.er1 >&5
1711
mv -f conftest.er1 conftest.err
1713
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1714
test $ac_status = 0; } && {
1715
test -z "$ac_c_werror_flag" ||
1716
test ! -s conftest.err
1717
} && test -s conftest.$ac_objext; then :
1720
$as_echo "$as_me: failed program was:" >&5
1721
sed 's/^/| /' conftest.$ac_ext >&5
1725
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1726
as_fn_set_status $ac_retval
1728
} # ac_fn_c_try_compile
1730
# ac_fn_c_try_link LINENO
1731
# -----------------------
1732
# Try to link conftest.$ac_ext, and return whether this succeeded.
1735
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1736
rm -f conftest.$ac_objext conftest$ac_exeext
1737
if { { ac_try="$ac_link"
1739
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1740
*) ac_try_echo=$ac_try;;
1742
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1743
$as_echo "$ac_try_echo"; } >&5
1744
(eval "$ac_link") 2>conftest.err
1746
if test -s conftest.err; then
1747
grep -v '^ *+' conftest.err >conftest.er1
1748
cat conftest.er1 >&5
1749
mv -f conftest.er1 conftest.err
1751
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1752
test $ac_status = 0; } && {
1753
test -z "$ac_c_werror_flag" ||
1754
test ! -s conftest.err
1755
} && test -s conftest$ac_exeext && {
1756
test "$cross_compiling" = yes ||
1757
$as_test_x conftest$ac_exeext
1761
$as_echo "$as_me: failed program was:" >&5
1762
sed 's/^/| /' conftest.$ac_ext >&5
1766
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1767
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1768
# interfere with the next link command; also delete a directory that is
1769
# left behind by Apple's compiler. We do this before executing the actions.
1770
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1771
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1772
as_fn_set_status $ac_retval
1774
} # ac_fn_c_try_link
1776
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1777
# -------------------------------------------------------
1778
# Tests whether HEADER exists and can be compiled using the include files in
1779
# INCLUDES, setting the cache variable VAR accordingly.
1780
ac_fn_c_check_header_compile ()
1782
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1783
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1784
$as_echo_n "checking for $2... " >&6; }
1785
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1786
$as_echo_n "(cached) " >&6
1788
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1789
/* end confdefs.h. */
1793
if ac_fn_c_try_compile "$LINENO"; then :
1798
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1801
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1802
$as_echo "$ac_res" >&6; }
1803
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1805
} # ac_fn_c_check_header_compile
1807
# ac_fn_c_try_cpp LINENO
1808
# ----------------------
1809
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1812
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1813
if { { ac_try="$ac_cpp conftest.$ac_ext"
1815
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1816
*) ac_try_echo=$ac_try;;
1818
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1819
$as_echo "$ac_try_echo"; } >&5
1820
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1822
if test -s conftest.err; then
1823
grep -v '^ *+' conftest.err >conftest.er1
1824
cat conftest.er1 >&5
1825
mv -f conftest.er1 conftest.err
1827
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1828
test $ac_status = 0; } >/dev/null && {
1829
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1830
test ! -s conftest.err
1834
$as_echo "$as_me: failed program was:" >&5
1835
sed 's/^/| /' conftest.$ac_ext >&5
1839
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1840
as_fn_set_status $ac_retval
1844
# ac_fn_c_try_run LINENO
1845
# ----------------------
1846
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1847
# that executables *can* be run.
1850
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1851
if { { ac_try="$ac_link"
1853
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1854
*) ac_try_echo=$ac_try;;
1856
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1857
$as_echo "$ac_try_echo"; } >&5
1858
(eval "$ac_link") 2>&5
1860
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1861
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1862
{ { case "(($ac_try" in
1863
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1864
*) ac_try_echo=$ac_try;;
1866
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1867
$as_echo "$ac_try_echo"; } >&5
1868
(eval "$ac_try") 2>&5
1870
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1871
test $ac_status = 0; }; }; then :
1874
$as_echo "$as_me: program exited with status $ac_status" >&5
1875
$as_echo "$as_me: failed program was:" >&5
1876
sed 's/^/| /' conftest.$ac_ext >&5
1878
ac_retval=$ac_status
1880
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1881
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1882
as_fn_set_status $ac_retval
1886
# ac_fn_c_check_func LINENO FUNC VAR
1887
# ----------------------------------
1888
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1889
ac_fn_c_check_func ()
1891
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1892
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1893
$as_echo_n "checking for $2... " >&6; }
1894
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1895
$as_echo_n "(cached) " >&6
1897
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1898
/* end confdefs.h. */
1899
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1900
For example, HP-UX 11i <limits.h> declares gettimeofday. */
1901
#define $2 innocuous_$2
1903
/* System header to define __stub macros and hopefully few prototypes,
1904
which can conflict with char $2 (); below.
1905
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1906
<limits.h> exists even on freestanding compilers. */
1909
# include <limits.h>
1911
# include <assert.h>
1916
/* Override any GCC internal prototype to avoid an error.
1917
Use char because int might match the return type of a GCC
1918
builtin and then its argument prototype would still apply. */
1923
/* The GNU C library defines this for functions which it implements
1924
to always fail with ENOSYS. Some functions are actually named
1925
something starting with __ and the normal name is an alias. */
1926
#if defined __stub_$2 || defined __stub___$2
1938
if ac_fn_c_try_link "$LINENO"; then :
1943
rm -f core conftest.err conftest.$ac_objext \
1944
conftest$ac_exeext conftest.$ac_ext
1947
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1948
$as_echo "$ac_res" >&6; }
1949
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1951
} # ac_fn_c_check_func
1953
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1954
# -------------------------------------------------------
1955
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1956
# the include files in INCLUDES and setting the cache variable VAR
1958
ac_fn_c_check_header_mongrel ()
1960
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1961
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1962
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1963
$as_echo_n "checking for $2... " >&6; }
1964
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1965
$as_echo_n "(cached) " >&6
1968
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1969
$as_echo "$ac_res" >&6; }
1971
# Is the header compilable?
1972
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1973
$as_echo_n "checking $2 usability... " >&6; }
1974
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1975
/* end confdefs.h. */
1979
if ac_fn_c_try_compile "$LINENO"; then :
1980
ac_header_compiler=yes
1982
ac_header_compiler=no
1984
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1985
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1986
$as_echo "$ac_header_compiler" >&6; }
1988
# Is the header present?
1989
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1990
$as_echo_n "checking $2 presence... " >&6; }
1991
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1992
/* end confdefs.h. */
1995
if ac_fn_c_try_cpp "$LINENO"; then :
1996
ac_header_preproc=yes
1998
ac_header_preproc=no
2000
rm -f conftest.err conftest.$ac_ext
2001
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2002
$as_echo "$ac_header_preproc" >&6; }
2004
# So? What about this header?
2005
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2007
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2008
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2009
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2010
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2013
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2014
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2015
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2016
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2017
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2018
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2019
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2020
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2021
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2022
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2024
## ------------------------------------- ##
2025
## Report this to http://pcmanfm.sf.net/ ##
2026
## ------------------------------------- ##
2028
) | sed "s/^/$as_me: WARNING: /" >&2
2031
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2032
$as_echo_n "checking for $2... " >&6; }
2033
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2034
$as_echo_n "(cached) " >&6
2036
eval "$3=\$ac_header_compiler"
2039
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2040
$as_echo "$ac_res" >&6; }
2042
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2044
} # ac_fn_c_check_header_mongrel
2045
cat >config.log <<_ACEOF
2046
This file contains any messages produced by compilers while
2047
running configure, to aid debugging if configure makes a mistake.
2049
It was created by pcmanfm $as_me 0.9.7, which was
2050
generated by GNU Autoconf 2.65. Invocation command line was
2062
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2063
uname -m = `(uname -m) 2>/dev/null || echo unknown`
2064
uname -r = `(uname -r) 2>/dev/null || echo unknown`
2065
uname -s = `(uname -s) 2>/dev/null || echo unknown`
2066
uname -v = `(uname -v) 2>/dev/null || echo unknown`
2068
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2069
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2071
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2072
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2073
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2074
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2075
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2076
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2077
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2081
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2085
test -z "$as_dir" && as_dir=.
2086
$as_echo "PATH: $as_dir"
2102
# Keep a trace of the command line.
2103
# Strip out --no-create and --no-recursion so they do not pile up.
2104
# Strip out --silent because we don't want to record it for future runs.
2105
# Also quote any args containing shell meta-characters.
2106
# Make two passes to allow for proper duplicate-argument suppression.
2110
ac_must_keep_next=false
2116
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2117
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
2118
| -silent | --silent | --silen | --sile | --sil)
2121
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2124
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2126
as_fn_append ac_configure_args1 " '$ac_arg'"
2127
if test $ac_must_keep_next = true; then
2128
ac_must_keep_next=false # Got value, back to normal.
2131
*=* | --config-cache | -C | -disable-* | --disable-* \
2132
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2133
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2134
| -with-* | --with-* | -without-* | --without-* | --x)
2135
case "$ac_configure_args0 " in
2136
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2139
-* ) ac_must_keep_next=true ;;
2142
as_fn_append ac_configure_args " '$ac_arg'"
2147
{ ac_configure_args0=; unset ac_configure_args0;}
2148
{ ac_configure_args1=; unset ac_configure_args1;}
2150
# When interrupted or exit'd, cleanup temporary files, and complete
2151
# config.log. We remove comments because anyway the quotes in there
2152
# would cause problems or look ugly.
2153
# WARNING: Use '\'' to represent an apostrophe within the trap.
2154
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2155
trap 'exit_status=$?
2156
# Save into config.log some information that might help in debugging.
2161
## ---------------- ##
2162
## Cache variables. ##
2163
## ---------------- ##
2166
# The following way of writing the cache mishandles newlines in values,
2168
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2169
eval ac_val=\$$ac_var
2173
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2174
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2177
_ | IFS | as_nl) ;; #(
2178
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2179
*) { eval $ac_var=; unset $ac_var;} ;;
2184
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2185
*${as_nl}ac_space=\ *)
2187
"s/'\''/'\''\\\\'\'''\''/g;
2188
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2191
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2199
## ----------------- ##
2200
## Output variables. ##
2201
## ----------------- ##
2204
for ac_var in $ac_subst_vars
2206
eval ac_val=\$$ac_var
2208
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2210
$as_echo "$ac_var='\''$ac_val'\''"
2214
if test -n "$ac_subst_files"; then
2216
## ------------------- ##
2217
## File substitutions. ##
2218
## ------------------- ##
2221
for ac_var in $ac_subst_files
2223
eval ac_val=\$$ac_var
2225
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2227
$as_echo "$ac_var='\''$ac_val'\''"
2232
if test -s confdefs.h; then
2242
test "$ac_signal" != 0 &&
2243
$as_echo "$as_me: caught signal $ac_signal"
2244
$as_echo "$as_me: exit $exit_status"
2246
rm -f core *.core core.conftest.* &&
2247
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2250
for ac_signal in 1 2 13 15; do
2251
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2255
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2256
rm -f -r conftest* confdefs.h
2258
$as_echo "/* confdefs.h */" > confdefs.h
2260
# Predefined preprocessor variables.
2262
cat >>confdefs.h <<_ACEOF
2263
#define PACKAGE_NAME "$PACKAGE_NAME"
2266
cat >>confdefs.h <<_ACEOF
2267
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2270
cat >>confdefs.h <<_ACEOF
2271
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2274
cat >>confdefs.h <<_ACEOF
2275
#define PACKAGE_STRING "$PACKAGE_STRING"
2278
cat >>confdefs.h <<_ACEOF
2279
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2282
cat >>confdefs.h <<_ACEOF
2283
#define PACKAGE_URL "$PACKAGE_URL"
2287
# Let the site file select an alternate cache file if it wants to.
2288
# Prefer an explicitly selected file to automatically selected ones.
2291
if test -n "$CONFIG_SITE"; then
2292
ac_site_file1=$CONFIG_SITE
2293
elif test "x$prefix" != xNONE; then
2294
ac_site_file1=$prefix/share/config.site
2295
ac_site_file2=$prefix/etc/config.site
2297
ac_site_file1=$ac_default_prefix/share/config.site
2298
ac_site_file2=$ac_default_prefix/etc/config.site
2300
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2302
test "x$ac_site_file" = xNONE && continue
2303
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2304
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2305
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2306
sed 's/^/| /' "$ac_site_file" >&5
2311
if test -r "$cache_file"; then
2312
# Some versions of bash will fail to source /dev/null (special files
2313
# actually), so we avoid doing that. DJGPP emulates it as a regular file.
2314
if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2315
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2316
$as_echo "$as_me: loading cache $cache_file" >&6;}
2318
[\\/]* | ?:[\\/]* ) . "$cache_file";;
2319
*) . "./$cache_file";;
2323
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2324
$as_echo "$as_me: creating cache $cache_file" >&6;}
2328
# Check that the precious variables saved in the cache have kept the same
2330
ac_cache_corrupted=false
2331
for ac_var in $ac_precious_vars; do
2332
eval ac_old_set=\$ac_cv_env_${ac_var}_set
2333
eval ac_new_set=\$ac_env_${ac_var}_set
2334
eval ac_old_val=\$ac_cv_env_${ac_var}_value
2335
eval ac_new_val=\$ac_env_${ac_var}_value
2336
case $ac_old_set,$ac_new_set in
2338
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2339
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2340
ac_cache_corrupted=: ;;
2342
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2343
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2344
ac_cache_corrupted=: ;;
2347
if test "x$ac_old_val" != "x$ac_new_val"; then
2348
# differences in whitespace do not lead to failure.
2349
ac_old_val_w=`echo x $ac_old_val`
2350
ac_new_val_w=`echo x $ac_new_val`
2351
if test "$ac_old_val_w" != "$ac_new_val_w"; then
2352
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2353
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2354
ac_cache_corrupted=:
2356
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2357
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2358
eval $ac_var=\$ac_old_val
2360
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2361
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2362
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2363
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2366
# Pass precious variables to config.status.
2367
if test "$ac_new_set" = set; then
2369
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2370
*) ac_arg=$ac_var=$ac_new_val ;;
2372
case " $ac_configure_args " in
2373
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2374
*) as_fn_append ac_configure_args " '$ac_arg'" ;;
2378
if $ac_cache_corrupted; then
2379
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2380
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2381
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2382
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2383
as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2385
## -------------------- ##
2386
## Main body of script. ##
2387
## -------------------- ##
2390
ac_cpp='$CPP $CPPFLAGS'
2391
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2392
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2393
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2396
am__api_version='1.11'
2399
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2400
for ac_t in install-sh install.sh shtool; do
2401
if test -f "$ac_dir/$ac_t"; then
2403
ac_install_sh="$ac_aux_dir/$ac_t -c"
2408
if test -z "$ac_aux_dir"; then
2409
as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2412
# These three variables are undocumented and unsupported,
2413
# and are intended to be withdrawn in a future Autoconf release.
2414
# They can cause serious problems if a builder's source tree is in a directory
2415
# whose full name contains unusual characters.
2416
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2417
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2418
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2421
# Find a good install program. We prefer a C program (faster),
2422
# so one script is as good as another. But avoid the broken or
2423
# incompatible versions:
2424
# SysV /etc/install, /usr/sbin/install
2425
# SunOS /usr/etc/install
2426
# IRIX /sbin/install
2428
# AmigaOS /C/install, which installs bootblocks on floppy discs
2429
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2430
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2431
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2432
# OS/2's system install, which has a completely different semantic
2433
# ./install, which can be erroneously created by make from ./install.sh.
2434
# Reject install programs that cannot install multiple files.
2435
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2436
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2437
if test -z "$INSTALL"; then
2438
if test "${ac_cv_path_install+set}" = set; then :
2439
$as_echo_n "(cached) " >&6
2441
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2445
test -z "$as_dir" && as_dir=.
2446
# Account for people who put trailing slashes in PATH elements.
2447
case $as_dir/ in #((
2448
./ | .// | /[cC]/* | \
2449
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2450
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2453
# OSF1 and SCO ODT 3.0 have their own names for install.
2454
# Don't use installbsd from OSF since it installs stuff as root
2456
for ac_prog in ginstall scoinst install; do
2457
for ac_exec_ext in '' $ac_executable_extensions; do
2458
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2459
if test $ac_prog = install &&
2460
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2461
# AIX install. It has an incompatible calling convention.
2463
elif test $ac_prog = install &&
2464
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2465
# program-specific install script used by HP pwplus--don't use.
2468
rm -rf conftest.one conftest.two conftest.dir
2469
echo one > conftest.one
2470
echo two > conftest.two
2472
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2473
test -s conftest.one && test -s conftest.two &&
2474
test -s conftest.dir/conftest.one &&
2475
test -s conftest.dir/conftest.two
2477
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2490
rm -rf conftest.one conftest.two conftest.dir
2493
if test "${ac_cv_path_install+set}" = set; then
2494
INSTALL=$ac_cv_path_install
2496
# As a last resort, use the slow shell script. Don't cache a
2497
# value for INSTALL within a source directory, because that will
2498
# break other packages using the cache if that directory is
2499
# removed, or if the value is a relative name.
2500
INSTALL=$ac_install_sh
2503
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2504
$as_echo "$INSTALL" >&6; }
2506
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2507
# It thinks the first close brace ends the variable substitution.
2508
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2510
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2512
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2514
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2515
$as_echo_n "checking whether build environment is sane... " >&6; }
2518
echo timestamp > conftest.file
2519
# Reject unsafe characters in $srcdir or the absolute working directory
2520
# name. Accept space and tab only in the latter.
2524
*[\\\"\#\$\&\'\`$am_lf]*)
2525
as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2528
*[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2529
as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2532
# Do `set' in a subshell so we don't clobber the current shell's
2533
# arguments. Must try -L first in case configure is actually a
2534
# symlink; some systems play weird games with the mod time of symlinks
2535
# (eg FreeBSD returns the mod time of the symlink's containing
2538
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2539
if test "$*" = "X"; then
2541
set X `ls -t "$srcdir/configure" conftest.file`
2544
if test "$*" != "X $srcdir/configure conftest.file" \
2545
&& test "$*" != "X conftest.file $srcdir/configure"; then
2547
# If neither matched, then we have a broken ls. This can happen
2548
# if, for instance, CONFIG_SHELL is bash and it inherits a
2549
# broken ls alias from the environment. This has actually
2550
# happened. Such a system could not be considered "sane".
2551
as_fn_error "ls -t appears to fail. Make sure there is not a broken
2552
alias in your environment" "$LINENO" 5
2555
test "$2" = conftest.file
2561
as_fn_error "newly created file is older than distributed files!
2562
Check your system clock" "$LINENO" 5
2564
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2565
$as_echo "yes" >&6; }
2566
test "$program_prefix" != NONE &&
2567
program_transform_name="s&^&$program_prefix&;$program_transform_name"
2568
# Use a double $ so make ignores it.
2569
test "$program_suffix" != NONE &&
2570
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2571
# Double any \ or $.
2572
# By default was `s,x,x', remove it if useless.
2573
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2574
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2576
# expand $ac_aux_dir to an absolute path
2577
am_aux_dir=`cd $ac_aux_dir && pwd`
2579
if test x"${MISSING+set}" != xset; then
2582
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2584
MISSING="\${SHELL} $am_aux_dir/missing" ;;
2587
# Use eval to expand $SHELL
2588
if eval "$MISSING --run true"; then
2589
am_missing_run="$MISSING --run "
2592
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2593
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2596
if test x"${install_sh}" != xset; then
2599
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2601
install_sh="\${SHELL} $am_aux_dir/install-sh"
2605
# Installed binaries are usually stripped using `strip' when the user
2606
# run `make install-strip'. However `strip' might not be the right
2607
# tool to use in cross-compilation environments, therefore Automake
2608
# will honor the `STRIP' environment variable to overrule this program.
2609
if test "$cross_compiling" != no; then
2610
if test -n "$ac_tool_prefix"; then
2611
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2612
set dummy ${ac_tool_prefix}strip; ac_word=$2
2613
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2614
$as_echo_n "checking for $ac_word... " >&6; }
2615
if test "${ac_cv_prog_STRIP+set}" = set; then :
2616
$as_echo_n "(cached) " >&6
2618
if test -n "$STRIP"; then
2619
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2621
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2625
test -z "$as_dir" && as_dir=.
2626
for ac_exec_ext in '' $ac_executable_extensions; do
2627
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2628
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2629
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2638
STRIP=$ac_cv_prog_STRIP
2639
if test -n "$STRIP"; then
2640
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2641
$as_echo "$STRIP" >&6; }
2643
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2644
$as_echo "no" >&6; }
2649
if test -z "$ac_cv_prog_STRIP"; then
2651
# Extract the first word of "strip", so it can be a program name with args.
2652
set dummy strip; ac_word=$2
2653
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2654
$as_echo_n "checking for $ac_word... " >&6; }
2655
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2656
$as_echo_n "(cached) " >&6
2658
if test -n "$ac_ct_STRIP"; then
2659
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2661
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2665
test -z "$as_dir" && as_dir=.
2666
for ac_exec_ext in '' $ac_executable_extensions; do
2667
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2668
ac_cv_prog_ac_ct_STRIP="strip"
2669
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2678
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2679
if test -n "$ac_ct_STRIP"; then
2680
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2681
$as_echo "$ac_ct_STRIP" >&6; }
2683
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2684
$as_echo "no" >&6; }
2687
if test "x$ac_ct_STRIP" = x; then
2690
case $cross_compiling:$ac_tool_warned in
2692
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2693
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2694
ac_tool_warned=yes ;;
2699
STRIP="$ac_cv_prog_STRIP"
2703
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2705
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2706
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2707
if test -z "$MKDIR_P"; then
2708
if test "${ac_cv_path_mkdir+set}" = set; then :
2709
$as_echo_n "(cached) " >&6
2711
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2712
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2715
test -z "$as_dir" && as_dir=.
2716
for ac_prog in mkdir gmkdir; do
2717
for ac_exec_ext in '' $ac_executable_extensions; do
2718
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2719
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2720
'mkdir (GNU coreutils) '* | \
2721
'mkdir (coreutils) '* | \
2722
'mkdir (fileutils) '4.1*)
2723
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2733
test -d ./--version && rmdir ./--version
2734
if test "${ac_cv_path_mkdir+set}" = set; then
2735
MKDIR_P="$ac_cv_path_mkdir -p"
2737
# As a last resort, use the slow shell script. Don't cache a
2738
# value for MKDIR_P within a source directory, because that will
2739
# break other packages using the cache if that directory is
2740
# removed, or if the value is a relative name.
2741
MKDIR_P="$ac_install_sh -d"
2744
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2745
$as_echo "$MKDIR_P" >&6; }
2749
[\\/$]* | ?:[\\/]*) ;;
2750
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2753
for ac_prog in gawk mawk nawk awk
2755
# Extract the first word of "$ac_prog", so it can be a program name with args.
2756
set dummy $ac_prog; ac_word=$2
2757
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2758
$as_echo_n "checking for $ac_word... " >&6; }
2759
if test "${ac_cv_prog_AWK+set}" = set; then :
2760
$as_echo_n "(cached) " >&6
2762
if test -n "$AWK"; then
2763
ac_cv_prog_AWK="$AWK" # Let the user override the test.
2765
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2769
test -z "$as_dir" && as_dir=.
2770
for ac_exec_ext in '' $ac_executable_extensions; do
2771
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2772
ac_cv_prog_AWK="$ac_prog"
2773
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2783
if test -n "$AWK"; then
2784
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2785
$as_echo "$AWK" >&6; }
2787
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2788
$as_echo "no" >&6; }
2792
test -n "$AWK" && break
2795
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2796
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2798
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2799
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2800
$as_echo_n "(cached) " >&6
2802
cat >conftest.make <<\_ACEOF
2805
@echo '@@@%%%=$(MAKE)=@@@%%%'
2807
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2808
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2810
eval ac_cv_prog_make_${ac_make}_set=yes;;
2812
eval ac_cv_prog_make_${ac_make}_set=no;;
2816
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2817
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2818
$as_echo "yes" >&6; }
2821
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2822
$as_echo "no" >&6; }
2823
SET_MAKE="MAKE=${MAKE-make}"
2826
rm -rf .tst 2>/dev/null
2827
mkdir .tst 2>/dev/null
2828
if test -d .tst; then
2833
rmdir .tst 2>/dev/null
2835
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2836
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2837
# is not polluted with repeated "-I."
2838
am__isrc=' -I$(srcdir)'
2839
# test to see if srcdir already configured
2840
if test -f $srcdir/config.status; then
2841
as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2845
# test whether we have cygpath
2846
if test -z "$CYGPATH_W"; then
2847
if (cygpath --version) >/dev/null 2>/dev/null; then
2848
CYGPATH_W='cygpath -w'
2855
# Define the identity of the package.
2860
cat >>confdefs.h <<_ACEOF
2861
#define PACKAGE "$PACKAGE"
2865
cat >>confdefs.h <<_ACEOF
2866
#define VERSION "$VERSION"
2869
# Some tools Automake needs.
2871
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2874
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2877
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2880
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2883
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2885
# We need awk for the "check" target. The system "awk" is bad on
2887
# Always define AMTAR for backward compatibility.
2889
AMTAR=${AMTAR-"${am_missing_run}tar"}
2891
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2898
ac_config_headers="$ac_config_headers config.h"
2901
# Checks for programs.
2902
DEPDIR="${am__leading_dot}deps"
2904
ac_config_commands="$ac_config_commands depfiles"
2907
am_make=${MAKE-make}
2908
cat > confinc << 'END'
2910
@echo this is the am__doit target
2913
# If we don't find an include directive, just comment out the code.
2914
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2915
$as_echo_n "checking for style of include used by $am_make... " >&6; }
2919
# First try GNU make style include.
2920
echo "include confinc" > confmf
2921
# Ignore all kinds of additional output from `make'.
2922
case `$am_make -s -f confmf 2> /dev/null` in #(
2923
*the\ am__doit\ target*)
2929
# Now try BSD make style include.
2930
if test "$am__include" = "#"; then
2931
echo '.include "confinc"' > confmf
2932
case `$am_make -s -f confmf 2> /dev/null` in #(
2933
*the\ am__doit\ target*)
2934
am__include=.include
2942
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2943
$as_echo "$_am_result" >&6; }
2944
rm -f confinc confmf
2946
# Check whether --enable-dependency-tracking was given.
2947
if test "${enable_dependency_tracking+set}" = set; then :
2948
enableval=$enable_dependency_tracking;
2951
if test "x$enable_dependency_tracking" != xno; then
2952
am_depcomp="$ac_aux_dir/depcomp"
2955
if test "x$enable_dependency_tracking" != xno; then
2965
ac_cpp='$CPP $CPPFLAGS'
2966
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2967
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2968
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2969
if test -n "$ac_tool_prefix"; then
2970
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2971
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2972
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2973
$as_echo_n "checking for $ac_word... " >&6; }
2974
if test "${ac_cv_prog_CC+set}" = set; then :
2975
$as_echo_n "(cached) " >&6
2977
if test -n "$CC"; then
2978
ac_cv_prog_CC="$CC" # Let the user override the test.
2980
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2984
test -z "$as_dir" && as_dir=.
2985
for ac_exec_ext in '' $ac_executable_extensions; do
2986
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2987
ac_cv_prog_CC="${ac_tool_prefix}gcc"
2988
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2998
if test -n "$CC"; then
2999
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3000
$as_echo "$CC" >&6; }
3002
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3003
$as_echo "no" >&6; }
3008
if test -z "$ac_cv_prog_CC"; then
3010
# Extract the first word of "gcc", so it can be a program name with args.
3011
set dummy gcc; ac_word=$2
3012
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3013
$as_echo_n "checking for $ac_word... " >&6; }
3014
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3015
$as_echo_n "(cached) " >&6
3017
if test -n "$ac_ct_CC"; then
3018
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3020
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3024
test -z "$as_dir" && as_dir=.
3025
for ac_exec_ext in '' $ac_executable_extensions; do
3026
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3027
ac_cv_prog_ac_ct_CC="gcc"
3028
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3037
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3038
if test -n "$ac_ct_CC"; then
3039
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3040
$as_echo "$ac_ct_CC" >&6; }
3042
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3043
$as_echo "no" >&6; }
3046
if test "x$ac_ct_CC" = x; then
3049
case $cross_compiling:$ac_tool_warned in
3051
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3052
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3053
ac_tool_warned=yes ;;
3061
if test -z "$CC"; then
3062
if test -n "$ac_tool_prefix"; then
3063
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3064
set dummy ${ac_tool_prefix}cc; ac_word=$2
3065
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3066
$as_echo_n "checking for $ac_word... " >&6; }
3067
if test "${ac_cv_prog_CC+set}" = set; then :
3068
$as_echo_n "(cached) " >&6
3070
if test -n "$CC"; then
3071
ac_cv_prog_CC="$CC" # Let the user override the test.
3073
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3077
test -z "$as_dir" && as_dir=.
3078
for ac_exec_ext in '' $ac_executable_extensions; do
3079
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3080
ac_cv_prog_CC="${ac_tool_prefix}cc"
3081
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3091
if test -n "$CC"; then
3092
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3093
$as_echo "$CC" >&6; }
3095
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3096
$as_echo "no" >&6; }
3102
if test -z "$CC"; then
3103
# Extract the first word of "cc", so it can be a program name with args.
3104
set dummy cc; ac_word=$2
3105
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3106
$as_echo_n "checking for $ac_word... " >&6; }
3107
if test "${ac_cv_prog_CC+set}" = set; then :
3108
$as_echo_n "(cached) " >&6
3110
if test -n "$CC"; then
3111
ac_cv_prog_CC="$CC" # Let the user override the test.
3114
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3118
test -z "$as_dir" && as_dir=.
3119
for ac_exec_ext in '' $ac_executable_extensions; do
3120
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3121
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3122
ac_prog_rejected=yes
3126
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3133
if test $ac_prog_rejected = yes; then
3134
# We found a bogon in the path, so make sure we never use it.
3135
set dummy $ac_cv_prog_CC
3137
if test $# != 0; then
3138
# We chose a different compiler from the bogus one.
3139
# However, it has the same basename, so the bogon will be chosen
3140
# first if we set CC to just the basename; use the full file name.
3142
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3148
if test -n "$CC"; then
3149
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3150
$as_echo "$CC" >&6; }
3152
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3153
$as_echo "no" >&6; }
3158
if test -z "$CC"; then
3159
if test -n "$ac_tool_prefix"; then
3160
for ac_prog in cl.exe
3162
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3163
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3164
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3165
$as_echo_n "checking for $ac_word... " >&6; }
3166
if test "${ac_cv_prog_CC+set}" = set; then :
3167
$as_echo_n "(cached) " >&6
3169
if test -n "$CC"; then
3170
ac_cv_prog_CC="$CC" # Let the user override the test.
3172
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3176
test -z "$as_dir" && as_dir=.
3177
for ac_exec_ext in '' $ac_executable_extensions; do
3178
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3179
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3180
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3190
if test -n "$CC"; then
3191
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3192
$as_echo "$CC" >&6; }
3194
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3195
$as_echo "no" >&6; }
3199
test -n "$CC" && break
3202
if test -z "$CC"; then
3204
for ac_prog in cl.exe
3206
# Extract the first word of "$ac_prog", so it can be a program name with args.
3207
set dummy $ac_prog; ac_word=$2
3208
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3209
$as_echo_n "checking for $ac_word... " >&6; }
3210
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3211
$as_echo_n "(cached) " >&6
3213
if test -n "$ac_ct_CC"; then
3214
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3216
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3220
test -z "$as_dir" && as_dir=.
3221
for ac_exec_ext in '' $ac_executable_extensions; do
3222
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3223
ac_cv_prog_ac_ct_CC="$ac_prog"
3224
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3233
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3234
if test -n "$ac_ct_CC"; then
3235
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3236
$as_echo "$ac_ct_CC" >&6; }
3238
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3239
$as_echo "no" >&6; }
3243
test -n "$ac_ct_CC" && break
3246
if test "x$ac_ct_CC" = x; then
3249
case $cross_compiling:$ac_tool_warned in
3251
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3252
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3253
ac_tool_warned=yes ;;
3262
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3263
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3264
as_fn_error "no acceptable C compiler found in \$PATH
3265
See \`config.log' for more details." "$LINENO" 5; }
3267
# Provide some information about the compiler.
3268
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3271
for ac_option in --version -v -V -qversion; do
3272
{ { ac_try="$ac_compiler $ac_option >&5"
3274
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3275
*) ac_try_echo=$ac_try;;
3277
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3278
$as_echo "$ac_try_echo"; } >&5
3279
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
3281
if test -s conftest.err; then
3283
... rest of stderr output deleted ...
3284
10q' conftest.err >conftest.er1
3285
cat conftest.er1 >&5
3287
rm -f conftest.er1 conftest.err
3288
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3289
test $ac_status = 0; }
3292
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3293
/* end confdefs.h. */
3303
ac_clean_files_save=$ac_clean_files
3304
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3305
# Try to create an executable without -o first, disregard a.out.
3306
# It will help us diagnose broken compilers, and finding out an intuition
3308
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3309
$as_echo_n "checking whether the C compiler works... " >&6; }
3310
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3312
# The possible output files:
3313
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3316
for ac_file in $ac_files
3319
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3320
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
3325
if { { ac_try="$ac_link_default"
3327
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3328
*) ac_try_echo=$ac_try;;
3330
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3331
$as_echo "$ac_try_echo"; } >&5
3332
(eval "$ac_link_default") 2>&5
3334
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3335
test $ac_status = 0; }; then :
3336
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3337
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3338
# in a Makefile. We should not override ac_cv_exeext if it was cached,
3339
# so that the user can short-circuit this test for compilers unknown to
3341
for ac_file in $ac_files ''
3343
test -f "$ac_file" || continue
3345
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3348
# We found the default executable, but exeext='' is most
3352
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3354
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3356
# We set ac_cv_exeext here because the later test for it is not
3357
# safe: cross compilers may not add the suffix if given an `-o'
3358
# argument, so we may need to know it at that point already.
3359
# Even if this section looks crufty: it has the advantage of
3366
test "$ac_cv_exeext" = no && ac_cv_exeext=
3371
if test -z "$ac_file"; then :
3372
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3373
$as_echo "no" >&6; }
3374
$as_echo "$as_me: failed program was:" >&5
3375
sed 's/^/| /' conftest.$ac_ext >&5
3377
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3378
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3379
{ as_fn_set_status 77
3380
as_fn_error "C compiler cannot create executables
3381
See \`config.log' for more details." "$LINENO" 5; }; }
3383
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3384
$as_echo "yes" >&6; }
3386
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3387
$as_echo_n "checking for C compiler default output file name... " >&6; }
3388
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3389
$as_echo "$ac_file" >&6; }
3390
ac_exeext=$ac_cv_exeext
3392
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3393
ac_clean_files=$ac_clean_files_save
3394
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3395
$as_echo_n "checking for suffix of executables... " >&6; }
3396
if { { ac_try="$ac_link"
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_link") 2>&5
3405
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3406
test $ac_status = 0; }; then :
3407
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3408
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3409
# work properly (i.e., refer to `conftest.exe'), while it won't with
3411
for ac_file in conftest.exe conftest conftest.*; do
3412
test -f "$ac_file" || continue
3414
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3415
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3421
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3422
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3423
as_fn_error "cannot compute suffix of executables: cannot compile and link
3424
See \`config.log' for more details." "$LINENO" 5; }
3426
rm -f conftest conftest$ac_cv_exeext
3427
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3428
$as_echo "$ac_cv_exeext" >&6; }
3430
rm -f conftest.$ac_ext
3431
EXEEXT=$ac_cv_exeext
3433
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3434
/* end confdefs.h. */
3439
FILE *f = fopen ("conftest.out", "w");
3440
return ferror (f) || fclose (f) != 0;
3446
ac_clean_files="$ac_clean_files conftest.out"
3447
# Check that the compiler produces executables we can run. If not, either
3448
# the compiler is broken, or we cross compile.
3449
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3450
$as_echo_n "checking whether we are cross compiling... " >&6; }
3451
if test "$cross_compiling" != yes; then
3452
{ { ac_try="$ac_link"
3454
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3455
*) ac_try_echo=$ac_try;;
3457
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3458
$as_echo "$ac_try_echo"; } >&5
3459
(eval "$ac_link") 2>&5
3461
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3462
test $ac_status = 0; }
3463
if { ac_try='./conftest$ac_cv_exeext'
3464
{ { case "(($ac_try" in
3465
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3466
*) ac_try_echo=$ac_try;;
3468
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3469
$as_echo "$ac_try_echo"; } >&5
3470
(eval "$ac_try") 2>&5
3472
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3473
test $ac_status = 0; }; }; then
3476
if test "$cross_compiling" = maybe; then
3479
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3480
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3481
as_fn_error "cannot run C compiled programs.
3482
If you meant to cross compile, use \`--host'.
3483
See \`config.log' for more details." "$LINENO" 5; }
3487
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3488
$as_echo "$cross_compiling" >&6; }
3490
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3491
ac_clean_files=$ac_clean_files_save
3492
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3493
$as_echo_n "checking for suffix of object files... " >&6; }
3494
if test "${ac_cv_objext+set}" = set; then :
3495
$as_echo_n "(cached) " >&6
3497
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3498
/* end confdefs.h. */
3508
rm -f conftest.o conftest.obj
3509
if { { ac_try="$ac_compile"
3511
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3512
*) ac_try_echo=$ac_try;;
3514
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3515
$as_echo "$ac_try_echo"; } >&5
3516
(eval "$ac_compile") 2>&5
3518
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3519
test $ac_status = 0; }; then :
3520
for ac_file in conftest.o conftest.obj conftest.*; do
3521
test -f "$ac_file" || continue;
3523
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3524
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3529
$as_echo "$as_me: failed program was:" >&5
3530
sed 's/^/| /' conftest.$ac_ext >&5
3532
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3533
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3534
as_fn_error "cannot compute suffix of object files: cannot compile
3535
See \`config.log' for more details." "$LINENO" 5; }
3537
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3539
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3540
$as_echo "$ac_cv_objext" >&6; }
3541
OBJEXT=$ac_cv_objext
3543
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3544
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3545
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3546
$as_echo_n "(cached) " >&6
3548
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3549
/* end confdefs.h. */
3562
if ac_fn_c_try_compile "$LINENO"; then :
3567
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3568
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3571
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3572
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3573
if test $ac_compiler_gnu = yes; then
3578
ac_test_CFLAGS=${CFLAGS+set}
3579
ac_save_CFLAGS=$CFLAGS
3580
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3581
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3582
if test "${ac_cv_prog_cc_g+set}" = set; then :
3583
$as_echo_n "(cached) " >&6
3585
ac_save_c_werror_flag=$ac_c_werror_flag
3586
ac_c_werror_flag=yes
3589
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3590
/* end confdefs.h. */
3600
if ac_fn_c_try_compile "$LINENO"; then :
3604
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3605
/* end confdefs.h. */
3615
if ac_fn_c_try_compile "$LINENO"; then :
3618
ac_c_werror_flag=$ac_save_c_werror_flag
3620
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3621
/* end confdefs.h. */
3631
if ac_fn_c_try_compile "$LINENO"; then :
3634
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3636
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3638
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3639
ac_c_werror_flag=$ac_save_c_werror_flag
3641
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3642
$as_echo "$ac_cv_prog_cc_g" >&6; }
3643
if test "$ac_test_CFLAGS" = set; then
3644
CFLAGS=$ac_save_CFLAGS
3645
elif test $ac_cv_prog_cc_g = yes; then
3646
if test "$GCC" = yes; then
3652
if test "$GCC" = yes; then
3658
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3659
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3660
if test "${ac_cv_prog_cc_c89+set}" = set; then :
3661
$as_echo_n "(cached) " >&6
3663
ac_cv_prog_cc_c89=no
3665
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3666
/* end confdefs.h. */
3669
#include <sys/types.h>
3670
#include <sys/stat.h>
3671
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3672
struct buf { int x; };
3673
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3674
static char *e (p, i)
3680
static char *f (char * (*g) (char **, int), char **p, ...)
3685
s = g (p, va_arg (v,int));
3690
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3691
function prototypes and stuff, but not '\xHH' hex character constants.
3692
These don't provoke an error unfortunately, instead are silently treated
3693
as 'x'. The following induces an error, until -std is added to get
3694
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3695
array size at least. It's necessary to write '\x00'==0 to get something
3696
that's true only with -std. */
3697
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3699
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3700
inside strings and character constants. */
3702
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3704
int test (int i, double x);
3705
struct s1 {int (*f) (int a);};
3706
struct s2 {int (*f) (double a);};
3707
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3713
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3718
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3719
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3721
CC="$ac_save_CC $ac_arg"
3722
if ac_fn_c_try_compile "$LINENO"; then :
3723
ac_cv_prog_cc_c89=$ac_arg
3725
rm -f core conftest.err conftest.$ac_objext
3726
test "x$ac_cv_prog_cc_c89" != "xno" && break
3728
rm -f conftest.$ac_ext
3733
case "x$ac_cv_prog_cc_c89" in
3735
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3736
$as_echo "none needed" >&6; } ;;
3738
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3739
$as_echo "unsupported" >&6; } ;;
3741
CC="$CC $ac_cv_prog_cc_c89"
3742
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3743
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3745
if test "x$ac_cv_prog_cc_c89" != xno; then :
3750
ac_cpp='$CPP $CPPFLAGS'
3751
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3752
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3753
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3755
depcc="$CC" am_compiler_list=
3757
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3758
$as_echo_n "checking dependency style of $depcc... " >&6; }
3759
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3760
$as_echo_n "(cached) " >&6
3762
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3763
# We make a subdir and do the tests there. Otherwise we can end up
3764
# making bogus files that we don't know about and never remove. For
3765
# instance it was reported that on HP-UX the gcc test will end up
3766
# making a dummy file named `D' -- because `-MD' means `put the output
3769
# Copy depcomp to subdir because otherwise we won't find it if we're
3770
# using a relative directory.
3771
cp "$am_depcomp" conftest.dir
3773
# We will build objects and dependencies in a subdirectory because
3774
# it helps to detect inapplicable dependency modes. For instance
3775
# both Tru64's cc and ICC support -MD to output dependencies as a
3776
# side effect of compilation, but ICC will put the dependencies in
3777
# the current directory while Tru64 will put them in the object
3781
am_cv_CC_dependencies_compiler_type=none
3782
if test "$am_compiler_list" = ""; then
3783
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3786
case " $depcc " in #(
3787
*\ -arch\ *\ -arch\ *) am__universal=true ;;
3790
for depmode in $am_compiler_list; do
3791
# Setup a source with many dependencies, because some compilers
3792
# like to wrap large dependency lists on column 80 (with \), and
3793
# we should not choose a depcomp mode which is confused by this.
3795
# We need to recreate these files for each test, as the compiler may
3796
# overwrite some of them when testing with obscure command lines.
3797
# This happens at least with the AIX C compiler.
3799
for i in 1 2 3 4 5 6; do
3800
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3801
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3802
# Solaris 8's {/usr,}/bin/sh.
3803
touch sub/conftst$i.h
3805
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3807
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3808
# mode. It turns out that the SunPro C++ compiler does not properly
3809
# handle `-M -o', and we need to detect this. Also, some Intel
3810
# versions had trouble with output in subdirs
3811
am__obj=sub/conftest.${OBJEXT-o}
3812
am__minus_obj="-o $am__obj"
3815
# This depmode causes a compiler race in universal mode.
3816
test "$am__universal" = false || continue
3819
# after this tag, mechanisms are not by side-effect, so they'll
3820
# only be used when explicitly requested
3821
if test "x$enable_dependency_tracking" = xyes; then
3827
msvisualcpp | msvcmsys)
3828
# This compiler won't grok `-c -o', but also, the minuso test has
3829
# not run yet. These depmodes are late enough in the game, and
3830
# so weak that their functioning should not be impacted.
3831
am__obj=conftest.${OBJEXT-o}
3836
if depmode=$depmode \
3837
source=sub/conftest.c object=$am__obj \
3838
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3839
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3840
>/dev/null 2>conftest.err &&
3841
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3842
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3843
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3844
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3845
# icc doesn't choke on unknown options, it will just issue warnings
3846
# or remarks (even with -Werror). So we grep stderr for any message
3847
# that says an option was ignored or not supported.
3848
# When given -MP, icc 7.0 and 7.1 complain thusly:
3849
# icc: Command line warning: ignoring option '-M'; no argument required
3850
# The diagnosis changed in icc 8.0:
3851
# icc: Command line remark: option '-MP' not supported
3852
if (grep 'ignoring option' conftest.err ||
3853
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3854
am_cv_CC_dependencies_compiler_type=$depmode
3863
am_cv_CC_dependencies_compiler_type=none
3867
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3868
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3869
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3872
test "x$enable_dependency_tracking" != xno \
3873
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3875
am__fastdepCC_FALSE='#'
3877
am__fastdepCC_TRUE='#'
3878
am__fastdepCC_FALSE=
3883
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
3884
$as_echo_n "checking for library containing strerror... " >&6; }
3885
if test "${ac_cv_search_strerror+set}" = set; then :
3886
$as_echo_n "(cached) " >&6
3888
ac_func_search_save_LIBS=$LIBS
3889
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3890
/* end confdefs.h. */
3892
/* Override any GCC internal prototype to avoid an error.
3893
Use char because int might match the return type of a GCC
3894
builtin and then its argument prototype would still apply. */
3907
for ac_lib in '' cposix; do
3908
if test -z "$ac_lib"; then
3909
ac_res="none required"
3912
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3914
if ac_fn_c_try_link "$LINENO"; then :
3915
ac_cv_search_strerror=$ac_res
3917
rm -f core conftest.err conftest.$ac_objext \
3919
if test "${ac_cv_search_strerror+set}" = set; then :
3923
if test "${ac_cv_search_strerror+set}" = set; then :
3926
ac_cv_search_strerror=no
3929
LIBS=$ac_func_search_save_LIBS
3931
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
3932
$as_echo "$ac_cv_search_strerror" >&6; }
3933
ac_res=$ac_cv_search_strerror
3934
if test "$ac_res" != no; then :
3935
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3940
ac_cpp='$CPP $CPPFLAGS'
3941
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3942
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3943
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3944
if test -n "$ac_tool_prefix"; then
3945
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3946
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3947
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3948
$as_echo_n "checking for $ac_word... " >&6; }
3949
if test "${ac_cv_prog_CC+set}" = set; then :
3950
$as_echo_n "(cached) " >&6
3952
if test -n "$CC"; then
3953
ac_cv_prog_CC="$CC" # Let the user override the test.
3955
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3959
test -z "$as_dir" && as_dir=.
3960
for ac_exec_ext in '' $ac_executable_extensions; do
3961
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3962
ac_cv_prog_CC="${ac_tool_prefix}gcc"
3963
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3973
if test -n "$CC"; then
3974
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3975
$as_echo "$CC" >&6; }
3977
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3978
$as_echo "no" >&6; }
3983
if test -z "$ac_cv_prog_CC"; then
3985
# Extract the first word of "gcc", so it can be a program name with args.
3986
set dummy gcc; ac_word=$2
3987
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3988
$as_echo_n "checking for $ac_word... " >&6; }
3989
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3990
$as_echo_n "(cached) " >&6
3992
if test -n "$ac_ct_CC"; then
3993
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3995
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3999
test -z "$as_dir" && as_dir=.
4000
for ac_exec_ext in '' $ac_executable_extensions; do
4001
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4002
ac_cv_prog_ac_ct_CC="gcc"
4003
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4012
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4013
if test -n "$ac_ct_CC"; then
4014
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4015
$as_echo "$ac_ct_CC" >&6; }
4017
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4018
$as_echo "no" >&6; }
4021
if test "x$ac_ct_CC" = x; then
4024
case $cross_compiling:$ac_tool_warned in
4026
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4027
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4028
ac_tool_warned=yes ;;
4036
if test -z "$CC"; then
4037
if test -n "$ac_tool_prefix"; then
4038
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4039
set dummy ${ac_tool_prefix}cc; ac_word=$2
4040
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4041
$as_echo_n "checking for $ac_word... " >&6; }
4042
if test "${ac_cv_prog_CC+set}" = set; then :
4043
$as_echo_n "(cached) " >&6
4045
if test -n "$CC"; then
4046
ac_cv_prog_CC="$CC" # Let the user override the test.
4048
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4052
test -z "$as_dir" && as_dir=.
4053
for ac_exec_ext in '' $ac_executable_extensions; do
4054
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4055
ac_cv_prog_CC="${ac_tool_prefix}cc"
4056
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4066
if test -n "$CC"; then
4067
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4068
$as_echo "$CC" >&6; }
4070
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4071
$as_echo "no" >&6; }
4077
if test -z "$CC"; then
4078
# Extract the first word of "cc", so it can be a program name with args.
4079
set dummy cc; ac_word=$2
4080
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4081
$as_echo_n "checking for $ac_word... " >&6; }
4082
if test "${ac_cv_prog_CC+set}" = set; then :
4083
$as_echo_n "(cached) " >&6
4085
if test -n "$CC"; then
4086
ac_cv_prog_CC="$CC" # Let the user override the test.
4089
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4093
test -z "$as_dir" && as_dir=.
4094
for ac_exec_ext in '' $ac_executable_extensions; do
4095
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4096
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4097
ac_prog_rejected=yes
4101
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4108
if test $ac_prog_rejected = yes; then
4109
# We found a bogon in the path, so make sure we never use it.
4110
set dummy $ac_cv_prog_CC
4112
if test $# != 0; then
4113
# We chose a different compiler from the bogus one.
4114
# However, it has the same basename, so the bogon will be chosen
4115
# first if we set CC to just the basename; use the full file name.
4117
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4123
if test -n "$CC"; then
4124
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4125
$as_echo "$CC" >&6; }
4127
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4128
$as_echo "no" >&6; }
4133
if test -z "$CC"; then
4134
if test -n "$ac_tool_prefix"; then
4135
for ac_prog in cl.exe
4137
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4138
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4139
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4140
$as_echo_n "checking for $ac_word... " >&6; }
4141
if test "${ac_cv_prog_CC+set}" = set; then :
4142
$as_echo_n "(cached) " >&6
4144
if test -n "$CC"; then
4145
ac_cv_prog_CC="$CC" # Let the user override the test.
4147
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4151
test -z "$as_dir" && as_dir=.
4152
for ac_exec_ext in '' $ac_executable_extensions; do
4153
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4154
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4155
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4165
if test -n "$CC"; then
4166
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4167
$as_echo "$CC" >&6; }
4169
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4170
$as_echo "no" >&6; }
4174
test -n "$CC" && break
4177
if test -z "$CC"; then
4179
for ac_prog in cl.exe
4181
# Extract the first word of "$ac_prog", so it can be a program name with args.
4182
set dummy $ac_prog; ac_word=$2
4183
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4184
$as_echo_n "checking for $ac_word... " >&6; }
4185
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4186
$as_echo_n "(cached) " >&6
4188
if test -n "$ac_ct_CC"; then
4189
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4191
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4195
test -z "$as_dir" && as_dir=.
4196
for ac_exec_ext in '' $ac_executable_extensions; do
4197
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4198
ac_cv_prog_ac_ct_CC="$ac_prog"
4199
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4208
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4209
if test -n "$ac_ct_CC"; then
4210
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4211
$as_echo "$ac_ct_CC" >&6; }
4213
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4214
$as_echo "no" >&6; }
4218
test -n "$ac_ct_CC" && break
4221
if test "x$ac_ct_CC" = x; then
4224
case $cross_compiling:$ac_tool_warned in
4226
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4227
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4228
ac_tool_warned=yes ;;
4237
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4238
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4239
as_fn_error "no acceptable C compiler found in \$PATH
4240
See \`config.log' for more details." "$LINENO" 5; }
4242
# Provide some information about the compiler.
4243
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4246
for ac_option in --version -v -V -qversion; do
4247
{ { ac_try="$ac_compiler $ac_option >&5"
4249
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4250
*) ac_try_echo=$ac_try;;
4252
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4253
$as_echo "$ac_try_echo"; } >&5
4254
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
4256
if test -s conftest.err; then
4258
... rest of stderr output deleted ...
4259
10q' conftest.err >conftest.er1
4260
cat conftest.er1 >&5
4262
rm -f conftest.er1 conftest.err
4263
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4264
test $ac_status = 0; }
4267
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4268
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4269
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4270
$as_echo_n "(cached) " >&6
4272
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4273
/* end confdefs.h. */
4286
if ac_fn_c_try_compile "$LINENO"; then :
4291
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4292
ac_cv_c_compiler_gnu=$ac_compiler_gnu
4295
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4296
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4297
if test $ac_compiler_gnu = yes; then
4302
ac_test_CFLAGS=${CFLAGS+set}
4303
ac_save_CFLAGS=$CFLAGS
4304
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4305
$as_echo_n "checking whether $CC accepts -g... " >&6; }
4306
if test "${ac_cv_prog_cc_g+set}" = set; then :
4307
$as_echo_n "(cached) " >&6
4309
ac_save_c_werror_flag=$ac_c_werror_flag
4310
ac_c_werror_flag=yes
4313
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4314
/* end confdefs.h. */
4324
if ac_fn_c_try_compile "$LINENO"; then :
4328
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4329
/* end confdefs.h. */
4339
if ac_fn_c_try_compile "$LINENO"; then :
4342
ac_c_werror_flag=$ac_save_c_werror_flag
4344
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4345
/* end confdefs.h. */
4355
if ac_fn_c_try_compile "$LINENO"; then :
4358
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4360
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4362
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4363
ac_c_werror_flag=$ac_save_c_werror_flag
4365
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4366
$as_echo "$ac_cv_prog_cc_g" >&6; }
4367
if test "$ac_test_CFLAGS" = set; then
4368
CFLAGS=$ac_save_CFLAGS
4369
elif test $ac_cv_prog_cc_g = yes; then
4370
if test "$GCC" = yes; then
4376
if test "$GCC" = yes; then
4382
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4383
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4384
if test "${ac_cv_prog_cc_c89+set}" = set; then :
4385
$as_echo_n "(cached) " >&6
4387
ac_cv_prog_cc_c89=no
4389
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4390
/* end confdefs.h. */
4393
#include <sys/types.h>
4394
#include <sys/stat.h>
4395
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4396
struct buf { int x; };
4397
FILE * (*rcsopen) (struct buf *, struct stat *, int);
4398
static char *e (p, i)
4404
static char *f (char * (*g) (char **, int), char **p, ...)
4409
s = g (p, va_arg (v,int));
4414
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4415
function prototypes and stuff, but not '\xHH' hex character constants.
4416
These don't provoke an error unfortunately, instead are silently treated
4417
as 'x'. The following induces an error, until -std is added to get
4418
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4419
array size at least. It's necessary to write '\x00'==0 to get something
4420
that's true only with -std. */
4421
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4423
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4424
inside strings and character constants. */
4426
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4428
int test (int i, double x);
4429
struct s1 {int (*f) (int a);};
4430
struct s2 {int (*f) (double a);};
4431
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4437
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4442
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4443
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4445
CC="$ac_save_CC $ac_arg"
4446
if ac_fn_c_try_compile "$LINENO"; then :
4447
ac_cv_prog_cc_c89=$ac_arg
4449
rm -f core conftest.err conftest.$ac_objext
4450
test "x$ac_cv_prog_cc_c89" != "xno" && break
4452
rm -f conftest.$ac_ext
4457
case "x$ac_cv_prog_cc_c89" in
4459
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4460
$as_echo "none needed" >&6; } ;;
4462
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4463
$as_echo "unsupported" >&6; } ;;
4465
CC="$CC $ac_cv_prog_cc_c89"
4466
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4467
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4469
if test "x$ac_cv_prog_cc_c89" != xno; then :
4474
ac_cpp='$CPP $CPPFLAGS'
4475
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4476
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4477
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4479
depcc="$CC" am_compiler_list=
4481
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4482
$as_echo_n "checking dependency style of $depcc... " >&6; }
4483
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4484
$as_echo_n "(cached) " >&6
4486
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4487
# We make a subdir and do the tests there. Otherwise we can end up
4488
# making bogus files that we don't know about and never remove. For
4489
# instance it was reported that on HP-UX the gcc test will end up
4490
# making a dummy file named `D' -- because `-MD' means `put the output
4493
# Copy depcomp to subdir because otherwise we won't find it if we're
4494
# using a relative directory.
4495
cp "$am_depcomp" conftest.dir
4497
# We will build objects and dependencies in a subdirectory because
4498
# it helps to detect inapplicable dependency modes. For instance
4499
# both Tru64's cc and ICC support -MD to output dependencies as a
4500
# side effect of compilation, but ICC will put the dependencies in
4501
# the current directory while Tru64 will put them in the object
4505
am_cv_CC_dependencies_compiler_type=none
4506
if test "$am_compiler_list" = ""; then
4507
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4510
case " $depcc " in #(
4511
*\ -arch\ *\ -arch\ *) am__universal=true ;;
4514
for depmode in $am_compiler_list; do
4515
# Setup a source with many dependencies, because some compilers
4516
# like to wrap large dependency lists on column 80 (with \), and
4517
# we should not choose a depcomp mode which is confused by this.
4519
# We need to recreate these files for each test, as the compiler may
4520
# overwrite some of them when testing with obscure command lines.
4521
# This happens at least with the AIX C compiler.
4523
for i in 1 2 3 4 5 6; do
4524
echo '#include "conftst'$i'.h"' >> sub/conftest.c
4525
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4526
# Solaris 8's {/usr,}/bin/sh.
4527
touch sub/conftst$i.h
4529
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4531
# We check with `-c' and `-o' for the sake of the "dashmstdout"
4532
# mode. It turns out that the SunPro C++ compiler does not properly
4533
# handle `-M -o', and we need to detect this. Also, some Intel
4534
# versions had trouble with output in subdirs
4535
am__obj=sub/conftest.${OBJEXT-o}
4536
am__minus_obj="-o $am__obj"
4539
# This depmode causes a compiler race in universal mode.
4540
test "$am__universal" = false || continue
4543
# after this tag, mechanisms are not by side-effect, so they'll
4544
# only be used when explicitly requested
4545
if test "x$enable_dependency_tracking" = xyes; then
4551
msvisualcpp | msvcmsys)
4552
# This compiler won't grok `-c -o', but also, the minuso test has
4553
# not run yet. These depmodes are late enough in the game, and
4554
# so weak that their functioning should not be impacted.
4555
am__obj=conftest.${OBJEXT-o}
4560
if depmode=$depmode \
4561
source=sub/conftest.c object=$am__obj \
4562
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4563
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4564
>/dev/null 2>conftest.err &&
4565
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4566
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4567
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4568
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4569
# icc doesn't choke on unknown options, it will just issue warnings
4570
# or remarks (even with -Werror). So we grep stderr for any message
4571
# that says an option was ignored or not supported.
4572
# When given -MP, icc 7.0 and 7.1 complain thusly:
4573
# icc: Command line warning: ignoring option '-M'; no argument required
4574
# The diagnosis changed in icc 8.0:
4575
# icc: Command line remark: option '-MP' not supported
4576
if (grep 'ignoring option' conftest.err ||
4577
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4578
am_cv_CC_dependencies_compiler_type=$depmode
4587
am_cv_CC_dependencies_compiler_type=none
4591
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4592
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4593
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4596
test "x$enable_dependency_tracking" != xno \
4597
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4599
am__fastdepCC_FALSE='#'
4601
am__fastdepCC_TRUE='#'
4602
am__fastdepCC_FALSE=
4608
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4609
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4614
macro_version='2.2.6b'
4615
macro_revision='1.3017'
4629
ltmain="$ac_aux_dir/ltmain.sh"
4631
# Make sure we can run config.sub.
4632
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4633
as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4635
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4636
$as_echo_n "checking build system type... " >&6; }
4637
if test "${ac_cv_build+set}" = set; then :
4638
$as_echo_n "(cached) " >&6
4640
ac_build_alias=$build_alias
4641
test "x$ac_build_alias" = x &&
4642
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4643
test "x$ac_build_alias" = x &&
4644
as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
4645
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4646
as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4649
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4650
$as_echo "$ac_cv_build" >&6; }
4651
case $ac_cv_build in
4653
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
4656
ac_save_IFS=$IFS; IFS='-'
4662
# Remember, the first character of IFS is used to create $*,
4663
# except with old shells:
4666
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4669
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4670
$as_echo_n "checking host system type... " >&6; }
4671
if test "${ac_cv_host+set}" = set; then :
4672
$as_echo_n "(cached) " >&6
4674
if test "x$host_alias" = x; then
4675
ac_cv_host=$ac_cv_build
4677
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4678
as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4682
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4683
$as_echo "$ac_cv_host" >&6; }
4686
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
4689
ac_save_IFS=$IFS; IFS='-'
4695
# Remember, the first character of IFS is used to create $*,
4696
# except with old shells:
4699
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4702
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4703
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4704
if test "${ac_cv_path_SED+set}" = set; then :
4705
$as_echo_n "(cached) " >&6
4707
ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4708
for ac_i in 1 2 3 4 5 6 7; do
4709
ac_script="$ac_script$as_nl$ac_script"
4711
echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4712
{ ac_script=; unset ac_script;}
4713
if test -z "$SED"; then
4714
ac_path_SED_found=false
4715
# Loop through the user's path and test for each of PROGNAME-LIST
4716
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4720
test -z "$as_dir" && as_dir=.
4721
for ac_prog in sed gsed; do
4722
for ac_exec_ext in '' $ac_executable_extensions; do
4723
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4724
{ test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4725
# Check for GNU ac_path_SED and select it if it is found.
4726
# Check for GNU $ac_path_SED
4727
case `"$ac_path_SED" --version 2>&1` in
4729
ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4732
$as_echo_n 0123456789 >"conftest.in"
4735
cat "conftest.in" "conftest.in" >"conftest.tmp"
4736
mv "conftest.tmp" "conftest.in"
4737
cp "conftest.in" "conftest.nl"
4738
$as_echo '' >> "conftest.nl"
4739
"$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4740
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4741
as_fn_arith $ac_count + 1 && ac_count=$as_val
4742
if test $ac_count -gt ${ac_path_SED_max-0}; then
4743
# Best one so far, save it but keep looking for a better one
4744
ac_cv_path_SED="$ac_path_SED"
4745
ac_path_SED_max=$ac_count
4747
# 10*(2^10) chars as input seems more than enough
4748
test $ac_count -gt 10 && break
4750
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4753
$ac_path_SED_found && break 3
4758
if test -z "$ac_cv_path_SED"; then
4759
as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4766
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4767
$as_echo "$ac_cv_path_SED" >&6; }
4768
SED="$ac_cv_path_SED"
4771
test -z "$SED" && SED=sed
4772
Xsed="$SED -e 1s/^X//"
4784
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4785
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4786
if test "${ac_cv_path_GREP+set}" = set; then :
4787
$as_echo_n "(cached) " >&6
4789
if test -z "$GREP"; then
4790
ac_path_GREP_found=false
4791
# Loop through the user's path and test for each of PROGNAME-LIST
4792
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4793
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4796
test -z "$as_dir" && as_dir=.
4797
for ac_prog in grep ggrep; do
4798
for ac_exec_ext in '' $ac_executable_extensions; do
4799
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4800
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4801
# Check for GNU ac_path_GREP and select it if it is found.
4802
# Check for GNU $ac_path_GREP
4803
case `"$ac_path_GREP" --version 2>&1` in
4805
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4808
$as_echo_n 0123456789 >"conftest.in"
4811
cat "conftest.in" "conftest.in" >"conftest.tmp"
4812
mv "conftest.tmp" "conftest.in"
4813
cp "conftest.in" "conftest.nl"
4814
$as_echo 'GREP' >> "conftest.nl"
4815
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4816
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4817
as_fn_arith $ac_count + 1 && ac_count=$as_val
4818
if test $ac_count -gt ${ac_path_GREP_max-0}; then
4819
# Best one so far, save it but keep looking for a better one
4820
ac_cv_path_GREP="$ac_path_GREP"
4821
ac_path_GREP_max=$ac_count
4823
# 10*(2^10) chars as input seems more than enough
4824
test $ac_count -gt 10 && break
4826
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4829
$ac_path_GREP_found && break 3
4834
if test -z "$ac_cv_path_GREP"; then
4835
as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4838
ac_cv_path_GREP=$GREP
4842
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4843
$as_echo "$ac_cv_path_GREP" >&6; }
4844
GREP="$ac_cv_path_GREP"
4847
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4848
$as_echo_n "checking for egrep... " >&6; }
4849
if test "${ac_cv_path_EGREP+set}" = set; then :
4850
$as_echo_n "(cached) " >&6
4852
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4853
then ac_cv_path_EGREP="$GREP -E"
4855
if test -z "$EGREP"; then
4856
ac_path_EGREP_found=false
4857
# Loop through the user's path and test for each of PROGNAME-LIST
4858
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4859
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4862
test -z "$as_dir" && as_dir=.
4863
for ac_prog in egrep; do
4864
for ac_exec_ext in '' $ac_executable_extensions; do
4865
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4866
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4867
# Check for GNU ac_path_EGREP and select it if it is found.
4868
# Check for GNU $ac_path_EGREP
4869
case `"$ac_path_EGREP" --version 2>&1` in
4871
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4874
$as_echo_n 0123456789 >"conftest.in"
4877
cat "conftest.in" "conftest.in" >"conftest.tmp"
4878
mv "conftest.tmp" "conftest.in"
4879
cp "conftest.in" "conftest.nl"
4880
$as_echo 'EGREP' >> "conftest.nl"
4881
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4882
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4883
as_fn_arith $ac_count + 1 && ac_count=$as_val
4884
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4885
# Best one so far, save it but keep looking for a better one
4886
ac_cv_path_EGREP="$ac_path_EGREP"
4887
ac_path_EGREP_max=$ac_count
4889
# 10*(2^10) chars as input seems more than enough
4890
test $ac_count -gt 10 && break
4892
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4895
$ac_path_EGREP_found && break 3
4900
if test -z "$ac_cv_path_EGREP"; then
4901
as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4904
ac_cv_path_EGREP=$EGREP
4909
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4910
$as_echo "$ac_cv_path_EGREP" >&6; }
4911
EGREP="$ac_cv_path_EGREP"
4914
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4915
$as_echo_n "checking for fgrep... " >&6; }
4916
if test "${ac_cv_path_FGREP+set}" = set; then :
4917
$as_echo_n "(cached) " >&6
4919
if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4920
then ac_cv_path_FGREP="$GREP -F"
4922
if test -z "$FGREP"; then
4923
ac_path_FGREP_found=false
4924
# Loop through the user's path and test for each of PROGNAME-LIST
4925
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4926
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4929
test -z "$as_dir" && as_dir=.
4930
for ac_prog in fgrep; do
4931
for ac_exec_ext in '' $ac_executable_extensions; do
4932
ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4933
{ test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4934
# Check for GNU ac_path_FGREP and select it if it is found.
4935
# Check for GNU $ac_path_FGREP
4936
case `"$ac_path_FGREP" --version 2>&1` in
4938
ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4941
$as_echo_n 0123456789 >"conftest.in"
4944
cat "conftest.in" "conftest.in" >"conftest.tmp"
4945
mv "conftest.tmp" "conftest.in"
4946
cp "conftest.in" "conftest.nl"
4947
$as_echo 'FGREP' >> "conftest.nl"
4948
"$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4949
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4950
as_fn_arith $ac_count + 1 && ac_count=$as_val
4951
if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4952
# Best one so far, save it but keep looking for a better one
4953
ac_cv_path_FGREP="$ac_path_FGREP"
4954
ac_path_FGREP_max=$ac_count
4956
# 10*(2^10) chars as input seems more than enough
4957
test $ac_count -gt 10 && break
4959
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4962
$ac_path_FGREP_found && break 3
4967
if test -z "$ac_cv_path_FGREP"; then
4968
as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4971
ac_cv_path_FGREP=$FGREP
4976
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4977
$as_echo "$ac_cv_path_FGREP" >&6; }
4978
FGREP="$ac_cv_path_FGREP"
4981
test -z "$GREP" && GREP=grep
5001
# Check whether --with-gnu-ld was given.
5002
if test "${with_gnu_ld+set}" = set; then :
5003
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5009
if test "$GCC" = yes; then
5010
# Check if gcc -print-prog-name=ld gives a path.
5011
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5012
$as_echo_n "checking for ld used by $CC... " >&6; }
5015
# gcc leaves a trailing carriage return which upsets mingw
5016
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5018
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5021
# Accept absolute paths.
5023
re_direlt='/[^/][^/]*/\.\./'
5024
# Canonicalize the pathname of ld
5025
ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5026
while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5027
ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5029
test -z "$LD" && LD="$ac_prog"
5032
# If it fails, then pretend we aren't using GCC.
5036
# If it is relative, then search for the first ld in PATH.
5040
elif test "$with_gnu_ld" = yes; then
5041
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5042
$as_echo_n "checking for GNU ld... " >&6; }
5044
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5045
$as_echo_n "checking for non-GNU ld... " >&6; }
5047
if test "${lt_cv_path_LD+set}" = set; then :
5048
$as_echo_n "(cached) " >&6
5050
if test -z "$LD"; then
5051
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5052
for ac_dir in $PATH; do
5054
test -z "$ac_dir" && ac_dir=.
5055
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5056
lt_cv_path_LD="$ac_dir/$ac_prog"
5057
# Check to see if the program is GNU ld. I'd rather use --version,
5058
# but apparently some variants of GNU ld only accept -v.
5059
# Break only if it was the GNU/non-GNU ld that we prefer.
5060
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5061
*GNU* | *'with BFD'*)
5062
test "$with_gnu_ld" != no && break
5065
test "$with_gnu_ld" != yes && break
5072
lt_cv_path_LD="$LD" # Let the user override the test with a path.
5077
if test -n "$LD"; then
5078
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5079
$as_echo "$LD" >&6; }
5081
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5082
$as_echo "no" >&6; }
5084
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5085
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5086
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5087
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5088
$as_echo_n "(cached) " >&6
5090
# I'd rather use --version here, but apparently some GNU lds only accept -v.
5091
case `$LD -v 2>&1 </dev/null` in
5092
*GNU* | *'with BFD'*)
5093
lt_cv_prog_gnu_ld=yes
5096
lt_cv_prog_gnu_ld=no
5100
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5101
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
5102
with_gnu_ld=$lt_cv_prog_gnu_ld
5112
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5113
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5114
if test "${lt_cv_path_NM+set}" = set; then :
5115
$as_echo_n "(cached) " >&6
5117
if test -n "$NM"; then
5118
# Let the user override the test.
5121
lt_nm_to_check="${ac_tool_prefix}nm"
5122
if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5123
lt_nm_to_check="$lt_nm_to_check nm"
5125
for lt_tmp_nm in $lt_nm_to_check; do
5126
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5127
for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5129
test -z "$ac_dir" && ac_dir=.
5130
tmp_nm="$ac_dir/$lt_tmp_nm"
5131
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5132
# Check to see if the nm accepts a BSD-compat flag.
5133
# Adding the `sed 1q' prevents false positives on HP-UX, which says:
5134
# nm: unknown option "B" ignored
5135
# Tru64's nm complains that /dev/null is an invalid object file
5136
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5137
*/dev/null* | *'Invalid file or object type'*)
5138
lt_cv_path_NM="$tmp_nm -B"
5142
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5144
lt_cv_path_NM="$tmp_nm -p"
5148
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5149
continue # so that we can try to find one that supports BSD flags
5158
: ${lt_cv_path_NM=no}
5161
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5162
$as_echo "$lt_cv_path_NM" >&6; }
5163
if test "$lt_cv_path_NM" != "no"; then
5166
# Didn't find any BSD compatible name lister, look for dumpbin.
5167
if test -n "$ac_tool_prefix"; then
5168
for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5170
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5171
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5172
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5173
$as_echo_n "checking for $ac_word... " >&6; }
5174
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5175
$as_echo_n "(cached) " >&6
5177
if test -n "$DUMPBIN"; then
5178
ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5180
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5184
test -z "$as_dir" && as_dir=.
5185
for ac_exec_ext in '' $ac_executable_extensions; do
5186
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5187
ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5188
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5197
DUMPBIN=$ac_cv_prog_DUMPBIN
5198
if test -n "$DUMPBIN"; then
5199
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5200
$as_echo "$DUMPBIN" >&6; }
5202
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5203
$as_echo "no" >&6; }
5207
test -n "$DUMPBIN" && break
5210
if test -z "$DUMPBIN"; then
5211
ac_ct_DUMPBIN=$DUMPBIN
5212
for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5214
# Extract the first word of "$ac_prog", so it can be a program name with args.
5215
set dummy $ac_prog; ac_word=$2
5216
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5217
$as_echo_n "checking for $ac_word... " >&6; }
5218
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5219
$as_echo_n "(cached) " >&6
5221
if test -n "$ac_ct_DUMPBIN"; then
5222
ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5224
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5228
test -z "$as_dir" && as_dir=.
5229
for ac_exec_ext in '' $ac_executable_extensions; do
5230
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5231
ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5232
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5241
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5242
if test -n "$ac_ct_DUMPBIN"; then
5243
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5244
$as_echo "$ac_ct_DUMPBIN" >&6; }
5246
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5247
$as_echo "no" >&6; }
5251
test -n "$ac_ct_DUMPBIN" && break
5254
if test "x$ac_ct_DUMPBIN" = x; then
5257
case $cross_compiling:$ac_tool_warned in
5259
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5260
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5261
ac_tool_warned=yes ;;
5263
DUMPBIN=$ac_ct_DUMPBIN
5268
if test "$DUMPBIN" != ":"; then
5272
test -z "$NM" && NM=nm
5279
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5280
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5281
if test "${lt_cv_nm_interface+set}" = set; then :
5282
$as_echo_n "(cached) " >&6
5284
lt_cv_nm_interface="BSD nm"
5285
echo "int some_variable = 0;" > conftest.$ac_ext
5286
(eval echo "\"\$as_me:5286: $ac_compile\"" >&5)
5287
(eval "$ac_compile" 2>conftest.err)
5288
cat conftest.err >&5
5289
(eval echo "\"\$as_me:5289: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5290
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5291
cat conftest.err >&5
5292
(eval echo "\"\$as_me:5292: output\"" >&5)
5293
cat conftest.out >&5
5294
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5295
lt_cv_nm_interface="MS dumpbin"
5299
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5300
$as_echo "$lt_cv_nm_interface" >&6; }
5302
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5303
$as_echo_n "checking whether ln -s works... " >&6; }
5305
if test "$LN_S" = "ln -s"; then
5306
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5307
$as_echo "yes" >&6; }
5309
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5310
$as_echo "no, using $LN_S" >&6; }
5313
# find the maximum length of command line arguments
5314
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5315
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5316
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5317
$as_echo_n "(cached) " >&6
5324
# On DJGPP, this test can blow up pretty badly due to problems in libc
5325
# (any single argument exceeding 2000 bytes causes a buffer overrun
5326
# during glob expansion). Even if it were fixed, the result of this
5327
# check would be larger than it should be.
5328
lt_cv_sys_max_cmd_len=12288; # 12K is about right
5332
# Under GNU Hurd, this test is not required because there is
5333
# no limit to the length of command line arguments.
5334
# Libtool will interpret -1 as no limit whatsoever
5335
lt_cv_sys_max_cmd_len=-1;
5338
cygwin* | mingw* | cegcc*)
5339
# On Win9x/ME, this test blows up -- it succeeds, but takes
5340
# about 5 minutes as the teststring grows exponentially.
5341
# Worse, since 9x/ME are not pre-emptively multitasking,
5342
# you end up with a "frozen" computer, even though with patience
5343
# the test eventually succeeds (with a max line length of 256k).
5344
# Instead, let's just punt: use the minimum linelength reported by
5345
# all of the supported platforms: 8192 (on NT/2K/XP).
5346
lt_cv_sys_max_cmd_len=8192;
5350
# On AmigaOS with pdksh, this test takes hours, literally.
5351
# So we just punt and use a minimum line length of 8192.
5352
lt_cv_sys_max_cmd_len=8192;
5355
netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5356
# This has been around since 386BSD, at least. Likely further.
5357
if test -x /sbin/sysctl; then
5358
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5359
elif test -x /usr/sbin/sysctl; then
5360
lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5362
lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5364
# And add a safety zone
5365
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5366
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5370
# We know the value 262144 and hardcode it with a safety zone (like BSD)
5371
lt_cv_sys_max_cmd_len=196608
5375
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5376
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5377
# nice to cause kernel panics so lets avoid the loop below.
5378
# First set a reasonable default.
5379
lt_cv_sys_max_cmd_len=16384
5381
if test -x /sbin/sysconfig; then
5382
case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5383
*1*) lt_cv_sys_max_cmd_len=-1 ;;
5388
lt_cv_sys_max_cmd_len=102400
5390
sysv5* | sco5v6* | sysv4.2uw2*)
5391
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5392
if test -n "$kargmax"; then
5393
lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5395
lt_cv_sys_max_cmd_len=32768
5399
lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5400
if test -n "$lt_cv_sys_max_cmd_len"; then
5401
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5402
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5404
# Make teststring a little bigger before we do anything with it.
5405
# a 1K string should be a reasonable start.
5406
for i in 1 2 3 4 5 6 7 8 ; do
5407
teststring=$teststring$teststring
5409
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5410
# If test is not a shell built-in, we'll probably end up computing a
5411
# maximum length that is only half of the actual maximum length, but
5413
while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5414
= "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5415
test $i != 17 # 1/2 MB should be enough
5418
teststring=$teststring$teststring
5420
# Only check the string length outside the loop.
5421
lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5423
# Add a significant safety factor because C++ compilers can tack on
5424
# massive amounts of additional arguments before passing them to the
5425
# linker. It appears as though 1/2 is a usable value.
5426
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5433
if test -n $lt_cv_sys_max_cmd_len ; then
5434
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5435
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5437
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5438
$as_echo "none" >&6; }
5440
max_cmd_len=$lt_cv_sys_max_cmd_len
5451
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5452
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5453
# Try some XSI features
5456
test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5458
&& eval 'test $(( 1 + 1 )) -eq 2 \
5459
&& test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5461
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5462
$as_echo "$xsi_shell" >&6; }
5465
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5466
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5468
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5470
&& lt_shell_append=yes
5471
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5472
$as_echo "$lt_shell_append" >&6; }
5475
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5485
# test EBCDIC or ASCII
5486
case `echo X|tr X '\101'` in
5487
A) # ASCII based system
5488
# \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5489
lt_SP2NL='tr \040 \012'
5490
lt_NL2SP='tr \015\012 \040\040'
5492
*) # EBCDIC based system
5493
lt_SP2NL='tr \100 \n'
5494
lt_NL2SP='tr \r\n \100\100'
5506
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5507
$as_echo_n "checking for $LD option to reload object files... " >&6; }
5508
if test "${lt_cv_ld_reload_flag+set}" = set; then :
5509
$as_echo_n "(cached) " >&6
5511
lt_cv_ld_reload_flag='-r'
5513
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5514
$as_echo "$lt_cv_ld_reload_flag" >&6; }
5515
reload_flag=$lt_cv_ld_reload_flag
5516
case $reload_flag in
5518
*) reload_flag=" $reload_flag" ;;
5520
reload_cmds='$LD$reload_flag -o $output$reload_objs'
5523
if test "$GCC" = yes; then
5524
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5526
reload_cmds='$LD$reload_flag -o $output$reload_objs'
5539
if test -n "$ac_tool_prefix"; then
5540
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5541
set dummy ${ac_tool_prefix}objdump; ac_word=$2
5542
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5543
$as_echo_n "checking for $ac_word... " >&6; }
5544
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5545
$as_echo_n "(cached) " >&6
5547
if test -n "$OBJDUMP"; then
5548
ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5550
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5554
test -z "$as_dir" && as_dir=.
5555
for ac_exec_ext in '' $ac_executable_extensions; do
5556
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5557
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5558
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5567
OBJDUMP=$ac_cv_prog_OBJDUMP
5568
if test -n "$OBJDUMP"; then
5569
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5570
$as_echo "$OBJDUMP" >&6; }
5572
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5573
$as_echo "no" >&6; }
5578
if test -z "$ac_cv_prog_OBJDUMP"; then
5579
ac_ct_OBJDUMP=$OBJDUMP
5580
# Extract the first word of "objdump", so it can be a program name with args.
5581
set dummy objdump; ac_word=$2
5582
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5583
$as_echo_n "checking for $ac_word... " >&6; }
5584
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5585
$as_echo_n "(cached) " >&6
5587
if test -n "$ac_ct_OBJDUMP"; then
5588
ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5590
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5594
test -z "$as_dir" && as_dir=.
5595
for ac_exec_ext in '' $ac_executable_extensions; do
5596
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5597
ac_cv_prog_ac_ct_OBJDUMP="objdump"
5598
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5607
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5608
if test -n "$ac_ct_OBJDUMP"; then
5609
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5610
$as_echo "$ac_ct_OBJDUMP" >&6; }
5612
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5613
$as_echo "no" >&6; }
5616
if test "x$ac_ct_OBJDUMP" = x; then
5619
case $cross_compiling:$ac_tool_warned in
5621
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5622
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5623
ac_tool_warned=yes ;;
5625
OBJDUMP=$ac_ct_OBJDUMP
5628
OBJDUMP="$ac_cv_prog_OBJDUMP"
5631
test -z "$OBJDUMP" && OBJDUMP=objdump
5641
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5642
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5643
if test "${lt_cv_deplibs_check_method+set}" = set; then :
5644
$as_echo_n "(cached) " >&6
5646
lt_cv_file_magic_cmd='$MAGIC_CMD'
5647
lt_cv_file_magic_test_file=
5648
lt_cv_deplibs_check_method='unknown'
5649
# Need to set the preceding variable on all platforms that support
5650
# interlibrary dependencies.
5651
# 'none' -- dependencies not supported.
5652
# `unknown' -- same as none, but documents that we really don't know.
5653
# 'pass_all' -- all dependencies passed with no checks.
5654
# 'test_compile' -- check by making test program.
5655
# 'file_magic [[regex]]' -- check by looking for files in library path
5656
# which responds to the $file_magic_cmd with a given extended regex.
5657
# If you have `file' or equivalent on your system and you're not sure
5658
# whether `pass_all' will *always* work, you probably want this one.
5662
lt_cv_deplibs_check_method=pass_all
5666
lt_cv_deplibs_check_method=pass_all
5670
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5671
lt_cv_file_magic_cmd='/usr/bin/file -L'
5672
lt_cv_file_magic_test_file=/shlib/libc.so
5676
# func_win32_libid is a shell function defined in ltmain.sh
5677
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5678
lt_cv_file_magic_cmd='func_win32_libid'
5682
# Base MSYS/MinGW do not provide the 'file' command needed by
5683
# func_win32_libid shell function, so use a weaker test based on 'objdump',
5684
# unless we find 'file', for example because we are cross-compiling.
5685
if ( file / ) >/dev/null 2>&1; then
5686
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5687
lt_cv_file_magic_cmd='func_win32_libid'
5689
lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5690
lt_cv_file_magic_cmd='$OBJDUMP -f'
5695
# use the weaker test based on 'objdump'. See mingw*.
5696
lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5697
lt_cv_file_magic_cmd='$OBJDUMP -f'
5700
darwin* | rhapsody*)
5701
lt_cv_deplibs_check_method=pass_all
5704
freebsd* | dragonfly*)
5705
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5708
# Not sure whether the presence of OpenBSD here was a mistake.
5709
# Let's accept both of them until this is cleared up.
5710
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5711
lt_cv_file_magic_cmd=/usr/bin/file
5712
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5716
lt_cv_deplibs_check_method=pass_all
5721
lt_cv_deplibs_check_method=pass_all
5724
hpux10.20* | hpux11*)
5725
lt_cv_file_magic_cmd=/usr/bin/file
5728
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5729
lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5732
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]'
5733
lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5736
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5737
lt_cv_file_magic_test_file=/usr/lib/libc.sl
5743
# PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5744
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5747
irix5* | irix6* | nonstopux*)
5749
*-32|*"-32 ") libmagic=32-bit;;
5750
*-n32|*"-n32 ") libmagic=N32;;
5751
*-64|*"-64 ") libmagic=64-bit;;
5752
*) libmagic=never-match;;
5754
lt_cv_deplibs_check_method=pass_all
5757
# This must be Linux ELF.
5758
linux* | k*bsd*-gnu)
5759
lt_cv_deplibs_check_method=pass_all
5763
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5764
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5766
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5771
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5772
lt_cv_file_magic_cmd=/usr/bin/file
5773
lt_cv_file_magic_test_file=/usr/lib/libnls.so
5777
lt_cv_deplibs_check_method=pass_all
5781
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5782
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5784
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5788
osf3* | osf4* | osf5*)
5789
lt_cv_deplibs_check_method=pass_all
5793
lt_cv_deplibs_check_method=pass_all
5797
lt_cv_deplibs_check_method=pass_all
5800
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5801
lt_cv_deplibs_check_method=pass_all
5805
case $host_vendor in
5807
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]'
5808
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5811
lt_cv_deplibs_check_method=pass_all
5814
lt_cv_file_magic_cmd='/bin/file'
5815
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5818
lt_cv_file_magic_cmd='/bin/file'
5819
lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5820
lt_cv_file_magic_test_file=/lib/libc.so
5823
lt_cv_deplibs_check_method=pass_all
5826
lt_cv_deplibs_check_method=pass_all
5832
lt_cv_deplibs_check_method=pass_all
5837
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5838
$as_echo "$lt_cv_deplibs_check_method" >&6; }
5839
file_magic_cmd=$lt_cv_file_magic_cmd
5840
deplibs_check_method=$lt_cv_deplibs_check_method
5841
test -z "$deplibs_check_method" && deplibs_check_method=unknown
5854
if test -n "$ac_tool_prefix"; then
5855
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5856
set dummy ${ac_tool_prefix}ar; ac_word=$2
5857
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5858
$as_echo_n "checking for $ac_word... " >&6; }
5859
if test "${ac_cv_prog_AR+set}" = set; then :
5860
$as_echo_n "(cached) " >&6
5862
if test -n "$AR"; then
5863
ac_cv_prog_AR="$AR" # Let the user override the test.
5865
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5869
test -z "$as_dir" && as_dir=.
5870
for ac_exec_ext in '' $ac_executable_extensions; do
5871
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5872
ac_cv_prog_AR="${ac_tool_prefix}ar"
5873
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5883
if test -n "$AR"; then
5884
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5885
$as_echo "$AR" >&6; }
5887
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5888
$as_echo "no" >&6; }
5893
if test -z "$ac_cv_prog_AR"; then
5895
# Extract the first word of "ar", so it can be a program name with args.
5896
set dummy ar; ac_word=$2
5897
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5898
$as_echo_n "checking for $ac_word... " >&6; }
5899
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5900
$as_echo_n "(cached) " >&6
5902
if test -n "$ac_ct_AR"; then
5903
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5905
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5909
test -z "$as_dir" && as_dir=.
5910
for ac_exec_ext in '' $ac_executable_extensions; do
5911
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5912
ac_cv_prog_ac_ct_AR="ar"
5913
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5922
ac_ct_AR=$ac_cv_prog_ac_ct_AR
5923
if test -n "$ac_ct_AR"; then
5924
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5925
$as_echo "$ac_ct_AR" >&6; }
5927
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5928
$as_echo "no" >&6; }
5931
if test "x$ac_ct_AR" = x; then
5934
case $cross_compiling:$ac_tool_warned in
5936
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5937
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5938
ac_tool_warned=yes ;;
5946
test -z "$AR" && AR=ar
5947
test -z "$AR_FLAGS" && AR_FLAGS=cru
5959
if test -n "$ac_tool_prefix"; then
5960
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5961
set dummy ${ac_tool_prefix}strip; ac_word=$2
5962
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5963
$as_echo_n "checking for $ac_word... " >&6; }
5964
if test "${ac_cv_prog_STRIP+set}" = set; then :
5965
$as_echo_n "(cached) " >&6
5967
if test -n "$STRIP"; then
5968
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5970
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5974
test -z "$as_dir" && as_dir=.
5975
for ac_exec_ext in '' $ac_executable_extensions; do
5976
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5977
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5978
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5987
STRIP=$ac_cv_prog_STRIP
5988
if test -n "$STRIP"; then
5989
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5990
$as_echo "$STRIP" >&6; }
5992
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5993
$as_echo "no" >&6; }
5998
if test -z "$ac_cv_prog_STRIP"; then
6000
# Extract the first word of "strip", so it can be a program name with args.
6001
set dummy strip; ac_word=$2
6002
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6003
$as_echo_n "checking for $ac_word... " >&6; }
6004
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6005
$as_echo_n "(cached) " >&6
6007
if test -n "$ac_ct_STRIP"; then
6008
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6010
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6014
test -z "$as_dir" && as_dir=.
6015
for ac_exec_ext in '' $ac_executable_extensions; do
6016
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6017
ac_cv_prog_ac_ct_STRIP="strip"
6018
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6027
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6028
if test -n "$ac_ct_STRIP"; then
6029
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6030
$as_echo "$ac_ct_STRIP" >&6; }
6032
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6033
$as_echo "no" >&6; }
6036
if test "x$ac_ct_STRIP" = x; then
6039
case $cross_compiling:$ac_tool_warned in
6041
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6042
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6043
ac_tool_warned=yes ;;
6048
STRIP="$ac_cv_prog_STRIP"
6051
test -z "$STRIP" && STRIP=:
6058
if test -n "$ac_tool_prefix"; then
6059
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6060
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6061
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6062
$as_echo_n "checking for $ac_word... " >&6; }
6063
if test "${ac_cv_prog_RANLIB+set}" = set; then :
6064
$as_echo_n "(cached) " >&6
6066
if test -n "$RANLIB"; then
6067
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6069
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6073
test -z "$as_dir" && as_dir=.
6074
for ac_exec_ext in '' $ac_executable_extensions; do
6075
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6076
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6077
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6086
RANLIB=$ac_cv_prog_RANLIB
6087
if test -n "$RANLIB"; then
6088
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6089
$as_echo "$RANLIB" >&6; }
6091
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6092
$as_echo "no" >&6; }
6097
if test -z "$ac_cv_prog_RANLIB"; then
6098
ac_ct_RANLIB=$RANLIB
6099
# Extract the first word of "ranlib", so it can be a program name with args.
6100
set dummy ranlib; ac_word=$2
6101
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6102
$as_echo_n "checking for $ac_word... " >&6; }
6103
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6104
$as_echo_n "(cached) " >&6
6106
if test -n "$ac_ct_RANLIB"; then
6107
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6109
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6113
test -z "$as_dir" && as_dir=.
6114
for ac_exec_ext in '' $ac_executable_extensions; do
6115
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6116
ac_cv_prog_ac_ct_RANLIB="ranlib"
6117
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6126
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6127
if test -n "$ac_ct_RANLIB"; then
6128
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6129
$as_echo "$ac_ct_RANLIB" >&6; }
6131
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6132
$as_echo "no" >&6; }
6135
if test "x$ac_ct_RANLIB" = x; then
6138
case $cross_compiling:$ac_tool_warned in
6140
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6141
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6142
ac_tool_warned=yes ;;
6144
RANLIB=$ac_ct_RANLIB
6147
RANLIB="$ac_cv_prog_RANLIB"
6150
test -z "$RANLIB" && RANLIB=:
6157
# Determine commands to create old-style static archives.
6158
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6159
old_postinstall_cmds='chmod 644 $oldlib'
6160
old_postuninstall_cmds=
6162
if test -n "$RANLIB"; then
6165
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6168
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6171
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6207
# If no C compiler was specified, use CC.
6210
# If no C compiler flags were specified, use CFLAGS.
6211
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6213
# Allow CC to be a program name with arguments.
6217
# Check for command to grab the raw symbol name followed by C symbol from nm.
6218
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6219
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6220
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6221
$as_echo_n "(cached) " >&6
6224
# These are sane defaults that work on at least a few old systems.
6225
# [They come from Ultrix. What could be older than Ultrix?!! ;)]
6227
# Character class describing NM global symbol codes.
6228
symcode='[BCDEGRST]'
6230
# Regexp to match symbols that can be accessed directly from C.
6231
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6233
# Define system-specific variables.
6238
cygwin* | mingw* | pw32* | cegcc*)
6239
symcode='[ABCDGISTW]'
6242
if test "$host_cpu" = ia64; then
6243
symcode='[ABCDEGRST]'
6247
symcode='[BCDEGRST]'
6250
symcode='[BCDEGQRST]'
6261
sysv5* | sco5v6* | unixware* | OpenUNIX*)
6269
# If we're using GNU nm, then use its standard symbol codes.
6270
case `$NM -V 2>&1` in
6271
*GNU* | *'with BFD'*)
6272
symcode='[ABCDGIRSTW]' ;;
6275
# Transform an extracted symbol line into a proper C declaration.
6276
# Some systems (esp. on ia64) link data and code symbols differently,
6277
# so use this general approach.
6278
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6280
# Transform an extracted symbol line into symbol name and symbol address
6281
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6282
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'"
6284
# Handle CRLF in mingw tool chain
6288
opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6292
# Try without a prefix underscore, then with it.
6293
for ac_symprfx in "" "_"; do
6295
# Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6296
symxfrm="\\1 $ac_symprfx\\2 \\2"
6298
# Write the raw and C identifiers.
6299
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6300
# Fake it for dumpbin and say T for any non-static function
6301
# and D for any global variable.
6302
# Also find C++ and __fastcall symbols from MSVC++,
6303
# which start with @ or ?.
6304
lt_cv_sys_global_symbol_pipe="$AWK '"\
6305
" {last_section=section; section=\$ 3};"\
6306
" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6307
" \$ 0!~/External *\|/{next};"\
6308
" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6309
" {if(hide[section]) next};"\
6310
" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6311
" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6312
" s[1]~/^[@?]/{print s[1], s[1]; next};"\
6313
" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6314
" ' prfx=^$ac_symprfx"
6316
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6319
# Check to see that the pipe works correctly.
6323
cat > conftest.$ac_ext <<_LT_EOF
6328
void nm_test_func(void);
6329
void nm_test_func(void){}
6333
int main(){nm_test_var='a';nm_test_func();return(0);}
6336
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6337
(eval $ac_compile) 2>&5
6339
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6340
test $ac_status = 0; }; then
6341
# Now try to grab the symbols.
6343
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6344
(eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6346
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6347
test $ac_status = 0; } && test -s "$nlist"; then
6348
# Try sorting and uniquifying the output.
6349
if sort "$nlist" | uniq > "$nlist"T; then
6350
mv -f "$nlist"T "$nlist"
6355
# Make sure that we snagged all the symbols we need.
6356
if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6357
if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6358
cat <<_LT_EOF > conftest.$ac_ext
6364
# Now generate the symbol file.
6365
eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6367
cat <<_LT_EOF >> conftest.$ac_ext
6369
/* The mapping between symbol names and symbols. */
6374
lt__PROGRAM__LTX_preloaded_symbols[] =
6376
{ "@PROGRAM@", (void *) 0 },
6378
$SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6379
cat <<\_LT_EOF >> conftest.$ac_ext
6383
/* This works around a problem in FreeBSD linker */
6384
#ifdef FREEBSD_WORKAROUND
6385
static const void *lt_preloaded_setup() {
6386
return lt__PROGRAM__LTX_preloaded_symbols;
6394
# Now try linking the two files.
6395
mv conftest.$ac_objext conftstm.$ac_objext
6396
lt_save_LIBS="$LIBS"
6397
lt_save_CFLAGS="$CFLAGS"
6398
LIBS="conftstm.$ac_objext"
6399
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6400
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6401
(eval $ac_link) 2>&5
6403
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6404
test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6407
LIBS="$lt_save_LIBS"
6408
CFLAGS="$lt_save_CFLAGS"
6410
echo "cannot find nm_test_func in $nlist" >&5
6413
echo "cannot find nm_test_var in $nlist" >&5
6416
echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6419
echo "$progname: failed program was:" >&5
6420
cat conftest.$ac_ext >&5
6422
rm -rf conftest* conftst*
6424
# Do not use the global_symbol_pipe unless it works.
6425
if test "$pipe_works" = yes; then
6428
lt_cv_sys_global_symbol_pipe=
6434
if test -z "$lt_cv_sys_global_symbol_pipe"; then
6435
lt_cv_sys_global_symbol_to_cdecl=
6437
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6438
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6439
$as_echo "failed" >&6; }
6441
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6442
$as_echo "ok" >&6; }
6466
# Check whether --enable-libtool-lock was given.
6467
if test "${enable_libtool_lock+set}" = set; then :
6468
enableval=$enable_libtool_lock;
6471
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6473
# Some flags need to be propagated to the compiler or linker for good
6477
# Find out which ABI we are using.
6478
echo 'int i;' > conftest.$ac_ext
6479
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6480
(eval $ac_compile) 2>&5
6482
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6483
test $ac_status = 0; }; then
6484
case `/usr/bin/file conftest.$ac_objext` in
6496
# Find out which ABI we are using.
6497
echo '#line 6497 "configure"' > conftest.$ac_ext
6498
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6499
(eval $ac_compile) 2>&5
6501
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6502
test $ac_status = 0; }; then
6503
if test "$lt_cv_prog_gnu_ld" = yes; then
6504
case `/usr/bin/file conftest.$ac_objext` in
6506
LD="${LD-ld} -melf32bsmip"
6509
LD="${LD-ld} -melf32bmipn32"
6512
LD="${LD-ld} -melf64bmip"
6516
case `/usr/bin/file conftest.$ac_objext` in
6532
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6533
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6534
# Find out which ABI we are using.
6535
echo 'int i;' > conftest.$ac_ext
6536
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6537
(eval $ac_compile) 2>&5
6539
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6540
test $ac_status = 0; }; then
6541
case `/usr/bin/file conftest.o` in
6544
x86_64-*kfreebsd*-gnu)
6545
LD="${LD-ld} -m elf_i386_fbsd"
6548
LD="${LD-ld} -m elf_i386"
6550
ppc64-*linux*|powerpc64-*linux*)
6551
LD="${LD-ld} -m elf32ppclinux"
6554
LD="${LD-ld} -m elf_s390"
6557
LD="${LD-ld} -m elf32_sparc"
6563
x86_64-*kfreebsd*-gnu)
6564
LD="${LD-ld} -m elf_x86_64_fbsd"
6567
LD="${LD-ld} -m elf_x86_64"
6569
ppc*-*linux*|powerpc*-*linux*)
6570
LD="${LD-ld} -m elf64ppc"
6572
s390*-*linux*|s390*-*tpf*)
6573
LD="${LD-ld} -m elf64_s390"
6576
LD="${LD-ld} -m elf64_sparc"
6586
# On SCO OpenServer 5, we need -belf to get full-featured binaries.
6587
SAVE_CFLAGS="$CFLAGS"
6588
CFLAGS="$CFLAGS -belf"
6589
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6590
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6591
if test "${lt_cv_cc_needs_belf+set}" = set; then :
6592
$as_echo_n "(cached) " >&6
6595
ac_cpp='$CPP $CPPFLAGS'
6596
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6597
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6598
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6600
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6601
/* end confdefs.h. */
6611
if ac_fn_c_try_link "$LINENO"; then :
6612
lt_cv_cc_needs_belf=yes
6614
lt_cv_cc_needs_belf=no
6616
rm -f core conftest.err conftest.$ac_objext \
6617
conftest$ac_exeext conftest.$ac_ext
6619
ac_cpp='$CPP $CPPFLAGS'
6620
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6621
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6622
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6625
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6626
$as_echo "$lt_cv_cc_needs_belf" >&6; }
6627
if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6628
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6629
CFLAGS="$SAVE_CFLAGS"
6633
# Find out which ABI we are using.
6634
echo 'int i;' > conftest.$ac_ext
6635
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6636
(eval $ac_compile) 2>&5
6638
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6639
test $ac_status = 0; }; then
6640
case `/usr/bin/file conftest.o` in
6642
case $lt_cv_prog_gnu_ld in
6643
yes*) LD="${LD-ld} -m elf64_sparc" ;;
6645
if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6657
need_locks="$enable_libtool_lock"
6661
rhapsody* | darwin*)
6662
if test -n "$ac_tool_prefix"; then
6663
# Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6664
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6665
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6666
$as_echo_n "checking for $ac_word... " >&6; }
6667
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6668
$as_echo_n "(cached) " >&6
6670
if test -n "$DSYMUTIL"; then
6671
ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6673
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6677
test -z "$as_dir" && as_dir=.
6678
for ac_exec_ext in '' $ac_executable_extensions; do
6679
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6680
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6681
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6690
DSYMUTIL=$ac_cv_prog_DSYMUTIL
6691
if test -n "$DSYMUTIL"; then
6692
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6693
$as_echo "$DSYMUTIL" >&6; }
6695
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6696
$as_echo "no" >&6; }
6701
if test -z "$ac_cv_prog_DSYMUTIL"; then
6702
ac_ct_DSYMUTIL=$DSYMUTIL
6703
# Extract the first word of "dsymutil", so it can be a program name with args.
6704
set dummy dsymutil; ac_word=$2
6705
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6706
$as_echo_n "checking for $ac_word... " >&6; }
6707
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6708
$as_echo_n "(cached) " >&6
6710
if test -n "$ac_ct_DSYMUTIL"; then
6711
ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6713
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6717
test -z "$as_dir" && as_dir=.
6718
for ac_exec_ext in '' $ac_executable_extensions; do
6719
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6720
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6721
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6730
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6731
if test -n "$ac_ct_DSYMUTIL"; then
6732
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6733
$as_echo "$ac_ct_DSYMUTIL" >&6; }
6735
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6736
$as_echo "no" >&6; }
6739
if test "x$ac_ct_DSYMUTIL" = x; then
6742
case $cross_compiling:$ac_tool_warned in
6744
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6745
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6746
ac_tool_warned=yes ;;
6748
DSYMUTIL=$ac_ct_DSYMUTIL
6751
DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6754
if test -n "$ac_tool_prefix"; then
6755
# Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6756
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6757
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6758
$as_echo_n "checking for $ac_word... " >&6; }
6759
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6760
$as_echo_n "(cached) " >&6
6762
if test -n "$NMEDIT"; then
6763
ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6765
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6769
test -z "$as_dir" && as_dir=.
6770
for ac_exec_ext in '' $ac_executable_extensions; do
6771
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6772
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6773
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6782
NMEDIT=$ac_cv_prog_NMEDIT
6783
if test -n "$NMEDIT"; then
6784
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6785
$as_echo "$NMEDIT" >&6; }
6787
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6788
$as_echo "no" >&6; }
6793
if test -z "$ac_cv_prog_NMEDIT"; then
6794
ac_ct_NMEDIT=$NMEDIT
6795
# Extract the first word of "nmedit", so it can be a program name with args.
6796
set dummy nmedit; ac_word=$2
6797
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6798
$as_echo_n "checking for $ac_word... " >&6; }
6799
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6800
$as_echo_n "(cached) " >&6
6802
if test -n "$ac_ct_NMEDIT"; then
6803
ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6805
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6809
test -z "$as_dir" && as_dir=.
6810
for ac_exec_ext in '' $ac_executable_extensions; do
6811
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6812
ac_cv_prog_ac_ct_NMEDIT="nmedit"
6813
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6822
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6823
if test -n "$ac_ct_NMEDIT"; then
6824
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6825
$as_echo "$ac_ct_NMEDIT" >&6; }
6827
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6828
$as_echo "no" >&6; }
6831
if test "x$ac_ct_NMEDIT" = x; then
6834
case $cross_compiling:$ac_tool_warned in
6836
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6837
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6838
ac_tool_warned=yes ;;
6840
NMEDIT=$ac_ct_NMEDIT
6843
NMEDIT="$ac_cv_prog_NMEDIT"
6846
if test -n "$ac_tool_prefix"; then
6847
# Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6848
set dummy ${ac_tool_prefix}lipo; ac_word=$2
6849
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6850
$as_echo_n "checking for $ac_word... " >&6; }
6851
if test "${ac_cv_prog_LIPO+set}" = set; then :
6852
$as_echo_n "(cached) " >&6
6854
if test -n "$LIPO"; then
6855
ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6857
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6861
test -z "$as_dir" && as_dir=.
6862
for ac_exec_ext in '' $ac_executable_extensions; do
6863
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6864
ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6865
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6874
LIPO=$ac_cv_prog_LIPO
6875
if test -n "$LIPO"; then
6876
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6877
$as_echo "$LIPO" >&6; }
6879
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6880
$as_echo "no" >&6; }
6885
if test -z "$ac_cv_prog_LIPO"; then
6887
# Extract the first word of "lipo", so it can be a program name with args.
6888
set dummy lipo; ac_word=$2
6889
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6890
$as_echo_n "checking for $ac_word... " >&6; }
6891
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6892
$as_echo_n "(cached) " >&6
6894
if test -n "$ac_ct_LIPO"; then
6895
ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6897
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6901
test -z "$as_dir" && as_dir=.
6902
for ac_exec_ext in '' $ac_executable_extensions; do
6903
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6904
ac_cv_prog_ac_ct_LIPO="lipo"
6905
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6914
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6915
if test -n "$ac_ct_LIPO"; then
6916
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6917
$as_echo "$ac_ct_LIPO" >&6; }
6919
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6920
$as_echo "no" >&6; }
6923
if test "x$ac_ct_LIPO" = x; then
6926
case $cross_compiling:$ac_tool_warned in
6928
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6929
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6930
ac_tool_warned=yes ;;
6935
LIPO="$ac_cv_prog_LIPO"
6938
if test -n "$ac_tool_prefix"; then
6939
# Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6940
set dummy ${ac_tool_prefix}otool; ac_word=$2
6941
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6942
$as_echo_n "checking for $ac_word... " >&6; }
6943
if test "${ac_cv_prog_OTOOL+set}" = set; then :
6944
$as_echo_n "(cached) " >&6
6946
if test -n "$OTOOL"; then
6947
ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6949
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6953
test -z "$as_dir" && as_dir=.
6954
for ac_exec_ext in '' $ac_executable_extensions; do
6955
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6956
ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6957
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6966
OTOOL=$ac_cv_prog_OTOOL
6967
if test -n "$OTOOL"; then
6968
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6969
$as_echo "$OTOOL" >&6; }
6971
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6972
$as_echo "no" >&6; }
6977
if test -z "$ac_cv_prog_OTOOL"; then
6979
# Extract the first word of "otool", so it can be a program name with args.
6980
set dummy otool; ac_word=$2
6981
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6982
$as_echo_n "checking for $ac_word... " >&6; }
6983
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6984
$as_echo_n "(cached) " >&6
6986
if test -n "$ac_ct_OTOOL"; then
6987
ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6989
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6993
test -z "$as_dir" && as_dir=.
6994
for ac_exec_ext in '' $ac_executable_extensions; do
6995
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6996
ac_cv_prog_ac_ct_OTOOL="otool"
6997
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7006
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7007
if test -n "$ac_ct_OTOOL"; then
7008
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7009
$as_echo "$ac_ct_OTOOL" >&6; }
7011
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7012
$as_echo "no" >&6; }
7015
if test "x$ac_ct_OTOOL" = x; then
7018
case $cross_compiling:$ac_tool_warned in
7020
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7021
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7022
ac_tool_warned=yes ;;
7027
OTOOL="$ac_cv_prog_OTOOL"
7030
if test -n "$ac_tool_prefix"; then
7031
# Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7032
set dummy ${ac_tool_prefix}otool64; ac_word=$2
7033
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7034
$as_echo_n "checking for $ac_word... " >&6; }
7035
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7036
$as_echo_n "(cached) " >&6
7038
if test -n "$OTOOL64"; then
7039
ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7041
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7045
test -z "$as_dir" && as_dir=.
7046
for ac_exec_ext in '' $ac_executable_extensions; do
7047
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7048
ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7049
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7058
OTOOL64=$ac_cv_prog_OTOOL64
7059
if test -n "$OTOOL64"; then
7060
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7061
$as_echo "$OTOOL64" >&6; }
7063
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7064
$as_echo "no" >&6; }
7069
if test -z "$ac_cv_prog_OTOOL64"; then
7070
ac_ct_OTOOL64=$OTOOL64
7071
# Extract the first word of "otool64", so it can be a program name with args.
7072
set dummy otool64; ac_word=$2
7073
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7074
$as_echo_n "checking for $ac_word... " >&6; }
7075
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7076
$as_echo_n "(cached) " >&6
7078
if test -n "$ac_ct_OTOOL64"; then
7079
ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7081
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7085
test -z "$as_dir" && as_dir=.
7086
for ac_exec_ext in '' $ac_executable_extensions; do
7087
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7088
ac_cv_prog_ac_ct_OTOOL64="otool64"
7089
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7098
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7099
if test -n "$ac_ct_OTOOL64"; then
7100
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7101
$as_echo "$ac_ct_OTOOL64" >&6; }
7103
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7104
$as_echo "no" >&6; }
7107
if test "x$ac_ct_OTOOL64" = x; then
7110
case $cross_compiling:$ac_tool_warned in
7112
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7113
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7114
ac_tool_warned=yes ;;
7116
OTOOL64=$ac_ct_OTOOL64
7119
OTOOL64="$ac_cv_prog_OTOOL64"
7148
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7149
$as_echo_n "checking for -single_module linker flag... " >&6; }
7150
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7151
$as_echo_n "(cached) " >&6
7153
lt_cv_apple_cc_single_mod=no
7154
if test -z "${LT_MULTI_MODULE}"; then
7155
# By default we will add the -single_module flag. You can override
7156
# by either setting the environment variable LT_MULTI_MODULE
7157
# non-empty at configure time, or by adding -multi_module to the
7159
rm -rf libconftest.dylib*
7160
echo "int foo(void){return 1;}" > conftest.c
7161
echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7162
-dynamiclib -Wl,-single_module conftest.c" >&5
7163
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7164
-dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7166
if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7167
lt_cv_apple_cc_single_mod=yes
7169
cat conftest.err >&5
7171
rm -rf libconftest.dylib*
7175
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7176
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7177
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7178
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7179
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7180
$as_echo_n "(cached) " >&6
7182
lt_cv_ld_exported_symbols_list=no
7183
save_LDFLAGS=$LDFLAGS
7184
echo "_main" > conftest.sym
7185
LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7186
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7187
/* end confdefs.h. */
7197
if ac_fn_c_try_link "$LINENO"; then :
7198
lt_cv_ld_exported_symbols_list=yes
7200
lt_cv_ld_exported_symbols_list=no
7202
rm -f core conftest.err conftest.$ac_objext \
7203
conftest$ac_exeext conftest.$ac_ext
7204
LDFLAGS="$save_LDFLAGS"
7207
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7208
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7210
rhapsody* | darwin1.[012])
7211
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7213
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7214
darwin*) # darwin 5.x on
7215
# if running on 10.5 or later, the deployment target defaults
7216
# to the OS version, if on x86, and 10.4, the deployment
7217
# target defaults to 10.4. Don't you love it?
7218
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7219
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7220
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7222
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7224
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7228
if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7229
_lt_dar_single_mod='$single_module'
7231
if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7232
_lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7234
_lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7236
if test "$DSYMUTIL" != ":"; then
7237
_lt_dsymutil='~$DSYMUTIL $lib || :'
7245
ac_cpp='$CPP $CPPFLAGS'
7246
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7247
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7248
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7249
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7250
$as_echo_n "checking how to run the C preprocessor... " >&6; }
7251
# On Suns, sometimes $CPP names a directory.
7252
if test -n "$CPP" && test -d "$CPP"; then
7255
if test -z "$CPP"; then
7256
if test "${ac_cv_prog_CPP+set}" = set; then :
7257
$as_echo_n "(cached) " >&6
7259
# Double quotes because CPP needs to be expanded
7260
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7263
for ac_c_preproc_warn_flag in '' yes
7265
# Use a header file that comes with gcc, so configuring glibc
7266
# with a fresh cross-compiler works.
7267
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7268
# <limits.h> exists even on freestanding compilers.
7269
# On the NeXT, cc -E runs the code through the compiler's parser,
7270
# not just through cpp. "Syntax error" is here to catch this case.
7271
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7272
/* end confdefs.h. */
7274
# include <limits.h>
7276
# include <assert.h>
7280
if ac_fn_c_try_cpp "$LINENO"; then :
7283
# Broken: fails on valid input.
7286
rm -f conftest.err conftest.$ac_ext
7288
# OK, works on sane cases. Now check whether nonexistent headers
7289
# can be detected and how.
7290
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7291
/* end confdefs.h. */
7292
#include <ac_nonexistent.h>
7294
if ac_fn_c_try_cpp "$LINENO"; then :
7295
# Broken: success on invalid input.
7298
# Passes both tests.
7302
rm -f conftest.err conftest.$ac_ext
7305
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7306
rm -f conftest.err conftest.$ac_ext
7307
if $ac_preproc_ok; then :
7319
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7320
$as_echo "$CPP" >&6; }
7322
for ac_c_preproc_warn_flag in '' yes
7324
# Use a header file that comes with gcc, so configuring glibc
7325
# with a fresh cross-compiler works.
7326
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7327
# <limits.h> exists even on freestanding compilers.
7328
# On the NeXT, cc -E runs the code through the compiler's parser,
7329
# not just through cpp. "Syntax error" is here to catch this case.
7330
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7331
/* end confdefs.h. */
7333
# include <limits.h>
7335
# include <assert.h>
7339
if ac_fn_c_try_cpp "$LINENO"; then :
7342
# Broken: fails on valid input.
7345
rm -f conftest.err conftest.$ac_ext
7347
# OK, works on sane cases. Now check whether nonexistent headers
7348
# can be detected and how.
7349
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7350
/* end confdefs.h. */
7351
#include <ac_nonexistent.h>
7353
if ac_fn_c_try_cpp "$LINENO"; then :
7354
# Broken: success on invalid input.
7357
# Passes both tests.
7361
rm -f conftest.err conftest.$ac_ext
7364
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7365
rm -f conftest.err conftest.$ac_ext
7366
if $ac_preproc_ok; then :
7369
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7370
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7371
as_fn_error "C preprocessor \"$CPP\" fails sanity check
7372
See \`config.log' for more details." "$LINENO" 5; }
7376
ac_cpp='$CPP $CPPFLAGS'
7377
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7378
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7379
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7382
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7383
$as_echo_n "checking for ANSI C header files... " >&6; }
7384
if test "${ac_cv_header_stdc+set}" = set; then :
7385
$as_echo_n "(cached) " >&6
7387
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7388
/* end confdefs.h. */
7402
if ac_fn_c_try_compile "$LINENO"; then :
7403
ac_cv_header_stdc=yes
7405
ac_cv_header_stdc=no
7407
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7409
if test $ac_cv_header_stdc = yes; then
7410
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7411
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7412
/* end confdefs.h. */
7416
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7417
$EGREP "memchr" >/dev/null 2>&1; then :
7420
ac_cv_header_stdc=no
7426
if test $ac_cv_header_stdc = yes; then
7427
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7428
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7429
/* end confdefs.h. */
7433
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7434
$EGREP "free" >/dev/null 2>&1; then :
7437
ac_cv_header_stdc=no
7443
if test $ac_cv_header_stdc = yes; then
7444
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7445
if test "$cross_compiling" = yes; then :
7448
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7449
/* end confdefs.h. */
7452
#if ((' ' & 0x0FF) == 0x020)
7453
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7454
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7456
# define ISLOWER(c) \
7457
(('a' <= (c) && (c) <= 'i') \
7458
|| ('j' <= (c) && (c) <= 'r') \
7459
|| ('s' <= (c) && (c) <= 'z'))
7460
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7463
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7468
for (i = 0; i < 256; i++)
7469
if (XOR (islower (i), ISLOWER (i))
7470
|| toupper (i) != TOUPPER (i))
7475
if ac_fn_c_try_run "$LINENO"; then :
7478
ac_cv_header_stdc=no
7480
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7481
conftest.$ac_objext conftest.beam conftest.$ac_ext
7486
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7487
$as_echo "$ac_cv_header_stdc" >&6; }
7488
if test $ac_cv_header_stdc = yes; then
7490
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
7494
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7495
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7496
inttypes.h stdint.h unistd.h
7498
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7499
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7501
eval as_val=\$$as_ac_Header
7502
if test "x$as_val" = x""yes; then :
7503
cat >>confdefs.h <<_ACEOF
7504
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7512
for ac_header in dlfcn.h
7514
ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7516
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7517
cat >>confdefs.h <<_ACEOF
7518
#define HAVE_DLFCN_H 1
7537
# Check whether --enable-shared was given.
7538
if test "${enable_shared+set}" = set; then :
7539
enableval=$enable_shared; p=${PACKAGE-default}
7541
yes) enable_shared=yes ;;
7542
no) enable_shared=no ;;
7545
# Look at the argument we got. We use all the common list separators.
7546
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7547
for pkg in $enableval; do
7549
if test "X$pkg" = "X$p"; then
7568
# Check whether --enable-static was given.
7569
if test "${enable_static+set}" = set; then :
7570
enableval=$enable_static; p=${PACKAGE-default}
7572
yes) enable_static=yes ;;
7573
no) enable_static=no ;;
7576
# Look at the argument we got. We use all the common list separators.
7577
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7578
for pkg in $enableval; do
7580
if test "X$pkg" = "X$p"; then
7600
# Check whether --with-pic was given.
7601
if test "${with_pic+set}" = set; then :
7602
withval=$with_pic; pic_mode="$withval"
7608
test -z "$pic_mode" && pic_mode=default
7616
# Check whether --enable-fast-install was given.
7617
if test "${enable_fast_install+set}" = set; then :
7618
enableval=$enable_fast_install; p=${PACKAGE-default}
7620
yes) enable_fast_install=yes ;;
7621
no) enable_fast_install=no ;;
7623
enable_fast_install=no
7624
# Look at the argument we got. We use all the common list separators.
7625
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7626
for pkg in $enableval; do
7628
if test "X$pkg" = "X$p"; then
7629
enable_fast_install=yes
7636
enable_fast_install=yes
7649
# This can be used to rebuild libtool when needed
7650
LIBTOOL_DEPS="$ltmain"
7652
# Always use our own libtool.
7653
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7679
test -z "$LN_S" && LN_S="ln -s"
7694
if test -n "${ZSH_VERSION+set}" ; then
7695
setopt NO_GLOB_SUBST
7698
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7699
$as_echo_n "checking for objdir... " >&6; }
7700
if test "${lt_cv_objdir+set}" = set; then :
7701
$as_echo_n "(cached) " >&6
7703
rm -f .libs 2>/dev/null
7704
mkdir .libs 2>/dev/null
7705
if test -d .libs; then
7708
# MS-DOS does not allow filenames that begin with a dot.
7711
rmdir .libs 2>/dev/null
7713
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7714
$as_echo "$lt_cv_objdir" >&6; }
7715
objdir=$lt_cv_objdir
7721
cat >>confdefs.h <<_ACEOF
7722
#define LT_OBJDIR "$lt_cv_objdir/"
7743
# AIX sometimes has problems with the GCC collect2 program. For some
7744
# reason, if we set the COLLECT_NAMES environment variable, the problems
7745
# vanish in a puff of smoke.
7746
if test "X${COLLECT_NAMES+set}" != Xset; then
7748
export COLLECT_NAMES
7753
# Sed substitution that helps us do robust quoting. It backslashifies
7754
# metacharacters that are still active within double-quoted strings.
7755
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7757
# Same as above, but do not quote variable references.
7758
double_quote_subst='s/\(["`\\]\)/\\\1/g'
7760
# Sed substitution to delay expansion of an escaped shell variable in a
7761
# double_quote_subst'ed string.
7762
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7764
# Sed substitution to delay expansion of an escaped single quote.
7765
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7767
# Sed substitution to avoid accidental globbing in evaled expressions
7768
no_glob_subst='s/\*/\\\*/g'
7772
can_build_shared=yes
7774
# All known linkers require a `.a' archive for static linking (except MSVC,
7775
# which needs '.lib').
7778
with_gnu_ld="$lt_cv_prog_gnu_ld"
7781
old_CFLAGS="$CFLAGS"
7783
# Set sane defaults for various variables
7784
test -z "$CC" && CC=cc
7785
test -z "$LTCC" && LTCC=$CC
7786
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7787
test -z "$LD" && LD=ld
7788
test -z "$ac_objext" && ac_objext=o
7790
for cc_temp in $compiler""; do
7792
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7793
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7798
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7801
# Only perform the check for file, if the check method requires it
7802
test -z "$MAGIC_CMD" && MAGIC_CMD=file
7803
case $deplibs_check_method in
7805
if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7806
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7807
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7808
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7809
$as_echo_n "(cached) " >&6
7813
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7816
lt_save_MAGIC_CMD="$MAGIC_CMD"
7817
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7818
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7819
for ac_dir in $ac_dummy; do
7821
test -z "$ac_dir" && ac_dir=.
7822
if test -f $ac_dir/${ac_tool_prefix}file; then
7823
lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7824
if test -n "$file_magic_test_file"; then
7825
case $deplibs_check_method in
7827
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7828
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7829
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7830
$EGREP "$file_magic_regex" > /dev/null; then
7835
*** Warning: the command libtool uses to detect shared libraries,
7836
*** $file_magic_cmd, produces output that libtool cannot recognize.
7837
*** The result is that libtool may fail to recognize shared libraries
7838
*** as such. This will affect the creation of libtool libraries that
7839
*** depend on shared libraries, but programs linked with such libtool
7840
*** libraries will work regardless of this problem. Nevertheless, you
7841
*** may want to report the problem to your system manager and/or to
7842
*** bug-libtool@gnu.org
7852
MAGIC_CMD="$lt_save_MAGIC_CMD"
7857
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7858
if test -n "$MAGIC_CMD"; then
7859
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7860
$as_echo "$MAGIC_CMD" >&6; }
7862
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7863
$as_echo "no" >&6; }
7870
if test -z "$lt_cv_path_MAGIC_CMD"; then
7871
if test -n "$ac_tool_prefix"; then
7872
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7873
$as_echo_n "checking for file... " >&6; }
7874
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7875
$as_echo_n "(cached) " >&6
7879
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7882
lt_save_MAGIC_CMD="$MAGIC_CMD"
7883
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7884
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7885
for ac_dir in $ac_dummy; do
7887
test -z "$ac_dir" && ac_dir=.
7888
if test -f $ac_dir/file; then
7889
lt_cv_path_MAGIC_CMD="$ac_dir/file"
7890
if test -n "$file_magic_test_file"; then
7891
case $deplibs_check_method in
7893
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7894
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7895
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7896
$EGREP "$file_magic_regex" > /dev/null; then
7901
*** Warning: the command libtool uses to detect shared libraries,
7902
*** $file_magic_cmd, produces output that libtool cannot recognize.
7903
*** The result is that libtool may fail to recognize shared libraries
7904
*** as such. This will affect the creation of libtool libraries that
7905
*** depend on shared libraries, but programs linked with such libtool
7906
*** libraries will work regardless of this problem. Nevertheless, you
7907
*** may want to report the problem to your system manager and/or to
7908
*** bug-libtool@gnu.org
7918
MAGIC_CMD="$lt_save_MAGIC_CMD"
7923
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7924
if test -n "$MAGIC_CMD"; then
7925
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7926
$as_echo "$MAGIC_CMD" >&6; }
7928
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7929
$as_echo "no" >&6; }
7942
# Use C for the default configuration in the libtool script
7946
ac_cpp='$CPP $CPPFLAGS'
7947
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7948
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7949
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7952
# Source file extension for C test sources.
7955
# Object file extension for compiled C test sources.
7959
# Code to be used in simple compile tests
7960
lt_simple_compile_test_code="int some_variable = 0;"
7962
# Code to be used in simple link tests
7963
lt_simple_link_test_code='int main(){return(0);}'
7971
# If no C compiler was specified, use CC.
7974
# If no C compiler flags were specified, use CFLAGS.
7975
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7977
# Allow CC to be a program name with arguments.
7980
# Save the default compiler, since it gets overwritten when the other
7981
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7982
compiler_DEFAULT=$CC
7984
# save warnings/boilerplate of simple test code
7985
ac_outfile=conftest.$ac_objext
7986
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7987
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7988
_lt_compiler_boilerplate=`cat conftest.err`
7991
ac_outfile=conftest.$ac_objext
7992
echo "$lt_simple_link_test_code" >conftest.$ac_ext
7993
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7994
_lt_linker_boilerplate=`cat conftest.err`
7998
if test -n "$compiler"; then
8000
lt_prog_compiler_no_builtin_flag=
8002
if test "$GCC" = yes; then
8003
lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8005
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8006
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8007
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8008
$as_echo_n "(cached) " >&6
8010
lt_cv_prog_compiler_rtti_exceptions=no
8011
ac_outfile=conftest.$ac_objext
8012
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8013
lt_compiler_flag="-fno-rtti -fno-exceptions"
8014
# Insert the option either (1) after the last *FLAGS variable, or
8015
# (2) before a word containing "conftest.", or (3) at the end.
8016
# Note that $ac_compile itself does not contain backslashes and begins
8017
# with a dollar sign (not a hyphen), so the echo should work correctly.
8018
# The option is referenced via a variable to avoid confusing sed.
8019
lt_compile=`echo "$ac_compile" | $SED \
8020
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8021
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8022
-e 's:$: $lt_compiler_flag:'`
8023
(eval echo "\"\$as_me:8023: $lt_compile\"" >&5)
8024
(eval "$lt_compile" 2>conftest.err)
8026
cat conftest.err >&5
8027
echo "$as_me:8027: \$? = $ac_status" >&5
8028
if (exit $ac_status) && test -s "$ac_outfile"; then
8029
# The compiler can only warn and ignore the option if not recognized
8030
# So say no if there are warnings other than the usual output.
8031
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8032
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8033
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8034
lt_cv_prog_compiler_rtti_exceptions=yes
8040
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8041
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8043
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8044
lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8056
lt_prog_compiler_wl=
8057
lt_prog_compiler_pic=
8058
lt_prog_compiler_static=
8060
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8061
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8063
if test "$GCC" = yes; then
8064
lt_prog_compiler_wl='-Wl,'
8065
lt_prog_compiler_static='-static'
8069
# All AIX code is PIC.
8070
if test "$host_cpu" = ia64; then
8071
# AIX 5 now supports IA64 processor
8072
lt_prog_compiler_static='-Bstatic'
8079
# see comment about AmigaOS4 .so support
8080
lt_prog_compiler_pic='-fPIC'
8083
# FIXME: we need at least 68020 code to build shared libraries, but
8084
# adding the `-m68020' flag to GCC prevents building anything better,
8086
lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8091
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8092
# PIC is the default for these OSes.
8095
mingw* | cygwin* | pw32* | os2* | cegcc*)
8096
# This hack is so that the source file can tell whether it is being
8097
# built for inclusion in a dll (and should export symbols for example).
8098
# Although the cygwin gcc ignores -fPIC, still need this for old-style
8099
# (--disable-auto-import) libraries
8100
lt_prog_compiler_pic='-DDLL_EXPORT'
8103
darwin* | rhapsody*)
8104
# PIC is the default on this platform
8105
# Common symbols not allowed in MH_DYLIB files
8106
lt_prog_compiler_pic='-fno-common'
8110
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8111
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8112
# sets the default TLS model and affects inlining.
8118
lt_prog_compiler_pic='-fPIC'
8124
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
8125
# Instead, we relocate shared libraries at runtime.
8129
# Just because we use GCC doesn't mean we suddenly get shared libraries
8130
# on systems that don't support them.
8131
lt_prog_compiler_can_build_shared=no
8136
# QNX uses GNU C++, but need to define -shared option too, otherwise
8138
lt_prog_compiler_pic='-fPIC -shared'
8142
if test -d /usr/nec; then
8143
lt_prog_compiler_pic=-Kconform_pic
8148
lt_prog_compiler_pic='-fPIC'
8152
# PORTME Check for flag to pass linker flags through the system compiler.
8155
lt_prog_compiler_wl='-Wl,'
8156
if test "$host_cpu" = ia64; then
8157
# AIX 5 now supports IA64 processor
8158
lt_prog_compiler_static='-Bstatic'
8160
lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8164
mingw* | cygwin* | pw32* | os2* | cegcc*)
8165
# This hack is so that the source file can tell whether it is being
8166
# built for inclusion in a dll (and should export symbols for example).
8167
lt_prog_compiler_pic='-DDLL_EXPORT'
8170
hpux9* | hpux10* | hpux11*)
8171
lt_prog_compiler_wl='-Wl,'
8172
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8179
lt_prog_compiler_pic='+Z'
8182
# Is there a better lt_prog_compiler_static that works with the bundled CC?
8183
lt_prog_compiler_static='${wl}-a ${wl}archive'
8186
irix5* | irix6* | nonstopux*)
8187
lt_prog_compiler_wl='-Wl,'
8188
# PIC (with -KPIC) is the default.
8189
lt_prog_compiler_static='-non_shared'
8192
linux* | k*bsd*-gnu)
8193
case $cc_basename in
8194
# old Intel for x86_64 which still supported -KPIC.
8196
lt_prog_compiler_wl='-Wl,'
8197
lt_prog_compiler_pic='-KPIC'
8198
lt_prog_compiler_static='-static'
8200
# icc used to be incompatible with GCC.
8201
# ICC 10 doesn't accept -KPIC any more.
8203
lt_prog_compiler_wl='-Wl,'
8204
lt_prog_compiler_pic='-fPIC'
8205
lt_prog_compiler_static='-static'
8207
# Lahey Fortran 8.1.
8209
lt_prog_compiler_wl='-Wl,'
8210
lt_prog_compiler_pic='--shared'
8211
lt_prog_compiler_static='--static'
8213
pgcc* | pgf77* | pgf90* | pgf95*)
8214
# Portland Group compilers (*not* the Pentium gcc compiler,
8215
# which looks to be a dead project)
8216
lt_prog_compiler_wl='-Wl,'
8217
lt_prog_compiler_pic='-fpic'
8218
lt_prog_compiler_static='-Bstatic'
8221
lt_prog_compiler_wl='-Wl,'
8222
# All Alpha code is PIC.
8223
lt_prog_compiler_static='-non_shared'
8226
# IBM XL C 8.0/Fortran 10.1 on PPC
8227
lt_prog_compiler_wl='-Wl,'
8228
lt_prog_compiler_pic='-qpic'
8229
lt_prog_compiler_static='-qstaticlink'
8232
case `$CC -V 2>&1 | sed 5q` in
8235
lt_prog_compiler_pic='-KPIC'
8236
lt_prog_compiler_static='-Bstatic'
8237
lt_prog_compiler_wl='-Wl,'
8240
# Sun Fortran 8.3 passes all unrecognized flags to the linker
8241
lt_prog_compiler_pic='-KPIC'
8242
lt_prog_compiler_static='-Bstatic'
8243
lt_prog_compiler_wl=''
8251
lt_prog_compiler_pic='-KPIC'
8252
lt_prog_compiler_static='-Bstatic'
8256
# QNX uses GNU C++, but need to define -shared option too, otherwise
8258
lt_prog_compiler_pic='-fPIC -shared'
8261
osf3* | osf4* | osf5*)
8262
lt_prog_compiler_wl='-Wl,'
8263
# All OSF/1 code is PIC.
8264
lt_prog_compiler_static='-non_shared'
8268
lt_prog_compiler_static='-non_shared'
8272
lt_prog_compiler_pic='-KPIC'
8273
lt_prog_compiler_static='-Bstatic'
8274
case $cc_basename in
8276
lt_prog_compiler_wl='-Qoption ld ';;
8278
lt_prog_compiler_wl='-Wl,';;
8283
lt_prog_compiler_wl='-Qoption ld '
8284
lt_prog_compiler_pic='-PIC'
8285
lt_prog_compiler_static='-Bstatic'
8288
sysv4 | sysv4.2uw2* | sysv4.3*)
8289
lt_prog_compiler_wl='-Wl,'
8290
lt_prog_compiler_pic='-KPIC'
8291
lt_prog_compiler_static='-Bstatic'
8295
if test -d /usr/nec ;then
8296
lt_prog_compiler_pic='-Kconform_pic'
8297
lt_prog_compiler_static='-Bstatic'
8301
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8302
lt_prog_compiler_wl='-Wl,'
8303
lt_prog_compiler_pic='-KPIC'
8304
lt_prog_compiler_static='-Bstatic'
8308
lt_prog_compiler_wl='-Wl,'
8309
lt_prog_compiler_can_build_shared=no
8313
lt_prog_compiler_pic='-pic'
8314
lt_prog_compiler_static='-Bstatic'
8318
lt_prog_compiler_can_build_shared=no
8324
# For platforms which do not support PIC, -DPIC is meaningless:
8326
lt_prog_compiler_pic=
8329
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8332
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8333
$as_echo "$lt_prog_compiler_pic" >&6; }
8341
# Check to make sure the PIC flag actually works.
8343
if test -n "$lt_prog_compiler_pic"; then
8344
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8345
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8346
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8347
$as_echo_n "(cached) " >&6
8349
lt_cv_prog_compiler_pic_works=no
8350
ac_outfile=conftest.$ac_objext
8351
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8352
lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8353
# Insert the option either (1) after the last *FLAGS variable, or
8354
# (2) before a word containing "conftest.", or (3) at the end.
8355
# Note that $ac_compile itself does not contain backslashes and begins
8356
# with a dollar sign (not a hyphen), so the echo should work correctly.
8357
# The option is referenced via a variable to avoid confusing sed.
8358
lt_compile=`echo "$ac_compile" | $SED \
8359
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8360
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8361
-e 's:$: $lt_compiler_flag:'`
8362
(eval echo "\"\$as_me:8362: $lt_compile\"" >&5)
8363
(eval "$lt_compile" 2>conftest.err)
8365
cat conftest.err >&5
8366
echo "$as_me:8366: \$? = $ac_status" >&5
8367
if (exit $ac_status) && test -s "$ac_outfile"; then
8368
# The compiler can only warn and ignore the option if not recognized
8369
# So say no if there are warnings other than the usual output.
8370
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8371
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8372
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8373
lt_cv_prog_compiler_pic_works=yes
8379
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8380
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8382
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8383
case $lt_prog_compiler_pic in
8385
*) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8388
lt_prog_compiler_pic=
8389
lt_prog_compiler_can_build_shared=no
8400
# Check to make sure the static flag actually works.
8402
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8403
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8404
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8405
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8406
$as_echo_n "(cached) " >&6
8408
lt_cv_prog_compiler_static_works=no
8409
save_LDFLAGS="$LDFLAGS"
8410
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8411
echo "$lt_simple_link_test_code" > conftest.$ac_ext
8412
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8413
# The linker can only warn and ignore the option if not recognized
8414
# So say no if there are warnings
8415
if test -s conftest.err; then
8416
# Append any errors to the config.log.
8417
cat conftest.err 1>&5
8418
$ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8419
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8420
if diff conftest.exp conftest.er2 >/dev/null; then
8421
lt_cv_prog_compiler_static_works=yes
8424
lt_cv_prog_compiler_static_works=yes
8428
LDFLAGS="$save_LDFLAGS"
8431
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8432
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8434
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8437
lt_prog_compiler_static=
8446
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8447
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8448
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8449
$as_echo_n "(cached) " >&6
8451
lt_cv_prog_compiler_c_o=no
8452
$RM -r conftest 2>/dev/null
8456
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8458
lt_compiler_flag="-o out/conftest2.$ac_objext"
8459
# Insert the option either (1) after the last *FLAGS variable, or
8460
# (2) before a word containing "conftest.", or (3) at the end.
8461
# Note that $ac_compile itself does not contain backslashes and begins
8462
# with a dollar sign (not a hyphen), so the echo should work correctly.
8463
lt_compile=`echo "$ac_compile" | $SED \
8464
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8465
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8466
-e 's:$: $lt_compiler_flag:'`
8467
(eval echo "\"\$as_me:8467: $lt_compile\"" >&5)
8468
(eval "$lt_compile" 2>out/conftest.err)
8470
cat out/conftest.err >&5
8471
echo "$as_me:8471: \$? = $ac_status" >&5
8472
if (exit $ac_status) && test -s out/conftest2.$ac_objext
8474
# The compiler can only warn and ignore the option if not recognized
8475
# So say no if there are warnings
8476
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8477
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8478
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8479
lt_cv_prog_compiler_c_o=yes
8484
# SGI C++ compiler will create directory out/ii_files/ for
8485
# template instantiation
8486
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8487
$RM out/* && rmdir out
8493
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8494
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8501
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8502
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8503
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8504
$as_echo_n "(cached) " >&6
8506
lt_cv_prog_compiler_c_o=no
8507
$RM -r conftest 2>/dev/null
8511
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8513
lt_compiler_flag="-o out/conftest2.$ac_objext"
8514
# Insert the option either (1) after the last *FLAGS variable, or
8515
# (2) before a word containing "conftest.", or (3) at the end.
8516
# Note that $ac_compile itself does not contain backslashes and begins
8517
# with a dollar sign (not a hyphen), so the echo should work correctly.
8518
lt_compile=`echo "$ac_compile" | $SED \
8519
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8520
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8521
-e 's:$: $lt_compiler_flag:'`
8522
(eval echo "\"\$as_me:8522: $lt_compile\"" >&5)
8523
(eval "$lt_compile" 2>out/conftest.err)
8525
cat out/conftest.err >&5
8526
echo "$as_me:8526: \$? = $ac_status" >&5
8527
if (exit $ac_status) && test -s out/conftest2.$ac_objext
8529
# The compiler can only warn and ignore the option if not recognized
8530
# So say no if there are warnings
8531
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8532
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8533
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8534
lt_cv_prog_compiler_c_o=yes
8539
# SGI C++ compiler will create directory out/ii_files/ for
8540
# template instantiation
8541
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8542
$RM out/* && rmdir out
8548
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8549
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8554
hard_links="nottested"
8555
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8556
# do not overwrite the value of need_locks provided by the user
8557
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8558
$as_echo_n "checking if we can lock with hard links... " >&6; }
8561
ln conftest.a conftest.b 2>/dev/null && hard_links=no
8563
ln conftest.a conftest.b 2>&5 || hard_links=no
8564
ln conftest.a conftest.b 2>/dev/null && hard_links=no
8565
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8566
$as_echo "$hard_links" >&6; }
8567
if test "$hard_links" = no; then
8568
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8569
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8581
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8582
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8585
allow_undefined_flag=
8586
always_export_symbols=no
8588
archive_expsym_cmds=
8589
compiler_needs_object=no
8590
enable_shared_with_static_runtimes=no
8591
export_dynamic_flag_spec=
8592
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8593
hardcode_automatic=no
8595
hardcode_direct_absolute=no
8596
hardcode_libdir_flag_spec=
8597
hardcode_libdir_flag_spec_ld=
8598
hardcode_libdir_separator=
8600
hardcode_shlibpath_var=unsupported
8602
link_all_deplibs=unknown
8605
old_archive_from_new_cmds=
8606
old_archive_from_expsyms_cmds=
8607
thread_safe_flag_spec=
8608
whole_archive_flag_spec=
8609
# include_expsyms should be a list of space-separated symbols to be *always*
8610
# included in the symbol list
8612
# exclude_expsyms can be an extended regexp of symbols to exclude
8613
# it will be wrapped by ` (' and `)$', so one must not match beginning or
8614
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8615
# as well as any symbol that contains `d'.
8616
exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8617
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8618
# platforms (ab)use it in PIC code, but their linkers get confused if
8619
# the symbol is explicitly referenced. Since portable code cannot
8620
# rely on this symbol name, it's probably fine to never include it in
8621
# preloaded symbol tables.
8622
# Exclude shared library initialization/finalization symbols.
8623
extract_expsyms_cmds=
8626
cygwin* | mingw* | pw32* | cegcc*)
8627
# FIXME: the MSVC++ port hasn't been tested in a loooong time
8628
# When not using gcc, we currently assume that we are using
8629
# Microsoft Visual C++.
8630
if test "$GCC" != yes; then
8635
# we just hope/assume this is gcc and not c89 (= MSVC++)
8644
if test "$with_gnu_ld" = yes; then
8645
# If archive_cmds runs LD, not CC, wlarc should be empty
8648
# Set some defaults for GNU ld with shared library support. These
8649
# are reset later if shared libraries are not supported. Putting them
8650
# here allows them to be overridden if necessary.
8651
runpath_var=LD_RUN_PATH
8652
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8653
export_dynamic_flag_spec='${wl}--export-dynamic'
8654
# ancient GNU ld didn't support --whole-archive et. al.
8655
if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8656
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8658
whole_archive_flag_spec=
8660
supports_anon_versioning=no
8661
case `$LD -v 2>&1` in
8662
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8663
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8664
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8665
*\ 2.11.*) ;; # other 2.11 versions
8666
*) supports_anon_versioning=yes ;;
8669
# See if GNU ld supports shared libraries.
8672
# On AIX/PPC, the GNU linker is very broken
8673
if test "$host_cpu" != ia64; then
8677
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
8678
*** to be unable to reliably create shared libraries on AIX.
8679
*** Therefore, libtool is disabling shared libraries support. If you
8680
*** really care for shared libraries, you may want to modify your PATH
8681
*** so that a non-GNU linker is found, and then restart.
8690
# see comment about AmigaOS4 .so support
8691
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8692
archive_expsym_cmds=''
8695
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)'
8696
hardcode_libdir_flag_spec='-L$libdir'
8697
hardcode_minus_L=yes
8703
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8704
allow_undefined_flag=unsupported
8705
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8706
# support --undefined. This deserves some investigation. FIXME
8707
archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8713
cygwin* | mingw* | pw32* | cegcc*)
8714
# _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8715
# as there is no search path for DLLs.
8716
hardcode_libdir_flag_spec='-L$libdir'
8717
allow_undefined_flag=unsupported
8718
always_export_symbols=no
8719
enable_shared_with_static_runtimes=yes
8720
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8722
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8723
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8724
# If the export-symbols file already is a .def file (1st line
8725
# is EXPORTS), use it as is; otherwise, prepend...
8726
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8727
cp $export_symbols $output_objdir/$soname.def;
8729
echo EXPORTS > $output_objdir/$soname.def;
8730
cat $export_symbols >> $output_objdir/$soname.def;
8732
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8740
hardcode_shlibpath_var=no
8741
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8742
export_dynamic_flag_spec='${wl}-E'
8743
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8744
# Instead, shared libraries are loaded at an image base (0x10000000 by
8745
# default) and relocated if they conflict, which is a slow very memory
8746
# consuming and fragmenting process. To avoid this, we pick a random,
8747
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8748
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
8749
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8750
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'
8753
gnu* | linux* | tpf* | k*bsd*-gnu)
8755
if test "$host_os" = linux-dietlibc; then
8756
case $cc_basename in
8757
diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8760
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8761
&& test "$tmp_diet" = no
8764
tmp_sharedflag='-shared'
8765
case $cc_basename,$host_cpu in
8766
pgcc*) # Portland Group C compiler
8767
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'
8768
tmp_addflag=' $pic_flag'
8770
pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
8771
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'
8772
tmp_addflag=' $pic_flag -Mnomain' ;;
8773
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8774
tmp_addflag=' -i_dynamic' ;;
8775
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8776
tmp_addflag=' -i_dynamic -nofor_main' ;;
8777
ifc* | ifort*) # Intel Fortran compiler
8778
tmp_addflag=' -nofor_main' ;;
8779
lf95*) # Lahey Fortran 8.1
8780
whole_archive_flag_spec=
8781
tmp_sharedflag='--shared' ;;
8782
xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8783
tmp_sharedflag='-qmkshrobj'
8786
case `$CC -V 2>&1 | sed 5q` in
8787
*Sun\ C*) # Sun C 5.9
8788
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'
8789
compiler_needs_object=yes
8790
tmp_sharedflag='-G' ;;
8791
*Sun\ F*) # Sun Fortran 8.3
8792
tmp_sharedflag='-G' ;;
8794
archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8796
if test "x$supports_anon_versioning" = xyes; then
8797
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8798
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8799
echo "local: *; };" >> $output_objdir/$libname.ver~
8800
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8803
case $cc_basename in
8805
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8806
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8807
hardcode_libdir_flag_spec=
8808
hardcode_libdir_flag_spec_ld='-rpath $libdir'
8809
archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8810
if test "x$supports_anon_versioning" = xyes; then
8811
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8812
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8813
echo "local: *; };" >> $output_objdir/$libname.ver~
8814
$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8824
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8825
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8828
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8829
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8834
if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8838
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
8839
*** create shared libraries on Solaris systems. Therefore, libtool
8840
*** is disabling shared libraries support. We urge you to upgrade GNU
8841
*** binutils to release 2.9.1 or newer. Another option is to modify
8842
*** your PATH or compiler configuration so that the native linker is
8843
*** used, and then restart.
8846
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8847
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8848
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8854
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8855
case `$LD -v 2>&1` in
8856
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8860
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8861
*** reliably create shared libraries on SCO systems. Therefore, libtool
8862
*** is disabling shared libraries support. We urge you to upgrade GNU
8863
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8864
*** your PATH or compiler configuration so that the native linker is
8865
*** used, and then restart.
8870
# For security reasons, it is highly recommended that you always
8871
# use absolute paths for naming shared libraries, and exclude the
8872
# DT_RUNPATH tag from executables and libraries. But doing so
8873
# requires that you compile everything twice, which is a pain.
8874
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8875
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8876
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8877
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8886
archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8889
hardcode_shlibpath_var=no
8893
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8894
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8895
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8902
if test "$ld_shlibs" = no; then
8904
hardcode_libdir_flag_spec=
8905
export_dynamic_flag_spec=
8906
whole_archive_flag_spec=
8909
# PORTME fill in a description of your system's linker (not GNU ld)
8912
allow_undefined_flag=unsupported
8913
always_export_symbols=yes
8914
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'
8915
# Note: this linker hardcodes the directories in LIBPATH if there
8916
# are no directories specified by -L.
8917
hardcode_minus_L=yes
8918
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8919
# Neither direct hardcoding nor static linking is supported with a
8921
hardcode_direct=unsupported
8926
if test "$host_cpu" = ia64; then
8927
# On IA64, the linker does run time linking by default, so we don't
8928
# have to do anything special.
8929
aix_use_runtimelinking=no
8930
exp_sym_flag='-Bexport'
8933
# If we're using GNU nm, then we don't want the "-C" option.
8934
# -C means demangle to AIX nm, but means don't demangle with GNU nm
8935
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8936
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'
8938
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'
8940
aix_use_runtimelinking=no
8942
# Test if we are trying to use run time linking or normal
8943
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
8944
# need to do runtime linking.
8945
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8946
for ld_flag in $LDFLAGS; do
8947
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8948
aix_use_runtimelinking=yes
8955
exp_sym_flag='-bexport'
8956
no_entry_flag='-bnoentry'
8959
# When large executables or shared objects are built, AIX ld can
8960
# have problems creating the table of contents. If linking a library
8961
# or program results in "error TOC overflow" add -mminimal-toc to
8962
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8963
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8967
hardcode_direct_absolute=yes
8968
hardcode_libdir_separator=':'
8969
link_all_deplibs=yes
8970
file_list_spec='${wl}-f,'
8972
if test "$GCC" = yes; then
8973
case $host_os in aix4.[012]|aix4.[012].*)
8974
# We only want to do this on AIX 4.2 and lower, the check
8975
# below for broken collect2 doesn't work under 4.3+
8976
collect2name=`${CC} -print-prog-name=collect2`
8977
if test -f "$collect2name" &&
8978
strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8980
# We have reworked collect2
8983
# We have old collect2
8984
hardcode_direct=unsupported
8985
# It fails to find uninstalled libraries when the uninstalled
8986
# path is not listed in the libpath. Setting hardcode_minus_L
8987
# to unsupported forces relinking
8988
hardcode_minus_L=yes
8989
hardcode_libdir_flag_spec='-L$libdir'
8990
hardcode_libdir_separator=
8994
shared_flag='-shared'
8995
if test "$aix_use_runtimelinking" = yes; then
8996
shared_flag="$shared_flag "'${wl}-G'
9000
if test "$host_cpu" = ia64; then
9001
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9002
# chokes on -Wl,-G. The following line is correct:
9005
if test "$aix_use_runtimelinking" = yes; then
9006
shared_flag='${wl}-G'
9008
shared_flag='${wl}-bM:SRE'
9013
export_dynamic_flag_spec='${wl}-bexpall'
9014
# It seems that -bexpall does not export symbols beginning with
9015
# underscore (_), so it is better to generate a list of symbols to export.
9016
always_export_symbols=yes
9017
if test "$aix_use_runtimelinking" = yes; then
9018
# Warning - without using the other runtime loading flags (-brtl),
9019
# -berok will link without error, but may produce a broken library.
9020
allow_undefined_flag='-berok'
9021
# Determine the default libpath from the value encoded in an
9023
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9024
/* end confdefs.h. */
9034
if ac_fn_c_try_link "$LINENO"; then :
9036
lt_aix_libpath_sed='
9037
/Import File Strings/,/^$/ {
9043
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9044
# Check for a 64-bit object if we didn't find anything.
9045
if test -z "$aix_libpath"; then
9046
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9049
rm -f core conftest.err conftest.$ac_objext \
9050
conftest$ac_exeext conftest.$ac_ext
9051
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9053
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9054
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"
9056
if test "$host_cpu" = ia64; then
9057
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9058
allow_undefined_flag="-z nodefs"
9059
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"
9061
# Determine the default libpath from the value encoded in an
9063
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9064
/* end confdefs.h. */
9074
if ac_fn_c_try_link "$LINENO"; then :
9076
lt_aix_libpath_sed='
9077
/Import File Strings/,/^$/ {
9083
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9084
# Check for a 64-bit object if we didn't find anything.
9085
if test -z "$aix_libpath"; then
9086
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9089
rm -f core conftest.err conftest.$ac_objext \
9090
conftest$ac_exeext conftest.$ac_ext
9091
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9093
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9094
# Warning - without using the other run time loading flags,
9095
# -berok will link without error, but may produce a broken library.
9096
no_undefined_flag=' ${wl}-bernotok'
9097
allow_undefined_flag=' ${wl}-berok'
9098
# Exported symbols can be pulled into shared objects from archives
9099
whole_archive_flag_spec='$convenience'
9100
archive_cmds_need_lc=yes
9101
# This is similar to how AIX traditionally builds its shared libraries.
9102
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'
9110
# see comment about AmigaOS4 .so support
9111
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9112
archive_expsym_cmds=''
9115
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)'
9116
hardcode_libdir_flag_spec='-L$libdir'
9117
hardcode_minus_L=yes
9123
export_dynamic_flag_spec=-rdynamic
9126
cygwin* | mingw* | pw32* | cegcc*)
9127
# When not using gcc, we currently assume that we are using
9128
# Microsoft Visual C++.
9129
# hardcode_libdir_flag_spec is actually meaningless, as there is
9130
# no search path for DLLs.
9131
hardcode_libdir_flag_spec=' '
9132
allow_undefined_flag=unsupported
9133
# Tell ltmain to make .lib files, not .a files.
9135
# Tell ltmain to make .dll files, not .so files.
9137
# FIXME: Setting linknames here is a bad hack.
9138
archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9139
# The linker will automatically build a .lib file if we build a DLL.
9140
old_archive_from_new_cmds='true'
9141
# FIXME: Should let the user specify the lib program.
9142
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9143
fix_srcfile_path='`cygpath -w "$srcfile"`'
9144
enable_shared_with_static_runtimes=yes
9147
darwin* | rhapsody*)
9150
archive_cmds_need_lc=no
9152
hardcode_automatic=yes
9153
hardcode_shlibpath_var=unsupported
9154
whole_archive_flag_spec=''
9155
link_all_deplibs=yes
9156
allow_undefined_flag="$_lt_dar_allow_undefined"
9157
case $cc_basename in
9158
ifort*) _lt_dar_can_shared=yes ;;
9159
*) _lt_dar_can_shared=$GCC ;;
9161
if test "$_lt_dar_can_shared" = "yes"; then
9162
output_verbose_link_cmd=echo
9163
archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9164
module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9165
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}"
9166
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}"
9175
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9176
hardcode_libdir_flag_spec='-L$libdir'
9177
hardcode_shlibpath_var=no
9184
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9185
# support. Future versions do this automatically, but an explicit c++rt0.o
9186
# does not break anything, and helps significantly (at the cost of a little
9189
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9190
hardcode_libdir_flag_spec='-R$libdir'
9192
hardcode_shlibpath_var=no
9195
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
9197
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9199
hardcode_minus_L=yes
9200
hardcode_shlibpath_var=no
9203
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9204
freebsd* | dragonfly*)
9205
archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9206
hardcode_libdir_flag_spec='-R$libdir'
9208
hardcode_shlibpath_var=no
9212
if test "$GCC" = yes; then
9213
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'
9215
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'
9217
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9218
hardcode_libdir_separator=:
9221
# hardcode_minus_L: Not really in the search PATH,
9222
# but as the default location of the library.
9223
hardcode_minus_L=yes
9224
export_dynamic_flag_spec='${wl}-E'
9228
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9229
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9231
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9233
if test "$with_gnu_ld" = no; then
9234
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9235
hardcode_libdir_flag_spec_ld='+b $libdir'
9236
hardcode_libdir_separator=:
9238
hardcode_direct_absolute=yes
9239
export_dynamic_flag_spec='${wl}-E'
9240
# hardcode_minus_L: Not really in the search PATH,
9241
# but as the default location of the library.
9242
hardcode_minus_L=yes
9247
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9250
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9253
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9256
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9262
archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9265
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9268
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9272
if test "$with_gnu_ld" = no; then
9273
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9274
hardcode_libdir_separator=:
9279
hardcode_shlibpath_var=no
9283
hardcode_direct_absolute=yes
9284
export_dynamic_flag_spec='${wl}-E'
9286
# hardcode_minus_L: Not really in the search PATH,
9287
# but as the default location of the library.
9288
hardcode_minus_L=yes
9294
irix5* | irix6* | nonstopux*)
9295
if test "$GCC" = yes; then
9296
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'
9297
# Try to use the -exported_symbol ld option, if it does not
9298
# work, assume that -exports_file does not work either and
9299
# implicitly export all symbols.
9300
save_LDFLAGS="$LDFLAGS"
9301
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9302
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9303
/* end confdefs.h. */
9306
if ac_fn_c_try_link "$LINENO"; then :
9307
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'
9310
rm -f core conftest.err conftest.$ac_objext \
9311
conftest$ac_exeext conftest.$ac_ext
9312
LDFLAGS="$save_LDFLAGS"
9314
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'
9315
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'
9317
archive_cmds_need_lc='no'
9318
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9319
hardcode_libdir_separator=:
9321
link_all_deplibs=yes
9325
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9326
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9328
archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9330
hardcode_libdir_flag_spec='-R$libdir'
9332
hardcode_shlibpath_var=no
9336
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9338
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9339
hardcode_libdir_separator=:
9340
hardcode_shlibpath_var=no
9347
if test -f /usr/libexec/ld.so; then
9349
hardcode_shlibpath_var=no
9350
hardcode_direct_absolute=yes
9351
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9352
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9353
archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9354
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9355
export_dynamic_flag_spec='${wl}-E'
9358
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9359
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9360
hardcode_libdir_flag_spec='-R$libdir'
9363
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9364
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9374
hardcode_libdir_flag_spec='-L$libdir'
9375
hardcode_minus_L=yes
9376
allow_undefined_flag=unsupported
9377
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'
9378
old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9382
if test "$GCC" = yes; then
9383
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9384
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'
9386
allow_undefined_flag=' -expect_unresolved \*'
9387
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'
9389
archive_cmds_need_lc='no'
9390
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9391
hardcode_libdir_separator=:
9394
osf4* | osf5*) # as osf3* with the addition of -msym flag
9395
if test "$GCC" = yes; then
9396
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9397
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'
9398
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9400
allow_undefined_flag=' -expect_unresolved \*'
9401
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'
9402
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~
9403
$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'
9405
# Both c and cxx compiler support -rpath directly
9406
hardcode_libdir_flag_spec='-rpath $libdir'
9408
archive_cmds_need_lc='no'
9409
hardcode_libdir_separator=:
9413
no_undefined_flag=' -z defs'
9414
if test "$GCC" = yes; then
9416
archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9417
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9418
$CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9420
case `$CC -V 2>&1` in
9423
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9424
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9425
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9429
archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9430
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9431
$CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9435
hardcode_libdir_flag_spec='-R$libdir'
9436
hardcode_shlibpath_var=no
9438
solaris2.[0-5] | solaris2.[0-5].*) ;;
9440
# The compiler driver will combine and reorder linker options,
9441
# but understands `-z linker_flag'. GCC discards it without `$wl',
9442
# but is careful enough not to reorder.
9443
# Supported since Solaris 2.6 (maybe 2.5.1?)
9444
if test "$GCC" = yes; then
9445
whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9447
whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9451
link_all_deplibs=yes
9455
if test "x$host_vendor" = xsequent; then
9456
# Use $CC to link under sequent, because it throws in some extra .o
9457
# files that make .init and .fini sections work.
9458
archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9460
archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9462
hardcode_libdir_flag_spec='-L$libdir'
9464
hardcode_minus_L=yes
9465
hardcode_shlibpath_var=no
9469
case $host_vendor in
9471
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9472
hardcode_direct=yes # is this really true???
9475
## LD is ld it makes a PLAMLIB
9476
## CC just makes a GrossModule.
9477
archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9478
reload_cmds='$CC -r -o $output$reload_objs'
9482
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9483
hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9486
runpath_var='LD_RUN_PATH'
9487
hardcode_shlibpath_var=no
9491
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9492
hardcode_shlibpath_var=no
9493
export_dynamic_flag_spec='-Bexport'
9497
if test -d /usr/nec; then
9498
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9499
hardcode_shlibpath_var=no
9500
runpath_var=LD_RUN_PATH
9501
hardcode_runpath_var=yes
9506
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9507
no_undefined_flag='${wl}-z,text'
9508
archive_cmds_need_lc=no
9509
hardcode_shlibpath_var=no
9510
runpath_var='LD_RUN_PATH'
9512
if test "$GCC" = yes; then
9513
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9514
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9516
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9517
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9521
sysv5* | sco3.2v5* | sco5v6*)
9522
# Note: We can NOT use -z defs as we might desire, because we do not
9523
# link with -lc, and that would cause any symbols used from libc to
9524
# always be unresolved, which means just about no library would
9525
# ever link correctly. If we're not using GNU ld we use -z text
9526
# though, which does catch some bad symbols but isn't as heavy-handed
9528
no_undefined_flag='${wl}-z,text'
9529
allow_undefined_flag='${wl}-z,nodefs'
9530
archive_cmds_need_lc=no
9531
hardcode_shlibpath_var=no
9532
hardcode_libdir_flag_spec='${wl}-R,$libdir'
9533
hardcode_libdir_separator=':'
9534
link_all_deplibs=yes
9535
export_dynamic_flag_spec='${wl}-Bexport'
9536
runpath_var='LD_RUN_PATH'
9538
if test "$GCC" = yes; then
9539
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9540
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9542
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9543
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9548
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9549
hardcode_libdir_flag_spec='-L$libdir'
9550
hardcode_shlibpath_var=no
9558
if test x$host_vendor = xsni; then
9560
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9561
export_dynamic_flag_spec='${wl}-Blargedynsym'
9567
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9568
$as_echo "$ld_shlibs" >&6; }
9569
test "$ld_shlibs" = no && can_build_shared=no
9571
with_gnu_ld=$with_gnu_ld
9588
# Do we need to explicitly link libc?
9590
case "x$archive_cmds_need_lc" in
9592
# Assume -lc should be added
9593
archive_cmds_need_lc=yes
9595
if test "$enable_shared" = yes && test "$GCC" = yes; then
9596
case $archive_cmds in
9598
# FIXME: we may have to deal with multi-command sequences.
9601
# Test whether the compiler implicitly links with -lc since on some
9602
# systems, -lgcc has to come before -lc. If gcc already passes -lc
9603
# to ld, don't add -lc before -lgcc.
9604
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9605
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9607
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9609
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9610
(eval $ac_compile) 2>&5
9612
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9613
test $ac_status = 0; } 2>conftest.err; then
9616
libobjs=conftest.$ac_objext
9618
wl=$lt_prog_compiler_wl
9619
pic_flag=$lt_prog_compiler_pic
9625
lt_save_allow_undefined_flag=$allow_undefined_flag
9626
allow_undefined_flag=
9627
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9628
(eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9630
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9631
test $ac_status = 0; }
9633
archive_cmds_need_lc=no
9635
archive_cmds_need_lc=yes
9637
allow_undefined_flag=$lt_save_allow_undefined_flag
9639
cat conftest.err 1>&5
9642
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9643
$as_echo "$archive_cmds_need_lc" >&6; }
9806
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9807
$as_echo_n "checking dynamic linker characteristics... " >&6; }
9809
if test "$GCC" = yes; then
9811
darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9812
*) lt_awk_arg="/^libraries:/" ;;
9814
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9815
if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9816
# if the path contains ";" then we assume it to be the separator
9817
# otherwise default to the standard path separator (i.e. ":") - it is
9818
# assumed that no part of a normal pathname contains ";" but that should
9819
# okay in the real world where ";" in dirpaths is itself problematic.
9820
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9822
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9824
# Ok, now we have the path, separated by spaces, we can step through it
9825
# and add multilib dir if necessary.
9826
lt_tmp_lt_search_path_spec=
9827
lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9828
for lt_sys_path in $lt_search_path_spec; do
9829
if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9830
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9832
test -d "$lt_sys_path" && \
9833
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9836
lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9837
BEGIN {RS=" "; FS="/|\n";} {
9840
for (lt_i = NF; lt_i > 0; lt_i--) {
9841
if ($lt_i != "" && $lt_i != ".") {
9842
if ($lt_i == "..") {
9845
if (lt_count == 0) {
9846
lt_foo="/" $lt_i lt_foo;
9853
if (lt_foo != "") { lt_freq[lt_foo]++; }
9854
if (lt_freq[lt_foo] == 1) { print lt_foo; }
9856
sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9858
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9861
libname_spec='lib$name'
9869
shlibpath_overrides_runpath=unknown
9871
dynamic_linker="$host_os ld.so"
9872
sys_lib_dlsearch_path_spec="/lib /usr/lib"
9873
need_lib_prefix=unknown
9874
hardcode_into_libs=no
9876
# when you set need_version to no, make sure it does not cause -set_version
9877
# flags to be left without arguments
9878
need_version=unknown
9883
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9884
shlibpath_var=LIBPATH
9886
# AIX 3 has no versioning support, so we append a major version to the name.
9887
soname_spec='${libname}${release}${shared_ext}$major'
9894
hardcode_into_libs=yes
9895
if test "$host_cpu" = ia64; then
9896
# AIX 5 supports IA64
9897
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9898
shlibpath_var=LD_LIBRARY_PATH
9900
# With GCC up to 2.95.x, collect2 would create an import file
9901
# for dependence libraries. The import file would start with
9902
# the line `#! .'. This would cause the generated library to
9903
# depend on `.', always an invalid library. This was fixed in
9904
# development snapshots of GCC prior to 3.0.
9906
aix4 | aix4.[01] | aix4.[01].*)
9907
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9909
echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9916
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9917
# soname into executable. Probably we can add versioning support to
9918
# collect2, so additional links can be useful in future.
9919
if test "$aix_use_runtimelinking" = yes; then
9920
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
9921
# instead of lib<name>.a to let people know that these are not
9922
# typical AIX shared libraries.
9923
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9925
# We preserve .a as extension for shared libraries through AIX4.2
9926
# and later when we are not doing run time linking.
9927
library_names_spec='${libname}${release}.a $libname.a'
9928
soname_spec='${libname}${release}${shared_ext}$major'
9930
shlibpath_var=LIBPATH
9937
# Since July 2007 AmigaOS4 officially supports .so libraries.
9938
# When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9939
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9942
library_names_spec='$libname.ixlibrary $libname.a'
9943
# Create ${libname}_ixlibrary.a entries in /sys/libs.
9944
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'
9950
library_names_spec='${libname}${shared_ext}'
9951
dynamic_linker="$host_os ld.so"
9952
shlibpath_var=LIBRARY_PATH
9958
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9959
soname_spec='${libname}${release}${shared_ext}$major'
9960
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9961
shlibpath_var=LD_LIBRARY_PATH
9962
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9963
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9964
# the default ld.so.conf also contains /usr/contrib/lib and
9965
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9966
# libtool to hard-code these into programs
9969
cygwin* | mingw* | pw32* | cegcc*)
9970
version_type=windows
9975
case $GCC,$host_os in
9976
yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9977
library_names_spec='$libname.dll.a'
9978
# DLL is installed to $(libdir)/../bin by postinstall_cmds
9979
postinstall_cmds='base_file=`basename \${file}`~
9980
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9981
dldir=$destdir/`dirname \$dlpath`~
9982
test -d \$dldir || mkdir -p \$dldir~
9983
$install_prog $dir/$dlname \$dldir/$dlname~
9984
chmod a+x \$dldir/$dlname~
9985
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9986
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9988
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9989
dlpath=$dir/\$dldll~
9991
shlibpath_overrides_runpath=yes
9995
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
9996
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9997
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10000
# MinGW DLLs use traditional 'lib' prefix
10001
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10002
sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10003
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10004
# It is most probably a Windows format PATH printed by
10005
# mingw gcc, but we are running on Cygwin. Gcc prints its search
10006
# path with ; separators, and with drive letters. We can handle the
10007
# drive letters (cygwin fileutils understands them), so leave them,
10008
# especially as we might pass files found there to a mingw objdump,
10009
# which wouldn't understand a cygwinified path. Ahh.
10010
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10012
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10016
# pw32 DLLs use 'pw' prefix rather than 'lib'
10017
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10023
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10026
dynamic_linker='Win32 ld.exe'
10027
# FIXME: first we should search . and the directory the executable is in
10031
darwin* | rhapsody*)
10032
dynamic_linker="$host_os dyld"
10033
version_type=darwin
10036
library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10037
soname_spec='${libname}${release}${major}$shared_ext'
10038
shlibpath_overrides_runpath=yes
10039
shlibpath_var=DYLD_LIBRARY_PATH
10040
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10042
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10043
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10050
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10051
soname_spec='${libname}${release}${shared_ext}$major'
10052
shlibpath_var=LD_LIBRARY_PATH
10059
freebsd* | dragonfly*)
10060
# DragonFly does not have aout. When/if they implement a new
10061
# versioning mechanism, adjust this.
10062
if test -x /usr/bin/objformat; then
10063
objformat=`/usr/bin/objformat`
10066
freebsd[123]*) objformat=aout ;;
10067
*) objformat=elf ;;
10070
version_type=freebsd-$objformat
10071
case $version_type in
10073
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10078
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10082
shlibpath_var=LD_LIBRARY_PATH
10085
shlibpath_overrides_runpath=yes
10087
freebsd3.[01]* | freebsdelf3.[01]*)
10088
shlibpath_overrides_runpath=yes
10089
hardcode_into_libs=yes
10091
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10092
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10093
shlibpath_overrides_runpath=no
10094
hardcode_into_libs=yes
10096
*) # from 4.6 on, and DragonFly
10097
shlibpath_overrides_runpath=yes
10098
hardcode_into_libs=yes
10107
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10108
soname_spec='${libname}${release}${shared_ext}$major'
10109
shlibpath_var=LD_LIBRARY_PATH
10110
hardcode_into_libs=yes
10113
hpux9* | hpux10* | hpux11*)
10114
# Give a soname corresponding to the major version so that dld.sl refuses to
10115
# link against other versions.
10122
hardcode_into_libs=yes
10123
dynamic_linker="$host_os dld.so"
10124
shlibpath_var=LD_LIBRARY_PATH
10125
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10126
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10127
soname_spec='${libname}${release}${shared_ext}$major'
10128
if test "X$HPUX_IA64_MODE" = X32; then
10129
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10131
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10133
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10137
hardcode_into_libs=yes
10138
dynamic_linker="$host_os dld.sl"
10139
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10140
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10141
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10142
soname_spec='${libname}${release}${shared_ext}$major'
10143
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10144
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10148
dynamic_linker="$host_os dld.sl"
10149
shlibpath_var=SHLIB_PATH
10150
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10151
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10152
soname_spec='${libname}${release}${shared_ext}$major'
10155
# HP-UX runs *really* slowly unless shared libraries are mode 555.
10156
postinstall_cmds='chmod 555 $lib'
10163
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10164
soname_spec='${libname}${release}${shared_ext}$major'
10165
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10166
shlibpath_var=LD_LIBRARY_PATH
10167
shlibpath_overrides_runpath=no
10168
hardcode_into_libs=yes
10171
irix5* | irix6* | nonstopux*)
10173
nonstopux*) version_type=nonstopux ;;
10175
if test "$lt_cv_prog_gnu_ld" = yes; then
10183
soname_spec='${libname}${release}${shared_ext}$major'
10184
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10186
irix5* | nonstopux*)
10187
libsuff= shlibsuff=
10190
case $LD in # libtool.m4 will add one of these switches to LD
10191
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10192
libsuff= shlibsuff= libmagic=32-bit;;
10193
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10194
libsuff=32 shlibsuff=N32 libmagic=N32;;
10195
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10196
libsuff=64 shlibsuff=64 libmagic=64-bit;;
10197
*) libsuff= shlibsuff= libmagic=never-match;;
10201
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10202
shlibpath_overrides_runpath=no
10203
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10204
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10205
hardcode_into_libs=yes
10208
# No shared lib support for Linux oldld, aout, or coff.
10209
linux*oldld* | linux*aout* | linux*coff*)
10213
# This must be Linux ELF.
10214
linux* | k*bsd*-gnu)
10218
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10219
soname_spec='${libname}${release}${shared_ext}$major'
10220
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10221
shlibpath_var=LD_LIBRARY_PATH
10222
shlibpath_overrides_runpath=no
10223
# Some binutils ld are patched to set DT_RUNPATH
10224
save_LDFLAGS=$LDFLAGS
10225
save_libdir=$libdir
10226
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10227
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10228
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10229
/* end confdefs.h. */
10239
if ac_fn_c_try_link "$LINENO"; then :
10240
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10241
shlibpath_overrides_runpath=yes
10244
rm -f core conftest.err conftest.$ac_objext \
10245
conftest$ac_exeext conftest.$ac_ext
10246
LDFLAGS=$save_LDFLAGS
10247
libdir=$save_libdir
10249
# This implies no fast_install, which is unacceptable.
10250
# Some rework will be needed to allow for fast_install
10251
# before this can be enabled.
10252
hardcode_into_libs=yes
10254
# Append ld.so.conf contents to the search path
10255
if test -f /etc/ld.so.conf; then
10256
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' ' '`
10257
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10260
# We used to test for /lib/ld.so.1 and disable shared libraries on
10261
# powerpc, because MkLinux only supported shared libraries with the
10262
# GNU dynamic linker. Since this was broken with cross compilers,
10263
# most powerpc-linux boxes support dynamic linking these days and
10264
# people can always --disable-shared, the test was removed, and we
10265
# assume the GNU/Linux dynamic linker is in use.
10266
dynamic_linker='GNU/Linux ld.so'
10273
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10274
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10275
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10276
dynamic_linker='NetBSD (a.out) ld.so'
10278
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10279
soname_spec='${libname}${release}${shared_ext}$major'
10280
dynamic_linker='NetBSD ld.elf_so'
10282
shlibpath_var=LD_LIBRARY_PATH
10283
shlibpath_overrides_runpath=yes
10284
hardcode_into_libs=yes
10289
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10290
shlibpath_var=LD_LIBRARY_PATH
10291
shlibpath_overrides_runpath=yes
10298
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10299
soname_spec='${libname}${release}${shared_ext}$major'
10300
shlibpath_var=LD_LIBRARY_PATH
10301
shlibpath_overrides_runpath=no
10302
hardcode_into_libs=yes
10303
dynamic_linker='ldqnx.so'
10308
sys_lib_dlsearch_path_spec="/usr/lib"
10310
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10312
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10313
*) need_version=no ;;
10315
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10316
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10317
shlibpath_var=LD_LIBRARY_PATH
10318
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10320
openbsd2.[89] | openbsd2.[89].*)
10321
shlibpath_overrides_runpath=no
10324
shlibpath_overrides_runpath=yes
10328
shlibpath_overrides_runpath=yes
10333
libname_spec='$name'
10336
library_names_spec='$libname${shared_ext} $libname.a'
10337
dynamic_linker='OS/2 ld.exe'
10338
shlibpath_var=LIBPATH
10341
osf3* | osf4* | osf5*)
10345
soname_spec='${libname}${release}${shared_ext}$major'
10346
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10347
shlibpath_var=LD_LIBRARY_PATH
10348
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10349
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10360
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10361
soname_spec='${libname}${release}${shared_ext}$major'
10362
shlibpath_var=LD_LIBRARY_PATH
10363
shlibpath_overrides_runpath=yes
10364
hardcode_into_libs=yes
10365
# ldd complains unless libraries are executable
10366
postinstall_cmds='chmod +x $lib'
10371
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10372
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10373
shlibpath_var=LD_LIBRARY_PATH
10374
shlibpath_overrides_runpath=yes
10375
if test "$with_gnu_ld" = yes; then
10383
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10384
soname_spec='${libname}${release}${shared_ext}$major'
10385
shlibpath_var=LD_LIBRARY_PATH
10386
case $host_vendor in
10388
shlibpath_overrides_runpath=no
10390
runpath_var=LD_RUN_PATH
10398
shlibpath_overrides_runpath=no
10399
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10405
if test -d /usr/nec ;then
10407
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10408
soname_spec='$libname${shared_ext}.$major'
10409
shlibpath_var=LD_LIBRARY_PATH
10413
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10414
version_type=freebsd-elf
10417
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10418
soname_spec='${libname}${release}${shared_ext}$major'
10419
shlibpath_var=LD_LIBRARY_PATH
10420
shlibpath_overrides_runpath=yes
10421
hardcode_into_libs=yes
10422
if test "$with_gnu_ld" = yes; then
10423
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10425
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10428
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10432
sys_lib_dlsearch_path_spec='/usr/lib'
10436
# TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10440
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10441
shlibpath_var=LD_LIBRARY_PATH
10442
shlibpath_overrides_runpath=no
10443
hardcode_into_libs=yes
10448
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10449
soname_spec='${libname}${release}${shared_ext}$major'
10450
shlibpath_var=LD_LIBRARY_PATH
10457
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10458
$as_echo "$dynamic_linker" >&6; }
10459
test "$dynamic_linker" = no && can_build_shared=no
10461
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10462
if test "$GCC" = yes; then
10463
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10466
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10467
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10469
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10470
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10559
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10560
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10562
if test -n "$hardcode_libdir_flag_spec" ||
10563
test -n "$runpath_var" ||
10564
test "X$hardcode_automatic" = "Xyes" ; then
10566
# We can hardcode non-existent directories.
10567
if test "$hardcode_direct" != no &&
10568
# If the only mechanism to avoid hardcoding is shlibpath_var, we
10569
# have to relink, otherwise we might link with an installed library
10570
# when we should be linking with a yet-to-be-installed one
10571
## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10572
test "$hardcode_minus_L" != no; then
10573
# Linking always hardcodes the temporary library directory.
10574
hardcode_action=relink
10576
# We can link without hardcoding, and we can hardcode nonexisting dirs.
10577
hardcode_action=immediate
10580
# We cannot hardcode anything, or else we can only hardcode existing
10582
hardcode_action=unsupported
10584
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10585
$as_echo "$hardcode_action" >&6; }
10587
if test "$hardcode_action" = relink ||
10588
test "$inherit_rpath" = yes; then
10589
# Fast installation is not supported
10590
enable_fast_install=no
10591
elif test "$shlibpath_overrides_runpath" = yes ||
10592
test "$enable_shared" = no; then
10593
# Fast installation is not necessary
10594
enable_fast_install=needless
10602
if test "x$enable_dlopen" != xyes; then
10603
enable_dlopen=unknown
10604
enable_dlopen_self=unknown
10605
enable_dlopen_self_static=unknown
10612
lt_cv_dlopen="load_add_on"
10614
lt_cv_dlopen_self=yes
10617
mingw* | pw32* | cegcc*)
10618
lt_cv_dlopen="LoadLibrary"
10623
lt_cv_dlopen="dlopen"
10628
# if libdl is installed we need to link against it
10629
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10630
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10631
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10632
$as_echo_n "(cached) " >&6
10634
ac_check_lib_save_LIBS=$LIBS
10636
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10637
/* end confdefs.h. */
10639
/* Override any GCC internal prototype to avoid an error.
10640
Use char because int might match the return type of a GCC
10641
builtin and then its argument prototype would still apply. */
10654
if ac_fn_c_try_link "$LINENO"; then :
10655
ac_cv_lib_dl_dlopen=yes
10657
ac_cv_lib_dl_dlopen=no
10659
rm -f core conftest.err conftest.$ac_objext \
10660
conftest$ac_exeext conftest.$ac_ext
10661
LIBS=$ac_check_lib_save_LIBS
10663
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10664
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10665
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10666
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10669
lt_cv_dlopen="dyld"
10671
lt_cv_dlopen_self=yes
10678
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10679
if test "x$ac_cv_func_shl_load" = x""yes; then :
10680
lt_cv_dlopen="shl_load"
10682
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10683
$as_echo_n "checking for shl_load in -ldld... " >&6; }
10684
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10685
$as_echo_n "(cached) " >&6
10687
ac_check_lib_save_LIBS=$LIBS
10689
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10690
/* end confdefs.h. */
10692
/* Override any GCC internal prototype to avoid an error.
10693
Use char because int might match the return type of a GCC
10694
builtin and then its argument prototype would still apply. */
10702
return shl_load ();
10707
if ac_fn_c_try_link "$LINENO"; then :
10708
ac_cv_lib_dld_shl_load=yes
10710
ac_cv_lib_dld_shl_load=no
10712
rm -f core conftest.err conftest.$ac_objext \
10713
conftest$ac_exeext conftest.$ac_ext
10714
LIBS=$ac_check_lib_save_LIBS
10716
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10717
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10718
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
10719
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10721
ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10722
if test "x$ac_cv_func_dlopen" = x""yes; then :
10723
lt_cv_dlopen="dlopen"
10725
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10726
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10727
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10728
$as_echo_n "(cached) " >&6
10730
ac_check_lib_save_LIBS=$LIBS
10732
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10733
/* end confdefs.h. */
10735
/* Override any GCC internal prototype to avoid an error.
10736
Use char because int might match the return type of a GCC
10737
builtin and then its argument prototype would still apply. */
10750
if ac_fn_c_try_link "$LINENO"; then :
10751
ac_cv_lib_dl_dlopen=yes
10753
ac_cv_lib_dl_dlopen=no
10755
rm -f core conftest.err conftest.$ac_objext \
10756
conftest$ac_exeext conftest.$ac_ext
10757
LIBS=$ac_check_lib_save_LIBS
10759
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10760
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10761
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10762
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10764
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10765
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
10766
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10767
$as_echo_n "(cached) " >&6
10769
ac_check_lib_save_LIBS=$LIBS
10770
LIBS="-lsvld $LIBS"
10771
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10772
/* end confdefs.h. */
10774
/* Override any GCC internal prototype to avoid an error.
10775
Use char because int might match the return type of a GCC
10776
builtin and then its argument prototype would still apply. */
10789
if ac_fn_c_try_link "$LINENO"; then :
10790
ac_cv_lib_svld_dlopen=yes
10792
ac_cv_lib_svld_dlopen=no
10794
rm -f core conftest.err conftest.$ac_objext \
10795
conftest$ac_exeext conftest.$ac_ext
10796
LIBS=$ac_check_lib_save_LIBS
10798
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10799
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10800
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
10801
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10803
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10804
$as_echo_n "checking for dld_link in -ldld... " >&6; }
10805
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10806
$as_echo_n "(cached) " >&6
10808
ac_check_lib_save_LIBS=$LIBS
10810
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10811
/* end confdefs.h. */
10813
/* Override any GCC internal prototype to avoid an error.
10814
Use char because int might match the return type of a GCC
10815
builtin and then its argument prototype would still apply. */
10823
return dld_link ();
10828
if ac_fn_c_try_link "$LINENO"; then :
10829
ac_cv_lib_dld_dld_link=yes
10831
ac_cv_lib_dld_dld_link=no
10833
rm -f core conftest.err conftest.$ac_objext \
10834
conftest$ac_exeext conftest.$ac_ext
10835
LIBS=$ac_check_lib_save_LIBS
10837
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10838
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10839
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
10840
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10861
if test "x$lt_cv_dlopen" != xno; then
10867
case $lt_cv_dlopen in
10869
save_CPPFLAGS="$CPPFLAGS"
10870
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10872
save_LDFLAGS="$LDFLAGS"
10873
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10876
LIBS="$lt_cv_dlopen_libs $LIBS"
10878
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10879
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
10880
if test "${lt_cv_dlopen_self+set}" = set; then :
10881
$as_echo_n "(cached) " >&6
10883
if test "$cross_compiling" = yes; then :
10884
lt_cv_dlopen_self=cross
10886
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10887
lt_status=$lt_dlunknown
10888
cat > conftest.$ac_ext <<_LT_EOF
10889
#line 10889 "configure"
10890
#include "confdefs.h"
10899
# define LT_DLGLOBAL RTLD_GLOBAL
10902
# define LT_DLGLOBAL DL_GLOBAL
10904
# define LT_DLGLOBAL 0
10908
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10909
find out it does not work in some platform. */
10910
#ifndef LT_DLLAZY_OR_NOW
10912
# define LT_DLLAZY_OR_NOW RTLD_LAZY
10915
# define LT_DLLAZY_OR_NOW DL_LAZY
10918
# define LT_DLLAZY_OR_NOW RTLD_NOW
10921
# define LT_DLLAZY_OR_NOW DL_NOW
10923
# define LT_DLLAZY_OR_NOW 0
10930
void fnord() { int i=42;}
10933
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10934
int status = $lt_dlunknown;
10938
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10939
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10940
/* dlclose (self); */
10948
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10949
(eval $ac_link) 2>&5
10951
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10952
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10953
(./conftest; exit; ) >&5 2>/dev/null
10955
case x$lt_status in
10956
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10957
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10958
x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10961
# compilation failed
10962
lt_cv_dlopen_self=no
10969
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10970
$as_echo "$lt_cv_dlopen_self" >&6; }
10972
if test "x$lt_cv_dlopen_self" = xyes; then
10973
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10974
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10975
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10976
if test "${lt_cv_dlopen_self_static+set}" = set; then :
10977
$as_echo_n "(cached) " >&6
10979
if test "$cross_compiling" = yes; then :
10980
lt_cv_dlopen_self_static=cross
10982
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10983
lt_status=$lt_dlunknown
10984
cat > conftest.$ac_ext <<_LT_EOF
10985
#line 10985 "configure"
10986
#include "confdefs.h"
10995
# define LT_DLGLOBAL RTLD_GLOBAL
10998
# define LT_DLGLOBAL DL_GLOBAL
11000
# define LT_DLGLOBAL 0
11004
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11005
find out it does not work in some platform. */
11006
#ifndef LT_DLLAZY_OR_NOW
11008
# define LT_DLLAZY_OR_NOW RTLD_LAZY
11011
# define LT_DLLAZY_OR_NOW DL_LAZY
11014
# define LT_DLLAZY_OR_NOW RTLD_NOW
11017
# define LT_DLLAZY_OR_NOW DL_NOW
11019
# define LT_DLLAZY_OR_NOW 0
11026
void fnord() { int i=42;}
11029
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11030
int status = $lt_dlunknown;
11034
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11035
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11036
/* dlclose (self); */
11044
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11045
(eval $ac_link) 2>&5
11047
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11048
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11049
(./conftest; exit; ) >&5 2>/dev/null
11051
case x$lt_status in
11052
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11053
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11054
x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11057
# compilation failed
11058
lt_cv_dlopen_self_static=no
11065
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11066
$as_echo "$lt_cv_dlopen_self_static" >&6; }
11069
CPPFLAGS="$save_CPPFLAGS"
11070
LDFLAGS="$save_LDFLAGS"
11075
case $lt_cv_dlopen_self in
11076
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11077
*) enable_dlopen_self=unknown ;;
11080
case $lt_cv_dlopen_self_static in
11081
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11082
*) enable_dlopen_self_static=unknown ;;
11104
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11105
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
11106
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11107
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11108
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11109
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11110
$as_echo "yes" >&6; }
11112
# FIXME - insert some real tests, host_os isn't really good enough
11115
if test -n "$STRIP" ; then
11116
striplib="$STRIP -x"
11117
old_striplib="$STRIP -S"
11118
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11119
$as_echo "yes" >&6; }
11121
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11122
$as_echo "no" >&6; }
11126
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11127
$as_echo "no" >&6; }
11143
# Report which library types will actually be built
11144
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11145
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
11146
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11147
$as_echo "$can_build_shared" >&6; }
11149
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11150
$as_echo_n "checking whether to build shared libraries... " >&6; }
11151
test "$can_build_shared" = "no" && enable_shared=no
11153
# On AIX, shared libraries and static libraries use the same namespace, and
11154
# are all built from PIC.
11157
test "$enable_shared" = yes && enable_static=no
11158
if test -n "$RANLIB"; then
11159
archive_cmds="$archive_cmds~\$RANLIB \$lib"
11160
postinstall_cmds='$RANLIB $lib'
11165
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11166
test "$enable_shared" = yes && enable_static=no
11170
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11171
$as_echo "$enable_shared" >&6; }
11173
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11174
$as_echo_n "checking whether to build static libraries... " >&6; }
11175
# Make sure either enable_shared or enable_static is yes.
11176
test "$enable_shared" = yes || enable_static=yes
11177
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11178
$as_echo "$enable_static" >&6; }
11185
ac_cpp='$CPP $CPPFLAGS'
11186
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11187
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11188
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11204
ac_config_commands="$ac_config_commands libtool"
11209
# Only expand once:
11213
ac_cpp='$CPP $CPPFLAGS'
11214
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11215
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11216
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11217
if test -n "$ac_tool_prefix"; then
11218
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11219
set dummy ${ac_tool_prefix}gcc; ac_word=$2
11220
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11221
$as_echo_n "checking for $ac_word... " >&6; }
11222
if test "${ac_cv_prog_CC+set}" = set; then :
11223
$as_echo_n "(cached) " >&6
11225
if test -n "$CC"; then
11226
ac_cv_prog_CC="$CC" # Let the user override the test.
11228
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11229
for as_dir in $PATH
11232
test -z "$as_dir" && as_dir=.
11233
for ac_exec_ext in '' $ac_executable_extensions; do
11234
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11235
ac_cv_prog_CC="${ac_tool_prefix}gcc"
11236
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11246
if test -n "$CC"; then
11247
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11248
$as_echo "$CC" >&6; }
11250
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11251
$as_echo "no" >&6; }
11256
if test -z "$ac_cv_prog_CC"; then
11258
# Extract the first word of "gcc", so it can be a program name with args.
11259
set dummy gcc; ac_word=$2
11260
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11261
$as_echo_n "checking for $ac_word... " >&6; }
11262
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
11263
$as_echo_n "(cached) " >&6
11265
if test -n "$ac_ct_CC"; then
11266
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11268
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11269
for as_dir in $PATH
11272
test -z "$as_dir" && as_dir=.
11273
for ac_exec_ext in '' $ac_executable_extensions; do
11274
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11275
ac_cv_prog_ac_ct_CC="gcc"
11276
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11285
ac_ct_CC=$ac_cv_prog_ac_ct_CC
11286
if test -n "$ac_ct_CC"; then
11287
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11288
$as_echo "$ac_ct_CC" >&6; }
11290
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11291
$as_echo "no" >&6; }
11294
if test "x$ac_ct_CC" = x; then
11297
case $cross_compiling:$ac_tool_warned in
11299
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11300
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11301
ac_tool_warned=yes ;;
11306
CC="$ac_cv_prog_CC"
11309
if test -z "$CC"; then
11310
if test -n "$ac_tool_prefix"; then
11311
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11312
set dummy ${ac_tool_prefix}cc; ac_word=$2
11313
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11314
$as_echo_n "checking for $ac_word... " >&6; }
11315
if test "${ac_cv_prog_CC+set}" = set; then :
11316
$as_echo_n "(cached) " >&6
11318
if test -n "$CC"; then
11319
ac_cv_prog_CC="$CC" # Let the user override the test.
11321
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11322
for as_dir in $PATH
11325
test -z "$as_dir" && as_dir=.
11326
for ac_exec_ext in '' $ac_executable_extensions; do
11327
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11328
ac_cv_prog_CC="${ac_tool_prefix}cc"
11329
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11339
if test -n "$CC"; then
11340
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11341
$as_echo "$CC" >&6; }
11343
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11344
$as_echo "no" >&6; }
11350
if test -z "$CC"; then
11351
# Extract the first word of "cc", so it can be a program name with args.
11352
set dummy cc; ac_word=$2
11353
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11354
$as_echo_n "checking for $ac_word... " >&6; }
11355
if test "${ac_cv_prog_CC+set}" = set; then :
11356
$as_echo_n "(cached) " >&6
11358
if test -n "$CC"; then
11359
ac_cv_prog_CC="$CC" # Let the user override the test.
11361
ac_prog_rejected=no
11362
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11363
for as_dir in $PATH
11366
test -z "$as_dir" && as_dir=.
11367
for ac_exec_ext in '' $ac_executable_extensions; do
11368
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11369
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11370
ac_prog_rejected=yes
11374
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11381
if test $ac_prog_rejected = yes; then
11382
# We found a bogon in the path, so make sure we never use it.
11383
set dummy $ac_cv_prog_CC
11385
if test $# != 0; then
11386
# We chose a different compiler from the bogus one.
11387
# However, it has the same basename, so the bogon will be chosen
11388
# first if we set CC to just the basename; use the full file name.
11390
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
11396
if test -n "$CC"; then
11397
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11398
$as_echo "$CC" >&6; }
11400
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11401
$as_echo "no" >&6; }
11406
if test -z "$CC"; then
11407
if test -n "$ac_tool_prefix"; then
11408
for ac_prog in cl.exe
11410
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11411
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11412
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11413
$as_echo_n "checking for $ac_word... " >&6; }
11414
if test "${ac_cv_prog_CC+set}" = set; then :
11415
$as_echo_n "(cached) " >&6
11417
if test -n "$CC"; then
11418
ac_cv_prog_CC="$CC" # Let the user override the test.
11420
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11421
for as_dir in $PATH
11424
test -z "$as_dir" && as_dir=.
11425
for ac_exec_ext in '' $ac_executable_extensions; do
11426
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11427
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11428
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11438
if test -n "$CC"; then
11439
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11440
$as_echo "$CC" >&6; }
11442
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11443
$as_echo "no" >&6; }
11447
test -n "$CC" && break
11450
if test -z "$CC"; then
11452
for ac_prog in cl.exe
11454
# Extract the first word of "$ac_prog", so it can be a program name with args.
11455
set dummy $ac_prog; ac_word=$2
11456
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11457
$as_echo_n "checking for $ac_word... " >&6; }
11458
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
11459
$as_echo_n "(cached) " >&6
11461
if test -n "$ac_ct_CC"; then
11462
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11464
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11465
for as_dir in $PATH
11468
test -z "$as_dir" && as_dir=.
11469
for ac_exec_ext in '' $ac_executable_extensions; do
11470
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11471
ac_cv_prog_ac_ct_CC="$ac_prog"
11472
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11481
ac_ct_CC=$ac_cv_prog_ac_ct_CC
11482
if test -n "$ac_ct_CC"; then
11483
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11484
$as_echo "$ac_ct_CC" >&6; }
11486
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11487
$as_echo "no" >&6; }
11491
test -n "$ac_ct_CC" && break
11494
if test "x$ac_ct_CC" = x; then
11497
case $cross_compiling:$ac_tool_warned in
11499
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11500
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11501
ac_tool_warned=yes ;;
11510
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11511
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11512
as_fn_error "no acceptable C compiler found in \$PATH
11513
See \`config.log' for more details." "$LINENO" 5; }
11515
# Provide some information about the compiler.
11516
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
11519
for ac_option in --version -v -V -qversion; do
11520
{ { ac_try="$ac_compiler $ac_option >&5"
11521
case "(($ac_try" in
11522
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11523
*) ac_try_echo=$ac_try;;
11525
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11526
$as_echo "$ac_try_echo"; } >&5
11527
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
11529
if test -s conftest.err; then
11531
... rest of stderr output deleted ...
11532
10q' conftest.err >conftest.er1
11533
cat conftest.er1 >&5
11535
rm -f conftest.er1 conftest.err
11536
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11537
test $ac_status = 0; }
11540
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
11541
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
11542
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
11543
$as_echo_n "(cached) " >&6
11545
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11546
/* end confdefs.h. */
11559
if ac_fn_c_try_compile "$LINENO"; then :
11560
ac_compiler_gnu=yes
11564
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11565
ac_cv_c_compiler_gnu=$ac_compiler_gnu
11568
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
11569
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
11570
if test $ac_compiler_gnu = yes; then
11575
ac_test_CFLAGS=${CFLAGS+set}
11576
ac_save_CFLAGS=$CFLAGS
11577
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
11578
$as_echo_n "checking whether $CC accepts -g... " >&6; }
11579
if test "${ac_cv_prog_cc_g+set}" = set; then :
11580
$as_echo_n "(cached) " >&6
11582
ac_save_c_werror_flag=$ac_c_werror_flag
11583
ac_c_werror_flag=yes
11586
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11587
/* end confdefs.h. */
11597
if ac_fn_c_try_compile "$LINENO"; then :
11598
ac_cv_prog_cc_g=yes
11601
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11602
/* end confdefs.h. */
11612
if ac_fn_c_try_compile "$LINENO"; then :
11615
ac_c_werror_flag=$ac_save_c_werror_flag
11617
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11618
/* end confdefs.h. */
11628
if ac_fn_c_try_compile "$LINENO"; then :
11629
ac_cv_prog_cc_g=yes
11631
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11633
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11635
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11636
ac_c_werror_flag=$ac_save_c_werror_flag
11638
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
11639
$as_echo "$ac_cv_prog_cc_g" >&6; }
11640
if test "$ac_test_CFLAGS" = set; then
11641
CFLAGS=$ac_save_CFLAGS
11642
elif test $ac_cv_prog_cc_g = yes; then
11643
if test "$GCC" = yes; then
11649
if test "$GCC" = yes; then
11655
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
11656
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
11657
if test "${ac_cv_prog_cc_c89+set}" = set; then :
11658
$as_echo_n "(cached) " >&6
11660
ac_cv_prog_cc_c89=no
11662
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11663
/* end confdefs.h. */
11664
#include <stdarg.h>
11666
#include <sys/types.h>
11667
#include <sys/stat.h>
11668
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11669
struct buf { int x; };
11670
FILE * (*rcsopen) (struct buf *, struct stat *, int);
11671
static char *e (p, i)
11677
static char *f (char * (*g) (char **, int), char **p, ...)
11682
s = g (p, va_arg (v,int));
11687
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11688
function prototypes and stuff, but not '\xHH' hex character constants.
11689
These don't provoke an error unfortunately, instead are silently treated
11690
as 'x'. The following induces an error, until -std is added to get
11691
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11692
array size at least. It's necessary to write '\x00'==0 to get something
11693
that's true only with -std. */
11694
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11696
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
11697
inside strings and character constants. */
11699
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
11701
int test (int i, double x);
11702
struct s1 {int (*f) (int a);};
11703
struct s2 {int (*f) (double a);};
11704
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11710
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11715
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
11716
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11718
CC="$ac_save_CC $ac_arg"
11719
if ac_fn_c_try_compile "$LINENO"; then :
11720
ac_cv_prog_cc_c89=$ac_arg
11722
rm -f core conftest.err conftest.$ac_objext
11723
test "x$ac_cv_prog_cc_c89" != "xno" && break
11725
rm -f conftest.$ac_ext
11730
case "x$ac_cv_prog_cc_c89" in
11732
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
11733
$as_echo "none needed" >&6; } ;;
11735
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
11736
$as_echo "unsupported" >&6; } ;;
11738
CC="$CC $ac_cv_prog_cc_c89"
11739
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
11740
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
11742
if test "x$ac_cv_prog_cc_c89" != xno; then :
11747
ac_cpp='$CPP $CPPFLAGS'
11748
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11749
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11750
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11752
depcc="$CC" am_compiler_list=
11754
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
11755
$as_echo_n "checking dependency style of $depcc... " >&6; }
11756
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
11757
$as_echo_n "(cached) " >&6
11759
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
11760
# We make a subdir and do the tests there. Otherwise we can end up
11761
# making bogus files that we don't know about and never remove. For
11762
# instance it was reported that on HP-UX the gcc test will end up
11763
# making a dummy file named `D' -- because `-MD' means `put the output
11766
# Copy depcomp to subdir because otherwise we won't find it if we're
11767
# using a relative directory.
11768
cp "$am_depcomp" conftest.dir
11770
# We will build objects and dependencies in a subdirectory because
11771
# it helps to detect inapplicable dependency modes. For instance
11772
# both Tru64's cc and ICC support -MD to output dependencies as a
11773
# side effect of compilation, but ICC will put the dependencies in
11774
# the current directory while Tru64 will put them in the object
11778
am_cv_CC_dependencies_compiler_type=none
11779
if test "$am_compiler_list" = ""; then
11780
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
11782
am__universal=false
11783
case " $depcc " in #(
11784
*\ -arch\ *\ -arch\ *) am__universal=true ;;
11787
for depmode in $am_compiler_list; do
11788
# Setup a source with many dependencies, because some compilers
11789
# like to wrap large dependency lists on column 80 (with \), and
11790
# we should not choose a depcomp mode which is confused by this.
11792
# We need to recreate these files for each test, as the compiler may
11793
# overwrite some of them when testing with obscure command lines.
11794
# This happens at least with the AIX C compiler.
11796
for i in 1 2 3 4 5 6; do
11797
echo '#include "conftst'$i'.h"' >> sub/conftest.c
11798
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
11799
# Solaris 8's {/usr,}/bin/sh.
11800
touch sub/conftst$i.h
11802
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
11804
# We check with `-c' and `-o' for the sake of the "dashmstdout"
11805
# mode. It turns out that the SunPro C++ compiler does not properly
11806
# handle `-M -o', and we need to detect this. Also, some Intel
11807
# versions had trouble with output in subdirs
11808
am__obj=sub/conftest.${OBJEXT-o}
11809
am__minus_obj="-o $am__obj"
11812
# This depmode causes a compiler race in universal mode.
11813
test "$am__universal" = false || continue
11816
# after this tag, mechanisms are not by side-effect, so they'll
11817
# only be used when explicitly requested
11818
if test "x$enable_dependency_tracking" = xyes; then
11824
msvisualcpp | msvcmsys)
11825
# This compiler won't grok `-c -o', but also, the minuso test has
11826
# not run yet. These depmodes are late enough in the game, and
11827
# so weak that their functioning should not be impacted.
11828
am__obj=conftest.${OBJEXT-o}
11833
if depmode=$depmode \
11834
source=sub/conftest.c object=$am__obj \
11835
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
11836
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
11837
>/dev/null 2>conftest.err &&
11838
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
11839
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
11840
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
11841
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
11842
# icc doesn't choke on unknown options, it will just issue warnings
11843
# or remarks (even with -Werror). So we grep stderr for any message
11844
# that says an option was ignored or not supported.
11845
# When given -MP, icc 7.0 and 7.1 complain thusly:
11846
# icc: Command line warning: ignoring option '-M'; no argument required
11847
# The diagnosis changed in icc 8.0:
11848
# icc: Command line remark: option '-MP' not supported
11849
if (grep 'ignoring option' conftest.err ||
11850
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
11851
am_cv_CC_dependencies_compiler_type=$depmode
11858
rm -rf conftest.dir
11860
am_cv_CC_dependencies_compiler_type=none
11864
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
11865
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
11866
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
11869
test "x$enable_dependency_tracking" != xno \
11870
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
11871
am__fastdepCC_TRUE=
11872
am__fastdepCC_FALSE='#'
11874
am__fastdepCC_TRUE='#'
11875
am__fastdepCC_FALSE=
11880
am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
11882
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
11883
$as_echo_n "checking for ANSI C header files... " >&6; }
11884
if test "${ac_cv_header_stdc+set}" = set; then :
11885
$as_echo_n "(cached) " >&6
11887
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11888
/* end confdefs.h. */
11889
#include <stdlib.h>
11890
#include <stdarg.h>
11891
#include <string.h>
11902
if ac_fn_c_try_compile "$LINENO"; then :
11903
ac_cv_header_stdc=yes
11905
ac_cv_header_stdc=no
11907
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11909
if test $ac_cv_header_stdc = yes; then
11910
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11911
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11912
/* end confdefs.h. */
11913
#include <string.h>
11916
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11917
$EGREP "memchr" >/dev/null 2>&1; then :
11920
ac_cv_header_stdc=no
11926
if test $ac_cv_header_stdc = yes; then
11927
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11928
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11929
/* end confdefs.h. */
11930
#include <stdlib.h>
11933
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11934
$EGREP "free" >/dev/null 2>&1; then :
11937
ac_cv_header_stdc=no
11943
if test $ac_cv_header_stdc = yes; then
11944
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11945
if test "$cross_compiling" = yes; then :
11948
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11949
/* end confdefs.h. */
11951
#include <stdlib.h>
11952
#if ((' ' & 0x0FF) == 0x020)
11953
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11954
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11956
# define ISLOWER(c) \
11957
(('a' <= (c) && (c) <= 'i') \
11958
|| ('j' <= (c) && (c) <= 'r') \
11959
|| ('s' <= (c) && (c) <= 'z'))
11960
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11963
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11968
for (i = 0; i < 256; i++)
11969
if (XOR (islower (i), ISLOWER (i))
11970
|| toupper (i) != TOUPPER (i))
11975
if ac_fn_c_try_run "$LINENO"; then :
11978
ac_cv_header_stdc=no
11980
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
11981
conftest.$ac_objext conftest.beam conftest.$ac_ext
11986
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
11987
$as_echo "$ac_cv_header_stdc" >&6; }
11988
if test $ac_cv_header_stdc = yes; then
11990
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
11995
# Checks for header files.
11996
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
11997
$as_echo_n "checking for ANSI C header files... " >&6; }
11998
if test "${ac_cv_header_stdc+set}" = set; then :
11999
$as_echo_n "(cached) " >&6
12001
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12002
/* end confdefs.h. */
12003
#include <stdlib.h>
12004
#include <stdarg.h>
12005
#include <string.h>
12016
if ac_fn_c_try_compile "$LINENO"; then :
12017
ac_cv_header_stdc=yes
12019
ac_cv_header_stdc=no
12021
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12023
if test $ac_cv_header_stdc = yes; then
12024
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12025
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12026
/* end confdefs.h. */
12027
#include <string.h>
12030
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12031
$EGREP "memchr" >/dev/null 2>&1; then :
12034
ac_cv_header_stdc=no
12040
if test $ac_cv_header_stdc = yes; then
12041
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12042
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12043
/* end confdefs.h. */
12044
#include <stdlib.h>
12047
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12048
$EGREP "free" >/dev/null 2>&1; then :
12051
ac_cv_header_stdc=no
12057
if test $ac_cv_header_stdc = yes; then
12058
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12059
if test "$cross_compiling" = yes; then :
12062
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12063
/* end confdefs.h. */
12065
#include <stdlib.h>
12066
#if ((' ' & 0x0FF) == 0x020)
12067
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12068
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12070
# define ISLOWER(c) \
12071
(('a' <= (c) && (c) <= 'i') \
12072
|| ('j' <= (c) && (c) <= 'r') \
12073
|| ('s' <= (c) && (c) <= 'z'))
12074
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12077
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12082
for (i = 0; i < 256; i++)
12083
if (XOR (islower (i), ISLOWER (i))
12084
|| toupper (i) != TOUPPER (i))
12089
if ac_fn_c_try_run "$LINENO"; then :
12092
ac_cv_header_stdc=no
12094
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12095
conftest.$ac_objext conftest.beam conftest.$ac_ext
12100
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
12101
$as_echo "$ac_cv_header_stdc" >&6; }
12102
if test $ac_cv_header_stdc = yes; then
12104
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
12109
# Checks for typedefs, structures, and compiler characteristics.
12111
# Checks for library functions.
12113
# Large file support
12114
# Check whether --enable-largefile was given.
12115
if test "${enable_largefile+set}" = set; then :
12116
enableval=$enable_largefile; largefile=$enableval
12122
if test x"$largefile" = x"yes"; then
12123
CPPFLAGS="$CPPFLAGS -D_LARGEFILE_SOURCE -D_REENTRANT -D_FILE_OFFSET_BITS=64"
12125
$as_echo "#define _LARGEFILE64_SOURCE 1" >>confdefs.h
12128
$as_echo "#define _FILE_OFFSET_BITS 64" >>confdefs.h
12132
# Check whether --enable-cast-checks was given.
12133
if test "${enable_cast_checks+set}" = set; then :
12134
enableval=$enable_cast_checks; cast_checks=$enableval
12140
if test x"$cast_checks" = "xno"; then
12141
G_CAST_CHECKS="-DG_DISABLE_CAST_CHECKS"
12145
# Check whether --enable-debug was given.
12146
if test "${enable_debug+set}" = set; then :
12147
enableval=$enable_debug; enable_debug="${enableval}"
12153
if test "$enable_debug" = "yes"; then
12154
# turn on debug and disable optimization
12155
CPPFLAGS="$CPPFLAGS -DG_ENABLE_DEBUG -O0 -g"
12157
# turn off glib debug checks
12158
# G_DISABLE_CAST_CHECKS is already handled by $(G_CAST_CHECKS)
12159
CPPFLAGS="$CPPFLAGS -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS"
12164
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
12165
$as_echo_n "checking whether NLS is requested... " >&6; }
12166
# Check whether --enable-nls was given.
12167
if test "${enable_nls+set}" = set; then :
12168
enableval=$enable_nls; USE_NLS=$enableval
12173
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
12174
$as_echo "$USE_NLS" >&6; }
12179
case "$am__api_version" in
12181
as_fn_error "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
12187
if test -n "0.40.0"; then
12188
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.40.0" >&5
12189
$as_echo_n "checking for intltool >= 0.40.0... " >&6; }
12191
INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.40.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
12192
INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
12193
INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
12195
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
12196
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
12197
test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
12198
as_fn_error "Your intltool is too old. You need intltool 0.40.0 or later." "$LINENO" 5
12201
# Extract the first word of "intltool-update", so it can be a program name with args.
12202
set dummy intltool-update; ac_word=$2
12203
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12204
$as_echo_n "checking for $ac_word... " >&6; }
12205
if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then :
12206
$as_echo_n "(cached) " >&6
12208
case $INTLTOOL_UPDATE in
12210
ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
12213
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12214
for as_dir in $PATH
12217
test -z "$as_dir" && as_dir=.
12218
for ac_exec_ext in '' $ac_executable_extensions; do
12219
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12220
ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
12221
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12231
INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
12232
if test -n "$INTLTOOL_UPDATE"; then
12233
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
12234
$as_echo "$INTLTOOL_UPDATE" >&6; }
12236
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12237
$as_echo "no" >&6; }
12241
# Extract the first word of "intltool-merge", so it can be a program name with args.
12242
set dummy intltool-merge; ac_word=$2
12243
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12244
$as_echo_n "checking for $ac_word... " >&6; }
12245
if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then :
12246
$as_echo_n "(cached) " >&6
12248
case $INTLTOOL_MERGE in
12250
ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
12253
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12254
for as_dir in $PATH
12257
test -z "$as_dir" && as_dir=.
12258
for ac_exec_ext in '' $ac_executable_extensions; do
12259
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12260
ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
12261
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12271
INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
12272
if test -n "$INTLTOOL_MERGE"; then
12273
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
12274
$as_echo "$INTLTOOL_MERGE" >&6; }
12276
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12277
$as_echo "no" >&6; }
12281
# Extract the first word of "intltool-extract", so it can be a program name with args.
12282
set dummy intltool-extract; ac_word=$2
12283
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12284
$as_echo_n "checking for $ac_word... " >&6; }
12285
if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then :
12286
$as_echo_n "(cached) " >&6
12288
case $INTLTOOL_EXTRACT in
12290
ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
12293
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12294
for as_dir in $PATH
12297
test -z "$as_dir" && as_dir=.
12298
for ac_exec_ext in '' $ac_executable_extensions; do
12299
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12300
ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
12301
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12311
INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
12312
if test -n "$INTLTOOL_EXTRACT"; then
12313
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
12314
$as_echo "$INTLTOOL_EXTRACT" >&6; }
12316
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12317
$as_echo "no" >&6; }
12321
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
12322
as_fn_error "The intltool scripts were not found. Please install intltool." "$LINENO" 5
12325
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 $< $@'
12326
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 $< $@'
12327
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 $< $@'
12328
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 $< $@'
12329
INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
12330
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 $< $@'
12331
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 $< $@'
12332
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 $< $@'
12333
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 $< $@'
12334
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 $< $@'
12335
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 $< $@'
12336
INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
12337
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 $< $@'
12338
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 $< $@'
12339
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 $< $@'
12340
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 $< $@'
12341
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 $< $@'
12342
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 $< $@'
12343
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 $< $@'
12441
# Check the gettext tools to make sure they are GNU
12442
# Extract the first word of "xgettext", so it can be a program name with args.
12443
set dummy xgettext; ac_word=$2
12444
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12445
$as_echo_n "checking for $ac_word... " >&6; }
12446
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
12447
$as_echo_n "(cached) " >&6
12451
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
12454
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12455
for as_dir in $PATH
12458
test -z "$as_dir" && as_dir=.
12459
for ac_exec_ext in '' $ac_executable_extensions; do
12460
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12461
ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
12462
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12472
XGETTEXT=$ac_cv_path_XGETTEXT
12473
if test -n "$XGETTEXT"; then
12474
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
12475
$as_echo "$XGETTEXT" >&6; }
12477
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12478
$as_echo "no" >&6; }
12482
# Extract the first word of "msgmerge", so it can be a program name with args.
12483
set dummy msgmerge; ac_word=$2
12484
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12485
$as_echo_n "checking for $ac_word... " >&6; }
12486
if test "${ac_cv_path_MSGMERGE+set}" = set; then :
12487
$as_echo_n "(cached) " >&6
12491
ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
12494
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12495
for as_dir in $PATH
12498
test -z "$as_dir" && as_dir=.
12499
for ac_exec_ext in '' $ac_executable_extensions; do
12500
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12501
ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
12502
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12512
MSGMERGE=$ac_cv_path_MSGMERGE
12513
if test -n "$MSGMERGE"; then
12514
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
12515
$as_echo "$MSGMERGE" >&6; }
12517
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12518
$as_echo "no" >&6; }
12522
# Extract the first word of "msgfmt", so it can be a program name with args.
12523
set dummy msgfmt; ac_word=$2
12524
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12525
$as_echo_n "checking for $ac_word... " >&6; }
12526
if test "${ac_cv_path_MSGFMT+set}" = set; then :
12527
$as_echo_n "(cached) " >&6
12531
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
12534
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12535
for as_dir in $PATH
12538
test -z "$as_dir" && as_dir=.
12539
for ac_exec_ext in '' $ac_executable_extensions; do
12540
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12541
ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
12542
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12552
MSGFMT=$ac_cv_path_MSGFMT
12553
if test -n "$MSGFMT"; then
12554
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
12555
$as_echo "$MSGFMT" >&6; }
12557
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12558
$as_echo "no" >&6; }
12562
# Extract the first word of "gmsgfmt", so it can be a program name with args.
12563
set dummy gmsgfmt; ac_word=$2
12564
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12565
$as_echo_n "checking for $ac_word... " >&6; }
12566
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
12567
$as_echo_n "(cached) " >&6
12571
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
12574
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12575
for as_dir in $PATH
12578
test -z "$as_dir" && as_dir=.
12579
for ac_exec_ext in '' $ac_executable_extensions; do
12580
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12581
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
12582
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12589
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
12593
GMSGFMT=$ac_cv_path_GMSGFMT
12594
if test -n "$GMSGFMT"; then
12595
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
12596
$as_echo "$GMSGFMT" >&6; }
12598
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12599
$as_echo "no" >&6; }
12603
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
12604
as_fn_error "GNU gettext tools not found; required for intltool" "$LINENO" 5
12606
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
12607
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
12608
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
12609
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
12610
as_fn_error "GNU gettext tools not found; required for intltool" "$LINENO" 5
12613
# Extract the first word of "perl", so it can be a program name with args.
12614
set dummy perl; ac_word=$2
12615
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12616
$as_echo_n "checking for $ac_word... " >&6; }
12617
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then :
12618
$as_echo_n "(cached) " >&6
12620
case $INTLTOOL_PERL in
12622
ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
12625
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12626
for as_dir in $PATH
12629
test -z "$as_dir" && as_dir=.
12630
for ac_exec_ext in '' $ac_executable_extensions; do
12631
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12632
ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
12633
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12643
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
12644
if test -n "$INTLTOOL_PERL"; then
12645
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
12646
$as_echo "$INTLTOOL_PERL" >&6; }
12648
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12649
$as_echo "no" >&6; }
12653
if test -z "$INTLTOOL_PERL"; then
12654
as_fn_error "perl not found" "$LINENO" 5
12656
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
12657
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
12658
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
12659
if test $? -ne 0; then
12660
as_fn_error "perl 5.8.1 is required for intltool" "$LINENO" 5
12662
IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
12663
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
12664
$as_echo "$IT_PERL_VERSION" >&6; }
12666
if test "x" != "xno-xml"; then
12667
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
12668
$as_echo_n "checking for XML::Parser... " >&6; }
12669
if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
12670
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
12671
$as_echo "ok" >&6; }
12673
as_fn_error "XML::Parser perl module is required for intltool" "$LINENO" 5
12677
# Substitute ALL_LINGUAS so we can use it in po/Makefile
12680
# Set DATADIRNAME correctly if it is not set yet
12681
# (copied from glib-gettext.m4)
12682
if test -z "$DATADIRNAME"; then
12683
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12684
/* end confdefs.h. */
12689
extern int _nl_msg_cat_cntr;
12690
return _nl_msg_cat_cntr
12695
if ac_fn_c_try_link "$LINENO"; then :
12700
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
12701
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
12713
rm -f core conftest.err conftest.$ac_objext \
12714
conftest$ac_exeext conftest.$ac_ext
12722
# Checks for libraries.
12726
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12727
if test -n "$ac_tool_prefix"; then
12728
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12729
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12730
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12731
$as_echo_n "checking for $ac_word... " >&6; }
12732
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
12733
$as_echo_n "(cached) " >&6
12735
case $PKG_CONFIG in
12737
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12740
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12741
for as_dir in $PATH
12744
test -z "$as_dir" && as_dir=.
12745
for ac_exec_ext in '' $ac_executable_extensions; do
12746
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12747
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12748
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12758
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12759
if test -n "$PKG_CONFIG"; then
12760
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12761
$as_echo "$PKG_CONFIG" >&6; }
12763
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12764
$as_echo "no" >&6; }
12769
if test -z "$ac_cv_path_PKG_CONFIG"; then
12770
ac_pt_PKG_CONFIG=$PKG_CONFIG
12771
# Extract the first word of "pkg-config", so it can be a program name with args.
12772
set dummy pkg-config; ac_word=$2
12773
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12774
$as_echo_n "checking for $ac_word... " >&6; }
12775
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
12776
$as_echo_n "(cached) " >&6
12778
case $ac_pt_PKG_CONFIG in
12780
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12783
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12784
for as_dir in $PATH
12787
test -z "$as_dir" && as_dir=.
12788
for ac_exec_ext in '' $ac_executable_extensions; do
12789
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12790
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12791
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12801
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12802
if test -n "$ac_pt_PKG_CONFIG"; then
12803
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12804
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
12806
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12807
$as_echo "no" >&6; }
12810
if test "x$ac_pt_PKG_CONFIG" = x; then
12813
case $cross_compiling:$ac_tool_warned in
12815
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12816
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12817
ac_tool_warned=yes ;;
12819
PKG_CONFIG=$ac_pt_PKG_CONFIG
12822
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12826
if test -n "$PKG_CONFIG"; then
12827
_pkg_min_version=0.9.0
12828
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12829
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12830
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12831
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12832
$as_echo "yes" >&6; }
12834
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12835
$as_echo "no" >&6; }
12842
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XLIB" >&5
12843
$as_echo_n "checking for XLIB... " >&6; }
12845
if test -n "$XLIB_CFLAGS"; then
12846
pkg_cv_XLIB_CFLAGS="$XLIB_CFLAGS"
12847
elif test -n "$PKG_CONFIG"; then
12848
if test -n "$PKG_CONFIG" && \
12849
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\"x11\"\""; } >&5
12850
($PKG_CONFIG --exists --print-errors ""x11"") 2>&5
12852
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12853
test $ac_status = 0; }; then
12854
pkg_cv_XLIB_CFLAGS=`$PKG_CONFIG --cflags ""x11"" 2>/dev/null`
12861
if test -n "$XLIB_LIBS"; then
12862
pkg_cv_XLIB_LIBS="$XLIB_LIBS"
12863
elif test -n "$PKG_CONFIG"; then
12864
if test -n "$PKG_CONFIG" && \
12865
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\"x11\"\""; } >&5
12866
($PKG_CONFIG --exists --print-errors ""x11"") 2>&5
12868
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12869
test $ac_status = 0; }; then
12870
pkg_cv_XLIB_LIBS=`$PKG_CONFIG --libs ""x11"" 2>/dev/null`
12880
if test $pkg_failed = yes; then
12882
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12883
_pkg_short_errors_supported=yes
12885
_pkg_short_errors_supported=no
12887
if test $_pkg_short_errors_supported = yes; then
12888
XLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors ""x11"" 2>&1`
12890
XLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors ""x11"" 2>&1`
12892
# Put the nasty error message in config.log where it belongs
12893
echo "$XLIB_PKG_ERRORS" >&5
12895
as_fn_error "Package requirements (\"x11\") were not met:
12899
Consider adjusting the PKG_CONFIG_PATH environment variable if you
12900
installed software in a non-standard prefix.
12902
Alternatively, you may set the environment variables XLIB_CFLAGS
12903
and XLIB_LIBS to avoid the need to call pkg-config.
12904
See the pkg-config man page for more details.
12906
elif test $pkg_failed = untried; then
12907
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12908
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12909
as_fn_error "The pkg-config script could not be found or is too old. Make sure it
12910
is in your PATH or set the PKG_CONFIG environment variable to the full
12911
path to pkg-config.
12913
Alternatively, you may set the environment variables XLIB_CFLAGS
12914
and XLIB_LIBS to avoid the need to call pkg-config.
12915
See the pkg-config man page for more details.
12917
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12918
See \`config.log' for more details." "$LINENO" 5; }
12920
XLIB_CFLAGS=$pkg_cv_XLIB_CFLAGS
12921
XLIB_LIBS=$pkg_cv_XLIB_LIBS
12922
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12923
$as_echo "yes" >&6; }
12929
gtk_modules="gtk+-2.0 >= 2.16.0"
12932
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
12933
$as_echo_n "checking for GTK... " >&6; }
12935
if test -n "$GTK_CFLAGS"; then
12936
pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
12937
elif test -n "$PKG_CONFIG"; then
12938
if test -n "$PKG_CONFIG" && \
12939
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_modules\""; } >&5
12940
($PKG_CONFIG --exists --print-errors "$gtk_modules") 2>&5
12942
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12943
test $ac_status = 0; }; then
12944
pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "$gtk_modules" 2>/dev/null`
12951
if test -n "$GTK_LIBS"; then
12952
pkg_cv_GTK_LIBS="$GTK_LIBS"
12953
elif test -n "$PKG_CONFIG"; then
12954
if test -n "$PKG_CONFIG" && \
12955
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_modules\""; } >&5
12956
($PKG_CONFIG --exists --print-errors "$gtk_modules") 2>&5
12958
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12959
test $ac_status = 0; }; then
12960
pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "$gtk_modules" 2>/dev/null`
12970
if test $pkg_failed = yes; then
12972
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12973
_pkg_short_errors_supported=yes
12975
_pkg_short_errors_supported=no
12977
if test $_pkg_short_errors_supported = yes; then
12978
GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$gtk_modules" 2>&1`
12980
GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors "$gtk_modules" 2>&1`
12982
# Put the nasty error message in config.log where it belongs
12983
echo "$GTK_PKG_ERRORS" >&5
12985
as_fn_error "Package requirements ($gtk_modules) were not met:
12989
Consider adjusting the PKG_CONFIG_PATH environment variable if you
12990
installed software in a non-standard prefix.
12992
Alternatively, you may set the environment variables GTK_CFLAGS
12993
and GTK_LIBS to avoid the need to call pkg-config.
12994
See the pkg-config man page for more details.
12996
elif test $pkg_failed = untried; then
12997
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12998
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12999
as_fn_error "The pkg-config script could not be found or is too old. Make sure it
13000
is in your PATH or set the PKG_CONFIG environment variable to the full
13001
path to pkg-config.
13003
Alternatively, you may set the environment variables GTK_CFLAGS
13004
and GTK_LIBS to avoid the need to call pkg-config.
13005
See the pkg-config man page for more details.
13007
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13008
See \`config.log' for more details." "$LINENO" 5; }
13010
GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
13011
GTK_LIBS=$pkg_cv_GTK_LIBS
13012
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13013
$as_echo "yes" >&6; }
13019
gio_modules="gthread-2.0 gio-unix-2.0"
13022
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO" >&5
13023
$as_echo_n "checking for GIO... " >&6; }
13025
if test -n "$GIO_CFLAGS"; then
13026
pkg_cv_GIO_CFLAGS="$GIO_CFLAGS"
13027
elif test -n "$PKG_CONFIG"; then
13028
if test -n "$PKG_CONFIG" && \
13029
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gio_modules\""; } >&5
13030
($PKG_CONFIG --exists --print-errors "$gio_modules") 2>&5
13032
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13033
test $ac_status = 0; }; then
13034
pkg_cv_GIO_CFLAGS=`$PKG_CONFIG --cflags "$gio_modules" 2>/dev/null`
13041
if test -n "$GIO_LIBS"; then
13042
pkg_cv_GIO_LIBS="$GIO_LIBS"
13043
elif test -n "$PKG_CONFIG"; then
13044
if test -n "$PKG_CONFIG" && \
13045
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gio_modules\""; } >&5
13046
($PKG_CONFIG --exists --print-errors "$gio_modules") 2>&5
13048
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13049
test $ac_status = 0; }; then
13050
pkg_cv_GIO_LIBS=`$PKG_CONFIG --libs "$gio_modules" 2>/dev/null`
13060
if test $pkg_failed = yes; then
13062
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13063
_pkg_short_errors_supported=yes
13065
_pkg_short_errors_supported=no
13067
if test $_pkg_short_errors_supported = yes; then
13068
GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$gio_modules" 2>&1`
13070
GIO_PKG_ERRORS=`$PKG_CONFIG --print-errors "$gio_modules" 2>&1`
13072
# Put the nasty error message in config.log where it belongs
13073
echo "$GIO_PKG_ERRORS" >&5
13075
as_fn_error "Package requirements ($gio_modules) were not met:
13079
Consider adjusting the PKG_CONFIG_PATH environment variable if you
13080
installed software in a non-standard prefix.
13082
Alternatively, you may set the environment variables GIO_CFLAGS
13083
and GIO_LIBS to avoid the need to call pkg-config.
13084
See the pkg-config man page for more details.
13086
elif test $pkg_failed = untried; then
13087
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13088
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13089
as_fn_error "The pkg-config script could not be found or is too old. Make sure it
13090
is in your PATH or set the PKG_CONFIG environment variable to the full
13091
path to pkg-config.
13093
Alternatively, you may set the environment variables GIO_CFLAGS
13094
and GIO_LIBS to avoid the need to call pkg-config.
13095
See the pkg-config man page for more details.
13097
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13098
See \`config.log' for more details." "$LINENO" 5; }
13100
GIO_CFLAGS=$pkg_cv_GIO_CFLAGS
13101
GIO_LIBS=$pkg_cv_GIO_LIBS
13102
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13103
$as_echo "yes" >&6; }
13109
gmodule_modules="gmodule-2.0"
13112
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GMODULE" >&5
13113
$as_echo_n "checking for GMODULE... " >&6; }
13115
if test -n "$GMODULE_CFLAGS"; then
13116
pkg_cv_GMODULE_CFLAGS="$GMODULE_CFLAGS"
13117
elif test -n "$PKG_CONFIG"; then
13118
if test -n "$PKG_CONFIG" && \
13119
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gmodule_modules\""; } >&5
13120
($PKG_CONFIG --exists --print-errors "$gmodule_modules") 2>&5
13122
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13123
test $ac_status = 0; }; then
13124
pkg_cv_GMODULE_CFLAGS=`$PKG_CONFIG --cflags "$gmodule_modules" 2>/dev/null`
13131
if test -n "$GMODULE_LIBS"; then
13132
pkg_cv_GMODULE_LIBS="$GMODULE_LIBS"
13133
elif test -n "$PKG_CONFIG"; then
13134
if test -n "$PKG_CONFIG" && \
13135
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gmodule_modules\""; } >&5
13136
($PKG_CONFIG --exists --print-errors "$gmodule_modules") 2>&5
13138
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13139
test $ac_status = 0; }; then
13140
pkg_cv_GMODULE_LIBS=`$PKG_CONFIG --libs "$gmodule_modules" 2>/dev/null`
13150
if test $pkg_failed = yes; then
13152
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13153
_pkg_short_errors_supported=yes
13155
_pkg_short_errors_supported=no
13157
if test $_pkg_short_errors_supported = yes; then
13158
GMODULE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$gmodule_modules" 2>&1`
13160
GMODULE_PKG_ERRORS=`$PKG_CONFIG --print-errors "$gmodule_modules" 2>&1`
13162
# Put the nasty error message in config.log where it belongs
13163
echo "$GMODULE_PKG_ERRORS" >&5
13165
as_fn_error "Package requirements ($gmodule_modules) were not met:
13167
$GMODULE_PKG_ERRORS
13169
Consider adjusting the PKG_CONFIG_PATH environment variable if you
13170
installed software in a non-standard prefix.
13172
Alternatively, you may set the environment variables GMODULE_CFLAGS
13173
and GMODULE_LIBS to avoid the need to call pkg-config.
13174
See the pkg-config man page for more details.
13176
elif test $pkg_failed = untried; then
13177
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13178
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13179
as_fn_error "The pkg-config script could not be found or is too old. Make sure it
13180
is in your PATH or set the PKG_CONFIG environment variable to the full
13181
path to pkg-config.
13183
Alternatively, you may set the environment variables GMODULE_CFLAGS
13184
and GMODULE_LIBS to avoid the need to call pkg-config.
13185
See the pkg-config man page for more details.
13187
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13188
See \`config.log' for more details." "$LINENO" 5; }
13190
GMODULE_CFLAGS=$pkg_cv_GMODULE_CFLAGS
13191
GMODULE_LIBS=$pkg_cv_GMODULE_LIBS
13192
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13193
$as_echo "yes" >&6; }
13199
fm_modules="libfm-gtk >= 0.1.10"
13202
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for FM" >&5
13203
$as_echo_n "checking for FM... " >&6; }
13205
if test -n "$FM_CFLAGS"; then
13206
pkg_cv_FM_CFLAGS="$FM_CFLAGS"
13207
elif test -n "$PKG_CONFIG"; then
13208
if test -n "$PKG_CONFIG" && \
13209
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fm_modules\""; } >&5
13210
($PKG_CONFIG --exists --print-errors "$fm_modules") 2>&5
13212
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13213
test $ac_status = 0; }; then
13214
pkg_cv_FM_CFLAGS=`$PKG_CONFIG --cflags "$fm_modules" 2>/dev/null`
13221
if test -n "$FM_LIBS"; then
13222
pkg_cv_FM_LIBS="$FM_LIBS"
13223
elif test -n "$PKG_CONFIG"; then
13224
if test -n "$PKG_CONFIG" && \
13225
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fm_modules\""; } >&5
13226
($PKG_CONFIG --exists --print-errors "$fm_modules") 2>&5
13228
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13229
test $ac_status = 0; }; then
13230
pkg_cv_FM_LIBS=`$PKG_CONFIG --libs "$fm_modules" 2>/dev/null`
13240
if test $pkg_failed = yes; then
13242
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13243
_pkg_short_errors_supported=yes
13245
_pkg_short_errors_supported=no
13247
if test $_pkg_short_errors_supported = yes; then
13248
FM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$fm_modules" 2>&1`
13250
FM_PKG_ERRORS=`$PKG_CONFIG --print-errors "$fm_modules" 2>&1`
13252
# Put the nasty error message in config.log where it belongs
13253
echo "$FM_PKG_ERRORS" >&5
13255
as_fn_error "Package requirements ($fm_modules) were not met:
13259
Consider adjusting the PKG_CONFIG_PATH environment variable if you
13260
installed software in a non-standard prefix.
13262
Alternatively, you may set the environment variables FM_CFLAGS
13263
and FM_LIBS to avoid the need to call pkg-config.
13264
See the pkg-config man page for more details.
13266
elif test $pkg_failed = untried; then
13267
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13268
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13269
as_fn_error "The pkg-config script could not be found or is too old. Make sure it
13270
is in your PATH or set the PKG_CONFIG environment variable to the full
13271
path to pkg-config.
13273
Alternatively, you may set the environment variables FM_CFLAGS
13274
and FM_LIBS to avoid the need to call pkg-config.
13275
See the pkg-config man page for more details.
13277
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13278
See \`config.log' for more details." "$LINENO" 5; }
13280
FM_CFLAGS=$pkg_cv_FM_CFLAGS
13281
FM_LIBS=$pkg_cv_FM_LIBS
13282
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13283
$as_echo "yes" >&6; }
13289
menu_modules="libmenu-cache >= 0.3.2"
13292
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MENU_CACHE" >&5
13293
$as_echo_n "checking for MENU_CACHE... " >&6; }
13295
if test -n "$MENU_CACHE_CFLAGS"; then
13296
pkg_cv_MENU_CACHE_CFLAGS="$MENU_CACHE_CFLAGS"
13297
elif test -n "$PKG_CONFIG"; then
13298
if test -n "$PKG_CONFIG" && \
13299
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$menu_modules\""; } >&5
13300
($PKG_CONFIG --exists --print-errors "$menu_modules") 2>&5
13302
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13303
test $ac_status = 0; }; then
13304
pkg_cv_MENU_CACHE_CFLAGS=`$PKG_CONFIG --cflags "$menu_modules" 2>/dev/null`
13311
if test -n "$MENU_CACHE_LIBS"; then
13312
pkg_cv_MENU_CACHE_LIBS="$MENU_CACHE_LIBS"
13313
elif test -n "$PKG_CONFIG"; then
13314
if test -n "$PKG_CONFIG" && \
13315
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$menu_modules\""; } >&5
13316
($PKG_CONFIG --exists --print-errors "$menu_modules") 2>&5
13318
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13319
test $ac_status = 0; }; then
13320
pkg_cv_MENU_CACHE_LIBS=`$PKG_CONFIG --libs "$menu_modules" 2>/dev/null`
13330
if test $pkg_failed = yes; then
13332
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13333
_pkg_short_errors_supported=yes
13335
_pkg_short_errors_supported=no
13337
if test $_pkg_short_errors_supported = yes; then
13338
MENU_CACHE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$menu_modules" 2>&1`
13340
MENU_CACHE_PKG_ERRORS=`$PKG_CONFIG --print-errors "$menu_modules" 2>&1`
13342
# Put the nasty error message in config.log where it belongs
13343
echo "$MENU_CACHE_PKG_ERRORS" >&5
13345
as_fn_error "Package requirements ($menu_modules) were not met:
13347
$MENU_CACHE_PKG_ERRORS
13349
Consider adjusting the PKG_CONFIG_PATH environment variable if you
13350
installed software in a non-standard prefix.
13352
Alternatively, you may set the environment variables MENU_CACHE_CFLAGS
13353
and MENU_CACHE_LIBS to avoid the need to call pkg-config.
13354
See the pkg-config man page for more details.
13356
elif test $pkg_failed = untried; then
13357
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13358
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13359
as_fn_error "The pkg-config script could not be found or is too old. Make sure it
13360
is in your PATH or set the PKG_CONFIG environment variable to the full
13361
path to pkg-config.
13363
Alternatively, you may set the environment variables MENU_CACHE_CFLAGS
13364
and MENU_CACHE_LIBS to avoid the need to call pkg-config.
13365
See the pkg-config man page for more details.
13367
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13368
See \`config.log' for more details." "$LINENO" 5; }
13370
MENU_CACHE_CFLAGS=$pkg_cv_MENU_CACHE_CFLAGS
13371
MENU_CACHE_LIBS=$pkg_cv_MENU_CACHE_LIBS
13372
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13373
$as_echo "yes" >&6; }
13379
GETTEXT_PACKAGE=pcmanfm
13382
# Generate po/LINGUAS on the fly rather than relying on translators
13383
# to maintain it manually. This also overcome the problem that Transifex
13384
# cannot add a language to po/LINGUAS if a new po file is submitted.
13385
rm -f $srcdir/po/LINGUAS
13386
for po_file in `ls $srcdir/po/*.po | sort`;
13388
lang=`echo "$po_file" | sed "s|.*/po/\(.*\)\.po|\1|g"`
13389
echo $lang >> $srcdir/po/LINGUAS
13393
for ac_header in locale.h
13395
ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
13396
if test "x$ac_cv_header_locale_h" = x""yes; then :
13397
cat >>confdefs.h <<_ACEOF
13398
#define HAVE_LOCALE_H 1
13405
if test $ac_cv_header_locale_h = yes; then
13406
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
13407
$as_echo_n "checking for LC_MESSAGES... " >&6; }
13408
if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
13409
$as_echo_n "(cached) " >&6
13411
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13412
/* end confdefs.h. */
13413
#include <locale.h>
13422
if ac_fn_c_try_link "$LINENO"; then :
13423
am_cv_val_LC_MESSAGES=yes
13425
am_cv_val_LC_MESSAGES=no
13427
rm -f core conftest.err conftest.$ac_objext \
13428
conftest$ac_exeext conftest.$ac_ext
13430
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
13431
$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
13432
if test $am_cv_val_LC_MESSAGES = yes; then
13434
$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
13441
gt_cv_have_gettext=no
13447
ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
13448
if test "x$ac_cv_header_libintl_h" = x""yes; then :
13449
gt_cv_func_dgettext_libintl="no"
13450
libintl_extra_libs=""
13453
# First check in libc
13455
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
13456
$as_echo_n "checking for ngettext in libc... " >&6; }
13457
if test "${gt_cv_func_ngettext_libc+set}" = set; then :
13458
$as_echo_n "(cached) " >&6
13460
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13461
/* end confdefs.h. */
13463
#include <libintl.h>
13468
return !ngettext ("","", 1)
13473
if ac_fn_c_try_link "$LINENO"; then :
13474
gt_cv_func_ngettext_libc=yes
13476
gt_cv_func_ngettext_libc=no
13478
rm -f core conftest.err conftest.$ac_objext \
13479
conftest$ac_exeext conftest.$ac_ext
13482
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
13483
$as_echo "$gt_cv_func_ngettext_libc" >&6; }
13485
if test "$gt_cv_func_ngettext_libc" = "yes" ; then
13486
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
13487
$as_echo_n "checking for dgettext in libc... " >&6; }
13488
if test "${gt_cv_func_dgettext_libc+set}" = set; then :
13489
$as_echo_n "(cached) " >&6
13491
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13492
/* end confdefs.h. */
13494
#include <libintl.h>
13499
return !dgettext ("","")
13504
if ac_fn_c_try_link "$LINENO"; then :
13505
gt_cv_func_dgettext_libc=yes
13507
gt_cv_func_dgettext_libc=no
13509
rm -f core conftest.err conftest.$ac_objext \
13510
conftest$ac_exeext conftest.$ac_ext
13513
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
13514
$as_echo "$gt_cv_func_dgettext_libc" >&6; }
13517
if test "$gt_cv_func_ngettext_libc" = "yes" ; then
13518
for ac_func in bind_textdomain_codeset
13520
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
13521
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
13522
cat >>confdefs.h <<_ACEOF
13523
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
13532
# If we don't have everything we want, check in libintl
13534
if test "$gt_cv_func_dgettext_libc" != "yes" \
13535
|| test "$gt_cv_func_ngettext_libc" != "yes" \
13536
|| test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
13538
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
13539
$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
13540
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then :
13541
$as_echo_n "(cached) " >&6
13543
ac_check_lib_save_LIBS=$LIBS
13544
LIBS="-lintl $LIBS"
13545
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13546
/* end confdefs.h. */
13548
/* Override any GCC internal prototype to avoid an error.
13549
Use char because int might match the return type of a GCC
13550
builtin and then its argument prototype would still apply. */
13554
char bindtextdomain ();
13558
return bindtextdomain ();
13563
if ac_fn_c_try_link "$LINENO"; then :
13564
ac_cv_lib_intl_bindtextdomain=yes
13566
ac_cv_lib_intl_bindtextdomain=no
13568
rm -f core conftest.err conftest.$ac_objext \
13569
conftest$ac_exeext conftest.$ac_ext
13570
LIBS=$ac_check_lib_save_LIBS
13572
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
13573
$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
13574
if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then :
13575
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
13576
$as_echo_n "checking for ngettext in -lintl... " >&6; }
13577
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
13578
$as_echo_n "(cached) " >&6
13580
ac_check_lib_save_LIBS=$LIBS
13581
LIBS="-lintl $LIBS"
13582
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13583
/* end confdefs.h. */
13585
/* Override any GCC internal prototype to avoid an error.
13586
Use char because int might match the return type of a GCC
13587
builtin and then its argument prototype would still apply. */
13595
return ngettext ();
13600
if ac_fn_c_try_link "$LINENO"; then :
13601
ac_cv_lib_intl_ngettext=yes
13603
ac_cv_lib_intl_ngettext=no
13605
rm -f core conftest.err conftest.$ac_objext \
13606
conftest$ac_exeext conftest.$ac_ext
13607
LIBS=$ac_check_lib_save_LIBS
13609
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
13610
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
13611
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
13612
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
13613
$as_echo_n "checking for dgettext in -lintl... " >&6; }
13614
if test "${ac_cv_lib_intl_dgettext+set}" = set; then :
13615
$as_echo_n "(cached) " >&6
13617
ac_check_lib_save_LIBS=$LIBS
13618
LIBS="-lintl $LIBS"
13619
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13620
/* end confdefs.h. */
13622
/* Override any GCC internal prototype to avoid an error.
13623
Use char because int might match the return type of a GCC
13624
builtin and then its argument prototype would still apply. */
13632
return dgettext ();
13637
if ac_fn_c_try_link "$LINENO"; then :
13638
ac_cv_lib_intl_dgettext=yes
13640
ac_cv_lib_intl_dgettext=no
13642
rm -f core conftest.err conftest.$ac_objext \
13643
conftest$ac_exeext conftest.$ac_ext
13644
LIBS=$ac_check_lib_save_LIBS
13646
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
13647
$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
13648
if test "x$ac_cv_lib_intl_dgettext" = x""yes; then :
13649
gt_cv_func_dgettext_libintl=yes
13657
if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
13658
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
13659
$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
13660
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
13662
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
13663
$as_echo_n "checking for ngettext in -lintl... " >&6; }
13664
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
13665
$as_echo_n "(cached) " >&6
13667
ac_check_lib_save_LIBS=$LIBS
13668
LIBS="-lintl -liconv $LIBS"
13669
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13670
/* end confdefs.h. */
13672
/* Override any GCC internal prototype to avoid an error.
13673
Use char because int might match the return type of a GCC
13674
builtin and then its argument prototype would still apply. */
13682
return ngettext ();
13687
if ac_fn_c_try_link "$LINENO"; then :
13688
ac_cv_lib_intl_ngettext=yes
13690
ac_cv_lib_intl_ngettext=no
13692
rm -f core conftest.err conftest.$ac_objext \
13693
conftest$ac_exeext conftest.$ac_ext
13694
LIBS=$ac_check_lib_save_LIBS
13696
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
13697
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
13698
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
13699
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
13700
$as_echo_n "checking for dcgettext in -lintl... " >&6; }
13701
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then :
13702
$as_echo_n "(cached) " >&6
13704
ac_check_lib_save_LIBS=$LIBS
13705
LIBS="-lintl -liconv $LIBS"
13706
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13707
/* end confdefs.h. */
13709
/* Override any GCC internal prototype to avoid an error.
13710
Use char because int might match the return type of a GCC
13711
builtin and then its argument prototype would still apply. */
13719
return dcgettext ();
13724
if ac_fn_c_try_link "$LINENO"; then :
13725
ac_cv_lib_intl_dcgettext=yes
13727
ac_cv_lib_intl_dcgettext=no
13729
rm -f core conftest.err conftest.$ac_objext \
13730
conftest$ac_exeext conftest.$ac_ext
13731
LIBS=$ac_check_lib_save_LIBS
13733
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
13734
$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
13735
if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then :
13736
gt_cv_func_dgettext_libintl=yes
13737
libintl_extra_libs=-liconv
13749
# If we found libintl, then check in it for bind_textdomain_codeset();
13750
# we'll prefer libc if neither have bind_textdomain_codeset(),
13751
# and both have dgettext and ngettext
13753
if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
13754
glib_save_LIBS="$LIBS"
13755
LIBS="$LIBS -lintl $libintl_extra_libs"
13756
unset ac_cv_func_bind_textdomain_codeset
13757
for ac_func in bind_textdomain_codeset
13759
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
13760
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
13761
cat >>confdefs.h <<_ACEOF
13762
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
13768
LIBS="$glib_save_LIBS"
13770
if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
13771
gt_cv_func_dgettext_libc=no
13773
if test "$gt_cv_func_dgettext_libc" = "yes" \
13774
&& test "$gt_cv_func_ngettext_libc" = "yes"; then
13775
gt_cv_func_dgettext_libintl=no
13781
if test "$gt_cv_func_dgettext_libc" = "yes" \
13782
|| test "$gt_cv_func_dgettext_libintl" = "yes"; then
13783
gt_cv_have_gettext=yes
13786
if test "$gt_cv_func_dgettext_libintl" = "yes"; then
13787
INTLLIBS="-lintl $libintl_extra_libs"
13790
if test "$gt_cv_have_gettext" = "yes"; then
13792
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
13794
# Extract the first word of "msgfmt", so it can be a program name with args.
13795
set dummy msgfmt; ac_word=$2
13796
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13797
$as_echo_n "checking for $ac_word... " >&6; }
13798
if test "${ac_cv_path_MSGFMT+set}" = set; then :
13799
$as_echo_n "(cached) " >&6
13803
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
13806
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
13807
for ac_dir in $PATH; do
13808
test -z "$ac_dir" && ac_dir=.
13809
if test -f $ac_dir/$ac_word; then
13810
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
13811
ac_cv_path_MSGFMT="$ac_dir/$ac_word"
13817
test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
13821
MSGFMT="$ac_cv_path_MSGFMT"
13822
if test "$MSGFMT" != "no"; then
13823
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
13824
$as_echo "$MSGFMT" >&6; }
13826
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13827
$as_echo "no" >&6; }
13829
if test "$MSGFMT" != "no"; then
13830
glib_save_LIBS="$LIBS"
13831
LIBS="$LIBS $INTLLIBS"
13832
for ac_func in dcgettext
13834
ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
13835
if test "x$ac_cv_func_dcgettext" = x""yes; then :
13836
cat >>confdefs.h <<_ACEOF
13837
#define HAVE_DCGETTEXT 1
13844
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
13845
$as_echo_n "checking if msgfmt accepts -c... " >&6; }
13846
cat >conftest.foo <<_ACEOF
13850
"Content-Type: text/plain; charset=UTF-8\n"
13851
"Project-Id-Version: test 1.0\n"
13852
"PO-Revision-Date: 2007-02-15 12:01+0100\n"
13853
"Last-Translator: test <foo@bar.xx>\n"
13854
"Language-Team: C <LL@li.org>\n"
13855
"MIME-Version: 1.0\n"
13856
"Content-Transfer-Encoding: 8bit\n"
13859
if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
13860
($MSGFMT -c -o /dev/null conftest.foo) 2>&5
13862
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13863
test $ac_status = 0; }; then
13864
MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13865
$as_echo "yes" >&6; }
13866
else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13867
$as_echo "no" >&6; }
13868
echo "$as_me: failed input was:" >&5
13869
sed 's/^/| /' conftest.foo >&5
13872
# Extract the first word of "gmsgfmt", so it can be a program name with args.
13873
set dummy gmsgfmt; ac_word=$2
13874
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13875
$as_echo_n "checking for $ac_word... " >&6; }
13876
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
13877
$as_echo_n "(cached) " >&6
13881
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
13884
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13885
for as_dir in $PATH
13888
test -z "$as_dir" && as_dir=.
13889
for ac_exec_ext in '' $ac_executable_extensions; do
13890
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13891
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
13892
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13899
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
13903
GMSGFMT=$ac_cv_path_GMSGFMT
13904
if test -n "$GMSGFMT"; then
13905
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
13906
$as_echo "$GMSGFMT" >&6; }
13908
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13909
$as_echo "no" >&6; }
13913
# Extract the first word of "xgettext", so it can be a program name with args.
13914
set dummy xgettext; ac_word=$2
13915
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13916
$as_echo_n "checking for $ac_word... " >&6; }
13917
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
13918
$as_echo_n "(cached) " >&6
13920
case "$XGETTEXT" in
13922
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
13925
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
13926
for ac_dir in $PATH; do
13927
test -z "$ac_dir" && ac_dir=.
13928
if test -f $ac_dir/$ac_word; then
13929
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
13930
ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
13936
test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
13940
XGETTEXT="$ac_cv_path_XGETTEXT"
13941
if test "$XGETTEXT" != ":"; then
13942
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
13943
$as_echo "$XGETTEXT" >&6; }
13945
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13946
$as_echo "no" >&6; }
13949
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13950
/* end confdefs.h. */
13955
extern int _nl_msg_cat_cntr;
13956
return _nl_msg_cat_cntr
13961
if ac_fn_c_try_link "$LINENO"; then :
13967
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
13968
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
13983
rm -f core conftest.err conftest.$ac_objext \
13984
conftest$ac_exeext conftest.$ac_ext
13985
LIBS="$glib_save_LIBS"
13988
gt_cv_have_gettext=no
13996
if test "$gt_cv_have_gettext" = "yes" ; then
13998
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
14002
if test "$XGETTEXT" != ":"; then
14003
if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
14006
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
14007
$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
14012
# We need to process the po/ directory.
14015
ac_config_commands="$ac_config_commands default-1"
14018
for lang in $ALL_LINGUAS; do
14019
GMOFILES="$GMOFILES $lang.gmo"
14020
POFILES="$POFILES $lang.po"
14035
if test "$gt_cv_have_gettext" = "yes"; then
14036
if test "x$ALL_LINGUAS" = "x"; then
14039
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
14040
$as_echo_n "checking for catalogs to be installed... " >&6; }
14042
for presentlang in $ALL_LINGUAS; do
14044
if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
14045
desiredlanguages="$LINGUAS"
14047
desiredlanguages="$ALL_LINGUAS"
14049
for desiredlang in $desiredlanguages; do
14050
# Use the presentlang catalog if desiredlang is
14051
# a. equal to presentlang, or
14052
# b. a variant of presentlang (because in this case,
14053
# presentlang can be used as a fallback for messages
14054
# which are not translated in the desiredlang catalog).
14055
case "$desiredlang" in
14056
"$presentlang"*) useit=yes;;
14059
if test $useit = yes; then
14060
NEW_LINGUAS="$NEW_LINGUAS $presentlang"
14063
LINGUAS=$NEW_LINGUAS
14064
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
14065
$as_echo "$LINGUAS" >&6; }
14068
if test -n "$LINGUAS"; then
14069
for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
14074
if test -n "$ac_aux_dir"; then
14075
MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
14077
if test -z "$MKINSTALLDIRS"; then
14078
MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
14082
test -d po || mkdir po
14083
if test "x$srcdir" != "x."; then
14084
if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
14085
posrcprefix="$srcdir/"
14087
posrcprefix="../$srcdir/"
14093
sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
14094
< $srcdir/po/POTFILES.in > po/POTFILES
14097
cat >>confdefs.h <<_ACEOF
14098
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
14102
ac_config_files="$ac_config_files Makefile src/Makefile po/Makefile.in data/Makefile data/ui/Makefile data/ui/about.glade data/pcmanfm.desktop"
14105
cat >confcache <<\_ACEOF
14106
# This file is a shell script that caches the results of configure
14107
# tests run on this system so they can be shared between configure
14108
# scripts and configure runs, see configure's option --config-cache.
14109
# It is not useful on other systems. If it contains results you don't
14110
# want to keep, you may remove or edit it.
14112
# config.status only pays attention to the cache file if you give it
14113
# the --recheck option to rerun configure.
14115
# `ac_cv_env_foo' variables (set or unset) will be overridden when
14116
# loading this file, other *unset* `ac_cv_foo' will be assigned the
14117
# following values.
14121
# The following way of writing the cache mishandles newlines in values,
14122
# but we know of no workaround that is simple, portable, and efficient.
14123
# So, we kill variables containing newlines.
14124
# Ultrix sh set writes to stderr and can't be redirected directly,
14125
# and sets the high bit in the cache file unless we assign to the vars.
14127
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14128
eval ac_val=\$$ac_var
14132
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14133
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14136
_ | IFS | as_nl) ;; #(
14137
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14138
*) { eval $ac_var=; unset $ac_var;} ;;
14144
case $as_nl`(ac_space=' '; set) 2>&1` in #(
14145
*${as_nl}ac_space=\ *)
14146
# `set' does not quote correctly, so add quotes: double-quote
14147
# substitution turns \\\\ into \\, and sed turns \\ into \.
14150
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14153
# `set' quotes correctly as required by POSIX, so do not add quotes.
14154
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14163
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14165
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14167
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14168
if test -w "$cache_file"; then
14169
test "x$cache_file" != "x/dev/null" &&
14170
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14171
$as_echo "$as_me: updating cache $cache_file" >&6;}
14172
cat confcache >$cache_file
14174
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14175
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14180
test "x$prefix" = xNONE && prefix=$ac_default_prefix
14181
# Let make expand exec_prefix.
14182
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14184
DEFS=-DHAVE_CONFIG_H
14188
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14189
# 1. Remove the extension, and $U if already installed.
14190
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14191
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14192
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14193
# will be set to the directory where LIBOBJS objects are built.
14194
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14195
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14197
LIBOBJS=$ac_libobjs
14199
LTLIBOBJS=$ac_ltlibobjs
14202
if test -n "$EXEEXT"; then
14204
am__EXEEXT_FALSE='#'
14206
am__EXEEXT_TRUE='#'
14210
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14211
as_fn_error "conditional \"AMDEP\" was never defined.
14212
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14214
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14215
as_fn_error "conditional \"am__fastdepCC\" was never defined.
14216
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14218
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14219
as_fn_error "conditional \"am__fastdepCC\" was never defined.
14220
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14222
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14223
as_fn_error "conditional \"am__fastdepCC\" was never defined.
14224
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14227
ac_config_commands="$ac_config_commands po/stamp-it"
14231
: ${CONFIG_STATUS=./config.status}
14233
ac_clean_files_save=$ac_clean_files
14234
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14235
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14236
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14238
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14240
# Generated by $as_me.
14241
# Run this file to recreate the current configuration.
14242
# Compiler output produced by configure, useful for debugging
14243
# configure, is in config.log if it exists.
14246
ac_cs_recheck=false
14249
SHELL=\${CONFIG_SHELL-$SHELL}
14252
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14253
## -------------------- ##
14254
## M4sh Initialization. ##
14255
## -------------------- ##
14257
# Be more Bourne compatible
14258
DUALCASE=1; export DUALCASE # for MKS sh
14259
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14262
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14263
# is contrary to our usage. Disable this feature.
14264
alias -g '${1+"$@"}'='"$@"'
14265
setopt NO_GLOB_SUBST
14267
case `(set -o) 2>/dev/null` in #(
14279
# Printing a long string crashes Solaris 7 /usr/bin/printf.
14280
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14281
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14282
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14283
# Prefer a ksh shell builtin over an external printf program on Solaris,
14284
# but without wasting forks for bash or zsh.
14285
if test -z "$BASH_VERSION$ZSH_VERSION" \
14286
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14287
as_echo='print -r --'
14288
as_echo_n='print -rn --'
14289
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14290
as_echo='printf %s\n'
14291
as_echo_n='printf %s'
14293
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14294
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
14295
as_echo_n='/usr/ucb/echo -n'
14297
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14298
as_echo_n_body='eval
14302
expr "X$arg" : "X\\(.*\\)$as_nl";
14303
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14305
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14307
export as_echo_n_body
14308
as_echo_n='sh -c $as_echo_n_body as_echo'
14310
export as_echo_body
14311
as_echo='sh -c $as_echo_body as_echo'
14314
# The user is always right.
14315
if test "${PATH_SEPARATOR+set}" != set; then
14317
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14318
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14325
# We need space, tab and new line, in precisely that order. Quoting is
14326
# there to prevent editors from complaining about space-tab.
14327
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
14328
# splitting by setting IFS to empty value.)
14331
# Find who we are. Look in the path if we contain no directory separator.
14333
*[\\/]* ) as_myself=$0 ;;
14334
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14335
for as_dir in $PATH
14338
test -z "$as_dir" && as_dir=.
14339
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14345
# We did not find ourselves, most probably we were run as `sh COMMAND'
14346
# in which case we are not to be found in the path.
14347
if test "x$as_myself" = x; then
14350
if test ! -f "$as_myself"; then
14351
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14355
# Unset variables that we do not need and which cause bugs (e.g. in
14356
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14357
# suppresses any "Segmentation fault" message there. '((' could
14358
# trigger a bug in pdksh 5.2.14.
14359
for as_var in BASH_ENV ENV MAIL MAILPATH
14360
do eval test x\${$as_var+set} = xset \
14361
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14374
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14377
# as_fn_error ERROR [LINENO LOG_FD]
14378
# ---------------------------------
14379
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14380
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14381
# script with status $?, using 1 if that was 0.
14384
as_status=$?; test $as_status -eq 0 && as_status=1
14386
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14387
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14389
$as_echo "$as_me: error: $1" >&2
14390
as_fn_exit $as_status
14394
# as_fn_set_status STATUS
14395
# -----------------------
14396
# Set $? to STATUS, without forking.
14397
as_fn_set_status ()
14400
} # as_fn_set_status
14402
# as_fn_exit STATUS
14403
# -----------------
14404
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14408
as_fn_set_status $1
14414
# Portably unset VAR.
14417
{ eval $1=; unset $1;}
14419
as_unset=as_fn_unset
14420
# as_fn_append VAR VALUE
14421
# ----------------------
14422
# Append the text in VALUE to the end of the definition contained in VAR. Take
14423
# advantage of any shell optimizations that allow amortized linear growth over
14424
# repeated appends, instead of the typical quadratic growth present in naive
14426
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
14427
eval 'as_fn_append ()
14438
# as_fn_arith ARG...
14439
# ------------------
14440
# Perform arithmetic evaluation on the ARGs, and store the result in the
14441
# global $as_val. Take advantage of shells that can avoid forks. The arguments
14442
# must be portable across $(()) and expr.
14443
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
14444
eval 'as_fn_arith ()
14451
as_val=`expr "$@" || test $? -eq 1`
14456
if expr a : '\(a\)' >/dev/null 2>&1 &&
14457
test "X`expr 00001 : '.*\(...\)'`" = X001; then
14463
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14464
as_basename=basename
14469
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14475
as_me=`$as_basename -- "$0" ||
14476
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14477
X"$0" : 'X\(//\)$' \| \
14478
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14480
sed '/^.*\/\([^/][^/]*\)\/*$/{
14494
# Avoid depending upon Character Ranges.
14495
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14496
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14497
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14498
as_cr_digits='0123456789'
14499
as_cr_alnum=$as_cr_Letters$as_cr_digits
14501
ECHO_C= ECHO_N= ECHO_T=
14502
case `echo -n x` in #(((((
14504
case `echo 'xy\c'` in
14505
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
14507
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
14514
rm -f conf$$ conf$$.exe conf$$.file
14515
if test -d conf$$.dir; then
14516
rm -f conf$$.dir/conf$$.file
14519
mkdir conf$$.dir 2>/dev/null
14521
if (echo >conf$$.file) 2>/dev/null; then
14522
if ln -s conf$$.file conf$$ 2>/dev/null; then
14524
# ... but there are two gotchas:
14525
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14526
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14527
# In both cases, we have to default to `cp -p'.
14528
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14530
elif ln conf$$.file conf$$ 2>/dev/null; then
14538
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14539
rmdir conf$$.dir 2>/dev/null
14544
# Create "$as_dir" as a directory, including parents if necessary.
14549
-*) as_dir=./$as_dir;;
14551
test -d "$as_dir" || eval $as_mkdir_p || {
14555
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14556
*) as_qdir=$as_dir;;
14558
as_dirs="'$as_qdir' $as_dirs"
14559
as_dir=`$as_dirname -- "$as_dir" ||
14560
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14561
X"$as_dir" : 'X\(//\)[^/]' \| \
14562
X"$as_dir" : 'X\(//\)$' \| \
14563
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14564
$as_echo X"$as_dir" |
14565
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14569
/^X\(\/\/\)[^/].*/{
14582
test -d "$as_dir" && break
14584
test -z "$as_dirs" || eval "mkdir $as_dirs"
14585
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
14589
if mkdir -p . 2>/dev/null; then
14590
as_mkdir_p='mkdir -p "$as_dir"'
14592
test -d ./-p && rmdir ./-p
14596
if test -x / >/dev/null 2>&1; then
14597
as_test_x='test -x'
14599
if ls -dL / >/dev/null 2>&1; then
14606
if test -d "$1"; then
14612
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14613
???[sx]*):;;*)false;;esac;fi
14617
as_executable_p=$as_test_x
14619
# Sed expression to map a string onto a valid CPP name.
14620
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14622
# Sed expression to map a string onto a valid variable name.
14623
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14627
## ----------------------------------- ##
14628
## Main body of $CONFIG_STATUS script. ##
14629
## ----------------------------------- ##
14631
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14633
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14634
# Save the log message, to keep $0 and so on meaningful, and to
14635
# report actual input values of CONFIG_FILES etc. instead of their
14636
# values after options handling.
14638
This file was extended by pcmanfm $as_me 0.9.7, which was
14639
generated by GNU Autoconf 2.65. Invocation command line was
14641
CONFIG_FILES = $CONFIG_FILES
14642
CONFIG_HEADERS = $CONFIG_HEADERS
14643
CONFIG_LINKS = $CONFIG_LINKS
14644
CONFIG_COMMANDS = $CONFIG_COMMANDS
14647
on `(hostname || uname -n) 2>/dev/null | sed 1q`
14652
case $ac_config_files in *"
14653
"*) set x $ac_config_files; shift; ac_config_files=$*;;
14656
case $ac_config_headers in *"
14657
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
14661
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14662
# Files that config.status was made for.
14663
config_files="$ac_config_files"
14664
config_headers="$ac_config_headers"
14665
config_commands="$ac_config_commands"
14669
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14671
\`$as_me' instantiates files and other configuration actions
14672
from templates according to the current configuration. Unless the files
14673
and actions are specified as TAGs, all are instantiated by default.
14675
Usage: $0 [OPTION]... [TAG]...
14677
-h, --help print this help, then exit
14678
-V, --version print version number and configuration settings, then exit
14679
--config print configuration, then exit
14680
-q, --quiet, --silent
14681
do not print progress messages
14682
-d, --debug don't remove temporary files
14683
--recheck update $as_me by reconfiguring in the same conditions
14684
--file=FILE[:TEMPLATE]
14685
instantiate the configuration file FILE
14686
--header=FILE[:TEMPLATE]
14687
instantiate the configuration header FILE
14689
Configuration files:
14692
Configuration headers:
14695
Configuration commands:
14698
Report bugs to <http://pcmanfm.sf.net/>."
14701
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14702
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14704
pcmanfm config.status 0.9.7
14705
configured by $0, generated by GNU Autoconf 2.65,
14706
with options \\"\$ac_cs_config\\"
14708
Copyright (C) 2009 Free Software Foundation, Inc.
14709
This config.status script is free software; the Free Software Foundation
14710
gives unlimited permission to copy, distribute and modify it."
14717
test -n "\$AWK" || AWK=awk
14720
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14721
# The default lists apply if the user does not specify any file.
14727
ac_option=`expr "X$1" : 'X\([^=]*\)='`
14728
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14739
# Handling of the options.
14740
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14742
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14743
$as_echo "$ac_cs_version"; exit ;;
14744
--config | --confi | --conf | --con | --co | --c )
14745
$as_echo "$ac_cs_config"; exit ;;
14746
--debug | --debu | --deb | --de | --d | -d )
14748
--file | --fil | --fi | --f )
14751
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14753
as_fn_append CONFIG_FILES " '$ac_optarg'"
14754
ac_need_defaults=false;;
14755
--header | --heade | --head | --hea )
14758
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14760
as_fn_append CONFIG_HEADERS " '$ac_optarg'"
14761
ac_need_defaults=false;;
14763
# Conflict between --help and --header
14764
as_fn_error "ambiguous option: \`$1'
14765
Try \`$0 --help' for more information.";;
14766
--help | --hel | -h )
14767
$as_echo "$ac_cs_usage"; exit ;;
14768
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
14769
| -silent | --silent | --silen | --sile | --sil | --si | --s)
14772
# This is an error.
14773
-*) as_fn_error "unrecognized option: \`$1'
14774
Try \`$0 --help' for more information." ;;
14776
*) as_fn_append ac_config_targets " $1"
14777
ac_need_defaults=false ;;
14783
ac_configure_extra_args=
14785
if $ac_cs_silent; then
14787
ac_configure_extra_args="$ac_configure_extra_args --silent"
14791
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14792
if \$ac_cs_recheck; then
14793
set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14795
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14796
CONFIG_SHELL='$SHELL'
14797
export CONFIG_SHELL
14802
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14806
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14807
## Running $as_me. ##
14813
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14817
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14820
# The HP-UX ksh and POSIX shell print the target directory to stdout
14821
# if CDPATH is set.
14822
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14824
sed_quote_subst='$sed_quote_subst'
14825
double_quote_subst='$double_quote_subst'
14826
delay_variable_subst='$delay_variable_subst'
14827
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
14828
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
14829
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
14830
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
14831
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
14832
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
14833
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
14834
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
14835
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
14836
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
14837
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
14838
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
14839
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
14840
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
14841
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
14842
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
14843
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
14844
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
14845
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
14846
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
14847
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
14848
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
14849
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
14850
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
14851
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
14852
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
14853
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
14854
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14855
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
14856
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
14857
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
14858
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
14859
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
14860
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
14861
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
14862
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14863
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14864
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14865
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
14866
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
14867
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
14868
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
14869
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
14870
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
14871
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"`'
14872
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"`'
14873
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
14874
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
14875
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
14876
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
14877
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
14878
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
14879
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
14880
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
14881
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
14882
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
14883
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
14884
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
14885
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
14886
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
14887
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
14888
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
14889
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14890
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14891
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
14892
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
14893
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14894
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14895
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
14896
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14897
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14898
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14899
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14900
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14901
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14902
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
14903
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
14904
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
14905
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14906
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
14907
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
14908
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
14909
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
14910
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
14911
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14912
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
14913
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
14914
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
14915
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
14916
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
14917
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14918
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
14919
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
14920
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14921
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
14922
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
14923
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
14924
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
14925
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
14926
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14927
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14928
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
14929
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
14930
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
14931
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
14932
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14933
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14934
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14935
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
14936
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
14937
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
14938
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
14939
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
14940
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
14941
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
14942
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
14943
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
14944
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
14947
LTCFLAGS='$LTCFLAGS'
14948
compiler='$compiler_DEFAULT'
14950
# Quote evaled strings.
14962
deplibs_check_method \
14971
lt_cv_sys_global_symbol_pipe \
14972
lt_cv_sys_global_symbol_to_cdecl \
14973
lt_cv_sys_global_symbol_to_c_name_address \
14974
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14977
lt_prog_compiler_no_builtin_flag \
14978
lt_prog_compiler_wl \
14979
lt_prog_compiler_pic \
14980
lt_prog_compiler_static \
14981
lt_cv_prog_compiler_c_o \
14989
export_dynamic_flag_spec \
14990
whole_archive_flag_spec \
14991
compiler_needs_object \
14993
allow_undefined_flag \
14994
no_undefined_flag \
14995
hardcode_libdir_flag_spec \
14996
hardcode_libdir_flag_spec_ld \
14997
hardcode_libdir_separator \
15002
variables_saved_for_relink \
15004
library_names_spec \
15009
case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
15010
*[\\\\\\\`\\"\\\$]*)
15011
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15014
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15019
# Double-quote double-evaled strings.
15020
for var in reload_cmds \
15021
old_postinstall_cmds \
15022
old_postuninstall_cmds \
15024
extract_expsyms_cmds \
15025
old_archive_from_new_cmds \
15026
old_archive_from_expsyms_cmds \
15028
archive_expsym_cmds \
15030
module_expsym_cmds \
15031
export_symbols_cmds \
15034
postuninstall_cmds \
15036
sys_lib_search_path_spec \
15037
sys_lib_dlsearch_path_spec; do
15038
case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
15039
*[\\\\\\\`\\"\\\$]*)
15040
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15043
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15048
# Fix-up fallback echo if it was mangled by the above quoting rules.
15050
*'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
15054
ac_aux_dir='$ac_aux_dir'
15055
xsi_shell='$xsi_shell'
15056
lt_shell_append='$lt_shell_append'
15058
# See if we are running on zsh, and set the options which allow our
15059
# commands through without removal of \ escapes INIT.
15060
if test -n "\${ZSH_VERSION+set}" ; then
15061
setopt NO_GLOB_SUBST
15067
TIMESTAMP='$TIMESTAMP'
15077
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15079
# Handling of arguments.
15080
for ac_config_target in $ac_config_targets
15082
case $ac_config_target in
15083
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
15084
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15085
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15086
"default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
15087
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15088
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
15089
"po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
15090
"data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
15091
"data/ui/Makefile") CONFIG_FILES="$CONFIG_FILES data/ui/Makefile" ;;
15092
"data/ui/about.glade") CONFIG_FILES="$CONFIG_FILES data/ui/about.glade" ;;
15093
"data/pcmanfm.desktop") CONFIG_FILES="$CONFIG_FILES data/pcmanfm.desktop" ;;
15094
"po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
15096
*) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15101
# If the user did not use the arguments to specify the items to instantiate,
15102
# then the envvar interface is used. Set only those that are not.
15103
# We use the long form for the default assignment because of an extremely
15104
# bizarre bug on SunOS 4.1.3.
15105
if $ac_need_defaults; then
15106
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15107
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15108
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15111
# Have a temporary directory for convenience. Make it in the build tree
15112
# simply because there is no reason against having it here, and in addition,
15113
# creating and moving files from /tmp can sometimes cause problems.
15114
# Hook for its removal unless debugging.
15115
# Note that there is a small window in which the directory will not be cleaned:
15116
# after its creation but before its name has been assigned to `$tmp'.
15120
trap 'exit_status=$?
15121
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15123
trap 'as_fn_exit 1' 1 2 13 15
15125
# Create a (secure) tmp directory for tmp files.
15128
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15129
test -n "$tmp" && test -d "$tmp"
15132
tmp=./conf$$-$RANDOM
15133
(umask 077 && mkdir "$tmp")
15134
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
15136
# Set up the scripts for CONFIG_FILES section.
15137
# No need to generate them if there are no CONFIG_FILES.
15138
# This happens for instance with `./config.status config.h'.
15139
if test -n "$CONFIG_FILES"; then
15142
ac_cr=`echo X | tr X '\015'`
15143
# On cygwin, bash can eat \r inside `` if the user requested igncr.
15144
# But we know of no other shell where ac_cr would be empty at this
15145
# point, so we can use a bashism as a fallback.
15146
if test "x$ac_cr" = x; then
15147
eval ac_cr=\$\'\\r\'
15149
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15150
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15153
ac_cs_awk_cr=$ac_cr
15156
echo 'BEGIN {' >"$tmp/subs1.awk" &&
15161
echo "cat >conf$$subs.awk <<_ACEOF" &&
15162
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15164
} >conf$$subs.sh ||
15165
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15166
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15168
for ac_last_try in false false false false false :; do
15169
. ./conf$$subs.sh ||
15170
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15172
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15173
if test $ac_delim_n = $ac_delim_num; then
15175
elif $ac_last_try; then
15176
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
15178
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15181
rm -f conf$$subs.sh
15183
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15184
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
15188
s/^/S["/; s/!.*/"]=/
15198
s/\(.\{148\}\)..*/\1/
15200
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15205
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15212
s/\(.\{148\}\)..*/\1/
15214
s/["\\]/\\&/g; s/^/"/; s/$/"/
15218
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15223
' <conf$$subs.awk | sed '
15228
' >>$CONFIG_STATUS || ac_write_fail=1
15229
rm -f conf$$subs.awk
15230
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15232
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
15233
for (key in S) S_is_set[key] = 1
15239
nfields = split(line, field, "@")
15241
len = length(field[1])
15242
for (i = 2; i < nfields; i++) {
15244
keylen = length(key)
15245
if (S_is_set[key]) {
15247
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15248
len += length(value) + length(field[++i])
15259
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15260
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15261
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15264
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
15265
|| as_fn_error "could not setup config files machinery" "$LINENO" 5
15268
# VPATH may cause trouble with some makes, so we remove $(srcdir),
15269
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
15270
# trailing colons and then remove the whole line if VPATH becomes empty
15271
# (actually we leave an empty line to preserve line numbers).
15272
if test "x$srcdir" = x.; then
15273
ac_vpsub='/^[ ]*VPATH[ ]*=/{
15274
s/:*\$(srcdir):*/:/
15275
s/:*\${srcdir}:*/:/
15277
s/^\([^=]*=[ ]*\):*/\1/
15283
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15284
fi # test -n "$CONFIG_FILES"
15286
# Set up the scripts for CONFIG_HEADERS section.
15287
# No need to generate them if there are no CONFIG_HEADERS.
15288
# This happens for instance with `./config.status Makefile'.
15289
if test -n "$CONFIG_HEADERS"; then
15290
cat >"$tmp/defines.awk" <<\_ACAWK ||
15294
# Transform confdefs.h into an awk script `defines.awk', embedded as
15295
# here-document in config.status, that substitutes the proper values into
15296
# config.h.in to produce config.h.
15298
# Create a delimiter string that does not exist in confdefs.h, to ease
15299
# handling of long lines.
15301
for ac_last_try in false false :; do
15302
ac_t=`sed -n "/$ac_delim/p" confdefs.h`
15303
if test -z "$ac_t"; then
15305
elif $ac_last_try; then
15306
as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
15308
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15312
# For the awk script, D is an array of macro values keyed by name,
15313
# likewise P contains macro parameters if any. Preserve backslash
15314
# newline sequences.
15316
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15318
s/.\{148\}/&'"$ac_delim"'/g
15321
s/^[ ]*#[ ]*define[ ][ ]*/ /
15328
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
15330
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
15334
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
15335
D["\1"]=" \3\\\\\\n"\\/p
15337
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
15342
s/.\{148\}/&'"$ac_delim"'/g
15347
s/["\\]/\\&/g; s/^/"/; s/$/"/p
15350
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
15352
' <confdefs.h | sed '
15353
s/'"$ac_delim"'/"\\\
15354
"/g' >>$CONFIG_STATUS || ac_write_fail=1
15356
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15357
for (key in D) D_is_set[key] = 1
15360
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15362
split(line, arg, " ")
15363
if (arg[1] == "#") {
15367
defundef = substr(arg[1], 2)
15370
split(mac1, mac2, "(") #)
15372
prefix = substr(line, 1, index(line, defundef) - 1)
15373
if (D_is_set[macro]) {
15374
# Preserve the white space surrounding the "#".
15375
print prefix "define", macro P[macro] D[macro]
15378
# Replace #undef with comments. This is necessary, for example,
15379
# in the case of _POSIX_SOURCE, which is predefined and required
15380
# on some systems where configure will not decide to define it.
15381
if (defundef == "undef") {
15382
print "/*", prefix defundef, macro, "*/"
15390
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15391
as_fn_error "could not setup config headers machinery" "$LINENO" 5
15392
fi # test -n "$CONFIG_HEADERS"
15395
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15400
:[FHLC]) ac_mode=$ac_tag; continue;;
15402
case $ac_mode$ac_tag in
15404
:L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
15405
:[FH]-) ac_tag=-:-;;
15406
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15423
-) ac_f="$tmp/stdin";;
15424
*) # Look for the file first in the build tree, then in the source tree
15425
# (if the path is not absolute). The absolute path cannot be DOS-style,
15426
# because $ac_f cannot contain `:'.
15430
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15432
as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15434
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15435
as_fn_append ac_file_inputs " '$ac_f'"
15438
# Let's still pretend it is `configure' which instantiates (i.e., don't
15439
# use $as_me), people would be surprised to read:
15440
# /* config.h. Generated by config.status. */
15441
configure_input='Generated from '`
15442
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15444
if test x"$ac_file" != x-; then
15445
configure_input="$ac_file. $configure_input"
15446
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15447
$as_echo "$as_me: creating $ac_file" >&6;}
15449
# Neutralize special characters interpreted by sed in replacement strings.
15450
case $configure_input in #(
15451
*\&* | *\|* | *\\* )
15452
ac_sed_conf_input=`$as_echo "$configure_input" |
15453
sed 's/[\\\\&|]/\\\\&/g'`;; #(
15454
*) ac_sed_conf_input=$configure_input;;
15458
*:-:* | *:-) cat >"$tmp/stdin" \
15459
|| as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
15464
ac_dir=`$as_dirname -- "$ac_file" ||
15465
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15466
X"$ac_file" : 'X\(//\)[^/]' \| \
15467
X"$ac_file" : 'X\(//\)$' \| \
15468
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15469
$as_echo X"$ac_file" |
15470
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15474
/^X\(\/\/\)[^/].*/{
15487
as_dir="$ac_dir"; as_fn_mkdir_p
15491
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15493
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15494
# A ".." for each directory in $ac_dir_suffix.
15495
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15496
case $ac_top_builddir_sub in
15497
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15498
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15501
ac_abs_top_builddir=$ac_pwd
15502
ac_abs_builddir=$ac_pwd$ac_dir_suffix
15503
# for backward compatibility:
15504
ac_top_builddir=$ac_top_build_prefix
15507
.) # We are building in place.
15509
ac_top_srcdir=$ac_top_builddir_sub
15510
ac_abs_top_srcdir=$ac_pwd ;;
15511
[\\/]* | ?:[\\/]* ) # Absolute name.
15512
ac_srcdir=$srcdir$ac_dir_suffix;
15513
ac_top_srcdir=$srcdir
15514
ac_abs_top_srcdir=$srcdir ;;
15515
*) # Relative name.
15516
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15517
ac_top_srcdir=$ac_top_build_prefix$srcdir
15518
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15520
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15530
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15531
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15533
ac_MKDIR_P=$MKDIR_P
15535
[\\/$]* | ?:[\\/]* ) ;;
15536
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
15540
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15541
# If the template does not know about datarootdir, expand it.
15542
# FIXME: This hack should be removed a few years after 2.60.
15543
ac_datarootdir_hack=; ac_datarootdir_seen=
15554
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15555
*datarootdir*) ac_datarootdir_seen=yes;;
15556
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15557
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15558
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15560
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15561
ac_datarootdir_hack='
15562
s&@datadir@&$datadir&g
15563
s&@docdir@&$docdir&g
15564
s&@infodir@&$infodir&g
15565
s&@localedir@&$localedir&g
15566
s&@mandir@&$mandir&g
15567
s&\\\${datarootdir}&$datarootdir&g' ;;
15571
# Neutralize VPATH when `$srcdir' = `.'.
15572
# Shell code in configure.ac might set extrasub.
15573
# FIXME: do we really want to maintain this feature?
15574
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15575
ac_sed_extra="$ac_vpsub
15578
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15580
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15581
s|@configure_input@|$ac_sed_conf_input|;t t
15582
s&@top_builddir@&$ac_top_builddir_sub&;t t
15583
s&@top_build_prefix@&$ac_top_build_prefix&;t t
15584
s&@srcdir@&$ac_srcdir&;t t
15585
s&@abs_srcdir@&$ac_abs_srcdir&;t t
15586
s&@top_srcdir@&$ac_top_srcdir&;t t
15587
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
15588
s&@builddir@&$ac_builddir&;t t
15589
s&@abs_builddir@&$ac_abs_builddir&;t t
15590
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
15591
s&@INSTALL@&$ac_INSTALL&;t t
15592
s&@MKDIR_P@&$ac_MKDIR_P&;t t
15593
$ac_datarootdir_hack
15595
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
15596
|| as_fn_error "could not create $ac_file" "$LINENO" 5
15598
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15599
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
15600
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
15601
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15602
which seems to be undefined. Please make sure it is defined." >&5
15603
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15604
which seems to be undefined. Please make sure it is defined." >&2;}
15608
-) cat "$tmp/out" && rm -f "$tmp/out";;
15609
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15611
|| as_fn_error "could not create $ac_file" "$LINENO" 5
15617
if test x"$ac_file" != x-; then
15619
$as_echo "/* $configure_input */" \
15620
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
15621
} >"$tmp/config.h" \
15622
|| as_fn_error "could not create $ac_file" "$LINENO" 5
15623
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
15624
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15625
$as_echo "$as_me: $ac_file is unchanged" >&6;}
15628
mv "$tmp/config.h" "$ac_file" \
15629
|| as_fn_error "could not create $ac_file" "$LINENO" 5
15632
$as_echo "/* $configure_input */" \
15633
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
15634
|| as_fn_error "could not create -" "$LINENO" 5
15636
# Compute "$ac_file"'s index in $config_headers.
15639
for _am_header in $config_headers :; do
15640
case $_am_header in
15641
$_am_arg | $_am_arg:* )
15644
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
15647
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15648
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15649
X"$_am_arg" : 'X\(//\)[^/]' \| \
15650
X"$_am_arg" : 'X\(//\)$' \| \
15651
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15652
$as_echo X"$_am_arg" |
15653
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15657
/^X\(\/\/\)[^/].*/{
15669
s/.*/./; q'`/stamp-h$_am_stamp_count
15672
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15673
$as_echo "$as_me: executing $ac_file commands" >&6;}
15678
case $ac_file$ac_mode in
15679
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
15680
# Autoconf 2.62 quotes --file arguments for eval, but not when files
15681
# are listed without --file. Let's play safe and only enable the eval
15682
# if we detect the quoting.
15683
case $CONFIG_FILES in
15684
*\'*) eval set x "$CONFIG_FILES" ;;
15685
*) set x $CONFIG_FILES ;;
15690
# Strip MF so we end up with the name of the file.
15691
mf=`echo "$mf" | sed -e 's/:.*$//'`
15692
# Check whether this is an Automake generated Makefile or not.
15693
# We used to match only the files named `Makefile.in', but
15694
# some people rename them; so instead we look at the file content.
15695
# Grep'ing the first line is not enough: some people post-process
15696
# each Makefile.in and add a new line on top of each file to say so.
15697
# Grep'ing the whole file is not good either: AIX grep has a line
15698
# limit of 2048, but all sed's we know have understand at least 4000.
15699
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
15700
dirpart=`$as_dirname -- "$mf" ||
15701
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15702
X"$mf" : 'X\(//\)[^/]' \| \
15703
X"$mf" : 'X\(//\)$' \| \
15704
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15706
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15710
/^X\(\/\/\)[^/].*/{
15726
# Extract the definition of DEPDIR, am__include, and am__quote
15727
# from the Makefile without running `make'.
15728
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
15729
test -z "$DEPDIR" && continue
15730
am__include=`sed -n 's/^am__include = //p' < "$mf"`
15731
test -z "am__include" && continue
15732
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15733
# When using ansi2knr, U may be empty or an underscore; expand it
15734
U=`sed -n 's/^U = //p' < "$mf"`
15735
# Find all dependency output files, they are included files with
15736
# $(DEPDIR) in their names. We invoke sed twice because it is the
15737
# simplest approach to changing $(DEPDIR) to its actual value in the
15739
for file in `sed -n "
15740
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15741
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
15742
# Make sure the directory exists.
15743
test -f "$dirpart/$file" && continue
15744
fdir=`$as_dirname -- "$file" ||
15745
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15746
X"$file" : 'X\(//\)[^/]' \| \
15747
X"$file" : 'X\(//\)$' \| \
15748
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15749
$as_echo X"$file" |
15750
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15754
/^X\(\/\/\)[^/].*/{
15767
as_dir=$dirpart/$fdir; as_fn_mkdir_p
15768
# echo "creating $dirpart/$file"
15769
echo '# dummy' > "$dirpart/$file"
15776
# See if we are running on zsh, and set the options which allow our
15777
# commands through without removal of \ escapes.
15778
if test -n "${ZSH_VERSION+set}" ; then
15779
setopt NO_GLOB_SUBST
15782
cfgfile="${ofile}T"
15783
trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15786
cat <<_LT_EOF >> "$cfgfile"
15789
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15790
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15791
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15792
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
15794
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15795
# 2006, 2007, 2008 Free Software Foundation, Inc.
15796
# Written by Gordon Matzigkeit, 1996
15798
# This file is part of GNU Libtool.
15800
# GNU Libtool is free software; you can redistribute it and/or
15801
# modify it under the terms of the GNU General Public License as
15802
# published by the Free Software Foundation; either version 2 of
15803
# the License, or (at your option) any later version.
15805
# As a special exception to the GNU General Public License,
15806
# if you distribute this file as part of a program or library that
15807
# is built using GNU Libtool, you may include this file under the
15808
# same distribution terms that you use for the rest of that program.
15810
# GNU Libtool is distributed in the hope that it will be useful,
15811
# but WITHOUT ANY WARRANTY; without even the implied warranty of
15812
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15813
# GNU General Public License for more details.
15815
# You should have received a copy of the GNU General Public License
15816
# along with GNU Libtool; see the file COPYING. If not, a copy
15817
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15818
# obtained by writing to the Free Software Foundation, Inc.,
15819
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15822
# The names of the tagged configurations supported by this script.
15825
# ### BEGIN LIBTOOL CONFIG
15827
# Which release of libtool.m4 was used?
15828
macro_version=$macro_version
15829
macro_revision=$macro_revision
15831
# Whether or not to build shared libraries.
15832
build_libtool_libs=$enable_shared
15834
# Whether or not to build static libraries.
15835
build_old_libs=$enable_static
15837
# What type of objects to build.
15840
# Whether or not to optimize for fast installation.
15841
fast_install=$enable_fast_install
15844
host_alias=$host_alias
15848
# The build system.
15849
build_alias=$build_alias
15853
# A sed program that does not truncate output.
15856
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
15857
Xsed="\$SED -e 1s/^X//"
15859
# A grep program that handles long lines.
15865
# A literal string matcher.
15868
# A BSD- or MS-compatible name lister.
15871
# Whether we need soft or hard links.
15874
# What is the maximum length of a command?
15875
max_cmd_len=$max_cmd_len
15877
# Object file suffix (normally "o").
15880
# Executable file suffix (normally "").
15883
# whether the shell understands "unset".
15886
# turn spaces into newlines.
15889
# turn newlines into spaces.
15892
# How to create reloadable object files.
15893
reload_flag=$lt_reload_flag
15894
reload_cmds=$lt_reload_cmds
15896
# An object symbol dumper.
15897
OBJDUMP=$lt_OBJDUMP
15899
# Method to check whether dependent libraries are shared objects.
15900
deplibs_check_method=$lt_deplibs_check_method
15902
# Command to use when deplibs_check_method == "file_magic".
15903
file_magic_cmd=$lt_file_magic_cmd
15907
AR_FLAGS=$lt_AR_FLAGS
15909
# A symbol stripping program.
15912
# Commands used to install an old-style archive.
15914
old_postinstall_cmds=$lt_old_postinstall_cmds
15915
old_postuninstall_cmds=$lt_old_postuninstall_cmds
15920
# LTCC compiler flags.
15921
LTCFLAGS=$lt_CFLAGS
15923
# Take the output of nm and produce a listing of raw symbols and C names.
15924
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15926
# Transform the output of nm in a proper C declaration.
15927
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15929
# Transform the output of nm in a C name address pair.
15930
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15932
# Transform the output of nm in a C name address pair when lib prefix is needed.
15933
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15935
# The name of the directory that contains temporary libtool files.
15938
# Shell to use when invoking shell scripts.
15941
# An echo program that does not interpret backslashes.
15944
# Used to examine libraries when file_magic_cmd begins with "file".
15945
MAGIC_CMD=$MAGIC_CMD
15947
# Must we lock files when doing compilation?
15948
need_locks=$lt_need_locks
15950
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15951
DSYMUTIL=$lt_DSYMUTIL
15953
# Tool to change global to local symbols on Mac OS X.
15956
# Tool to manipulate fat objects and archives on Mac OS X.
15959
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
15962
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15963
OTOOL64=$lt_OTOOL64
15965
# Old archive suffix (normally "a").
15968
# Shared library suffix (normally ".so").
15969
shrext_cmds=$lt_shrext_cmds
15971
# The commands to extract the exported symbol list from a shared archive.
15972
extract_expsyms_cmds=$lt_extract_expsyms_cmds
15974
# Variables whose values should be saved in libtool wrapper scripts and
15975
# restored at link time.
15976
variables_saved_for_relink=$lt_variables_saved_for_relink
15978
# Do we need the "lib" prefix for modules?
15979
need_lib_prefix=$need_lib_prefix
15981
# Do we need a version for libraries?
15982
need_version=$need_version
15984
# Library versioning type.
15985
version_type=$version_type
15987
# Shared library runtime path variable.
15988
runpath_var=$runpath_var
15990
# Shared library path variable.
15991
shlibpath_var=$shlibpath_var
15993
# Is shlibpath searched before the hard-coded library search path?
15994
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15996
# Format of library name prefix.
15997
libname_spec=$lt_libname_spec
15999
# List of archive names. First name is the real one, the rest are links.
16000
# The last name is the one that the linker finds with -lNAME
16001
library_names_spec=$lt_library_names_spec
16003
# The coded name of the library, if different from the real name.
16004
soname_spec=$lt_soname_spec
16006
# Command to use after installation of a shared archive.
16007
postinstall_cmds=$lt_postinstall_cmds
16009
# Command to use after uninstallation of a shared archive.
16010
postuninstall_cmds=$lt_postuninstall_cmds
16012
# Commands used to finish a libtool library installation in a directory.
16013
finish_cmds=$lt_finish_cmds
16015
# As "finish_cmds", except a single script fragment to be evaled but
16017
finish_eval=$lt_finish_eval
16019
# Whether we should hardcode library paths into libraries.
16020
hardcode_into_libs=$hardcode_into_libs
16022
# Compile-time system search path for libraries.
16023
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16025
# Run-time system search path for libraries.
16026
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16028
# Whether dlopen is supported.
16029
dlopen_support=$enable_dlopen
16031
# Whether dlopen of programs is supported.
16032
dlopen_self=$enable_dlopen_self
16034
# Whether dlopen of statically linked programs is supported.
16035
dlopen_self_static=$enable_dlopen_self_static
16037
# Commands to strip libraries.
16038
old_striplib=$lt_old_striplib
16039
striplib=$lt_striplib
16042
# The linker used to build libraries.
16045
# Commands used to build an old-style archive.
16046
old_archive_cmds=$lt_old_archive_cmds
16048
# A language specific compiler.
16051
# Is the compiler the GNU compiler?
16054
# Compiler flag to turn off builtin functions.
16055
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16057
# How to pass a linker flag through the compiler.
16058
wl=$lt_lt_prog_compiler_wl
16060
# Additional compiler flags for building library objects.
16061
pic_flag=$lt_lt_prog_compiler_pic
16063
# Compiler flag to prevent dynamic linking.
16064
link_static_flag=$lt_lt_prog_compiler_static
16066
# Does compiler simultaneously support -c and -o options?
16067
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16069
# Whether or not to add -lc for building shared libraries.
16070
build_libtool_need_lc=$archive_cmds_need_lc
16072
# Whether or not to disallow shared libs when runtime libs are static.
16073
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16075
# Compiler flag to allow reflexive dlopens.
16076
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16078
# Compiler flag to generate shared objects directly from archives.
16079
whole_archive_flag_spec=$lt_whole_archive_flag_spec
16081
# Whether the compiler copes with passing no objects directly.
16082
compiler_needs_object=$lt_compiler_needs_object
16084
# Create an old-style archive from a shared archive.
16085
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16087
# Create a temporary old-style archive to link instead of a shared archive.
16088
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16090
# Commands used to build a shared archive.
16091
archive_cmds=$lt_archive_cmds
16092
archive_expsym_cmds=$lt_archive_expsym_cmds
16094
# Commands used to build a loadable module if different from building
16095
# a shared archive.
16096
module_cmds=$lt_module_cmds
16097
module_expsym_cmds=$lt_module_expsym_cmds
16099
# Whether we are building with GNU ld or not.
16100
with_gnu_ld=$lt_with_gnu_ld
16102
# Flag that allows shared libraries with undefined symbols to be built.
16103
allow_undefined_flag=$lt_allow_undefined_flag
16105
# Flag that enforces no undefined symbols.
16106
no_undefined_flag=$lt_no_undefined_flag
16108
# Flag to hardcode \$libdir into a binary during linking.
16109
# This must work even if \$libdir does not exist
16110
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16112
# If ld is used when linking, flag to hardcode \$libdir into a binary
16113
# during linking. This must work even if \$libdir does not exist.
16114
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
16116
# Whether we need a single "-rpath" flag with a separated argument.
16117
hardcode_libdir_separator=$lt_hardcode_libdir_separator
16119
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16120
# DIR into the resulting binary.
16121
hardcode_direct=$hardcode_direct
16123
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16124
# DIR into the resulting binary and the resulting library dependency is
16125
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16126
# library is relocated.
16127
hardcode_direct_absolute=$hardcode_direct_absolute
16129
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16130
# into the resulting binary.
16131
hardcode_minus_L=$hardcode_minus_L
16133
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16134
# into the resulting binary.
16135
hardcode_shlibpath_var=$hardcode_shlibpath_var
16137
# Set to "yes" if building a shared library automatically hardcodes DIR
16138
# into the library and all subsequent libraries and executables linked
16140
hardcode_automatic=$hardcode_automatic
16142
# Set to yes if linker adds runtime paths of dependent libraries
16143
# to runtime path list.
16144
inherit_rpath=$inherit_rpath
16146
# Whether libtool must link a program against all its dependency libraries.
16147
link_all_deplibs=$link_all_deplibs
16149
# Fix the shell variable \$srcfile for the compiler.
16150
fix_srcfile_path=$lt_fix_srcfile_path
16152
# Set to "yes" if exported symbols are required.
16153
always_export_symbols=$always_export_symbols
16155
# The commands to list exported symbols.
16156
export_symbols_cmds=$lt_export_symbols_cmds
16158
# Symbols that should not be listed in the preloaded symbols.
16159
exclude_expsyms=$lt_exclude_expsyms
16161
# Symbols that must always be exported.
16162
include_expsyms=$lt_include_expsyms
16164
# Commands necessary for linking programs (against libraries) with templates.
16165
prelink_cmds=$lt_prelink_cmds
16167
# Specify filename containing input files.
16168
file_list_spec=$lt_file_list_spec
16170
# How to hardcode a shared library path into an executable.
16171
hardcode_action=$hardcode_action
16173
# ### END LIBTOOL CONFIG
16179
cat <<\_LT_EOF >> "$cfgfile"
16180
# AIX sometimes has problems with the GCC collect2 program. For some
16181
# reason, if we set the COLLECT_NAMES environment variable, the problems
16182
# vanish in a puff of smoke.
16183
if test "X${COLLECT_NAMES+set}" != Xset; then
16185
export COLLECT_NAMES
16192
ltmain="$ac_aux_dir/ltmain.sh"
16195
# We use sed instead of cat because bash on DJGPP gets confused if
16196
# if finds mixed CR/LF and LF-only lines. Since sed operates in
16197
# text mode, it properly converts lines to CR/LF. This bash problem
16198
# is reportedly fixed, but why not run on old versions too?
16199
sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16200
|| (rm -f "$cfgfile"; exit 1)
16204
cat << \_LT_EOF >> "$cfgfile"
16206
# func_dirname file append nondir_replacement
16207
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
16208
# otherwise set result to NONDIR_REPLACEMENT.
16212
*/*) func_dirname_result="${1%/*}${2}" ;;
16213
* ) func_dirname_result="${3}" ;;
16217
# func_basename file
16220
func_basename_result="${1##*/}"
16223
# func_dirname_and_basename file append nondir_replacement
16224
# perform func_basename and func_dirname in a single function
16226
# dirname: Compute the dirname of FILE. If nonempty,
16227
# add APPEND to the result, otherwise set result
16228
# to NONDIR_REPLACEMENT.
16229
# value returned in "$func_dirname_result"
16230
# basename: Compute filename of FILE.
16231
# value retuned in "$func_basename_result"
16232
# Implementation must be kept synchronized with func_dirname
16233
# and func_basename. For efficiency, we do not delegate to
16234
# those functions but instead duplicate the functionality here.
16235
func_dirname_and_basename ()
16238
*/*) func_dirname_result="${1%/*}${2}" ;;
16239
* ) func_dirname_result="${3}" ;;
16241
func_basename_result="${1##*/}"
16244
# func_stripname prefix suffix name
16245
# strip PREFIX and SUFFIX off of NAME.
16246
# PREFIX and SUFFIX must not contain globbing or regex special
16247
# characters, hashes, percent signs, but SUFFIX may contain a leading
16248
# dot (in which case that matches only a dot).
16251
# pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
16252
# positional parameters, so assign one to ordinary parameter first.
16253
func_stripname_result=${3}
16254
func_stripname_result=${func_stripname_result#"${1}"}
16255
func_stripname_result=${func_stripname_result%"${2}"}
16261
func_opt_split_opt=${1%%=*}
16262
func_opt_split_arg=${1#*=}
16269
*.lo) func_lo2o_result=${1%.lo}.${objext} ;;
16270
*) func_lo2o_result=${1} ;;
16274
# func_xform libobj-or-source
16277
func_xform_result=${1%.*}.lo
16280
# func_arith arithmetic-term...
16283
func_arith_result=$(( $* ))
16287
# STRING may not start with a hyphen.
16290
func_len_result=${#1}
16295
*) # Bourne compatible functions.
16296
cat << \_LT_EOF >> "$cfgfile"
16298
# func_dirname file append nondir_replacement
16299
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
16300
# otherwise set result to NONDIR_REPLACEMENT.
16303
# Extract subdirectory from the argument.
16304
func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
16305
if test "X$func_dirname_result" = "X${1}"; then
16306
func_dirname_result="${3}"
16308
func_dirname_result="$func_dirname_result${2}"
16312
# func_basename file
16315
func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
16319
# func_stripname prefix suffix name
16320
# strip PREFIX and SUFFIX off of NAME.
16321
# PREFIX and SUFFIX must not contain globbing or regex special
16322
# characters, hashes, percent signs, but SUFFIX may contain a leading
16323
# dot (in which case that matches only a dot).
16324
# func_strip_suffix prefix name
16328
.*) func_stripname_result=`$ECHO "X${3}" \
16329
| $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
16330
*) func_stripname_result=`$ECHO "X${3}" \
16331
| $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
16336
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
16337
my_sed_long_arg='1s/^-[^=]*=//'
16342
func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
16343
func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
16349
func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
16352
# func_xform libobj-or-source
16355
func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
16358
# func_arith arithmetic-term...
16361
func_arith_result=`expr "$@"`
16365
# STRING may not start with a hyphen.
16368
func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16374
case $lt_shell_append in
16376
cat << \_LT_EOF >> "$cfgfile"
16378
# func_append var value
16379
# Append VALUE to the end of shell variable VAR.
16387
cat << \_LT_EOF >> "$cfgfile"
16389
# func_append var value
16390
# Append VALUE to the end of shell variable VAR.
16401
sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16402
|| (rm -f "$cfgfile"; exit 1)
16404
mv -f "$cfgfile" "$ofile" ||
16405
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16409
"default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
16410
sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
16413
if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
16414
as_fn_error "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
16416
rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
16421
'"s|^| $ac_top_srcdir/|" \
16422
"$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
16424
sed '/^POTFILES =/,/[^\\]$/ {
16428
' "po/Makefile.in" >"po/Makefile"
16429
rm -f "po/Makefile.tmp"
16430
mv "po/stamp-it.tmp" "po/stamp-it"
16439
ac_clean_files=$ac_clean_files_save
16441
test $ac_write_fail = 0 ||
16442
as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
16445
# configure is writing to config.log, and then calls config.status.
16446
# config.status does its own redirection, appending to config.log.
16447
# Unfortunately, on DOS this fails, as config.log is still kept open
16448
# by configure, so config.status won't be able to write to it; its
16449
# output is simply discarded. So we exec the FD to /dev/null,
16450
# effectively closing config.log, so it can be properly (re)opened and
16451
# appended to by config.status. When coming back to configure, we
16452
# need to make the FD available again.
16453
if test "$no_create" != yes; then
16455
ac_config_status_args=
16456
test "$silent" = yes &&
16457
ac_config_status_args="$ac_config_status_args --quiet"
16459
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
16461
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
16462
# would make configure fail if this is the last instruction.
16463
$ac_cs_success || as_fn_exit $?
16465
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16466
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16467
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16471
echo Ready to make pcmanfm