2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.67 for XChat-GNOME IRC Chat 0.26.1.
5
# Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=xchat-gnome>.
8
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13
# This configure script is free software; the Free Software Foundation
14
# gives unlimited permission to copy, distribute and modify it.
15
## -------------------- ##
16
## M4sh Initialization. ##
17
## -------------------- ##
19
# Be more Bourne compatible
20
DUALCASE=1; export DUALCASE # for MKS sh
21
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25
# is contrary to our usage. Disable this feature.
26
alias -g '${1+"$@"}'='"$@"'
29
case `(set -o) 2>/dev/null` in #(
41
# Printing a long string crashes Solaris 7 /usr/bin/printf.
42
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45
# Prefer a ksh shell builtin over an external printf program on Solaris,
46
# but without wasting forks for bash or zsh.
47
if test -z "$BASH_VERSION$ZSH_VERSION" \
48
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50
as_echo_n='print -rn --'
51
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57
as_echo_n='/usr/ucb/echo -n'
59
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64
expr "X$arg" : "X\\(.*\\)$as_nl";
65
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70
as_echo_n='sh -c $as_echo_n_body as_echo'
73
as_echo='sh -c $as_echo_body as_echo'
76
# The user is always right.
77
if test "${PATH_SEPARATOR+set}" != set; then
79
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87
# We need space, tab and new line, in precisely that order. Quoting is
88
# there to prevent editors from complaining about space-tab.
89
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
90
# splitting by setting IFS to empty value.)
93
# Find who we are. Look in the path if we contain no directory separator.
95
*[\\/]* ) as_myself=$0 ;;
96
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100
test -z "$as_dir" && as_dir=.
101
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107
# We did not find ourselves, most probably we were run as `sh COMMAND'
108
# in which case we are not to be found in the path.
109
if test "x$as_myself" = x; then
112
if test ! -f "$as_myself"; then
113
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117
# Unset variables that we do not need and which cause bugs (e.g. in
118
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119
# suppresses any "Segmentation fault" message there. '((' could
120
# trigger a bug in pdksh 5.2.14.
121
for as_var in BASH_ENV ENV MAIL MAILPATH
122
do eval test x\${$as_var+set} = xset \
123
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
136
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138
if test "x$CONFIG_SHELL" = x; then
139
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143
# is contrary to our usage. Disable this feature.
144
alias -g '\${1+\"\$@\"}'='\"\$@\"'
147
case \`(set -o) 2>/dev/null\` in #(
155
as_required="as_fn_return () { (exit \$1); }
156
as_fn_success () { as_fn_return 0; }
157
as_fn_failure () { as_fn_return 1; }
158
as_fn_ret_success () { return 0; }
159
as_fn_ret_failure () { return 1; }
162
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169
exitcode=1; echo positional parameters were not saved.
171
test x\$exitcode = x0 || exit 1"
172
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176
test \$(( 1 + 1 )) = 2 || exit 1"
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://bugzilla.gnome.org/enter_bug.cgi?product=xchat-gnome
235
$0: about your system, including any error possibly output
236
$0: before this message. Then install a modern shell, or
237
$0: manually run the script under such a shell if you do
244
SHELL=${CONFIG_SHELL-/bin/sh}
246
# Unset more variables known to interfere with behavior of common tools.
247
CLICOLOR_FORCE= GREP_OPTIONS=
248
unset CLICOLOR_FORCE GREP_OPTIONS
250
## --------------------- ##
251
## M4sh Shell Functions. ##
252
## --------------------- ##
255
# Portably unset VAR.
258
{ eval $1=; unset $1;}
262
# as_fn_set_status STATUS
263
# -----------------------
264
# Set $? to STATUS, without forking.
272
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
282
# Create "$as_dir" as a directory, including parents if necessary.
287
-*) as_dir=./$as_dir;;
289
test -d "$as_dir" || eval $as_mkdir_p || {
293
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
296
as_dirs="'$as_qdir' $as_dirs"
297
as_dir=`$as_dirname -- "$as_dir" ||
298
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
299
X"$as_dir" : 'X\(//\)[^/]' \| \
300
X"$as_dir" : 'X\(//\)$' \| \
301
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
302
$as_echo X"$as_dir" |
303
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
320
test -d "$as_dir" && break
322
test -z "$as_dirs" || eval "mkdir $as_dirs"
323
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
327
# as_fn_append VAR VALUE
328
# ----------------------
329
# Append the text in VALUE to the end of the definition contained in VAR. Take
330
# advantage of any shell optimizations that allow amortized linear growth over
331
# repeated appends, instead of the typical quadratic growth present in naive
333
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
334
eval 'as_fn_append ()
347
# Perform arithmetic evaluation on the ARGs, and store the result in the
348
# global $as_val. Take advantage of shells that can avoid forks. The arguments
349
# must be portable across $(()) and expr.
350
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
358
as_val=`expr "$@" || test $? -eq 1`
363
# as_fn_error STATUS ERROR [LINENO LOG_FD]
364
# ----------------------------------------
365
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
366
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
367
# script with STATUS, using 1 if that was 0.
370
as_status=$1; test $as_status -eq 0 && as_status=1
372
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
373
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
375
$as_echo "$as_me: error: $2" >&2
376
as_fn_exit $as_status
379
if expr a : '\(a\)' >/dev/null 2>&1 &&
380
test "X`expr 00001 : '.*\(...\)'`" = X001; then
386
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
392
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
398
as_me=`$as_basename -- "$0" ||
399
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
400
X"$0" : 'X\(//\)$' \| \
401
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
403
sed '/^.*\/\([^/][^/]*\)\/*$/{
417
# Avoid depending upon Character Ranges.
418
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
419
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
420
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
421
as_cr_digits='0123456789'
422
as_cr_alnum=$as_cr_Letters$as_cr_digits
425
as_lineno_1=$LINENO as_lineno_1a=$LINENO
426
as_lineno_2=$LINENO as_lineno_2a=$LINENO
427
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
428
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
429
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
441
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
445
chmod +x "$as_me.lineno" ||
446
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
448
# Don't try to exec as it changes $[0], causing all sort of problems
449
# (the dirname of $[0] is not the place where we might find the
450
# original and so on. Autoconf is especially sensitive to this).
452
# Exit status is that of the last command.
456
ECHO_C= ECHO_N= ECHO_T=
457
case `echo -n x` in #(((((
459
case `echo 'xy\c'` in
460
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
462
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
469
rm -f conf$$ conf$$.exe conf$$.file
470
if test -d conf$$.dir; then
471
rm -f conf$$.dir/conf$$.file
474
mkdir conf$$.dir 2>/dev/null
476
if (echo >conf$$.file) 2>/dev/null; then
477
if ln -s conf$$.file conf$$ 2>/dev/null; then
479
# ... but there are two gotchas:
480
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
481
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
482
# In both cases, we have to default to `cp -p'.
483
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
485
elif ln conf$$.file conf$$ 2>/dev/null; then
493
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
494
rmdir conf$$.dir 2>/dev/null
496
if mkdir -p . 2>/dev/null; then
497
as_mkdir_p='mkdir -p "$as_dir"'
499
test -d ./-p && rmdir ./-p
503
if test -x / >/dev/null 2>&1; then
506
if ls -dL / >/dev/null 2>&1; then
513
if test -d "$1"; then
519
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
520
???[sx]*):;;*)false;;esac;fi
524
as_executable_p=$as_test_x
526
# Sed expression to map a string onto a valid CPP name.
527
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
529
# Sed expression to map a string onto a valid variable name.
530
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534
# Check that we are running under the correct shell.
535
SHELL=${CONFIG_SHELL-/bin/sh}
539
# Remove one level of quotation (which was required for Make).
540
ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
545
if test "X$1" = X--no-reexec; then
546
# Discard the --no-reexec flag, and continue.
548
elif test "X$1" = X--fallback-echo; then
549
# Avoid inline document here, it may be left over
551
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
552
# Yippee, $ECHO works!
555
# Restart under the correct shell.
556
exec $SHELL "$0" --no-reexec ${1+"$@"}
559
if test "X$1" = X--fallback-echo; then
560
# used as fallback echo
568
# The HP-UX ksh and POSIX shell print the target directory to stdout
570
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
572
if test -z "$lt_ECHO"; then
573
if test "X${echo_test_string+set}" != Xset; then
574
# find a string as large as possible, as long as the shell can cope with it
575
for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
576
# expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
577
if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
578
{ test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
585
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
586
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
587
test "X$echo_testing_string" = "X$echo_test_string"; then
590
# The Solaris, AIX, and Digital Unix default echo programs unquote
591
# backslashes. This makes it impossible to quote backslashes using
592
# echo "$something" | sed 's/\\/\\\\/g'
594
# So, first we look for a working echo in the user's PATH.
596
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
597
for dir in $PATH /usr/ucb; do
599
if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
600
test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
601
echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
602
test "X$echo_testing_string" = "X$echo_test_string"; then
609
if test "X$ECHO" = Xecho; then
610
# We didn't find a better echo, so look for alternatives.
611
if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
612
echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
613
test "X$echo_testing_string" = "X$echo_test_string"; then
614
# This shell has a builtin print -r that does the trick.
616
elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
617
test "X$CONFIG_SHELL" != X/bin/ksh; then
618
# If we have ksh, try running configure again with it.
619
ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
620
export ORIGINAL_CONFIG_SHELL
621
CONFIG_SHELL=/bin/ksh
623
exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
627
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
628
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
629
test "X$echo_testing_string" = "X$echo_test_string"; then
632
elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
633
test "X$echo_testing_string" = 'X\t' &&
634
echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
635
test "X$echo_testing_string" = "X$echo_test_string"; then
636
CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
638
SHELL="$CONFIG_SHELL"
640
ECHO="$CONFIG_SHELL $0 --fallback-echo"
641
elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
642
test "X$echo_testing_string" = 'X\t' &&
643
echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
644
test "X$echo_testing_string" = "X$echo_test_string"; then
645
ECHO="$CONFIG_SHELL $0 --fallback-echo"
647
# maybe with a smaller string...
650
for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
651
if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
658
if test "$prev" != 'sed 50q "$0"'; then
659
echo_test_string=`eval $prev`
660
export echo_test_string
661
exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
663
# Oops. We lost completely, so just stick with echo.
672
# Copy echo and quote the copy suitably for passing to libtool from
673
# the Makefile, instead of quoting the original, which is used later.
675
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
676
lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
682
test -n "$DJDIR" || exec 7<&0 </dev/null
686
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
687
# so uname gets run too.
688
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
693
ac_default_prefix=/usr/local
695
ac_config_libobj_dir=.
702
# Identity of this package.
703
PACKAGE_NAME='XChat-GNOME IRC Chat'
704
PACKAGE_TARNAME='xchat-gnome'
705
PACKAGE_VERSION='0.26.1'
706
PACKAGE_STRING='XChat-GNOME IRC Chat 0.26.1'
707
PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=xchat-gnome'
710
ac_unique_file="configure.ac"
711
# Factoring default headers for most tests.
712
ac_includes_default="\
714
#ifdef HAVE_SYS_TYPES_H
715
# include <sys/types.h>
717
#ifdef HAVE_SYS_STAT_H
718
# include <sys/stat.h>
724
# ifdef HAVE_STDLIB_H
729
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
734
#ifdef HAVE_STRINGS_H
735
# include <strings.h>
737
#ifdef HAVE_INTTYPES_H
738
# include <inttypes.h>
747
ac_subst_vars='am__EXEEXT_FALSE
794
GCONF_SCHEMAS_INSTALL_FALSE
795
GCONF_SCHEMAS_INSTALL_TRUE
796
GCONF_SCHEMA_FILE_DIR
797
GCONF_SCHEMA_CONFIG_SOURCE
798
ENABLE_LIBCANBERRA_FALSE
799
ENABLE_LIBCANBERRA_TRUE
801
LIBCANBERRAGTK_CFLAGS
802
ENABLE_LIBNOTIFY_FALSE
803
ENABLE_LIBNOTIFY_TRUE
817
HAVE_GNOME_DOC_UTILS_FALSE
818
HAVE_GNOME_DOC_UTILS_TRUE
819
DISTCHECK_CONFIGURE_FLAGS
859
am__fastdepCCAS_FALSE
889
INTLTOOL_SERVICE_RULE
891
INTLTOOL_SCHEMAS_RULE
893
INTLTOOL_XML_NOMERGE_RULE
898
INTLTOOL_SOUNDLIST_RULE
905
INTLTOOL_DIRECTORY_RULE
906
INTLTOOL_DESKTOP_RULE
912
MAINTAINER_MODE_FALSE
924
INSTALL_STRIP_PROGRAM
966
program_transform_name
979
enable_option_checking
981
enable_maintainer_mode
983
enable_dependency_tracking
991
enable_compile_warnings
1001
with_gconf_schema_file_dir
1002
enable_schemas_install
1009
ac_precious_vars='build_alias
1031
LIBCANBERRAGTK_CFLAGS
1037
# Initialize some variables set by options.
1039
ac_init_version=false
1040
ac_unrecognized_opts=
1041
ac_unrecognized_sep=
1042
# The variables have the same names as the options, with
1043
# dashes changed to underlines.
1044
cache_file=/dev/null
1051
program_transform_name=s,x,x,
1059
# Installation directory options.
1060
# These are left unexpanded so users can "make install exec_prefix=/foo"
1061
# and all the variables that are supposed to be based on exec_prefix
1062
# by default will actually change.
1063
# Use braces instead of parens because sh, perl, etc. also accept them.
1064
# (The list follows the same order as the GNU Coding Standards.)
1065
bindir='${exec_prefix}/bin'
1066
sbindir='${exec_prefix}/sbin'
1067
libexecdir='${exec_prefix}/libexec'
1068
datarootdir='${prefix}/share'
1069
datadir='${datarootdir}'
1070
sysconfdir='${prefix}/etc'
1071
sharedstatedir='${prefix}/com'
1072
localstatedir='${prefix}/var'
1073
includedir='${prefix}/include'
1074
oldincludedir='/usr/include'
1075
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1076
infodir='${datarootdir}/info'
1081
libdir='${exec_prefix}/lib'
1082
localedir='${datarootdir}/locale'
1083
mandir='${datarootdir}/man'
1089
# If the previous option needs an argument, assign it.
1090
if test -n "$ac_prev"; then
1091
eval $ac_prev=\$ac_option
1097
*=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1102
# Accept the important Cygnus configure options, so we can diagnose typos.
1104
case $ac_dashdash$ac_option in
1108
-bindir | --bindir | --bindi | --bind | --bin | --bi)
1110
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1111
bindir=$ac_optarg ;;
1113
-build | --build | --buil | --bui | --bu)
1114
ac_prev=build_alias ;;
1115
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
1116
build_alias=$ac_optarg ;;
1118
-cache-file | --cache-file | --cache-fil | --cache-fi \
1119
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1120
ac_prev=cache_file ;;
1121
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1122
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1123
cache_file=$ac_optarg ;;
1125
--config-cache | -C)
1126
cache_file=config.cache ;;
1128
-datadir | --datadir | --datadi | --datad)
1130
-datadir=* | --datadir=* | --datadi=* | --datad=*)
1131
datadir=$ac_optarg ;;
1133
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1134
| --dataroo | --dataro | --datar)
1135
ac_prev=datarootdir ;;
1136
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1137
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1138
datarootdir=$ac_optarg ;;
1140
-disable-* | --disable-*)
1141
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1142
# Reject names that are not valid shell variable names.
1143
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1144
as_fn_error $? "invalid feature name: $ac_useropt"
1145
ac_useropt_orig=$ac_useropt
1146
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1147
case $ac_user_opts in
1149
"enable_$ac_useropt"
1151
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1152
ac_unrecognized_sep=', ';;
1154
eval enable_$ac_useropt=no ;;
1156
-docdir | --docdir | --docdi | --doc | --do)
1158
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1159
docdir=$ac_optarg ;;
1161
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1163
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1164
dvidir=$ac_optarg ;;
1166
-enable-* | --enable-*)
1167
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1168
# Reject names that are not valid shell variable names.
1169
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1170
as_fn_error $? "invalid feature name: $ac_useropt"
1171
ac_useropt_orig=$ac_useropt
1172
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1173
case $ac_user_opts in
1175
"enable_$ac_useropt"
1177
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1178
ac_unrecognized_sep=', ';;
1180
eval enable_$ac_useropt=\$ac_optarg ;;
1182
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1183
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1184
| --exec | --exe | --ex)
1185
ac_prev=exec_prefix ;;
1186
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1187
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1188
| --exec=* | --exe=* | --ex=*)
1189
exec_prefix=$ac_optarg ;;
1191
-gas | --gas | --ga | --g)
1192
# Obsolete; use --with-gas.
1195
-help | --help | --hel | --he | -h)
1196
ac_init_help=long ;;
1197
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1198
ac_init_help=recursive ;;
1199
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1200
ac_init_help=short ;;
1202
-host | --host | --hos | --ho)
1203
ac_prev=host_alias ;;
1204
-host=* | --host=* | --hos=* | --ho=*)
1205
host_alias=$ac_optarg ;;
1207
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1209
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1211
htmldir=$ac_optarg ;;
1213
-includedir | --includedir | --includedi | --included | --include \
1214
| --includ | --inclu | --incl | --inc)
1215
ac_prev=includedir ;;
1216
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1217
| --includ=* | --inclu=* | --incl=* | --inc=*)
1218
includedir=$ac_optarg ;;
1220
-infodir | --infodir | --infodi | --infod | --info | --inf)
1222
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1223
infodir=$ac_optarg ;;
1225
-libdir | --libdir | --libdi | --libd)
1227
-libdir=* | --libdir=* | --libdi=* | --libd=*)
1228
libdir=$ac_optarg ;;
1230
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1231
| --libexe | --libex | --libe)
1232
ac_prev=libexecdir ;;
1233
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1234
| --libexe=* | --libex=* | --libe=*)
1235
libexecdir=$ac_optarg ;;
1237
-localedir | --localedir | --localedi | --localed | --locale)
1238
ac_prev=localedir ;;
1239
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1240
localedir=$ac_optarg ;;
1242
-localstatedir | --localstatedir | --localstatedi | --localstated \
1243
| --localstate | --localstat | --localsta | --localst | --locals)
1244
ac_prev=localstatedir ;;
1245
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1246
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1247
localstatedir=$ac_optarg ;;
1249
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1251
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1252
mandir=$ac_optarg ;;
1254
-nfp | --nfp | --nf)
1255
# Obsolete; use --without-fp.
1258
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
1259
| --no-cr | --no-c | -n)
1262
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
1263
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1266
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1267
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1268
| --oldin | --oldi | --old | --ol | --o)
1269
ac_prev=oldincludedir ;;
1270
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1271
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1272
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1273
oldincludedir=$ac_optarg ;;
1275
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1277
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1278
prefix=$ac_optarg ;;
1280
-program-prefix | --program-prefix | --program-prefi | --program-pref \
1281
| --program-pre | --program-pr | --program-p)
1282
ac_prev=program_prefix ;;
1283
-program-prefix=* | --program-prefix=* | --program-prefi=* \
1284
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1285
program_prefix=$ac_optarg ;;
1287
-program-suffix | --program-suffix | --program-suffi | --program-suff \
1288
| --program-suf | --program-su | --program-s)
1289
ac_prev=program_suffix ;;
1290
-program-suffix=* | --program-suffix=* | --program-suffi=* \
1291
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1292
program_suffix=$ac_optarg ;;
1294
-program-transform-name | --program-transform-name \
1295
| --program-transform-nam | --program-transform-na \
1296
| --program-transform-n | --program-transform- \
1297
| --program-transform | --program-transfor \
1298
| --program-transfo | --program-transf \
1299
| --program-trans | --program-tran \
1300
| --progr-tra | --program-tr | --program-t)
1301
ac_prev=program_transform_name ;;
1302
-program-transform-name=* | --program-transform-name=* \
1303
| --program-transform-nam=* | --program-transform-na=* \
1304
| --program-transform-n=* | --program-transform-=* \
1305
| --program-transform=* | --program-transfor=* \
1306
| --program-transfo=* | --program-transf=* \
1307
| --program-trans=* | --program-tran=* \
1308
| --progr-tra=* | --program-tr=* | --program-t=*)
1309
program_transform_name=$ac_optarg ;;
1311
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1313
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1314
pdfdir=$ac_optarg ;;
1316
-psdir | --psdir | --psdi | --psd | --ps)
1318
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1321
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1322
| -silent | --silent | --silen | --sile | --sil)
1325
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1327
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1329
sbindir=$ac_optarg ;;
1331
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1332
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1333
| --sharedst | --shareds | --shared | --share | --shar \
1335
ac_prev=sharedstatedir ;;
1336
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1337
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1338
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1340
sharedstatedir=$ac_optarg ;;
1342
-site | --site | --sit)
1344
-site=* | --site=* | --sit=*)
1347
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1349
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1350
srcdir=$ac_optarg ;;
1352
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1353
| --syscon | --sysco | --sysc | --sys | --sy)
1354
ac_prev=sysconfdir ;;
1355
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1356
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1357
sysconfdir=$ac_optarg ;;
1359
-target | --target | --targe | --targ | --tar | --ta | --t)
1360
ac_prev=target_alias ;;
1361
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1362
target_alias=$ac_optarg ;;
1364
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1367
-version | --version | --versio | --versi | --vers | -V)
1368
ac_init_version=: ;;
1371
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1372
# Reject names that are not valid shell variable names.
1373
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1374
as_fn_error $? "invalid package name: $ac_useropt"
1375
ac_useropt_orig=$ac_useropt
1376
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1377
case $ac_user_opts in
1381
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1382
ac_unrecognized_sep=', ';;
1384
eval with_$ac_useropt=\$ac_optarg ;;
1386
-without-* | --without-*)
1387
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1388
# Reject names that are not valid shell variable names.
1389
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1390
as_fn_error $? "invalid package name: $ac_useropt"
1391
ac_useropt_orig=$ac_useropt
1392
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1393
case $ac_user_opts in
1397
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1398
ac_unrecognized_sep=', ';;
1400
eval with_$ac_useropt=no ;;
1403
# Obsolete; use --with-x.
1406
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1407
| --x-incl | --x-inc | --x-in | --x-i)
1408
ac_prev=x_includes ;;
1409
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1410
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1411
x_includes=$ac_optarg ;;
1413
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1414
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1415
ac_prev=x_libraries ;;
1416
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1417
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1418
x_libraries=$ac_optarg ;;
1420
-*) as_fn_error $? "unrecognized option: \`$ac_option'
1421
Try \`$0 --help' for more information"
1425
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1426
# Reject names that are not valid shell variable names.
1427
case $ac_envvar in #(
1428
'' | [0-9]* | *[!_$as_cr_alnum]* )
1429
as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1431
eval $ac_envvar=\$ac_optarg
1432
export $ac_envvar ;;
1435
# FIXME: should be removed in autoconf 3.0.
1436
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1437
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1438
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1439
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1445
if test -n "$ac_prev"; then
1446
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1447
as_fn_error $? "missing argument to $ac_option"
1450
if test -n "$ac_unrecognized_opts"; then
1451
case $enable_option_checking in
1453
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1454
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1458
# Check all directory arguments for consistency.
1459
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1460
datadir sysconfdir sharedstatedir localstatedir includedir \
1461
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1462
libdir localedir mandir
1464
eval ac_val=\$$ac_var
1465
# Remove trailing slashes.
1468
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1469
eval $ac_var=\$ac_val;;
1471
# Be sure to have absolute directory names.
1473
[\\/$]* | ?:[\\/]* ) continue;;
1474
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1476
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1479
# There might be people who depend on the old broken behavior: `$host'
1480
# used to hold the argument of --host etc.
1481
# FIXME: To remove some day.
1484
target=$target_alias
1486
# FIXME: To remove some day.
1487
if test "x$host_alias" != x; then
1488
if test "x$build_alias" = x; then
1489
cross_compiling=maybe
1490
$as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1491
If a cross compiler is detected then cross compile mode will be used" >&2
1492
elif test "x$build_alias" != "x$host_alias"; then
1498
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1500
test "$silent" = yes && exec 6>/dev/null
1503
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1504
ac_ls_di=`ls -di .` &&
1505
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1506
as_fn_error $? "working directory cannot be determined"
1507
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1508
as_fn_error $? "pwd does not report name of working directory"
1511
# Find the source files, if location was not specified.
1512
if test -z "$srcdir"; then
1513
ac_srcdir_defaulted=yes
1514
# Try the directory containing this script, then the parent directory.
1515
ac_confdir=`$as_dirname -- "$as_myself" ||
1516
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1517
X"$as_myself" : 'X\(//\)[^/]' \| \
1518
X"$as_myself" : 'X\(//\)$' \| \
1519
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1520
$as_echo X"$as_myself" |
1521
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1539
if test ! -r "$srcdir/$ac_unique_file"; then
1543
ac_srcdir_defaulted=no
1545
if test ! -r "$srcdir/$ac_unique_file"; then
1546
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1547
as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1549
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1551
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1553
# When building in place, set srcdir=.
1554
if test "$ac_abs_confdir" = "$ac_pwd"; then
1557
# Remove unnecessary trailing slashes from srcdir.
1558
# Double slashes in file names in object file debugging info
1559
# mess up M-x gdb in Emacs.
1561
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1563
for ac_var in $ac_precious_vars; do
1564
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1565
eval ac_env_${ac_var}_value=\$${ac_var}
1566
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1567
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1571
# Report the --help message.
1573
if test "$ac_init_help" = "long"; then
1574
# Omit some internal or obsolete options to make the list less imposing.
1575
# This message is too long to be a string in the A/UX 3.1 sh.
1577
\`configure' configures XChat-GNOME IRC Chat 0.26.1 to adapt to many kinds of systems.
1579
Usage: $0 [OPTION]... [VAR=VALUE]...
1581
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1582
VAR=VALUE. See below for descriptions of some of the useful variables.
1584
Defaults for the options are specified in brackets.
1587
-h, --help display this help and exit
1588
--help=short display options specific to this package
1589
--help=recursive display the short help of all the included packages
1590
-V, --version display version information and exit
1591
-q, --quiet, --silent do not print \`checking ...' messages
1592
--cache-file=FILE cache test results in FILE [disabled]
1593
-C, --config-cache alias for \`--cache-file=config.cache'
1594
-n, --no-create do not create output files
1595
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1597
Installation directories:
1598
--prefix=PREFIX install architecture-independent files in PREFIX
1599
[$ac_default_prefix]
1600
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1603
By default, \`make install' will install all the files in
1604
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1605
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1606
for instance \`--prefix=\$HOME'.
1608
For better control, use the options below.
1610
Fine tuning of the installation directories:
1611
--bindir=DIR user executables [EPREFIX/bin]
1612
--sbindir=DIR system admin executables [EPREFIX/sbin]
1613
--libexecdir=DIR program executables [EPREFIX/libexec]
1614
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1615
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1616
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1617
--libdir=DIR object code libraries [EPREFIX/lib]
1618
--includedir=DIR C header files [PREFIX/include]
1619
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1620
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1621
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1622
--infodir=DIR info documentation [DATAROOTDIR/info]
1623
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1624
--mandir=DIR man documentation [DATAROOTDIR/man]
1625
--docdir=DIR documentation root [DATAROOTDIR/doc/xchat-gnome]
1626
--htmldir=DIR html documentation [DOCDIR]
1627
--dvidir=DIR dvi documentation [DOCDIR]
1628
--pdfdir=DIR pdf documentation [DOCDIR]
1629
--psdir=DIR ps documentation [DOCDIR]
1635
--program-prefix=PREFIX prepend PREFIX to installed program names
1636
--program-suffix=SUFFIX append SUFFIX to installed program names
1637
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1640
--build=BUILD configure for building on BUILD [guessed]
1641
--host=HOST cross-compile to build programs to run on HOST [BUILD]
1645
if test -n "$ac_init_help"; then
1646
case $ac_init_help in
1647
short | recursive ) echo "Configuration of XChat-GNOME IRC Chat 0.26.1:";;
1652
--disable-option-checking ignore unrecognized --enable/--with options
1653
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1654
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1655
--enable-silent-rules less verbose build output (undo: `make V=1')
1656
--disable-silent-rules verbose build output (undo: `make V=0')
1657
--disable-maintainer-mode disable make rules and dependencies not useful
1658
(and sometimes confusing) to the casual installer
1659
--disable-nls do not use Native Language Support
1660
--disable-dependency-tracking speeds up one-time build
1661
--enable-dependency-tracking do not reject slow dependency extractors
1662
--enable-shared[=PKGS] build shared libraries [default=yes]
1663
--enable-static[=PKGS] build static libraries [default=yes]
1664
--enable-fast-install[=PKGS]
1665
optimize for fast installation [default=yes]
1666
--disable-libtool-lock avoid locking (might break parallel builds)
1667
--enable-debug turn on debugging
1668
--enable-compile-warnings=[no/minimum/yes/maximum/error]
1669
Turn on compiler warnings
1670
--enable-iso-c Try to warn if code is not ISO C
1671
--disable-scrollkeeper do not make updates to the scrollkeeper database
1672
--disable-dbus Disable D-Bus support
1673
--disable-notification whether to disable libnotify support
1674
--disable-canberra whether to disable libcanberra support
1675
--disable-schemas-install
1676
Disable the schemas installation
1677
--disable-perl Disable perl support
1678
--disable-python Disable python support
1679
--disable-tcl Disable tcl support
1680
--disable-mmx disable MMX assembly routines
1683
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1684
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1685
--with-pic try to use only PIC/non-PIC objects [default=use
1687
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
1688
--with-help-dir=DIR path to help docs
1689
--with-omf-dir=DIR path to OMF files
1690
--with-help-formats=FORMATS
1692
--with-gconf-source=sourceaddress
1693
Config database for installing schema files.
1694
--with-gconf-schema-file-dir=dir
1695
Directory for installing schema files.
1696
--with-plugins=plugin1,plugin2,...
1697
build the specified plugins. Available:
1698
autoaway, dbus, net-monitor, notification,
1699
notify-osd, perl, python, tcl, url_scraper,
1702
Some influential environment variables:
1703
CC C compiler command
1704
CFLAGS C compiler flags
1705
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1706
nonstandard directory <lib dir>
1707
LIBS libraries to pass to the linker, e.g. -l<library>
1708
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1709
you have headers in a nonstandard directory <include dir>
1711
CCAS assembler compiler command (defaults to CC)
1712
CCASFLAGS assembler compiler flags (defaults to CFLAGS)
1713
PKG_CONFIG path to pkg-config utility
1715
directories to add to pkg-config's search path
1717
path overriding pkg-config's built-in search path
1719
C compiler flags for DEPENDENCIES, overriding pkg-config
1721
linker flags for DEPENDENCIES, overriding pkg-config
1723
C compiler flags for EGG_SMCLIENT, overriding pkg-config
1725
linker flags for EGG_SMCLIENT, overriding pkg-config
1726
DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config
1727
DBUS_LIBS linker flags for DBUS, overriding pkg-config
1729
C compiler flags for LIBNOTIFY, overriding pkg-config
1731
linker flags for LIBNOTIFY, overriding pkg-config
1732
LIBCANBERRAGTK_CFLAGS
1733
C compiler flags for LIBCANBERRAGTK, overriding pkg-config
1735
linker flags for LIBCANBERRAGTK, overriding pkg-config
1737
C compiler flags for OPENSSL, overriding pkg-config
1739
linker flags for OPENSSL, overriding pkg-config
1741
Use these variables to override the choices made by `configure' or to help
1742
it to find libraries and programs with nonstandard names/locations.
1744
Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=xchat-gnome>.
1749
if test "$ac_init_help" = "recursive"; then
1750
# If there are subdirs, report their specific --help.
1751
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1752
test -d "$ac_dir" ||
1753
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1758
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1760
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1761
# A ".." for each directory in $ac_dir_suffix.
1762
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1763
case $ac_top_builddir_sub in
1764
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1765
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1768
ac_abs_top_builddir=$ac_pwd
1769
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1770
# for backward compatibility:
1771
ac_top_builddir=$ac_top_build_prefix
1774
.) # We are building in place.
1776
ac_top_srcdir=$ac_top_builddir_sub
1777
ac_abs_top_srcdir=$ac_pwd ;;
1778
[\\/]* | ?:[\\/]* ) # Absolute name.
1779
ac_srcdir=$srcdir$ac_dir_suffix;
1780
ac_top_srcdir=$srcdir
1781
ac_abs_top_srcdir=$srcdir ;;
1783
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1784
ac_top_srcdir=$ac_top_build_prefix$srcdir
1785
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1787
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1789
cd "$ac_dir" || { ac_status=$?; continue; }
1790
# Check for guested configure.
1791
if test -f "$ac_srcdir/configure.gnu"; then
1793
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1794
elif test -f "$ac_srcdir/configure"; then
1796
$SHELL "$ac_srcdir/configure" --help=recursive
1798
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1800
cd "$ac_pwd" || { ac_status=$?; break; }
1804
test -n "$ac_init_help" && exit $ac_status
1805
if $ac_init_version; then
1807
XChat-GNOME IRC Chat configure 0.26.1
1808
generated by GNU Autoconf 2.67
1810
Copyright (C) 2010 Free Software Foundation, Inc.
1811
This configure script is free software; the Free Software Foundation
1812
gives unlimited permission to copy, distribute and modify it.
1817
## ------------------------ ##
1818
## Autoconf initialization. ##
1819
## ------------------------ ##
1821
# ac_fn_c_try_compile LINENO
1822
# --------------------------
1823
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1824
ac_fn_c_try_compile ()
1826
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1827
rm -f conftest.$ac_objext
1828
if { { ac_try="$ac_compile"
1830
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1831
*) ac_try_echo=$ac_try;;
1833
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1834
$as_echo "$ac_try_echo"; } >&5
1835
(eval "$ac_compile") 2>conftest.err
1837
if test -s conftest.err; then
1838
grep -v '^ *+' conftest.err >conftest.er1
1839
cat conftest.er1 >&5
1840
mv -f conftest.er1 conftest.err
1842
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1843
test $ac_status = 0; } && {
1844
test -z "$ac_c_werror_flag" ||
1845
test ! -s conftest.err
1846
} && test -s conftest.$ac_objext; then :
1849
$as_echo "$as_me: failed program was:" >&5
1850
sed 's/^/| /' conftest.$ac_ext >&5
1854
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1855
as_fn_set_status $ac_retval
1857
} # ac_fn_c_try_compile
1859
# ac_fn_c_try_link LINENO
1860
# -----------------------
1861
# Try to link conftest.$ac_ext, and return whether this succeeded.
1864
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1865
rm -f conftest.$ac_objext conftest$ac_exeext
1866
if { { ac_try="$ac_link"
1868
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1869
*) ac_try_echo=$ac_try;;
1871
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1872
$as_echo "$ac_try_echo"; } >&5
1873
(eval "$ac_link") 2>conftest.err
1875
if test -s conftest.err; then
1876
grep -v '^ *+' conftest.err >conftest.er1
1877
cat conftest.er1 >&5
1878
mv -f conftest.er1 conftest.err
1880
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1881
test $ac_status = 0; } && {
1882
test -z "$ac_c_werror_flag" ||
1883
test ! -s conftest.err
1884
} && test -s conftest$ac_exeext && {
1885
test "$cross_compiling" = yes ||
1886
$as_test_x conftest$ac_exeext
1890
$as_echo "$as_me: failed program was:" >&5
1891
sed 's/^/| /' conftest.$ac_ext >&5
1895
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1896
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1897
# interfere with the next link command; also delete a directory that is
1898
# left behind by Apple's compiler. We do this before executing the actions.
1899
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1900
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1901
as_fn_set_status $ac_retval
1903
} # ac_fn_c_try_link
1905
# ac_fn_c_check_func LINENO FUNC VAR
1906
# ----------------------------------
1907
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1908
ac_fn_c_check_func ()
1910
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1911
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1912
$as_echo_n "checking for $2... " >&6; }
1913
if eval "test \"\${$3+set}\"" = set; then :
1914
$as_echo_n "(cached) " >&6
1916
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1917
/* end confdefs.h. */
1918
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1919
For example, HP-UX 11i <limits.h> declares gettimeofday. */
1920
#define $2 innocuous_$2
1922
/* System header to define __stub macros and hopefully few prototypes,
1923
which can conflict with char $2 (); below.
1924
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1925
<limits.h> exists even on freestanding compilers. */
1928
# include <limits.h>
1930
# include <assert.h>
1935
/* Override any GCC internal prototype to avoid an error.
1936
Use char because int might match the return type of a GCC
1937
builtin and then its argument prototype would still apply. */
1942
/* The GNU C library defines this for functions which it implements
1943
to always fail with ENOSYS. Some functions are actually named
1944
something starting with __ and the normal name is an alias. */
1945
#if defined __stub_$2 || defined __stub___$2
1957
if ac_fn_c_try_link "$LINENO"; then :
1962
rm -f core conftest.err conftest.$ac_objext \
1963
conftest$ac_exeext conftest.$ac_ext
1966
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1967
$as_echo "$ac_res" >&6; }
1968
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1970
} # ac_fn_c_check_func
1972
# ac_fn_c_try_cpp LINENO
1973
# ----------------------
1974
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1977
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1978
if { { ac_try="$ac_cpp conftest.$ac_ext"
1980
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1981
*) ac_try_echo=$ac_try;;
1983
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1984
$as_echo "$ac_try_echo"; } >&5
1985
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1987
if test -s conftest.err; then
1988
grep -v '^ *+' conftest.err >conftest.er1
1989
cat conftest.er1 >&5
1990
mv -f conftest.er1 conftest.err
1992
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1993
test $ac_status = 0; } > conftest.i && {
1994
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1995
test ! -s conftest.err
1999
$as_echo "$as_me: failed program was:" >&5
2000
sed 's/^/| /' conftest.$ac_ext >&5
2004
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2005
as_fn_set_status $ac_retval
2009
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2010
# -------------------------------------------------------
2011
# Tests whether HEADER exists and can be compiled using the include files in
2012
# INCLUDES, setting the cache variable VAR accordingly.
2013
ac_fn_c_check_header_compile ()
2015
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2016
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2017
$as_echo_n "checking for $2... " >&6; }
2018
if eval "test \"\${$3+set}\"" = set; then :
2019
$as_echo_n "(cached) " >&6
2021
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2022
/* end confdefs.h. */
2026
if ac_fn_c_try_compile "$LINENO"; then :
2031
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2034
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2035
$as_echo "$ac_res" >&6; }
2036
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2038
} # ac_fn_c_check_header_compile
2040
# ac_fn_c_try_run LINENO
2041
# ----------------------
2042
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2043
# that executables *can* be run.
2046
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2047
if { { ac_try="$ac_link"
2049
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2050
*) ac_try_echo=$ac_try;;
2052
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2053
$as_echo "$ac_try_echo"; } >&5
2054
(eval "$ac_link") 2>&5
2056
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2057
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2058
{ { case "(($ac_try" in
2059
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2060
*) ac_try_echo=$ac_try;;
2062
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2063
$as_echo "$ac_try_echo"; } >&5
2064
(eval "$ac_try") 2>&5
2066
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2067
test $ac_status = 0; }; }; then :
2070
$as_echo "$as_me: program exited with status $ac_status" >&5
2071
$as_echo "$as_me: failed program was:" >&5
2072
sed 's/^/| /' conftest.$ac_ext >&5
2074
ac_retval=$ac_status
2076
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2077
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2078
as_fn_set_status $ac_retval
2082
# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2083
# -------------------------------------------
2084
# Tests whether TYPE exists after having included INCLUDES, setting cache
2085
# variable VAR accordingly.
2086
ac_fn_c_check_type ()
2088
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2089
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2090
$as_echo_n "checking for $2... " >&6; }
2091
if eval "test \"\${$3+set}\"" = set; then :
2092
$as_echo_n "(cached) " >&6
2095
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2096
/* end confdefs.h. */
2107
if ac_fn_c_try_compile "$LINENO"; then :
2108
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2109
/* end confdefs.h. */
2120
if ac_fn_c_try_compile "$LINENO"; then :
2125
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2127
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2130
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2131
$as_echo "$ac_res" >&6; }
2132
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2134
} # ac_fn_c_check_type
2136
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2137
# -------------------------------------------------------
2138
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
2139
# the include files in INCLUDES and setting the cache variable VAR
2141
ac_fn_c_check_header_mongrel ()
2143
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2144
if eval "test \"\${$3+set}\"" = set; then :
2145
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2146
$as_echo_n "checking for $2... " >&6; }
2147
if eval "test \"\${$3+set}\"" = set; then :
2148
$as_echo_n "(cached) " >&6
2151
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2152
$as_echo "$ac_res" >&6; }
2154
# Is the header compilable?
2155
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2156
$as_echo_n "checking $2 usability... " >&6; }
2157
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2158
/* end confdefs.h. */
2162
if ac_fn_c_try_compile "$LINENO"; then :
2163
ac_header_compiler=yes
2165
ac_header_compiler=no
2167
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2168
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2169
$as_echo "$ac_header_compiler" >&6; }
2171
# Is the header present?
2172
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2173
$as_echo_n "checking $2 presence... " >&6; }
2174
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2175
/* end confdefs.h. */
2178
if ac_fn_c_try_cpp "$LINENO"; then :
2179
ac_header_preproc=yes
2181
ac_header_preproc=no
2183
rm -f conftest.err conftest.i conftest.$ac_ext
2184
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2185
$as_echo "$ac_header_preproc" >&6; }
2187
# So? What about this header?
2188
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2190
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2191
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2192
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2193
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2196
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2197
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2198
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2199
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2200
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2201
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2202
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2203
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2204
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2205
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2206
( $as_echo "## -------------------------------------------------------------------------- ##
2207
## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=xchat-gnome ##
2208
## -------------------------------------------------------------------------- ##"
2209
) | sed "s/^/$as_me: WARNING: /" >&2
2212
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2213
$as_echo_n "checking for $2... " >&6; }
2214
if eval "test \"\${$3+set}\"" = set; then :
2215
$as_echo_n "(cached) " >&6
2217
eval "$3=\$ac_header_compiler"
2220
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2221
$as_echo "$ac_res" >&6; }
2223
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2225
} # ac_fn_c_check_header_mongrel
2226
cat >config.log <<_ACEOF
2227
This file contains any messages produced by compilers while
2228
running configure, to aid debugging if configure makes a mistake.
2230
It was created by XChat-GNOME IRC Chat $as_me 0.26.1, which was
2231
generated by GNU Autoconf 2.67. Invocation command line was
2243
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2244
uname -m = `(uname -m) 2>/dev/null || echo unknown`
2245
uname -r = `(uname -r) 2>/dev/null || echo unknown`
2246
uname -s = `(uname -s) 2>/dev/null || echo unknown`
2247
uname -v = `(uname -v) 2>/dev/null || echo unknown`
2249
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2250
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2252
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2253
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2254
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2255
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2256
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2257
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2258
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2262
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2266
test -z "$as_dir" && as_dir=.
2267
$as_echo "PATH: $as_dir"
2283
# Keep a trace of the command line.
2284
# Strip out --no-create and --no-recursion so they do not pile up.
2285
# Strip out --silent because we don't want to record it for future runs.
2286
# Also quote any args containing shell meta-characters.
2287
# Make two passes to allow for proper duplicate-argument suppression.
2291
ac_must_keep_next=false
2297
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2298
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
2299
| -silent | --silent | --silen | --sile | --sil)
2302
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2305
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2307
as_fn_append ac_configure_args1 " '$ac_arg'"
2308
if test $ac_must_keep_next = true; then
2309
ac_must_keep_next=false # Got value, back to normal.
2312
*=* | --config-cache | -C | -disable-* | --disable-* \
2313
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2314
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2315
| -with-* | --with-* | -without-* | --without-* | --x)
2316
case "$ac_configure_args0 " in
2317
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2320
-* ) ac_must_keep_next=true ;;
2323
as_fn_append ac_configure_args " '$ac_arg'"
2328
{ ac_configure_args0=; unset ac_configure_args0;}
2329
{ ac_configure_args1=; unset ac_configure_args1;}
2331
# When interrupted or exit'd, cleanup temporary files, and complete
2332
# config.log. We remove comments because anyway the quotes in there
2333
# would cause problems or look ugly.
2334
# WARNING: Use '\'' to represent an apostrophe within the trap.
2335
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2336
trap 'exit_status=$?
2337
# Save into config.log some information that might help in debugging.
2341
$as_echo "## ---------------- ##
2342
## Cache variables. ##
2343
## ---------------- ##"
2345
# The following way of writing the cache mishandles newlines in values,
2347
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2348
eval ac_val=\$$ac_var
2352
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2353
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2356
_ | IFS | as_nl) ;; #(
2357
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2358
*) { eval $ac_var=; unset $ac_var;} ;;
2363
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2364
*${as_nl}ac_space=\ *)
2366
"s/'\''/'\''\\\\'\'''\''/g;
2367
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2370
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2377
$as_echo "## ----------------- ##
2378
## Output variables. ##
2379
## ----------------- ##"
2381
for ac_var in $ac_subst_vars
2383
eval ac_val=\$$ac_var
2385
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2387
$as_echo "$ac_var='\''$ac_val'\''"
2391
if test -n "$ac_subst_files"; then
2392
$as_echo "## ------------------- ##
2393
## File substitutions. ##
2394
## ------------------- ##"
2396
for ac_var in $ac_subst_files
2398
eval ac_val=\$$ac_var
2400
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2402
$as_echo "$ac_var='\''$ac_val'\''"
2407
if test -s confdefs.h; then
2408
$as_echo "## ----------- ##
2415
test "$ac_signal" != 0 &&
2416
$as_echo "$as_me: caught signal $ac_signal"
2417
$as_echo "$as_me: exit $exit_status"
2419
rm -f core *.core core.conftest.* &&
2420
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2423
for ac_signal in 1 2 13 15; do
2424
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2428
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2429
rm -f -r conftest* confdefs.h
2431
$as_echo "/* confdefs.h */" > confdefs.h
2433
# Predefined preprocessor variables.
2435
cat >>confdefs.h <<_ACEOF
2436
#define PACKAGE_NAME "$PACKAGE_NAME"
2439
cat >>confdefs.h <<_ACEOF
2440
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2443
cat >>confdefs.h <<_ACEOF
2444
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2447
cat >>confdefs.h <<_ACEOF
2448
#define PACKAGE_STRING "$PACKAGE_STRING"
2451
cat >>confdefs.h <<_ACEOF
2452
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2455
cat >>confdefs.h <<_ACEOF
2456
#define PACKAGE_URL "$PACKAGE_URL"
2460
# Let the site file select an alternate cache file if it wants to.
2461
# Prefer an explicitly selected file to automatically selected ones.
2464
if test -n "$CONFIG_SITE"; then
2465
# We do not want a PATH search for config.site.
2466
case $CONFIG_SITE in #((
2467
-*) ac_site_file1=./$CONFIG_SITE;;
2468
*/*) ac_site_file1=$CONFIG_SITE;;
2469
*) ac_site_file1=./$CONFIG_SITE;;
2471
elif test "x$prefix" != xNONE; then
2472
ac_site_file1=$prefix/share/config.site
2473
ac_site_file2=$prefix/etc/config.site
2475
ac_site_file1=$ac_default_prefix/share/config.site
2476
ac_site_file2=$ac_default_prefix/etc/config.site
2478
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2480
test "x$ac_site_file" = xNONE && continue
2481
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2482
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2483
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2484
sed 's/^/| /' "$ac_site_file" >&5
2486
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2487
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2488
as_fn_error $? "failed to load site script $ac_site_file
2489
See \`config.log' for more details" "$LINENO" 5 ; }
2493
if test -r "$cache_file"; then
2494
# Some versions of bash will fail to source /dev/null (special files
2495
# actually), so we avoid doing that. DJGPP emulates it as a regular file.
2496
if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2497
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2498
$as_echo "$as_me: loading cache $cache_file" >&6;}
2500
[\\/]* | ?:[\\/]* ) . "$cache_file";;
2501
*) . "./$cache_file";;
2505
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2506
$as_echo "$as_me: creating cache $cache_file" >&6;}
2510
# Check that the precious variables saved in the cache have kept the same
2512
ac_cache_corrupted=false
2513
for ac_var in $ac_precious_vars; do
2514
eval ac_old_set=\$ac_cv_env_${ac_var}_set
2515
eval ac_new_set=\$ac_env_${ac_var}_set
2516
eval ac_old_val=\$ac_cv_env_${ac_var}_value
2517
eval ac_new_val=\$ac_env_${ac_var}_value
2518
case $ac_old_set,$ac_new_set in
2520
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2521
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2522
ac_cache_corrupted=: ;;
2524
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2525
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2526
ac_cache_corrupted=: ;;
2529
if test "x$ac_old_val" != "x$ac_new_val"; then
2530
# differences in whitespace do not lead to failure.
2531
ac_old_val_w=`echo x $ac_old_val`
2532
ac_new_val_w=`echo x $ac_new_val`
2533
if test "$ac_old_val_w" != "$ac_new_val_w"; then
2534
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2535
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2536
ac_cache_corrupted=:
2538
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2539
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2540
eval $ac_var=\$ac_old_val
2542
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2543
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2544
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2545
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2548
# Pass precious variables to config.status.
2549
if test "$ac_new_set" = set; then
2551
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2552
*) ac_arg=$ac_var=$ac_new_val ;;
2554
case " $ac_configure_args " in
2555
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2556
*) as_fn_append ac_configure_args " '$ac_arg'" ;;
2560
if $ac_cache_corrupted; then
2561
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2562
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2563
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2564
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2565
as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2567
## -------------------- ##
2568
## Main body of script. ##
2569
## -------------------- ##
2572
ac_cpp='$CPP $CPPFLAGS'
2573
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2574
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2575
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2582
ac_config_headers="$ac_config_headers config.h"
2586
am__api_version='1.11'
2589
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2590
if test -f "$ac_dir/install-sh"; then
2592
ac_install_sh="$ac_aux_dir/install-sh -c"
2594
elif test -f "$ac_dir/install.sh"; then
2596
ac_install_sh="$ac_aux_dir/install.sh -c"
2598
elif test -f "$ac_dir/shtool"; then
2600
ac_install_sh="$ac_aux_dir/shtool install -c"
2604
if test -z "$ac_aux_dir"; then
2605
as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2608
# These three variables are undocumented and unsupported,
2609
# and are intended to be withdrawn in a future Autoconf release.
2610
# They can cause serious problems if a builder's source tree is in a directory
2611
# whose full name contains unusual characters.
2612
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2613
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2614
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2617
# Find a good install program. We prefer a C program (faster),
2618
# so one script is as good as another. But avoid the broken or
2619
# incompatible versions:
2620
# SysV /etc/install, /usr/sbin/install
2621
# SunOS /usr/etc/install
2622
# IRIX /sbin/install
2624
# AmigaOS /C/install, which installs bootblocks on floppy discs
2625
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2626
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2627
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2628
# OS/2's system install, which has a completely different semantic
2629
# ./install, which can be erroneously created by make from ./install.sh.
2630
# Reject install programs that cannot install multiple files.
2631
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2632
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2633
if test -z "$INSTALL"; then
2634
if test "${ac_cv_path_install+set}" = set; then :
2635
$as_echo_n "(cached) " >&6
2637
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2641
test -z "$as_dir" && as_dir=.
2642
# Account for people who put trailing slashes in PATH elements.
2643
case $as_dir/ in #((
2644
./ | .// | /[cC]/* | \
2645
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2646
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2649
# OSF1 and SCO ODT 3.0 have their own names for install.
2650
# Don't use installbsd from OSF since it installs stuff as root
2652
for ac_prog in ginstall scoinst install; do
2653
for ac_exec_ext in '' $ac_executable_extensions; do
2654
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2655
if test $ac_prog = install &&
2656
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2657
# AIX install. It has an incompatible calling convention.
2659
elif test $ac_prog = install &&
2660
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2661
# program-specific install script used by HP pwplus--don't use.
2664
rm -rf conftest.one conftest.two conftest.dir
2665
echo one > conftest.one
2666
echo two > conftest.two
2668
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2669
test -s conftest.one && test -s conftest.two &&
2670
test -s conftest.dir/conftest.one &&
2671
test -s conftest.dir/conftest.two
2673
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2686
rm -rf conftest.one conftest.two conftest.dir
2689
if test "${ac_cv_path_install+set}" = set; then
2690
INSTALL=$ac_cv_path_install
2692
# As a last resort, use the slow shell script. Don't cache a
2693
# value for INSTALL within a source directory, because that will
2694
# break other packages using the cache if that directory is
2695
# removed, or if the value is a relative name.
2696
INSTALL=$ac_install_sh
2699
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2700
$as_echo "$INSTALL" >&6; }
2702
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2703
# It thinks the first close brace ends the variable substitution.
2704
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2706
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2708
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2710
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2711
$as_echo_n "checking whether build environment is sane... " >&6; }
2714
echo timestamp > conftest.file
2715
# Reject unsafe characters in $srcdir or the absolute working directory
2716
# name. Accept space and tab only in the latter.
2720
*[\\\"\#\$\&\'\`$am_lf]*)
2721
as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
2724
*[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2725
as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
2728
# Do `set' in a subshell so we don't clobber the current shell's
2729
# arguments. Must try -L first in case configure is actually a
2730
# symlink; some systems play weird games with the mod time of symlinks
2731
# (eg FreeBSD returns the mod time of the symlink's containing
2734
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2735
if test "$*" = "X"; then
2737
set X `ls -t "$srcdir/configure" conftest.file`
2740
if test "$*" != "X $srcdir/configure conftest.file" \
2741
&& test "$*" != "X conftest.file $srcdir/configure"; then
2743
# If neither matched, then we have a broken ls. This can happen
2744
# if, for instance, CONFIG_SHELL is bash and it inherits a
2745
# broken ls alias from the environment. This has actually
2746
# happened. Such a system could not be considered "sane".
2747
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2748
alias in your environment" "$LINENO" 5
2751
test "$2" = conftest.file
2757
as_fn_error $? "newly created file is older than distributed files!
2758
Check your system clock" "$LINENO" 5
2760
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2761
$as_echo "yes" >&6; }
2762
test "$program_prefix" != NONE &&
2763
program_transform_name="s&^&$program_prefix&;$program_transform_name"
2764
# Use a double $ so make ignores it.
2765
test "$program_suffix" != NONE &&
2766
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2767
# Double any \ or $.
2768
# By default was `s,x,x', remove it if useless.
2769
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2770
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2772
# expand $ac_aux_dir to an absolute path
2773
am_aux_dir=`cd $ac_aux_dir && pwd`
2775
if test x"${MISSING+set}" != xset; then
2778
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2780
MISSING="\${SHELL} $am_aux_dir/missing" ;;
2783
# Use eval to expand $SHELL
2784
if eval "$MISSING --run true"; then
2785
am_missing_run="$MISSING --run "
2788
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2789
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2792
if test x"${install_sh}" != xset; then
2795
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2797
install_sh="\${SHELL} $am_aux_dir/install-sh"
2801
# Installed binaries are usually stripped using `strip' when the user
2802
# run `make install-strip'. However `strip' might not be the right
2803
# tool to use in cross-compilation environments, therefore Automake
2804
# will honor the `STRIP' environment variable to overrule this program.
2805
if test "$cross_compiling" != no; then
2806
if test -n "$ac_tool_prefix"; then
2807
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2808
set dummy ${ac_tool_prefix}strip; ac_word=$2
2809
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2810
$as_echo_n "checking for $ac_word... " >&6; }
2811
if test "${ac_cv_prog_STRIP+set}" = set; then :
2812
$as_echo_n "(cached) " >&6
2814
if test -n "$STRIP"; then
2815
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2817
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2821
test -z "$as_dir" && as_dir=.
2822
for ac_exec_ext in '' $ac_executable_extensions; do
2823
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2824
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2825
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2834
STRIP=$ac_cv_prog_STRIP
2835
if test -n "$STRIP"; then
2836
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2837
$as_echo "$STRIP" >&6; }
2839
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2840
$as_echo "no" >&6; }
2845
if test -z "$ac_cv_prog_STRIP"; then
2847
# Extract the first word of "strip", so it can be a program name with args.
2848
set dummy strip; ac_word=$2
2849
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2850
$as_echo_n "checking for $ac_word... " >&6; }
2851
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2852
$as_echo_n "(cached) " >&6
2854
if test -n "$ac_ct_STRIP"; then
2855
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2857
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2861
test -z "$as_dir" && as_dir=.
2862
for ac_exec_ext in '' $ac_executable_extensions; do
2863
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2864
ac_cv_prog_ac_ct_STRIP="strip"
2865
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2874
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2875
if test -n "$ac_ct_STRIP"; then
2876
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2877
$as_echo "$ac_ct_STRIP" >&6; }
2879
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2880
$as_echo "no" >&6; }
2883
if test "x$ac_ct_STRIP" = x; then
2886
case $cross_compiling:$ac_tool_warned in
2888
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2889
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2890
ac_tool_warned=yes ;;
2895
STRIP="$ac_cv_prog_STRIP"
2899
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2901
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2902
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2903
if test -z "$MKDIR_P"; then
2904
if test "${ac_cv_path_mkdir+set}" = set; then :
2905
$as_echo_n "(cached) " >&6
2907
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2908
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2911
test -z "$as_dir" && as_dir=.
2912
for ac_prog in mkdir gmkdir; do
2913
for ac_exec_ext in '' $ac_executable_extensions; do
2914
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2915
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2916
'mkdir (GNU coreutils) '* | \
2917
'mkdir (coreutils) '* | \
2918
'mkdir (fileutils) '4.1*)
2919
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2929
test -d ./--version && rmdir ./--version
2930
if test "${ac_cv_path_mkdir+set}" = set; then
2931
MKDIR_P="$ac_cv_path_mkdir -p"
2933
# As a last resort, use the slow shell script. Don't cache a
2934
# value for MKDIR_P within a source directory, because that will
2935
# break other packages using the cache if that directory is
2936
# removed, or if the value is a relative name.
2937
MKDIR_P="$ac_install_sh -d"
2940
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2941
$as_echo "$MKDIR_P" >&6; }
2945
[\\/$]* | ?:[\\/]*) ;;
2946
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2949
for ac_prog in gawk mawk nawk awk
2951
# Extract the first word of "$ac_prog", so it can be a program name with args.
2952
set dummy $ac_prog; ac_word=$2
2953
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2954
$as_echo_n "checking for $ac_word... " >&6; }
2955
if test "${ac_cv_prog_AWK+set}" = set; then :
2956
$as_echo_n "(cached) " >&6
2958
if test -n "$AWK"; then
2959
ac_cv_prog_AWK="$AWK" # Let the user override the test.
2961
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2965
test -z "$as_dir" && as_dir=.
2966
for ac_exec_ext in '' $ac_executable_extensions; do
2967
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2968
ac_cv_prog_AWK="$ac_prog"
2969
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2979
if test -n "$AWK"; then
2980
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2981
$as_echo "$AWK" >&6; }
2983
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2984
$as_echo "no" >&6; }
2988
test -n "$AWK" && break
2991
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2992
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2994
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2995
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2996
$as_echo_n "(cached) " >&6
2998
cat >conftest.make <<\_ACEOF
3001
@echo '@@@%%%=$(MAKE)=@@@%%%'
3003
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3004
case `${MAKE-make} -f conftest.make 2>/dev/null` in
3006
eval ac_cv_prog_make_${ac_make}_set=yes;;
3008
eval ac_cv_prog_make_${ac_make}_set=no;;
3012
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3013
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3014
$as_echo "yes" >&6; }
3017
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3018
$as_echo "no" >&6; }
3019
SET_MAKE="MAKE=${MAKE-make}"
3022
rm -rf .tst 2>/dev/null
3023
mkdir .tst 2>/dev/null
3024
if test -d .tst; then
3029
rmdir .tst 2>/dev/null
3031
if test "`cd $srcdir && pwd`" != "`pwd`"; then
3032
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3033
# is not polluted with repeated "-I."
3034
am__isrc=' -I$(srcdir)'
3035
# test to see if srcdir already configured
3036
if test -f $srcdir/config.status; then
3037
as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3041
# test whether we have cygpath
3042
if test -z "$CYGPATH_W"; then
3043
if (cygpath --version) >/dev/null 2>/dev/null; then
3044
CYGPATH_W='cygpath -w'
3051
# Define the identity of the package.
3052
PACKAGE='xchat-gnome'
3056
cat >>confdefs.h <<_ACEOF
3057
#define PACKAGE "$PACKAGE"
3061
cat >>confdefs.h <<_ACEOF
3062
#define VERSION "$VERSION"
3065
# Some tools Automake needs.
3067
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3070
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3073
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3076
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3079
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3081
# We need awk for the "check" target. The system "awk" is bad on
3083
# Always define AMTAR for backward compatibility.
3085
AMTAR=${AMTAR-"${am_missing_run}tar"}
3087
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3093
# Check whether --enable-silent-rules was given.
3094
if test "${enable_silent_rules+set}" = set; then :
3095
enableval=$enable_silent_rules;
3098
case $enable_silent_rules in
3099
yes) AM_DEFAULT_VERBOSITY=0;;
3100
no) AM_DEFAULT_VERBOSITY=1;;
3101
*) AM_DEFAULT_VERBOSITY=0;;
3106
if test "$enable_maintainer_mode" = "yes"; then
3108
$as_echo "#define MAINTAINER_MODE 1" >>confdefs.h
3113
if test -z "$enable_maintainer_mode"; then
3114
enable_maintainer_mode=yes
3117
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to disable maintainer-specific portions of Makefiles" >&5
3118
$as_echo_n "checking whether to disable maintainer-specific portions of Makefiles... " >&6; }
3119
# Check whether --enable-maintainer-mode was given.
3120
if test "${enable_maintainer_mode+set}" = set; then :
3121
enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3123
USE_MAINTAINER_MODE=yes
3126
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3127
$as_echo "$USE_MAINTAINER_MODE" >&6; }
3128
if test $USE_MAINTAINER_MODE = yes; then
3129
MAINTAINER_MODE_TRUE=
3130
MAINTAINER_MODE_FALSE='#'
3132
MAINTAINER_MODE_TRUE='#'
3133
MAINTAINER_MODE_FALSE=
3136
MAINT=$MAINTAINER_MODE_TRUE
3141
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
3142
$as_echo_n "checking whether NLS is requested... " >&6; }
3143
# Check whether --enable-nls was given.
3144
if test "${enable_nls+set}" = set; then :
3145
enableval=$enable_nls; USE_NLS=$enableval
3150
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
3151
$as_echo "$USE_NLS" >&6; }
3154
DEPDIR="${am__leading_dot}deps"
3156
ac_config_commands="$ac_config_commands depfiles"
3159
am_make=${MAKE-make}
3160
cat > confinc << 'END'
3162
@echo this is the am__doit target
3165
# If we don't find an include directive, just comment out the code.
3166
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3167
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3171
# First try GNU make style include.
3172
echo "include confinc" > confmf
3173
# Ignore all kinds of additional output from `make'.
3174
case `$am_make -s -f confmf 2> /dev/null` in #(
3175
*the\ am__doit\ target*)
3181
# Now try BSD make style include.
3182
if test "$am__include" = "#"; then
3183
echo '.include "confinc"' > confmf
3184
case `$am_make -s -f confmf 2> /dev/null` in #(
3185
*the\ am__doit\ target*)
3186
am__include=.include
3194
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3195
$as_echo "$_am_result" >&6; }
3196
rm -f confinc confmf
3198
# Check whether --enable-dependency-tracking was given.
3199
if test "${enable_dependency_tracking+set}" = set; then :
3200
enableval=$enable_dependency_tracking;
3203
if test "x$enable_dependency_tracking" != xno; then
3204
am_depcomp="$ac_aux_dir/depcomp"
3207
if test "x$enable_dependency_tracking" != xno; then
3217
ac_cpp='$CPP $CPPFLAGS'
3218
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3219
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3220
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3221
if test -n "$ac_tool_prefix"; then
3222
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3223
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3224
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3225
$as_echo_n "checking for $ac_word... " >&6; }
3226
if test "${ac_cv_prog_CC+set}" = set; then :
3227
$as_echo_n "(cached) " >&6
3229
if test -n "$CC"; then
3230
ac_cv_prog_CC="$CC" # Let the user override the test.
3232
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3236
test -z "$as_dir" && as_dir=.
3237
for ac_exec_ext in '' $ac_executable_extensions; do
3238
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3239
ac_cv_prog_CC="${ac_tool_prefix}gcc"
3240
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3250
if test -n "$CC"; then
3251
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3252
$as_echo "$CC" >&6; }
3254
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3255
$as_echo "no" >&6; }
3260
if test -z "$ac_cv_prog_CC"; then
3262
# Extract the first word of "gcc", so it can be a program name with args.
3263
set dummy gcc; ac_word=$2
3264
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3265
$as_echo_n "checking for $ac_word... " >&6; }
3266
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3267
$as_echo_n "(cached) " >&6
3269
if test -n "$ac_ct_CC"; then
3270
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3272
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3276
test -z "$as_dir" && as_dir=.
3277
for ac_exec_ext in '' $ac_executable_extensions; do
3278
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3279
ac_cv_prog_ac_ct_CC="gcc"
3280
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3289
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3290
if test -n "$ac_ct_CC"; then
3291
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3292
$as_echo "$ac_ct_CC" >&6; }
3294
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3295
$as_echo "no" >&6; }
3298
if test "x$ac_ct_CC" = x; then
3301
case $cross_compiling:$ac_tool_warned in
3303
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3304
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3305
ac_tool_warned=yes ;;
3313
if test -z "$CC"; then
3314
if test -n "$ac_tool_prefix"; then
3315
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3316
set dummy ${ac_tool_prefix}cc; ac_word=$2
3317
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3318
$as_echo_n "checking for $ac_word... " >&6; }
3319
if test "${ac_cv_prog_CC+set}" = set; then :
3320
$as_echo_n "(cached) " >&6
3322
if test -n "$CC"; then
3323
ac_cv_prog_CC="$CC" # Let the user override the test.
3325
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3329
test -z "$as_dir" && as_dir=.
3330
for ac_exec_ext in '' $ac_executable_extensions; do
3331
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3332
ac_cv_prog_CC="${ac_tool_prefix}cc"
3333
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3343
if test -n "$CC"; then
3344
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3345
$as_echo "$CC" >&6; }
3347
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3348
$as_echo "no" >&6; }
3354
if test -z "$CC"; then
3355
# Extract the first word of "cc", so it can be a program name with args.
3356
set dummy cc; ac_word=$2
3357
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3358
$as_echo_n "checking for $ac_word... " >&6; }
3359
if test "${ac_cv_prog_CC+set}" = set; then :
3360
$as_echo_n "(cached) " >&6
3362
if test -n "$CC"; then
3363
ac_cv_prog_CC="$CC" # Let the user override the test.
3366
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3370
test -z "$as_dir" && as_dir=.
3371
for ac_exec_ext in '' $ac_executable_extensions; do
3372
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3373
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3374
ac_prog_rejected=yes
3378
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3385
if test $ac_prog_rejected = yes; then
3386
# We found a bogon in the path, so make sure we never use it.
3387
set dummy $ac_cv_prog_CC
3389
if test $# != 0; then
3390
# We chose a different compiler from the bogus one.
3391
# However, it has the same basename, so the bogon will be chosen
3392
# first if we set CC to just the basename; use the full file name.
3394
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3400
if test -n "$CC"; then
3401
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3402
$as_echo "$CC" >&6; }
3404
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3405
$as_echo "no" >&6; }
3410
if test -z "$CC"; then
3411
if test -n "$ac_tool_prefix"; then
3412
for ac_prog in cl.exe
3414
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3415
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3416
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3417
$as_echo_n "checking for $ac_word... " >&6; }
3418
if test "${ac_cv_prog_CC+set}" = set; then :
3419
$as_echo_n "(cached) " >&6
3421
if test -n "$CC"; then
3422
ac_cv_prog_CC="$CC" # Let the user override the test.
3424
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3428
test -z "$as_dir" && as_dir=.
3429
for ac_exec_ext in '' $ac_executable_extensions; do
3430
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3431
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3432
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3442
if test -n "$CC"; then
3443
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3444
$as_echo "$CC" >&6; }
3446
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3447
$as_echo "no" >&6; }
3451
test -n "$CC" && break
3454
if test -z "$CC"; then
3456
for ac_prog in cl.exe
3458
# Extract the first word of "$ac_prog", so it can be a program name with args.
3459
set dummy $ac_prog; ac_word=$2
3460
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3461
$as_echo_n "checking for $ac_word... " >&6; }
3462
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3463
$as_echo_n "(cached) " >&6
3465
if test -n "$ac_ct_CC"; then
3466
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3468
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3472
test -z "$as_dir" && as_dir=.
3473
for ac_exec_ext in '' $ac_executable_extensions; do
3474
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3475
ac_cv_prog_ac_ct_CC="$ac_prog"
3476
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3485
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3486
if test -n "$ac_ct_CC"; then
3487
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3488
$as_echo "$ac_ct_CC" >&6; }
3490
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3491
$as_echo "no" >&6; }
3495
test -n "$ac_ct_CC" && break
3498
if test "x$ac_ct_CC" = x; then
3501
case $cross_compiling:$ac_tool_warned in
3503
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3504
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3505
ac_tool_warned=yes ;;
3514
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3515
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3516
as_fn_error $? "no acceptable C compiler found in \$PATH
3517
See \`config.log' for more details" "$LINENO" 5 ; }
3519
# Provide some information about the compiler.
3520
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3523
for ac_option in --version -v -V -qversion; do
3524
{ { ac_try="$ac_compiler $ac_option >&5"
3526
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3527
*) ac_try_echo=$ac_try;;
3529
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3530
$as_echo "$ac_try_echo"; } >&5
3531
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
3533
if test -s conftest.err; then
3535
... rest of stderr output deleted ...
3536
10q' conftest.err >conftest.er1
3537
cat conftest.er1 >&5
3539
rm -f conftest.er1 conftest.err
3540
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3541
test $ac_status = 0; }
3544
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3545
/* end confdefs.h. */
3555
ac_clean_files_save=$ac_clean_files
3556
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3557
# Try to create an executable without -o first, disregard a.out.
3558
# It will help us diagnose broken compilers, and finding out an intuition
3560
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3561
$as_echo_n "checking whether the C compiler works... " >&6; }
3562
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3564
# The possible output files:
3565
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3568
for ac_file in $ac_files
3571
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3572
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
3577
if { { ac_try="$ac_link_default"
3579
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3580
*) ac_try_echo=$ac_try;;
3582
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3583
$as_echo "$ac_try_echo"; } >&5
3584
(eval "$ac_link_default") 2>&5
3586
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3587
test $ac_status = 0; }; then :
3588
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3589
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3590
# in a Makefile. We should not override ac_cv_exeext if it was cached,
3591
# so that the user can short-circuit this test for compilers unknown to
3593
for ac_file in $ac_files ''
3595
test -f "$ac_file" || continue
3597
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3600
# We found the default executable, but exeext='' is most
3604
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3606
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3608
# We set ac_cv_exeext here because the later test for it is not
3609
# safe: cross compilers may not add the suffix if given an `-o'
3610
# argument, so we may need to know it at that point already.
3611
# Even if this section looks crufty: it has the advantage of
3618
test "$ac_cv_exeext" = no && ac_cv_exeext=
3623
if test -z "$ac_file"; then :
3624
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3625
$as_echo "no" >&6; }
3626
$as_echo "$as_me: failed program was:" >&5
3627
sed 's/^/| /' conftest.$ac_ext >&5
3629
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3630
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3631
as_fn_error 77 "C compiler cannot create executables
3632
See \`config.log' for more details" "$LINENO" 5 ; }
3634
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3635
$as_echo "yes" >&6; }
3637
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3638
$as_echo_n "checking for C compiler default output file name... " >&6; }
3639
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3640
$as_echo "$ac_file" >&6; }
3641
ac_exeext=$ac_cv_exeext
3643
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3644
ac_clean_files=$ac_clean_files_save
3645
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3646
$as_echo_n "checking for suffix of executables... " >&6; }
3647
if { { ac_try="$ac_link"
3649
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3650
*) ac_try_echo=$ac_try;;
3652
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3653
$as_echo "$ac_try_echo"; } >&5
3654
(eval "$ac_link") 2>&5
3656
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3657
test $ac_status = 0; }; then :
3658
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3659
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3660
# work properly (i.e., refer to `conftest.exe'), while it won't with
3662
for ac_file in conftest.exe conftest conftest.*; do
3663
test -f "$ac_file" || continue
3665
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3666
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3672
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3673
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3674
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3675
See \`config.log' for more details" "$LINENO" 5 ; }
3677
rm -f conftest conftest$ac_cv_exeext
3678
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3679
$as_echo "$ac_cv_exeext" >&6; }
3681
rm -f conftest.$ac_ext
3682
EXEEXT=$ac_cv_exeext
3684
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3685
/* end confdefs.h. */
3690
FILE *f = fopen ("conftest.out", "w");
3691
return ferror (f) || fclose (f) != 0;
3697
ac_clean_files="$ac_clean_files conftest.out"
3698
# Check that the compiler produces executables we can run. If not, either
3699
# the compiler is broken, or we cross compile.
3700
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3701
$as_echo_n "checking whether we are cross compiling... " >&6; }
3702
if test "$cross_compiling" != yes; then
3703
{ { ac_try="$ac_link"
3705
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3706
*) ac_try_echo=$ac_try;;
3708
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3709
$as_echo "$ac_try_echo"; } >&5
3710
(eval "$ac_link") 2>&5
3712
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3713
test $ac_status = 0; }
3714
if { ac_try='./conftest$ac_cv_exeext'
3715
{ { case "(($ac_try" in
3716
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3717
*) ac_try_echo=$ac_try;;
3719
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3720
$as_echo "$ac_try_echo"; } >&5
3721
(eval "$ac_try") 2>&5
3723
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3724
test $ac_status = 0; }; }; then
3727
if test "$cross_compiling" = maybe; then
3730
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3731
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3732
as_fn_error $? "cannot run C compiled programs.
3733
If you meant to cross compile, use \`--host'.
3734
See \`config.log' for more details" "$LINENO" 5 ; }
3738
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3739
$as_echo "$cross_compiling" >&6; }
3741
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3742
ac_clean_files=$ac_clean_files_save
3743
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3744
$as_echo_n "checking for suffix of object files... " >&6; }
3745
if test "${ac_cv_objext+set}" = set; then :
3746
$as_echo_n "(cached) " >&6
3748
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3749
/* end confdefs.h. */
3759
rm -f conftest.o conftest.obj
3760
if { { ac_try="$ac_compile"
3762
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3763
*) ac_try_echo=$ac_try;;
3765
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3766
$as_echo "$ac_try_echo"; } >&5
3767
(eval "$ac_compile") 2>&5
3769
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3770
test $ac_status = 0; }; then :
3771
for ac_file in conftest.o conftest.obj conftest.*; do
3772
test -f "$ac_file" || continue;
3774
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3775
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3780
$as_echo "$as_me: failed program was:" >&5
3781
sed 's/^/| /' conftest.$ac_ext >&5
3783
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3784
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3785
as_fn_error $? "cannot compute suffix of object files: cannot compile
3786
See \`config.log' for more details" "$LINENO" 5 ; }
3788
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3790
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3791
$as_echo "$ac_cv_objext" >&6; }
3792
OBJEXT=$ac_cv_objext
3794
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3795
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3796
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3797
$as_echo_n "(cached) " >&6
3799
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3800
/* end confdefs.h. */
3813
if ac_fn_c_try_compile "$LINENO"; then :
3818
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3819
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3822
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3823
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3824
if test $ac_compiler_gnu = yes; then
3829
ac_test_CFLAGS=${CFLAGS+set}
3830
ac_save_CFLAGS=$CFLAGS
3831
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3832
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3833
if test "${ac_cv_prog_cc_g+set}" = set; then :
3834
$as_echo_n "(cached) " >&6
3836
ac_save_c_werror_flag=$ac_c_werror_flag
3837
ac_c_werror_flag=yes
3840
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3841
/* end confdefs.h. */
3851
if ac_fn_c_try_compile "$LINENO"; then :
3855
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3856
/* end confdefs.h. */
3866
if ac_fn_c_try_compile "$LINENO"; then :
3869
ac_c_werror_flag=$ac_save_c_werror_flag
3871
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3872
/* end confdefs.h. */
3882
if ac_fn_c_try_compile "$LINENO"; then :
3885
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3887
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3889
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3890
ac_c_werror_flag=$ac_save_c_werror_flag
3892
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3893
$as_echo "$ac_cv_prog_cc_g" >&6; }
3894
if test "$ac_test_CFLAGS" = set; then
3895
CFLAGS=$ac_save_CFLAGS
3896
elif test $ac_cv_prog_cc_g = yes; then
3897
if test "$GCC" = yes; then
3903
if test "$GCC" = yes; then
3909
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3910
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3911
if test "${ac_cv_prog_cc_c89+set}" = set; then :
3912
$as_echo_n "(cached) " >&6
3914
ac_cv_prog_cc_c89=no
3916
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3917
/* end confdefs.h. */
3920
#include <sys/types.h>
3921
#include <sys/stat.h>
3922
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3923
struct buf { int x; };
3924
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3925
static char *e (p, i)
3931
static char *f (char * (*g) (char **, int), char **p, ...)
3936
s = g (p, va_arg (v,int));
3941
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3942
function prototypes and stuff, but not '\xHH' hex character constants.
3943
These don't provoke an error unfortunately, instead are silently treated
3944
as 'x'. The following induces an error, until -std is added to get
3945
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3946
array size at least. It's necessary to write '\x00'==0 to get something
3947
that's true only with -std. */
3948
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3950
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3951
inside strings and character constants. */
3953
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3955
int test (int i, double x);
3956
struct s1 {int (*f) (int a);};
3957
struct s2 {int (*f) (double a);};
3958
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3964
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3969
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3970
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3972
CC="$ac_save_CC $ac_arg"
3973
if ac_fn_c_try_compile "$LINENO"; then :
3974
ac_cv_prog_cc_c89=$ac_arg
3976
rm -f core conftest.err conftest.$ac_objext
3977
test "x$ac_cv_prog_cc_c89" != "xno" && break
3979
rm -f conftest.$ac_ext
3984
case "x$ac_cv_prog_cc_c89" in
3986
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3987
$as_echo "none needed" >&6; } ;;
3989
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3990
$as_echo "unsupported" >&6; } ;;
3992
CC="$CC $ac_cv_prog_cc_c89"
3993
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3994
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3996
if test "x$ac_cv_prog_cc_c89" != xno; then :
4001
ac_cpp='$CPP $CPPFLAGS'
4002
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4003
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4004
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4006
depcc="$CC" am_compiler_list=
4008
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4009
$as_echo_n "checking dependency style of $depcc... " >&6; }
4010
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4011
$as_echo_n "(cached) " >&6
4013
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4014
# We make a subdir and do the tests there. Otherwise we can end up
4015
# making bogus files that we don't know about and never remove. For
4016
# instance it was reported that on HP-UX the gcc test will end up
4017
# making a dummy file named `D' -- because `-MD' means `put the output
4020
# Copy depcomp to subdir because otherwise we won't find it if we're
4021
# using a relative directory.
4022
cp "$am_depcomp" conftest.dir
4024
# We will build objects and dependencies in a subdirectory because
4025
# it helps to detect inapplicable dependency modes. For instance
4026
# both Tru64's cc and ICC support -MD to output dependencies as a
4027
# side effect of compilation, but ICC will put the dependencies in
4028
# the current directory while Tru64 will put them in the object
4032
am_cv_CC_dependencies_compiler_type=none
4033
if test "$am_compiler_list" = ""; then
4034
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4037
case " $depcc " in #(
4038
*\ -arch\ *\ -arch\ *) am__universal=true ;;
4041
for depmode in $am_compiler_list; do
4042
# Setup a source with many dependencies, because some compilers
4043
# like to wrap large dependency lists on column 80 (with \), and
4044
# we should not choose a depcomp mode which is confused by this.
4046
# We need to recreate these files for each test, as the compiler may
4047
# overwrite some of them when testing with obscure command lines.
4048
# This happens at least with the AIX C compiler.
4050
for i in 1 2 3 4 5 6; do
4051
echo '#include "conftst'$i'.h"' >> sub/conftest.c
4052
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4053
# Solaris 8's {/usr,}/bin/sh.
4054
touch sub/conftst$i.h
4056
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4058
# We check with `-c' and `-o' for the sake of the "dashmstdout"
4059
# mode. It turns out that the SunPro C++ compiler does not properly
4060
# handle `-M -o', and we need to detect this. Also, some Intel
4061
# versions had trouble with output in subdirs
4062
am__obj=sub/conftest.${OBJEXT-o}
4063
am__minus_obj="-o $am__obj"
4066
# This depmode causes a compiler race in universal mode.
4067
test "$am__universal" = false || continue
4070
# after this tag, mechanisms are not by side-effect, so they'll
4071
# only be used when explicitly requested
4072
if test "x$enable_dependency_tracking" = xyes; then
4078
msvisualcpp | msvcmsys)
4079
# This compiler won't grok `-c -o', but also, the minuso test has
4080
# not run yet. These depmodes are late enough in the game, and
4081
# so weak that their functioning should not be impacted.
4082
am__obj=conftest.${OBJEXT-o}
4087
if depmode=$depmode \
4088
source=sub/conftest.c object=$am__obj \
4089
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4090
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4091
>/dev/null 2>conftest.err &&
4092
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4093
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4094
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4095
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4096
# icc doesn't choke on unknown options, it will just issue warnings
4097
# or remarks (even with -Werror). So we grep stderr for any message
4098
# that says an option was ignored or not supported.
4099
# When given -MP, icc 7.0 and 7.1 complain thusly:
4100
# icc: Command line warning: ignoring option '-M'; no argument required
4101
# The diagnosis changed in icc 8.0:
4102
# icc: Command line remark: option '-MP' not supported
4103
if (grep 'ignoring option' conftest.err ||
4104
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4105
am_cv_CC_dependencies_compiler_type=$depmode
4114
am_cv_CC_dependencies_compiler_type=none
4118
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4119
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4120
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4123
test "x$enable_dependency_tracking" != xno \
4124
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4126
am__fastdepCC_FALSE='#'
4128
am__fastdepCC_TRUE='#'
4129
am__fastdepCC_FALSE=
4136
case "$am__api_version" in
4138
as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
4144
if test -n "0.35.0"; then
4145
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.35.0" >&5
4146
$as_echo_n "checking for intltool >= 0.35.0... " >&6; }
4148
INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
4149
INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
4150
INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
4152
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
4153
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
4154
test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
4155
as_fn_error $? "Your intltool is too old. You need intltool 0.35.0 or later." "$LINENO" 5
4158
# Extract the first word of "intltool-update", so it can be a program name with args.
4159
set dummy intltool-update; ac_word=$2
4160
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4161
$as_echo_n "checking for $ac_word... " >&6; }
4162
if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then :
4163
$as_echo_n "(cached) " >&6
4165
case $INTLTOOL_UPDATE in
4167
ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
4170
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4174
test -z "$as_dir" && as_dir=.
4175
for ac_exec_ext in '' $ac_executable_extensions; do
4176
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4177
ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
4178
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4188
INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
4189
if test -n "$INTLTOOL_UPDATE"; then
4190
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
4191
$as_echo "$INTLTOOL_UPDATE" >&6; }
4193
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4194
$as_echo "no" >&6; }
4198
# Extract the first word of "intltool-merge", so it can be a program name with args.
4199
set dummy intltool-merge; ac_word=$2
4200
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4201
$as_echo_n "checking for $ac_word... " >&6; }
4202
if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then :
4203
$as_echo_n "(cached) " >&6
4205
case $INTLTOOL_MERGE in
4207
ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
4210
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4214
test -z "$as_dir" && as_dir=.
4215
for ac_exec_ext in '' $ac_executable_extensions; do
4216
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4217
ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
4218
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4228
INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
4229
if test -n "$INTLTOOL_MERGE"; then
4230
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
4231
$as_echo "$INTLTOOL_MERGE" >&6; }
4233
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4234
$as_echo "no" >&6; }
4238
# Extract the first word of "intltool-extract", so it can be a program name with args.
4239
set dummy intltool-extract; ac_word=$2
4240
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4241
$as_echo_n "checking for $ac_word... " >&6; }
4242
if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then :
4243
$as_echo_n "(cached) " >&6
4245
case $INTLTOOL_EXTRACT in
4247
ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
4250
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4254
test -z "$as_dir" && as_dir=.
4255
for ac_exec_ext in '' $ac_executable_extensions; do
4256
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4257
ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
4258
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4268
INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
4269
if test -n "$INTLTOOL_EXTRACT"; then
4270
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
4271
$as_echo "$INTLTOOL_EXTRACT" >&6; }
4273
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4274
$as_echo "no" >&6; }
4278
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
4279
as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
4282
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 $< $@'
4283
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 $< $@'
4284
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 $< $@'
4285
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 $< $@'
4286
INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
4287
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 $< $@'
4288
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 $< $@'
4289
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 $< $@'
4290
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 $< $@'
4291
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 $< $@'
4292
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 $< $@'
4293
INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
4294
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 $< $@'
4295
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 $< $@'
4296
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 $< $@'
4297
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 $< $@'
4298
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 $< $@'
4299
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 $< $@'
4300
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 $< $@'
4398
# Check the gettext tools to make sure they are GNU
4399
# Extract the first word of "xgettext", so it can be a program name with args.
4400
set dummy xgettext; ac_word=$2
4401
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4402
$as_echo_n "checking for $ac_word... " >&6; }
4403
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
4404
$as_echo_n "(cached) " >&6
4408
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
4411
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4415
test -z "$as_dir" && as_dir=.
4416
for ac_exec_ext in '' $ac_executable_extensions; do
4417
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4418
ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
4419
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4429
XGETTEXT=$ac_cv_path_XGETTEXT
4430
if test -n "$XGETTEXT"; then
4431
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
4432
$as_echo "$XGETTEXT" >&6; }
4434
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4435
$as_echo "no" >&6; }
4439
# Extract the first word of "msgmerge", so it can be a program name with args.
4440
set dummy msgmerge; ac_word=$2
4441
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4442
$as_echo_n "checking for $ac_word... " >&6; }
4443
if test "${ac_cv_path_MSGMERGE+set}" = set; then :
4444
$as_echo_n "(cached) " >&6
4448
ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
4451
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4455
test -z "$as_dir" && as_dir=.
4456
for ac_exec_ext in '' $ac_executable_extensions; do
4457
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4458
ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
4459
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4469
MSGMERGE=$ac_cv_path_MSGMERGE
4470
if test -n "$MSGMERGE"; then
4471
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
4472
$as_echo "$MSGMERGE" >&6; }
4474
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4475
$as_echo "no" >&6; }
4479
# Extract the first word of "msgfmt", so it can be a program name with args.
4480
set dummy msgfmt; ac_word=$2
4481
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4482
$as_echo_n "checking for $ac_word... " >&6; }
4483
if test "${ac_cv_path_MSGFMT+set}" = set; then :
4484
$as_echo_n "(cached) " >&6
4488
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
4491
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4495
test -z "$as_dir" && as_dir=.
4496
for ac_exec_ext in '' $ac_executable_extensions; do
4497
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4498
ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
4499
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4509
MSGFMT=$ac_cv_path_MSGFMT
4510
if test -n "$MSGFMT"; then
4511
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
4512
$as_echo "$MSGFMT" >&6; }
4514
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4515
$as_echo "no" >&6; }
4519
# Extract the first word of "gmsgfmt", so it can be a program name with args.
4520
set dummy gmsgfmt; ac_word=$2
4521
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4522
$as_echo_n "checking for $ac_word... " >&6; }
4523
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
4524
$as_echo_n "(cached) " >&6
4528
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
4531
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4535
test -z "$as_dir" && as_dir=.
4536
for ac_exec_ext in '' $ac_executable_extensions; do
4537
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4538
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
4539
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4546
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
4550
GMSGFMT=$ac_cv_path_GMSGFMT
4551
if test -n "$GMSGFMT"; then
4552
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
4553
$as_echo "$GMSGFMT" >&6; }
4555
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4556
$as_echo "no" >&6; }
4560
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
4561
as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
4563
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
4564
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
4565
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
4566
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
4567
as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
4570
# Extract the first word of "perl", so it can be a program name with args.
4571
set dummy perl; ac_word=$2
4572
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4573
$as_echo_n "checking for $ac_word... " >&6; }
4574
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then :
4575
$as_echo_n "(cached) " >&6
4577
case $INTLTOOL_PERL in
4579
ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
4582
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4586
test -z "$as_dir" && as_dir=.
4587
for ac_exec_ext in '' $ac_executable_extensions; do
4588
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4589
ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
4590
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4600
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
4601
if test -n "$INTLTOOL_PERL"; then
4602
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
4603
$as_echo "$INTLTOOL_PERL" >&6; }
4605
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4606
$as_echo "no" >&6; }
4610
if test -z "$INTLTOOL_PERL"; then
4611
as_fn_error $? "perl not found" "$LINENO" 5
4613
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
4614
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
4615
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
4616
if test $? -ne 0; then
4617
as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
4619
IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
4620
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
4621
$as_echo "$IT_PERL_VERSION" >&6; }
4623
if test "x" != "xno-xml"; then
4624
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
4625
$as_echo_n "checking for XML::Parser... " >&6; }
4626
if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
4627
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
4628
$as_echo "ok" >&6; }
4630
as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
4634
# Substitute ALL_LINGUAS so we can use it in po/Makefile
4637
# Set DATADIRNAME correctly if it is not set yet
4638
# (copied from glib-gettext.m4)
4639
if test -z "$DATADIRNAME"; then
4640
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4641
/* end confdefs.h. */
4646
extern int _nl_msg_cat_cntr;
4647
return _nl_msg_cat_cntr
4652
if ac_fn_c_try_link "$LINENO"; then :
4657
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
4658
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
4670
rm -f core conftest.err conftest.$ac_objext \
4671
conftest$ac_exeext conftest.$ac_ext
4679
GLIB_REQUIRED=2.18.0
4681
LIBGLADE_REQUIRED=2.3.2
4682
GCONF_REQUIRED=2.8.0
4684
DBUS_GLIB_REQUIRED=0.60
4685
LIBSEXY_REQUIRED=0.1.11
4686
LIBNOTIFY_REQUIRED=0.3.2
4687
LIBCANBERRAGTK_REQUIRED=0.3
4691
ac_cpp='$CPP $CPPFLAGS'
4692
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4693
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4694
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4695
if test -n "$ac_tool_prefix"; then
4696
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4697
set dummy ${ac_tool_prefix}gcc; ac_word=$2
4698
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4699
$as_echo_n "checking for $ac_word... " >&6; }
4700
if test "${ac_cv_prog_CC+set}" = set; then :
4701
$as_echo_n "(cached) " >&6
4703
if test -n "$CC"; then
4704
ac_cv_prog_CC="$CC" # Let the user override the test.
4706
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4710
test -z "$as_dir" && as_dir=.
4711
for ac_exec_ext in '' $ac_executable_extensions; do
4712
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4713
ac_cv_prog_CC="${ac_tool_prefix}gcc"
4714
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4724
if test -n "$CC"; then
4725
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4726
$as_echo "$CC" >&6; }
4728
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4729
$as_echo "no" >&6; }
4734
if test -z "$ac_cv_prog_CC"; then
4736
# Extract the first word of "gcc", so it can be a program name with args.
4737
set dummy gcc; ac_word=$2
4738
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4739
$as_echo_n "checking for $ac_word... " >&6; }
4740
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4741
$as_echo_n "(cached) " >&6
4743
if test -n "$ac_ct_CC"; then
4744
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4746
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4750
test -z "$as_dir" && as_dir=.
4751
for ac_exec_ext in '' $ac_executable_extensions; do
4752
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4753
ac_cv_prog_ac_ct_CC="gcc"
4754
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4763
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4764
if test -n "$ac_ct_CC"; then
4765
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4766
$as_echo "$ac_ct_CC" >&6; }
4768
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4769
$as_echo "no" >&6; }
4772
if test "x$ac_ct_CC" = x; then
4775
case $cross_compiling:$ac_tool_warned in
4777
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4778
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4779
ac_tool_warned=yes ;;
4787
if test -z "$CC"; then
4788
if test -n "$ac_tool_prefix"; then
4789
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4790
set dummy ${ac_tool_prefix}cc; ac_word=$2
4791
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4792
$as_echo_n "checking for $ac_word... " >&6; }
4793
if test "${ac_cv_prog_CC+set}" = set; then :
4794
$as_echo_n "(cached) " >&6
4796
if test -n "$CC"; then
4797
ac_cv_prog_CC="$CC" # Let the user override the test.
4799
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4803
test -z "$as_dir" && as_dir=.
4804
for ac_exec_ext in '' $ac_executable_extensions; do
4805
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4806
ac_cv_prog_CC="${ac_tool_prefix}cc"
4807
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4817
if test -n "$CC"; then
4818
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4819
$as_echo "$CC" >&6; }
4821
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4822
$as_echo "no" >&6; }
4828
if test -z "$CC"; then
4829
# Extract the first word of "cc", so it can be a program name with args.
4830
set dummy cc; ac_word=$2
4831
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4832
$as_echo_n "checking for $ac_word... " >&6; }
4833
if test "${ac_cv_prog_CC+set}" = set; then :
4834
$as_echo_n "(cached) " >&6
4836
if test -n "$CC"; then
4837
ac_cv_prog_CC="$CC" # Let the user override the test.
4840
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4844
test -z "$as_dir" && as_dir=.
4845
for ac_exec_ext in '' $ac_executable_extensions; do
4846
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4847
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4848
ac_prog_rejected=yes
4852
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4859
if test $ac_prog_rejected = yes; then
4860
# We found a bogon in the path, so make sure we never use it.
4861
set dummy $ac_cv_prog_CC
4863
if test $# != 0; then
4864
# We chose a different compiler from the bogus one.
4865
# However, it has the same basename, so the bogon will be chosen
4866
# first if we set CC to just the basename; use the full file name.
4868
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4874
if test -n "$CC"; then
4875
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4876
$as_echo "$CC" >&6; }
4878
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4879
$as_echo "no" >&6; }
4884
if test -z "$CC"; then
4885
if test -n "$ac_tool_prefix"; then
4886
for ac_prog in cl.exe
4888
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4889
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4890
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4891
$as_echo_n "checking for $ac_word... " >&6; }
4892
if test "${ac_cv_prog_CC+set}" = set; then :
4893
$as_echo_n "(cached) " >&6
4895
if test -n "$CC"; then
4896
ac_cv_prog_CC="$CC" # Let the user override the test.
4898
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4902
test -z "$as_dir" && as_dir=.
4903
for ac_exec_ext in '' $ac_executable_extensions; do
4904
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4905
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4906
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4916
if test -n "$CC"; then
4917
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4918
$as_echo "$CC" >&6; }
4920
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4921
$as_echo "no" >&6; }
4925
test -n "$CC" && break
4928
if test -z "$CC"; then
4930
for ac_prog in cl.exe
4932
# Extract the first word of "$ac_prog", so it can be a program name with args.
4933
set dummy $ac_prog; ac_word=$2
4934
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4935
$as_echo_n "checking for $ac_word... " >&6; }
4936
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4937
$as_echo_n "(cached) " >&6
4939
if test -n "$ac_ct_CC"; then
4940
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4942
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4946
test -z "$as_dir" && as_dir=.
4947
for ac_exec_ext in '' $ac_executable_extensions; do
4948
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4949
ac_cv_prog_ac_ct_CC="$ac_prog"
4950
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4959
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4960
if test -n "$ac_ct_CC"; then
4961
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4962
$as_echo "$ac_ct_CC" >&6; }
4964
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4965
$as_echo "no" >&6; }
4969
test -n "$ac_ct_CC" && break
4972
if test "x$ac_ct_CC" = x; then
4975
case $cross_compiling:$ac_tool_warned in
4977
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4978
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4979
ac_tool_warned=yes ;;
4988
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4989
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4990
as_fn_error $? "no acceptable C compiler found in \$PATH
4991
See \`config.log' for more details" "$LINENO" 5 ; }
4993
# Provide some information about the compiler.
4994
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4997
for ac_option in --version -v -V -qversion; do
4998
{ { ac_try="$ac_compiler $ac_option >&5"
5000
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5001
*) ac_try_echo=$ac_try;;
5003
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5004
$as_echo "$ac_try_echo"; } >&5
5005
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
5007
if test -s conftest.err; then
5009
... rest of stderr output deleted ...
5010
10q' conftest.err >conftest.er1
5011
cat conftest.er1 >&5
5013
rm -f conftest.er1 conftest.err
5014
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5015
test $ac_status = 0; }
5018
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5019
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5020
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
5021
$as_echo_n "(cached) " >&6
5023
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5024
/* end confdefs.h. */
5037
if ac_fn_c_try_compile "$LINENO"; then :
5042
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5043
ac_cv_c_compiler_gnu=$ac_compiler_gnu
5046
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5047
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
5048
if test $ac_compiler_gnu = yes; then
5053
ac_test_CFLAGS=${CFLAGS+set}
5054
ac_save_CFLAGS=$CFLAGS
5055
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5056
$as_echo_n "checking whether $CC accepts -g... " >&6; }
5057
if test "${ac_cv_prog_cc_g+set}" = set; then :
5058
$as_echo_n "(cached) " >&6
5060
ac_save_c_werror_flag=$ac_c_werror_flag
5061
ac_c_werror_flag=yes
5064
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5065
/* end confdefs.h. */
5075
if ac_fn_c_try_compile "$LINENO"; then :
5079
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5080
/* end confdefs.h. */
5090
if ac_fn_c_try_compile "$LINENO"; then :
5093
ac_c_werror_flag=$ac_save_c_werror_flag
5095
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5096
/* end confdefs.h. */
5106
if ac_fn_c_try_compile "$LINENO"; then :
5109
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5111
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5113
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5114
ac_c_werror_flag=$ac_save_c_werror_flag
5116
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5117
$as_echo "$ac_cv_prog_cc_g" >&6; }
5118
if test "$ac_test_CFLAGS" = set; then
5119
CFLAGS=$ac_save_CFLAGS
5120
elif test $ac_cv_prog_cc_g = yes; then
5121
if test "$GCC" = yes; then
5127
if test "$GCC" = yes; then
5133
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5134
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5135
if test "${ac_cv_prog_cc_c89+set}" = set; then :
5136
$as_echo_n "(cached) " >&6
5138
ac_cv_prog_cc_c89=no
5140
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5141
/* end confdefs.h. */
5144
#include <sys/types.h>
5145
#include <sys/stat.h>
5146
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5147
struct buf { int x; };
5148
FILE * (*rcsopen) (struct buf *, struct stat *, int);
5149
static char *e (p, i)
5155
static char *f (char * (*g) (char **, int), char **p, ...)
5160
s = g (p, va_arg (v,int));
5165
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5166
function prototypes and stuff, but not '\xHH' hex character constants.
5167
These don't provoke an error unfortunately, instead are silently treated
5168
as 'x'. The following induces an error, until -std is added to get
5169
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5170
array size at least. It's necessary to write '\x00'==0 to get something
5171
that's true only with -std. */
5172
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5174
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5175
inside strings and character constants. */
5177
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5179
int test (int i, double x);
5180
struct s1 {int (*f) (int a);};
5181
struct s2 {int (*f) (double a);};
5182
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5188
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5193
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5194
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5196
CC="$ac_save_CC $ac_arg"
5197
if ac_fn_c_try_compile "$LINENO"; then :
5198
ac_cv_prog_cc_c89=$ac_arg
5200
rm -f core conftest.err conftest.$ac_objext
5201
test "x$ac_cv_prog_cc_c89" != "xno" && break
5203
rm -f conftest.$ac_ext
5208
case "x$ac_cv_prog_cc_c89" in
5210
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5211
$as_echo "none needed" >&6; } ;;
5213
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5214
$as_echo "unsupported" >&6; } ;;
5216
CC="$CC $ac_cv_prog_cc_c89"
5217
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5218
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5220
if test "x$ac_cv_prog_cc_c89" != xno; then :
5225
ac_cpp='$CPP $CPPFLAGS'
5226
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5227
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5228
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5230
depcc="$CC" am_compiler_list=
5232
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5233
$as_echo_n "checking dependency style of $depcc... " >&6; }
5234
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
5235
$as_echo_n "(cached) " >&6
5237
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5238
# We make a subdir and do the tests there. Otherwise we can end up
5239
# making bogus files that we don't know about and never remove. For
5240
# instance it was reported that on HP-UX the gcc test will end up
5241
# making a dummy file named `D' -- because `-MD' means `put the output
5244
# Copy depcomp to subdir because otherwise we won't find it if we're
5245
# using a relative directory.
5246
cp "$am_depcomp" conftest.dir
5248
# We will build objects and dependencies in a subdirectory because
5249
# it helps to detect inapplicable dependency modes. For instance
5250
# both Tru64's cc and ICC support -MD to output dependencies as a
5251
# side effect of compilation, but ICC will put the dependencies in
5252
# the current directory while Tru64 will put them in the object
5256
am_cv_CC_dependencies_compiler_type=none
5257
if test "$am_compiler_list" = ""; then
5258
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5261
case " $depcc " in #(
5262
*\ -arch\ *\ -arch\ *) am__universal=true ;;
5265
for depmode in $am_compiler_list; do
5266
# Setup a source with many dependencies, because some compilers
5267
# like to wrap large dependency lists on column 80 (with \), and
5268
# we should not choose a depcomp mode which is confused by this.
5270
# We need to recreate these files for each test, as the compiler may
5271
# overwrite some of them when testing with obscure command lines.
5272
# This happens at least with the AIX C compiler.
5274
for i in 1 2 3 4 5 6; do
5275
echo '#include "conftst'$i'.h"' >> sub/conftest.c
5276
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5277
# Solaris 8's {/usr,}/bin/sh.
5278
touch sub/conftst$i.h
5280
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5282
# We check with `-c' and `-o' for the sake of the "dashmstdout"
5283
# mode. It turns out that the SunPro C++ compiler does not properly
5284
# handle `-M -o', and we need to detect this. Also, some Intel
5285
# versions had trouble with output in subdirs
5286
am__obj=sub/conftest.${OBJEXT-o}
5287
am__minus_obj="-o $am__obj"
5290
# This depmode causes a compiler race in universal mode.
5291
test "$am__universal" = false || continue
5294
# after this tag, mechanisms are not by side-effect, so they'll
5295
# only be used when explicitly requested
5296
if test "x$enable_dependency_tracking" = xyes; then
5302
msvisualcpp | msvcmsys)
5303
# This compiler won't grok `-c -o', but also, the minuso test has
5304
# not run yet. These depmodes are late enough in the game, and
5305
# so weak that their functioning should not be impacted.
5306
am__obj=conftest.${OBJEXT-o}
5311
if depmode=$depmode \
5312
source=sub/conftest.c object=$am__obj \
5313
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5314
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5315
>/dev/null 2>conftest.err &&
5316
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5317
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5318
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5319
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5320
# icc doesn't choke on unknown options, it will just issue warnings
5321
# or remarks (even with -Werror). So we grep stderr for any message
5322
# that says an option was ignored or not supported.
5323
# When given -MP, icc 7.0 and 7.1 complain thusly:
5324
# icc: Command line warning: ignoring option '-M'; no argument required
5325
# The diagnosis changed in icc 8.0:
5326
# icc: Command line remark: option '-MP' not supported
5327
if (grep 'ignoring option' conftest.err ||
5328
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5329
am_cv_CC_dependencies_compiler_type=$depmode
5338
am_cv_CC_dependencies_compiler_type=none
5342
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5343
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5344
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5347
test "x$enable_dependency_tracking" != xno \
5348
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5350
am__fastdepCC_FALSE='#'
5352
am__fastdepCC_TRUE='#'
5353
am__fastdepCC_FALSE=
5357
if test "x$CC" != xcc; then
5358
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
5359
$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
5361
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
5362
$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
5364
set dummy $CC; ac_cc=`$as_echo "$2" |
5365
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5366
if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\"" = set; then :
5367
$as_echo_n "(cached) " >&6
5369
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5370
/* end confdefs.h. */
5380
# Make sure it works both with $CC and with simple cc.
5381
# We do the test twice because some compilers refuse to overwrite an
5382
# existing .o file with -o, though they will create one.
5383
ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5385
if { { case "(($ac_try" in
5386
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5387
*) ac_try_echo=$ac_try;;
5389
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5390
$as_echo "$ac_try_echo"; } >&5
5391
(eval "$ac_try") 2>&5
5393
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5394
test $ac_status = 0; } &&
5395
test -f conftest2.$ac_objext && { { case "(($ac_try" in
5396
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5397
*) ac_try_echo=$ac_try;;
5399
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5400
$as_echo "$ac_try_echo"; } >&5
5401
(eval "$ac_try") 2>&5
5403
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5404
test $ac_status = 0; };
5406
eval ac_cv_prog_cc_${ac_cc}_c_o=yes
5407
if test "x$CC" != xcc; then
5408
# Test first that cc exists at all.
5409
if { ac_try='cc -c conftest.$ac_ext >&5'
5410
{ { case "(($ac_try" in
5411
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5412
*) ac_try_echo=$ac_try;;
5414
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5415
$as_echo "$ac_try_echo"; } >&5
5416
(eval "$ac_try") 2>&5
5418
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5419
test $ac_status = 0; }; }; then
5420
ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5422
if { { case "(($ac_try" in
5423
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5424
*) ac_try_echo=$ac_try;;
5426
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5427
$as_echo "$ac_try_echo"; } >&5
5428
(eval "$ac_try") 2>&5
5430
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5431
test $ac_status = 0; } &&
5432
test -f conftest2.$ac_objext && { { case "(($ac_try" in
5433
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5434
*) ac_try_echo=$ac_try;;
5436
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5437
$as_echo "$ac_try_echo"; } >&5
5438
(eval "$ac_try") 2>&5
5440
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5441
test $ac_status = 0; };
5446
# cc exists but doesn't like -o.
5447
eval ac_cv_prog_cc_${ac_cc}_c_o=no
5452
eval ac_cv_prog_cc_${ac_cc}_c_o=no
5454
rm -f core conftest*
5457
if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
5458
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5459
$as_echo "yes" >&6; }
5461
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5462
$as_echo "no" >&6; }
5464
$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
5468
# FIXME: we rely on the cache variable name because
5469
# there is no other way.
5471
am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5472
eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
5473
if test "$am_t" != yes; then
5474
# Losing compiler, so override with the script.
5475
# FIXME: It is wrong to rewrite CC.
5476
# But if we don't then we get into trouble of one sort or another.
5477
# A longer-term fix would be to have automake use am__CC in this case,
5478
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5479
CC="$am_aux_dir/compile $CC"
5483
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
5484
$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
5485
if test "${ac_cv_prog_cc_c99+set}" = set; then :
5486
$as_echo_n "(cached) " >&6
5488
ac_cv_prog_cc_c99=no
5490
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5491
/* end confdefs.h. */
5493
#include <stdbool.h>
5498
// Check varargs macros. These examples are taken from C99 6.10.3.5.
5499
#define debug(...) fprintf (stderr, __VA_ARGS__)
5500
#define showlist(...) puts (#__VA_ARGS__)
5501
#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
5503
test_varargs_macros (void)
5508
debug ("X = %d\n", x);
5509
showlist (The first, second, and third items.);
5510
report (x>y, "x is %d but y is %d", x, y);
5513
// Check long long types.
5514
#define BIG64 18446744073709551615ull
5515
#define BIG32 4294967295ul
5516
#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
5518
your preprocessor is broken;
5522
your preprocessor is broken;
5524
static long long int bignum = -9223372036854775807LL;
5525
static unsigned long long int ubignum = BIG64;
5527
struct incomplete_array
5535
const wchar_t *name;
5539
typedef const char *ccp;
5542
test_restrict (ccp restrict text)
5544
// See if C++-style comments work.
5545
// Iterate through items via the restricted pointer.
5546
// Also check for declarations in for loops.
5547
for (unsigned int i = 0; *(text+i) != '\0'; ++i)
5552
// Check varargs and va_copy.
5554
test_varargs (const char *format, ...)
5557
va_start (args, format);
5559
va_copy (args_copy, args);
5570
str = va_arg (args_copy, const char *);
5573
number = va_arg (args_copy, int);
5576
fnumber = va_arg (args_copy, double);
5591
_Bool success = false;
5594
if (test_restrict ("String literal") == 0)
5596
char *restrict newvar = "Another string";
5599
test_varargs ("s, d' f .", "string", 65, 34.234);
5600
test_varargs_macros ();
5602
// Check flexible array members.
5603
struct incomplete_array *ia =
5604
malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
5606
for (int i = 0; i < ia->datasize; ++i)
5607
ia->data[i] = i * 1.234;
5609
// Check named initializers.
5610
struct named_init ni = {
5612
.name = L"Test wide string",
5613
.average = 543.34343,
5618
int dynamic_array[ni.number];
5619
dynamic_array[ni.number - 1] = 543;
5621
// work around unused variable warnings
5622
return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
5623
|| dynamic_array[ni.number - 1] != 543);
5629
for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
5631
CC="$ac_save_CC $ac_arg"
5632
if ac_fn_c_try_compile "$LINENO"; then :
5633
ac_cv_prog_cc_c99=$ac_arg
5635
rm -f core conftest.err conftest.$ac_objext
5636
test "x$ac_cv_prog_cc_c99" != "xno" && break
5638
rm -f conftest.$ac_ext
5643
case "x$ac_cv_prog_cc_c99" in
5645
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5646
$as_echo "none needed" >&6; } ;;
5648
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5649
$as_echo "unsupported" >&6; } ;;
5651
CC="$CC $ac_cv_prog_cc_c99"
5652
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5653
$as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
5655
if test "x$ac_cv_prog_cc_c99" != xno; then :
5661
ac_cpp='$CPP $CPPFLAGS'
5662
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5663
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5664
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5665
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5666
$as_echo_n "checking how to run the C preprocessor... " >&6; }
5667
# On Suns, sometimes $CPP names a directory.
5668
if test -n "$CPP" && test -d "$CPP"; then
5671
if test -z "$CPP"; then
5672
if test "${ac_cv_prog_CPP+set}" = set; then :
5673
$as_echo_n "(cached) " >&6
5675
# Double quotes because CPP needs to be expanded
5676
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5679
for ac_c_preproc_warn_flag in '' yes
5681
# Use a header file that comes with gcc, so configuring glibc
5682
# with a fresh cross-compiler works.
5683
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5684
# <limits.h> exists even on freestanding compilers.
5685
# On the NeXT, cc -E runs the code through the compiler's parser,
5686
# not just through cpp. "Syntax error" is here to catch this case.
5687
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5688
/* end confdefs.h. */
5690
# include <limits.h>
5692
# include <assert.h>
5696
if ac_fn_c_try_cpp "$LINENO"; then :
5699
# Broken: fails on valid input.
5702
rm -f conftest.err conftest.i conftest.$ac_ext
5704
# OK, works on sane cases. Now check whether nonexistent headers
5705
# can be detected and how.
5706
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5707
/* end confdefs.h. */
5708
#include <ac_nonexistent.h>
5710
if ac_fn_c_try_cpp "$LINENO"; then :
5711
# Broken: success on invalid input.
5714
# Passes both tests.
5718
rm -f conftest.err conftest.i conftest.$ac_ext
5721
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5722
rm -f conftest.i conftest.err conftest.$ac_ext
5723
if $ac_preproc_ok; then :
5735
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5736
$as_echo "$CPP" >&6; }
5738
for ac_c_preproc_warn_flag in '' yes
5740
# Use a header file that comes with gcc, so configuring glibc
5741
# with a fresh cross-compiler works.
5742
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5743
# <limits.h> exists even on freestanding compilers.
5744
# On the NeXT, cc -E runs the code through the compiler's parser,
5745
# not just through cpp. "Syntax error" is here to catch this case.
5746
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5747
/* end confdefs.h. */
5749
# include <limits.h>
5751
# include <assert.h>
5755
if ac_fn_c_try_cpp "$LINENO"; then :
5758
# Broken: fails on valid input.
5761
rm -f conftest.err conftest.i conftest.$ac_ext
5763
# OK, works on sane cases. Now check whether nonexistent headers
5764
# can be detected and how.
5765
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5766
/* end confdefs.h. */
5767
#include <ac_nonexistent.h>
5769
if ac_fn_c_try_cpp "$LINENO"; then :
5770
# Broken: success on invalid input.
5773
# Passes both tests.
5777
rm -f conftest.err conftest.i conftest.$ac_ext
5780
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5781
rm -f conftest.i conftest.err conftest.$ac_ext
5782
if $ac_preproc_ok; then :
5785
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5786
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5787
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5788
See \`config.log' for more details" "$LINENO" 5 ; }
5792
ac_cpp='$CPP $CPPFLAGS'
5793
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5794
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5795
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5797
# By default we simply use the C compiler to build assembly code.
5799
test "${CCAS+set}" = set || CCAS=$CC
5800
test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
5804
depcc="$CCAS" am_compiler_list=
5806
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5807
$as_echo_n "checking dependency style of $depcc... " >&6; }
5808
if test "${am_cv_CCAS_dependencies_compiler_type+set}" = set; then :
5809
$as_echo_n "(cached) " >&6
5811
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5812
# We make a subdir and do the tests there. Otherwise we can end up
5813
# making bogus files that we don't know about and never remove. For
5814
# instance it was reported that on HP-UX the gcc test will end up
5815
# making a dummy file named `D' -- because `-MD' means `put the output
5818
# Copy depcomp to subdir because otherwise we won't find it if we're
5819
# using a relative directory.
5820
cp "$am_depcomp" conftest.dir
5822
# We will build objects and dependencies in a subdirectory because
5823
# it helps to detect inapplicable dependency modes. For instance
5824
# both Tru64's cc and ICC support -MD to output dependencies as a
5825
# side effect of compilation, but ICC will put the dependencies in
5826
# the current directory while Tru64 will put them in the object
5830
am_cv_CCAS_dependencies_compiler_type=none
5831
if test "$am_compiler_list" = ""; then
5832
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5837
for depmode in $am_compiler_list; do
5838
# Setup a source with many dependencies, because some compilers
5839
# like to wrap large dependency lists on column 80 (with \), and
5840
# we should not choose a depcomp mode which is confused by this.
5842
# We need to recreate these files for each test, as the compiler may
5843
# overwrite some of them when testing with obscure command lines.
5844
# This happens at least with the AIX C compiler.
5846
for i in 1 2 3 4 5 6; do
5847
echo '#include "conftst'$i'.h"' >> sub/conftest.c
5848
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5849
# Solaris 8's {/usr,}/bin/sh.
5850
touch sub/conftst$i.h
5852
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5854
# We check with `-c' and `-o' for the sake of the "dashmstdout"
5855
# mode. It turns out that the SunPro C++ compiler does not properly
5856
# handle `-M -o', and we need to detect this. Also, some Intel
5857
# versions had trouble with output in subdirs
5858
am__obj=sub/conftest.${OBJEXT-o}
5859
am__minus_obj="-o $am__obj"
5862
# This depmode causes a compiler race in universal mode.
5863
test "$am__universal" = false || continue
5866
# after this tag, mechanisms are not by side-effect, so they'll
5867
# only be used when explicitly requested
5868
if test "x$enable_dependency_tracking" = xyes; then
5874
msvisualcpp | msvcmsys)
5875
# This compiler won't grok `-c -o', but also, the minuso test has
5876
# not run yet. These depmodes are late enough in the game, and
5877
# so weak that their functioning should not be impacted.
5878
am__obj=conftest.${OBJEXT-o}
5883
if depmode=$depmode \
5884
source=sub/conftest.c object=$am__obj \
5885
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5886
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5887
>/dev/null 2>conftest.err &&
5888
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5889
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5890
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5891
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5892
# icc doesn't choke on unknown options, it will just issue warnings
5893
# or remarks (even with -Werror). So we grep stderr for any message
5894
# that says an option was ignored or not supported.
5895
# When given -MP, icc 7.0 and 7.1 complain thusly:
5896
# icc: Command line warning: ignoring option '-M'; no argument required
5897
# The diagnosis changed in icc 8.0:
5898
# icc: Command line remark: option '-MP' not supported
5899
if (grep 'ignoring option' conftest.err ||
5900
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5901
am_cv_CCAS_dependencies_compiler_type=$depmode
5910
am_cv_CCAS_dependencies_compiler_type=none
5914
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
5915
$as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
5916
CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
5919
test "x$enable_dependency_tracking" != xno \
5920
&& test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
5921
am__fastdepCCAS_TRUE=
5922
am__fastdepCCAS_FALSE='#'
5924
am__fastdepCCAS_TRUE='#'
5925
am__fastdepCCAS_FALSE=
5931
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5932
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5937
macro_version='2.2.6b'
5938
macro_revision='1.3017'
5952
ltmain="$ac_aux_dir/ltmain.sh"
5954
# Make sure we can run config.sub.
5955
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5956
as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5958
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5959
$as_echo_n "checking build system type... " >&6; }
5960
if test "${ac_cv_build+set}" = set; then :
5961
$as_echo_n "(cached) " >&6
5963
ac_build_alias=$build_alias
5964
test "x$ac_build_alias" = x &&
5965
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5966
test "x$ac_build_alias" = x &&
5967
as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5968
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5969
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5972
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5973
$as_echo "$ac_cv_build" >&6; }
5974
case $ac_cv_build in
5976
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
5979
ac_save_IFS=$IFS; IFS='-'
5985
# Remember, the first character of IFS is used to create $*,
5986
# except with old shells:
5989
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5992
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5993
$as_echo_n "checking host system type... " >&6; }
5994
if test "${ac_cv_host+set}" = set; then :
5995
$as_echo_n "(cached) " >&6
5997
if test "x$host_alias" = x; then
5998
ac_cv_host=$ac_cv_build
6000
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
6001
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
6005
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
6006
$as_echo "$ac_cv_host" >&6; }
6009
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
6012
ac_save_IFS=$IFS; IFS='-'
6018
# Remember, the first character of IFS is used to create $*,
6019
# except with old shells:
6022
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
6025
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6026
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
6027
if test "${ac_cv_path_SED+set}" = set; then :
6028
$as_echo_n "(cached) " >&6
6030
ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6031
for ac_i in 1 2 3 4 5 6 7; do
6032
ac_script="$ac_script$as_nl$ac_script"
6034
echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6035
{ ac_script=; unset ac_script;}
6036
if test -z "$SED"; then
6037
ac_path_SED_found=false
6038
# Loop through the user's path and test for each of PROGNAME-LIST
6039
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6043
test -z "$as_dir" && as_dir=.
6044
for ac_prog in sed gsed; do
6045
for ac_exec_ext in '' $ac_executable_extensions; do
6046
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6047
{ test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
6048
# Check for GNU ac_path_SED and select it if it is found.
6049
# Check for GNU $ac_path_SED
6050
case `"$ac_path_SED" --version 2>&1` in
6052
ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6055
$as_echo_n 0123456789 >"conftest.in"
6058
cat "conftest.in" "conftest.in" >"conftest.tmp"
6059
mv "conftest.tmp" "conftest.in"
6060
cp "conftest.in" "conftest.nl"
6061
$as_echo '' >> "conftest.nl"
6062
"$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6063
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6064
as_fn_arith $ac_count + 1 && ac_count=$as_val
6065
if test $ac_count -gt ${ac_path_SED_max-0}; then
6066
# Best one so far, save it but keep looking for a better one
6067
ac_cv_path_SED="$ac_path_SED"
6068
ac_path_SED_max=$ac_count
6070
# 10*(2^10) chars as input seems more than enough
6071
test $ac_count -gt 10 && break
6073
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6076
$ac_path_SED_found && break 3
6081
if test -z "$ac_cv_path_SED"; then
6082
as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6089
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6090
$as_echo "$ac_cv_path_SED" >&6; }
6091
SED="$ac_cv_path_SED"
6094
test -z "$SED" && SED=sed
6095
Xsed="$SED -e 1s/^X//"
6107
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6108
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6109
if test "${ac_cv_path_GREP+set}" = set; then :
6110
$as_echo_n "(cached) " >&6
6112
if test -z "$GREP"; then
6113
ac_path_GREP_found=false
6114
# Loop through the user's path and test for each of PROGNAME-LIST
6115
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6116
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6119
test -z "$as_dir" && as_dir=.
6120
for ac_prog in grep ggrep; do
6121
for ac_exec_ext in '' $ac_executable_extensions; do
6122
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6123
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
6124
# Check for GNU ac_path_GREP and select it if it is found.
6125
# Check for GNU $ac_path_GREP
6126
case `"$ac_path_GREP" --version 2>&1` in
6128
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6131
$as_echo_n 0123456789 >"conftest.in"
6134
cat "conftest.in" "conftest.in" >"conftest.tmp"
6135
mv "conftest.tmp" "conftest.in"
6136
cp "conftest.in" "conftest.nl"
6137
$as_echo 'GREP' >> "conftest.nl"
6138
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6139
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6140
as_fn_arith $ac_count + 1 && ac_count=$as_val
6141
if test $ac_count -gt ${ac_path_GREP_max-0}; then
6142
# Best one so far, save it but keep looking for a better one
6143
ac_cv_path_GREP="$ac_path_GREP"
6144
ac_path_GREP_max=$ac_count
6146
# 10*(2^10) chars as input seems more than enough
6147
test $ac_count -gt 10 && break
6149
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6152
$ac_path_GREP_found && break 3
6157
if test -z "$ac_cv_path_GREP"; then
6158
as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6161
ac_cv_path_GREP=$GREP
6165
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6166
$as_echo "$ac_cv_path_GREP" >&6; }
6167
GREP="$ac_cv_path_GREP"
6170
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6171
$as_echo_n "checking for egrep... " >&6; }
6172
if test "${ac_cv_path_EGREP+set}" = set; then :
6173
$as_echo_n "(cached) " >&6
6175
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6176
then ac_cv_path_EGREP="$GREP -E"
6178
if test -z "$EGREP"; then
6179
ac_path_EGREP_found=false
6180
# Loop through the user's path and test for each of PROGNAME-LIST
6181
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6182
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6185
test -z "$as_dir" && as_dir=.
6186
for ac_prog in egrep; do
6187
for ac_exec_ext in '' $ac_executable_extensions; do
6188
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6189
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
6190
# Check for GNU ac_path_EGREP and select it if it is found.
6191
# Check for GNU $ac_path_EGREP
6192
case `"$ac_path_EGREP" --version 2>&1` in
6194
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6197
$as_echo_n 0123456789 >"conftest.in"
6200
cat "conftest.in" "conftest.in" >"conftest.tmp"
6201
mv "conftest.tmp" "conftest.in"
6202
cp "conftest.in" "conftest.nl"
6203
$as_echo 'EGREP' >> "conftest.nl"
6204
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6205
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6206
as_fn_arith $ac_count + 1 && ac_count=$as_val
6207
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6208
# Best one so far, save it but keep looking for a better one
6209
ac_cv_path_EGREP="$ac_path_EGREP"
6210
ac_path_EGREP_max=$ac_count
6212
# 10*(2^10) chars as input seems more than enough
6213
test $ac_count -gt 10 && break
6215
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6218
$ac_path_EGREP_found && break 3
6223
if test -z "$ac_cv_path_EGREP"; then
6224
as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6227
ac_cv_path_EGREP=$EGREP
6232
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6233
$as_echo "$ac_cv_path_EGREP" >&6; }
6234
EGREP="$ac_cv_path_EGREP"
6237
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6238
$as_echo_n "checking for fgrep... " >&6; }
6239
if test "${ac_cv_path_FGREP+set}" = set; then :
6240
$as_echo_n "(cached) " >&6
6242
if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6243
then ac_cv_path_FGREP="$GREP -F"
6245
if test -z "$FGREP"; then
6246
ac_path_FGREP_found=false
6247
# Loop through the user's path and test for each of PROGNAME-LIST
6248
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6249
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6252
test -z "$as_dir" && as_dir=.
6253
for ac_prog in fgrep; do
6254
for ac_exec_ext in '' $ac_executable_extensions; do
6255
ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6256
{ test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
6257
# Check for GNU ac_path_FGREP and select it if it is found.
6258
# Check for GNU $ac_path_FGREP
6259
case `"$ac_path_FGREP" --version 2>&1` in
6261
ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6264
$as_echo_n 0123456789 >"conftest.in"
6267
cat "conftest.in" "conftest.in" >"conftest.tmp"
6268
mv "conftest.tmp" "conftest.in"
6269
cp "conftest.in" "conftest.nl"
6270
$as_echo 'FGREP' >> "conftest.nl"
6271
"$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6272
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6273
as_fn_arith $ac_count + 1 && ac_count=$as_val
6274
if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6275
# Best one so far, save it but keep looking for a better one
6276
ac_cv_path_FGREP="$ac_path_FGREP"
6277
ac_path_FGREP_max=$ac_count
6279
# 10*(2^10) chars as input seems more than enough
6280
test $ac_count -gt 10 && break
6282
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6285
$ac_path_FGREP_found && break 3
6290
if test -z "$ac_cv_path_FGREP"; then
6291
as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6294
ac_cv_path_FGREP=$FGREP
6299
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6300
$as_echo "$ac_cv_path_FGREP" >&6; }
6301
FGREP="$ac_cv_path_FGREP"
6304
test -z "$GREP" && GREP=grep
6324
# Check whether --with-gnu-ld was given.
6325
if test "${with_gnu_ld+set}" = set; then :
6326
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6332
if test "$GCC" = yes; then
6333
# Check if gcc -print-prog-name=ld gives a path.
6334
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6335
$as_echo_n "checking for ld used by $CC... " >&6; }
6338
# gcc leaves a trailing carriage return which upsets mingw
6339
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6341
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6344
# Accept absolute paths.
6346
re_direlt='/[^/][^/]*/\.\./'
6347
# Canonicalize the pathname of ld
6348
ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6349
while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6350
ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6352
test -z "$LD" && LD="$ac_prog"
6355
# If it fails, then pretend we aren't using GCC.
6359
# If it is relative, then search for the first ld in PATH.
6363
elif test "$with_gnu_ld" = yes; then
6364
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6365
$as_echo_n "checking for GNU ld... " >&6; }
6367
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6368
$as_echo_n "checking for non-GNU ld... " >&6; }
6370
if test "${lt_cv_path_LD+set}" = set; then :
6371
$as_echo_n "(cached) " >&6
6373
if test -z "$LD"; then
6374
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6375
for ac_dir in $PATH; do
6377
test -z "$ac_dir" && ac_dir=.
6378
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6379
lt_cv_path_LD="$ac_dir/$ac_prog"
6380
# Check to see if the program is GNU ld. I'd rather use --version,
6381
# but apparently some variants of GNU ld only accept -v.
6382
# Break only if it was the GNU/non-GNU ld that we prefer.
6383
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6384
*GNU* | *'with BFD'*)
6385
test "$with_gnu_ld" != no && break
6388
test "$with_gnu_ld" != yes && break
6395
lt_cv_path_LD="$LD" # Let the user override the test with a path.
6400
if test -n "$LD"; then
6401
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6402
$as_echo "$LD" >&6; }
6404
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6405
$as_echo "no" >&6; }
6407
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6408
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6409
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6410
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
6411
$as_echo_n "(cached) " >&6
6413
# I'd rather use --version here, but apparently some GNU lds only accept -v.
6414
case `$LD -v 2>&1 </dev/null` in
6415
*GNU* | *'with BFD'*)
6416
lt_cv_prog_gnu_ld=yes
6419
lt_cv_prog_gnu_ld=no
6423
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6424
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
6425
with_gnu_ld=$lt_cv_prog_gnu_ld
6435
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6436
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6437
if test "${lt_cv_path_NM+set}" = set; then :
6438
$as_echo_n "(cached) " >&6
6440
if test -n "$NM"; then
6441
# Let the user override the test.
6444
lt_nm_to_check="${ac_tool_prefix}nm"
6445
if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6446
lt_nm_to_check="$lt_nm_to_check nm"
6448
for lt_tmp_nm in $lt_nm_to_check; do
6449
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6450
for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6452
test -z "$ac_dir" && ac_dir=.
6453
tmp_nm="$ac_dir/$lt_tmp_nm"
6454
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6455
# Check to see if the nm accepts a BSD-compat flag.
6456
# Adding the `sed 1q' prevents false positives on HP-UX, which says:
6457
# nm: unknown option "B" ignored
6458
# Tru64's nm complains that /dev/null is an invalid object file
6459
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6460
*/dev/null* | *'Invalid file or object type'*)
6461
lt_cv_path_NM="$tmp_nm -B"
6465
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6467
lt_cv_path_NM="$tmp_nm -p"
6471
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6472
continue # so that we can try to find one that supports BSD flags
6481
: ${lt_cv_path_NM=no}
6484
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6485
$as_echo "$lt_cv_path_NM" >&6; }
6486
if test "$lt_cv_path_NM" != "no"; then
6489
# Didn't find any BSD compatible name lister, look for dumpbin.
6490
if test -n "$ac_tool_prefix"; then
6491
for ac_prog in "dumpbin -symbols" "link -dump -symbols"
6493
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6494
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6495
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6496
$as_echo_n "checking for $ac_word... " >&6; }
6497
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
6498
$as_echo_n "(cached) " >&6
6500
if test -n "$DUMPBIN"; then
6501
ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6503
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6507
test -z "$as_dir" && as_dir=.
6508
for ac_exec_ext in '' $ac_executable_extensions; do
6509
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6510
ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6511
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6520
DUMPBIN=$ac_cv_prog_DUMPBIN
6521
if test -n "$DUMPBIN"; then
6522
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6523
$as_echo "$DUMPBIN" >&6; }
6525
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6526
$as_echo "no" >&6; }
6530
test -n "$DUMPBIN" && break
6533
if test -z "$DUMPBIN"; then
6534
ac_ct_DUMPBIN=$DUMPBIN
6535
for ac_prog in "dumpbin -symbols" "link -dump -symbols"
6537
# Extract the first word of "$ac_prog", so it can be a program name with args.
6538
set dummy $ac_prog; ac_word=$2
6539
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6540
$as_echo_n "checking for $ac_word... " >&6; }
6541
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
6542
$as_echo_n "(cached) " >&6
6544
if test -n "$ac_ct_DUMPBIN"; then
6545
ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6547
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6551
test -z "$as_dir" && as_dir=.
6552
for ac_exec_ext in '' $ac_executable_extensions; do
6553
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6554
ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6555
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6564
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6565
if test -n "$ac_ct_DUMPBIN"; then
6566
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6567
$as_echo "$ac_ct_DUMPBIN" >&6; }
6569
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6570
$as_echo "no" >&6; }
6574
test -n "$ac_ct_DUMPBIN" && break
6577
if test "x$ac_ct_DUMPBIN" = x; then
6580
case $cross_compiling:$ac_tool_warned in
6582
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6583
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6584
ac_tool_warned=yes ;;
6586
DUMPBIN=$ac_ct_DUMPBIN
6591
if test "$DUMPBIN" != ":"; then
6595
test -z "$NM" && NM=nm
6602
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6603
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
6604
if test "${lt_cv_nm_interface+set}" = set; then :
6605
$as_echo_n "(cached) " >&6
6607
lt_cv_nm_interface="BSD nm"
6608
echo "int some_variable = 0;" > conftest.$ac_ext
6609
(eval echo "\"\$as_me:6609: $ac_compile\"" >&5)
6610
(eval "$ac_compile" 2>conftest.err)
6611
cat conftest.err >&5
6612
(eval echo "\"\$as_me:6612: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6613
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6614
cat conftest.err >&5
6615
(eval echo "\"\$as_me:6615: output\"" >&5)
6616
cat conftest.out >&5
6617
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6618
lt_cv_nm_interface="MS dumpbin"
6622
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6623
$as_echo "$lt_cv_nm_interface" >&6; }
6625
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6626
$as_echo_n "checking whether ln -s works... " >&6; }
6628
if test "$LN_S" = "ln -s"; then
6629
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6630
$as_echo "yes" >&6; }
6632
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6633
$as_echo "no, using $LN_S" >&6; }
6636
# find the maximum length of command line arguments
6637
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6638
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
6639
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6640
$as_echo_n "(cached) " >&6
6647
# On DJGPP, this test can blow up pretty badly due to problems in libc
6648
# (any single argument exceeding 2000 bytes causes a buffer overrun
6649
# during glob expansion). Even if it were fixed, the result of this
6650
# check would be larger than it should be.
6651
lt_cv_sys_max_cmd_len=12288; # 12K is about right
6655
# Under GNU Hurd, this test is not required because there is
6656
# no limit to the length of command line arguments.
6657
# Libtool will interpret -1 as no limit whatsoever
6658
lt_cv_sys_max_cmd_len=-1;
6661
cygwin* | mingw* | cegcc*)
6662
# On Win9x/ME, this test blows up -- it succeeds, but takes
6663
# about 5 minutes as the teststring grows exponentially.
6664
# Worse, since 9x/ME are not pre-emptively multitasking,
6665
# you end up with a "frozen" computer, even though with patience
6666
# the test eventually succeeds (with a max line length of 256k).
6667
# Instead, let's just punt: use the minimum linelength reported by
6668
# all of the supported platforms: 8192 (on NT/2K/XP).
6669
lt_cv_sys_max_cmd_len=8192;
6673
# On AmigaOS with pdksh, this test takes hours, literally.
6674
# So we just punt and use a minimum line length of 8192.
6675
lt_cv_sys_max_cmd_len=8192;
6678
netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6679
# This has been around since 386BSD, at least. Likely further.
6680
if test -x /sbin/sysctl; then
6681
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6682
elif test -x /usr/sbin/sysctl; then
6683
lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6685
lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6687
# And add a safety zone
6688
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6689
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6693
# We know the value 262144 and hardcode it with a safety zone (like BSD)
6694
lt_cv_sys_max_cmd_len=196608
6698
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6699
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6700
# nice to cause kernel panics so lets avoid the loop below.
6701
# First set a reasonable default.
6702
lt_cv_sys_max_cmd_len=16384
6704
if test -x /sbin/sysconfig; then
6705
case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6706
*1*) lt_cv_sys_max_cmd_len=-1 ;;
6711
lt_cv_sys_max_cmd_len=102400
6713
sysv5* | sco5v6* | sysv4.2uw2*)
6714
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6715
if test -n "$kargmax"; then
6716
lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6718
lt_cv_sys_max_cmd_len=32768
6722
lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6723
if test -n "$lt_cv_sys_max_cmd_len"; then
6724
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6725
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6727
# Make teststring a little bigger before we do anything with it.
6728
# a 1K string should be a reasonable start.
6729
for i in 1 2 3 4 5 6 7 8 ; do
6730
teststring=$teststring$teststring
6732
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6733
# If test is not a shell built-in, we'll probably end up computing a
6734
# maximum length that is only half of the actual maximum length, but
6736
while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
6737
= "XX$teststring$teststring"; } >/dev/null 2>&1 &&
6738
test $i != 17 # 1/2 MB should be enough
6741
teststring=$teststring$teststring
6743
# Only check the string length outside the loop.
6744
lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6746
# Add a significant safety factor because C++ compilers can tack on
6747
# massive amounts of additional arguments before passing them to the
6748
# linker. It appears as though 1/2 is a usable value.
6749
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6756
if test -n $lt_cv_sys_max_cmd_len ; then
6757
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6758
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6760
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6761
$as_echo "none" >&6; }
6763
max_cmd_len=$lt_cv_sys_max_cmd_len
6774
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6775
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6776
# Try some XSI features
6779
test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6781
&& eval 'test $(( 1 + 1 )) -eq 2 \
6782
&& test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6784
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6785
$as_echo "$xsi_shell" >&6; }
6788
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6789
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6791
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6793
&& lt_shell_append=yes
6794
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6795
$as_echo "$lt_shell_append" >&6; }
6798
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6808
# test EBCDIC or ASCII
6809
case `echo X|tr X '\101'` in
6810
A) # ASCII based system
6811
# \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6812
lt_SP2NL='tr \040 \012'
6813
lt_NL2SP='tr \015\012 \040\040'
6815
*) # EBCDIC based system
6816
lt_SP2NL='tr \100 \n'
6817
lt_NL2SP='tr \r\n \100\100'
6829
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6830
$as_echo_n "checking for $LD option to reload object files... " >&6; }
6831
if test "${lt_cv_ld_reload_flag+set}" = set; then :
6832
$as_echo_n "(cached) " >&6
6834
lt_cv_ld_reload_flag='-r'
6836
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6837
$as_echo "$lt_cv_ld_reload_flag" >&6; }
6838
reload_flag=$lt_cv_ld_reload_flag
6839
case $reload_flag in
6841
*) reload_flag=" $reload_flag" ;;
6843
reload_cmds='$LD$reload_flag -o $output$reload_objs'
6846
if test "$GCC" = yes; then
6847
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6849
reload_cmds='$LD$reload_flag -o $output$reload_objs'
6862
if test -n "$ac_tool_prefix"; then
6863
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6864
set dummy ${ac_tool_prefix}objdump; ac_word=$2
6865
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6866
$as_echo_n "checking for $ac_word... " >&6; }
6867
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6868
$as_echo_n "(cached) " >&6
6870
if test -n "$OBJDUMP"; then
6871
ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6873
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6877
test -z "$as_dir" && as_dir=.
6878
for ac_exec_ext in '' $ac_executable_extensions; do
6879
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6880
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6881
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6890
OBJDUMP=$ac_cv_prog_OBJDUMP
6891
if test -n "$OBJDUMP"; then
6892
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6893
$as_echo "$OBJDUMP" >&6; }
6895
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6896
$as_echo "no" >&6; }
6901
if test -z "$ac_cv_prog_OBJDUMP"; then
6902
ac_ct_OBJDUMP=$OBJDUMP
6903
# Extract the first word of "objdump", so it can be a program name with args.
6904
set dummy objdump; ac_word=$2
6905
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6906
$as_echo_n "checking for $ac_word... " >&6; }
6907
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6908
$as_echo_n "(cached) " >&6
6910
if test -n "$ac_ct_OBJDUMP"; then
6911
ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6913
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6917
test -z "$as_dir" && as_dir=.
6918
for ac_exec_ext in '' $ac_executable_extensions; do
6919
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6920
ac_cv_prog_ac_ct_OBJDUMP="objdump"
6921
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6930
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6931
if test -n "$ac_ct_OBJDUMP"; then
6932
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6933
$as_echo "$ac_ct_OBJDUMP" >&6; }
6935
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6936
$as_echo "no" >&6; }
6939
if test "x$ac_ct_OBJDUMP" = x; then
6942
case $cross_compiling:$ac_tool_warned in
6944
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6945
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6946
ac_tool_warned=yes ;;
6948
OBJDUMP=$ac_ct_OBJDUMP
6951
OBJDUMP="$ac_cv_prog_OBJDUMP"
6954
test -z "$OBJDUMP" && OBJDUMP=objdump
6964
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6965
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
6966
if test "${lt_cv_deplibs_check_method+set}" = set; then :
6967
$as_echo_n "(cached) " >&6
6969
lt_cv_file_magic_cmd='$MAGIC_CMD'
6970
lt_cv_file_magic_test_file=
6971
lt_cv_deplibs_check_method='unknown'
6972
# Need to set the preceding variable on all platforms that support
6973
# interlibrary dependencies.
6974
# 'none' -- dependencies not supported.
6975
# `unknown' -- same as none, but documents that we really don't know.
6976
# 'pass_all' -- all dependencies passed with no checks.
6977
# 'test_compile' -- check by making test program.
6978
# 'file_magic [[regex]]' -- check by looking for files in library path
6979
# which responds to the $file_magic_cmd with a given extended regex.
6980
# If you have `file' or equivalent on your system and you're not sure
6981
# whether `pass_all' will *always* work, you probably want this one.
6985
lt_cv_deplibs_check_method=pass_all
6989
lt_cv_deplibs_check_method=pass_all
6993
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6994
lt_cv_file_magic_cmd='/usr/bin/file -L'
6995
lt_cv_file_magic_test_file=/shlib/libc.so
6999
# func_win32_libid is a shell function defined in ltmain.sh
7000
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7001
lt_cv_file_magic_cmd='func_win32_libid'
7005
# Base MSYS/MinGW do not provide the 'file' command needed by
7006
# func_win32_libid shell function, so use a weaker test based on 'objdump',
7007
# unless we find 'file', for example because we are cross-compiling.
7008
if ( file / ) >/dev/null 2>&1; then
7009
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7010
lt_cv_file_magic_cmd='func_win32_libid'
7012
lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
7013
lt_cv_file_magic_cmd='$OBJDUMP -f'
7018
# use the weaker test based on 'objdump'. See mingw*.
7019
lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7020
lt_cv_file_magic_cmd='$OBJDUMP -f'
7023
darwin* | rhapsody*)
7024
lt_cv_deplibs_check_method=pass_all
7027
freebsd* | dragonfly*)
7028
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7031
# Not sure whether the presence of OpenBSD here was a mistake.
7032
# Let's accept both of them until this is cleared up.
7033
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7034
lt_cv_file_magic_cmd=/usr/bin/file
7035
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7039
lt_cv_deplibs_check_method=pass_all
7044
lt_cv_deplibs_check_method=pass_all
7047
hpux10.20* | hpux11*)
7048
lt_cv_file_magic_cmd=/usr/bin/file
7051
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7052
lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7055
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]'
7056
lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7059
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
7060
lt_cv_file_magic_test_file=/usr/lib/libc.sl
7066
# PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7067
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7070
irix5* | irix6* | nonstopux*)
7072
*-32|*"-32 ") libmagic=32-bit;;
7073
*-n32|*"-n32 ") libmagic=N32;;
7074
*-64|*"-64 ") libmagic=64-bit;;
7075
*) libmagic=never-match;;
7077
lt_cv_deplibs_check_method=pass_all
7080
# This must be Linux ELF.
7081
linux* | k*bsd*-gnu | kopensolaris*-gnu)
7082
lt_cv_deplibs_check_method=pass_all
7085
netbsd* | netbsdelf*-gnu)
7086
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7087
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7089
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7094
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7095
lt_cv_file_magic_cmd=/usr/bin/file
7096
lt_cv_file_magic_test_file=/usr/lib/libnls.so
7100
lt_cv_deplibs_check_method=pass_all
7104
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7105
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7107
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7111
osf3* | osf4* | osf5*)
7112
lt_cv_deplibs_check_method=pass_all
7116
lt_cv_deplibs_check_method=pass_all
7120
lt_cv_deplibs_check_method=pass_all
7123
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7124
lt_cv_deplibs_check_method=pass_all
7128
case $host_vendor in
7130
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]'
7131
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7134
lt_cv_deplibs_check_method=pass_all
7137
lt_cv_file_magic_cmd='/bin/file'
7138
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7141
lt_cv_file_magic_cmd='/bin/file'
7142
lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7143
lt_cv_file_magic_test_file=/lib/libc.so
7146
lt_cv_deplibs_check_method=pass_all
7149
lt_cv_deplibs_check_method=pass_all
7155
lt_cv_deplibs_check_method=pass_all
7160
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7161
$as_echo "$lt_cv_deplibs_check_method" >&6; }
7162
file_magic_cmd=$lt_cv_file_magic_cmd
7163
deplibs_check_method=$lt_cv_deplibs_check_method
7164
test -z "$deplibs_check_method" && deplibs_check_method=unknown
7177
if test -n "$ac_tool_prefix"; then
7178
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7179
set dummy ${ac_tool_prefix}ar; ac_word=$2
7180
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7181
$as_echo_n "checking for $ac_word... " >&6; }
7182
if test "${ac_cv_prog_AR+set}" = set; then :
7183
$as_echo_n "(cached) " >&6
7185
if test -n "$AR"; then
7186
ac_cv_prog_AR="$AR" # Let the user override the test.
7188
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7192
test -z "$as_dir" && as_dir=.
7193
for ac_exec_ext in '' $ac_executable_extensions; do
7194
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7195
ac_cv_prog_AR="${ac_tool_prefix}ar"
7196
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7206
if test -n "$AR"; then
7207
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7208
$as_echo "$AR" >&6; }
7210
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7211
$as_echo "no" >&6; }
7216
if test -z "$ac_cv_prog_AR"; then
7218
# Extract the first word of "ar", so it can be a program name with args.
7219
set dummy ar; ac_word=$2
7220
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7221
$as_echo_n "checking for $ac_word... " >&6; }
7222
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
7223
$as_echo_n "(cached) " >&6
7225
if test -n "$ac_ct_AR"; then
7226
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7228
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7232
test -z "$as_dir" && as_dir=.
7233
for ac_exec_ext in '' $ac_executable_extensions; do
7234
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7235
ac_cv_prog_ac_ct_AR="ar"
7236
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7245
ac_ct_AR=$ac_cv_prog_ac_ct_AR
7246
if test -n "$ac_ct_AR"; then
7247
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7248
$as_echo "$ac_ct_AR" >&6; }
7250
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7251
$as_echo "no" >&6; }
7254
if test "x$ac_ct_AR" = x; then
7257
case $cross_compiling:$ac_tool_warned in
7259
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7260
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7261
ac_tool_warned=yes ;;
7269
test -z "$AR" && AR=ar
7270
test -z "$AR_FLAGS" && AR_FLAGS=cru
7282
if test -n "$ac_tool_prefix"; then
7283
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7284
set dummy ${ac_tool_prefix}strip; ac_word=$2
7285
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7286
$as_echo_n "checking for $ac_word... " >&6; }
7287
if test "${ac_cv_prog_STRIP+set}" = set; then :
7288
$as_echo_n "(cached) " >&6
7290
if test -n "$STRIP"; then
7291
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7293
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7297
test -z "$as_dir" && as_dir=.
7298
for ac_exec_ext in '' $ac_executable_extensions; do
7299
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7300
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7301
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7310
STRIP=$ac_cv_prog_STRIP
7311
if test -n "$STRIP"; then
7312
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7313
$as_echo "$STRIP" >&6; }
7315
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7316
$as_echo "no" >&6; }
7321
if test -z "$ac_cv_prog_STRIP"; then
7323
# Extract the first word of "strip", so it can be a program name with args.
7324
set dummy strip; ac_word=$2
7325
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7326
$as_echo_n "checking for $ac_word... " >&6; }
7327
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
7328
$as_echo_n "(cached) " >&6
7330
if test -n "$ac_ct_STRIP"; then
7331
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7333
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7337
test -z "$as_dir" && as_dir=.
7338
for ac_exec_ext in '' $ac_executable_extensions; do
7339
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7340
ac_cv_prog_ac_ct_STRIP="strip"
7341
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7350
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7351
if test -n "$ac_ct_STRIP"; then
7352
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7353
$as_echo "$ac_ct_STRIP" >&6; }
7355
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7356
$as_echo "no" >&6; }
7359
if test "x$ac_ct_STRIP" = x; then
7362
case $cross_compiling:$ac_tool_warned in
7364
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7365
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7366
ac_tool_warned=yes ;;
7371
STRIP="$ac_cv_prog_STRIP"
7374
test -z "$STRIP" && STRIP=:
7381
if test -n "$ac_tool_prefix"; then
7382
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7383
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7384
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7385
$as_echo_n "checking for $ac_word... " >&6; }
7386
if test "${ac_cv_prog_RANLIB+set}" = set; then :
7387
$as_echo_n "(cached) " >&6
7389
if test -n "$RANLIB"; then
7390
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7392
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7396
test -z "$as_dir" && as_dir=.
7397
for ac_exec_ext in '' $ac_executable_extensions; do
7398
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7399
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7400
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7409
RANLIB=$ac_cv_prog_RANLIB
7410
if test -n "$RANLIB"; then
7411
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7412
$as_echo "$RANLIB" >&6; }
7414
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7415
$as_echo "no" >&6; }
7420
if test -z "$ac_cv_prog_RANLIB"; then
7421
ac_ct_RANLIB=$RANLIB
7422
# Extract the first word of "ranlib", so it can be a program name with args.
7423
set dummy ranlib; ac_word=$2
7424
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7425
$as_echo_n "checking for $ac_word... " >&6; }
7426
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
7427
$as_echo_n "(cached) " >&6
7429
if test -n "$ac_ct_RANLIB"; then
7430
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7432
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7436
test -z "$as_dir" && as_dir=.
7437
for ac_exec_ext in '' $ac_executable_extensions; do
7438
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7439
ac_cv_prog_ac_ct_RANLIB="ranlib"
7440
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7449
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7450
if test -n "$ac_ct_RANLIB"; then
7451
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7452
$as_echo "$ac_ct_RANLIB" >&6; }
7454
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7455
$as_echo "no" >&6; }
7458
if test "x$ac_ct_RANLIB" = x; then
7461
case $cross_compiling:$ac_tool_warned in
7463
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7464
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7465
ac_tool_warned=yes ;;
7467
RANLIB=$ac_ct_RANLIB
7470
RANLIB="$ac_cv_prog_RANLIB"
7473
test -z "$RANLIB" && RANLIB=:
7480
# Determine commands to create old-style static archives.
7481
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7482
old_postinstall_cmds='chmod 644 $oldlib'
7483
old_postuninstall_cmds=
7485
if test -n "$RANLIB"; then
7488
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7491
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7494
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7530
# If no C compiler was specified, use CC.
7533
# If no C compiler flags were specified, use CFLAGS.
7534
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7536
# Allow CC to be a program name with arguments.
7540
# Check for command to grab the raw symbol name followed by C symbol from nm.
7541
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7542
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7543
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
7544
$as_echo_n "(cached) " >&6
7547
# These are sane defaults that work on at least a few old systems.
7548
# [They come from Ultrix. What could be older than Ultrix?!! ;)]
7550
# Character class describing NM global symbol codes.
7551
symcode='[BCDEGRST]'
7553
# Regexp to match symbols that can be accessed directly from C.
7554
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7556
# Define system-specific variables.
7561
cygwin* | mingw* | pw32* | cegcc*)
7562
symcode='[ABCDGISTW]'
7565
if test "$host_cpu" = ia64; then
7566
symcode='[ABCDEGRST]'
7570
symcode='[BCDEGRST]'
7573
symcode='[BCDEGQRST]'
7584
sysv5* | sco5v6* | unixware* | OpenUNIX*)
7592
# If we're using GNU nm, then use its standard symbol codes.
7593
case `$NM -V 2>&1` in
7594
*GNU* | *'with BFD'*)
7595
symcode='[ABCDGIRSTW]' ;;
7598
# Transform an extracted symbol line into a proper C declaration.
7599
# Some systems (esp. on ia64) link data and code symbols differently,
7600
# so use this general approach.
7601
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7603
# Transform an extracted symbol line into symbol name and symbol address
7604
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7605
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'"
7607
# Handle CRLF in mingw tool chain
7611
opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7615
# Try without a prefix underscore, then with it.
7616
for ac_symprfx in "" "_"; do
7618
# Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7619
symxfrm="\\1 $ac_symprfx\\2 \\2"
7621
# Write the raw and C identifiers.
7622
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7623
# Fake it for dumpbin and say T for any non-static function
7624
# and D for any global variable.
7625
# Also find C++ and __fastcall symbols from MSVC++,
7626
# which start with @ or ?.
7627
lt_cv_sys_global_symbol_pipe="$AWK '"\
7628
" {last_section=section; section=\$ 3};"\
7629
" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7630
" \$ 0!~/External *\|/{next};"\
7631
" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7632
" {if(hide[section]) next};"\
7633
" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7634
" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7635
" s[1]~/^[@?]/{print s[1], s[1]; next};"\
7636
" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7637
" ' prfx=^$ac_symprfx"
7639
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7642
# Check to see that the pipe works correctly.
7646
cat > conftest.$ac_ext <<_LT_EOF
7651
void nm_test_func(void);
7652
void nm_test_func(void){}
7656
int main(){nm_test_var='a';nm_test_func();return(0);}
7659
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7660
(eval $ac_compile) 2>&5
7662
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7663
test $ac_status = 0; }; then
7664
# Now try to grab the symbols.
7666
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
7667
(eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
7669
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7670
test $ac_status = 0; } && test -s "$nlist"; then
7671
# Try sorting and uniquifying the output.
7672
if sort "$nlist" | uniq > "$nlist"T; then
7673
mv -f "$nlist"T "$nlist"
7678
# Make sure that we snagged all the symbols we need.
7679
if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7680
if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7681
cat <<_LT_EOF > conftest.$ac_ext
7687
# Now generate the symbol file.
7688
eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7690
cat <<_LT_EOF >> conftest.$ac_ext
7692
/* The mapping between symbol names and symbols. */
7697
lt__PROGRAM__LTX_preloaded_symbols[] =
7699
{ "@PROGRAM@", (void *) 0 },
7701
$SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7702
cat <<\_LT_EOF >> conftest.$ac_ext
7706
/* This works around a problem in FreeBSD linker */
7707
#ifdef FREEBSD_WORKAROUND
7708
static const void *lt_preloaded_setup() {
7709
return lt__PROGRAM__LTX_preloaded_symbols;
7717
# Now try linking the two files.
7718
mv conftest.$ac_objext conftstm.$ac_objext
7719
lt_save_LIBS="$LIBS"
7720
lt_save_CFLAGS="$CFLAGS"
7721
LIBS="conftstm.$ac_objext"
7722
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7723
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7724
(eval $ac_link) 2>&5
7726
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7727
test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7730
LIBS="$lt_save_LIBS"
7731
CFLAGS="$lt_save_CFLAGS"
7733
echo "cannot find nm_test_func in $nlist" >&5
7736
echo "cannot find nm_test_var in $nlist" >&5
7739
echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7742
echo "$progname: failed program was:" >&5
7743
cat conftest.$ac_ext >&5
7745
rm -rf conftest* conftst*
7747
# Do not use the global_symbol_pipe unless it works.
7748
if test "$pipe_works" = yes; then
7751
lt_cv_sys_global_symbol_pipe=
7757
if test -z "$lt_cv_sys_global_symbol_pipe"; then
7758
lt_cv_sys_global_symbol_to_cdecl=
7760
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7761
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7762
$as_echo "failed" >&6; }
7764
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7765
$as_echo "ok" >&6; }
7789
# Check whether --enable-libtool-lock was given.
7790
if test "${enable_libtool_lock+set}" = set; then :
7791
enableval=$enable_libtool_lock;
7794
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7796
# Some flags need to be propagated to the compiler or linker for good
7800
# Find out which ABI we are using.
7801
echo 'int i;' > conftest.$ac_ext
7802
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7803
(eval $ac_compile) 2>&5
7805
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7806
test $ac_status = 0; }; then
7807
case `/usr/bin/file conftest.$ac_objext` in
7819
# Find out which ABI we are using.
7820
echo '#line 7820 "configure"' > conftest.$ac_ext
7821
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7822
(eval $ac_compile) 2>&5
7824
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7825
test $ac_status = 0; }; then
7826
if test "$lt_cv_prog_gnu_ld" = yes; then
7827
case `/usr/bin/file conftest.$ac_objext` in
7829
LD="${LD-ld} -melf32bsmip"
7832
LD="${LD-ld} -melf32bmipn32"
7835
LD="${LD-ld} -melf64bmip"
7839
case `/usr/bin/file conftest.$ac_objext` in
7855
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7856
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7857
# Find out which ABI we are using.
7858
echo 'int i;' > conftest.$ac_ext
7859
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7860
(eval $ac_compile) 2>&5
7862
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7863
test $ac_status = 0; }; then
7864
case `/usr/bin/file conftest.o` in
7867
x86_64-*kfreebsd*-gnu)
7868
LD="${LD-ld} -m elf_i386_fbsd"
7871
LD="${LD-ld} -m elf_i386"
7873
ppc64-*linux*|powerpc64-*linux*)
7874
LD="${LD-ld} -m elf32ppclinux"
7877
LD="${LD-ld} -m elf_s390"
7880
LD="${LD-ld} -m elf32_sparc"
7886
x86_64-*kfreebsd*-gnu)
7887
LD="${LD-ld} -m elf_x86_64_fbsd"
7890
LD="${LD-ld} -m elf_x86_64"
7892
ppc*-*linux*|powerpc*-*linux*)
7893
LD="${LD-ld} -m elf64ppc"
7895
s390*-*linux*|s390*-*tpf*)
7896
LD="${LD-ld} -m elf64_s390"
7899
LD="${LD-ld} -m elf64_sparc"
7909
# On SCO OpenServer 5, we need -belf to get full-featured binaries.
7910
SAVE_CFLAGS="$CFLAGS"
7911
CFLAGS="$CFLAGS -belf"
7912
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7913
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7914
if test "${lt_cv_cc_needs_belf+set}" = set; then :
7915
$as_echo_n "(cached) " >&6
7918
ac_cpp='$CPP $CPPFLAGS'
7919
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7920
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7921
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7923
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7924
/* end confdefs.h. */
7934
if ac_fn_c_try_link "$LINENO"; then :
7935
lt_cv_cc_needs_belf=yes
7937
lt_cv_cc_needs_belf=no
7939
rm -f core conftest.err conftest.$ac_objext \
7940
conftest$ac_exeext conftest.$ac_ext
7942
ac_cpp='$CPP $CPPFLAGS'
7943
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7944
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7945
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7948
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7949
$as_echo "$lt_cv_cc_needs_belf" >&6; }
7950
if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7951
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7952
CFLAGS="$SAVE_CFLAGS"
7956
# Find out which ABI we are using.
7957
echo 'int i;' > conftest.$ac_ext
7958
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7959
(eval $ac_compile) 2>&5
7961
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7962
test $ac_status = 0; }; then
7963
case `/usr/bin/file conftest.o` in
7965
case $lt_cv_prog_gnu_ld in
7966
yes*) LD="${LD-ld} -m elf64_sparc" ;;
7968
if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7980
need_locks="$enable_libtool_lock"
7984
rhapsody* | darwin*)
7985
if test -n "$ac_tool_prefix"; then
7986
# Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7987
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7988
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7989
$as_echo_n "checking for $ac_word... " >&6; }
7990
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7991
$as_echo_n "(cached) " >&6
7993
if test -n "$DSYMUTIL"; then
7994
ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7996
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8000
test -z "$as_dir" && as_dir=.
8001
for ac_exec_ext in '' $ac_executable_extensions; do
8002
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8003
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8004
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8013
DSYMUTIL=$ac_cv_prog_DSYMUTIL
8014
if test -n "$DSYMUTIL"; then
8015
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8016
$as_echo "$DSYMUTIL" >&6; }
8018
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8019
$as_echo "no" >&6; }
8024
if test -z "$ac_cv_prog_DSYMUTIL"; then
8025
ac_ct_DSYMUTIL=$DSYMUTIL
8026
# Extract the first word of "dsymutil", so it can be a program name with args.
8027
set dummy dsymutil; ac_word=$2
8028
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8029
$as_echo_n "checking for $ac_word... " >&6; }
8030
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
8031
$as_echo_n "(cached) " >&6
8033
if test -n "$ac_ct_DSYMUTIL"; then
8034
ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8036
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8040
test -z "$as_dir" && as_dir=.
8041
for ac_exec_ext in '' $ac_executable_extensions; do
8042
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8043
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8044
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8053
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8054
if test -n "$ac_ct_DSYMUTIL"; then
8055
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8056
$as_echo "$ac_ct_DSYMUTIL" >&6; }
8058
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8059
$as_echo "no" >&6; }
8062
if test "x$ac_ct_DSYMUTIL" = x; then
8065
case $cross_compiling:$ac_tool_warned in
8067
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8068
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8069
ac_tool_warned=yes ;;
8071
DSYMUTIL=$ac_ct_DSYMUTIL
8074
DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8077
if test -n "$ac_tool_prefix"; then
8078
# Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8079
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8080
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8081
$as_echo_n "checking for $ac_word... " >&6; }
8082
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
8083
$as_echo_n "(cached) " >&6
8085
if test -n "$NMEDIT"; then
8086
ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8088
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8092
test -z "$as_dir" && as_dir=.
8093
for ac_exec_ext in '' $ac_executable_extensions; do
8094
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8095
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8096
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8105
NMEDIT=$ac_cv_prog_NMEDIT
8106
if test -n "$NMEDIT"; then
8107
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8108
$as_echo "$NMEDIT" >&6; }
8110
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8111
$as_echo "no" >&6; }
8116
if test -z "$ac_cv_prog_NMEDIT"; then
8117
ac_ct_NMEDIT=$NMEDIT
8118
# Extract the first word of "nmedit", so it can be a program name with args.
8119
set dummy nmedit; ac_word=$2
8120
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8121
$as_echo_n "checking for $ac_word... " >&6; }
8122
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
8123
$as_echo_n "(cached) " >&6
8125
if test -n "$ac_ct_NMEDIT"; then
8126
ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8128
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8132
test -z "$as_dir" && as_dir=.
8133
for ac_exec_ext in '' $ac_executable_extensions; do
8134
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8135
ac_cv_prog_ac_ct_NMEDIT="nmedit"
8136
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8145
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8146
if test -n "$ac_ct_NMEDIT"; then
8147
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8148
$as_echo "$ac_ct_NMEDIT" >&6; }
8150
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8151
$as_echo "no" >&6; }
8154
if test "x$ac_ct_NMEDIT" = x; then
8157
case $cross_compiling:$ac_tool_warned in
8159
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8160
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8161
ac_tool_warned=yes ;;
8163
NMEDIT=$ac_ct_NMEDIT
8166
NMEDIT="$ac_cv_prog_NMEDIT"
8169
if test -n "$ac_tool_prefix"; then
8170
# Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8171
set dummy ${ac_tool_prefix}lipo; ac_word=$2
8172
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8173
$as_echo_n "checking for $ac_word... " >&6; }
8174
if test "${ac_cv_prog_LIPO+set}" = set; then :
8175
$as_echo_n "(cached) " >&6
8177
if test -n "$LIPO"; then
8178
ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8180
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8184
test -z "$as_dir" && as_dir=.
8185
for ac_exec_ext in '' $ac_executable_extensions; do
8186
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8187
ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8188
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8197
LIPO=$ac_cv_prog_LIPO
8198
if test -n "$LIPO"; then
8199
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8200
$as_echo "$LIPO" >&6; }
8202
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8203
$as_echo "no" >&6; }
8208
if test -z "$ac_cv_prog_LIPO"; then
8210
# Extract the first word of "lipo", so it can be a program name with args.
8211
set dummy lipo; ac_word=$2
8212
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8213
$as_echo_n "checking for $ac_word... " >&6; }
8214
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
8215
$as_echo_n "(cached) " >&6
8217
if test -n "$ac_ct_LIPO"; then
8218
ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8220
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8224
test -z "$as_dir" && as_dir=.
8225
for ac_exec_ext in '' $ac_executable_extensions; do
8226
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8227
ac_cv_prog_ac_ct_LIPO="lipo"
8228
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8237
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8238
if test -n "$ac_ct_LIPO"; then
8239
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8240
$as_echo "$ac_ct_LIPO" >&6; }
8242
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8243
$as_echo "no" >&6; }
8246
if test "x$ac_ct_LIPO" = x; then
8249
case $cross_compiling:$ac_tool_warned in
8251
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8252
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8253
ac_tool_warned=yes ;;
8258
LIPO="$ac_cv_prog_LIPO"
8261
if test -n "$ac_tool_prefix"; then
8262
# Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8263
set dummy ${ac_tool_prefix}otool; ac_word=$2
8264
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8265
$as_echo_n "checking for $ac_word... " >&6; }
8266
if test "${ac_cv_prog_OTOOL+set}" = set; then :
8267
$as_echo_n "(cached) " >&6
8269
if test -n "$OTOOL"; then
8270
ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8272
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8276
test -z "$as_dir" && as_dir=.
8277
for ac_exec_ext in '' $ac_executable_extensions; do
8278
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8279
ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8280
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8289
OTOOL=$ac_cv_prog_OTOOL
8290
if test -n "$OTOOL"; then
8291
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8292
$as_echo "$OTOOL" >&6; }
8294
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8295
$as_echo "no" >&6; }
8300
if test -z "$ac_cv_prog_OTOOL"; then
8302
# Extract the first word of "otool", so it can be a program name with args.
8303
set dummy otool; ac_word=$2
8304
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8305
$as_echo_n "checking for $ac_word... " >&6; }
8306
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
8307
$as_echo_n "(cached) " >&6
8309
if test -n "$ac_ct_OTOOL"; then
8310
ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8312
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8316
test -z "$as_dir" && as_dir=.
8317
for ac_exec_ext in '' $ac_executable_extensions; do
8318
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8319
ac_cv_prog_ac_ct_OTOOL="otool"
8320
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8329
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8330
if test -n "$ac_ct_OTOOL"; then
8331
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8332
$as_echo "$ac_ct_OTOOL" >&6; }
8334
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8335
$as_echo "no" >&6; }
8338
if test "x$ac_ct_OTOOL" = x; then
8341
case $cross_compiling:$ac_tool_warned in
8343
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8344
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8345
ac_tool_warned=yes ;;
8350
OTOOL="$ac_cv_prog_OTOOL"
8353
if test -n "$ac_tool_prefix"; then
8354
# Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8355
set dummy ${ac_tool_prefix}otool64; ac_word=$2
8356
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8357
$as_echo_n "checking for $ac_word... " >&6; }
8358
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
8359
$as_echo_n "(cached) " >&6
8361
if test -n "$OTOOL64"; then
8362
ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8364
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8368
test -z "$as_dir" && as_dir=.
8369
for ac_exec_ext in '' $ac_executable_extensions; do
8370
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8371
ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8372
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8381
OTOOL64=$ac_cv_prog_OTOOL64
8382
if test -n "$OTOOL64"; then
8383
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8384
$as_echo "$OTOOL64" >&6; }
8386
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8387
$as_echo "no" >&6; }
8392
if test -z "$ac_cv_prog_OTOOL64"; then
8393
ac_ct_OTOOL64=$OTOOL64
8394
# Extract the first word of "otool64", so it can be a program name with args.
8395
set dummy otool64; ac_word=$2
8396
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8397
$as_echo_n "checking for $ac_word... " >&6; }
8398
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
8399
$as_echo_n "(cached) " >&6
8401
if test -n "$ac_ct_OTOOL64"; then
8402
ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8404
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8408
test -z "$as_dir" && as_dir=.
8409
for ac_exec_ext in '' $ac_executable_extensions; do
8410
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8411
ac_cv_prog_ac_ct_OTOOL64="otool64"
8412
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8421
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8422
if test -n "$ac_ct_OTOOL64"; then
8423
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8424
$as_echo "$ac_ct_OTOOL64" >&6; }
8426
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8427
$as_echo "no" >&6; }
8430
if test "x$ac_ct_OTOOL64" = x; then
8433
case $cross_compiling:$ac_tool_warned in
8435
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8436
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8437
ac_tool_warned=yes ;;
8439
OTOOL64=$ac_ct_OTOOL64
8442
OTOOL64="$ac_cv_prog_OTOOL64"
8471
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8472
$as_echo_n "checking for -single_module linker flag... " >&6; }
8473
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
8474
$as_echo_n "(cached) " >&6
8476
lt_cv_apple_cc_single_mod=no
8477
if test -z "${LT_MULTI_MODULE}"; then
8478
# By default we will add the -single_module flag. You can override
8479
# by either setting the environment variable LT_MULTI_MODULE
8480
# non-empty at configure time, or by adding -multi_module to the
8482
rm -rf libconftest.dylib*
8483
echo "int foo(void){return 1;}" > conftest.c
8484
echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8485
-dynamiclib -Wl,-single_module conftest.c" >&5
8486
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8487
-dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8489
if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8490
lt_cv_apple_cc_single_mod=yes
8492
cat conftest.err >&5
8494
rm -rf libconftest.dylib*
8498
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8499
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8500
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8501
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8502
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
8503
$as_echo_n "(cached) " >&6
8505
lt_cv_ld_exported_symbols_list=no
8506
save_LDFLAGS=$LDFLAGS
8507
echo "_main" > conftest.sym
8508
LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8509
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8510
/* end confdefs.h. */
8520
if ac_fn_c_try_link "$LINENO"; then :
8521
lt_cv_ld_exported_symbols_list=yes
8523
lt_cv_ld_exported_symbols_list=no
8525
rm -f core conftest.err conftest.$ac_objext \
8526
conftest$ac_exeext conftest.$ac_ext
8527
LDFLAGS="$save_LDFLAGS"
8530
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8531
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8533
rhapsody* | darwin1.[012])
8534
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8536
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8537
darwin*) # darwin 5.x on
8538
# if running on 10.5 or later, the deployment target defaults
8539
# to the OS version, if on x86, and 10.4, the deployment
8540
# target defaults to 10.4. Don't you love it?
8541
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8542
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8543
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8545
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8547
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8551
if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8552
_lt_dar_single_mod='$single_module'
8554
if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8555
_lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8557
_lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8559
if test "$DSYMUTIL" != ":"; then
8560
_lt_dsymutil='~$DSYMUTIL $lib || :'
8568
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8569
$as_echo_n "checking for ANSI C header files... " >&6; }
8570
if test "${ac_cv_header_stdc+set}" = set; then :
8571
$as_echo_n "(cached) " >&6
8573
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8574
/* end confdefs.h. */
8588
if ac_fn_c_try_compile "$LINENO"; then :
8589
ac_cv_header_stdc=yes
8591
ac_cv_header_stdc=no
8593
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8595
if test $ac_cv_header_stdc = yes; then
8596
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8597
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8598
/* end confdefs.h. */
8602
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8603
$EGREP "memchr" >/dev/null 2>&1; then :
8606
ac_cv_header_stdc=no
8612
if test $ac_cv_header_stdc = yes; then
8613
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8614
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8615
/* end confdefs.h. */
8619
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8620
$EGREP "free" >/dev/null 2>&1; then :
8623
ac_cv_header_stdc=no
8629
if test $ac_cv_header_stdc = yes; then
8630
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8631
if test "$cross_compiling" = yes; then :
8634
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8635
/* end confdefs.h. */
8638
#if ((' ' & 0x0FF) == 0x020)
8639
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8640
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8642
# define ISLOWER(c) \
8643
(('a' <= (c) && (c) <= 'i') \
8644
|| ('j' <= (c) && (c) <= 'r') \
8645
|| ('s' <= (c) && (c) <= 'z'))
8646
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8649
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8654
for (i = 0; i < 256; i++)
8655
if (XOR (islower (i), ISLOWER (i))
8656
|| toupper (i) != TOUPPER (i))
8661
if ac_fn_c_try_run "$LINENO"; then :
8664
ac_cv_header_stdc=no
8666
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8667
conftest.$ac_objext conftest.beam conftest.$ac_ext
8672
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8673
$as_echo "$ac_cv_header_stdc" >&6; }
8674
if test $ac_cv_header_stdc = yes; then
8676
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
8680
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
8681
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8682
inttypes.h stdint.h unistd.h
8684
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8685
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8687
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8688
cat >>confdefs.h <<_ACEOF
8689
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8697
for ac_header in dlfcn.h
8699
ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8701
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8702
cat >>confdefs.h <<_ACEOF
8703
#define HAVE_DLFCN_H 1
8722
# Check whether --enable-shared was given.
8723
if test "${enable_shared+set}" = set; then :
8724
enableval=$enable_shared; p=${PACKAGE-default}
8726
yes) enable_shared=yes ;;
8727
no) enable_shared=no ;;
8730
# Look at the argument we got. We use all the common list separators.
8731
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8732
for pkg in $enableval; do
8734
if test "X$pkg" = "X$p"; then
8753
# Check whether --enable-static was given.
8754
if test "${enable_static+set}" = set; then :
8755
enableval=$enable_static; p=${PACKAGE-default}
8757
yes) enable_static=yes ;;
8758
no) enable_static=no ;;
8761
# Look at the argument we got. We use all the common list separators.
8762
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8763
for pkg in $enableval; do
8765
if test "X$pkg" = "X$p"; then
8785
# Check whether --with-pic was given.
8786
if test "${with_pic+set}" = set; then :
8787
withval=$with_pic; pic_mode="$withval"
8793
test -z "$pic_mode" && pic_mode=default
8801
# Check whether --enable-fast-install was given.
8802
if test "${enable_fast_install+set}" = set; then :
8803
enableval=$enable_fast_install; p=${PACKAGE-default}
8805
yes) enable_fast_install=yes ;;
8806
no) enable_fast_install=no ;;
8808
enable_fast_install=no
8809
# Look at the argument we got. We use all the common list separators.
8810
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8811
for pkg in $enableval; do
8813
if test "X$pkg" = "X$p"; then
8814
enable_fast_install=yes
8821
enable_fast_install=yes
8834
# This can be used to rebuild libtool when needed
8835
LIBTOOL_DEPS="$ltmain"
8837
# Always use our own libtool.
8838
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8864
test -z "$LN_S" && LN_S="ln -s"
8879
if test -n "${ZSH_VERSION+set}" ; then
8880
setopt NO_GLOB_SUBST
8883
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8884
$as_echo_n "checking for objdir... " >&6; }
8885
if test "${lt_cv_objdir+set}" = set; then :
8886
$as_echo_n "(cached) " >&6
8888
rm -f .libs 2>/dev/null
8889
mkdir .libs 2>/dev/null
8890
if test -d .libs; then
8893
# MS-DOS does not allow filenames that begin with a dot.
8896
rmdir .libs 2>/dev/null
8898
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8899
$as_echo "$lt_cv_objdir" >&6; }
8900
objdir=$lt_cv_objdir
8906
cat >>confdefs.h <<_ACEOF
8907
#define LT_OBJDIR "$lt_cv_objdir/"
8928
# AIX sometimes has problems with the GCC collect2 program. For some
8929
# reason, if we set the COLLECT_NAMES environment variable, the problems
8930
# vanish in a puff of smoke.
8931
if test "X${COLLECT_NAMES+set}" != Xset; then
8933
export COLLECT_NAMES
8938
# Sed substitution that helps us do robust quoting. It backslashifies
8939
# metacharacters that are still active within double-quoted strings.
8940
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
8942
# Same as above, but do not quote variable references.
8943
double_quote_subst='s/\(["`\\]\)/\\\1/g'
8945
# Sed substitution to delay expansion of an escaped shell variable in a
8946
# double_quote_subst'ed string.
8947
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
8949
# Sed substitution to delay expansion of an escaped single quote.
8950
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
8952
# Sed substitution to avoid accidental globbing in evaled expressions
8953
no_glob_subst='s/\*/\\\*/g'
8957
can_build_shared=yes
8959
# All known linkers require a `.a' archive for static linking (except MSVC,
8960
# which needs '.lib').
8963
with_gnu_ld="$lt_cv_prog_gnu_ld"
8966
old_CFLAGS="$CFLAGS"
8968
# Set sane defaults for various variables
8969
test -z "$CC" && CC=cc
8970
test -z "$LTCC" && LTCC=$CC
8971
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8972
test -z "$LD" && LD=ld
8973
test -z "$ac_objext" && ac_objext=o
8975
for cc_temp in $compiler""; do
8977
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8978
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8983
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8986
# Only perform the check for file, if the check method requires it
8987
test -z "$MAGIC_CMD" && MAGIC_CMD=file
8988
case $deplibs_check_method in
8990
if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8991
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8992
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8993
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8994
$as_echo_n "(cached) " >&6
8998
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9001
lt_save_MAGIC_CMD="$MAGIC_CMD"
9002
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9003
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9004
for ac_dir in $ac_dummy; do
9006
test -z "$ac_dir" && ac_dir=.
9007
if test -f $ac_dir/${ac_tool_prefix}file; then
9008
lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9009
if test -n "$file_magic_test_file"; then
9010
case $deplibs_check_method in
9012
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9013
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9014
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9015
$EGREP "$file_magic_regex" > /dev/null; then
9020
*** Warning: the command libtool uses to detect shared libraries,
9021
*** $file_magic_cmd, produces output that libtool cannot recognize.
9022
*** The result is that libtool may fail to recognize shared libraries
9023
*** as such. This will affect the creation of libtool libraries that
9024
*** depend on shared libraries, but programs linked with such libtool
9025
*** libraries will work regardless of this problem. Nevertheless, you
9026
*** may want to report the problem to your system manager and/or to
9027
*** bug-libtool@gnu.org
9037
MAGIC_CMD="$lt_save_MAGIC_CMD"
9042
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9043
if test -n "$MAGIC_CMD"; then
9044
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9045
$as_echo "$MAGIC_CMD" >&6; }
9047
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9048
$as_echo "no" >&6; }
9055
if test -z "$lt_cv_path_MAGIC_CMD"; then
9056
if test -n "$ac_tool_prefix"; then
9057
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9058
$as_echo_n "checking for file... " >&6; }
9059
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9060
$as_echo_n "(cached) " >&6
9064
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9067
lt_save_MAGIC_CMD="$MAGIC_CMD"
9068
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9069
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9070
for ac_dir in $ac_dummy; do
9072
test -z "$ac_dir" && ac_dir=.
9073
if test -f $ac_dir/file; then
9074
lt_cv_path_MAGIC_CMD="$ac_dir/file"
9075
if test -n "$file_magic_test_file"; then
9076
case $deplibs_check_method in
9078
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9079
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9080
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9081
$EGREP "$file_magic_regex" > /dev/null; then
9086
*** Warning: the command libtool uses to detect shared libraries,
9087
*** $file_magic_cmd, produces output that libtool cannot recognize.
9088
*** The result is that libtool may fail to recognize shared libraries
9089
*** as such. This will affect the creation of libtool libraries that
9090
*** depend on shared libraries, but programs linked with such libtool
9091
*** libraries will work regardless of this problem. Nevertheless, you
9092
*** may want to report the problem to your system manager and/or to
9093
*** bug-libtool@gnu.org
9103
MAGIC_CMD="$lt_save_MAGIC_CMD"
9108
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9109
if test -n "$MAGIC_CMD"; then
9110
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9111
$as_echo "$MAGIC_CMD" >&6; }
9113
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9114
$as_echo "no" >&6; }
9127
# Use C for the default configuration in the libtool script
9131
ac_cpp='$CPP $CPPFLAGS'
9132
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9133
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9134
ac_compiler_gnu=$ac_cv_c_compiler_gnu
9137
# Source file extension for C test sources.
9140
# Object file extension for compiled C test sources.
9144
# Code to be used in simple compile tests
9145
lt_simple_compile_test_code="int some_variable = 0;"
9147
# Code to be used in simple link tests
9148
lt_simple_link_test_code='int main(){return(0);}'
9156
# If no C compiler was specified, use CC.
9159
# If no C compiler flags were specified, use CFLAGS.
9160
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9162
# Allow CC to be a program name with arguments.
9165
# Save the default compiler, since it gets overwritten when the other
9166
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9167
compiler_DEFAULT=$CC
9169
# save warnings/boilerplate of simple test code
9170
ac_outfile=conftest.$ac_objext
9171
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9172
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9173
_lt_compiler_boilerplate=`cat conftest.err`
9176
ac_outfile=conftest.$ac_objext
9177
echo "$lt_simple_link_test_code" >conftest.$ac_ext
9178
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9179
_lt_linker_boilerplate=`cat conftest.err`
9184
## There is no encapsulation within the following macros, do not change
9185
## the running order or otherwise move them around unless you know exactly
9186
## what you are doing...
9187
if test -n "$compiler"; then
9189
lt_prog_compiler_no_builtin_flag=
9191
if test "$GCC" = yes; then
9192
lt_prog_compiler_no_builtin_flag=' -fno-builtin'
9194
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9195
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9196
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
9197
$as_echo_n "(cached) " >&6
9199
lt_cv_prog_compiler_rtti_exceptions=no
9200
ac_outfile=conftest.$ac_objext
9201
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9202
lt_compiler_flag="-fno-rtti -fno-exceptions"
9203
# Insert the option either (1) after the last *FLAGS variable, or
9204
# (2) before a word containing "conftest.", or (3) at the end.
9205
# Note that $ac_compile itself does not contain backslashes and begins
9206
# with a dollar sign (not a hyphen), so the echo should work correctly.
9207
# The option is referenced via a variable to avoid confusing sed.
9208
lt_compile=`echo "$ac_compile" | $SED \
9209
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9210
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9211
-e 's:$: $lt_compiler_flag:'`
9212
(eval echo "\"\$as_me:9212: $lt_compile\"" >&5)
9213
(eval "$lt_compile" 2>conftest.err)
9215
cat conftest.err >&5
9216
echo "$as_me:9216: \$? = $ac_status" >&5
9217
if (exit $ac_status) && test -s "$ac_outfile"; then
9218
# The compiler can only warn and ignore the option if not recognized
9219
# So say no if there are warnings other than the usual output.
9220
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
9221
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9222
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9223
lt_cv_prog_compiler_rtti_exceptions=yes
9229
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9230
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9232
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9233
lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9245
lt_prog_compiler_wl=
9246
lt_prog_compiler_pic=
9247
lt_prog_compiler_static=
9249
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9250
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9252
if test "$GCC" = yes; then
9253
lt_prog_compiler_wl='-Wl,'
9254
lt_prog_compiler_static='-static'
9258
# All AIX code is PIC.
9259
if test "$host_cpu" = ia64; then
9260
# AIX 5 now supports IA64 processor
9261
lt_prog_compiler_static='-Bstatic'
9268
# see comment about AmigaOS4 .so support
9269
lt_prog_compiler_pic='-fPIC'
9272
# FIXME: we need at least 68020 code to build shared libraries, but
9273
# adding the `-m68020' flag to GCC prevents building anything better,
9275
lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9280
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9281
# PIC is the default for these OSes.
9284
mingw* | cygwin* | pw32* | os2* | cegcc*)
9285
# This hack is so that the source file can tell whether it is being
9286
# built for inclusion in a dll (and should export symbols for example).
9287
# Although the cygwin gcc ignores -fPIC, still need this for old-style
9288
# (--disable-auto-import) libraries
9289
lt_prog_compiler_pic='-DDLL_EXPORT'
9292
darwin* | rhapsody*)
9293
# PIC is the default on this platform
9294
# Common symbols not allowed in MH_DYLIB files
9295
lt_prog_compiler_pic='-fno-common'
9299
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9300
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9301
# sets the default TLS model and affects inlining.
9307
lt_prog_compiler_pic='-fPIC'
9313
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
9314
# Instead, we relocate shared libraries at runtime.
9318
# Just because we use GCC doesn't mean we suddenly get shared libraries
9319
# on systems that don't support them.
9320
lt_prog_compiler_can_build_shared=no
9325
# QNX uses GNU C++, but need to define -shared option too, otherwise
9327
lt_prog_compiler_pic='-fPIC -shared'
9331
if test -d /usr/nec; then
9332
lt_prog_compiler_pic=-Kconform_pic
9337
lt_prog_compiler_pic='-fPIC'
9341
# PORTME Check for flag to pass linker flags through the system compiler.
9344
lt_prog_compiler_wl='-Wl,'
9345
if test "$host_cpu" = ia64; then
9346
# AIX 5 now supports IA64 processor
9347
lt_prog_compiler_static='-Bstatic'
9349
lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9353
mingw* | cygwin* | pw32* | os2* | cegcc*)
9354
# This hack is so that the source file can tell whether it is being
9355
# built for inclusion in a dll (and should export symbols for example).
9356
lt_prog_compiler_pic='-DDLL_EXPORT'
9359
hpux9* | hpux10* | hpux11*)
9360
lt_prog_compiler_wl='-Wl,'
9361
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9368
lt_prog_compiler_pic='+Z'
9371
# Is there a better lt_prog_compiler_static that works with the bundled CC?
9372
lt_prog_compiler_static='${wl}-a ${wl}archive'
9375
irix5* | irix6* | nonstopux*)
9376
lt_prog_compiler_wl='-Wl,'
9377
# PIC (with -KPIC) is the default.
9378
lt_prog_compiler_static='-non_shared'
9381
linux* | k*bsd*-gnu | kopensolaris*-gnu)
9382
case $cc_basename in
9383
# old Intel for x86_64 which still supported -KPIC.
9385
lt_prog_compiler_wl='-Wl,'
9386
lt_prog_compiler_pic='-KPIC'
9387
lt_prog_compiler_static='-static'
9389
# icc used to be incompatible with GCC.
9390
# ICC 10 doesn't accept -KPIC any more.
9392
lt_prog_compiler_wl='-Wl,'
9393
lt_prog_compiler_pic='-fPIC'
9394
lt_prog_compiler_static='-static'
9396
# Lahey Fortran 8.1.
9398
lt_prog_compiler_wl='-Wl,'
9399
lt_prog_compiler_pic='--shared'
9400
lt_prog_compiler_static='--static'
9402
pgcc* | pgf77* | pgf90* | pgf95*)
9403
# Portland Group compilers (*not* the Pentium gcc compiler,
9404
# which looks to be a dead project)
9405
lt_prog_compiler_wl='-Wl,'
9406
lt_prog_compiler_pic='-fpic'
9407
lt_prog_compiler_static='-Bstatic'
9410
lt_prog_compiler_wl='-Wl,'
9411
# All Alpha code is PIC.
9412
lt_prog_compiler_static='-non_shared'
9415
# IBM XL C 8.0/Fortran 10.1 on PPC
9416
lt_prog_compiler_wl='-Wl,'
9417
lt_prog_compiler_pic='-qpic'
9418
lt_prog_compiler_static='-qstaticlink'
9421
case `$CC -V 2>&1 | sed 5q` in
9424
lt_prog_compiler_pic='-KPIC'
9425
lt_prog_compiler_static='-Bstatic'
9426
lt_prog_compiler_wl='-Wl,'
9429
# Sun Fortran 8.3 passes all unrecognized flags to the linker
9430
lt_prog_compiler_pic='-KPIC'
9431
lt_prog_compiler_static='-Bstatic'
9432
lt_prog_compiler_wl=''
9440
lt_prog_compiler_pic='-KPIC'
9441
lt_prog_compiler_static='-Bstatic'
9445
# QNX uses GNU C++, but need to define -shared option too, otherwise
9447
lt_prog_compiler_pic='-fPIC -shared'
9450
osf3* | osf4* | osf5*)
9451
lt_prog_compiler_wl='-Wl,'
9452
# All OSF/1 code is PIC.
9453
lt_prog_compiler_static='-non_shared'
9457
lt_prog_compiler_static='-non_shared'
9461
lt_prog_compiler_pic='-KPIC'
9462
lt_prog_compiler_static='-Bstatic'
9463
case $cc_basename in
9465
lt_prog_compiler_wl='-Qoption ld ';;
9467
lt_prog_compiler_wl='-Wl,';;
9472
lt_prog_compiler_wl='-Qoption ld '
9473
lt_prog_compiler_pic='-PIC'
9474
lt_prog_compiler_static='-Bstatic'
9477
sysv4 | sysv4.2uw2* | sysv4.3*)
9478
lt_prog_compiler_wl='-Wl,'
9479
lt_prog_compiler_pic='-KPIC'
9480
lt_prog_compiler_static='-Bstatic'
9484
if test -d /usr/nec ;then
9485
lt_prog_compiler_pic='-Kconform_pic'
9486
lt_prog_compiler_static='-Bstatic'
9490
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9491
lt_prog_compiler_wl='-Wl,'
9492
lt_prog_compiler_pic='-KPIC'
9493
lt_prog_compiler_static='-Bstatic'
9497
lt_prog_compiler_wl='-Wl,'
9498
lt_prog_compiler_can_build_shared=no
9502
lt_prog_compiler_pic='-pic'
9503
lt_prog_compiler_static='-Bstatic'
9507
lt_prog_compiler_can_build_shared=no
9513
# For platforms which do not support PIC, -DPIC is meaningless:
9515
lt_prog_compiler_pic=
9518
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9521
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9522
$as_echo "$lt_prog_compiler_pic" >&6; }
9530
# Check to make sure the PIC flag actually works.
9532
if test -n "$lt_prog_compiler_pic"; then
9533
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9534
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9535
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9536
$as_echo_n "(cached) " >&6
9538
lt_cv_prog_compiler_pic_works=no
9539
ac_outfile=conftest.$ac_objext
9540
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9541
lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9542
# Insert the option either (1) after the last *FLAGS variable, or
9543
# (2) before a word containing "conftest.", or (3) at the end.
9544
# Note that $ac_compile itself does not contain backslashes and begins
9545
# with a dollar sign (not a hyphen), so the echo should work correctly.
9546
# The option is referenced via a variable to avoid confusing sed.
9547
lt_compile=`echo "$ac_compile" | $SED \
9548
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9549
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9550
-e 's:$: $lt_compiler_flag:'`
9551
(eval echo "\"\$as_me:9551: $lt_compile\"" >&5)
9552
(eval "$lt_compile" 2>conftest.err)
9554
cat conftest.err >&5
9555
echo "$as_me:9555: \$? = $ac_status" >&5
9556
if (exit $ac_status) && test -s "$ac_outfile"; then
9557
# The compiler can only warn and ignore the option if not recognized
9558
# So say no if there are warnings other than the usual output.
9559
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
9560
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9561
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9562
lt_cv_prog_compiler_pic_works=yes
9568
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9569
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9571
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9572
case $lt_prog_compiler_pic in
9574
*) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9577
lt_prog_compiler_pic=
9578
lt_prog_compiler_can_build_shared=no
9589
# Check to make sure the static flag actually works.
9591
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9592
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9593
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9594
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9595
$as_echo_n "(cached) " >&6
9597
lt_cv_prog_compiler_static_works=no
9598
save_LDFLAGS="$LDFLAGS"
9599
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9600
echo "$lt_simple_link_test_code" > conftest.$ac_ext
9601
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9602
# The linker can only warn and ignore the option if not recognized
9603
# So say no if there are warnings
9604
if test -s conftest.err; then
9605
# Append any errors to the config.log.
9606
cat conftest.err 1>&5
9607
$ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
9608
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9609
if diff conftest.exp conftest.er2 >/dev/null; then
9610
lt_cv_prog_compiler_static_works=yes
9613
lt_cv_prog_compiler_static_works=yes
9617
LDFLAGS="$save_LDFLAGS"
9620
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9621
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9623
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9626
lt_prog_compiler_static=
9635
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9636
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9637
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9638
$as_echo_n "(cached) " >&6
9640
lt_cv_prog_compiler_c_o=no
9641
$RM -r conftest 2>/dev/null
9645
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9647
lt_compiler_flag="-o out/conftest2.$ac_objext"
9648
# Insert the option either (1) after the last *FLAGS variable, or
9649
# (2) before a word containing "conftest.", or (3) at the end.
9650
# Note that $ac_compile itself does not contain backslashes and begins
9651
# with a dollar sign (not a hyphen), so the echo should work correctly.
9652
lt_compile=`echo "$ac_compile" | $SED \
9653
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9654
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9655
-e 's:$: $lt_compiler_flag:'`
9656
(eval echo "\"\$as_me:9656: $lt_compile\"" >&5)
9657
(eval "$lt_compile" 2>out/conftest.err)
9659
cat out/conftest.err >&5
9660
echo "$as_me:9660: \$? = $ac_status" >&5
9661
if (exit $ac_status) && test -s out/conftest2.$ac_objext
9663
# The compiler can only warn and ignore the option if not recognized
9664
# So say no if there are warnings
9665
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9666
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9667
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9668
lt_cv_prog_compiler_c_o=yes
9673
# SGI C++ compiler will create directory out/ii_files/ for
9674
# template instantiation
9675
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9676
$RM out/* && rmdir out
9682
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9683
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9690
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9691
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9692
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9693
$as_echo_n "(cached) " >&6
9695
lt_cv_prog_compiler_c_o=no
9696
$RM -r conftest 2>/dev/null
9700
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9702
lt_compiler_flag="-o out/conftest2.$ac_objext"
9703
# Insert the option either (1) after the last *FLAGS variable, or
9704
# (2) before a word containing "conftest.", or (3) at the end.
9705
# Note that $ac_compile itself does not contain backslashes and begins
9706
# with a dollar sign (not a hyphen), so the echo should work correctly.
9707
lt_compile=`echo "$ac_compile" | $SED \
9708
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9709
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9710
-e 's:$: $lt_compiler_flag:'`
9711
(eval echo "\"\$as_me:9711: $lt_compile\"" >&5)
9712
(eval "$lt_compile" 2>out/conftest.err)
9714
cat out/conftest.err >&5
9715
echo "$as_me:9715: \$? = $ac_status" >&5
9716
if (exit $ac_status) && test -s out/conftest2.$ac_objext
9718
# The compiler can only warn and ignore the option if not recognized
9719
# So say no if there are warnings
9720
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9721
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9722
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9723
lt_cv_prog_compiler_c_o=yes
9728
# SGI C++ compiler will create directory out/ii_files/ for
9729
# template instantiation
9730
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9731
$RM out/* && rmdir out
9737
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9738
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9743
hard_links="nottested"
9744
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9745
# do not overwrite the value of need_locks provided by the user
9746
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9747
$as_echo_n "checking if we can lock with hard links... " >&6; }
9750
ln conftest.a conftest.b 2>/dev/null && hard_links=no
9752
ln conftest.a conftest.b 2>&5 || hard_links=no
9753
ln conftest.a conftest.b 2>/dev/null && hard_links=no
9754
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9755
$as_echo "$hard_links" >&6; }
9756
if test "$hard_links" = no; then
9757
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9758
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9770
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9771
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9774
allow_undefined_flag=
9775
always_export_symbols=no
9777
archive_expsym_cmds=
9778
compiler_needs_object=no
9779
enable_shared_with_static_runtimes=no
9780
export_dynamic_flag_spec=
9781
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9782
hardcode_automatic=no
9784
hardcode_direct_absolute=no
9785
hardcode_libdir_flag_spec=
9786
hardcode_libdir_flag_spec_ld=
9787
hardcode_libdir_separator=
9789
hardcode_shlibpath_var=unsupported
9791
link_all_deplibs=unknown
9794
old_archive_from_new_cmds=
9795
old_archive_from_expsyms_cmds=
9796
thread_safe_flag_spec=
9797
whole_archive_flag_spec=
9798
# include_expsyms should be a list of space-separated symbols to be *always*
9799
# included in the symbol list
9801
# exclude_expsyms can be an extended regexp of symbols to exclude
9802
# it will be wrapped by ` (' and `)$', so one must not match beginning or
9803
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9804
# as well as any symbol that contains `d'.
9805
exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9806
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9807
# platforms (ab)use it in PIC code, but their linkers get confused if
9808
# the symbol is explicitly referenced. Since portable code cannot
9809
# rely on this symbol name, it's probably fine to never include it in
9810
# preloaded symbol tables.
9811
# Exclude shared library initialization/finalization symbols.
9812
extract_expsyms_cmds=
9815
cygwin* | mingw* | pw32* | cegcc*)
9816
# FIXME: the MSVC++ port hasn't been tested in a loooong time
9817
# When not using gcc, we currently assume that we are using
9818
# Microsoft Visual C++.
9819
if test "$GCC" != yes; then
9824
# we just hope/assume this is gcc and not c89 (= MSVC++)
9830
linux* | k*bsd*-gnu)
9836
if test "$with_gnu_ld" = yes; then
9837
# If archive_cmds runs LD, not CC, wlarc should be empty
9840
# Set some defaults for GNU ld with shared library support. These
9841
# are reset later if shared libraries are not supported. Putting them
9842
# here allows them to be overridden if necessary.
9843
runpath_var=LD_RUN_PATH
9844
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9845
export_dynamic_flag_spec='${wl}--export-dynamic'
9846
# ancient GNU ld didn't support --whole-archive et. al.
9847
if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9848
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9850
whole_archive_flag_spec=
9852
supports_anon_versioning=no
9853
case `$LD -v 2>&1` in
9854
*GNU\ gold*) supports_anon_versioning=yes ;;
9855
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9856
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9857
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9858
*\ 2.11.*) ;; # other 2.11 versions
9859
*) supports_anon_versioning=yes ;;
9862
# See if GNU ld supports shared libraries.
9865
# On AIX/PPC, the GNU linker is very broken
9866
if test "$host_cpu" != ia64; then
9870
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
9871
*** to be unable to reliably create shared libraries on AIX.
9872
*** Therefore, libtool is disabling shared libraries support. If you
9873
*** really care for shared libraries, you may want to modify your PATH
9874
*** so that a non-GNU linker is found, and then restart.
9883
# see comment about AmigaOS4 .so support
9884
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9885
archive_expsym_cmds=''
9888
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)'
9889
hardcode_libdir_flag_spec='-L$libdir'
9890
hardcode_minus_L=yes
9896
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9897
allow_undefined_flag=unsupported
9898
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9899
# support --undefined. This deserves some investigation. FIXME
9900
archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9906
cygwin* | mingw* | pw32* | cegcc*)
9907
# _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9908
# as there is no search path for DLLs.
9909
hardcode_libdir_flag_spec='-L$libdir'
9910
allow_undefined_flag=unsupported
9911
always_export_symbols=no
9912
enable_shared_with_static_runtimes=yes
9913
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9915
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9916
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9917
# If the export-symbols file already is a .def file (1st line
9918
# is EXPORTS), use it as is; otherwise, prepend...
9919
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9920
cp $export_symbols $output_objdir/$soname.def;
9922
echo EXPORTS > $output_objdir/$soname.def;
9923
cat $export_symbols >> $output_objdir/$soname.def;
9925
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9933
hardcode_shlibpath_var=no
9934
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9935
export_dynamic_flag_spec='${wl}-E'
9936
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9937
# Instead, shared libraries are loaded at an image base (0x10000000 by
9938
# default) and relocated if they conflict, which is a slow very memory
9939
# consuming and fragmenting process. To avoid this, we pick a random,
9940
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9941
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
9942
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9943
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'
9946
gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9948
if test "$host_os" = linux-dietlibc; then
9949
case $cc_basename in
9950
diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9953
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9954
&& test "$tmp_diet" = no
9957
tmp_sharedflag='-shared'
9958
case $cc_basename,$host_cpu in
9959
pgcc*) # Portland Group C compiler
9960
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'
9961
tmp_addflag=' $pic_flag'
9963
pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
9964
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'
9965
tmp_addflag=' $pic_flag -Mnomain' ;;
9966
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9967
tmp_addflag=' -i_dynamic' ;;
9968
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9969
tmp_addflag=' -i_dynamic -nofor_main' ;;
9970
ifc* | ifort*) # Intel Fortran compiler
9971
tmp_addflag=' -nofor_main' ;;
9972
lf95*) # Lahey Fortran 8.1
9973
whole_archive_flag_spec=
9974
tmp_sharedflag='--shared' ;;
9975
xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9976
tmp_sharedflag='-qmkshrobj'
9979
case `$CC -V 2>&1 | sed 5q` in
9980
*Sun\ C*) # Sun C 5.9
9981
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'
9982
compiler_needs_object=yes
9983
tmp_sharedflag='-G' ;;
9984
*Sun\ F*) # Sun Fortran 8.3
9985
tmp_sharedflag='-G' ;;
9987
archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9989
if test "x$supports_anon_versioning" = xyes; then
9990
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9991
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9992
echo "local: *; };" >> $output_objdir/$libname.ver~
9993
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9996
case $cc_basename in
9998
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9999
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10000
hardcode_libdir_flag_spec=
10001
hardcode_libdir_flag_spec_ld='-rpath $libdir'
10002
archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10003
if test "x$supports_anon_versioning" = xyes; then
10004
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10005
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10006
echo "local: *; };" >> $output_objdir/$libname.ver~
10007
$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10016
netbsd* | netbsdelf*-gnu)
10017
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10018
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10021
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10022
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10027
if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10031
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
10032
*** create shared libraries on Solaris systems. Therefore, libtool
10033
*** is disabling shared libraries support. We urge you to upgrade GNU
10034
*** binutils to release 2.9.1 or newer. Another option is to modify
10035
*** your PATH or compiler configuration so that the native linker is
10036
*** used, and then restart.
10039
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10040
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10041
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10047
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10048
case `$LD -v 2>&1` in
10049
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10053
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10054
*** reliably create shared libraries on SCO systems. Therefore, libtool
10055
*** is disabling shared libraries support. We urge you to upgrade GNU
10056
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10057
*** your PATH or compiler configuration so that the native linker is
10058
*** used, and then restart.
10063
# For security reasons, it is highly recommended that you always
10064
# use absolute paths for naming shared libraries, and exclude the
10065
# DT_RUNPATH tag from executables and libraries. But doing so
10066
# requires that you compile everything twice, which is a pain.
10067
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10068
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10069
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10070
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10079
archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10081
hardcode_direct=yes
10082
hardcode_shlibpath_var=no
10086
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10087
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10088
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10095
if test "$ld_shlibs" = no; then
10097
hardcode_libdir_flag_spec=
10098
export_dynamic_flag_spec=
10099
whole_archive_flag_spec=
10102
# PORTME fill in a description of your system's linker (not GNU ld)
10105
allow_undefined_flag=unsupported
10106
always_export_symbols=yes
10107
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'
10108
# Note: this linker hardcodes the directories in LIBPATH if there
10109
# are no directories specified by -L.
10110
hardcode_minus_L=yes
10111
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10112
# Neither direct hardcoding nor static linking is supported with a
10114
hardcode_direct=unsupported
10119
if test "$host_cpu" = ia64; then
10120
# On IA64, the linker does run time linking by default, so we don't
10121
# have to do anything special.
10122
aix_use_runtimelinking=no
10123
exp_sym_flag='-Bexport'
10126
# If we're using GNU nm, then we don't want the "-C" option.
10127
# -C means demangle to AIX nm, but means don't demangle with GNU nm
10128
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10129
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'
10131
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'
10133
aix_use_runtimelinking=no
10135
# Test if we are trying to use run time linking or normal
10136
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
10137
# need to do runtime linking.
10138
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10139
for ld_flag in $LDFLAGS; do
10140
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10141
aix_use_runtimelinking=yes
10148
exp_sym_flag='-bexport'
10149
no_entry_flag='-bnoentry'
10152
# When large executables or shared objects are built, AIX ld can
10153
# have problems creating the table of contents. If linking a library
10154
# or program results in "error TOC overflow" add -mminimal-toc to
10155
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10156
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10159
hardcode_direct=yes
10160
hardcode_direct_absolute=yes
10161
hardcode_libdir_separator=':'
10162
link_all_deplibs=yes
10163
file_list_spec='${wl}-f,'
10165
if test "$GCC" = yes; then
10166
case $host_os in aix4.[012]|aix4.[012].*)
10167
# We only want to do this on AIX 4.2 and lower, the check
10168
# below for broken collect2 doesn't work under 4.3+
10169
collect2name=`${CC} -print-prog-name=collect2`
10170
if test -f "$collect2name" &&
10171
strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10173
# We have reworked collect2
10176
# We have old collect2
10177
hardcode_direct=unsupported
10178
# It fails to find uninstalled libraries when the uninstalled
10179
# path is not listed in the libpath. Setting hardcode_minus_L
10180
# to unsupported forces relinking
10181
hardcode_minus_L=yes
10182
hardcode_libdir_flag_spec='-L$libdir'
10183
hardcode_libdir_separator=
10187
shared_flag='-shared'
10188
if test "$aix_use_runtimelinking" = yes; then
10189
shared_flag="$shared_flag "'${wl}-G'
10191
link_all_deplibs=no
10194
if test "$host_cpu" = ia64; then
10195
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10196
# chokes on -Wl,-G. The following line is correct:
10199
if test "$aix_use_runtimelinking" = yes; then
10200
shared_flag='${wl}-G'
10202
shared_flag='${wl}-bM:SRE'
10207
export_dynamic_flag_spec='${wl}-bexpall'
10208
# It seems that -bexpall does not export symbols beginning with
10209
# underscore (_), so it is better to generate a list of symbols to export.
10210
always_export_symbols=yes
10211
if test "$aix_use_runtimelinking" = yes; then
10212
# Warning - without using the other runtime loading flags (-brtl),
10213
# -berok will link without error, but may produce a broken library.
10214
allow_undefined_flag='-berok'
10215
# Determine the default libpath from the value encoded in an
10216
# empty executable.
10217
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10218
/* end confdefs.h. */
10228
if ac_fn_c_try_link "$LINENO"; then :
10230
lt_aix_libpath_sed='
10231
/Import File Strings/,/^$/ {
10237
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10238
# Check for a 64-bit object if we didn't find anything.
10239
if test -z "$aix_libpath"; then
10240
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10243
rm -f core conftest.err conftest.$ac_objext \
10244
conftest$ac_exeext conftest.$ac_ext
10245
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10247
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10248
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"
10250
if test "$host_cpu" = ia64; then
10251
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10252
allow_undefined_flag="-z nodefs"
10253
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"
10255
# Determine the default libpath from the value encoded in an
10256
# empty executable.
10257
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10258
/* end confdefs.h. */
10268
if ac_fn_c_try_link "$LINENO"; then :
10270
lt_aix_libpath_sed='
10271
/Import File Strings/,/^$/ {
10277
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10278
# Check for a 64-bit object if we didn't find anything.
10279
if test -z "$aix_libpath"; then
10280
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10283
rm -f core conftest.err conftest.$ac_objext \
10284
conftest$ac_exeext conftest.$ac_ext
10285
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10287
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10288
# Warning - without using the other run time loading flags,
10289
# -berok will link without error, but may produce a broken library.
10290
no_undefined_flag=' ${wl}-bernotok'
10291
allow_undefined_flag=' ${wl}-berok'
10292
# Exported symbols can be pulled into shared objects from archives
10293
whole_archive_flag_spec='$convenience'
10294
archive_cmds_need_lc=yes
10295
# This is similar to how AIX traditionally builds its shared libraries.
10296
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'
10304
# see comment about AmigaOS4 .so support
10305
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10306
archive_expsym_cmds=''
10309
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)'
10310
hardcode_libdir_flag_spec='-L$libdir'
10311
hardcode_minus_L=yes
10317
export_dynamic_flag_spec=-rdynamic
10320
cygwin* | mingw* | pw32* | cegcc*)
10321
# When not using gcc, we currently assume that we are using
10322
# Microsoft Visual C++.
10323
# hardcode_libdir_flag_spec is actually meaningless, as there is
10324
# no search path for DLLs.
10325
hardcode_libdir_flag_spec=' '
10326
allow_undefined_flag=unsupported
10327
# Tell ltmain to make .lib files, not .a files.
10329
# Tell ltmain to make .dll files, not .so files.
10331
# FIXME: Setting linknames here is a bad hack.
10332
archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
10333
# The linker will automatically build a .lib file if we build a DLL.
10334
old_archive_from_new_cmds='true'
10335
# FIXME: Should let the user specify the lib program.
10336
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10337
fix_srcfile_path='`cygpath -w "$srcfile"`'
10338
enable_shared_with_static_runtimes=yes
10341
darwin* | rhapsody*)
10344
archive_cmds_need_lc=no
10346
hardcode_automatic=yes
10347
hardcode_shlibpath_var=unsupported
10348
whole_archive_flag_spec=''
10349
link_all_deplibs=yes
10350
allow_undefined_flag="$_lt_dar_allow_undefined"
10351
case $cc_basename in
10352
ifort*) _lt_dar_can_shared=yes ;;
10353
*) _lt_dar_can_shared=$GCC ;;
10355
if test "$_lt_dar_can_shared" = "yes"; then
10356
output_verbose_link_cmd=echo
10357
archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10358
module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10359
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}"
10360
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}"
10369
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10370
hardcode_libdir_flag_spec='-L$libdir'
10371
hardcode_shlibpath_var=no
10378
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10379
# support. Future versions do this automatically, but an explicit c++rt0.o
10380
# does not break anything, and helps significantly (at the cost of a little
10383
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10384
hardcode_libdir_flag_spec='-R$libdir'
10385
hardcode_direct=yes
10386
hardcode_shlibpath_var=no
10389
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
10391
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10392
hardcode_direct=yes
10393
hardcode_minus_L=yes
10394
hardcode_shlibpath_var=no
10397
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10398
freebsd* | dragonfly*)
10399
archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10400
hardcode_libdir_flag_spec='-R$libdir'
10401
hardcode_direct=yes
10402
hardcode_shlibpath_var=no
10406
if test "$GCC" = yes; then
10407
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'
10409
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'
10411
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10412
hardcode_libdir_separator=:
10413
hardcode_direct=yes
10415
# hardcode_minus_L: Not really in the search PATH,
10416
# but as the default location of the library.
10417
hardcode_minus_L=yes
10418
export_dynamic_flag_spec='${wl}-E'
10422
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10423
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10425
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10427
if test "$with_gnu_ld" = no; then
10428
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10429
hardcode_libdir_flag_spec_ld='+b $libdir'
10430
hardcode_libdir_separator=:
10431
hardcode_direct=yes
10432
hardcode_direct_absolute=yes
10433
export_dynamic_flag_spec='${wl}-E'
10434
# hardcode_minus_L: Not really in the search PATH,
10435
# but as the default location of the library.
10436
hardcode_minus_L=yes
10441
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10444
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10447
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10450
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10456
archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10459
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10462
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10466
if test "$with_gnu_ld" = no; then
10467
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10468
hardcode_libdir_separator=:
10473
hardcode_shlibpath_var=no
10476
hardcode_direct=yes
10477
hardcode_direct_absolute=yes
10478
export_dynamic_flag_spec='${wl}-E'
10480
# hardcode_minus_L: Not really in the search PATH,
10481
# but as the default location of the library.
10482
hardcode_minus_L=yes
10488
irix5* | irix6* | nonstopux*)
10489
if test "$GCC" = yes; then
10490
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'
10491
# Try to use the -exported_symbol ld option, if it does not
10492
# work, assume that -exports_file does not work either and
10493
# implicitly export all symbols.
10494
save_LDFLAGS="$LDFLAGS"
10495
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10496
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10497
/* end confdefs.h. */
10500
if ac_fn_c_try_link "$LINENO"; then :
10501
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'
10504
rm -f core conftest.err conftest.$ac_objext \
10505
conftest$ac_exeext conftest.$ac_ext
10506
LDFLAGS="$save_LDFLAGS"
10508
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'
10509
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'
10511
archive_cmds_need_lc='no'
10512
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10513
hardcode_libdir_separator=:
10515
link_all_deplibs=yes
10518
netbsd* | netbsdelf*-gnu)
10519
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10520
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10522
archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10524
hardcode_libdir_flag_spec='-R$libdir'
10525
hardcode_direct=yes
10526
hardcode_shlibpath_var=no
10530
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10531
hardcode_direct=yes
10532
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10533
hardcode_libdir_separator=:
10534
hardcode_shlibpath_var=no
10541
if test -f /usr/libexec/ld.so; then
10542
hardcode_direct=yes
10543
hardcode_shlibpath_var=no
10544
hardcode_direct_absolute=yes
10545
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10546
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10547
archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10548
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10549
export_dynamic_flag_spec='${wl}-E'
10552
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10553
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10554
hardcode_libdir_flag_spec='-R$libdir'
10557
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10558
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10568
hardcode_libdir_flag_spec='-L$libdir'
10569
hardcode_minus_L=yes
10570
allow_undefined_flag=unsupported
10571
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'
10572
old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10576
if test "$GCC" = yes; then
10577
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10578
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'
10580
allow_undefined_flag=' -expect_unresolved \*'
10581
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'
10583
archive_cmds_need_lc='no'
10584
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10585
hardcode_libdir_separator=:
10588
osf4* | osf5*) # as osf3* with the addition of -msym flag
10589
if test "$GCC" = yes; then
10590
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10591
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'
10592
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10594
allow_undefined_flag=' -expect_unresolved \*'
10595
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'
10596
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~
10597
$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'
10599
# Both c and cxx compiler support -rpath directly
10600
hardcode_libdir_flag_spec='-rpath $libdir'
10602
archive_cmds_need_lc='no'
10603
hardcode_libdir_separator=:
10607
no_undefined_flag=' -z defs'
10608
if test "$GCC" = yes; then
10610
archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10611
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10612
$CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10614
case `$CC -V 2>&1` in
10617
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10618
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10619
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10623
archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10624
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10625
$CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10629
hardcode_libdir_flag_spec='-R$libdir'
10630
hardcode_shlibpath_var=no
10632
solaris2.[0-5] | solaris2.[0-5].*) ;;
10634
# The compiler driver will combine and reorder linker options,
10635
# but understands `-z linker_flag'. GCC discards it without `$wl',
10636
# but is careful enough not to reorder.
10637
# Supported since Solaris 2.6 (maybe 2.5.1?)
10638
if test "$GCC" = yes; then
10639
whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10641
whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10645
link_all_deplibs=yes
10649
if test "x$host_vendor" = xsequent; then
10650
# Use $CC to link under sequent, because it throws in some extra .o
10651
# files that make .init and .fini sections work.
10652
archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10654
archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10656
hardcode_libdir_flag_spec='-L$libdir'
10657
hardcode_direct=yes
10658
hardcode_minus_L=yes
10659
hardcode_shlibpath_var=no
10663
case $host_vendor in
10665
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10666
hardcode_direct=yes # is this really true???
10669
## LD is ld it makes a PLAMLIB
10670
## CC just makes a GrossModule.
10671
archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10672
reload_cmds='$CC -r -o $output$reload_objs'
10676
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10677
hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10680
runpath_var='LD_RUN_PATH'
10681
hardcode_shlibpath_var=no
10685
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10686
hardcode_shlibpath_var=no
10687
export_dynamic_flag_spec='-Bexport'
10691
if test -d /usr/nec; then
10692
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10693
hardcode_shlibpath_var=no
10694
runpath_var=LD_RUN_PATH
10695
hardcode_runpath_var=yes
10700
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10701
no_undefined_flag='${wl}-z,text'
10702
archive_cmds_need_lc=no
10703
hardcode_shlibpath_var=no
10704
runpath_var='LD_RUN_PATH'
10706
if test "$GCC" = yes; then
10707
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10708
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10710
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10711
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10715
sysv5* | sco3.2v5* | sco5v6*)
10716
# Note: We can NOT use -z defs as we might desire, because we do not
10717
# link with -lc, and that would cause any symbols used from libc to
10718
# always be unresolved, which means just about no library would
10719
# ever link correctly. If we're not using GNU ld we use -z text
10720
# though, which does catch some bad symbols but isn't as heavy-handed
10722
no_undefined_flag='${wl}-z,text'
10723
allow_undefined_flag='${wl}-z,nodefs'
10724
archive_cmds_need_lc=no
10725
hardcode_shlibpath_var=no
10726
hardcode_libdir_flag_spec='${wl}-R,$libdir'
10727
hardcode_libdir_separator=':'
10728
link_all_deplibs=yes
10729
export_dynamic_flag_spec='${wl}-Bexport'
10730
runpath_var='LD_RUN_PATH'
10732
if test "$GCC" = yes; then
10733
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10734
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10736
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10737
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10742
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10743
hardcode_libdir_flag_spec='-L$libdir'
10744
hardcode_shlibpath_var=no
10752
if test x$host_vendor = xsni; then
10754
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10755
export_dynamic_flag_spec='${wl}-Blargedynsym'
10761
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10762
$as_echo "$ld_shlibs" >&6; }
10763
test "$ld_shlibs" = no && can_build_shared=no
10765
with_gnu_ld=$with_gnu_ld
10782
# Do we need to explicitly link libc?
10784
case "x$archive_cmds_need_lc" in
10786
# Assume -lc should be added
10787
archive_cmds_need_lc=yes
10789
if test "$enable_shared" = yes && test "$GCC" = yes; then
10790
case $archive_cmds in
10792
# FIXME: we may have to deal with multi-command sequences.
10795
# Test whether the compiler implicitly links with -lc since on some
10796
# systems, -lgcc has to come before -lc. If gcc already passes -lc
10797
# to ld, don't add -lc before -lgcc.
10798
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10799
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10801
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10803
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10804
(eval $ac_compile) 2>&5
10806
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10807
test $ac_status = 0; } 2>conftest.err; then
10810
libobjs=conftest.$ac_objext
10812
wl=$lt_prog_compiler_wl
10813
pic_flag=$lt_prog_compiler_pic
10819
lt_save_allow_undefined_flag=$allow_undefined_flag
10820
allow_undefined_flag=
10821
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10822
(eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10824
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10825
test $ac_status = 0; }
10827
archive_cmds_need_lc=no
10829
archive_cmds_need_lc=yes
10831
allow_undefined_flag=$lt_save_allow_undefined_flag
10833
cat conftest.err 1>&5
10836
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
10837
$as_echo "$archive_cmds_need_lc" >&6; }
11000
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11001
$as_echo_n "checking dynamic linker characteristics... " >&6; }
11003
if test "$GCC" = yes; then
11005
darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11006
*) lt_awk_arg="/^libraries:/" ;;
11008
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11009
if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
11010
# if the path contains ";" then we assume it to be the separator
11011
# otherwise default to the standard path separator (i.e. ":") - it is
11012
# assumed that no part of a normal pathname contains ";" but that should
11013
# okay in the real world where ";" in dirpaths is itself problematic.
11014
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
11016
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11018
# Ok, now we have the path, separated by spaces, we can step through it
11019
# and add multilib dir if necessary.
11020
lt_tmp_lt_search_path_spec=
11021
lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11022
for lt_sys_path in $lt_search_path_spec; do
11023
if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11024
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11026
test -d "$lt_sys_path" && \
11027
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11030
lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
11031
BEGIN {RS=" "; FS="/|\n";} {
11034
for (lt_i = NF; lt_i > 0; lt_i--) {
11035
if ($lt_i != "" && $lt_i != ".") {
11036
if ($lt_i == "..") {
11039
if (lt_count == 0) {
11040
lt_foo="/" $lt_i lt_foo;
11047
if (lt_foo != "") { lt_freq[lt_foo]++; }
11048
if (lt_freq[lt_foo] == 1) { print lt_foo; }
11050
sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
11052
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11054
library_names_spec=
11055
libname_spec='lib$name'
11059
postuninstall_cmds=
11063
shlibpath_overrides_runpath=unknown
11065
dynamic_linker="$host_os ld.so"
11066
sys_lib_dlsearch_path_spec="/lib /usr/lib"
11067
need_lib_prefix=unknown
11068
hardcode_into_libs=no
11070
# when you set need_version to no, make sure it does not cause -set_version
11071
# flags to be left without arguments
11072
need_version=unknown
11077
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11078
shlibpath_var=LIBPATH
11080
# AIX 3 has no versioning support, so we append a major version to the name.
11081
soname_spec='${libname}${release}${shared_ext}$major'
11088
hardcode_into_libs=yes
11089
if test "$host_cpu" = ia64; then
11090
# AIX 5 supports IA64
11091
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11092
shlibpath_var=LD_LIBRARY_PATH
11094
# With GCC up to 2.95.x, collect2 would create an import file
11095
# for dependence libraries. The import file would start with
11096
# the line `#! .'. This would cause the generated library to
11097
# depend on `.', always an invalid library. This was fixed in
11098
# development snapshots of GCC prior to 3.0.
11100
aix4 | aix4.[01] | aix4.[01].*)
11101
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11103
echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11106
can_build_shared=no
11110
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11111
# soname into executable. Probably we can add versioning support to
11112
# collect2, so additional links can be useful in future.
11113
if test "$aix_use_runtimelinking" = yes; then
11114
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
11115
# instead of lib<name>.a to let people know that these are not
11116
# typical AIX shared libraries.
11117
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11119
# We preserve .a as extension for shared libraries through AIX4.2
11120
# and later when we are not doing run time linking.
11121
library_names_spec='${libname}${release}.a $libname.a'
11122
soname_spec='${libname}${release}${shared_ext}$major'
11124
shlibpath_var=LIBPATH
11131
# Since July 2007 AmigaOS4 officially supports .so libraries.
11132
# When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11133
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11136
library_names_spec='$libname.ixlibrary $libname.a'
11137
# Create ${libname}_ixlibrary.a entries in /sys/libs.
11138
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'
11144
library_names_spec='${libname}${shared_ext}'
11145
dynamic_linker="$host_os ld.so"
11146
shlibpath_var=LIBRARY_PATH
11152
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11153
soname_spec='${libname}${release}${shared_ext}$major'
11154
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11155
shlibpath_var=LD_LIBRARY_PATH
11156
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11157
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11158
# the default ld.so.conf also contains /usr/contrib/lib and
11159
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11160
# libtool to hard-code these into programs
11163
cygwin* | mingw* | pw32* | cegcc*)
11164
version_type=windows
11169
case $GCC,$host_os in
11170
yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
11171
library_names_spec='$libname.dll.a'
11172
# DLL is installed to $(libdir)/../bin by postinstall_cmds
11173
postinstall_cmds='base_file=`basename \${file}`~
11174
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11175
dldir=$destdir/`dirname \$dlpath`~
11176
test -d \$dldir || mkdir -p \$dldir~
11177
$install_prog $dir/$dlname \$dldir/$dlname~
11178
chmod a+x \$dldir/$dlname~
11179
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11180
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11182
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11183
dlpath=$dir/\$dldll~
11185
shlibpath_overrides_runpath=yes
11189
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
11190
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11191
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
11194
# MinGW DLLs use traditional 'lib' prefix
11195
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11196
sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11197
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11198
# It is most probably a Windows format PATH printed by
11199
# mingw gcc, but we are running on Cygwin. Gcc prints its search
11200
# path with ; separators, and with drive letters. We can handle the
11201
# drive letters (cygwin fileutils understands them), so leave them,
11202
# especially as we might pass files found there to a mingw objdump,
11203
# which wouldn't understand a cygwinified path. Ahh.
11204
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11206
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11210
# pw32 DLLs use 'pw' prefix rather than 'lib'
11211
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11217
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11220
dynamic_linker='Win32 ld.exe'
11221
# FIXME: first we should search . and the directory the executable is in
11225
darwin* | rhapsody*)
11226
dynamic_linker="$host_os dyld"
11227
version_type=darwin
11230
library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11231
soname_spec='${libname}${release}${major}$shared_ext'
11232
shlibpath_overrides_runpath=yes
11233
shlibpath_var=DYLD_LIBRARY_PATH
11234
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11236
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11237
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11244
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11245
soname_spec='${libname}${release}${shared_ext}$major'
11246
shlibpath_var=LD_LIBRARY_PATH
11253
freebsd* | dragonfly*)
11254
# DragonFly does not have aout. When/if they implement a new
11255
# versioning mechanism, adjust this.
11256
if test -x /usr/bin/objformat; then
11257
objformat=`/usr/bin/objformat`
11260
freebsd[123]*) objformat=aout ;;
11261
*) objformat=elf ;;
11264
version_type=freebsd-$objformat
11265
case $version_type in
11267
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11272
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11276
shlibpath_var=LD_LIBRARY_PATH
11279
shlibpath_overrides_runpath=yes
11281
freebsd3.[01]* | freebsdelf3.[01]*)
11282
shlibpath_overrides_runpath=yes
11283
hardcode_into_libs=yes
11285
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11286
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11287
shlibpath_overrides_runpath=no
11288
hardcode_into_libs=yes
11290
*) # from 4.6 on, and DragonFly
11291
shlibpath_overrides_runpath=yes
11292
hardcode_into_libs=yes
11301
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11302
soname_spec='${libname}${release}${shared_ext}$major'
11303
shlibpath_var=LD_LIBRARY_PATH
11304
hardcode_into_libs=yes
11307
hpux9* | hpux10* | hpux11*)
11308
# Give a soname corresponding to the major version so that dld.sl refuses to
11309
# link against other versions.
11316
hardcode_into_libs=yes
11317
dynamic_linker="$host_os dld.so"
11318
shlibpath_var=LD_LIBRARY_PATH
11319
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11320
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11321
soname_spec='${libname}${release}${shared_ext}$major'
11322
if test "X$HPUX_IA64_MODE" = X32; then
11323
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11325
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11327
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11331
hardcode_into_libs=yes
11332
dynamic_linker="$host_os dld.sl"
11333
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11334
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11335
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11336
soname_spec='${libname}${release}${shared_ext}$major'
11337
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11338
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11342
dynamic_linker="$host_os dld.sl"
11343
shlibpath_var=SHLIB_PATH
11344
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11345
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11346
soname_spec='${libname}${release}${shared_ext}$major'
11349
# HP-UX runs *really* slowly unless shared libraries are mode 555.
11350
postinstall_cmds='chmod 555 $lib'
11357
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11358
soname_spec='${libname}${release}${shared_ext}$major'
11359
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11360
shlibpath_var=LD_LIBRARY_PATH
11361
shlibpath_overrides_runpath=no
11362
hardcode_into_libs=yes
11365
irix5* | irix6* | nonstopux*)
11367
nonstopux*) version_type=nonstopux ;;
11369
if test "$lt_cv_prog_gnu_ld" = yes; then
11377
soname_spec='${libname}${release}${shared_ext}$major'
11378
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11380
irix5* | nonstopux*)
11381
libsuff= shlibsuff=
11384
case $LD in # libtool.m4 will add one of these switches to LD
11385
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11386
libsuff= shlibsuff= libmagic=32-bit;;
11387
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11388
libsuff=32 shlibsuff=N32 libmagic=N32;;
11389
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11390
libsuff=64 shlibsuff=64 libmagic=64-bit;;
11391
*) libsuff= shlibsuff= libmagic=never-match;;
11395
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11396
shlibpath_overrides_runpath=no
11397
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11398
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11399
hardcode_into_libs=yes
11402
# No shared lib support for Linux oldld, aout, or coff.
11403
linux*oldld* | linux*aout* | linux*coff*)
11407
# This must be Linux ELF.
11408
linux* | k*bsd*-gnu | kopensolaris*-gnu)
11412
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11413
soname_spec='${libname}${release}${shared_ext}$major'
11414
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11415
shlibpath_var=LD_LIBRARY_PATH
11416
shlibpath_overrides_runpath=no
11417
# Some binutils ld are patched to set DT_RUNPATH
11418
save_LDFLAGS=$LDFLAGS
11419
save_libdir=$libdir
11420
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11421
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11422
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11423
/* end confdefs.h. */
11433
if ac_fn_c_try_link "$LINENO"; then :
11434
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11435
shlibpath_overrides_runpath=yes
11438
rm -f core conftest.err conftest.$ac_objext \
11439
conftest$ac_exeext conftest.$ac_ext
11440
LDFLAGS=$save_LDFLAGS
11441
libdir=$save_libdir
11443
# This implies no fast_install, which is unacceptable.
11444
# Some rework will be needed to allow for fast_install
11445
# before this can be enabled.
11446
hardcode_into_libs=yes
11448
# Append ld.so.conf contents to the search path
11449
if test -f /etc/ld.so.conf; then
11450
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' ' '`
11451
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11454
# We used to test for /lib/ld.so.1 and disable shared libraries on
11455
# powerpc, because MkLinux only supported shared libraries with the
11456
# GNU dynamic linker. Since this was broken with cross compilers,
11457
# most powerpc-linux boxes support dynamic linking these days and
11458
# people can always --disable-shared, the test was removed, and we
11459
# assume the GNU/Linux dynamic linker is in use.
11460
dynamic_linker='GNU/Linux ld.so'
11467
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11468
soname_spec='${libname}${release}${shared_ext}$major'
11469
shlibpath_var=LD_LIBRARY_PATH
11470
shlibpath_overrides_runpath=no
11471
hardcode_into_libs=yes
11472
dynamic_linker='NetBSD ld.elf_so'
11479
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11480
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11481
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11482
dynamic_linker='NetBSD (a.out) ld.so'
11484
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11485
soname_spec='${libname}${release}${shared_ext}$major'
11486
dynamic_linker='NetBSD ld.elf_so'
11488
shlibpath_var=LD_LIBRARY_PATH
11489
shlibpath_overrides_runpath=yes
11490
hardcode_into_libs=yes
11495
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11496
shlibpath_var=LD_LIBRARY_PATH
11497
shlibpath_overrides_runpath=yes
11504
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11505
soname_spec='${libname}${release}${shared_ext}$major'
11506
shlibpath_var=LD_LIBRARY_PATH
11507
shlibpath_overrides_runpath=no
11508
hardcode_into_libs=yes
11509
dynamic_linker='ldqnx.so'
11514
sys_lib_dlsearch_path_spec="/usr/lib"
11516
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11518
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11519
*) need_version=no ;;
11521
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11522
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11523
shlibpath_var=LD_LIBRARY_PATH
11524
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11526
openbsd2.[89] | openbsd2.[89].*)
11527
shlibpath_overrides_runpath=no
11530
shlibpath_overrides_runpath=yes
11534
shlibpath_overrides_runpath=yes
11539
libname_spec='$name'
11542
library_names_spec='$libname${shared_ext} $libname.a'
11543
dynamic_linker='OS/2 ld.exe'
11544
shlibpath_var=LIBPATH
11547
osf3* | osf4* | osf5*)
11551
soname_spec='${libname}${release}${shared_ext}$major'
11552
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11553
shlibpath_var=LD_LIBRARY_PATH
11554
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11555
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11566
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11567
soname_spec='${libname}${release}${shared_ext}$major'
11568
shlibpath_var=LD_LIBRARY_PATH
11569
shlibpath_overrides_runpath=yes
11570
hardcode_into_libs=yes
11571
# ldd complains unless libraries are executable
11572
postinstall_cmds='chmod +x $lib'
11577
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11578
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11579
shlibpath_var=LD_LIBRARY_PATH
11580
shlibpath_overrides_runpath=yes
11581
if test "$with_gnu_ld" = yes; then
11589
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11590
soname_spec='${libname}${release}${shared_ext}$major'
11591
shlibpath_var=LD_LIBRARY_PATH
11592
case $host_vendor in
11594
shlibpath_overrides_runpath=no
11596
runpath_var=LD_RUN_PATH
11604
shlibpath_overrides_runpath=no
11605
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11611
if test -d /usr/nec ;then
11613
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11614
soname_spec='$libname${shared_ext}.$major'
11615
shlibpath_var=LD_LIBRARY_PATH
11619
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11620
version_type=freebsd-elf
11623
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11624
soname_spec='${libname}${release}${shared_ext}$major'
11625
shlibpath_var=LD_LIBRARY_PATH
11626
shlibpath_overrides_runpath=yes
11627
hardcode_into_libs=yes
11628
if test "$with_gnu_ld" = yes; then
11629
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11631
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11634
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11638
sys_lib_dlsearch_path_spec='/usr/lib'
11642
# TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11646
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11647
shlibpath_var=LD_LIBRARY_PATH
11648
shlibpath_overrides_runpath=no
11649
hardcode_into_libs=yes
11654
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11655
soname_spec='${libname}${release}${shared_ext}$major'
11656
shlibpath_var=LD_LIBRARY_PATH
11663
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11664
$as_echo "$dynamic_linker" >&6; }
11665
test "$dynamic_linker" = no && can_build_shared=no
11667
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11668
if test "$GCC" = yes; then
11669
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11672
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11673
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11675
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11676
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11765
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11766
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11768
if test -n "$hardcode_libdir_flag_spec" ||
11769
test -n "$runpath_var" ||
11770
test "X$hardcode_automatic" = "Xyes" ; then
11772
# We can hardcode non-existent directories.
11773
if test "$hardcode_direct" != no &&
11774
# If the only mechanism to avoid hardcoding is shlibpath_var, we
11775
# have to relink, otherwise we might link with an installed library
11776
# when we should be linking with a yet-to-be-installed one
11777
## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11778
test "$hardcode_minus_L" != no; then
11779
# Linking always hardcodes the temporary library directory.
11780
hardcode_action=relink
11782
# We can link without hardcoding, and we can hardcode nonexisting dirs.
11783
hardcode_action=immediate
11786
# We cannot hardcode anything, or else we can only hardcode existing
11788
hardcode_action=unsupported
11790
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11791
$as_echo "$hardcode_action" >&6; }
11793
if test "$hardcode_action" = relink ||
11794
test "$inherit_rpath" = yes; then
11795
# Fast installation is not supported
11796
enable_fast_install=no
11797
elif test "$shlibpath_overrides_runpath" = yes ||
11798
test "$enable_shared" = no; then
11799
# Fast installation is not necessary
11800
enable_fast_install=needless
11808
if test "x$enable_dlopen" != xyes; then
11809
enable_dlopen=unknown
11810
enable_dlopen_self=unknown
11811
enable_dlopen_self_static=unknown
11818
lt_cv_dlopen="load_add_on"
11820
lt_cv_dlopen_self=yes
11823
mingw* | pw32* | cegcc*)
11824
lt_cv_dlopen="LoadLibrary"
11829
lt_cv_dlopen="dlopen"
11834
# if libdl is installed we need to link against it
11835
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11836
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11837
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11838
$as_echo_n "(cached) " >&6
11840
ac_check_lib_save_LIBS=$LIBS
11842
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11843
/* end confdefs.h. */
11845
/* Override any GCC internal prototype to avoid an error.
11846
Use char because int might match the return type of a GCC
11847
builtin and then its argument prototype would still apply. */
11860
if ac_fn_c_try_link "$LINENO"; then :
11861
ac_cv_lib_dl_dlopen=yes
11863
ac_cv_lib_dl_dlopen=no
11865
rm -f core conftest.err conftest.$ac_objext \
11866
conftest$ac_exeext conftest.$ac_ext
11867
LIBS=$ac_check_lib_save_LIBS
11869
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11870
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11871
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11872
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11875
lt_cv_dlopen="dyld"
11877
lt_cv_dlopen_self=yes
11884
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11885
if test "x$ac_cv_func_shl_load" = x""yes; then :
11886
lt_cv_dlopen="shl_load"
11888
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11889
$as_echo_n "checking for shl_load in -ldld... " >&6; }
11890
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11891
$as_echo_n "(cached) " >&6
11893
ac_check_lib_save_LIBS=$LIBS
11895
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11896
/* end confdefs.h. */
11898
/* Override any GCC internal prototype to avoid an error.
11899
Use char because int might match the return type of a GCC
11900
builtin and then its argument prototype would still apply. */
11908
return shl_load ();
11913
if ac_fn_c_try_link "$LINENO"; then :
11914
ac_cv_lib_dld_shl_load=yes
11916
ac_cv_lib_dld_shl_load=no
11918
rm -f core conftest.err conftest.$ac_objext \
11919
conftest$ac_exeext conftest.$ac_ext
11920
LIBS=$ac_check_lib_save_LIBS
11922
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11923
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11924
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11925
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11927
ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11928
if test "x$ac_cv_func_dlopen" = x""yes; then :
11929
lt_cv_dlopen="dlopen"
11931
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11932
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11933
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11934
$as_echo_n "(cached) " >&6
11936
ac_check_lib_save_LIBS=$LIBS
11938
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11939
/* end confdefs.h. */
11941
/* Override any GCC internal prototype to avoid an error.
11942
Use char because int might match the return type of a GCC
11943
builtin and then its argument prototype would still apply. */
11956
if ac_fn_c_try_link "$LINENO"; then :
11957
ac_cv_lib_dl_dlopen=yes
11959
ac_cv_lib_dl_dlopen=no
11961
rm -f core conftest.err conftest.$ac_objext \
11962
conftest$ac_exeext conftest.$ac_ext
11963
LIBS=$ac_check_lib_save_LIBS
11965
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11966
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11967
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11968
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11970
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11971
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11972
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11973
$as_echo_n "(cached) " >&6
11975
ac_check_lib_save_LIBS=$LIBS
11976
LIBS="-lsvld $LIBS"
11977
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11978
/* end confdefs.h. */
11980
/* Override any GCC internal prototype to avoid an error.
11981
Use char because int might match the return type of a GCC
11982
builtin and then its argument prototype would still apply. */
11995
if ac_fn_c_try_link "$LINENO"; then :
11996
ac_cv_lib_svld_dlopen=yes
11998
ac_cv_lib_svld_dlopen=no
12000
rm -f core conftest.err conftest.$ac_objext \
12001
conftest$ac_exeext conftest.$ac_ext
12002
LIBS=$ac_check_lib_save_LIBS
12004
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12005
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12006
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
12007
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12009
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12010
$as_echo_n "checking for dld_link in -ldld... " >&6; }
12011
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12012
$as_echo_n "(cached) " >&6
12014
ac_check_lib_save_LIBS=$LIBS
12016
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12017
/* end confdefs.h. */
12019
/* Override any GCC internal prototype to avoid an error.
12020
Use char because int might match the return type of a GCC
12021
builtin and then its argument prototype would still apply. */
12029
return dld_link ();
12034
if ac_fn_c_try_link "$LINENO"; then :
12035
ac_cv_lib_dld_dld_link=yes
12037
ac_cv_lib_dld_dld_link=no
12039
rm -f core conftest.err conftest.$ac_objext \
12040
conftest$ac_exeext conftest.$ac_ext
12041
LIBS=$ac_check_lib_save_LIBS
12043
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12044
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12045
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
12046
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12067
if test "x$lt_cv_dlopen" != xno; then
12073
case $lt_cv_dlopen in
12075
save_CPPFLAGS="$CPPFLAGS"
12076
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12078
save_LDFLAGS="$LDFLAGS"
12079
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12082
LIBS="$lt_cv_dlopen_libs $LIBS"
12084
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12085
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
12086
if test "${lt_cv_dlopen_self+set}" = set; then :
12087
$as_echo_n "(cached) " >&6
12089
if test "$cross_compiling" = yes; then :
12090
lt_cv_dlopen_self=cross
12092
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12093
lt_status=$lt_dlunknown
12094
cat > conftest.$ac_ext <<_LT_EOF
12095
#line 12095 "configure"
12096
#include "confdefs.h"
12105
# define LT_DLGLOBAL RTLD_GLOBAL
12108
# define LT_DLGLOBAL DL_GLOBAL
12110
# define LT_DLGLOBAL 0
12114
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12115
find out it does not work in some platform. */
12116
#ifndef LT_DLLAZY_OR_NOW
12118
# define LT_DLLAZY_OR_NOW RTLD_LAZY
12121
# define LT_DLLAZY_OR_NOW DL_LAZY
12124
# define LT_DLLAZY_OR_NOW RTLD_NOW
12127
# define LT_DLLAZY_OR_NOW DL_NOW
12129
# define LT_DLLAZY_OR_NOW 0
12136
void fnord() { int i=42;}
12139
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12140
int status = $lt_dlunknown;
12144
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12145
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12146
/* dlclose (self); */
12154
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12155
(eval $ac_link) 2>&5
12157
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12158
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12159
(./conftest; exit; ) >&5 2>/dev/null
12161
case x$lt_status in
12162
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12163
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12164
x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12167
# compilation failed
12168
lt_cv_dlopen_self=no
12175
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12176
$as_echo "$lt_cv_dlopen_self" >&6; }
12178
if test "x$lt_cv_dlopen_self" = xyes; then
12179
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12180
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12181
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12182
if test "${lt_cv_dlopen_self_static+set}" = set; then :
12183
$as_echo_n "(cached) " >&6
12185
if test "$cross_compiling" = yes; then :
12186
lt_cv_dlopen_self_static=cross
12188
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12189
lt_status=$lt_dlunknown
12190
cat > conftest.$ac_ext <<_LT_EOF
12191
#line 12191 "configure"
12192
#include "confdefs.h"
12201
# define LT_DLGLOBAL RTLD_GLOBAL
12204
# define LT_DLGLOBAL DL_GLOBAL
12206
# define LT_DLGLOBAL 0
12210
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12211
find out it does not work in some platform. */
12212
#ifndef LT_DLLAZY_OR_NOW
12214
# define LT_DLLAZY_OR_NOW RTLD_LAZY
12217
# define LT_DLLAZY_OR_NOW DL_LAZY
12220
# define LT_DLLAZY_OR_NOW RTLD_NOW
12223
# define LT_DLLAZY_OR_NOW DL_NOW
12225
# define LT_DLLAZY_OR_NOW 0
12232
void fnord() { int i=42;}
12235
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12236
int status = $lt_dlunknown;
12240
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12241
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12242
/* dlclose (self); */
12250
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12251
(eval $ac_link) 2>&5
12253
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12254
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12255
(./conftest; exit; ) >&5 2>/dev/null
12257
case x$lt_status in
12258
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12259
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12260
x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12263
# compilation failed
12264
lt_cv_dlopen_self_static=no
12271
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12272
$as_echo "$lt_cv_dlopen_self_static" >&6; }
12275
CPPFLAGS="$save_CPPFLAGS"
12276
LDFLAGS="$save_LDFLAGS"
12281
case $lt_cv_dlopen_self in
12282
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12283
*) enable_dlopen_self=unknown ;;
12286
case $lt_cv_dlopen_self_static in
12287
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12288
*) enable_dlopen_self_static=unknown ;;
12310
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12311
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
12312
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12313
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12314
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12315
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12316
$as_echo "yes" >&6; }
12318
# FIXME - insert some real tests, host_os isn't really good enough
12321
if test -n "$STRIP" ; then
12322
striplib="$STRIP -x"
12323
old_striplib="$STRIP -S"
12324
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12325
$as_echo "yes" >&6; }
12327
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12328
$as_echo "no" >&6; }
12332
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12333
$as_echo "no" >&6; }
12349
# Report which library types will actually be built
12350
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12351
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
12352
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12353
$as_echo "$can_build_shared" >&6; }
12355
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12356
$as_echo_n "checking whether to build shared libraries... " >&6; }
12357
test "$can_build_shared" = "no" && enable_shared=no
12359
# On AIX, shared libraries and static libraries use the same namespace, and
12360
# are all built from PIC.
12363
test "$enable_shared" = yes && enable_static=no
12364
if test -n "$RANLIB"; then
12365
archive_cmds="$archive_cmds~\$RANLIB \$lib"
12366
postinstall_cmds='$RANLIB $lib'
12371
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12372
test "$enable_shared" = yes && enable_static=no
12376
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12377
$as_echo "$enable_shared" >&6; }
12379
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12380
$as_echo_n "checking whether to build static libraries... " >&6; }
12381
# Make sure either enable_shared or enable_static is yes.
12382
test "$enable_shared" = yes || enable_static=yes
12383
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12384
$as_echo "$enable_static" >&6; }
12391
ac_cpp='$CPP $CPPFLAGS'
12392
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12393
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12394
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12410
ac_config_commands="$ac_config_commands libtool"
12415
# Only expand once:
12418
# Extract the first word of "glib-genmarshal", so it can be a program name with args.
12419
set dummy glib-genmarshal; ac_word=$2
12420
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12421
$as_echo_n "checking for $ac_word... " >&6; }
12422
if test "${ac_cv_path_GLIB_GENMARSHAL+set}" = set; then :
12423
$as_echo_n "(cached) " >&6
12425
case $GLIB_GENMARSHAL in
12427
ac_cv_path_GLIB_GENMARSHAL="$GLIB_GENMARSHAL" # Let the user override the test with a path.
12430
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12431
for as_dir in $PATH
12434
test -z "$as_dir" && as_dir=.
12435
for ac_exec_ext in '' $ac_executable_extensions; do
12436
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12437
ac_cv_path_GLIB_GENMARSHAL="$as_dir/$ac_word$ac_exec_ext"
12438
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12448
GLIB_GENMARSHAL=$ac_cv_path_GLIB_GENMARSHAL
12449
if test -n "$GLIB_GENMARSHAL"; then
12450
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_GENMARSHAL" >&5
12451
$as_echo "$GLIB_GENMARSHAL" >&6; }
12453
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12454
$as_echo "no" >&6; }
12459
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
12460
$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
12461
if test "${ac_cv_c_const+set}" = set; then :
12462
$as_echo_n "(cached) " >&6
12464
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12465
/* end confdefs.h. */
12470
/* FIXME: Include the comments suggested by Paul. */
12471
#ifndef __cplusplus
12472
/* Ultrix mips cc rejects this. */
12473
typedef int charset[2];
12475
/* SunOS 4.1.1 cc rejects this. */
12476
char const *const *pcpcc;
12478
/* NEC SVR4.0.2 mips cc rejects this. */
12479
struct point {int x, y;};
12480
static struct point const zero = {0,0};
12481
/* AIX XL C 1.02.0.0 rejects this.
12482
It does not let you subtract one const X* pointer from another in
12483
an arm of an if-expression whose if-part is not a constant
12485
const char *g = "string";
12486
pcpcc = &g + (g ? g-g : 0);
12487
/* HPUX 7.0 cc rejects these. */
12489
ppc = (char**) pcpcc;
12490
pcpcc = (char const *const *) ppc;
12491
{ /* SCO 3.2v4 cc rejects this. */
12493
char const *s = 0 ? (char *) 0 : (char const *) 0;
12498
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
12499
int x[] = {25, 17};
12500
const int *foo = &x[0];
12503
{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12504
typedef const int *iptr;
12508
{ /* AIX XL C 1.02.0.0 rejects this saying
12509
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12510
struct s { int j; const int *ap[3]; };
12511
struct s *b; b->j = 5;
12513
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12514
const int foo = 10;
12515
if (!foo) return 0;
12517
return !cs[0] && !zero.x;
12524
if ac_fn_c_try_compile "$LINENO"; then :
12529
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12531
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
12532
$as_echo "$ac_cv_c_const" >&6; }
12533
if test $ac_cv_c_const = no; then
12535
$as_echo "#define const /**/" >>confdefs.h
12539
ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
12540
if test "x$ac_cv_type_size_t" = x""yes; then :
12544
cat >>confdefs.h <<_ACEOF
12545
#define size_t unsigned int
12551
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
12552
$as_echo_n "checking for ANSI C header files... " >&6; }
12553
if test "${ac_cv_header_stdc+set}" = set; then :
12554
$as_echo_n "(cached) " >&6
12556
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12557
/* end confdefs.h. */
12558
#include <stdlib.h>
12559
#include <stdarg.h>
12560
#include <string.h>
12571
if ac_fn_c_try_compile "$LINENO"; then :
12572
ac_cv_header_stdc=yes
12574
ac_cv_header_stdc=no
12576
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12578
if test $ac_cv_header_stdc = yes; then
12579
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12580
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12581
/* end confdefs.h. */
12582
#include <string.h>
12585
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12586
$EGREP "memchr" >/dev/null 2>&1; then :
12589
ac_cv_header_stdc=no
12595
if test $ac_cv_header_stdc = yes; then
12596
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12597
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12598
/* end confdefs.h. */
12599
#include <stdlib.h>
12602
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12603
$EGREP "free" >/dev/null 2>&1; then :
12606
ac_cv_header_stdc=no
12612
if test $ac_cv_header_stdc = yes; then
12613
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12614
if test "$cross_compiling" = yes; then :
12617
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12618
/* end confdefs.h. */
12620
#include <stdlib.h>
12621
#if ((' ' & 0x0FF) == 0x020)
12622
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12623
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12625
# define ISLOWER(c) \
12626
(('a' <= (c) && (c) <= 'i') \
12627
|| ('j' <= (c) && (c) <= 'r') \
12628
|| ('s' <= (c) && (c) <= 'z'))
12629
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12632
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12637
for (i = 0; i < 256; i++)
12638
if (XOR (islower (i), ISLOWER (i))
12639
|| toupper (i) != TOUPPER (i))
12644
if ac_fn_c_try_run "$LINENO"; then :
12647
ac_cv_header_stdc=no
12649
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12650
conftest.$ac_objext conftest.beam conftest.$ac_ext
12655
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
12656
$as_echo "$ac_cv_header_stdc" >&6; }
12657
if test $ac_cv_header_stdc = yes; then
12659
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
12664
for ac_func in snprintf vsnprintf
12666
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12667
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12668
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12669
cat >>confdefs.h <<_ACEOF
12670
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12676
for ac_func in memrchr strtoull atoll
12678
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12679
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12680
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12681
cat >>confdefs.h <<_ACEOF
12682
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12692
ACLOCAL_AMFLAGS="\${ACLOCAL_FLAGS}"
12693
if test -n "$ac_macro_dir"; then
12694
ACLOCAL_AMFLAGS="-I $ac_macro_dir $ACLOCAL_AMFLAGS"
12702
DISABLE_DEPRECATED=""
12703
if test $USE_MAINTAINER_MODE = yes; then
12704
DOMAINS="G ATK PANGO GDK GDK_PIXBUF GTK GCONF BONOBO BONOBO_UI GNOME LIBGLADE VTE GNOME_VFS WNCK LIBSOUP"
12705
for DOMAIN in $DOMAINS; do
12706
DISABLE_DEPRECATED="$DISABLE_DEPRECATED -D${DOMAIN}_DISABLE_DEPRECATED -D${DOMAIN}_DISABLE_SINGLE_INCLUDES"
12713
# Check whether --enable-debug was given.
12714
if test "${enable_debug+set}" = set; then :
12715
enableval=$enable_debug;
12721
if test x$enable_debug = xyes ; then
12723
$as_echo "#define GNOME_ENABLE_DEBUG 1" >>confdefs.h
12729
# Check whether --enable-compile-warnings was given.
12730
if test "${enable_compile_warnings+set}" = set; then :
12731
enableval=$enable_compile_warnings;
12733
enable_compile_warnings="maximum"
12738
if test "x$GCC" != xyes; then
12739
enable_compile_warnings=no
12743
realsave_CFLAGS="$CFLAGS"
12745
case "$enable_compile_warnings" in
12750
warning_flags="-Wall"
12753
warning_flags="-Wall -Wmissing-prototypes"
12756
warning_flags="-Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith"
12757
CFLAGS="$warning_flags $CFLAGS"
12758
for option in -Wno-sign-compare; do
12759
SAVE_CFLAGS="$CFLAGS"
12760
CFLAGS="$CFLAGS $option"
12761
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands $option" >&5
12762
$as_echo_n "checking whether gcc understands $option... " >&6; }
12763
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12764
/* end confdefs.h. */
12774
if ac_fn_c_try_compile "$LINENO"; then :
12779
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12780
CFLAGS="$SAVE_CFLAGS"
12781
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_option" >&5
12782
$as_echo "$has_option" >&6; }
12783
if test $has_option = yes; then
12784
warning_flags="$warning_flags $option"
12790
if test "$enable_compile_warnings" = "error" ; then
12791
warning_flags="$warning_flags -Werror"
12795
as_fn_error $? "Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" "$LINENO" 5
12798
CFLAGS="$realsave_CFLAGS"
12799
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5
12800
$as_echo_n "checking what warning flags to pass to the C compiler... " >&6; }
12801
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $warning_flags" >&5
12802
$as_echo "$warning_flags" >&6; }
12804
# Check whether --enable-iso-c was given.
12805
if test "${enable_iso_c+set}" = set; then :
12806
enableval=$enable_iso_c;
12812
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking what language compliance flags to pass to the C compiler" >&5
12813
$as_echo_n "checking what language compliance flags to pass to the C compiler... " >&6; }
12815
if test "x$enable_iso_c" != "xno"; then
12816
if test "x$GCC" = "xyes"; then
12817
case " $CFLAGS " in
12818
*\ \ -ansi\ \ *) ;;
12819
*) complCFLAGS="$complCFLAGS -ansi" ;;
12821
case " $CFLAGS " in
12822
*\ \ -pedantic\ \ *) ;;
12823
*) complCFLAGS="$complCFLAGS -pedantic" ;;
12827
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $complCFLAGS" >&5
12828
$as_echo "$complCFLAGS" >&6; }
12830
WARN_CFLAGS="$warning_flags $complCFLAGS"
12840
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12841
if test -n "$ac_tool_prefix"; then
12842
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12843
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12844
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12845
$as_echo_n "checking for $ac_word... " >&6; }
12846
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
12847
$as_echo_n "(cached) " >&6
12849
case $PKG_CONFIG in
12851
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12854
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12855
for as_dir in $PATH
12858
test -z "$as_dir" && as_dir=.
12859
for ac_exec_ext in '' $ac_executable_extensions; do
12860
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12861
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12862
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12872
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12873
if test -n "$PKG_CONFIG"; then
12874
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12875
$as_echo "$PKG_CONFIG" >&6; }
12877
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12878
$as_echo "no" >&6; }
12883
if test -z "$ac_cv_path_PKG_CONFIG"; then
12884
ac_pt_PKG_CONFIG=$PKG_CONFIG
12885
# Extract the first word of "pkg-config", so it can be a program name with args.
12886
set dummy pkg-config; ac_word=$2
12887
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12888
$as_echo_n "checking for $ac_word... " >&6; }
12889
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
12890
$as_echo_n "(cached) " >&6
12892
case $ac_pt_PKG_CONFIG in
12894
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12897
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12898
for as_dir in $PATH
12901
test -z "$as_dir" && as_dir=.
12902
for ac_exec_ext in '' $ac_executable_extensions; do
12903
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12904
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12905
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12915
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12916
if test -n "$ac_pt_PKG_CONFIG"; then
12917
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12918
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
12920
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12921
$as_echo "no" >&6; }
12924
if test "x$ac_pt_PKG_CONFIG" = x; then
12927
case $cross_compiling:$ac_tool_warned in
12929
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12930
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12931
ac_tool_warned=yes ;;
12933
PKG_CONFIG=$ac_pt_PKG_CONFIG
12936
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12940
if test -n "$PKG_CONFIG"; then
12941
_pkg_min_version=0.9.0
12942
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12943
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12944
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12945
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12946
$as_echo "yes" >&6; }
12948
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12949
$as_echo "no" >&6; }
12954
# Set up gnome-doc-utils
12956
gdu_cv_version_required=0.3.2
12958
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking gnome-doc-utils >= $gdu_cv_version_required" >&5
12959
$as_echo_n "checking gnome-doc-utils >= $gdu_cv_version_required... " >&6; }
12960
if test -n "$PKG_CONFIG" && \
12961
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-doc-utils >= \$gdu_cv_version_required\""; } >&5
12962
($PKG_CONFIG --exists --print-errors "gnome-doc-utils >= $gdu_cv_version_required") 2>&5
12964
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12965
test $ac_status = 0; }; then
12966
gdu_cv_have_gdu=yes
12971
if test "$gdu_cv_have_gdu" = "yes"; then
12972
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12973
$as_echo "yes" >&6; }
12976
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12977
$as_echo "no" >&6; }
12978
as_fn_error $? "gnome-doc-utils >= $gdu_cv_version_required not found" "$LINENO" 5
12983
# Check whether --with-help-dir was given.
12984
if test "${with_help_dir+set}" = set; then :
12985
withval=$with_help_dir;
12987
with_help_dir='${datadir}/gnome/help'
12990
HELP_DIR="$with_help_dir"
12994
# Check whether --with-omf-dir was given.
12995
if test "${with_omf_dir+set}" = set; then :
12996
withval=$with_omf_dir;
12998
with_omf_dir='${datadir}/omf'
13001
OMF_DIR="$with_omf_dir"
13005
# Check whether --with-help-formats was given.
13006
if test "${with_help_formats+set}" = set; then :
13007
withval=$with_help_formats;
13009
with_help_formats=''
13012
DOC_USER_FORMATS="$with_help_formats"
13015
# Check whether --enable-scrollkeeper was given.
13016
if test "${enable_scrollkeeper+set}" = set; then :
13017
enableval=$enable_scrollkeeper;
13019
enable_scrollkeeper=yes
13022
if test "$gdu_cv_have_gdu" = "yes" -a "$enable_scrollkeeper" = "yes"; then
13024
ENABLE_SK_FALSE='#'
13031
DISTCHECK_CONFIGURE_FLAGS="--disable-scrollkeeper $DISTCHECK_CONFIGURE_FLAGS"
13034
if test "$gdu_cv_have_gdu" = "yes"; then
13035
HAVE_GNOME_DOC_UTILS_TRUE=
13036
HAVE_GNOME_DOC_UTILS_FALSE='#'
13038
HAVE_GNOME_DOC_UTILS_TRUE='#'
13039
HAVE_GNOME_DOC_UTILS_FALSE=
13045
# Hard dependencies
13048
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DEPENDENCIES" >&5
13049
$as_echo_n "checking for DEPENDENCIES... " >&6; }
13051
if test -n "$DEPENDENCIES_CFLAGS"; then
13052
pkg_cv_DEPENDENCIES_CFLAGS="$DEPENDENCIES_CFLAGS"
13053
elif test -n "$PKG_CONFIG"; then
13054
if test -n "$PKG_CONFIG" && \
13055
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
13056
glib-2.0 >= \$GLIB_REQUIRED \\
13057
gio-2.0 >= \$GLIB_REQUIRED \\
13058
gtk+-2.0 >= \$GTK_REQUIRED \\
13059
libglade-2.0 >= \$LIBGLADE_REQUIRED \\
13060
gconf-2.0 >= \$GCONF_REQUIRED \\
13061
libsexy >= \$LIBSEXY_REQUIRED \\
13063
($PKG_CONFIG --exists --print-errors "\
13064
glib-2.0 >= $GLIB_REQUIRED \
13065
gio-2.0 >= $GLIB_REQUIRED \
13066
gtk+-2.0 >= $GTK_REQUIRED \
13067
libglade-2.0 >= $LIBGLADE_REQUIRED \
13068
gconf-2.0 >= $GCONF_REQUIRED \
13069
libsexy >= $LIBSEXY_REQUIRED \
13072
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13073
test $ac_status = 0; }; then
13074
pkg_cv_DEPENDENCIES_CFLAGS=`$PKG_CONFIG --cflags "\
13075
glib-2.0 >= $GLIB_REQUIRED \
13076
gio-2.0 >= $GLIB_REQUIRED \
13077
gtk+-2.0 >= $GTK_REQUIRED \
13078
libglade-2.0 >= $LIBGLADE_REQUIRED \
13079
gconf-2.0 >= $GCONF_REQUIRED \
13080
libsexy >= $LIBSEXY_REQUIRED \
13088
if test -n "$DEPENDENCIES_LIBS"; then
13089
pkg_cv_DEPENDENCIES_LIBS="$DEPENDENCIES_LIBS"
13090
elif test -n "$PKG_CONFIG"; then
13091
if test -n "$PKG_CONFIG" && \
13092
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
13093
glib-2.0 >= \$GLIB_REQUIRED \\
13094
gio-2.0 >= \$GLIB_REQUIRED \\
13095
gtk+-2.0 >= \$GTK_REQUIRED \\
13096
libglade-2.0 >= \$LIBGLADE_REQUIRED \\
13097
gconf-2.0 >= \$GCONF_REQUIRED \\
13098
libsexy >= \$LIBSEXY_REQUIRED \\
13100
($PKG_CONFIG --exists --print-errors "\
13101
glib-2.0 >= $GLIB_REQUIRED \
13102
gio-2.0 >= $GLIB_REQUIRED \
13103
gtk+-2.0 >= $GTK_REQUIRED \
13104
libglade-2.0 >= $LIBGLADE_REQUIRED \
13105
gconf-2.0 >= $GCONF_REQUIRED \
13106
libsexy >= $LIBSEXY_REQUIRED \
13109
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13110
test $ac_status = 0; }; then
13111
pkg_cv_DEPENDENCIES_LIBS=`$PKG_CONFIG --libs "\
13112
glib-2.0 >= $GLIB_REQUIRED \
13113
gio-2.0 >= $GLIB_REQUIRED \
13114
gtk+-2.0 >= $GTK_REQUIRED \
13115
libglade-2.0 >= $LIBGLADE_REQUIRED \
13116
gconf-2.0 >= $GCONF_REQUIRED \
13117
libsexy >= $LIBSEXY_REQUIRED \
13128
if test $pkg_failed = yes; then
13129
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13130
$as_echo "no" >&6; }
13132
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13133
_pkg_short_errors_supported=yes
13135
_pkg_short_errors_supported=no
13137
if test $_pkg_short_errors_supported = yes; then
13138
DEPENDENCIES_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "\
13139
glib-2.0 >= $GLIB_REQUIRED \
13140
gio-2.0 >= $GLIB_REQUIRED \
13141
gtk+-2.0 >= $GTK_REQUIRED \
13142
libglade-2.0 >= $LIBGLADE_REQUIRED \
13143
gconf-2.0 >= $GCONF_REQUIRED \
13144
libsexy >= $LIBSEXY_REQUIRED \
13147
DEPENDENCIES_PKG_ERRORS=`$PKG_CONFIG --print-errors "\
13148
glib-2.0 >= $GLIB_REQUIRED \
13149
gio-2.0 >= $GLIB_REQUIRED \
13150
gtk+-2.0 >= $GTK_REQUIRED \
13151
libglade-2.0 >= $LIBGLADE_REQUIRED \
13152
gconf-2.0 >= $GCONF_REQUIRED \
13153
libsexy >= $LIBSEXY_REQUIRED \
13156
# Put the nasty error message in config.log where it belongs
13157
echo "$DEPENDENCIES_PKG_ERRORS" >&5
13159
as_fn_error $? "Package requirements (\
13160
glib-2.0 >= $GLIB_REQUIRED \
13161
gio-2.0 >= $GLIB_REQUIRED \
13162
gtk+-2.0 >= $GTK_REQUIRED \
13163
libglade-2.0 >= $LIBGLADE_REQUIRED \
13164
gconf-2.0 >= $GCONF_REQUIRED \
13165
libsexy >= $LIBSEXY_REQUIRED \
13168
$DEPENDENCIES_PKG_ERRORS
13170
Consider adjusting the PKG_CONFIG_PATH environment variable if you
13171
installed software in a non-standard prefix.
13173
Alternatively, you may set the environment variables DEPENDENCIES_CFLAGS
13174
and DEPENDENCIES_LIBS to avoid the need to call pkg-config.
13175
See the pkg-config man page for more details." "$LINENO" 5
13176
elif test $pkg_failed = untried; then
13177
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13178
$as_echo "no" >&6; }
13179
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13180
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13181
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13182
is in your PATH or set the PKG_CONFIG environment variable to the full
13183
path to pkg-config.
13185
Alternatively, you may set the environment variables DEPENDENCIES_CFLAGS
13186
and DEPENDENCIES_LIBS to avoid the need to call pkg-config.
13187
See the pkg-config man page for more details.
13189
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13190
See \`config.log' for more details" "$LINENO" 5 ; }
13192
DEPENDENCIES_CFLAGS=$pkg_cv_DEPENDENCIES_CFLAGS
13193
DEPENDENCIES_LIBS=$pkg_cv_DEPENDENCIES_LIBS
13194
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13195
$as_echo "yes" >&6; }
13199
#EggSMClient replacing GnomeClient in libgnome
13202
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EGG_SMCLIENT" >&5
13203
$as_echo_n "checking for EGG_SMCLIENT... " >&6; }
13205
if test -n "$EGG_SMCLIENT_CFLAGS"; then
13206
pkg_cv_EGG_SMCLIENT_CFLAGS="$EGG_SMCLIENT_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 \"\\
13210
gtk+-2.0 >= \$GTK_REQUIRED \\
13211
sm >= \$SM_REQUIRED \\
13213
($PKG_CONFIG --exists --print-errors "\
13214
gtk+-2.0 >= $GTK_REQUIRED \
13215
sm >= $SM_REQUIRED \
13218
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13219
test $ac_status = 0; }; then
13220
pkg_cv_EGG_SMCLIENT_CFLAGS=`$PKG_CONFIG --cflags "\
13221
gtk+-2.0 >= $GTK_REQUIRED \
13222
sm >= $SM_REQUIRED \
13230
if test -n "$EGG_SMCLIENT_LIBS"; then
13231
pkg_cv_EGG_SMCLIENT_LIBS="$EGG_SMCLIENT_LIBS"
13232
elif test -n "$PKG_CONFIG"; then
13233
if test -n "$PKG_CONFIG" && \
13234
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
13235
gtk+-2.0 >= \$GTK_REQUIRED \\
13236
sm >= \$SM_REQUIRED \\
13238
($PKG_CONFIG --exists --print-errors "\
13239
gtk+-2.0 >= $GTK_REQUIRED \
13240
sm >= $SM_REQUIRED \
13243
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13244
test $ac_status = 0; }; then
13245
pkg_cv_EGG_SMCLIENT_LIBS=`$PKG_CONFIG --libs "\
13246
gtk+-2.0 >= $GTK_REQUIRED \
13247
sm >= $SM_REQUIRED \
13258
if test $pkg_failed = yes; then
13259
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13260
$as_echo "no" >&6; }
13262
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13263
_pkg_short_errors_supported=yes
13265
_pkg_short_errors_supported=no
13267
if test $_pkg_short_errors_supported = yes; then
13268
EGG_SMCLIENT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "\
13269
gtk+-2.0 >= $GTK_REQUIRED \
13270
sm >= $SM_REQUIRED \
13273
EGG_SMCLIENT_PKG_ERRORS=`$PKG_CONFIG --print-errors "\
13274
gtk+-2.0 >= $GTK_REQUIRED \
13275
sm >= $SM_REQUIRED \
13278
# Put the nasty error message in config.log where it belongs
13279
echo "$EGG_SMCLIENT_PKG_ERRORS" >&5
13281
as_fn_error $? "Package requirements (\
13282
gtk+-2.0 >= $GTK_REQUIRED \
13283
sm >= $SM_REQUIRED \
13286
$EGG_SMCLIENT_PKG_ERRORS
13288
Consider adjusting the PKG_CONFIG_PATH environment variable if you
13289
installed software in a non-standard prefix.
13291
Alternatively, you may set the environment variables EGG_SMCLIENT_CFLAGS
13292
and EGG_SMCLIENT_LIBS to avoid the need to call pkg-config.
13293
See the pkg-config man page for more details." "$LINENO" 5
13294
elif test $pkg_failed = untried; then
13295
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13296
$as_echo "no" >&6; }
13297
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13298
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13299
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13300
is in your PATH or set the PKG_CONFIG environment variable to the full
13301
path to pkg-config.
13303
Alternatively, you may set the environment variables EGG_SMCLIENT_CFLAGS
13304
and EGG_SMCLIENT_LIBS to avoid the need to call pkg-config.
13305
See the pkg-config man page for more details.
13307
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13308
See \`config.log' for more details" "$LINENO" 5 ; }
13310
EGG_SMCLIENT_CFLAGS=$pkg_cv_EGG_SMCLIENT_CFLAGS
13311
EGG_SMCLIENT_LIBS=$pkg_cv_EGG_SMCLIENT_LIBS
13312
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13313
$as_echo "yes" >&6; }
13320
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether D-Bus support is requested" >&5
13321
$as_echo_n "checking whether D-Bus support is requested... " >&6; }
13322
# Check whether --enable-dbus was given.
13323
if test "${enable_dbus+set}" = set; then :
13324
enableval=$enable_dbus; enable_dbus=$enableval dbus=$enableval
13326
enable_dbus=autodetect dbus=yes
13329
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dbus" >&5
13330
$as_echo "$enable_dbus" >&6; }
13332
if test "x$enable_dbus" != "xno"; then
13333
# D-BUS soft dependency
13336
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5
13337
$as_echo_n "checking for DBUS... " >&6; }
13339
if test -n "$DBUS_CFLAGS"; then
13340
pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
13341
elif test -n "$PKG_CONFIG"; then
13342
if test -n "$PKG_CONFIG" && \
13343
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
13344
dbus-1 >= \$DBUS_REQUIRED \\
13345
dbus-glib-1 >= \$DBUS_GLIB_REQUIRED \\
13348
($PKG_CONFIG --exists --print-errors "\
13349
dbus-1 >= $DBUS_REQUIRED \
13350
dbus-glib-1 >= $DBUS_GLIB_REQUIRED \
13354
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13355
test $ac_status = 0; }; then
13356
pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "\
13357
dbus-1 >= $DBUS_REQUIRED \
13358
dbus-glib-1 >= $DBUS_GLIB_REQUIRED \
13367
if test -n "$DBUS_LIBS"; then
13368
pkg_cv_DBUS_LIBS="$DBUS_LIBS"
13369
elif test -n "$PKG_CONFIG"; then
13370
if test -n "$PKG_CONFIG" && \
13371
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
13372
dbus-1 >= \$DBUS_REQUIRED \\
13373
dbus-glib-1 >= \$DBUS_GLIB_REQUIRED \\
13376
($PKG_CONFIG --exists --print-errors "\
13377
dbus-1 >= $DBUS_REQUIRED \
13378
dbus-glib-1 >= $DBUS_GLIB_REQUIRED \
13382
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13383
test $ac_status = 0; }; then
13384
pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "\
13385
dbus-1 >= $DBUS_REQUIRED \
13386
dbus-glib-1 >= $DBUS_GLIB_REQUIRED \
13398
if test $pkg_failed = yes; then
13399
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13400
$as_echo "no" >&6; }
13402
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13403
_pkg_short_errors_supported=yes
13405
_pkg_short_errors_supported=no
13407
if test $_pkg_short_errors_supported = yes; then
13408
DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "\
13409
dbus-1 >= $DBUS_REQUIRED \
13410
dbus-glib-1 >= $DBUS_GLIB_REQUIRED \
13414
DBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors "\
13415
dbus-1 >= $DBUS_REQUIRED \
13416
dbus-glib-1 >= $DBUS_GLIB_REQUIRED \
13420
# Put the nasty error message in config.log where it belongs
13421
echo "$DBUS_PKG_ERRORS" >&5
13424
elif test $pkg_failed = untried; then
13425
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13426
$as_echo "no" >&6; }
13429
DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
13430
DBUS_LIBS=$pkg_cv_DBUS_LIBS
13431
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13432
$as_echo "yes" >&6; }
13435
if test "x$dbus" = "xno"; then
13436
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library requirements (dbus-1 >= $DBUS_REQUIRED dbus-glib-1 >= $DBUS_GLIB_REQUIRED gthread-2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
13437
$as_echo "$as_me: WARNING: Library requirements (dbus-1 >= $DBUS_REQUIRED dbus-glib-1 >= $DBUS_GLIB_REQUIRED gthread-2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
13441
# Extract the first word of "dbus-binding-tool", so it can be a program name with args.
13442
set dummy dbus-binding-tool; ac_word=$2
13443
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13444
$as_echo_n "checking for $ac_word... " >&6; }
13445
if test "${ac_cv_path_DBUS_BINDING_TOOL+set}" = set; then :
13446
$as_echo_n "(cached) " >&6
13448
case $DBUS_BINDING_TOOL in
13450
ac_cv_path_DBUS_BINDING_TOOL="$DBUS_BINDING_TOOL" # Let the user override the test with a path.
13453
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13454
for as_dir in $PATH
13457
test -z "$as_dir" && as_dir=.
13458
for ac_exec_ext in '' $ac_executable_extensions; do
13459
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13460
ac_cv_path_DBUS_BINDING_TOOL="$as_dir/$ac_word$ac_exec_ext"
13461
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13468
test -z "$ac_cv_path_DBUS_BINDING_TOOL" && ac_cv_path_DBUS_BINDING_TOOL="no"
13472
DBUS_BINDING_TOOL=$ac_cv_path_DBUS_BINDING_TOOL
13473
if test -n "$DBUS_BINDING_TOOL"; then
13474
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBUS_BINDING_TOOL" >&5
13475
$as_echo "$DBUS_BINDING_TOOL" >&6; }
13477
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13478
$as_echo "no" >&6; }
13482
if test "x$DBUS_BINDING_TOOL" = "xno"; then
13487
if test "x$dbus" != "xyes"; then
13488
if test "x$enable_dbus" = "xyes"; then
13489
as_fn_error $? "D-Bus not found" "$LINENO" 5
13490
elif test "x$enable_dbus" = "xautodetect"; then
13491
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: D-Bus not found, disabling dbus support" >&5
13492
$as_echo "$as_me: WARNING: D-Bus not found, disabling dbus support" >&2;}
13496
$as_echo "#define USE_DBUS 1" >>confdefs.h
13502
prefix_save=$prefix
13503
exec_prefix_save=$exec_prefix
13505
if test "x$prefix" = "xNONE"; then
13506
prefix=$ac_default_prefix
13508
if test "x$exec_prefix" = "xNONE"; then
13509
exec_prefix=$prefix
13512
full_var="$FROM_VAR"
13514
new_full_var="`eval echo $full_var`"
13515
if test "x$new_full_var"="x$full_var"; then break; fi
13516
full_var=$new_full_var
13519
full_var=$new_full_var
13520
DATADIR="$full_var"
13523
prefix=$prefix_save
13524
exec_prefix=$exec_prefix_save
13527
DBUS_SERVICES_DIR="$DATADIR/dbus-1/services"
13530
cat >>confdefs.h <<_ACEOF
13531
#define DBUS_SERVICES_DIR "$DBUS_SERVICES_DIR"
13536
if test "x$dbus" = "xyes"; then
13538
ENABLE_DBUS_FALSE='#'
13540
ENABLE_DBUS_TRUE='#'
13546
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to notification sounds using libnotify" >&5
13547
$as_echo_n "checking whether to notification sounds using libnotify... " >&6; }
13548
# Check whether --enable-notification was given.
13549
if test "${enable_notification+set}" = set; then :
13550
enableval=$enable_notification;
13552
enable_notification=yes
13555
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_notification" >&5
13556
$as_echo "$enable_notification" >&6; }
13558
if test "$enable_notification" = "yes"; then
13561
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
13562
$as_echo_n "checking for LIBNOTIFY... " >&6; }
13564
if test -n "$LIBNOTIFY_CFLAGS"; then
13565
pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS"
13566
elif test -n "$PKG_CONFIG"; then
13567
if test -n "$PKG_CONFIG" && \
13568
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= \$LIBNOTIFY_REQUIRED\""; } >&5
13569
($PKG_CONFIG --exists --print-errors "libnotify >= $LIBNOTIFY_REQUIRED") 2>&5
13571
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13572
test $ac_status = 0; }; then
13573
pkg_cv_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify >= $LIBNOTIFY_REQUIRED" 2>/dev/null`
13580
if test -n "$LIBNOTIFY_LIBS"; then
13581
pkg_cv_LIBNOTIFY_LIBS="$LIBNOTIFY_LIBS"
13582
elif test -n "$PKG_CONFIG"; then
13583
if test -n "$PKG_CONFIG" && \
13584
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= \$LIBNOTIFY_REQUIRED\""; } >&5
13585
($PKG_CONFIG --exists --print-errors "libnotify >= $LIBNOTIFY_REQUIRED") 2>&5
13587
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13588
test $ac_status = 0; }; then
13589
pkg_cv_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify >= $LIBNOTIFY_REQUIRED" 2>/dev/null`
13599
if test $pkg_failed = yes; then
13600
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13601
$as_echo "no" >&6; }
13603
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13604
_pkg_short_errors_supported=yes
13606
_pkg_short_errors_supported=no
13608
if test $_pkg_short_errors_supported = yes; then
13609
LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libnotify >= $LIBNOTIFY_REQUIRED" 2>&1`
13611
LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --print-errors "libnotify >= $LIBNOTIFY_REQUIRED" 2>&1`
13613
# Put the nasty error message in config.log where it belongs
13614
echo "$LIBNOTIFY_PKG_ERRORS" >&5
13616
as_fn_error $? "Package requirements (libnotify >= $LIBNOTIFY_REQUIRED) were not met:
13618
$LIBNOTIFY_PKG_ERRORS
13620
Consider adjusting the PKG_CONFIG_PATH environment variable if you
13621
installed software in a non-standard prefix.
13623
Alternatively, you may set the environment variables LIBNOTIFY_CFLAGS
13624
and LIBNOTIFY_LIBS to avoid the need to call pkg-config.
13625
See the pkg-config man page for more details." "$LINENO" 5
13626
elif test $pkg_failed = untried; then
13627
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13628
$as_echo "no" >&6; }
13629
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13630
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13631
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13632
is in your PATH or set the PKG_CONFIG environment variable to the full
13633
path to pkg-config.
13635
Alternatively, you may set the environment variables LIBNOTIFY_CFLAGS
13636
and LIBNOTIFY_LIBS to avoid the need to call pkg-config.
13637
See the pkg-config man page for more details.
13639
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13640
See \`config.log' for more details" "$LINENO" 5 ; }
13642
LIBNOTIFY_CFLAGS=$pkg_cv_LIBNOTIFY_CFLAGS
13643
LIBNOTIFY_LIBS=$pkg_cv_LIBNOTIFY_LIBS
13644
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13645
$as_echo "yes" >&6; }
13652
if test "x$enable_notification" = "xyes"; then
13653
ENABLE_LIBNOTIFY_TRUE=
13654
ENABLE_LIBNOTIFY_FALSE='#'
13656
ENABLE_LIBNOTIFY_TRUE='#'
13657
ENABLE_LIBNOTIFY_FALSE=
13662
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable notification sounds using libcanberra" >&5
13663
$as_echo_n "checking whether to enable notification sounds using libcanberra... " >&6; }
13664
# Check whether --enable-canberra was given.
13665
if test "${enable_canberra+set}" = set; then :
13666
enableval=$enable_canberra;
13668
enable_canberra=yes
13671
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_canberra" >&5
13672
$as_echo "$enable_canberra" >&6; }
13674
if test "$enable_canberra" = "yes"; then
13677
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBCANBERRAGTK" >&5
13678
$as_echo_n "checking for LIBCANBERRAGTK... " >&6; }
13680
if test -n "$LIBCANBERRAGTK_CFLAGS"; then
13681
pkg_cv_LIBCANBERRAGTK_CFLAGS="$LIBCANBERRAGTK_CFLAGS"
13682
elif test -n "$PKG_CONFIG"; then
13683
if test -n "$PKG_CONFIG" && \
13684
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcanberra-gtk >= \$LIBCANBERRAGTK_REQUIRED\""; } >&5
13685
($PKG_CONFIG --exists --print-errors "libcanberra-gtk >= $LIBCANBERRAGTK_REQUIRED") 2>&5
13687
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13688
test $ac_status = 0; }; then
13689
pkg_cv_LIBCANBERRAGTK_CFLAGS=`$PKG_CONFIG --cflags "libcanberra-gtk >= $LIBCANBERRAGTK_REQUIRED" 2>/dev/null`
13696
if test -n "$LIBCANBERRAGTK_LIBS"; then
13697
pkg_cv_LIBCANBERRAGTK_LIBS="$LIBCANBERRAGTK_LIBS"
13698
elif test -n "$PKG_CONFIG"; then
13699
if test -n "$PKG_CONFIG" && \
13700
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcanberra-gtk >= \$LIBCANBERRAGTK_REQUIRED\""; } >&5
13701
($PKG_CONFIG --exists --print-errors "libcanberra-gtk >= $LIBCANBERRAGTK_REQUIRED") 2>&5
13703
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13704
test $ac_status = 0; }; then
13705
pkg_cv_LIBCANBERRAGTK_LIBS=`$PKG_CONFIG --libs "libcanberra-gtk >= $LIBCANBERRAGTK_REQUIRED" 2>/dev/null`
13715
if test $pkg_failed = yes; then
13716
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13717
$as_echo "no" >&6; }
13719
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13720
_pkg_short_errors_supported=yes
13722
_pkg_short_errors_supported=no
13724
if test $_pkg_short_errors_supported = yes; then
13725
LIBCANBERRAGTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libcanberra-gtk >= $LIBCANBERRAGTK_REQUIRED" 2>&1`
13727
LIBCANBERRAGTK_PKG_ERRORS=`$PKG_CONFIG --print-errors "libcanberra-gtk >= $LIBCANBERRAGTK_REQUIRED" 2>&1`
13729
# Put the nasty error message in config.log where it belongs
13730
echo "$LIBCANBERRAGTK_PKG_ERRORS" >&5
13732
as_fn_error $? "Package requirements (libcanberra-gtk >= $LIBCANBERRAGTK_REQUIRED) were not met:
13734
$LIBCANBERRAGTK_PKG_ERRORS
13736
Consider adjusting the PKG_CONFIG_PATH environment variable if you
13737
installed software in a non-standard prefix.
13739
Alternatively, you may set the environment variables LIBCANBERRAGTK_CFLAGS
13740
and LIBCANBERRAGTK_LIBS to avoid the need to call pkg-config.
13741
See the pkg-config man page for more details." "$LINENO" 5
13742
elif test $pkg_failed = untried; then
13743
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13744
$as_echo "no" >&6; }
13745
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13746
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13747
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13748
is in your PATH or set the PKG_CONFIG environment variable to the full
13749
path to pkg-config.
13751
Alternatively, you may set the environment variables LIBCANBERRAGTK_CFLAGS
13752
and LIBCANBERRAGTK_LIBS to avoid the need to call pkg-config.
13753
See the pkg-config man page for more details.
13755
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13756
See \`config.log' for more details" "$LINENO" 5 ; }
13758
LIBCANBERRAGTK_CFLAGS=$pkg_cv_LIBCANBERRAGTK_CFLAGS
13759
LIBCANBERRAGTK_LIBS=$pkg_cv_LIBCANBERRAGTK_LIBS
13760
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13761
$as_echo "yes" >&6; }
13768
if test "x$enable_canberra" = "xyes"; then
13769
ENABLE_LIBCANBERRA_TRUE=
13770
ENABLE_LIBCANBERRA_FALSE='#'
13772
ENABLE_LIBCANBERRA_TRUE='#'
13773
ENABLE_LIBCANBERRA_FALSE=
13779
if test "x$GCONF_SCHEMA_INSTALL_SOURCE" = "x"; then
13780
GCONF_SCHEMA_CONFIG_SOURCE=`gconftool-2 --get-default-source`
13782
GCONF_SCHEMA_CONFIG_SOURCE=$GCONF_SCHEMA_INSTALL_SOURCE
13786
# Check whether --with-gconf-source was given.
13787
if test "${with_gconf_source+set}" = set; then :
13788
withval=$with_gconf_source; GCONF_SCHEMA_CONFIG_SOURCE="$withval"
13793
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&5
13794
$as_echo "Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&6; }
13796
if test "x$GCONF_SCHEMA_FILE_DIR" = "x"; then
13797
GCONF_SCHEMA_FILE_DIR='$(sysconfdir)/gconf/schemas'
13801
# Check whether --with-gconf-schema-file-dir was given.
13802
if test "${with_gconf_schema_file_dir+set}" = set; then :
13803
withval=$with_gconf_schema_file_dir; GCONF_SCHEMA_FILE_DIR="$withval"
13808
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&5
13809
$as_echo "Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&6; }
13811
# Check whether --enable-schemas-install was given.
13812
if test "${enable_schemas_install+set}" = set; then :
13813
enableval=$enable_schemas_install; case ${enableval} in
13815
*) as_fn_error $? "bad value ${enableval} for --enable-schemas-install" "$LINENO" 5 ;;
13819
if test "$enable_schemas_install" != no; then
13820
GCONF_SCHEMAS_INSTALL_TRUE=
13821
GCONF_SCHEMAS_INSTALL_FALSE='#'
13823
GCONF_SCHEMAS_INSTALL_TRUE='#'
13824
GCONF_SCHEMAS_INSTALL_FALSE=
13828
# Extract the first word of "gconftool-2", so it can be a program name with args.
13829
set dummy gconftool-2; ac_word=$2
13830
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13831
$as_echo_n "checking for $ac_word... " >&6; }
13832
if test "${ac_cv_path_GCONFTOOL+set}" = set; then :
13833
$as_echo_n "(cached) " >&6
13837
ac_cv_path_GCONFTOOL="$GCONFTOOL" # Let the user override the test with a path.
13840
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13841
for as_dir in $PATH
13844
test -z "$as_dir" && as_dir=.
13845
for ac_exec_ext in '' $ac_executable_extensions; do
13846
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13847
ac_cv_path_GCONFTOOL="$as_dir/$ac_word$ac_exec_ext"
13848
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13855
test -z "$ac_cv_path_GCONFTOOL" && ac_cv_path_GCONFTOOL="no"
13859
GCONFTOOL=$ac_cv_path_GCONFTOOL
13860
if test -n "$GCONFTOOL"; then
13861
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCONFTOOL" >&5
13862
$as_echo "$GCONFTOOL" >&6; }
13864
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13865
$as_echo "no" >&6; }
13871
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOCKSconnect in -lsocks5" >&5
13872
$as_echo_n "checking for SOCKSconnect in -lsocks5... " >&6; }
13873
if test "${ac_cv_lib_socks5_SOCKSconnect+set}" = set; then :
13874
$as_echo_n "(cached) " >&6
13876
ac_check_lib_save_LIBS=$LIBS
13877
LIBS="-lsocks5 $LIBS"
13878
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13879
/* end confdefs.h. */
13881
/* Override any GCC internal prototype to avoid an error.
13882
Use char because int might match the return type of a GCC
13883
builtin and then its argument prototype would still apply. */
13887
char SOCKSconnect ();
13891
return SOCKSconnect ();
13896
if ac_fn_c_try_link "$LINENO"; then :
13897
ac_cv_lib_socks5_SOCKSconnect=yes
13899
ac_cv_lib_socks5_SOCKSconnect=no
13901
rm -f core conftest.err conftest.$ac_objext \
13902
conftest$ac_exeext conftest.$ac_ext
13903
LIBS=$ac_check_lib_save_LIBS
13905
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socks5_SOCKSconnect" >&5
13906
$as_echo "$ac_cv_lib_socks5_SOCKSconnect" >&6; }
13907
if test "x$ac_cv_lib_socks5_SOCKSconnect" = x""yes; then :
13913
for ac_header in socks.h
13915
ac_fn_c_check_header_mongrel "$LINENO" "socks.h" "ac_cv_header_socks_h" "$ac_includes_default"
13916
if test "x$ac_cv_header_socks_h" = x""yes; then :
13917
cat >>confdefs.h <<_ACEOF
13918
#define HAVE_SOCKS_H 1
13927
if test "x$have_socks" = xyes; then
13929
$as_echo "#define SOCKS /**/" >>confdefs.h
13931
DEPENDENCIES_LIBS="$DEPENDENCIES_LIBS -lsocks5"
13935
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Perl support is requested" >&5
13936
$as_echo_n "checking whether Perl support is requested... " >&6; }
13937
# Check whether --enable-perl was given.
13938
if test "${enable_perl+set}" = set; then :
13939
enableval=$enable_perl; enable_perl=$enableval have_perl=$enableval
13941
enable_perl=autodetect have_perl=yes
13944
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_perl" >&5
13945
$as_echo "$enable_perl" >&6; }
13947
if test "x$have_perl" != "xno"; then
13948
# Extract the first word of "perl perl5", so it can be a program name with args.
13949
set dummy perl perl5; ac_word=$2
13950
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13951
$as_echo_n "checking for $ac_word... " >&6; }
13952
if test "${ac_cv_path_PERL+set}" = set; then :
13953
$as_echo_n "(cached) " >&6
13957
ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
13960
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13961
for as_dir in $PATH
13964
test -z "$as_dir" && as_dir=.
13965
for ac_exec_ext in '' $ac_executable_extensions; do
13966
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13967
ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
13968
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13978
PERL=$ac_cv_path_PERL
13979
if test -n "$PERL"; then
13980
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
13981
$as_echo "$PERL" >&6; }
13983
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13984
$as_echo "no" >&6; }
13988
if test -z $PERL ; then
13989
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Perl interpreter not found, disabling perl support" >&5
13990
$as_echo "$as_me: WARNING: Perl interpreter not found, disabling perl support" >&2;}
13995
if test "x$have_perl" != "xno"; then
13996
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Perl header files" >&5
13997
$as_echo_n "checking for Perl header files... " >&6; }
13998
PERL_HEADER_TEST=`PT=perltest.c ; echo "#include <EXTERN.h>" > $PT; echo "#include <perl.h>" >> $PT; echo "#include <XSUB.h>" >> $PT ; echo "int main() { return 0; }" >> $PT ; $CC -Wall $PT -o $PT.out $($PERL -MExtUtils::Embed -e ccopts) 1>/dev/null 2>&1; echo $?; rm -f $PT $PT.out 1>/dev/null 2>&1`
14000
if test "x$PERL_HEADER_TEST" = "x0" ; then
14001
PERL_CFLAGS=`$PERL -MExtUtils::Embed -e ccopts`
14002
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
14003
$as_echo "found" >&6; }
14005
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Perl headers not found, disabling perl support" >&5
14006
$as_echo "$as_me: WARNING: Perl headers not found, disabling perl support" >&2;}
14011
if test "x$have_perl" != "xno"; then
14012
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Perl library" >&5
14013
$as_echo_n "checking for Perl library... " >&6; }
14014
PERL_LIB_TEST=`PT=perltest.c ; echo "int main() { return 0; }" > $PT ; $CC -Wall $PT -o $PT.out $($PERL -MExtUtils::Embed -e ldopts) 1>/dev/null 2>&1; echo $?; rm -f $PT $PT.out 1>/dev/null 2>&1`
14016
if test "x$PERL_LIB_TEST" = "x0" ; then
14017
PERL_LDFLAGS=`$PERL -MExtUtils::Embed -e ldopts`
14018
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
14019
$as_echo "found" >&6; }
14023
$as_echo "#define ENABLE_PERL 1" >>confdefs.h
14027
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14028
$as_echo "not found" >&6; }
14029
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Perl library not found, disabling perl support" >&5
14030
$as_echo "$as_me: WARNING: Perl library not found, disabling perl support" >&2;}
14036
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Python support is requested" >&5
14037
$as_echo_n "checking whether Python support is requested... " >&6; }
14038
# Check whether --enable-python was given.
14039
if test "${enable_python+set}" = set; then :
14040
enableval=$enable_python; enable_python=$enableval have_python=$enableval
14042
enable_python=autodetect have_python=yes
14045
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_python" >&5
14046
$as_echo "$enable_python" >&6; }
14048
if test "x$have_python" != "xno"; then
14053
if test -n "$PYTHON"; then
14054
# If the user set $PYTHON, use it and don't search something else.
14055
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version >= 2.3" >&5
14056
$as_echo_n "checking whether $PYTHON version >= 2.3... " >&6; }
14058
# split strings by '.' and convert to numeric. Append some zeros
14059
# because we need at least 4 digits for the hex conversion.
14060
# map returns an iterator in Python 3.0 and a list in 2.x
14061
minver = list(map(int, '2.3'.split('.'))) + [0, 0, 0]
14063
# xrange is not present in Python 3.0 and range returns an iterator
14064
for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
14065
sys.exit(sys.hexversion < minverhex)"
14066
if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
14067
($PYTHON -c "$prog") >&5 2>&5
14069
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14070
(exit $ac_status); }; then :
14071
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14072
$as_echo "yes" >&6; }
14074
as_fn_error $? "too old" "$LINENO" 5
14076
am_display_PYTHON=$PYTHON
14078
# Otherwise, try each interpreter until we find one that satisfies
14080
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.3" >&5
14081
$as_echo_n "checking for a Python interpreter with version >= 2.3... " >&6; }
14082
if test "${am_cv_pathless_PYTHON+set}" = set; then :
14083
$as_echo_n "(cached) " >&6
14086
for am_cv_pathless_PYTHON in python python2 python3 python3.2 python3.1 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 none; do
14087
test "$am_cv_pathless_PYTHON" = none && break
14089
# split strings by '.' and convert to numeric. Append some zeros
14090
# because we need at least 4 digits for the hex conversion.
14091
# map returns an iterator in Python 3.0 and a list in 2.x
14092
minver = list(map(int, '2.3'.split('.'))) + [0, 0, 0]
14094
# xrange is not present in Python 3.0 and range returns an iterator
14095
for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
14096
sys.exit(sys.hexversion < minverhex)"
14097
if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
14098
($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
14100
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14101
(exit $ac_status); }; then :
14106
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
14107
$as_echo "$am_cv_pathless_PYTHON" >&6; }
14108
# Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
14109
if test "$am_cv_pathless_PYTHON" = none; then
14112
# Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
14113
set dummy $am_cv_pathless_PYTHON; ac_word=$2
14114
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14115
$as_echo_n "checking for $ac_word... " >&6; }
14116
if test "${ac_cv_path_PYTHON+set}" = set; then :
14117
$as_echo_n "(cached) " >&6
14121
ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
14124
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14125
for as_dir in $PATH
14128
test -z "$as_dir" && as_dir=.
14129
for ac_exec_ext in '' $ac_executable_extensions; do
14130
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14131
ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
14132
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14142
PYTHON=$ac_cv_path_PYTHON
14143
if test -n "$PYTHON"; then
14144
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
14145
$as_echo "$PYTHON" >&6; }
14147
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14148
$as_echo "no" >&6; }
14153
am_display_PYTHON=$am_cv_pathless_PYTHON
14157
if test "$PYTHON" = :; then
14162
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
14163
$as_echo_n "checking for $am_display_PYTHON version... " >&6; }
14164
if test "${am_cv_python_version+set}" = set; then :
14165
$as_echo_n "(cached) " >&6
14167
am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
14169
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
14170
$as_echo "$am_cv_python_version" >&6; }
14171
PYTHON_VERSION=$am_cv_python_version
14175
PYTHON_PREFIX='${prefix}'
14177
PYTHON_EXEC_PREFIX='${exec_prefix}'
14181
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
14182
$as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
14183
if test "${am_cv_python_platform+set}" = set; then :
14184
$as_echo_n "(cached) " >&6
14186
am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
14188
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
14189
$as_echo "$am_cv_python_platform" >&6; }
14190
PYTHON_PLATFORM=$am_cv_python_platform
14195
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
14196
$as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
14197
if test "${am_cv_python_pythondir+set}" = set; then :
14198
$as_echo_n "(cached) " >&6
14200
if test "x$prefix" = xNONE
14202
am_py_prefix=$ac_default_prefix
14204
am_py_prefix=$prefix
14206
am_cv_python_pythondir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(0,0,prefix='$am_py_prefix'))" 2>/dev/null ||
14207
echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
14208
case $am_cv_python_pythondir in
14210
am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
14211
am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
14214
case $am_py_prefix in
14217
am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
14224
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
14225
$as_echo "$am_cv_python_pythondir" >&6; }
14226
pythondir=$am_cv_python_pythondir
14230
pkgpythondir=\${pythondir}/$PACKAGE
14233
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
14234
$as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
14235
if test "${am_cv_python_pyexecdir+set}" = set; then :
14236
$as_echo_n "(cached) " >&6
14238
if test "x$exec_prefix" = xNONE
14240
am_py_exec_prefix=$am_py_prefix
14242
am_py_exec_prefix=$exec_prefix
14244
am_cv_python_pyexecdir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(1,0,prefix='$am_py_exec_prefix'))" 2>/dev/null ||
14245
echo "$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
14246
case $am_cv_python_pyexecdir in
14247
$am_py_exec_prefix*)
14248
am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
14249
am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
14252
case $am_py_exec_prefix in
14255
am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
14262
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
14263
$as_echo "$am_cv_python_pyexecdir" >&6; }
14264
pyexecdir=$am_cv_python_pyexecdir
14268
pkgpyexecdir=\${pyexecdir}/$PACKAGE
14276
if test "x$PYTHON" = "x:"; then
14281
if test "x$have_python" != "xno"; then
14283
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for headers required to compile python extensions" >&5
14284
$as_echo_n "checking for headers required to compile python extensions... " >&6; }
14285
py_prefix=`$PYTHON -c "import sys; print sys.prefix"`
14286
py_exec_prefix=`$PYTHON -c "import sys; print sys.exec_prefix"`
14287
PYTHON_INCLUDES="-I${py_prefix}/include/python${PYTHON_VERSION}"
14288
if test "$py_prefix" != "$py_exec_prefix"; then
14289
PYTHON_INCLUDES="$PYTHON_INCLUDES -I${py_exec_prefix}/include/python${PYTHON_VERSION}"
14292
save_CPPFLAGS="$CPPFLAGS"
14293
CPPFLAGS="$CPPFLAGS $PYTHON_INCLUDES"
14294
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14295
/* end confdefs.h. */
14296
#include <Python.h>
14298
if ac_fn_c_try_cpp "$LINENO"; then :
14299
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
14300
$as_echo "found" >&6; }
14303
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14304
$as_echo "not found" >&6; }
14307
rm -f conftest.err conftest.i conftest.$ac_ext
14308
CPPFLAGS="$save_CPPFLAGS"
14312
if test "x$have_python" != "xno"; then
14313
PY_PREFIX=`$PYTHON -c 'import sys ; print sys.prefix'`
14314
PY_EXEC_PREFIX=`$PYTHON -c 'import sys ; print sys.exec_prefix'`
14315
PYTHON_LIBS="-lpython$PYTHON_VERSION"
14316
PYTHON_LIB_LOC="-L$PY_EXEC_PREFIX/lib/python$PYTHON_VERSION/config"
14317
PYTHON_CFLAGS="-I$PY_PREFIX/include/python$PYTHON_VERSION"
14318
PYTHON_MAKEFILE="$PY_EXEC_PREFIX/lib/python$PYTHON_VERSION/config/Makefile"
14319
PYTHON_LOCALMODLIBS=`sed -n -e 's/^LOCALMODLIBS=\(.*\)/\1/p' $PYTHON_MAKEFILE`
14320
PYTHON_BASEMODLIBS=`sed -n -e 's/^BASEMODLIBS=\(.*\)/\1/p' $PYTHON_MAKEFILE`
14321
PYTHON_OTHER_LIBS=`sed -n -e 's/^LIBS=\(.*\)/\1/p' $PYTHON_MAKEFILE`
14322
PYTHON_EXTRA_LIBS="$PYTHON_LOCALMODLIBS $PYTHON_BASEMODLIBS $PYTHON_OTHER_LIBS"
14329
if test "x$have_python" != "xyes"; then
14330
if test "x$enable_python" = "xyes"; then
14331
as_fn_error $? "Python not found" "$LINENO" 5
14332
elif test "x$enable_python" = "xautodetect"; then
14334
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Python not found, disabling python support" >&5
14335
$as_echo "$as_me: WARNING: Python not found, disabling python support" >&2;}
14337
elif test "x$enable_python" != "xno"; then
14340
$as_echo "#define ENABLE_PYTHON 1" >>confdefs.h
14345
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether TCL support is requested" >&5
14346
$as_echo_n "checking whether TCL support is requested... " >&6; }
14347
# Check whether --enable-tcl was given.
14348
if test "${enable_tcl+set}" = set; then :
14349
enableval=$enable_tcl; enable_tcl=$enableval have_tcl=$enableval
14351
enable_tcl=autodetect have_tcl=yes
14354
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_tcl" >&5
14355
$as_echo "$enable_tcl" >&6; }
14357
if test "x$have_tcl" != "xno"; then
14359
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for tclConfig.sh" >&5
14360
$as_echo_n "checking for tclConfig.sh... " >&6; }
14361
for dir in $tcl /lib /usr/lib /usr/lib/tcl8.4 /usr/tcl/lib /usr/local/lib /usr/local/tcl-8.4/lib /usr/local/tcl/lib /opt/lib; do
14362
if test -f $dir/tclConfig.sh; then
14363
. $dir/tclConfig.sh
14364
TCL_LIBS="$TCL_LIB_SPEC $TCL_LIBS"
14365
TCL_CFLAGS="-I${TCL_PREFIX}/include $TCL_INCLUDE_SPEC"
14370
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dir/tclConfig.sh" >&5
14371
$as_echo "$dir/tclConfig.sh" >&6; }
14375
if test "$enable_tcl" = "autodetect" -a "$have_tcl" = "no"; then
14376
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14377
$as_echo "not found" >&6; }
14378
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: tclConfig.sh not found, disabling tcl support. Try --enable-tcl=/path/to/" >&5
14379
$as_echo "$as_me: WARNING: tclConfig.sh not found, disabling tcl support. Try --enable-tcl=/path/to/" >&2;}
14380
elif test "$have_tcl" == "no"; then
14381
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14382
$as_echo "not found" >&6; }
14383
as_fn_error $? "tclConfig.sh not found. Try --enable-tcl=/path/to/" "$LINENO" 5
14390
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OPENSSL" >&5
14391
$as_echo_n "checking for OPENSSL... " >&6; }
14393
if test -n "$OPENSSL_CFLAGS"; then
14394
pkg_cv_OPENSSL_CFLAGS="$OPENSSL_CFLAGS"
14395
elif test -n "$PKG_CONFIG"; then
14396
if test -n "$PKG_CONFIG" && \
14397
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl\""; } >&5
14398
($PKG_CONFIG --exists --print-errors "openssl") 2>&5
14400
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14401
test $ac_status = 0; }; then
14402
pkg_cv_OPENSSL_CFLAGS=`$PKG_CONFIG --cflags "openssl" 2>/dev/null`
14409
if test -n "$OPENSSL_LIBS"; then
14410
pkg_cv_OPENSSL_LIBS="$OPENSSL_LIBS"
14411
elif test -n "$PKG_CONFIG"; then
14412
if test -n "$PKG_CONFIG" && \
14413
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl\""; } >&5
14414
($PKG_CONFIG --exists --print-errors "openssl") 2>&5
14416
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14417
test $ac_status = 0; }; then
14418
pkg_cv_OPENSSL_LIBS=`$PKG_CONFIG --libs "openssl" 2>/dev/null`
14428
if test $pkg_failed = yes; then
14429
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14430
$as_echo "no" >&6; }
14432
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14433
_pkg_short_errors_supported=yes
14435
_pkg_short_errors_supported=no
14437
if test $_pkg_short_errors_supported = yes; then
14438
OPENSSL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "openssl" 2>&1`
14440
OPENSSL_PKG_ERRORS=`$PKG_CONFIG --print-errors "openssl" 2>&1`
14442
# Put the nasty error message in config.log where it belongs
14443
echo "$OPENSSL_PKG_ERRORS" >&5
14446
elif test $pkg_failed = untried; then
14447
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14448
$as_echo "no" >&6; }
14451
OPENSSL_CFLAGS=$pkg_cv_OPENSSL_CFLAGS
14452
OPENSSL_LIBS=$pkg_cv_OPENSSL_LIBS
14453
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14454
$as_echo "yes" >&6; }
14457
if test "x$openssl" = xyes; then
14461
$as_echo "#define USE_OPENSSL /**/" >>confdefs.h
14464
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Library requirements (openssl) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
14465
$as_echo "$as_me: WARNING: Library requirements (openssl) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
14467
if test "x$openssl" = "xyes"; then
14469
USE_OPENSSL_FALSE='#'
14471
USE_OPENSSL_TRUE='#'
14477
GETTEXT_PACKAGE=xchat-gnome
14480
cat >>confdefs.h <<_ACEOF
14481
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
14485
for ac_header in locale.h
14487
ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
14488
if test "x$ac_cv_header_locale_h" = x""yes; then :
14489
cat >>confdefs.h <<_ACEOF
14490
#define HAVE_LOCALE_H 1
14497
if test $ac_cv_header_locale_h = yes; then
14498
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
14499
$as_echo_n "checking for LC_MESSAGES... " >&6; }
14500
if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
14501
$as_echo_n "(cached) " >&6
14503
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14504
/* end confdefs.h. */
14505
#include <locale.h>
14514
if ac_fn_c_try_link "$LINENO"; then :
14515
am_cv_val_LC_MESSAGES=yes
14517
am_cv_val_LC_MESSAGES=no
14519
rm -f core conftest.err conftest.$ac_objext \
14520
conftest$ac_exeext conftest.$ac_ext
14522
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
14523
$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
14524
if test $am_cv_val_LC_MESSAGES = yes; then
14526
$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
14533
gt_cv_have_gettext=no
14539
ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
14540
if test "x$ac_cv_header_libintl_h" = x""yes; then :
14541
gt_cv_func_dgettext_libintl="no"
14542
libintl_extra_libs=""
14545
# First check in libc
14547
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
14548
$as_echo_n "checking for ngettext in libc... " >&6; }
14549
if test "${gt_cv_func_ngettext_libc+set}" = set; then :
14550
$as_echo_n "(cached) " >&6
14552
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14553
/* end confdefs.h. */
14555
#include <libintl.h>
14560
return !ngettext ("","", 1)
14565
if ac_fn_c_try_link "$LINENO"; then :
14566
gt_cv_func_ngettext_libc=yes
14568
gt_cv_func_ngettext_libc=no
14570
rm -f core conftest.err conftest.$ac_objext \
14571
conftest$ac_exeext conftest.$ac_ext
14574
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
14575
$as_echo "$gt_cv_func_ngettext_libc" >&6; }
14577
if test "$gt_cv_func_ngettext_libc" = "yes" ; then
14578
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
14579
$as_echo_n "checking for dgettext in libc... " >&6; }
14580
if test "${gt_cv_func_dgettext_libc+set}" = set; then :
14581
$as_echo_n "(cached) " >&6
14583
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14584
/* end confdefs.h. */
14586
#include <libintl.h>
14591
return !dgettext ("","")
14596
if ac_fn_c_try_link "$LINENO"; then :
14597
gt_cv_func_dgettext_libc=yes
14599
gt_cv_func_dgettext_libc=no
14601
rm -f core conftest.err conftest.$ac_objext \
14602
conftest$ac_exeext conftest.$ac_ext
14605
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
14606
$as_echo "$gt_cv_func_dgettext_libc" >&6; }
14609
if test "$gt_cv_func_ngettext_libc" = "yes" ; then
14610
for ac_func in bind_textdomain_codeset
14612
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
14613
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
14614
cat >>confdefs.h <<_ACEOF
14615
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
14624
# If we don't have everything we want, check in libintl
14626
if test "$gt_cv_func_dgettext_libc" != "yes" \
14627
|| test "$gt_cv_func_ngettext_libc" != "yes" \
14628
|| test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
14630
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
14631
$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
14632
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then :
14633
$as_echo_n "(cached) " >&6
14635
ac_check_lib_save_LIBS=$LIBS
14636
LIBS="-lintl $LIBS"
14637
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14638
/* end confdefs.h. */
14640
/* Override any GCC internal prototype to avoid an error.
14641
Use char because int might match the return type of a GCC
14642
builtin and then its argument prototype would still apply. */
14646
char bindtextdomain ();
14650
return bindtextdomain ();
14655
if ac_fn_c_try_link "$LINENO"; then :
14656
ac_cv_lib_intl_bindtextdomain=yes
14658
ac_cv_lib_intl_bindtextdomain=no
14660
rm -f core conftest.err conftest.$ac_objext \
14661
conftest$ac_exeext conftest.$ac_ext
14662
LIBS=$ac_check_lib_save_LIBS
14664
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
14665
$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
14666
if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then :
14667
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
14668
$as_echo_n "checking for ngettext in -lintl... " >&6; }
14669
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
14670
$as_echo_n "(cached) " >&6
14672
ac_check_lib_save_LIBS=$LIBS
14673
LIBS="-lintl $LIBS"
14674
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14675
/* end confdefs.h. */
14677
/* Override any GCC internal prototype to avoid an error.
14678
Use char because int might match the return type of a GCC
14679
builtin and then its argument prototype would still apply. */
14687
return ngettext ();
14692
if ac_fn_c_try_link "$LINENO"; then :
14693
ac_cv_lib_intl_ngettext=yes
14695
ac_cv_lib_intl_ngettext=no
14697
rm -f core conftest.err conftest.$ac_objext \
14698
conftest$ac_exeext conftest.$ac_ext
14699
LIBS=$ac_check_lib_save_LIBS
14701
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
14702
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
14703
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
14704
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
14705
$as_echo_n "checking for dgettext in -lintl... " >&6; }
14706
if test "${ac_cv_lib_intl_dgettext+set}" = set; then :
14707
$as_echo_n "(cached) " >&6
14709
ac_check_lib_save_LIBS=$LIBS
14710
LIBS="-lintl $LIBS"
14711
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14712
/* end confdefs.h. */
14714
/* Override any GCC internal prototype to avoid an error.
14715
Use char because int might match the return type of a GCC
14716
builtin and then its argument prototype would still apply. */
14724
return dgettext ();
14729
if ac_fn_c_try_link "$LINENO"; then :
14730
ac_cv_lib_intl_dgettext=yes
14732
ac_cv_lib_intl_dgettext=no
14734
rm -f core conftest.err conftest.$ac_objext \
14735
conftest$ac_exeext conftest.$ac_ext
14736
LIBS=$ac_check_lib_save_LIBS
14738
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
14739
$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
14740
if test "x$ac_cv_lib_intl_dgettext" = x""yes; then :
14741
gt_cv_func_dgettext_libintl=yes
14749
if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
14750
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
14751
$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
14752
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
14754
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
14755
$as_echo_n "checking for ngettext in -lintl... " >&6; }
14756
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
14757
$as_echo_n "(cached) " >&6
14759
ac_check_lib_save_LIBS=$LIBS
14760
LIBS="-lintl -liconv $LIBS"
14761
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14762
/* end confdefs.h. */
14764
/* Override any GCC internal prototype to avoid an error.
14765
Use char because int might match the return type of a GCC
14766
builtin and then its argument prototype would still apply. */
14774
return ngettext ();
14779
if ac_fn_c_try_link "$LINENO"; then :
14780
ac_cv_lib_intl_ngettext=yes
14782
ac_cv_lib_intl_ngettext=no
14784
rm -f core conftest.err conftest.$ac_objext \
14785
conftest$ac_exeext conftest.$ac_ext
14786
LIBS=$ac_check_lib_save_LIBS
14788
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
14789
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
14790
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
14791
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
14792
$as_echo_n "checking for dcgettext in -lintl... " >&6; }
14793
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then :
14794
$as_echo_n "(cached) " >&6
14796
ac_check_lib_save_LIBS=$LIBS
14797
LIBS="-lintl -liconv $LIBS"
14798
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14799
/* end confdefs.h. */
14801
/* Override any GCC internal prototype to avoid an error.
14802
Use char because int might match the return type of a GCC
14803
builtin and then its argument prototype would still apply. */
14811
return dcgettext ();
14816
if ac_fn_c_try_link "$LINENO"; then :
14817
ac_cv_lib_intl_dcgettext=yes
14819
ac_cv_lib_intl_dcgettext=no
14821
rm -f core conftest.err conftest.$ac_objext \
14822
conftest$ac_exeext conftest.$ac_ext
14823
LIBS=$ac_check_lib_save_LIBS
14825
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
14826
$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
14827
if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then :
14828
gt_cv_func_dgettext_libintl=yes
14829
libintl_extra_libs=-liconv
14841
# If we found libintl, then check in it for bind_textdomain_codeset();
14842
# we'll prefer libc if neither have bind_textdomain_codeset(),
14843
# and both have dgettext and ngettext
14845
if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
14846
glib_save_LIBS="$LIBS"
14847
LIBS="$LIBS -lintl $libintl_extra_libs"
14848
unset ac_cv_func_bind_textdomain_codeset
14849
for ac_func in bind_textdomain_codeset
14851
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
14852
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
14853
cat >>confdefs.h <<_ACEOF
14854
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
14860
LIBS="$glib_save_LIBS"
14862
if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
14863
gt_cv_func_dgettext_libc=no
14865
if test "$gt_cv_func_dgettext_libc" = "yes" \
14866
&& test "$gt_cv_func_ngettext_libc" = "yes"; then
14867
gt_cv_func_dgettext_libintl=no
14873
if test "$gt_cv_func_dgettext_libc" = "yes" \
14874
|| test "$gt_cv_func_dgettext_libintl" = "yes"; then
14875
gt_cv_have_gettext=yes
14878
if test "$gt_cv_func_dgettext_libintl" = "yes"; then
14879
INTLLIBS="-lintl $libintl_extra_libs"
14882
if test "$gt_cv_have_gettext" = "yes"; then
14884
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
14886
# Extract the first word of "msgfmt", so it can be a program name with args.
14887
set dummy msgfmt; ac_word=$2
14888
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14889
$as_echo_n "checking for $ac_word... " >&6; }
14890
if test "${ac_cv_path_MSGFMT+set}" = set; then :
14891
$as_echo_n "(cached) " >&6
14895
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
14898
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
14899
for ac_dir in $PATH; do
14900
test -z "$ac_dir" && ac_dir=.
14901
if test -f $ac_dir/$ac_word; then
14902
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
14903
ac_cv_path_MSGFMT="$ac_dir/$ac_word"
14909
test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
14913
MSGFMT="$ac_cv_path_MSGFMT"
14914
if test "$MSGFMT" != "no"; then
14915
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
14916
$as_echo "$MSGFMT" >&6; }
14918
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14919
$as_echo "no" >&6; }
14921
if test "$MSGFMT" != "no"; then
14922
glib_save_LIBS="$LIBS"
14923
LIBS="$LIBS $INTLLIBS"
14924
for ac_func in dcgettext
14926
ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
14927
if test "x$ac_cv_func_dcgettext" = x""yes; then :
14928
cat >>confdefs.h <<_ACEOF
14929
#define HAVE_DCGETTEXT 1
14936
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
14937
$as_echo_n "checking if msgfmt accepts -c... " >&6; }
14938
cat >conftest.foo <<_ACEOF
14942
"Content-Type: text/plain; charset=UTF-8\n"
14943
"Project-Id-Version: test 1.0\n"
14944
"PO-Revision-Date: 2007-02-15 12:01+0100\n"
14945
"Last-Translator: test <foo@bar.xx>\n"
14946
"Language-Team: C <LL@li.org>\n"
14947
"MIME-Version: 1.0\n"
14948
"Content-Transfer-Encoding: 8bit\n"
14951
if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
14952
($MSGFMT -c -o /dev/null conftest.foo) 2>&5
14954
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14955
test $ac_status = 0; }; then
14956
MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14957
$as_echo "yes" >&6; }
14958
else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14959
$as_echo "no" >&6; }
14960
echo "$as_me: failed input was:" >&5
14961
sed 's/^/| /' conftest.foo >&5
14964
# Extract the first word of "gmsgfmt", so it can be a program name with args.
14965
set dummy gmsgfmt; ac_word=$2
14966
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14967
$as_echo_n "checking for $ac_word... " >&6; }
14968
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
14969
$as_echo_n "(cached) " >&6
14973
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
14976
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14977
for as_dir in $PATH
14980
test -z "$as_dir" && as_dir=.
14981
for ac_exec_ext in '' $ac_executable_extensions; do
14982
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14983
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
14984
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14991
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
14995
GMSGFMT=$ac_cv_path_GMSGFMT
14996
if test -n "$GMSGFMT"; then
14997
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
14998
$as_echo "$GMSGFMT" >&6; }
15000
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15001
$as_echo "no" >&6; }
15005
# Extract the first word of "xgettext", so it can be a program name with args.
15006
set dummy xgettext; ac_word=$2
15007
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15008
$as_echo_n "checking for $ac_word... " >&6; }
15009
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
15010
$as_echo_n "(cached) " >&6
15012
case "$XGETTEXT" in
15014
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
15017
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
15018
for ac_dir in $PATH; do
15019
test -z "$ac_dir" && ac_dir=.
15020
if test -f $ac_dir/$ac_word; then
15021
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
15022
ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
15028
test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
15032
XGETTEXT="$ac_cv_path_XGETTEXT"
15033
if test "$XGETTEXT" != ":"; then
15034
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
15035
$as_echo "$XGETTEXT" >&6; }
15037
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15038
$as_echo "no" >&6; }
15041
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15042
/* end confdefs.h. */
15047
extern int _nl_msg_cat_cntr;
15048
return _nl_msg_cat_cntr
15053
if ac_fn_c_try_link "$LINENO"; then :
15059
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
15060
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
15075
rm -f core conftest.err conftest.$ac_objext \
15076
conftest$ac_exeext conftest.$ac_ext
15077
LIBS="$glib_save_LIBS"
15080
gt_cv_have_gettext=no
15088
if test "$gt_cv_have_gettext" = "yes" ; then
15090
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
15094
if test "$XGETTEXT" != ":"; then
15095
if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
15098
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
15099
$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
15104
# We need to process the po/ directory.
15107
ac_config_commands="$ac_config_commands default-1"
15110
for lang in $ALL_LINGUAS; do
15111
GMOFILES="$GMOFILES $lang.gmo"
15112
POFILES="$POFILES $lang.po"
15127
if test "$gt_cv_have_gettext" = "yes"; then
15128
if test "x$ALL_LINGUAS" = "x"; then
15131
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
15132
$as_echo_n "checking for catalogs to be installed... " >&6; }
15134
for presentlang in $ALL_LINGUAS; do
15136
if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
15137
desiredlanguages="$LINGUAS"
15139
desiredlanguages="$ALL_LINGUAS"
15141
for desiredlang in $desiredlanguages; do
15142
# Use the presentlang catalog if desiredlang is
15143
# a. equal to presentlang, or
15144
# b. a variant of presentlang (because in this case,
15145
# presentlang can be used as a fallback for messages
15146
# which are not translated in the desiredlang catalog).
15147
case "$desiredlang" in
15148
"$presentlang"*) useit=yes;;
15151
if test $useit = yes; then
15152
NEW_LINGUAS="$NEW_LINGUAS $presentlang"
15155
LINGUAS=$NEW_LINGUAS
15156
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
15157
$as_echo "$LINGUAS" >&6; }
15160
if test -n "$LINGUAS"; then
15161
for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
15166
if test -n "$ac_aux_dir"; then
15167
MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
15169
if test -z "$MKINSTALLDIRS"; then
15170
MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
15174
test -d po || mkdir po
15175
if test "x$srcdir" != "x."; then
15176
if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
15177
posrcprefix="$srcdir/"
15179
posrcprefix="../$srcdir/"
15185
sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
15186
< $srcdir/po/POTFILES.in > po/POTFILES
15190
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for select in -lsocket" >&5
15191
$as_echo_n "checking for select in -lsocket... " >&6; }
15192
if test "${ac_cv_lib_socket_select+set}" = set; then :
15193
$as_echo_n "(cached) " >&6
15195
ac_check_lib_save_LIBS=$LIBS
15196
LIBS="-lsocket $LIBS"
15197
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15198
/* end confdefs.h. */
15200
/* Override any GCC internal prototype to avoid an error.
15201
Use char because int might match the return type of a GCC
15202
builtin and then its argument prototype would still apply. */
15215
if ac_fn_c_try_link "$LINENO"; then :
15216
ac_cv_lib_socket_select=yes
15218
ac_cv_lib_socket_select=no
15220
rm -f core conftest.err conftest.$ac_objext \
15221
conftest$ac_exeext conftest.$ac_ext
15222
LIBS=$ac_check_lib_save_LIBS
15224
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_select" >&5
15225
$as_echo "$ac_cv_lib_socket_select" >&6; }
15226
if test "x$ac_cv_lib_socket_select" = x""yes; then :
15227
cat >>confdefs.h <<_ACEOF
15228
#define HAVE_LIBSOCKET 1
15231
LIBS="-lsocket $LIBS"
15236
for ac_func in getaddrinfo
15238
ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
15239
if test "x$ac_cv_func_getaddrinfo" = x""yes; then :
15240
cat >>confdefs.h <<_ACEOF
15241
#define HAVE_GETADDRINFO 1
15243
have_getaddrinfo=yes
15247
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable IPv6 support" >&5
15248
$as_echo_n "checking whether to enable IPv6 support... " >&6; }
15249
if test "x$have_getaddrinfo" = xyes; then
15250
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15251
$as_echo "yes" >&6; }
15253
$as_echo "#define USE_IPV6 /**/" >>confdefs.h
15256
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15257
$as_echo "no" >&6; }
15260
# Xlib & Xshm (for xtext tinting)
15261
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XOpenDisplay in -lX11" >&5
15262
$as_echo_n "checking for XOpenDisplay in -lX11... " >&6; }
15263
if test "${ac_cv_lib_X11_XOpenDisplay+set}" = set; then :
15264
$as_echo_n "(cached) " >&6
15266
ac_check_lib_save_LIBS=$LIBS
15268
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15269
/* end confdefs.h. */
15271
/* Override any GCC internal prototype to avoid an error.
15272
Use char because int might match the return type of a GCC
15273
builtin and then its argument prototype would still apply. */
15277
char XOpenDisplay ();
15281
return XOpenDisplay ();
15286
if ac_fn_c_try_link "$LINENO"; then :
15287
ac_cv_lib_X11_XOpenDisplay=yes
15289
ac_cv_lib_X11_XOpenDisplay=no
15291
rm -f core conftest.err conftest.$ac_objext \
15292
conftest$ac_exeext conftest.$ac_ext
15293
LIBS=$ac_check_lib_save_LIBS
15295
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XOpenDisplay" >&5
15296
$as_echo "$ac_cv_lib_X11_XOpenDisplay" >&6; }
15297
if test "x$ac_cv_lib_X11_XOpenDisplay" = x""yes; then :
15303
if test "x$xlib" = xyes; then
15305
$as_echo "#define USE_XLIB 1" >>confdefs.h
15309
# Disable SHM because of bug #565958
15311
# AC_CHECK_LIB(Xext, XShmAttach, shm=yes, shm=no)
15312
# AC_CHECK_HEADERS(sys/ipc.h, , shm=no)
15313
# AC_CHECK_HEADERS(sys/shm.h, , shm=no)
15314
# if test "x$shm" = xyes; then
15315
# DEPENDENCIES_LIBS="$DEPENDENCIES_LIBS -lX11 -lXext"
15316
# AC_DEFINE(USE_SHM, [1], [Whether to use Xshm tinting])
15319
# MMX (for xtext tinting)
15320
# Check whether --enable-mmx was given.
15321
if test "${enable_mmx+set}" = set; then :
15322
enableval=$enable_mmx; mmx=$enableval
15327
if test "$mmx" = "yes"; then
15329
i386|i486|i586|i686|i786|k6|k7)
15335
if test "$system" = "OpenBSD"; then
15338
if test "$mmx" = "yes"; then
15340
$as_echo "#define USE_MMX 1" >>confdefs.h
15345
if test "x$mmx" = "xyes"; then
15355
ALL_PLUGINS="autoaway notification url_scraper"
15356
CANBERRA_PLUGINS="sound-notification"
15357
DBUS_PLUGINS="net-monitor"
15358
LIBNOTIFY_PLUGINS="notify-osd"
15359
PYTHON_PLUGINS="python"
15360
PERL_PLUGINS="perl"
15363
DIST_PLUGINS="$ALL_PLUGINS $CANBERRA_PLUGINS $DBUS_PLUGINS $LIBNOTIFY_PLUGINS $PYTHON_PLUGINS $PERL_PLUGINS $TCL_PLUGINS"
15365
# canberra specific plugins
15366
if test "x$enable_canberra" = "xyes"; then
15367
ALL_PLUGINS="$ALL_PLUGINS $CANBERRA_PLUGINS"
15369
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xchat-gnome compiled without libcanberra support, plugins $CANBERRA_PLUGINS will not be available" >&5
15370
$as_echo "$as_me: WARNING: xchat-gnome compiled without libcanberra support, plugins $CANBERRA_PLUGINS will not be available" >&2;}
15373
# dbus-specific plugins
15374
if test "x$dbus" = "xyes"; then
15375
ALL_PLUGINS="$ALL_PLUGINS $DBUS_PLUGINS"
15377
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xchat-gnome compiled without dbus support, plugins $DBUS_PLUGINS will not be available" >&5
15378
$as_echo "$as_me: WARNING: xchat-gnome compiled without dbus support, plugins $DBUS_PLUGINS will not be available" >&2;}
15381
# libnotify-specific plugins
15382
if test "x$enable_notification" = "xyes"; then
15383
ALL_PLUGINS="$ALL_PLUGINS $LIBNOTIFY_PLUGINS"
15385
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xchat-gnome compiled without libnotify support, plugins $LIBNOTIFY_PLUGINS will not be available" >&5
15386
$as_echo "$as_me: WARNING: xchat-gnome compiled without libnotify support, plugins $LIBNOTIFY_PLUGINS will not be available" >&2;}
15389
# perl-specific plugins
15390
if test "$enable_perl" = "yes" -a "$have_perl" = "yes"; then
15391
ALL_PLUGINS="$ALL_PLUGINS $PERL_PLUGINS"
15393
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xchat-gnome compiled without perl support, plugins $PERL_PLUGINS will not be available" >&5
15394
$as_echo "$as_me: WARNING: xchat-gnome compiled without perl support, plugins $PERL_PLUGINS will not be available" >&2;}
15397
# python-specific plugins
15398
if test "$enable_python" = "yes" -a "$have_python" = "yes"; then
15399
ALL_PLUGINS="$ALL_PLUGINS $PYTHON_PLUGINS"
15401
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xchat-gnome compiled without python support, plugins $PYTHON_PLUGINS will not be available" >&5
15402
$as_echo "$as_me: WARNING: xchat-gnome compiled without python support, plugins $PYTHON_PLUGINS will not be available" >&2;}
15405
# tcl-specific plugins
15406
if test "$enable_tcl" = "yes" -a "$have_tcl" = "yes"; then
15407
ALL_PLUGINS="$ALL_PLUGINS $TCL_PLUGINS"
15409
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xchat-gnome compiled without tcl support, plugins $TCL_PLUGINS will not be available" >&5
15410
$as_echo "$as_me: WARNING: xchat-gnome compiled without tcl support, plugins $TCL_PLUGINS will not be available" >&2;}
15413
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which plugins to build" >&5
15414
$as_echo_n "checking which plugins to build... " >&6; }
15416
# Check whether --with-plugins was given.
15417
if test "${with_plugins+set}" = set; then :
15418
withval=$with_plugins; plugins=$with_plugins
15423
if test "x$with_plugins" = xyes; then
15428
IFS="${IFS= }"; plugin_save_ifs="$IFS"; IFS=","
15429
for plugin in $plugins; do
15430
if echo "$ALL_PLUGINS" | egrep "(^| )$plugin(\$| )" > /dev/null; then
15431
PLUGINS="$PLUGINS $plugin"
15432
elif test "x$plugin" = "xdefault"; then
15433
PLUGINS="$PLUGINS $ALL_PLUGINS"
15436
IFS="$plugin_save_ifs"
15439
BUILD_PLUGINS=`echo $PLUGINS | tr ' ' '\n' | sort | uniq | tr '\n' ' '`
15441
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PLUGINS" >&5
15442
$as_echo "$PLUGINS" >&6; }
15444
$as_echo "#define USE_PLUGIN /**/" >>confdefs.h
15447
$as_echo "#define USE_GMODULE /**/" >>confdefs.h
15451
AM_CPPFLAGS="$AM_CPPFLAGS $DISABLE_DEPRECATED"
15452
AM_CFLAGS="$AM_CFLAGS $WARN_CFLAGS -fgnu89-inline"
15458
# various and sundry defines and flags
15460
$as_echo "#define _GNU_SOURCE /**/" >>confdefs.h
15465
ac_config_files="$ac_config_files data/icons/hicolor/128x128/apps/Makefile data/icons/hicolor/128x128/Makefile data/icons/hicolor/16x16/apps/Makefile data/icons/hicolor/16x16/Makefile data/icons/hicolor/22x22/apps/Makefile data/icons/hicolor/22x22/Makefile data/icons/hicolor/48x48/apps/Makefile data/icons/hicolor/48x48/Makefile data/icons/hicolor/Makefile data/icons/hicolor/scalable/apps/Makefile data/icons/hicolor/scalable/Makefile data/icons/Makefile data/Makefile data/xchat-gnome.desktop.in help/Makefile Makefile plugins/autoaway/Makefile plugins/Makefile plugins/net-monitor/Makefile plugins/notification/Makefile plugins/notify-osd/Makefile plugins/perl/Makefile plugins/python/Makefile plugins/sound-notification/Makefile plugins/tcl/Makefile plugins/url_scraper/Makefile po/Makefile.in src/common/dbus/Makefile src/common/Makefile src/fe-gnome/Makefile src/libcontrast/Makefile src/libeggsmclient/Makefile src/Makefile"
15468
cat >confcache <<\_ACEOF
15469
# This file is a shell script that caches the results of configure
15470
# tests run on this system so they can be shared between configure
15471
# scripts and configure runs, see configure's option --config-cache.
15472
# It is not useful on other systems. If it contains results you don't
15473
# want to keep, you may remove or edit it.
15475
# config.status only pays attention to the cache file if you give it
15476
# the --recheck option to rerun configure.
15478
# `ac_cv_env_foo' variables (set or unset) will be overridden when
15479
# loading this file, other *unset* `ac_cv_foo' will be assigned the
15480
# following values.
15484
# The following way of writing the cache mishandles newlines in values,
15485
# but we know of no workaround that is simple, portable, and efficient.
15486
# So, we kill variables containing newlines.
15487
# Ultrix sh set writes to stderr and can't be redirected directly,
15488
# and sets the high bit in the cache file unless we assign to the vars.
15490
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15491
eval ac_val=\$$ac_var
15495
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15496
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15499
_ | IFS | as_nl) ;; #(
15500
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15501
*) { eval $ac_var=; unset $ac_var;} ;;
15507
case $as_nl`(ac_space=' '; set) 2>&1` in #(
15508
*${as_nl}ac_space=\ *)
15509
# `set' does not quote correctly, so add quotes: double-quote
15510
# substitution turns \\\\ into \\, and sed turns \\ into \.
15513
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15516
# `set' quotes correctly as required by POSIX, so do not add quotes.
15517
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15526
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15528
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15530
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15531
if test -w "$cache_file"; then
15532
test "x$cache_file" != "x/dev/null" &&
15533
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15534
$as_echo "$as_me: updating cache $cache_file" >&6;}
15535
cat confcache >$cache_file
15537
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15538
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15543
test "x$prefix" = xNONE && prefix=$ac_default_prefix
15544
# Let make expand exec_prefix.
15545
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15547
DEFS=-DHAVE_CONFIG_H
15552
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15553
# 1. Remove the extension, and $U if already installed.
15554
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15555
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15556
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15557
# will be set to the directory where LIBOBJS objects are built.
15558
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15559
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15561
LIBOBJS=$ac_libobjs
15563
LTLIBOBJS=$ac_ltlibobjs
15566
if test -n "$EXEEXT"; then
15568
am__EXEEXT_FALSE='#'
15570
am__EXEEXT_TRUE='#'
15574
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15575
as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
15576
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15578
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15579
as_fn_error $? "conditional \"AMDEP\" was never defined.
15580
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15582
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15583
as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15584
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15587
ac_config_commands="$ac_config_commands po/stamp-it"
15590
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15591
as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15592
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15594
if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
15595
as_fn_error $? "conditional \"am__fastdepCCAS\" was never defined.
15596
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15598
if test -z "${ENABLE_SK_TRUE}" && test -z "${ENABLE_SK_FALSE}"; then
15599
as_fn_error $? "conditional \"ENABLE_SK\" was never defined.
15600
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15602
if test -z "${HAVE_GNOME_DOC_UTILS_TRUE}" && test -z "${HAVE_GNOME_DOC_UTILS_FALSE}"; then
15603
as_fn_error $? "conditional \"HAVE_GNOME_DOC_UTILS\" was never defined.
15604
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15606
if test -z "${ENABLE_DBUS_TRUE}" && test -z "${ENABLE_DBUS_FALSE}"; then
15607
as_fn_error $? "conditional \"ENABLE_DBUS\" was never defined.
15608
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15610
if test -z "${ENABLE_LIBNOTIFY_TRUE}" && test -z "${ENABLE_LIBNOTIFY_FALSE}"; then
15611
as_fn_error $? "conditional \"ENABLE_LIBNOTIFY\" was never defined.
15612
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15614
if test -z "${ENABLE_LIBCANBERRA_TRUE}" && test -z "${ENABLE_LIBCANBERRA_FALSE}"; then
15615
as_fn_error $? "conditional \"ENABLE_LIBCANBERRA\" was never defined.
15616
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15618
if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then
15619
as_fn_error $? "conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
15620
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15622
if test -z "${USE_OPENSSL_TRUE}" && test -z "${USE_OPENSSL_FALSE}"; then
15623
as_fn_error $? "conditional \"USE_OPENSSL\" was never defined.
15624
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15626
if test -z "${USE_MMX_TRUE}" && test -z "${USE_MMX_FALSE}"; then
15627
as_fn_error $? "conditional \"USE_MMX\" was never defined.
15628
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15631
: ${CONFIG_STATUS=./config.status}
15633
ac_clean_files_save=$ac_clean_files
15634
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15635
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15636
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15638
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15640
# Generated by $as_me.
15641
# Run this file to recreate the current configuration.
15642
# Compiler output produced by configure, useful for debugging
15643
# configure, is in config.log if it exists.
15646
ac_cs_recheck=false
15649
SHELL=\${CONFIG_SHELL-$SHELL}
15652
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15653
## -------------------- ##
15654
## M4sh Initialization. ##
15655
## -------------------- ##
15657
# Be more Bourne compatible
15658
DUALCASE=1; export DUALCASE # for MKS sh
15659
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15662
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15663
# is contrary to our usage. Disable this feature.
15664
alias -g '${1+"$@"}'='"$@"'
15665
setopt NO_GLOB_SUBST
15667
case `(set -o) 2>/dev/null` in #(
15679
# Printing a long string crashes Solaris 7 /usr/bin/printf.
15680
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15681
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15682
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15683
# Prefer a ksh shell builtin over an external printf program on Solaris,
15684
# but without wasting forks for bash or zsh.
15685
if test -z "$BASH_VERSION$ZSH_VERSION" \
15686
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15687
as_echo='print -r --'
15688
as_echo_n='print -rn --'
15689
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15690
as_echo='printf %s\n'
15691
as_echo_n='printf %s'
15693
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15694
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15695
as_echo_n='/usr/ucb/echo -n'
15697
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15698
as_echo_n_body='eval
15702
expr "X$arg" : "X\\(.*\\)$as_nl";
15703
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15705
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15707
export as_echo_n_body
15708
as_echo_n='sh -c $as_echo_n_body as_echo'
15710
export as_echo_body
15711
as_echo='sh -c $as_echo_body as_echo'
15714
# The user is always right.
15715
if test "${PATH_SEPARATOR+set}" != set; then
15717
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15718
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15725
# We need space, tab and new line, in precisely that order. Quoting is
15726
# there to prevent editors from complaining about space-tab.
15727
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
15728
# splitting by setting IFS to empty value.)
15731
# Find who we are. Look in the path if we contain no directory separator.
15733
*[\\/]* ) as_myself=$0 ;;
15734
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15735
for as_dir in $PATH
15738
test -z "$as_dir" && as_dir=.
15739
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15745
# We did not find ourselves, most probably we were run as `sh COMMAND'
15746
# in which case we are not to be found in the path.
15747
if test "x$as_myself" = x; then
15750
if test ! -f "$as_myself"; then
15751
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15755
# Unset variables that we do not need and which cause bugs (e.g. in
15756
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15757
# suppresses any "Segmentation fault" message there. '((' could
15758
# trigger a bug in pdksh 5.2.14.
15759
for as_var in BASH_ENV ENV MAIL MAILPATH
15760
do eval test x\${$as_var+set} = xset \
15761
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15774
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15777
# as_fn_error STATUS ERROR [LINENO LOG_FD]
15778
# ----------------------------------------
15779
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15780
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15781
# script with STATUS, using 1 if that was 0.
15784
as_status=$1; test $as_status -eq 0 && as_status=1
15786
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15787
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15789
$as_echo "$as_me: error: $2" >&2
15790
as_fn_exit $as_status
15794
# as_fn_set_status STATUS
15795
# -----------------------
15796
# Set $? to STATUS, without forking.
15797
as_fn_set_status ()
15800
} # as_fn_set_status
15802
# as_fn_exit STATUS
15803
# -----------------
15804
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15808
as_fn_set_status $1
15814
# Portably unset VAR.
15817
{ eval $1=; unset $1;}
15819
as_unset=as_fn_unset
15820
# as_fn_append VAR VALUE
15821
# ----------------------
15822
# Append the text in VALUE to the end of the definition contained in VAR. Take
15823
# advantage of any shell optimizations that allow amortized linear growth over
15824
# repeated appends, instead of the typical quadratic growth present in naive
15826
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15827
eval 'as_fn_append ()
15838
# as_fn_arith ARG...
15839
# ------------------
15840
# Perform arithmetic evaluation on the ARGs, and store the result in the
15841
# global $as_val. Take advantage of shells that can avoid forks. The arguments
15842
# must be portable across $(()) and expr.
15843
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15844
eval 'as_fn_arith ()
15851
as_val=`expr "$@" || test $? -eq 1`
15856
if expr a : '\(a\)' >/dev/null 2>&1 &&
15857
test "X`expr 00001 : '.*\(...\)'`" = X001; then
15863
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15864
as_basename=basename
15869
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15875
as_me=`$as_basename -- "$0" ||
15876
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15877
X"$0" : 'X\(//\)$' \| \
15878
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15880
sed '/^.*\/\([^/][^/]*\)\/*$/{
15894
# Avoid depending upon Character Ranges.
15895
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15896
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15897
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15898
as_cr_digits='0123456789'
15899
as_cr_alnum=$as_cr_Letters$as_cr_digits
15901
ECHO_C= ECHO_N= ECHO_T=
15902
case `echo -n x` in #(((((
15904
case `echo 'xy\c'` in
15905
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
15907
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
15914
rm -f conf$$ conf$$.exe conf$$.file
15915
if test -d conf$$.dir; then
15916
rm -f conf$$.dir/conf$$.file
15919
mkdir conf$$.dir 2>/dev/null
15921
if (echo >conf$$.file) 2>/dev/null; then
15922
if ln -s conf$$.file conf$$ 2>/dev/null; then
15924
# ... but there are two gotchas:
15925
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15926
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15927
# In both cases, we have to default to `cp -p'.
15928
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15930
elif ln conf$$.file conf$$ 2>/dev/null; then
15938
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15939
rmdir conf$$.dir 2>/dev/null
15944
# Create "$as_dir" as a directory, including parents if necessary.
15949
-*) as_dir=./$as_dir;;
15951
test -d "$as_dir" || eval $as_mkdir_p || {
15955
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15956
*) as_qdir=$as_dir;;
15958
as_dirs="'$as_qdir' $as_dirs"
15959
as_dir=`$as_dirname -- "$as_dir" ||
15960
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15961
X"$as_dir" : 'X\(//\)[^/]' \| \
15962
X"$as_dir" : 'X\(//\)$' \| \
15963
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15964
$as_echo X"$as_dir" |
15965
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15969
/^X\(\/\/\)[^/].*/{
15982
test -d "$as_dir" && break
15984
test -z "$as_dirs" || eval "mkdir $as_dirs"
15985
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15989
if mkdir -p . 2>/dev/null; then
15990
as_mkdir_p='mkdir -p "$as_dir"'
15992
test -d ./-p && rmdir ./-p
15996
if test -x / >/dev/null 2>&1; then
15997
as_test_x='test -x'
15999
if ls -dL / >/dev/null 2>&1; then
16006
if test -d "$1"; then
16012
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
16013
???[sx]*):;;*)false;;esac;fi
16017
as_executable_p=$as_test_x
16019
# Sed expression to map a string onto a valid CPP name.
16020
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16022
# Sed expression to map a string onto a valid variable name.
16023
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16027
## ----------------------------------- ##
16028
## Main body of $CONFIG_STATUS script. ##
16029
## ----------------------------------- ##
16031
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16033
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16034
# Save the log message, to keep $0 and so on meaningful, and to
16035
# report actual input values of CONFIG_FILES etc. instead of their
16036
# values after options handling.
16038
This file was extended by XChat-GNOME IRC Chat $as_me 0.26.1, which was
16039
generated by GNU Autoconf 2.67. Invocation command line was
16041
CONFIG_FILES = $CONFIG_FILES
16042
CONFIG_HEADERS = $CONFIG_HEADERS
16043
CONFIG_LINKS = $CONFIG_LINKS
16044
CONFIG_COMMANDS = $CONFIG_COMMANDS
16047
on `(hostname || uname -n) 2>/dev/null | sed 1q`
16052
case $ac_config_files in *"
16053
"*) set x $ac_config_files; shift; ac_config_files=$*;;
16056
case $ac_config_headers in *"
16057
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16061
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16062
# Files that config.status was made for.
16063
config_files="$ac_config_files"
16064
config_headers="$ac_config_headers"
16065
config_commands="$ac_config_commands"
16069
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16071
\`$as_me' instantiates files and other configuration actions
16072
from templates according to the current configuration. Unless the files
16073
and actions are specified as TAGs, all are instantiated by default.
16075
Usage: $0 [OPTION]... [TAG]...
16077
-h, --help print this help, then exit
16078
-V, --version print version number and configuration settings, then exit
16079
--config print configuration, then exit
16080
-q, --quiet, --silent
16081
do not print progress messages
16082
-d, --debug don't remove temporary files
16083
--recheck update $as_me by reconfiguring in the same conditions
16084
--file=FILE[:TEMPLATE]
16085
instantiate the configuration file FILE
16086
--header=FILE[:TEMPLATE]
16087
instantiate the configuration header FILE
16089
Configuration files:
16092
Configuration headers:
16095
Configuration commands:
16098
Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=xchat-gnome>."
16101
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16102
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16104
XChat-GNOME IRC Chat config.status 0.26.1
16105
configured by $0, generated by GNU Autoconf 2.67,
16106
with options \\"\$ac_cs_config\\"
16108
Copyright (C) 2010 Free Software Foundation, Inc.
16109
This config.status script is free software; the Free Software Foundation
16110
gives unlimited permission to copy, distribute and modify it."
16117
test -n "\$AWK" || AWK=awk
16120
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16121
# The default lists apply if the user does not specify any file.
16127
ac_option=`expr "X$1" : 'X\([^=]*\)='`
16128
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16132
ac_option=`expr "X$1" : 'X\([^=]*\)='`
16144
# Handling of the options.
16145
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16147
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16148
$as_echo "$ac_cs_version"; exit ;;
16149
--config | --confi | --conf | --con | --co | --c )
16150
$as_echo "$ac_cs_config"; exit ;;
16151
--debug | --debu | --deb | --de | --d | -d )
16153
--file | --fil | --fi | --f )
16156
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16157
'') as_fn_error $? "missing file argument" ;;
16159
as_fn_append CONFIG_FILES " '$ac_optarg'"
16160
ac_need_defaults=false;;
16161
--header | --heade | --head | --hea )
16164
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16166
as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16167
ac_need_defaults=false;;
16169
# Conflict between --help and --header
16170
as_fn_error $? "ambiguous option: \`$1'
16171
Try \`$0 --help' for more information.";;
16172
--help | --hel | -h )
16173
$as_echo "$ac_cs_usage"; exit ;;
16174
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
16175
| -silent | --silent | --silen | --sile | --sil | --si | --s)
16178
# This is an error.
16179
-*) as_fn_error $? "unrecognized option: \`$1'
16180
Try \`$0 --help' for more information." ;;
16182
*) as_fn_append ac_config_targets " $1"
16183
ac_need_defaults=false ;;
16189
ac_configure_extra_args=
16191
if $ac_cs_silent; then
16193
ac_configure_extra_args="$ac_configure_extra_args --silent"
16197
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16198
if \$ac_cs_recheck; then
16199
set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16201
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16202
CONFIG_SHELL='$SHELL'
16203
export CONFIG_SHELL
16208
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16212
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16213
## Running $as_me. ##
16219
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16223
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16226
# The HP-UX ksh and POSIX shell print the target directory to stdout
16227
# if CDPATH is set.
16228
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16230
sed_quote_subst='$sed_quote_subst'
16231
double_quote_subst='$double_quote_subst'
16232
delay_variable_subst='$delay_variable_subst'
16233
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
16234
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
16235
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
16236
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
16237
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
16238
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
16239
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
16240
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
16241
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
16242
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
16243
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
16244
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
16245
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
16246
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
16247
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
16248
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
16249
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
16250
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
16251
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
16252
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
16253
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
16254
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
16255
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
16256
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
16257
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
16258
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
16259
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
16260
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16261
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
16262
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
16263
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
16264
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
16265
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16266
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
16267
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
16268
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16269
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16270
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16271
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
16272
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16273
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
16274
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
16275
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
16276
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
16277
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"`'
16278
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"`'
16279
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
16280
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
16281
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
16282
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
16283
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
16284
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
16285
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
16286
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
16287
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
16288
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
16289
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
16290
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
16291
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
16292
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
16293
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
16294
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
16295
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16296
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16297
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
16298
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
16299
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16300
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16301
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
16302
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16303
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16304
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16305
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16306
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16307
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16308
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
16309
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16310
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16311
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16312
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
16313
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
16314
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
16315
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
16316
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
16317
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16318
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
16319
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
16320
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
16321
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
16322
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
16323
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16324
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16325
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16326
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16327
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
16328
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
16329
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
16330
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
16331
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
16332
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16333
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16334
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
16335
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16336
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
16337
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16338
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16339
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16340
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16341
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
16342
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
16343
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16344
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16345
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
16346
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
16347
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
16348
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
16349
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
16350
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
16353
LTCFLAGS='$LTCFLAGS'
16354
compiler='$compiler_DEFAULT'
16356
# Quote evaled strings.
16368
deplibs_check_method \
16377
lt_cv_sys_global_symbol_pipe \
16378
lt_cv_sys_global_symbol_to_cdecl \
16379
lt_cv_sys_global_symbol_to_c_name_address \
16380
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16383
lt_prog_compiler_no_builtin_flag \
16384
lt_prog_compiler_wl \
16385
lt_prog_compiler_pic \
16386
lt_prog_compiler_static \
16387
lt_cv_prog_compiler_c_o \
16395
export_dynamic_flag_spec \
16396
whole_archive_flag_spec \
16397
compiler_needs_object \
16399
allow_undefined_flag \
16400
no_undefined_flag \
16401
hardcode_libdir_flag_spec \
16402
hardcode_libdir_flag_spec_ld \
16403
hardcode_libdir_separator \
16408
variables_saved_for_relink \
16410
library_names_spec \
16415
case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16416
*[\\\\\\\`\\"\\\$]*)
16417
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16420
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16425
# Double-quote double-evaled strings.
16426
for var in reload_cmds \
16427
old_postinstall_cmds \
16428
old_postuninstall_cmds \
16430
extract_expsyms_cmds \
16431
old_archive_from_new_cmds \
16432
old_archive_from_expsyms_cmds \
16434
archive_expsym_cmds \
16436
module_expsym_cmds \
16437
export_symbols_cmds \
16440
postuninstall_cmds \
16442
sys_lib_search_path_spec \
16443
sys_lib_dlsearch_path_spec; do
16444
case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16445
*[\\\\\\\`\\"\\\$]*)
16446
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16449
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16454
# Fix-up fallback echo if it was mangled by the above quoting rules.
16456
*'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
16460
ac_aux_dir='$ac_aux_dir'
16461
xsi_shell='$xsi_shell'
16462
lt_shell_append='$lt_shell_append'
16464
# See if we are running on zsh, and set the options which allow our
16465
# commands through without removal of \ escapes INIT.
16466
if test -n "\${ZSH_VERSION+set}" ; then
16467
setopt NO_GLOB_SUBST
16473
TIMESTAMP='$TIMESTAMP'
16483
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16485
# Handling of arguments.
16486
for ac_config_target in $ac_config_targets
16488
case $ac_config_target in
16489
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16490
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16491
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16492
"default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
16493
"data/icons/hicolor/128x128/apps/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/128x128/apps/Makefile" ;;
16494
"data/icons/hicolor/128x128/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/128x128/Makefile" ;;
16495
"data/icons/hicolor/16x16/apps/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/16x16/apps/Makefile" ;;
16496
"data/icons/hicolor/16x16/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/16x16/Makefile" ;;
16497
"data/icons/hicolor/22x22/apps/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/22x22/apps/Makefile" ;;
16498
"data/icons/hicolor/22x22/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/22x22/Makefile" ;;
16499
"data/icons/hicolor/48x48/apps/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/48x48/apps/Makefile" ;;
16500
"data/icons/hicolor/48x48/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/48x48/Makefile" ;;
16501
"data/icons/hicolor/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/Makefile" ;;
16502
"data/icons/hicolor/scalable/apps/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/scalable/apps/Makefile" ;;
16503
"data/icons/hicolor/scalable/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/scalable/Makefile" ;;
16504
"data/icons/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/Makefile" ;;
16505
"data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
16506
"data/xchat-gnome.desktop.in") CONFIG_FILES="$CONFIG_FILES data/xchat-gnome.desktop.in" ;;
16507
"help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
16508
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16509
"plugins/autoaway/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/autoaway/Makefile" ;;
16510
"plugins/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/Makefile" ;;
16511
"plugins/net-monitor/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/net-monitor/Makefile" ;;
16512
"plugins/notification/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/notification/Makefile" ;;
16513
"plugins/notify-osd/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/notify-osd/Makefile" ;;
16514
"plugins/perl/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/perl/Makefile" ;;
16515
"plugins/python/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/python/Makefile" ;;
16516
"plugins/sound-notification/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/sound-notification/Makefile" ;;
16517
"plugins/tcl/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/tcl/Makefile" ;;
16518
"plugins/url_scraper/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/url_scraper/Makefile" ;;
16519
"po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
16520
"src/common/dbus/Makefile") CONFIG_FILES="$CONFIG_FILES src/common/dbus/Makefile" ;;
16521
"src/common/Makefile") CONFIG_FILES="$CONFIG_FILES src/common/Makefile" ;;
16522
"src/fe-gnome/Makefile") CONFIG_FILES="$CONFIG_FILES src/fe-gnome/Makefile" ;;
16523
"src/libcontrast/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcontrast/Makefile" ;;
16524
"src/libeggsmclient/Makefile") CONFIG_FILES="$CONFIG_FILES src/libeggsmclient/Makefile" ;;
16525
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16526
"po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
16528
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
16533
# If the user did not use the arguments to specify the items to instantiate,
16534
# then the envvar interface is used. Set only those that are not.
16535
# We use the long form for the default assignment because of an extremely
16536
# bizarre bug on SunOS 4.1.3.
16537
if $ac_need_defaults; then
16538
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16539
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16540
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16543
# Have a temporary directory for convenience. Make it in the build tree
16544
# simply because there is no reason against having it here, and in addition,
16545
# creating and moving files from /tmp can sometimes cause problems.
16546
# Hook for its removal unless debugging.
16547
# Note that there is a small window in which the directory will not be cleaned:
16548
# after its creation but before its name has been assigned to `$tmp'.
16552
trap 'exit_status=$?
16553
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
16555
trap 'as_fn_exit 1' 1 2 13 15
16557
# Create a (secure) tmp directory for tmp files.
16560
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16561
test -n "$tmp" && test -d "$tmp"
16564
tmp=./conf$$-$RANDOM
16565
(umask 077 && mkdir "$tmp")
16566
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16568
# Set up the scripts for CONFIG_FILES section.
16569
# No need to generate them if there are no CONFIG_FILES.
16570
# This happens for instance with `./config.status config.h'.
16571
if test -n "$CONFIG_FILES"; then
16574
ac_cr=`echo X | tr X '\015'`
16575
# On cygwin, bash can eat \r inside `` if the user requested igncr.
16576
# But we know of no other shell where ac_cr would be empty at this
16577
# point, so we can use a bashism as a fallback.
16578
if test "x$ac_cr" = x; then
16579
eval ac_cr=\$\'\\r\'
16581
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16582
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16585
ac_cs_awk_cr=$ac_cr
16588
echo 'BEGIN {' >"$tmp/subs1.awk" &&
16593
echo "cat >conf$$subs.awk <<_ACEOF" &&
16594
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16596
} >conf$$subs.sh ||
16597
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16598
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16600
for ac_last_try in false false false false false :; do
16601
. ./conf$$subs.sh ||
16602
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16604
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16605
if test $ac_delim_n = $ac_delim_num; then
16607
elif $ac_last_try; then
16608
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16610
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16613
rm -f conf$$subs.sh
16615
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16616
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
16620
s/^/S["/; s/!.*/"]=/
16630
s/\(.\{148\}\)..*/\1/
16632
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16637
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16644
s/\(.\{148\}\)..*/\1/
16646
s/["\\]/\\&/g; s/^/"/; s/$/"/
16650
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16655
' <conf$$subs.awk | sed '
16660
' >>$CONFIG_STATUS || ac_write_fail=1
16661
rm -f conf$$subs.awk
16662
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16664
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
16665
for (key in S) S_is_set[key] = 1
16671
nfields = split(line, field, "@")
16673
len = length(field[1])
16674
for (i = 2; i < nfields; i++) {
16676
keylen = length(key)
16677
if (S_is_set[key]) {
16679
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16680
len += length(value) + length(field[++i])
16691
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16692
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16693
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16696
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
16697
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16700
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16701
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16702
# trailing colons and then remove the whole line if VPATH becomes empty
16703
# (actually we leave an empty line to preserve line numbers).
16704
if test "x$srcdir" = x.; then
16705
ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16723
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16724
fi # test -n "$CONFIG_FILES"
16726
# Set up the scripts for CONFIG_HEADERS section.
16727
# No need to generate them if there are no CONFIG_HEADERS.
16728
# This happens for instance with `./config.status Makefile'.
16729
if test -n "$CONFIG_HEADERS"; then
16730
cat >"$tmp/defines.awk" <<\_ACAWK ||
16734
# Transform confdefs.h into an awk script `defines.awk', embedded as
16735
# here-document in config.status, that substitutes the proper values into
16736
# config.h.in to produce config.h.
16738
# Create a delimiter string that does not exist in confdefs.h, to ease
16739
# handling of long lines.
16741
for ac_last_try in false false :; do
16742
ac_t=`sed -n "/$ac_delim/p" confdefs.h`
16743
if test -z "$ac_t"; then
16745
elif $ac_last_try; then
16746
as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16748
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16752
# For the awk script, D is an array of macro values keyed by name,
16753
# likewise P contains macro parameters if any. Preserve backslash
16754
# newline sequences.
16756
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16758
s/.\{148\}/&'"$ac_delim"'/g
16761
s/^[ ]*#[ ]*define[ ][ ]*/ /
16768
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16770
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
16774
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16775
D["\1"]=" \3\\\\\\n"\\/p
16777
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16782
s/.\{148\}/&'"$ac_delim"'/g
16787
s/["\\]/\\&/g; s/^/"/; s/$/"/p
16790
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16792
' <confdefs.h | sed '
16793
s/'"$ac_delim"'/"\\\
16794
"/g' >>$CONFIG_STATUS || ac_write_fail=1
16796
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16797
for (key in D) D_is_set[key] = 1
16800
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16802
split(line, arg, " ")
16803
if (arg[1] == "#") {
16807
defundef = substr(arg[1], 2)
16810
split(mac1, mac2, "(") #)
16812
prefix = substr(line, 1, index(line, defundef) - 1)
16813
if (D_is_set[macro]) {
16814
# Preserve the white space surrounding the "#".
16815
print prefix "define", macro P[macro] D[macro]
16818
# Replace #undef with comments. This is necessary, for example,
16819
# in the case of _POSIX_SOURCE, which is predefined and required
16820
# on some systems where configure will not decide to define it.
16821
if (defundef == "undef") {
16822
print "/*", prefix defundef, macro, "*/"
16830
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16831
as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16832
fi # test -n "$CONFIG_HEADERS"
16835
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16840
:[FHLC]) ac_mode=$ac_tag; continue;;
16842
case $ac_mode$ac_tag in
16844
:L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
16845
:[FH]-) ac_tag=-:-;;
16846
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16863
-) ac_f="$tmp/stdin";;
16864
*) # Look for the file first in the build tree, then in the source tree
16865
# (if the path is not absolute). The absolute path cannot be DOS-style,
16866
# because $ac_f cannot contain `:'.
16870
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16872
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
16874
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16875
as_fn_append ac_file_inputs " '$ac_f'"
16878
# Let's still pretend it is `configure' which instantiates (i.e., don't
16879
# use $as_me), people would be surprised to read:
16880
# /* config.h. Generated by config.status. */
16881
configure_input='Generated from '`
16882
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16884
if test x"$ac_file" != x-; then
16885
configure_input="$ac_file. $configure_input"
16886
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16887
$as_echo "$as_me: creating $ac_file" >&6;}
16889
# Neutralize special characters interpreted by sed in replacement strings.
16890
case $configure_input in #(
16891
*\&* | *\|* | *\\* )
16892
ac_sed_conf_input=`$as_echo "$configure_input" |
16893
sed 's/[\\\\&|]/\\\\&/g'`;; #(
16894
*) ac_sed_conf_input=$configure_input;;
16898
*:-:* | *:-) cat >"$tmp/stdin" \
16899
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16904
ac_dir=`$as_dirname -- "$ac_file" ||
16905
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16906
X"$ac_file" : 'X\(//\)[^/]' \| \
16907
X"$ac_file" : 'X\(//\)$' \| \
16908
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16909
$as_echo X"$ac_file" |
16910
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16914
/^X\(\/\/\)[^/].*/{
16927
as_dir="$ac_dir"; as_fn_mkdir_p
16931
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16933
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16934
# A ".." for each directory in $ac_dir_suffix.
16935
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16936
case $ac_top_builddir_sub in
16937
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16938
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16941
ac_abs_top_builddir=$ac_pwd
16942
ac_abs_builddir=$ac_pwd$ac_dir_suffix
16943
# for backward compatibility:
16944
ac_top_builddir=$ac_top_build_prefix
16947
.) # We are building in place.
16949
ac_top_srcdir=$ac_top_builddir_sub
16950
ac_abs_top_srcdir=$ac_pwd ;;
16951
[\\/]* | ?:[\\/]* ) # Absolute name.
16952
ac_srcdir=$srcdir$ac_dir_suffix;
16953
ac_top_srcdir=$srcdir
16954
ac_abs_top_srcdir=$srcdir ;;
16955
*) # Relative name.
16956
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16957
ac_top_srcdir=$ac_top_build_prefix$srcdir
16958
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16960
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16970
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16971
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16973
ac_MKDIR_P=$MKDIR_P
16975
[\\/$]* | ?:[\\/]* ) ;;
16976
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16980
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16981
# If the template does not know about datarootdir, expand it.
16982
# FIXME: This hack should be removed a few years after 2.60.
16983
ac_datarootdir_hack=; ac_datarootdir_seen=
16994
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16995
*datarootdir*) ac_datarootdir_seen=yes;;
16996
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16997
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16998
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17000
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17001
ac_datarootdir_hack='
17002
s&@datadir@&$datadir&g
17003
s&@docdir@&$docdir&g
17004
s&@infodir@&$infodir&g
17005
s&@localedir@&$localedir&g
17006
s&@mandir@&$mandir&g
17007
s&\\\${datarootdir}&$datarootdir&g' ;;
17011
# Neutralize VPATH when `$srcdir' = `.'.
17012
# Shell code in configure.ac might set extrasub.
17013
# FIXME: do we really want to maintain this feature?
17014
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17015
ac_sed_extra="$ac_vpsub
17018
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17020
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17021
s|@configure_input@|$ac_sed_conf_input|;t t
17022
s&@top_builddir@&$ac_top_builddir_sub&;t t
17023
s&@top_build_prefix@&$ac_top_build_prefix&;t t
17024
s&@srcdir@&$ac_srcdir&;t t
17025
s&@abs_srcdir@&$ac_abs_srcdir&;t t
17026
s&@top_srcdir@&$ac_top_srcdir&;t t
17027
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17028
s&@builddir@&$ac_builddir&;t t
17029
s&@abs_builddir@&$ac_abs_builddir&;t t
17030
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17031
s&@INSTALL@&$ac_INSTALL&;t t
17032
s&@MKDIR_P@&$ac_MKDIR_P&;t t
17033
$ac_datarootdir_hack
17035
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
17036
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
17038
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17039
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
17040
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
17041
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17042
which seems to be undefined. Please make sure it is defined" >&5
17043
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17044
which seems to be undefined. Please make sure it is defined" >&2;}
17048
-) cat "$tmp/out" && rm -f "$tmp/out";;
17049
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
17051
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
17057
if test x"$ac_file" != x-; then
17059
$as_echo "/* $configure_input */" \
17060
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
17061
} >"$tmp/config.h" \
17062
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
17063
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
17064
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17065
$as_echo "$as_me: $ac_file is unchanged" >&6;}
17068
mv "$tmp/config.h" "$ac_file" \
17069
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
17072
$as_echo "/* $configure_input */" \
17073
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
17074
|| as_fn_error $? "could not create -" "$LINENO" 5
17076
# Compute "$ac_file"'s index in $config_headers.
17079
for _am_header in $config_headers :; do
17080
case $_am_header in
17081
$_am_arg | $_am_arg:* )
17084
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
17087
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17088
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17089
X"$_am_arg" : 'X\(//\)[^/]' \| \
17090
X"$_am_arg" : 'X\(//\)$' \| \
17091
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17092
$as_echo X"$_am_arg" |
17093
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17097
/^X\(\/\/\)[^/].*/{
17109
s/.*/./; q'`/stamp-h$_am_stamp_count
17112
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17113
$as_echo "$as_me: executing $ac_file commands" >&6;}
17118
case $ac_file$ac_mode in
17119
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17120
# Autoconf 2.62 quotes --file arguments for eval, but not when files
17121
# are listed without --file. Let's play safe and only enable the eval
17122
# if we detect the quoting.
17123
case $CONFIG_FILES in
17124
*\'*) eval set x "$CONFIG_FILES" ;;
17125
*) set x $CONFIG_FILES ;;
17130
# Strip MF so we end up with the name of the file.
17131
mf=`echo "$mf" | sed -e 's/:.*$//'`
17132
# Check whether this is an Automake generated Makefile or not.
17133
# We used to match only the files named `Makefile.in', but
17134
# some people rename them; so instead we look at the file content.
17135
# Grep'ing the first line is not enough: some people post-process
17136
# each Makefile.in and add a new line on top of each file to say so.
17137
# Grep'ing the whole file is not good either: AIX grep has a line
17138
# limit of 2048, but all sed's we know have understand at least 4000.
17139
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
17140
dirpart=`$as_dirname -- "$mf" ||
17141
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17142
X"$mf" : 'X\(//\)[^/]' \| \
17143
X"$mf" : 'X\(//\)$' \| \
17144
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17146
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17150
/^X\(\/\/\)[^/].*/{
17166
# Extract the definition of DEPDIR, am__include, and am__quote
17167
# from the Makefile without running `make'.
17168
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17169
test -z "$DEPDIR" && continue
17170
am__include=`sed -n 's/^am__include = //p' < "$mf"`
17171
test -z "am__include" && continue
17172
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17173
# When using ansi2knr, U may be empty or an underscore; expand it
17174
U=`sed -n 's/^U = //p' < "$mf"`
17175
# Find all dependency output files, they are included files with
17176
# $(DEPDIR) in their names. We invoke sed twice because it is the
17177
# simplest approach to changing $(DEPDIR) to its actual value in the
17179
for file in `sed -n "
17180
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17181
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17182
# Make sure the directory exists.
17183
test -f "$dirpart/$file" && continue
17184
fdir=`$as_dirname -- "$file" ||
17185
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17186
X"$file" : 'X\(//\)[^/]' \| \
17187
X"$file" : 'X\(//\)$' \| \
17188
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17189
$as_echo X"$file" |
17190
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17194
/^X\(\/\/\)[^/].*/{
17207
as_dir=$dirpart/$fdir; as_fn_mkdir_p
17208
# echo "creating $dirpart/$file"
17209
echo '# dummy' > "$dirpart/$file"
17216
# See if we are running on zsh, and set the options which allow our
17217
# commands through without removal of \ escapes.
17218
if test -n "${ZSH_VERSION+set}" ; then
17219
setopt NO_GLOB_SUBST
17222
cfgfile="${ofile}T"
17223
trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17226
cat <<_LT_EOF >> "$cfgfile"
17229
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17230
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17231
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17232
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
17234
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17235
# 2006, 2007, 2008 Free Software Foundation, Inc.
17236
# Written by Gordon Matzigkeit, 1996
17238
# This file is part of GNU Libtool.
17240
# GNU Libtool is free software; you can redistribute it and/or
17241
# modify it under the terms of the GNU General Public License as
17242
# published by the Free Software Foundation; either version 2 of
17243
# the License, or (at your option) any later version.
17245
# As a special exception to the GNU General Public License,
17246
# if you distribute this file as part of a program or library that
17247
# is built using GNU Libtool, you may include this file under the
17248
# same distribution terms that you use for the rest of that program.
17250
# GNU Libtool is distributed in the hope that it will be useful,
17251
# but WITHOUT ANY WARRANTY; without even the implied warranty of
17252
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17253
# GNU General Public License for more details.
17255
# You should have received a copy of the GNU General Public License
17256
# along with GNU Libtool; see the file COPYING. If not, a copy
17257
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17258
# obtained by writing to the Free Software Foundation, Inc.,
17259
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17262
# The names of the tagged configurations supported by this script.
17265
# ### BEGIN LIBTOOL CONFIG
17267
# Which release of libtool.m4 was used?
17268
macro_version=$macro_version
17269
macro_revision=$macro_revision
17271
# Whether or not to build shared libraries.
17272
build_libtool_libs=$enable_shared
17274
# Whether or not to build static libraries.
17275
build_old_libs=$enable_static
17277
# What type of objects to build.
17280
# Whether or not to optimize for fast installation.
17281
fast_install=$enable_fast_install
17284
host_alias=$host_alias
17288
# The build system.
17289
build_alias=$build_alias
17293
# A sed program that does not truncate output.
17296
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
17297
Xsed="\$SED -e 1s/^X//"
17299
# A grep program that handles long lines.
17305
# A literal string matcher.
17308
# A BSD- or MS-compatible name lister.
17311
# Whether we need soft or hard links.
17314
# What is the maximum length of a command?
17315
max_cmd_len=$max_cmd_len
17317
# Object file suffix (normally "o").
17320
# Executable file suffix (normally "").
17323
# whether the shell understands "unset".
17326
# turn spaces into newlines.
17329
# turn newlines into spaces.
17332
# How to create reloadable object files.
17333
reload_flag=$lt_reload_flag
17334
reload_cmds=$lt_reload_cmds
17336
# An object symbol dumper.
17337
OBJDUMP=$lt_OBJDUMP
17339
# Method to check whether dependent libraries are shared objects.
17340
deplibs_check_method=$lt_deplibs_check_method
17342
# Command to use when deplibs_check_method == "file_magic".
17343
file_magic_cmd=$lt_file_magic_cmd
17347
AR_FLAGS=$lt_AR_FLAGS
17349
# A symbol stripping program.
17352
# Commands used to install an old-style archive.
17354
old_postinstall_cmds=$lt_old_postinstall_cmds
17355
old_postuninstall_cmds=$lt_old_postuninstall_cmds
17360
# LTCC compiler flags.
17361
LTCFLAGS=$lt_CFLAGS
17363
# Take the output of nm and produce a listing of raw symbols and C names.
17364
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17366
# Transform the output of nm in a proper C declaration.
17367
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17369
# Transform the output of nm in a C name address pair.
17370
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17372
# Transform the output of nm in a C name address pair when lib prefix is needed.
17373
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17375
# The name of the directory that contains temporary libtool files.
17378
# Shell to use when invoking shell scripts.
17381
# An echo program that does not interpret backslashes.
17384
# Used to examine libraries when file_magic_cmd begins with "file".
17385
MAGIC_CMD=$MAGIC_CMD
17387
# Must we lock files when doing compilation?
17388
need_locks=$lt_need_locks
17390
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17391
DSYMUTIL=$lt_DSYMUTIL
17393
# Tool to change global to local symbols on Mac OS X.
17396
# Tool to manipulate fat objects and archives on Mac OS X.
17399
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
17402
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17403
OTOOL64=$lt_OTOOL64
17405
# Old archive suffix (normally "a").
17408
# Shared library suffix (normally ".so").
17409
shrext_cmds=$lt_shrext_cmds
17411
# The commands to extract the exported symbol list from a shared archive.
17412
extract_expsyms_cmds=$lt_extract_expsyms_cmds
17414
# Variables whose values should be saved in libtool wrapper scripts and
17415
# restored at link time.
17416
variables_saved_for_relink=$lt_variables_saved_for_relink
17418
# Do we need the "lib" prefix for modules?
17419
need_lib_prefix=$need_lib_prefix
17421
# Do we need a version for libraries?
17422
need_version=$need_version
17424
# Library versioning type.
17425
version_type=$version_type
17427
# Shared library runtime path variable.
17428
runpath_var=$runpath_var
17430
# Shared library path variable.
17431
shlibpath_var=$shlibpath_var
17433
# Is shlibpath searched before the hard-coded library search path?
17434
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17436
# Format of library name prefix.
17437
libname_spec=$lt_libname_spec
17439
# List of archive names. First name is the real one, the rest are links.
17440
# The last name is the one that the linker finds with -lNAME
17441
library_names_spec=$lt_library_names_spec
17443
# The coded name of the library, if different from the real name.
17444
soname_spec=$lt_soname_spec
17446
# Command to use after installation of a shared archive.
17447
postinstall_cmds=$lt_postinstall_cmds
17449
# Command to use after uninstallation of a shared archive.
17450
postuninstall_cmds=$lt_postuninstall_cmds
17452
# Commands used to finish a libtool library installation in a directory.
17453
finish_cmds=$lt_finish_cmds
17455
# As "finish_cmds", except a single script fragment to be evaled but
17457
finish_eval=$lt_finish_eval
17459
# Whether we should hardcode library paths into libraries.
17460
hardcode_into_libs=$hardcode_into_libs
17462
# Compile-time system search path for libraries.
17463
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17465
# Run-time system search path for libraries.
17466
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17468
# Whether dlopen is supported.
17469
dlopen_support=$enable_dlopen
17471
# Whether dlopen of programs is supported.
17472
dlopen_self=$enable_dlopen_self
17474
# Whether dlopen of statically linked programs is supported.
17475
dlopen_self_static=$enable_dlopen_self_static
17477
# Commands to strip libraries.
17478
old_striplib=$lt_old_striplib
17479
striplib=$lt_striplib
17482
# The linker used to build libraries.
17485
# Commands used to build an old-style archive.
17486
old_archive_cmds=$lt_old_archive_cmds
17488
# A language specific compiler.
17491
# Is the compiler the GNU compiler?
17494
# Compiler flag to turn off builtin functions.
17495
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17497
# How to pass a linker flag through the compiler.
17498
wl=$lt_lt_prog_compiler_wl
17500
# Additional compiler flags for building library objects.
17501
pic_flag=$lt_lt_prog_compiler_pic
17503
# Compiler flag to prevent dynamic linking.
17504
link_static_flag=$lt_lt_prog_compiler_static
17506
# Does compiler simultaneously support -c and -o options?
17507
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17509
# Whether or not to add -lc for building shared libraries.
17510
build_libtool_need_lc=$archive_cmds_need_lc
17512
# Whether or not to disallow shared libs when runtime libs are static.
17513
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17515
# Compiler flag to allow reflexive dlopens.
17516
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17518
# Compiler flag to generate shared objects directly from archives.
17519
whole_archive_flag_spec=$lt_whole_archive_flag_spec
17521
# Whether the compiler copes with passing no objects directly.
17522
compiler_needs_object=$lt_compiler_needs_object
17524
# Create an old-style archive from a shared archive.
17525
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17527
# Create a temporary old-style archive to link instead of a shared archive.
17528
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17530
# Commands used to build a shared archive.
17531
archive_cmds=$lt_archive_cmds
17532
archive_expsym_cmds=$lt_archive_expsym_cmds
17534
# Commands used to build a loadable module if different from building
17535
# a shared archive.
17536
module_cmds=$lt_module_cmds
17537
module_expsym_cmds=$lt_module_expsym_cmds
17539
# Whether we are building with GNU ld or not.
17540
with_gnu_ld=$lt_with_gnu_ld
17542
# Flag that allows shared libraries with undefined symbols to be built.
17543
allow_undefined_flag=$lt_allow_undefined_flag
17545
# Flag that enforces no undefined symbols.
17546
no_undefined_flag=$lt_no_undefined_flag
17548
# Flag to hardcode \$libdir into a binary during linking.
17549
# This must work even if \$libdir does not exist
17550
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17552
# If ld is used when linking, flag to hardcode \$libdir into a binary
17553
# during linking. This must work even if \$libdir does not exist.
17554
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17556
# Whether we need a single "-rpath" flag with a separated argument.
17557
hardcode_libdir_separator=$lt_hardcode_libdir_separator
17559
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17560
# DIR into the resulting binary.
17561
hardcode_direct=$hardcode_direct
17563
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17564
# DIR into the resulting binary and the resulting library dependency is
17565
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17566
# library is relocated.
17567
hardcode_direct_absolute=$hardcode_direct_absolute
17569
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17570
# into the resulting binary.
17571
hardcode_minus_L=$hardcode_minus_L
17573
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17574
# into the resulting binary.
17575
hardcode_shlibpath_var=$hardcode_shlibpath_var
17577
# Set to "yes" if building a shared library automatically hardcodes DIR
17578
# into the library and all subsequent libraries and executables linked
17580
hardcode_automatic=$hardcode_automatic
17582
# Set to yes if linker adds runtime paths of dependent libraries
17583
# to runtime path list.
17584
inherit_rpath=$inherit_rpath
17586
# Whether libtool must link a program against all its dependency libraries.
17587
link_all_deplibs=$link_all_deplibs
17589
# Fix the shell variable \$srcfile for the compiler.
17590
fix_srcfile_path=$lt_fix_srcfile_path
17592
# Set to "yes" if exported symbols are required.
17593
always_export_symbols=$always_export_symbols
17595
# The commands to list exported symbols.
17596
export_symbols_cmds=$lt_export_symbols_cmds
17598
# Symbols that should not be listed in the preloaded symbols.
17599
exclude_expsyms=$lt_exclude_expsyms
17601
# Symbols that must always be exported.
17602
include_expsyms=$lt_include_expsyms
17604
# Commands necessary for linking programs (against libraries) with templates.
17605
prelink_cmds=$lt_prelink_cmds
17607
# Specify filename containing input files.
17608
file_list_spec=$lt_file_list_spec
17610
# How to hardcode a shared library path into an executable.
17611
hardcode_action=$hardcode_action
17613
# ### END LIBTOOL CONFIG
17619
cat <<\_LT_EOF >> "$cfgfile"
17620
# AIX sometimes has problems with the GCC collect2 program. For some
17621
# reason, if we set the COLLECT_NAMES environment variable, the problems
17622
# vanish in a puff of smoke.
17623
if test "X${COLLECT_NAMES+set}" != Xset; then
17625
export COLLECT_NAMES
17632
ltmain="$ac_aux_dir/ltmain.sh"
17635
# We use sed instead of cat because bash on DJGPP gets confused if
17636
# if finds mixed CR/LF and LF-only lines. Since sed operates in
17637
# text mode, it properly converts lines to CR/LF. This bash problem
17638
# is reportedly fixed, but why not run on old versions too?
17639
sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17640
|| (rm -f "$cfgfile"; exit 1)
17644
cat << \_LT_EOF >> "$cfgfile"
17646
# func_dirname file append nondir_replacement
17647
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
17648
# otherwise set result to NONDIR_REPLACEMENT.
17652
*/*) func_dirname_result="${1%/*}${2}" ;;
17653
* ) func_dirname_result="${3}" ;;
17657
# func_basename file
17660
func_basename_result="${1##*/}"
17663
# func_dirname_and_basename file append nondir_replacement
17664
# perform func_basename and func_dirname in a single function
17666
# dirname: Compute the dirname of FILE. If nonempty,
17667
# add APPEND to the result, otherwise set result
17668
# to NONDIR_REPLACEMENT.
17669
# value returned in "$func_dirname_result"
17670
# basename: Compute filename of FILE.
17671
# value retuned in "$func_basename_result"
17672
# Implementation must be kept synchronized with func_dirname
17673
# and func_basename. For efficiency, we do not delegate to
17674
# those functions but instead duplicate the functionality here.
17675
func_dirname_and_basename ()
17678
*/*) func_dirname_result="${1%/*}${2}" ;;
17679
* ) func_dirname_result="${3}" ;;
17681
func_basename_result="${1##*/}"
17684
# func_stripname prefix suffix name
17685
# strip PREFIX and SUFFIX off of NAME.
17686
# PREFIX and SUFFIX must not contain globbing or regex special
17687
# characters, hashes, percent signs, but SUFFIX may contain a leading
17688
# dot (in which case that matches only a dot).
17691
# pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
17692
# positional parameters, so assign one to ordinary parameter first.
17693
func_stripname_result=${3}
17694
func_stripname_result=${func_stripname_result#"${1}"}
17695
func_stripname_result=${func_stripname_result%"${2}"}
17701
func_opt_split_opt=${1%%=*}
17702
func_opt_split_arg=${1#*=}
17709
*.lo) func_lo2o_result=${1%.lo}.${objext} ;;
17710
*) func_lo2o_result=${1} ;;
17714
# func_xform libobj-or-source
17717
func_xform_result=${1%.*}.lo
17720
# func_arith arithmetic-term...
17723
func_arith_result=$(( $* ))
17727
# STRING may not start with a hyphen.
17730
func_len_result=${#1}
17735
*) # Bourne compatible functions.
17736
cat << \_LT_EOF >> "$cfgfile"
17738
# func_dirname file append nondir_replacement
17739
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
17740
# otherwise set result to NONDIR_REPLACEMENT.
17743
# Extract subdirectory from the argument.
17744
func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
17745
if test "X$func_dirname_result" = "X${1}"; then
17746
func_dirname_result="${3}"
17748
func_dirname_result="$func_dirname_result${2}"
17752
# func_basename file
17755
func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
17759
# func_stripname prefix suffix name
17760
# strip PREFIX and SUFFIX off of NAME.
17761
# PREFIX and SUFFIX must not contain globbing or regex special
17762
# characters, hashes, percent signs, but SUFFIX may contain a leading
17763
# dot (in which case that matches only a dot).
17764
# func_strip_suffix prefix name
17768
.*) func_stripname_result=`$ECHO "X${3}" \
17769
| $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
17770
*) func_stripname_result=`$ECHO "X${3}" \
17771
| $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
17776
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
17777
my_sed_long_arg='1s/^-[^=]*=//'
17782
func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
17783
func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
17789
func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
17792
# func_xform libobj-or-source
17795
func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
17798
# func_arith arithmetic-term...
17801
func_arith_result=`expr "$@"`
17805
# STRING may not start with a hyphen.
17808
func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
17814
case $lt_shell_append in
17816
cat << \_LT_EOF >> "$cfgfile"
17818
# func_append var value
17819
# Append VALUE to the end of shell variable VAR.
17827
cat << \_LT_EOF >> "$cfgfile"
17829
# func_append var value
17830
# Append VALUE to the end of shell variable VAR.
17841
sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
17842
|| (rm -f "$cfgfile"; exit 1)
17844
mv -f "$cfgfile" "$ofile" ||
17845
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17849
"default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
17850
sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
17853
if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
17854
as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
17856
rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
17861
'"s|^| $ac_top_srcdir/|" \
17862
"$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
17864
sed '/^POTFILES =/,/[^\\]$/ {
17868
' "po/Makefile.in" >"po/Makefile"
17869
rm -f "po/Makefile.tmp"
17870
mv "po/stamp-it.tmp" "po/stamp-it"
17879
ac_clean_files=$ac_clean_files_save
17881
test $ac_write_fail = 0 ||
17882
as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17885
# configure is writing to config.log, and then calls config.status.
17886
# config.status does its own redirection, appending to config.log.
17887
# Unfortunately, on DOS this fails, as config.log is still kept open
17888
# by configure, so config.status won't be able to write to it; its
17889
# output is simply discarded. So we exec the FD to /dev/null,
17890
# effectively closing config.log, so it can be properly (re)opened and
17891
# appended to by config.status. When coming back to configure, we
17892
# need to make the FD available again.
17893
if test "$no_create" != yes; then
17895
ac_config_status_args=
17896
test "$silent" = yes &&
17897
ac_config_status_args="$ac_config_status_args --quiet"
17899
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17901
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
17902
# would make configure fail if this is the last instruction.
17903
$ac_cs_success || as_fn_exit 1
17905
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17906
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17907
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17912
echo $PACKAGE $VERSION
17915
echo prefix............... : $prefix