2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.65 for cairo-dock 2.1.3-10-lucid.
5
# Report bugs to <Fabrice Rey (fabounet@users.berlios.de)>.
8
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
13
# This configure script is free software; the Free Software Foundation
14
# gives unlimited permission to copy, distribute and modify it.
15
## -------------------- ##
16
## M4sh Initialization. ##
17
## -------------------- ##
19
# Be more Bourne compatible
20
DUALCASE=1; export DUALCASE # for MKS sh
21
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25
# is contrary to our usage. Disable this feature.
26
alias -g '${1+"$@"}'='"$@"'
29
case `(set -o) 2>/dev/null` in #(
41
# Printing a long string crashes Solaris 7 /usr/bin/printf.
42
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45
# Prefer a ksh shell builtin over an external printf program on Solaris,
46
# but without wasting forks for bash or zsh.
47
if test -z "$BASH_VERSION$ZSH_VERSION" \
48
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50
as_echo_n='print -rn --'
51
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57
as_echo_n='/usr/ucb/echo -n'
59
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64
expr "X$arg" : "X\\(.*\\)$as_nl";
65
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70
as_echo_n='sh -c $as_echo_n_body as_echo'
73
as_echo='sh -c $as_echo_body as_echo'
76
# The user is always right.
77
if test "${PATH_SEPARATOR+set}" != set; then
79
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87
# We need space, tab and new line, in precisely that order. Quoting is
88
# there to prevent editors from complaining about space-tab.
89
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
90
# splitting by setting IFS to empty value.)
93
# Find who we are. Look in the path if we contain no directory separator.
95
*[\\/]* ) as_myself=$0 ;;
96
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100
test -z "$as_dir" && as_dir=.
101
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107
# We did not find ourselves, most probably we were run as `sh COMMAND'
108
# in which case we are not to be found in the path.
109
if test "x$as_myself" = x; then
112
if test ! -f "$as_myself"; then
113
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117
# Unset variables that we do not need and which cause bugs (e.g. in
118
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119
# suppresses any "Segmentation fault" message there. '((' could
120
# trigger a bug in pdksh 5.2.14.
121
for as_var in BASH_ENV ENV MAIL MAILPATH
122
do eval test x\${$as_var+set} = xset \
123
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
136
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138
if test "x$CONFIG_SHELL" = x; then
139
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143
# is contrary to our usage. Disable this feature.
144
alias -g '\${1+\"\$@\"}'='\"\$@\"'
147
case \`(set -o) 2>/dev/null\` in #(
155
as_required="as_fn_return () { (exit \$1); }
156
as_fn_success () { as_fn_return 0; }
157
as_fn_failure () { as_fn_return 1; }
158
as_fn_ret_success () { return 0; }
159
as_fn_ret_failure () { return 1; }
162
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169
exitcode=1; echo positional parameters were not saved.
171
test x\$exitcode = x0 || exit 1"
172
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176
test \$(( 1 + 1 )) = 2 || exit 1"
177
if (eval "$as_required") 2>/dev/null; then :
182
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
185
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
187
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
190
test -z "$as_dir" && as_dir=.
194
for as_base in sh bash ksh sh5; do
195
# Try only shells that exist, to save several forks.
196
as_shell=$as_dir/$as_base
197
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
199
CONFIG_SHELL=$as_shell as_have_required=yes
200
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
208
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
210
CONFIG_SHELL=$SHELL as_have_required=yes
215
if test "x$CONFIG_SHELL" != x; then :
216
# We cannot yet assume a decent shell, so we have to provide a
217
# neutralization value for shells without unset; and this also
218
# works around shells that cannot unset nonexistent variables.
221
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
223
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
226
if test x$as_have_required = xno; then :
227
$as_echo "$0: This script requires a shell more modern than all"
228
$as_echo "$0: the shells that I found on your system."
229
if test x${ZSH_VERSION+set} = xset ; then
230
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
233
$as_echo "$0: Please tell bug-autoconf@gnu.org and Fabrice Rey
234
$0: (fabounet@users.berlios.de) about your system,
235
$0: including any error possibly output before this
236
$0: message. Then install a modern shell, or manually run
237
$0: the script under such a shell if you do have one."
243
SHELL=${CONFIG_SHELL-/bin/sh}
245
# Unset more variables known to interfere with behavior of common tools.
246
CLICOLOR_FORCE= GREP_OPTIONS=
247
unset CLICOLOR_FORCE GREP_OPTIONS
249
## --------------------- ##
250
## M4sh Shell Functions. ##
251
## --------------------- ##
254
# Portably unset VAR.
257
{ eval $1=; unset $1;}
261
# as_fn_set_status STATUS
262
# -----------------------
263
# Set $? to STATUS, without forking.
271
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
281
# Create "$as_dir" as a directory, including parents if necessary.
286
-*) as_dir=./$as_dir;;
288
test -d "$as_dir" || eval $as_mkdir_p || {
292
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
295
as_dirs="'$as_qdir' $as_dirs"
296
as_dir=`$as_dirname -- "$as_dir" ||
297
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
298
X"$as_dir" : 'X\(//\)[^/]' \| \
299
X"$as_dir" : 'X\(//\)$' \| \
300
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
301
$as_echo X"$as_dir" |
302
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
319
test -d "$as_dir" && break
321
test -z "$as_dirs" || eval "mkdir $as_dirs"
322
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
326
# as_fn_append VAR VALUE
327
# ----------------------
328
# Append the text in VALUE to the end of the definition contained in VAR. Take
329
# advantage of any shell optimizations that allow amortized linear growth over
330
# repeated appends, instead of the typical quadratic growth present in naive
332
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
333
eval 'as_fn_append ()
346
# Perform arithmetic evaluation on the ARGs, and store the result in the
347
# global $as_val. Take advantage of shells that can avoid forks. The arguments
348
# must be portable across $(()) and expr.
349
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
357
as_val=`expr "$@" || test $? -eq 1`
362
# as_fn_error ERROR [LINENO LOG_FD]
363
# ---------------------------------
364
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
365
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
366
# script with status $?, using 1 if that was 0.
369
as_status=$?; test $as_status -eq 0 && as_status=1
371
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
372
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
374
$as_echo "$as_me: error: $1" >&2
375
as_fn_exit $as_status
378
if expr a : '\(a\)' >/dev/null 2>&1 &&
379
test "X`expr 00001 : '.*\(...\)'`" = X001; then
385
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
391
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
397
as_me=`$as_basename -- "$0" ||
398
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
399
X"$0" : 'X\(//\)$' \| \
400
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
402
sed '/^.*\/\([^/][^/]*\)\/*$/{
416
# Avoid depending upon Character Ranges.
417
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
418
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
419
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
420
as_cr_digits='0123456789'
421
as_cr_alnum=$as_cr_Letters$as_cr_digits
424
as_lineno_1=$LINENO as_lineno_1a=$LINENO
425
as_lineno_2=$LINENO as_lineno_2a=$LINENO
426
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
427
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
428
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
440
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444
chmod +x "$as_me.lineno" ||
445
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
447
# Don't try to exec as it changes $[0], causing all sort of problems
448
# (the dirname of $[0] is not the place where we might find the
449
# original and so on. Autoconf is especially sensitive to this).
451
# Exit status is that of the last command.
455
ECHO_C= ECHO_N= ECHO_T=
456
case `echo -n x` in #(((((
458
case `echo 'xy\c'` in
459
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
461
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
468
rm -f conf$$ conf$$.exe conf$$.file
469
if test -d conf$$.dir; then
470
rm -f conf$$.dir/conf$$.file
473
mkdir conf$$.dir 2>/dev/null
475
if (echo >conf$$.file) 2>/dev/null; then
476
if ln -s conf$$.file conf$$ 2>/dev/null; then
478
# ... but there are two gotchas:
479
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
480
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
481
# In both cases, we have to default to `cp -p'.
482
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
484
elif ln conf$$.file conf$$ 2>/dev/null; then
492
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
493
rmdir conf$$.dir 2>/dev/null
495
if mkdir -p . 2>/dev/null; then
496
as_mkdir_p='mkdir -p "$as_dir"'
498
test -d ./-p && rmdir ./-p
502
if test -x / >/dev/null 2>&1; then
505
if ls -dL / >/dev/null 2>&1; then
512
if test -d "$1"; then
518
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
519
???[sx]*):;;*)false;;esac;fi
523
as_executable_p=$as_test_x
525
# Sed expression to map a string onto a valid CPP name.
526
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
528
# Sed expression to map a string onto a valid variable name.
529
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
533
# Check that we are running under the correct shell.
534
SHELL=${CONFIG_SHELL-/bin/sh}
538
# Remove one level of quotation (which was required for Make).
539
ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
544
if test "X$1" = X--no-reexec; then
545
# Discard the --no-reexec flag, and continue.
547
elif test "X$1" = X--fallback-echo; then
548
# Avoid inline document here, it may be left over
550
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
551
# Yippee, $ECHO works!
554
# Restart under the correct shell.
555
exec $SHELL "$0" --no-reexec ${1+"$@"}
558
if test "X$1" = X--fallback-echo; then
559
# used as fallback echo
567
# The HP-UX ksh and POSIX shell print the target directory to stdout
569
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
571
if test -z "$lt_ECHO"; then
572
if test "X${echo_test_string+set}" != Xset; then
573
# find a string as large as possible, as long as the shell can cope with it
574
for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
575
# expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
576
if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
577
{ test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
584
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
585
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
586
test "X$echo_testing_string" = "X$echo_test_string"; then
589
# The Solaris, AIX, and Digital Unix default echo programs unquote
590
# backslashes. This makes it impossible to quote backslashes using
591
# echo "$something" | sed 's/\\/\\\\/g'
593
# So, first we look for a working echo in the user's PATH.
595
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
596
for dir in $PATH /usr/ucb; do
598
if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
599
test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
600
echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
601
test "X$echo_testing_string" = "X$echo_test_string"; then
608
if test "X$ECHO" = Xecho; then
609
# We didn't find a better echo, so look for alternatives.
610
if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
611
echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
612
test "X$echo_testing_string" = "X$echo_test_string"; then
613
# This shell has a builtin print -r that does the trick.
615
elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
616
test "X$CONFIG_SHELL" != X/bin/ksh; then
617
# If we have ksh, try running configure again with it.
618
ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
619
export ORIGINAL_CONFIG_SHELL
620
CONFIG_SHELL=/bin/ksh
622
exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
626
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
627
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
628
test "X$echo_testing_string" = "X$echo_test_string"; then
631
elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
632
test "X$echo_testing_string" = 'X\t' &&
633
echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
634
test "X$echo_testing_string" = "X$echo_test_string"; then
635
CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
637
SHELL="$CONFIG_SHELL"
639
ECHO="$CONFIG_SHELL $0 --fallback-echo"
640
elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
641
test "X$echo_testing_string" = 'X\t' &&
642
echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
643
test "X$echo_testing_string" = "X$echo_test_string"; then
644
ECHO="$CONFIG_SHELL $0 --fallback-echo"
646
# maybe with a smaller string...
649
for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
650
if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
657
if test "$prev" != 'sed 50q "$0"'; then
658
echo_test_string=`eval $prev`
659
export echo_test_string
660
exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
662
# Oops. We lost completely, so just stick with echo.
671
# Copy echo and quote the copy suitably for passing to libtool from
672
# the Makefile, instead of quoting the original, which is used later.
674
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
675
lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
681
test -n "$DJDIR" || exec 7<&0 </dev/null
685
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
686
# so uname gets run too.
687
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
692
ac_default_prefix=/usr/local
694
ac_config_libobj_dir=.
701
# Identity of this package.
702
PACKAGE_NAME='cairo-dock'
703
PACKAGE_TARNAME='cairo-dock'
704
PACKAGE_VERSION='2.1.3-10-lucid'
705
PACKAGE_STRING='cairo-dock 2.1.3-10-lucid'
706
PACKAGE_BUGREPORT='Fabrice Rey (fabounet@users.berlios.de)'
709
ac_unique_file="config.h.in"
710
# Factoring default headers for most tests.
711
ac_includes_default="\
713
#ifdef HAVE_SYS_TYPES_H
714
# include <sys/types.h>
716
#ifdef HAVE_SYS_STAT_H
717
# include <sys/stat.h>
723
# ifdef HAVE_STDLIB_H
728
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
733
#ifdef HAVE_STRINGS_H
734
# include <strings.h>
736
#ifdef HAVE_INTTYPES_H
737
# include <inttypes.h>
746
ac_subst_vars='am__EXEEXT_FALSE
766
CAIRO_DOCK_THEMES_DIR
787
INTLTOOL_SERVICE_RULE
789
INTLTOOL_SCHEMAS_RULE
791
INTLTOOL_XML_NOMERGE_RULE
796
INTLTOOL_SOUNDLIST_RULE
803
INTLTOOL_DIRECTORY_RULE
804
INTLTOOL_DESKTOP_RULE
861
INSTALL_STRIP_PROGRAM
903
program_transform_name
916
enable_option_checking
921
enable_dependency_tracking
928
ac_precious_vars='build_alias
946
# Initialize some variables set by options.
948
ac_init_version=false
949
ac_unrecognized_opts=
951
# The variables have the same names as the options, with
952
# dashes changed to underlines.
960
program_transform_name=s,x,x,
968
# Installation directory options.
969
# These are left unexpanded so users can "make install exec_prefix=/foo"
970
# and all the variables that are supposed to be based on exec_prefix
971
# by default will actually change.
972
# Use braces instead of parens because sh, perl, etc. also accept them.
973
# (The list follows the same order as the GNU Coding Standards.)
974
bindir='${exec_prefix}/bin'
975
sbindir='${exec_prefix}/sbin'
976
libexecdir='${exec_prefix}/libexec'
977
datarootdir='${prefix}/share'
978
datadir='${datarootdir}'
979
sysconfdir='${prefix}/etc'
980
sharedstatedir='${prefix}/com'
981
localstatedir='${prefix}/var'
982
includedir='${prefix}/include'
983
oldincludedir='/usr/include'
984
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
985
infodir='${datarootdir}/info'
990
libdir='${exec_prefix}/lib'
991
localedir='${datarootdir}/locale'
992
mandir='${datarootdir}/man'
998
# If the previous option needs an argument, assign it.
999
if test -n "$ac_prev"; then
1000
eval $ac_prev=\$ac_option
1006
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1010
# Accept the important Cygnus configure options, so we can diagnose typos.
1012
case $ac_dashdash$ac_option in
1016
-bindir | --bindir | --bindi | --bind | --bin | --bi)
1018
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1019
bindir=$ac_optarg ;;
1021
-build | --build | --buil | --bui | --bu)
1022
ac_prev=build_alias ;;
1023
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
1024
build_alias=$ac_optarg ;;
1026
-cache-file | --cache-file | --cache-fil | --cache-fi \
1027
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1028
ac_prev=cache_file ;;
1029
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1030
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1031
cache_file=$ac_optarg ;;
1033
--config-cache | -C)
1034
cache_file=config.cache ;;
1036
-datadir | --datadir | --datadi | --datad)
1038
-datadir=* | --datadir=* | --datadi=* | --datad=*)
1039
datadir=$ac_optarg ;;
1041
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1042
| --dataroo | --dataro | --datar)
1043
ac_prev=datarootdir ;;
1044
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1045
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1046
datarootdir=$ac_optarg ;;
1048
-disable-* | --disable-*)
1049
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1050
# Reject names that are not valid shell variable names.
1051
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1052
as_fn_error "invalid feature name: $ac_useropt"
1053
ac_useropt_orig=$ac_useropt
1054
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1055
case $ac_user_opts in
1057
"enable_$ac_useropt"
1059
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1060
ac_unrecognized_sep=', ';;
1062
eval enable_$ac_useropt=no ;;
1064
-docdir | --docdir | --docdi | --doc | --do)
1066
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1067
docdir=$ac_optarg ;;
1069
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1071
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1072
dvidir=$ac_optarg ;;
1074
-enable-* | --enable-*)
1075
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1076
# Reject names that are not valid shell variable names.
1077
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1078
as_fn_error "invalid feature name: $ac_useropt"
1079
ac_useropt_orig=$ac_useropt
1080
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1081
case $ac_user_opts in
1083
"enable_$ac_useropt"
1085
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1086
ac_unrecognized_sep=', ';;
1088
eval enable_$ac_useropt=\$ac_optarg ;;
1090
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1091
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1092
| --exec | --exe | --ex)
1093
ac_prev=exec_prefix ;;
1094
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1095
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1096
| --exec=* | --exe=* | --ex=*)
1097
exec_prefix=$ac_optarg ;;
1099
-gas | --gas | --ga | --g)
1100
# Obsolete; use --with-gas.
1103
-help | --help | --hel | --he | -h)
1104
ac_init_help=long ;;
1105
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1106
ac_init_help=recursive ;;
1107
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1108
ac_init_help=short ;;
1110
-host | --host | --hos | --ho)
1111
ac_prev=host_alias ;;
1112
-host=* | --host=* | --hos=* | --ho=*)
1113
host_alias=$ac_optarg ;;
1115
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1117
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1119
htmldir=$ac_optarg ;;
1121
-includedir | --includedir | --includedi | --included | --include \
1122
| --includ | --inclu | --incl | --inc)
1123
ac_prev=includedir ;;
1124
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1125
| --includ=* | --inclu=* | --incl=* | --inc=*)
1126
includedir=$ac_optarg ;;
1128
-infodir | --infodir | --infodi | --infod | --info | --inf)
1130
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1131
infodir=$ac_optarg ;;
1133
-libdir | --libdir | --libdi | --libd)
1135
-libdir=* | --libdir=* | --libdi=* | --libd=*)
1136
libdir=$ac_optarg ;;
1138
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1139
| --libexe | --libex | --libe)
1140
ac_prev=libexecdir ;;
1141
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1142
| --libexe=* | --libex=* | --libe=*)
1143
libexecdir=$ac_optarg ;;
1145
-localedir | --localedir | --localedi | --localed | --locale)
1146
ac_prev=localedir ;;
1147
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1148
localedir=$ac_optarg ;;
1150
-localstatedir | --localstatedir | --localstatedi | --localstated \
1151
| --localstate | --localstat | --localsta | --localst | --locals)
1152
ac_prev=localstatedir ;;
1153
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1154
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1155
localstatedir=$ac_optarg ;;
1157
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1159
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1160
mandir=$ac_optarg ;;
1162
-nfp | --nfp | --nf)
1163
# Obsolete; use --without-fp.
1166
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
1167
| --no-cr | --no-c | -n)
1170
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
1171
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1174
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1175
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1176
| --oldin | --oldi | --old | --ol | --o)
1177
ac_prev=oldincludedir ;;
1178
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1179
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1180
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1181
oldincludedir=$ac_optarg ;;
1183
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1185
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1186
prefix=$ac_optarg ;;
1188
-program-prefix | --program-prefix | --program-prefi | --program-pref \
1189
| --program-pre | --program-pr | --program-p)
1190
ac_prev=program_prefix ;;
1191
-program-prefix=* | --program-prefix=* | --program-prefi=* \
1192
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1193
program_prefix=$ac_optarg ;;
1195
-program-suffix | --program-suffix | --program-suffi | --program-suff \
1196
| --program-suf | --program-su | --program-s)
1197
ac_prev=program_suffix ;;
1198
-program-suffix=* | --program-suffix=* | --program-suffi=* \
1199
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1200
program_suffix=$ac_optarg ;;
1202
-program-transform-name | --program-transform-name \
1203
| --program-transform-nam | --program-transform-na \
1204
| --program-transform-n | --program-transform- \
1205
| --program-transform | --program-transfor \
1206
| --program-transfo | --program-transf \
1207
| --program-trans | --program-tran \
1208
| --progr-tra | --program-tr | --program-t)
1209
ac_prev=program_transform_name ;;
1210
-program-transform-name=* | --program-transform-name=* \
1211
| --program-transform-nam=* | --program-transform-na=* \
1212
| --program-transform-n=* | --program-transform-=* \
1213
| --program-transform=* | --program-transfor=* \
1214
| --program-transfo=* | --program-transf=* \
1215
| --program-trans=* | --program-tran=* \
1216
| --progr-tra=* | --program-tr=* | --program-t=*)
1217
program_transform_name=$ac_optarg ;;
1219
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1221
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1222
pdfdir=$ac_optarg ;;
1224
-psdir | --psdir | --psdi | --psd | --ps)
1226
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1229
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1230
| -silent | --silent | --silen | --sile | --sil)
1233
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1235
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1237
sbindir=$ac_optarg ;;
1239
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1240
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1241
| --sharedst | --shareds | --shared | --share | --shar \
1243
ac_prev=sharedstatedir ;;
1244
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1245
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1246
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1248
sharedstatedir=$ac_optarg ;;
1250
-site | --site | --sit)
1252
-site=* | --site=* | --sit=*)
1255
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1257
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1258
srcdir=$ac_optarg ;;
1260
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1261
| --syscon | --sysco | --sysc | --sys | --sy)
1262
ac_prev=sysconfdir ;;
1263
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1264
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1265
sysconfdir=$ac_optarg ;;
1267
-target | --target | --targe | --targ | --tar | --ta | --t)
1268
ac_prev=target_alias ;;
1269
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1270
target_alias=$ac_optarg ;;
1272
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1275
-version | --version | --versio | --versi | --vers | -V)
1276
ac_init_version=: ;;
1279
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1280
# Reject names that are not valid shell variable names.
1281
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1282
as_fn_error "invalid package name: $ac_useropt"
1283
ac_useropt_orig=$ac_useropt
1284
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1285
case $ac_user_opts in
1289
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1290
ac_unrecognized_sep=', ';;
1292
eval with_$ac_useropt=\$ac_optarg ;;
1294
-without-* | --without-*)
1295
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1296
# Reject names that are not valid shell variable names.
1297
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1298
as_fn_error "invalid package name: $ac_useropt"
1299
ac_useropt_orig=$ac_useropt
1300
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1301
case $ac_user_opts in
1305
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1306
ac_unrecognized_sep=', ';;
1308
eval with_$ac_useropt=no ;;
1311
# Obsolete; use --with-x.
1314
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1315
| --x-incl | --x-inc | --x-in | --x-i)
1316
ac_prev=x_includes ;;
1317
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1318
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1319
x_includes=$ac_optarg ;;
1321
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1322
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1323
ac_prev=x_libraries ;;
1324
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1325
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1326
x_libraries=$ac_optarg ;;
1328
-*) as_fn_error "unrecognized option: \`$ac_option'
1329
Try \`$0 --help' for more information."
1333
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1334
# Reject names that are not valid shell variable names.
1335
case $ac_envvar in #(
1336
'' | [0-9]* | *[!_$as_cr_alnum]* )
1337
as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1339
eval $ac_envvar=\$ac_optarg
1340
export $ac_envvar ;;
1343
# FIXME: should be removed in autoconf 3.0.
1344
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1345
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1346
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1347
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1353
if test -n "$ac_prev"; then
1354
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1355
as_fn_error "missing argument to $ac_option"
1358
if test -n "$ac_unrecognized_opts"; then
1359
case $enable_option_checking in
1361
fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1362
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1366
# Check all directory arguments for consistency.
1367
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1368
datadir sysconfdir sharedstatedir localstatedir includedir \
1369
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1370
libdir localedir mandir
1372
eval ac_val=\$$ac_var
1373
# Remove trailing slashes.
1376
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1377
eval $ac_var=\$ac_val;;
1379
# Be sure to have absolute directory names.
1381
[\\/$]* | ?:[\\/]* ) continue;;
1382
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1384
as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1387
# There might be people who depend on the old broken behavior: `$host'
1388
# used to hold the argument of --host etc.
1389
# FIXME: To remove some day.
1392
target=$target_alias
1394
# FIXME: To remove some day.
1395
if test "x$host_alias" != x; then
1396
if test "x$build_alias" = x; then
1397
cross_compiling=maybe
1398
$as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1399
If a cross compiler is detected then cross compile mode will be used." >&2
1400
elif test "x$build_alias" != "x$host_alias"; then
1406
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1408
test "$silent" = yes && exec 6>/dev/null
1411
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1412
ac_ls_di=`ls -di .` &&
1413
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1414
as_fn_error "working directory cannot be determined"
1415
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1416
as_fn_error "pwd does not report name of working directory"
1419
# Find the source files, if location was not specified.
1420
if test -z "$srcdir"; then
1421
ac_srcdir_defaulted=yes
1422
# Try the directory containing this script, then the parent directory.
1423
ac_confdir=`$as_dirname -- "$as_myself" ||
1424
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1425
X"$as_myself" : 'X\(//\)[^/]' \| \
1426
X"$as_myself" : 'X\(//\)$' \| \
1427
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1428
$as_echo X"$as_myself" |
1429
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1447
if test ! -r "$srcdir/$ac_unique_file"; then
1451
ac_srcdir_defaulted=no
1453
if test ! -r "$srcdir/$ac_unique_file"; then
1454
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1455
as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1457
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1459
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1461
# When building in place, set srcdir=.
1462
if test "$ac_abs_confdir" = "$ac_pwd"; then
1465
# Remove unnecessary trailing slashes from srcdir.
1466
# Double slashes in file names in object file debugging info
1467
# mess up M-x gdb in Emacs.
1469
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1471
for ac_var in $ac_precious_vars; do
1472
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1473
eval ac_env_${ac_var}_value=\$${ac_var}
1474
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1475
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1479
# Report the --help message.
1481
if test "$ac_init_help" = "long"; then
1482
# Omit some internal or obsolete options to make the list less imposing.
1483
# This message is too long to be a string in the A/UX 3.1 sh.
1485
\`configure' configures cairo-dock 2.1.3-10-lucid to adapt to many kinds of systems.
1487
Usage: $0 [OPTION]... [VAR=VALUE]...
1489
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1490
VAR=VALUE. See below for descriptions of some of the useful variables.
1492
Defaults for the options are specified in brackets.
1495
-h, --help display this help and exit
1496
--help=short display options specific to this package
1497
--help=recursive display the short help of all the included packages
1498
-V, --version display version information and exit
1499
-q, --quiet, --silent do not print \`checking...' messages
1500
--cache-file=FILE cache test results in FILE [disabled]
1501
-C, --config-cache alias for \`--cache-file=config.cache'
1502
-n, --no-create do not create output files
1503
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1505
Installation directories:
1506
--prefix=PREFIX install architecture-independent files in PREFIX
1507
[$ac_default_prefix]
1508
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1511
By default, \`make install' will install all the files in
1512
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1513
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1514
for instance \`--prefix=\$HOME'.
1516
For better control, use the options below.
1518
Fine tuning of the installation directories:
1519
--bindir=DIR user executables [EPREFIX/bin]
1520
--sbindir=DIR system admin executables [EPREFIX/sbin]
1521
--libexecdir=DIR program executables [EPREFIX/libexec]
1522
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1523
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1524
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1525
--libdir=DIR object code libraries [EPREFIX/lib]
1526
--includedir=DIR C header files [PREFIX/include]
1527
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1528
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1529
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1530
--infodir=DIR info documentation [DATAROOTDIR/info]
1531
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1532
--mandir=DIR man documentation [DATAROOTDIR/man]
1533
--docdir=DIR documentation root [DATAROOTDIR/doc/cairo-dock]
1534
--htmldir=DIR html documentation [DOCDIR]
1535
--dvidir=DIR dvi documentation [DOCDIR]
1536
--pdfdir=DIR pdf documentation [DOCDIR]
1537
--psdir=DIR ps documentation [DOCDIR]
1543
--program-prefix=PREFIX prepend PREFIX to installed program names
1544
--program-suffix=SUFFIX append SUFFIX to installed program names
1545
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1548
--build=BUILD configure for building on BUILD [guessed]
1549
--host=HOST cross-compile to build programs to run on HOST [BUILD]
1553
if test -n "$ac_init_help"; then
1554
case $ac_init_help in
1555
short | recursive ) echo "Configuration of cairo-dock 2.1.3-10-lucid:";;
1560
--disable-option-checking ignore unrecognized --enable/--with options
1561
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1562
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1563
--enable-shared[=PKGS] build shared libraries [default=yes]
1564
--enable-static[=PKGS] build static libraries [default=yes]
1565
--enable-fast-install[=PKGS]
1566
optimize for fast installation [default=yes]
1567
--disable-dependency-tracking speeds up one-time build
1568
--enable-dependency-tracking do not reject slow dependency extractors
1569
--disable-libtool-lock avoid locking (might break parallel builds)
1570
--disable-nls do not use Native Language Support
1571
--enable-xextend : Enable X Extensions
1572
--enable-glitz : Turn on hardware acceleration through Glitz (deprecated)
1575
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1576
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1577
--with-pic try to use only PIC/non-PIC objects [default=use
1579
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
1581
Some influential environment variables:
1582
CC C compiler command
1583
CFLAGS C compiler flags
1584
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1585
nonstandard directory <lib dir>
1586
LIBS libraries to pass to the linker, e.g. -l<library>
1587
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1588
you have headers in a nonstandard directory <include dir>
1590
PKG_CONFIG path to pkg-config utility
1592
C compiler flags for PACKAGE, overriding pkg-config
1594
linker flags for PACKAGE, overriding pkg-config
1596
C compiler flags for XEXTEND, overriding pkg-config
1598
linker flags for XEXTEND, overriding pkg-config
1600
C compiler flags for GLITZ, overriding pkg-config
1601
GLITZ_LIBS linker flags for GLITZ, overriding pkg-config
1603
Use these variables to override the choices made by `configure' or to help
1604
it to find libraries and programs with nonstandard names/locations.
1606
Report bugs to <Fabrice Rey (fabounet@users.berlios.de)>.
1611
if test "$ac_init_help" = "recursive"; then
1612
# If there are subdirs, report their specific --help.
1613
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1614
test -d "$ac_dir" ||
1615
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1620
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1622
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1623
# A ".." for each directory in $ac_dir_suffix.
1624
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1625
case $ac_top_builddir_sub in
1626
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1627
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1630
ac_abs_top_builddir=$ac_pwd
1631
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1632
# for backward compatibility:
1633
ac_top_builddir=$ac_top_build_prefix
1636
.) # We are building in place.
1638
ac_top_srcdir=$ac_top_builddir_sub
1639
ac_abs_top_srcdir=$ac_pwd ;;
1640
[\\/]* | ?:[\\/]* ) # Absolute name.
1641
ac_srcdir=$srcdir$ac_dir_suffix;
1642
ac_top_srcdir=$srcdir
1643
ac_abs_top_srcdir=$srcdir ;;
1645
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1646
ac_top_srcdir=$ac_top_build_prefix$srcdir
1647
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1649
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1651
cd "$ac_dir" || { ac_status=$?; continue; }
1652
# Check for guested configure.
1653
if test -f "$ac_srcdir/configure.gnu"; then
1655
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1656
elif test -f "$ac_srcdir/configure"; then
1658
$SHELL "$ac_srcdir/configure" --help=recursive
1660
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1662
cd "$ac_pwd" || { ac_status=$?; break; }
1666
test -n "$ac_init_help" && exit $ac_status
1667
if $ac_init_version; then
1669
cairo-dock configure 2.1.3-10-lucid
1670
generated by GNU Autoconf 2.65
1672
Copyright (C) 2009 Free Software Foundation, Inc.
1673
This configure script is free software; the Free Software Foundation
1674
gives unlimited permission to copy, distribute and modify it.
1679
## ------------------------ ##
1680
## Autoconf initialization. ##
1681
## ------------------------ ##
1683
# ac_fn_c_try_compile LINENO
1684
# --------------------------
1685
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1686
ac_fn_c_try_compile ()
1688
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1689
rm -f conftest.$ac_objext
1690
if { { ac_try="$ac_compile"
1692
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1693
*) ac_try_echo=$ac_try;;
1695
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1696
$as_echo "$ac_try_echo"; } >&5
1697
(eval "$ac_compile") 2>conftest.err
1699
if test -s conftest.err; then
1700
grep -v '^ *+' conftest.err >conftest.er1
1701
cat conftest.er1 >&5
1702
mv -f conftest.er1 conftest.err
1704
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1705
test $ac_status = 0; } && {
1706
test -z "$ac_c_werror_flag" ||
1707
test ! -s conftest.err
1708
} && test -s conftest.$ac_objext; then :
1711
$as_echo "$as_me: failed program was:" >&5
1712
sed 's/^/| /' conftest.$ac_ext >&5
1716
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1717
as_fn_set_status $ac_retval
1719
} # ac_fn_c_try_compile
1721
# ac_fn_c_try_link LINENO
1722
# -----------------------
1723
# Try to link conftest.$ac_ext, and return whether this succeeded.
1726
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1727
rm -f conftest.$ac_objext conftest$ac_exeext
1728
if { { ac_try="$ac_link"
1730
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1731
*) ac_try_echo=$ac_try;;
1733
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1734
$as_echo "$ac_try_echo"; } >&5
1735
(eval "$ac_link") 2>conftest.err
1737
if test -s conftest.err; then
1738
grep -v '^ *+' conftest.err >conftest.er1
1739
cat conftest.er1 >&5
1740
mv -f conftest.er1 conftest.err
1742
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1743
test $ac_status = 0; } && {
1744
test -z "$ac_c_werror_flag" ||
1745
test ! -s conftest.err
1746
} && test -s conftest$ac_exeext && {
1747
test "$cross_compiling" = yes ||
1748
$as_test_x conftest$ac_exeext
1752
$as_echo "$as_me: failed program was:" >&5
1753
sed 's/^/| /' conftest.$ac_ext >&5
1757
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1758
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1759
# interfere with the next link command; also delete a directory that is
1760
# left behind by Apple's compiler. We do this before executing the actions.
1761
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1762
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1763
as_fn_set_status $ac_retval
1765
} # ac_fn_c_try_link
1767
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1768
# -------------------------------------------------------
1769
# Tests whether HEADER exists and can be compiled using the include files in
1770
# INCLUDES, setting the cache variable VAR accordingly.
1771
ac_fn_c_check_header_compile ()
1773
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1774
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1775
$as_echo_n "checking for $2... " >&6; }
1776
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1777
$as_echo_n "(cached) " >&6
1779
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1780
/* end confdefs.h. */
1784
if ac_fn_c_try_compile "$LINENO"; then :
1789
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1792
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1793
$as_echo "$ac_res" >&6; }
1794
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1796
} # ac_fn_c_check_header_compile
1798
# ac_fn_c_try_cpp LINENO
1799
# ----------------------
1800
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1803
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1804
if { { ac_try="$ac_cpp conftest.$ac_ext"
1806
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1807
*) ac_try_echo=$ac_try;;
1809
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1810
$as_echo "$ac_try_echo"; } >&5
1811
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1813
if test -s conftest.err; then
1814
grep -v '^ *+' conftest.err >conftest.er1
1815
cat conftest.er1 >&5
1816
mv -f conftest.er1 conftest.err
1818
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1819
test $ac_status = 0; } >/dev/null && {
1820
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1821
test ! -s conftest.err
1825
$as_echo "$as_me: failed program was:" >&5
1826
sed 's/^/| /' conftest.$ac_ext >&5
1830
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1831
as_fn_set_status $ac_retval
1835
# ac_fn_c_try_run LINENO
1836
# ----------------------
1837
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1838
# that executables *can* be run.
1841
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1842
if { { ac_try="$ac_link"
1844
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1845
*) ac_try_echo=$ac_try;;
1847
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1848
$as_echo "$ac_try_echo"; } >&5
1849
(eval "$ac_link") 2>&5
1851
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1852
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1853
{ { case "(($ac_try" in
1854
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1855
*) ac_try_echo=$ac_try;;
1857
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1858
$as_echo "$ac_try_echo"; } >&5
1859
(eval "$ac_try") 2>&5
1861
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1862
test $ac_status = 0; }; }; then :
1865
$as_echo "$as_me: program exited with status $ac_status" >&5
1866
$as_echo "$as_me: failed program was:" >&5
1867
sed 's/^/| /' conftest.$ac_ext >&5
1869
ac_retval=$ac_status
1871
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1872
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1873
as_fn_set_status $ac_retval
1877
# ac_fn_c_check_func LINENO FUNC VAR
1878
# ----------------------------------
1879
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1880
ac_fn_c_check_func ()
1882
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1883
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1884
$as_echo_n "checking for $2... " >&6; }
1885
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1886
$as_echo_n "(cached) " >&6
1888
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1889
/* end confdefs.h. */
1890
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1891
For example, HP-UX 11i <limits.h> declares gettimeofday. */
1892
#define $2 innocuous_$2
1894
/* System header to define __stub macros and hopefully few prototypes,
1895
which can conflict with char $2 (); below.
1896
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1897
<limits.h> exists even on freestanding compilers. */
1900
# include <limits.h>
1902
# include <assert.h>
1907
/* Override any GCC internal prototype to avoid an error.
1908
Use char because int might match the return type of a GCC
1909
builtin and then its argument prototype would still apply. */
1914
/* The GNU C library defines this for functions which it implements
1915
to always fail with ENOSYS. Some functions are actually named
1916
something starting with __ and the normal name is an alias. */
1917
#if defined __stub_$2 || defined __stub___$2
1929
if ac_fn_c_try_link "$LINENO"; then :
1934
rm -f core conftest.err conftest.$ac_objext \
1935
conftest$ac_exeext conftest.$ac_ext
1938
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1939
$as_echo "$ac_res" >&6; }
1940
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1942
} # ac_fn_c_check_func
1944
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1945
# -------------------------------------------------------
1946
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1947
# the include files in INCLUDES and setting the cache variable VAR
1949
ac_fn_c_check_header_mongrel ()
1951
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1952
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1953
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1954
$as_echo_n "checking for $2... " >&6; }
1955
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1956
$as_echo_n "(cached) " >&6
1959
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1960
$as_echo "$ac_res" >&6; }
1962
# Is the header compilable?
1963
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1964
$as_echo_n "checking $2 usability... " >&6; }
1965
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1966
/* end confdefs.h. */
1970
if ac_fn_c_try_compile "$LINENO"; then :
1971
ac_header_compiler=yes
1973
ac_header_compiler=no
1975
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1976
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1977
$as_echo "$ac_header_compiler" >&6; }
1979
# Is the header present?
1980
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1981
$as_echo_n "checking $2 presence... " >&6; }
1982
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1983
/* end confdefs.h. */
1986
if ac_fn_c_try_cpp "$LINENO"; then :
1987
ac_header_preproc=yes
1989
ac_header_preproc=no
1991
rm -f conftest.err conftest.$ac_ext
1992
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1993
$as_echo "$ac_header_preproc" >&6; }
1995
# So? What about this header?
1996
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1998
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1999
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2000
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2001
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2004
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2005
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2006
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2007
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2008
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2009
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2010
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2011
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2012
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2013
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2015
## ------------------------------------------------------ ##
2016
## Report this to Fabrice Rey (fabounet@users.berlios.de) ##
2017
## ------------------------------------------------------ ##
2019
) | sed "s/^/$as_me: WARNING: /" >&2
2022
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2023
$as_echo_n "checking for $2... " >&6; }
2024
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2025
$as_echo_n "(cached) " >&6
2027
eval "$3=\$ac_header_compiler"
2030
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2031
$as_echo "$ac_res" >&6; }
2033
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2035
} # ac_fn_c_check_header_mongrel
2036
cat >config.log <<_ACEOF
2037
This file contains any messages produced by compilers while
2038
running configure, to aid debugging if configure makes a mistake.
2040
It was created by cairo-dock $as_me 2.1.3-10-lucid, which was
2041
generated by GNU Autoconf 2.65. Invocation command line was
2053
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2054
uname -m = `(uname -m) 2>/dev/null || echo unknown`
2055
uname -r = `(uname -r) 2>/dev/null || echo unknown`
2056
uname -s = `(uname -s) 2>/dev/null || echo unknown`
2057
uname -v = `(uname -v) 2>/dev/null || echo unknown`
2059
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2060
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2062
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2063
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2064
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2065
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2066
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2067
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2068
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2072
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2076
test -z "$as_dir" && as_dir=.
2077
$as_echo "PATH: $as_dir"
2093
# Keep a trace of the command line.
2094
# Strip out --no-create and --no-recursion so they do not pile up.
2095
# Strip out --silent because we don't want to record it for future runs.
2096
# Also quote any args containing shell meta-characters.
2097
# Make two passes to allow for proper duplicate-argument suppression.
2101
ac_must_keep_next=false
2107
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2108
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
2109
| -silent | --silent | --silen | --sile | --sil)
2112
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2115
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2117
as_fn_append ac_configure_args1 " '$ac_arg'"
2118
if test $ac_must_keep_next = true; then
2119
ac_must_keep_next=false # Got value, back to normal.
2122
*=* | --config-cache | -C | -disable-* | --disable-* \
2123
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2124
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2125
| -with-* | --with-* | -without-* | --without-* | --x)
2126
case "$ac_configure_args0 " in
2127
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2130
-* ) ac_must_keep_next=true ;;
2133
as_fn_append ac_configure_args " '$ac_arg'"
2138
{ ac_configure_args0=; unset ac_configure_args0;}
2139
{ ac_configure_args1=; unset ac_configure_args1;}
2141
# When interrupted or exit'd, cleanup temporary files, and complete
2142
# config.log. We remove comments because anyway the quotes in there
2143
# would cause problems or look ugly.
2144
# WARNING: Use '\'' to represent an apostrophe within the trap.
2145
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2146
trap 'exit_status=$?
2147
# Save into config.log some information that might help in debugging.
2152
## ---------------- ##
2153
## Cache variables. ##
2154
## ---------------- ##
2157
# The following way of writing the cache mishandles newlines in values,
2159
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2160
eval ac_val=\$$ac_var
2164
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2165
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2168
_ | IFS | as_nl) ;; #(
2169
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2170
*) { eval $ac_var=; unset $ac_var;} ;;
2175
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2176
*${as_nl}ac_space=\ *)
2178
"s/'\''/'\''\\\\'\'''\''/g;
2179
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2182
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2190
## ----------------- ##
2191
## Output variables. ##
2192
## ----------------- ##
2195
for ac_var in $ac_subst_vars
2197
eval ac_val=\$$ac_var
2199
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2201
$as_echo "$ac_var='\''$ac_val'\''"
2205
if test -n "$ac_subst_files"; then
2207
## ------------------- ##
2208
## File substitutions. ##
2209
## ------------------- ##
2212
for ac_var in $ac_subst_files
2214
eval ac_val=\$$ac_var
2216
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2218
$as_echo "$ac_var='\''$ac_val'\''"
2223
if test -s confdefs.h; then
2233
test "$ac_signal" != 0 &&
2234
$as_echo "$as_me: caught signal $ac_signal"
2235
$as_echo "$as_me: exit $exit_status"
2237
rm -f core *.core core.conftest.* &&
2238
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2241
for ac_signal in 1 2 13 15; do
2242
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2246
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2247
rm -f -r conftest* confdefs.h
2249
$as_echo "/* confdefs.h */" > confdefs.h
2251
# Predefined preprocessor variables.
2253
cat >>confdefs.h <<_ACEOF
2254
#define PACKAGE_NAME "$PACKAGE_NAME"
2257
cat >>confdefs.h <<_ACEOF
2258
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2261
cat >>confdefs.h <<_ACEOF
2262
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2265
cat >>confdefs.h <<_ACEOF
2266
#define PACKAGE_STRING "$PACKAGE_STRING"
2269
cat >>confdefs.h <<_ACEOF
2270
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2273
cat >>confdefs.h <<_ACEOF
2274
#define PACKAGE_URL "$PACKAGE_URL"
2278
# Let the site file select an alternate cache file if it wants to.
2279
# Prefer an explicitly selected file to automatically selected ones.
2282
if test -n "$CONFIG_SITE"; then
2283
ac_site_file1=$CONFIG_SITE
2284
elif test "x$prefix" != xNONE; then
2285
ac_site_file1=$prefix/share/config.site
2286
ac_site_file2=$prefix/etc/config.site
2288
ac_site_file1=$ac_default_prefix/share/config.site
2289
ac_site_file2=$ac_default_prefix/etc/config.site
2291
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2293
test "x$ac_site_file" = xNONE && continue
2294
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2295
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2296
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2297
sed 's/^/| /' "$ac_site_file" >&5
2302
if test -r "$cache_file"; then
2303
# Some versions of bash will fail to source /dev/null (special files
2304
# actually), so we avoid doing that. DJGPP emulates it as a regular file.
2305
if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2306
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2307
$as_echo "$as_me: loading cache $cache_file" >&6;}
2309
[\\/]* | ?:[\\/]* ) . "$cache_file";;
2310
*) . "./$cache_file";;
2314
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2315
$as_echo "$as_me: creating cache $cache_file" >&6;}
2319
# Check that the precious variables saved in the cache have kept the same
2321
ac_cache_corrupted=false
2322
for ac_var in $ac_precious_vars; do
2323
eval ac_old_set=\$ac_cv_env_${ac_var}_set
2324
eval ac_new_set=\$ac_env_${ac_var}_set
2325
eval ac_old_val=\$ac_cv_env_${ac_var}_value
2326
eval ac_new_val=\$ac_env_${ac_var}_value
2327
case $ac_old_set,$ac_new_set in
2329
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2330
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2331
ac_cache_corrupted=: ;;
2333
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2334
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2335
ac_cache_corrupted=: ;;
2338
if test "x$ac_old_val" != "x$ac_new_val"; then
2339
# differences in whitespace do not lead to failure.
2340
ac_old_val_w=`echo x $ac_old_val`
2341
ac_new_val_w=`echo x $ac_new_val`
2342
if test "$ac_old_val_w" != "$ac_new_val_w"; then
2343
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2344
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2345
ac_cache_corrupted=:
2347
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2348
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2349
eval $ac_var=\$ac_old_val
2351
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2352
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2353
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2354
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2357
# Pass precious variables to config.status.
2358
if test "$ac_new_set" = set; then
2360
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2361
*) ac_arg=$ac_var=$ac_new_val ;;
2363
case " $ac_configure_args " in
2364
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2365
*) as_fn_append ac_configure_args " '$ac_arg'" ;;
2369
if $ac_cache_corrupted; then
2370
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2371
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2372
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2373
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2374
as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2376
## -------------------- ##
2377
## Main body of script. ##
2378
## -------------------- ##
2381
ac_cpp='$CPP $CPPFLAGS'
2382
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2383
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2384
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2388
ac_config_headers="$ac_config_headers config.h"
2391
am__api_version='1.11'
2394
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2395
for ac_t in install-sh install.sh shtool; do
2396
if test -f "$ac_dir/$ac_t"; then
2398
ac_install_sh="$ac_aux_dir/$ac_t -c"
2403
if test -z "$ac_aux_dir"; then
2404
as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2407
# These three variables are undocumented and unsupported,
2408
# and are intended to be withdrawn in a future Autoconf release.
2409
# They can cause serious problems if a builder's source tree is in a directory
2410
# whose full name contains unusual characters.
2411
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2412
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2413
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2416
# Find a good install program. We prefer a C program (faster),
2417
# so one script is as good as another. But avoid the broken or
2418
# incompatible versions:
2419
# SysV /etc/install, /usr/sbin/install
2420
# SunOS /usr/etc/install
2421
# IRIX /sbin/install
2423
# AmigaOS /C/install, which installs bootblocks on floppy discs
2424
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2425
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2426
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2427
# OS/2's system install, which has a completely different semantic
2428
# ./install, which can be erroneously created by make from ./install.sh.
2429
# Reject install programs that cannot install multiple files.
2430
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2431
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2432
if test -z "$INSTALL"; then
2433
if test "${ac_cv_path_install+set}" = set; then :
2434
$as_echo_n "(cached) " >&6
2436
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2440
test -z "$as_dir" && as_dir=.
2441
# Account for people who put trailing slashes in PATH elements.
2442
case $as_dir/ in #((
2443
./ | .// | /[cC]/* | \
2444
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2445
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2448
# OSF1 and SCO ODT 3.0 have their own names for install.
2449
# Don't use installbsd from OSF since it installs stuff as root
2451
for ac_prog in ginstall scoinst install; do
2452
for ac_exec_ext in '' $ac_executable_extensions; do
2453
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2454
if test $ac_prog = install &&
2455
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2456
# AIX install. It has an incompatible calling convention.
2458
elif test $ac_prog = install &&
2459
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2460
# program-specific install script used by HP pwplus--don't use.
2463
rm -rf conftest.one conftest.two conftest.dir
2464
echo one > conftest.one
2465
echo two > conftest.two
2467
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2468
test -s conftest.one && test -s conftest.two &&
2469
test -s conftest.dir/conftest.one &&
2470
test -s conftest.dir/conftest.two
2472
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2485
rm -rf conftest.one conftest.two conftest.dir
2488
if test "${ac_cv_path_install+set}" = set; then
2489
INSTALL=$ac_cv_path_install
2491
# As a last resort, use the slow shell script. Don't cache a
2492
# value for INSTALL within a source directory, because that will
2493
# break other packages using the cache if that directory is
2494
# removed, or if the value is a relative name.
2495
INSTALL=$ac_install_sh
2498
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2499
$as_echo "$INSTALL" >&6; }
2501
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2502
# It thinks the first close brace ends the variable substitution.
2503
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2505
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2507
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2509
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2510
$as_echo_n "checking whether build environment is sane... " >&6; }
2513
echo timestamp > conftest.file
2514
# Reject unsafe characters in $srcdir or the absolute working directory
2515
# name. Accept space and tab only in the latter.
2519
*[\\\"\#\$\&\'\`$am_lf]*)
2520
as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2523
*[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2524
as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2527
# Do `set' in a subshell so we don't clobber the current shell's
2528
# arguments. Must try -L first in case configure is actually a
2529
# symlink; some systems play weird games with the mod time of symlinks
2530
# (eg FreeBSD returns the mod time of the symlink's containing
2533
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2534
if test "$*" = "X"; then
2536
set X `ls -t "$srcdir/configure" conftest.file`
2539
if test "$*" != "X $srcdir/configure conftest.file" \
2540
&& test "$*" != "X conftest.file $srcdir/configure"; then
2542
# If neither matched, then we have a broken ls. This can happen
2543
# if, for instance, CONFIG_SHELL is bash and it inherits a
2544
# broken ls alias from the environment. This has actually
2545
# happened. Such a system could not be considered "sane".
2546
as_fn_error "ls -t appears to fail. Make sure there is not a broken
2547
alias in your environment" "$LINENO" 5
2550
test "$2" = conftest.file
2556
as_fn_error "newly created file is older than distributed files!
2557
Check your system clock" "$LINENO" 5
2559
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2560
$as_echo "yes" >&6; }
2561
test "$program_prefix" != NONE &&
2562
program_transform_name="s&^&$program_prefix&;$program_transform_name"
2563
# Use a double $ so make ignores it.
2564
test "$program_suffix" != NONE &&
2565
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2566
# Double any \ or $.
2567
# By default was `s,x,x', remove it if useless.
2568
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2569
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2571
# expand $ac_aux_dir to an absolute path
2572
am_aux_dir=`cd $ac_aux_dir && pwd`
2574
if test x"${MISSING+set}" != xset; then
2577
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2579
MISSING="\${SHELL} $am_aux_dir/missing" ;;
2582
# Use eval to expand $SHELL
2583
if eval "$MISSING --run true"; then
2584
am_missing_run="$MISSING --run "
2587
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2588
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2591
if test x"${install_sh}" != xset; then
2594
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2596
install_sh="\${SHELL} $am_aux_dir/install-sh"
2600
# Installed binaries are usually stripped using `strip' when the user
2601
# run `make install-strip'. However `strip' might not be the right
2602
# tool to use in cross-compilation environments, therefore Automake
2603
# will honor the `STRIP' environment variable to overrule this program.
2604
if test "$cross_compiling" != no; then
2605
if test -n "$ac_tool_prefix"; then
2606
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2607
set dummy ${ac_tool_prefix}strip; ac_word=$2
2608
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2609
$as_echo_n "checking for $ac_word... " >&6; }
2610
if test "${ac_cv_prog_STRIP+set}" = set; then :
2611
$as_echo_n "(cached) " >&6
2613
if test -n "$STRIP"; then
2614
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2616
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2620
test -z "$as_dir" && as_dir=.
2621
for ac_exec_ext in '' $ac_executable_extensions; do
2622
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2623
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2624
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2633
STRIP=$ac_cv_prog_STRIP
2634
if test -n "$STRIP"; then
2635
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2636
$as_echo "$STRIP" >&6; }
2638
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2639
$as_echo "no" >&6; }
2644
if test -z "$ac_cv_prog_STRIP"; then
2646
# Extract the first word of "strip", so it can be a program name with args.
2647
set dummy strip; ac_word=$2
2648
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2649
$as_echo_n "checking for $ac_word... " >&6; }
2650
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2651
$as_echo_n "(cached) " >&6
2653
if test -n "$ac_ct_STRIP"; then
2654
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2656
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2660
test -z "$as_dir" && as_dir=.
2661
for ac_exec_ext in '' $ac_executable_extensions; do
2662
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2663
ac_cv_prog_ac_ct_STRIP="strip"
2664
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2673
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2674
if test -n "$ac_ct_STRIP"; then
2675
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2676
$as_echo "$ac_ct_STRIP" >&6; }
2678
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2679
$as_echo "no" >&6; }
2682
if test "x$ac_ct_STRIP" = x; then
2685
case $cross_compiling:$ac_tool_warned in
2687
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2688
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2689
ac_tool_warned=yes ;;
2694
STRIP="$ac_cv_prog_STRIP"
2698
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2700
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2701
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2702
if test -z "$MKDIR_P"; then
2703
if test "${ac_cv_path_mkdir+set}" = set; then :
2704
$as_echo_n "(cached) " >&6
2706
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2707
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2710
test -z "$as_dir" && as_dir=.
2711
for ac_prog in mkdir gmkdir; do
2712
for ac_exec_ext in '' $ac_executable_extensions; do
2713
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2714
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2715
'mkdir (GNU coreutils) '* | \
2716
'mkdir (coreutils) '* | \
2717
'mkdir (fileutils) '4.1*)
2718
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2728
test -d ./--version && rmdir ./--version
2729
if test "${ac_cv_path_mkdir+set}" = set; then
2730
MKDIR_P="$ac_cv_path_mkdir -p"
2732
# As a last resort, use the slow shell script. Don't cache a
2733
# value for MKDIR_P within a source directory, because that will
2734
# break other packages using the cache if that directory is
2735
# removed, or if the value is a relative name.
2736
MKDIR_P="$ac_install_sh -d"
2739
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2740
$as_echo "$MKDIR_P" >&6; }
2744
[\\/$]* | ?:[\\/]*) ;;
2745
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2748
for ac_prog in gawk mawk nawk awk
2750
# Extract the first word of "$ac_prog", so it can be a program name with args.
2751
set dummy $ac_prog; ac_word=$2
2752
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2753
$as_echo_n "checking for $ac_word... " >&6; }
2754
if test "${ac_cv_prog_AWK+set}" = set; then :
2755
$as_echo_n "(cached) " >&6
2757
if test -n "$AWK"; then
2758
ac_cv_prog_AWK="$AWK" # Let the user override the test.
2760
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2764
test -z "$as_dir" && as_dir=.
2765
for ac_exec_ext in '' $ac_executable_extensions; do
2766
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2767
ac_cv_prog_AWK="$ac_prog"
2768
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2778
if test -n "$AWK"; then
2779
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2780
$as_echo "$AWK" >&6; }
2782
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2783
$as_echo "no" >&6; }
2787
test -n "$AWK" && break
2790
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2791
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2793
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2794
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2795
$as_echo_n "(cached) " >&6
2797
cat >conftest.make <<\_ACEOF
2800
@echo '@@@%%%=$(MAKE)=@@@%%%'
2802
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2803
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2805
eval ac_cv_prog_make_${ac_make}_set=yes;;
2807
eval ac_cv_prog_make_${ac_make}_set=no;;
2811
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2812
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2813
$as_echo "yes" >&6; }
2816
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2817
$as_echo "no" >&6; }
2818
SET_MAKE="MAKE=${MAKE-make}"
2821
rm -rf .tst 2>/dev/null
2822
mkdir .tst 2>/dev/null
2823
if test -d .tst; then
2828
rmdir .tst 2>/dev/null
2830
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2831
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2832
# is not polluted with repeated "-I."
2833
am__isrc=' -I$(srcdir)'
2834
# test to see if srcdir already configured
2835
if test -f $srcdir/config.status; then
2836
as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2840
# test whether we have cygpath
2841
if test -z "$CYGPATH_W"; then
2842
if (cygpath --version) >/dev/null 2>/dev/null; then
2843
CYGPATH_W='cygpath -w'
2850
# Define the identity of the package.
2851
PACKAGE='cairo-dock'
2852
VERSION='2.1.3-10-lucid'
2855
cat >>confdefs.h <<_ACEOF
2856
#define PACKAGE "$PACKAGE"
2860
cat >>confdefs.h <<_ACEOF
2861
#define VERSION "$VERSION"
2864
# Some tools Automake needs.
2866
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2869
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2872
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2875
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2878
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2880
# We need awk for the "check" target. The system "awk" is bad on
2882
# Always define AMTAR for backward compatibility.
2884
AMTAR=${AMTAR-"${am_missing_run}tar"}
2886
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2894
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2895
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
2900
macro_version='2.2.6b'
2901
macro_revision='1.3017'
2915
ltmain="$ac_aux_dir/ltmain.sh"
2917
# Make sure we can run config.sub.
2918
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2919
as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2921
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2922
$as_echo_n "checking build system type... " >&6; }
2923
if test "${ac_cv_build+set}" = set; then :
2924
$as_echo_n "(cached) " >&6
2926
ac_build_alias=$build_alias
2927
test "x$ac_build_alias" = x &&
2928
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2929
test "x$ac_build_alias" = x &&
2930
as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2931
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2932
as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2935
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2936
$as_echo "$ac_cv_build" >&6; }
2937
case $ac_cv_build in
2939
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2942
ac_save_IFS=$IFS; IFS='-'
2948
# Remember, the first character of IFS is used to create $*,
2949
# except with old shells:
2952
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2955
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2956
$as_echo_n "checking host system type... " >&6; }
2957
if test "${ac_cv_host+set}" = set; then :
2958
$as_echo_n "(cached) " >&6
2960
if test "x$host_alias" = x; then
2961
ac_cv_host=$ac_cv_build
2963
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2964
as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2968
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2969
$as_echo "$ac_cv_host" >&6; }
2972
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2975
ac_save_IFS=$IFS; IFS='-'
2981
# Remember, the first character of IFS is used to create $*,
2982
# except with old shells:
2985
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2988
DEPDIR="${am__leading_dot}deps"
2990
ac_config_commands="$ac_config_commands depfiles"
2993
am_make=${MAKE-make}
2994
cat > confinc << 'END'
2996
@echo this is the am__doit target
2999
# If we don't find an include directive, just comment out the code.
3000
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3001
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3005
# First try GNU make style include.
3006
echo "include confinc" > confmf
3007
# Ignore all kinds of additional output from `make'.
3008
case `$am_make -s -f confmf 2> /dev/null` in #(
3009
*the\ am__doit\ target*)
3015
# Now try BSD make style include.
3016
if test "$am__include" = "#"; then
3017
echo '.include "confinc"' > confmf
3018
case `$am_make -s -f confmf 2> /dev/null` in #(
3019
*the\ am__doit\ target*)
3020
am__include=.include
3028
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3029
$as_echo "$_am_result" >&6; }
3030
rm -f confinc confmf
3032
# Check whether --enable-dependency-tracking was given.
3033
if test "${enable_dependency_tracking+set}" = set; then :
3034
enableval=$enable_dependency_tracking;
3037
if test "x$enable_dependency_tracking" != xno; then
3038
am_depcomp="$ac_aux_dir/depcomp"
3041
if test "x$enable_dependency_tracking" != xno; then
3051
ac_cpp='$CPP $CPPFLAGS'
3052
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3053
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3054
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3055
if test -n "$ac_tool_prefix"; then
3056
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3057
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3058
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3059
$as_echo_n "checking for $ac_word... " >&6; }
3060
if test "${ac_cv_prog_CC+set}" = set; then :
3061
$as_echo_n "(cached) " >&6
3063
if test -n "$CC"; then
3064
ac_cv_prog_CC="$CC" # Let the user override the test.
3066
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3070
test -z "$as_dir" && as_dir=.
3071
for ac_exec_ext in '' $ac_executable_extensions; do
3072
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3073
ac_cv_prog_CC="${ac_tool_prefix}gcc"
3074
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3084
if test -n "$CC"; then
3085
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3086
$as_echo "$CC" >&6; }
3088
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3089
$as_echo "no" >&6; }
3094
if test -z "$ac_cv_prog_CC"; then
3096
# Extract the first word of "gcc", so it can be a program name with args.
3097
set dummy gcc; ac_word=$2
3098
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3099
$as_echo_n "checking for $ac_word... " >&6; }
3100
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3101
$as_echo_n "(cached) " >&6
3103
if test -n "$ac_ct_CC"; then
3104
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3106
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3110
test -z "$as_dir" && as_dir=.
3111
for ac_exec_ext in '' $ac_executable_extensions; do
3112
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3113
ac_cv_prog_ac_ct_CC="gcc"
3114
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3123
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3124
if test -n "$ac_ct_CC"; then
3125
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3126
$as_echo "$ac_ct_CC" >&6; }
3128
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3129
$as_echo "no" >&6; }
3132
if test "x$ac_ct_CC" = x; then
3135
case $cross_compiling:$ac_tool_warned in
3137
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3138
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3139
ac_tool_warned=yes ;;
3147
if test -z "$CC"; then
3148
if test -n "$ac_tool_prefix"; then
3149
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3150
set dummy ${ac_tool_prefix}cc; ac_word=$2
3151
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3152
$as_echo_n "checking for $ac_word... " >&6; }
3153
if test "${ac_cv_prog_CC+set}" = set; then :
3154
$as_echo_n "(cached) " >&6
3156
if test -n "$CC"; then
3157
ac_cv_prog_CC="$CC" # Let the user override the test.
3159
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3163
test -z "$as_dir" && as_dir=.
3164
for ac_exec_ext in '' $ac_executable_extensions; do
3165
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3166
ac_cv_prog_CC="${ac_tool_prefix}cc"
3167
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3177
if test -n "$CC"; then
3178
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3179
$as_echo "$CC" >&6; }
3181
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3182
$as_echo "no" >&6; }
3188
if test -z "$CC"; then
3189
# Extract the first word of "cc", so it can be a program name with args.
3190
set dummy cc; ac_word=$2
3191
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3192
$as_echo_n "checking for $ac_word... " >&6; }
3193
if test "${ac_cv_prog_CC+set}" = set; then :
3194
$as_echo_n "(cached) " >&6
3196
if test -n "$CC"; then
3197
ac_cv_prog_CC="$CC" # Let the user override the test.
3200
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3204
test -z "$as_dir" && as_dir=.
3205
for ac_exec_ext in '' $ac_executable_extensions; do
3206
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3207
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3208
ac_prog_rejected=yes
3212
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3219
if test $ac_prog_rejected = yes; then
3220
# We found a bogon in the path, so make sure we never use it.
3221
set dummy $ac_cv_prog_CC
3223
if test $# != 0; then
3224
# We chose a different compiler from the bogus one.
3225
# However, it has the same basename, so the bogon will be chosen
3226
# first if we set CC to just the basename; use the full file name.
3228
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3234
if test -n "$CC"; then
3235
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3236
$as_echo "$CC" >&6; }
3238
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3239
$as_echo "no" >&6; }
3244
if test -z "$CC"; then
3245
if test -n "$ac_tool_prefix"; then
3246
for ac_prog in cl.exe
3248
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3249
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3250
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3251
$as_echo_n "checking for $ac_word... " >&6; }
3252
if test "${ac_cv_prog_CC+set}" = set; then :
3253
$as_echo_n "(cached) " >&6
3255
if test -n "$CC"; then
3256
ac_cv_prog_CC="$CC" # Let the user override the test.
3258
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3262
test -z "$as_dir" && as_dir=.
3263
for ac_exec_ext in '' $ac_executable_extensions; do
3264
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3265
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3266
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3276
if test -n "$CC"; then
3277
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3278
$as_echo "$CC" >&6; }
3280
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3281
$as_echo "no" >&6; }
3285
test -n "$CC" && break
3288
if test -z "$CC"; then
3290
for ac_prog in cl.exe
3292
# Extract the first word of "$ac_prog", so it can be a program name with args.
3293
set dummy $ac_prog; ac_word=$2
3294
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3295
$as_echo_n "checking for $ac_word... " >&6; }
3296
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3297
$as_echo_n "(cached) " >&6
3299
if test -n "$ac_ct_CC"; then
3300
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3302
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3306
test -z "$as_dir" && as_dir=.
3307
for ac_exec_ext in '' $ac_executable_extensions; do
3308
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3309
ac_cv_prog_ac_ct_CC="$ac_prog"
3310
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3319
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3320
if test -n "$ac_ct_CC"; then
3321
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3322
$as_echo "$ac_ct_CC" >&6; }
3324
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3325
$as_echo "no" >&6; }
3329
test -n "$ac_ct_CC" && break
3332
if test "x$ac_ct_CC" = x; then
3335
case $cross_compiling:$ac_tool_warned in
3337
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3338
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3339
ac_tool_warned=yes ;;
3348
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3349
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3350
as_fn_error "no acceptable C compiler found in \$PATH
3351
See \`config.log' for more details." "$LINENO" 5; }
3353
# Provide some information about the compiler.
3354
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3357
for ac_option in --version -v -V -qversion; do
3358
{ { ac_try="$ac_compiler $ac_option >&5"
3360
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3361
*) ac_try_echo=$ac_try;;
3363
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3364
$as_echo "$ac_try_echo"; } >&5
3365
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
3367
if test -s conftest.err; then
3369
... rest of stderr output deleted ...
3370
10q' conftest.err >conftest.er1
3371
cat conftest.er1 >&5
3373
rm -f conftest.er1 conftest.err
3374
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3375
test $ac_status = 0; }
3378
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3379
/* end confdefs.h. */
3389
ac_clean_files_save=$ac_clean_files
3390
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3391
# Try to create an executable without -o first, disregard a.out.
3392
# It will help us diagnose broken compilers, and finding out an intuition
3394
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3395
$as_echo_n "checking whether the C compiler works... " >&6; }
3396
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3398
# The possible output files:
3399
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3402
for ac_file in $ac_files
3405
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3406
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
3411
if { { ac_try="$ac_link_default"
3413
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3414
*) ac_try_echo=$ac_try;;
3416
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3417
$as_echo "$ac_try_echo"; } >&5
3418
(eval "$ac_link_default") 2>&5
3420
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3421
test $ac_status = 0; }; then :
3422
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3423
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3424
# in a Makefile. We should not override ac_cv_exeext if it was cached,
3425
# so that the user can short-circuit this test for compilers unknown to
3427
for ac_file in $ac_files ''
3429
test -f "$ac_file" || continue
3431
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3434
# We found the default executable, but exeext='' is most
3438
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3440
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3442
# We set ac_cv_exeext here because the later test for it is not
3443
# safe: cross compilers may not add the suffix if given an `-o'
3444
# argument, so we may need to know it at that point already.
3445
# Even if this section looks crufty: it has the advantage of
3452
test "$ac_cv_exeext" = no && ac_cv_exeext=
3457
if test -z "$ac_file"; then :
3458
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3459
$as_echo "no" >&6; }
3460
$as_echo "$as_me: failed program was:" >&5
3461
sed 's/^/| /' conftest.$ac_ext >&5
3463
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3464
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3465
{ as_fn_set_status 77
3466
as_fn_error "C compiler cannot create executables
3467
See \`config.log' for more details." "$LINENO" 5; }; }
3469
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3470
$as_echo "yes" >&6; }
3472
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3473
$as_echo_n "checking for C compiler default output file name... " >&6; }
3474
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3475
$as_echo "$ac_file" >&6; }
3476
ac_exeext=$ac_cv_exeext
3478
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3479
ac_clean_files=$ac_clean_files_save
3480
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3481
$as_echo_n "checking for suffix of executables... " >&6; }
3482
if { { ac_try="$ac_link"
3484
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3485
*) ac_try_echo=$ac_try;;
3487
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3488
$as_echo "$ac_try_echo"; } >&5
3489
(eval "$ac_link") 2>&5
3491
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3492
test $ac_status = 0; }; then :
3493
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3494
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3495
# work properly (i.e., refer to `conftest.exe'), while it won't with
3497
for ac_file in conftest.exe conftest conftest.*; do
3498
test -f "$ac_file" || continue
3500
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3501
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3507
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3508
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3509
as_fn_error "cannot compute suffix of executables: cannot compile and link
3510
See \`config.log' for more details." "$LINENO" 5; }
3512
rm -f conftest conftest$ac_cv_exeext
3513
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3514
$as_echo "$ac_cv_exeext" >&6; }
3516
rm -f conftest.$ac_ext
3517
EXEEXT=$ac_cv_exeext
3519
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3520
/* end confdefs.h. */
3525
FILE *f = fopen ("conftest.out", "w");
3526
return ferror (f) || fclose (f) != 0;
3532
ac_clean_files="$ac_clean_files conftest.out"
3533
# Check that the compiler produces executables we can run. If not, either
3534
# the compiler is broken, or we cross compile.
3535
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3536
$as_echo_n "checking whether we are cross compiling... " >&6; }
3537
if test "$cross_compiling" != yes; then
3538
{ { ac_try="$ac_link"
3540
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3541
*) ac_try_echo=$ac_try;;
3543
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3544
$as_echo "$ac_try_echo"; } >&5
3545
(eval "$ac_link") 2>&5
3547
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3548
test $ac_status = 0; }
3549
if { ac_try='./conftest$ac_cv_exeext'
3550
{ { case "(($ac_try" in
3551
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3552
*) ac_try_echo=$ac_try;;
3554
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3555
$as_echo "$ac_try_echo"; } >&5
3556
(eval "$ac_try") 2>&5
3558
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3559
test $ac_status = 0; }; }; then
3562
if test "$cross_compiling" = maybe; then
3565
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3566
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3567
as_fn_error "cannot run C compiled programs.
3568
If you meant to cross compile, use \`--host'.
3569
See \`config.log' for more details." "$LINENO" 5; }
3573
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3574
$as_echo "$cross_compiling" >&6; }
3576
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3577
ac_clean_files=$ac_clean_files_save
3578
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3579
$as_echo_n "checking for suffix of object files... " >&6; }
3580
if test "${ac_cv_objext+set}" = set; then :
3581
$as_echo_n "(cached) " >&6
3583
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3584
/* end confdefs.h. */
3594
rm -f conftest.o conftest.obj
3595
if { { ac_try="$ac_compile"
3597
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3598
*) ac_try_echo=$ac_try;;
3600
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3601
$as_echo "$ac_try_echo"; } >&5
3602
(eval "$ac_compile") 2>&5
3604
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3605
test $ac_status = 0; }; then :
3606
for ac_file in conftest.o conftest.obj conftest.*; do
3607
test -f "$ac_file" || continue;
3609
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3610
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3615
$as_echo "$as_me: failed program was:" >&5
3616
sed 's/^/| /' conftest.$ac_ext >&5
3618
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3619
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3620
as_fn_error "cannot compute suffix of object files: cannot compile
3621
See \`config.log' for more details." "$LINENO" 5; }
3623
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3625
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3626
$as_echo "$ac_cv_objext" >&6; }
3627
OBJEXT=$ac_cv_objext
3629
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3630
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3631
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3632
$as_echo_n "(cached) " >&6
3634
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3635
/* end confdefs.h. */
3648
if ac_fn_c_try_compile "$LINENO"; then :
3653
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3654
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3657
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3658
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3659
if test $ac_compiler_gnu = yes; then
3664
ac_test_CFLAGS=${CFLAGS+set}
3665
ac_save_CFLAGS=$CFLAGS
3666
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3667
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3668
if test "${ac_cv_prog_cc_g+set}" = set; then :
3669
$as_echo_n "(cached) " >&6
3671
ac_save_c_werror_flag=$ac_c_werror_flag
3672
ac_c_werror_flag=yes
3675
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3676
/* end confdefs.h. */
3686
if ac_fn_c_try_compile "$LINENO"; then :
3690
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3691
/* end confdefs.h. */
3701
if ac_fn_c_try_compile "$LINENO"; then :
3704
ac_c_werror_flag=$ac_save_c_werror_flag
3706
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3707
/* end confdefs.h. */
3717
if ac_fn_c_try_compile "$LINENO"; then :
3720
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3722
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3724
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3725
ac_c_werror_flag=$ac_save_c_werror_flag
3727
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3728
$as_echo "$ac_cv_prog_cc_g" >&6; }
3729
if test "$ac_test_CFLAGS" = set; then
3730
CFLAGS=$ac_save_CFLAGS
3731
elif test $ac_cv_prog_cc_g = yes; then
3732
if test "$GCC" = yes; then
3738
if test "$GCC" = yes; then
3744
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3745
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3746
if test "${ac_cv_prog_cc_c89+set}" = set; then :
3747
$as_echo_n "(cached) " >&6
3749
ac_cv_prog_cc_c89=no
3751
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3752
/* end confdefs.h. */
3755
#include <sys/types.h>
3756
#include <sys/stat.h>
3757
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3758
struct buf { int x; };
3759
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3760
static char *e (p, i)
3766
static char *f (char * (*g) (char **, int), char **p, ...)
3771
s = g (p, va_arg (v,int));
3776
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3777
function prototypes and stuff, but not '\xHH' hex character constants.
3778
These don't provoke an error unfortunately, instead are silently treated
3779
as 'x'. The following induces an error, until -std is added to get
3780
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3781
array size at least. It's necessary to write '\x00'==0 to get something
3782
that's true only with -std. */
3783
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3785
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3786
inside strings and character constants. */
3788
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3790
int test (int i, double x);
3791
struct s1 {int (*f) (int a);};
3792
struct s2 {int (*f) (double a);};
3793
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3799
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3804
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3805
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3807
CC="$ac_save_CC $ac_arg"
3808
if ac_fn_c_try_compile "$LINENO"; then :
3809
ac_cv_prog_cc_c89=$ac_arg
3811
rm -f core conftest.err conftest.$ac_objext
3812
test "x$ac_cv_prog_cc_c89" != "xno" && break
3814
rm -f conftest.$ac_ext
3819
case "x$ac_cv_prog_cc_c89" in
3821
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3822
$as_echo "none needed" >&6; } ;;
3824
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3825
$as_echo "unsupported" >&6; } ;;
3827
CC="$CC $ac_cv_prog_cc_c89"
3828
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3829
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3831
if test "x$ac_cv_prog_cc_c89" != xno; then :
3836
ac_cpp='$CPP $CPPFLAGS'
3837
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3838
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3839
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3841
depcc="$CC" am_compiler_list=
3843
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3844
$as_echo_n "checking dependency style of $depcc... " >&6; }
3845
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3846
$as_echo_n "(cached) " >&6
3848
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3849
# We make a subdir and do the tests there. Otherwise we can end up
3850
# making bogus files that we don't know about and never remove. For
3851
# instance it was reported that on HP-UX the gcc test will end up
3852
# making a dummy file named `D' -- because `-MD' means `put the output
3855
# Copy depcomp to subdir because otherwise we won't find it if we're
3856
# using a relative directory.
3857
cp "$am_depcomp" conftest.dir
3859
# We will build objects and dependencies in a subdirectory because
3860
# it helps to detect inapplicable dependency modes. For instance
3861
# both Tru64's cc and ICC support -MD to output dependencies as a
3862
# side effect of compilation, but ICC will put the dependencies in
3863
# the current directory while Tru64 will put them in the object
3867
am_cv_CC_dependencies_compiler_type=none
3868
if test "$am_compiler_list" = ""; then
3869
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3872
case " $depcc " in #(
3873
*\ -arch\ *\ -arch\ *) am__universal=true ;;
3876
for depmode in $am_compiler_list; do
3877
# Setup a source with many dependencies, because some compilers
3878
# like to wrap large dependency lists on column 80 (with \), and
3879
# we should not choose a depcomp mode which is confused by this.
3881
# We need to recreate these files for each test, as the compiler may
3882
# overwrite some of them when testing with obscure command lines.
3883
# This happens at least with the AIX C compiler.
3885
for i in 1 2 3 4 5 6; do
3886
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3887
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3888
# Solaris 8's {/usr,}/bin/sh.
3889
touch sub/conftst$i.h
3891
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3893
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3894
# mode. It turns out that the SunPro C++ compiler does not properly
3895
# handle `-M -o', and we need to detect this. Also, some Intel
3896
# versions had trouble with output in subdirs
3897
am__obj=sub/conftest.${OBJEXT-o}
3898
am__minus_obj="-o $am__obj"
3901
# This depmode causes a compiler race in universal mode.
3902
test "$am__universal" = false || continue
3905
# after this tag, mechanisms are not by side-effect, so they'll
3906
# only be used when explicitly requested
3907
if test "x$enable_dependency_tracking" = xyes; then
3913
msvisualcpp | msvcmsys)
3914
# This compiler won't grok `-c -o', but also, the minuso test has
3915
# not run yet. These depmodes are late enough in the game, and
3916
# so weak that their functioning should not be impacted.
3917
am__obj=conftest.${OBJEXT-o}
3922
if depmode=$depmode \
3923
source=sub/conftest.c object=$am__obj \
3924
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3925
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3926
>/dev/null 2>conftest.err &&
3927
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3928
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3929
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3930
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3931
# icc doesn't choke on unknown options, it will just issue warnings
3932
# or remarks (even with -Werror). So we grep stderr for any message
3933
# that says an option was ignored or not supported.
3934
# When given -MP, icc 7.0 and 7.1 complain thusly:
3935
# icc: Command line warning: ignoring option '-M'; no argument required
3936
# The diagnosis changed in icc 8.0:
3937
# icc: Command line remark: option '-MP' not supported
3938
if (grep 'ignoring option' conftest.err ||
3939
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3940
am_cv_CC_dependencies_compiler_type=$depmode
3949
am_cv_CC_dependencies_compiler_type=none
3953
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3954
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3955
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3958
test "x$enable_dependency_tracking" != xno \
3959
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3961
am__fastdepCC_FALSE='#'
3963
am__fastdepCC_TRUE='#'
3964
am__fastdepCC_FALSE=
3968
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3969
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
3970
if test "${ac_cv_path_SED+set}" = set; then :
3971
$as_echo_n "(cached) " >&6
3973
ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3974
for ac_i in 1 2 3 4 5 6 7; do
3975
ac_script="$ac_script$as_nl$ac_script"
3977
echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3978
{ ac_script=; unset ac_script;}
3979
if test -z "$SED"; then
3980
ac_path_SED_found=false
3981
# Loop through the user's path and test for each of PROGNAME-LIST
3982
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3986
test -z "$as_dir" && as_dir=.
3987
for ac_prog in sed gsed; do
3988
for ac_exec_ext in '' $ac_executable_extensions; do
3989
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3990
{ test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
3991
# Check for GNU ac_path_SED and select it if it is found.
3992
# Check for GNU $ac_path_SED
3993
case `"$ac_path_SED" --version 2>&1` in
3995
ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3998
$as_echo_n 0123456789 >"conftest.in"
4001
cat "conftest.in" "conftest.in" >"conftest.tmp"
4002
mv "conftest.tmp" "conftest.in"
4003
cp "conftest.in" "conftest.nl"
4004
$as_echo '' >> "conftest.nl"
4005
"$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4006
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4007
as_fn_arith $ac_count + 1 && ac_count=$as_val
4008
if test $ac_count -gt ${ac_path_SED_max-0}; then
4009
# Best one so far, save it but keep looking for a better one
4010
ac_cv_path_SED="$ac_path_SED"
4011
ac_path_SED_max=$ac_count
4013
# 10*(2^10) chars as input seems more than enough
4014
test $ac_count -gt 10 && break
4016
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4019
$ac_path_SED_found && break 3
4024
if test -z "$ac_cv_path_SED"; then
4025
as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4032
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4033
$as_echo "$ac_cv_path_SED" >&6; }
4034
SED="$ac_cv_path_SED"
4037
test -z "$SED" && SED=sed
4038
Xsed="$SED -e 1s/^X//"
4050
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4051
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4052
if test "${ac_cv_path_GREP+set}" = set; then :
4053
$as_echo_n "(cached) " >&6
4055
if test -z "$GREP"; then
4056
ac_path_GREP_found=false
4057
# Loop through the user's path and test for each of PROGNAME-LIST
4058
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4059
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4062
test -z "$as_dir" && as_dir=.
4063
for ac_prog in grep ggrep; do
4064
for ac_exec_ext in '' $ac_executable_extensions; do
4065
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4066
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4067
# Check for GNU ac_path_GREP and select it if it is found.
4068
# Check for GNU $ac_path_GREP
4069
case `"$ac_path_GREP" --version 2>&1` in
4071
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4074
$as_echo_n 0123456789 >"conftest.in"
4077
cat "conftest.in" "conftest.in" >"conftest.tmp"
4078
mv "conftest.tmp" "conftest.in"
4079
cp "conftest.in" "conftest.nl"
4080
$as_echo 'GREP' >> "conftest.nl"
4081
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4082
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4083
as_fn_arith $ac_count + 1 && ac_count=$as_val
4084
if test $ac_count -gt ${ac_path_GREP_max-0}; then
4085
# Best one so far, save it but keep looking for a better one
4086
ac_cv_path_GREP="$ac_path_GREP"
4087
ac_path_GREP_max=$ac_count
4089
# 10*(2^10) chars as input seems more than enough
4090
test $ac_count -gt 10 && break
4092
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4095
$ac_path_GREP_found && break 3
4100
if test -z "$ac_cv_path_GREP"; then
4101
as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4104
ac_cv_path_GREP=$GREP
4108
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4109
$as_echo "$ac_cv_path_GREP" >&6; }
4110
GREP="$ac_cv_path_GREP"
4113
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4114
$as_echo_n "checking for egrep... " >&6; }
4115
if test "${ac_cv_path_EGREP+set}" = set; then :
4116
$as_echo_n "(cached) " >&6
4118
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4119
then ac_cv_path_EGREP="$GREP -E"
4121
if test -z "$EGREP"; then
4122
ac_path_EGREP_found=false
4123
# Loop through the user's path and test for each of PROGNAME-LIST
4124
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4125
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4128
test -z "$as_dir" && as_dir=.
4129
for ac_prog in egrep; do
4130
for ac_exec_ext in '' $ac_executable_extensions; do
4131
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4132
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4133
# Check for GNU ac_path_EGREP and select it if it is found.
4134
# Check for GNU $ac_path_EGREP
4135
case `"$ac_path_EGREP" --version 2>&1` in
4137
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4140
$as_echo_n 0123456789 >"conftest.in"
4143
cat "conftest.in" "conftest.in" >"conftest.tmp"
4144
mv "conftest.tmp" "conftest.in"
4145
cp "conftest.in" "conftest.nl"
4146
$as_echo 'EGREP' >> "conftest.nl"
4147
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4148
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4149
as_fn_arith $ac_count + 1 && ac_count=$as_val
4150
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4151
# Best one so far, save it but keep looking for a better one
4152
ac_cv_path_EGREP="$ac_path_EGREP"
4153
ac_path_EGREP_max=$ac_count
4155
# 10*(2^10) chars as input seems more than enough
4156
test $ac_count -gt 10 && break
4158
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4161
$ac_path_EGREP_found && break 3
4166
if test -z "$ac_cv_path_EGREP"; then
4167
as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4170
ac_cv_path_EGREP=$EGREP
4175
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4176
$as_echo "$ac_cv_path_EGREP" >&6; }
4177
EGREP="$ac_cv_path_EGREP"
4180
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4181
$as_echo_n "checking for fgrep... " >&6; }
4182
if test "${ac_cv_path_FGREP+set}" = set; then :
4183
$as_echo_n "(cached) " >&6
4185
if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4186
then ac_cv_path_FGREP="$GREP -F"
4188
if test -z "$FGREP"; then
4189
ac_path_FGREP_found=false
4190
# Loop through the user's path and test for each of PROGNAME-LIST
4191
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4192
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4195
test -z "$as_dir" && as_dir=.
4196
for ac_prog in fgrep; do
4197
for ac_exec_ext in '' $ac_executable_extensions; do
4198
ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4199
{ test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4200
# Check for GNU ac_path_FGREP and select it if it is found.
4201
# Check for GNU $ac_path_FGREP
4202
case `"$ac_path_FGREP" --version 2>&1` in
4204
ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4207
$as_echo_n 0123456789 >"conftest.in"
4210
cat "conftest.in" "conftest.in" >"conftest.tmp"
4211
mv "conftest.tmp" "conftest.in"
4212
cp "conftest.in" "conftest.nl"
4213
$as_echo 'FGREP' >> "conftest.nl"
4214
"$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4215
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4216
as_fn_arith $ac_count + 1 && ac_count=$as_val
4217
if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4218
# Best one so far, save it but keep looking for a better one
4219
ac_cv_path_FGREP="$ac_path_FGREP"
4220
ac_path_FGREP_max=$ac_count
4222
# 10*(2^10) chars as input seems more than enough
4223
test $ac_count -gt 10 && break
4225
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4228
$ac_path_FGREP_found && break 3
4233
if test -z "$ac_cv_path_FGREP"; then
4234
as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4237
ac_cv_path_FGREP=$FGREP
4242
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4243
$as_echo "$ac_cv_path_FGREP" >&6; }
4244
FGREP="$ac_cv_path_FGREP"
4247
test -z "$GREP" && GREP=grep
4267
# Check whether --with-gnu-ld was given.
4268
if test "${with_gnu_ld+set}" = set; then :
4269
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4275
if test "$GCC" = yes; then
4276
# Check if gcc -print-prog-name=ld gives a path.
4277
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4278
$as_echo_n "checking for ld used by $CC... " >&6; }
4281
# gcc leaves a trailing carriage return which upsets mingw
4282
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4284
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4287
# Accept absolute paths.
4289
re_direlt='/[^/][^/]*/\.\./'
4290
# Canonicalize the pathname of ld
4291
ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4292
while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4293
ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4295
test -z "$LD" && LD="$ac_prog"
4298
# If it fails, then pretend we aren't using GCC.
4302
# If it is relative, then search for the first ld in PATH.
4306
elif test "$with_gnu_ld" = yes; then
4307
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4308
$as_echo_n "checking for GNU ld... " >&6; }
4310
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4311
$as_echo_n "checking for non-GNU ld... " >&6; }
4313
if test "${lt_cv_path_LD+set}" = set; then :
4314
$as_echo_n "(cached) " >&6
4316
if test -z "$LD"; then
4317
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4318
for ac_dir in $PATH; do
4320
test -z "$ac_dir" && ac_dir=.
4321
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4322
lt_cv_path_LD="$ac_dir/$ac_prog"
4323
# Check to see if the program is GNU ld. I'd rather use --version,
4324
# but apparently some variants of GNU ld only accept -v.
4325
# Break only if it was the GNU/non-GNU ld that we prefer.
4326
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4327
*GNU* | *'with BFD'*)
4328
test "$with_gnu_ld" != no && break
4331
test "$with_gnu_ld" != yes && break
4338
lt_cv_path_LD="$LD" # Let the user override the test with a path.
4343
if test -n "$LD"; then
4344
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4345
$as_echo "$LD" >&6; }
4347
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4348
$as_echo "no" >&6; }
4350
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
4351
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4352
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4353
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4354
$as_echo_n "(cached) " >&6
4356
# I'd rather use --version here, but apparently some GNU lds only accept -v.
4357
case `$LD -v 2>&1 </dev/null` in
4358
*GNU* | *'with BFD'*)
4359
lt_cv_prog_gnu_ld=yes
4362
lt_cv_prog_gnu_ld=no
4366
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4367
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4368
with_gnu_ld=$lt_cv_prog_gnu_ld
4378
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4379
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4380
if test "${lt_cv_path_NM+set}" = set; then :
4381
$as_echo_n "(cached) " >&6
4383
if test -n "$NM"; then
4384
# Let the user override the test.
4387
lt_nm_to_check="${ac_tool_prefix}nm"
4388
if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4389
lt_nm_to_check="$lt_nm_to_check nm"
4391
for lt_tmp_nm in $lt_nm_to_check; do
4392
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4393
for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4395
test -z "$ac_dir" && ac_dir=.
4396
tmp_nm="$ac_dir/$lt_tmp_nm"
4397
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4398
# Check to see if the nm accepts a BSD-compat flag.
4399
# Adding the `sed 1q' prevents false positives on HP-UX, which says:
4400
# nm: unknown option "B" ignored
4401
# Tru64's nm complains that /dev/null is an invalid object file
4402
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4403
*/dev/null* | *'Invalid file or object type'*)
4404
lt_cv_path_NM="$tmp_nm -B"
4408
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4410
lt_cv_path_NM="$tmp_nm -p"
4414
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4415
continue # so that we can try to find one that supports BSD flags
4424
: ${lt_cv_path_NM=no}
4427
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4428
$as_echo "$lt_cv_path_NM" >&6; }
4429
if test "$lt_cv_path_NM" != "no"; then
4432
# Didn't find any BSD compatible name lister, look for dumpbin.
4433
if test -n "$ac_tool_prefix"; then
4434
for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4436
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4437
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4438
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4439
$as_echo_n "checking for $ac_word... " >&6; }
4440
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
4441
$as_echo_n "(cached) " >&6
4443
if test -n "$DUMPBIN"; then
4444
ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4446
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4450
test -z "$as_dir" && as_dir=.
4451
for ac_exec_ext in '' $ac_executable_extensions; do
4452
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4453
ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4454
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4463
DUMPBIN=$ac_cv_prog_DUMPBIN
4464
if test -n "$DUMPBIN"; then
4465
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4466
$as_echo "$DUMPBIN" >&6; }
4468
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4469
$as_echo "no" >&6; }
4473
test -n "$DUMPBIN" && break
4476
if test -z "$DUMPBIN"; then
4477
ac_ct_DUMPBIN=$DUMPBIN
4478
for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4480
# Extract the first word of "$ac_prog", so it can be a program name with args.
4481
set dummy $ac_prog; ac_word=$2
4482
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4483
$as_echo_n "checking for $ac_word... " >&6; }
4484
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
4485
$as_echo_n "(cached) " >&6
4487
if test -n "$ac_ct_DUMPBIN"; then
4488
ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4490
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4494
test -z "$as_dir" && as_dir=.
4495
for ac_exec_ext in '' $ac_executable_extensions; do
4496
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4497
ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4498
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4507
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4508
if test -n "$ac_ct_DUMPBIN"; then
4509
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4510
$as_echo "$ac_ct_DUMPBIN" >&6; }
4512
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4513
$as_echo "no" >&6; }
4517
test -n "$ac_ct_DUMPBIN" && break
4520
if test "x$ac_ct_DUMPBIN" = x; then
4523
case $cross_compiling:$ac_tool_warned in
4525
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4526
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4527
ac_tool_warned=yes ;;
4529
DUMPBIN=$ac_ct_DUMPBIN
4534
if test "$DUMPBIN" != ":"; then
4538
test -z "$NM" && NM=nm
4545
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4546
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
4547
if test "${lt_cv_nm_interface+set}" = set; then :
4548
$as_echo_n "(cached) " >&6
4550
lt_cv_nm_interface="BSD nm"
4551
echo "int some_variable = 0;" > conftest.$ac_ext
4552
(eval echo "\"\$as_me:4552: $ac_compile\"" >&5)
4553
(eval "$ac_compile" 2>conftest.err)
4554
cat conftest.err >&5
4555
(eval echo "\"\$as_me:4555: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4556
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4557
cat conftest.err >&5
4558
(eval echo "\"\$as_me:4558: output\"" >&5)
4559
cat conftest.out >&5
4560
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4561
lt_cv_nm_interface="MS dumpbin"
4565
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4566
$as_echo "$lt_cv_nm_interface" >&6; }
4568
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4569
$as_echo_n "checking whether ln -s works... " >&6; }
4571
if test "$LN_S" = "ln -s"; then
4572
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4573
$as_echo "yes" >&6; }
4575
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4576
$as_echo "no, using $LN_S" >&6; }
4579
# find the maximum length of command line arguments
4580
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4581
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
4582
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
4583
$as_echo_n "(cached) " >&6
4590
# On DJGPP, this test can blow up pretty badly due to problems in libc
4591
# (any single argument exceeding 2000 bytes causes a buffer overrun
4592
# during glob expansion). Even if it were fixed, the result of this
4593
# check would be larger than it should be.
4594
lt_cv_sys_max_cmd_len=12288; # 12K is about right
4598
# Under GNU Hurd, this test is not required because there is
4599
# no limit to the length of command line arguments.
4600
# Libtool will interpret -1 as no limit whatsoever
4601
lt_cv_sys_max_cmd_len=-1;
4604
cygwin* | mingw* | cegcc*)
4605
# On Win9x/ME, this test blows up -- it succeeds, but takes
4606
# about 5 minutes as the teststring grows exponentially.
4607
# Worse, since 9x/ME are not pre-emptively multitasking,
4608
# you end up with a "frozen" computer, even though with patience
4609
# the test eventually succeeds (with a max line length of 256k).
4610
# Instead, let's just punt: use the minimum linelength reported by
4611
# all of the supported platforms: 8192 (on NT/2K/XP).
4612
lt_cv_sys_max_cmd_len=8192;
4616
# On AmigaOS with pdksh, this test takes hours, literally.
4617
# So we just punt and use a minimum line length of 8192.
4618
lt_cv_sys_max_cmd_len=8192;
4621
netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4622
# This has been around since 386BSD, at least. Likely further.
4623
if test -x /sbin/sysctl; then
4624
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4625
elif test -x /usr/sbin/sysctl; then
4626
lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4628
lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4630
# And add a safety zone
4631
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4632
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4636
# We know the value 262144 and hardcode it with a safety zone (like BSD)
4637
lt_cv_sys_max_cmd_len=196608
4641
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4642
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4643
# nice to cause kernel panics so lets avoid the loop below.
4644
# First set a reasonable default.
4645
lt_cv_sys_max_cmd_len=16384
4647
if test -x /sbin/sysconfig; then
4648
case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4649
*1*) lt_cv_sys_max_cmd_len=-1 ;;
4654
lt_cv_sys_max_cmd_len=102400
4656
sysv5* | sco5v6* | sysv4.2uw2*)
4657
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4658
if test -n "$kargmax"; then
4659
lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4661
lt_cv_sys_max_cmd_len=32768
4665
lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4666
if test -n "$lt_cv_sys_max_cmd_len"; then
4667
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4668
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4670
# Make teststring a little bigger before we do anything with it.
4671
# a 1K string should be a reasonable start.
4672
for i in 1 2 3 4 5 6 7 8 ; do
4673
teststring=$teststring$teststring
4675
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4676
# If test is not a shell built-in, we'll probably end up computing a
4677
# maximum length that is only half of the actual maximum length, but
4679
while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4680
= "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4681
test $i != 17 # 1/2 MB should be enough
4684
teststring=$teststring$teststring
4686
# Only check the string length outside the loop.
4687
lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4689
# Add a significant safety factor because C++ compilers can tack on
4690
# massive amounts of additional arguments before passing them to the
4691
# linker. It appears as though 1/2 is a usable value.
4692
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4699
if test -n $lt_cv_sys_max_cmd_len ; then
4700
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4701
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4703
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4704
$as_echo "none" >&6; }
4706
max_cmd_len=$lt_cv_sys_max_cmd_len
4717
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4718
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4719
# Try some XSI features
4722
test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4724
&& eval 'test $(( 1 + 1 )) -eq 2 \
4725
&& test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4727
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4728
$as_echo "$xsi_shell" >&6; }
4731
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4732
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4734
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4736
&& lt_shell_append=yes
4737
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4738
$as_echo "$lt_shell_append" >&6; }
4741
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4751
# test EBCDIC or ASCII
4752
case `echo X|tr X '\101'` in
4753
A) # ASCII based system
4754
# \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4755
lt_SP2NL='tr \040 \012'
4756
lt_NL2SP='tr \015\012 \040\040'
4758
*) # EBCDIC based system
4759
lt_SP2NL='tr \100 \n'
4760
lt_NL2SP='tr \r\n \100\100'
4772
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4773
$as_echo_n "checking for $LD option to reload object files... " >&6; }
4774
if test "${lt_cv_ld_reload_flag+set}" = set; then :
4775
$as_echo_n "(cached) " >&6
4777
lt_cv_ld_reload_flag='-r'
4779
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4780
$as_echo "$lt_cv_ld_reload_flag" >&6; }
4781
reload_flag=$lt_cv_ld_reload_flag
4782
case $reload_flag in
4784
*) reload_flag=" $reload_flag" ;;
4786
reload_cmds='$LD$reload_flag -o $output$reload_objs'
4789
if test "$GCC" = yes; then
4790
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4792
reload_cmds='$LD$reload_flag -o $output$reload_objs'
4805
if test -n "$ac_tool_prefix"; then
4806
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4807
set dummy ${ac_tool_prefix}objdump; ac_word=$2
4808
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4809
$as_echo_n "checking for $ac_word... " >&6; }
4810
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
4811
$as_echo_n "(cached) " >&6
4813
if test -n "$OBJDUMP"; then
4814
ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4816
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4820
test -z "$as_dir" && as_dir=.
4821
for ac_exec_ext in '' $ac_executable_extensions; do
4822
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4823
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4824
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4833
OBJDUMP=$ac_cv_prog_OBJDUMP
4834
if test -n "$OBJDUMP"; then
4835
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4836
$as_echo "$OBJDUMP" >&6; }
4838
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4839
$as_echo "no" >&6; }
4844
if test -z "$ac_cv_prog_OBJDUMP"; then
4845
ac_ct_OBJDUMP=$OBJDUMP
4846
# Extract the first word of "objdump", so it can be a program name with args.
4847
set dummy objdump; ac_word=$2
4848
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4849
$as_echo_n "checking for $ac_word... " >&6; }
4850
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
4851
$as_echo_n "(cached) " >&6
4853
if test -n "$ac_ct_OBJDUMP"; then
4854
ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4856
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4860
test -z "$as_dir" && as_dir=.
4861
for ac_exec_ext in '' $ac_executable_extensions; do
4862
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4863
ac_cv_prog_ac_ct_OBJDUMP="objdump"
4864
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4873
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4874
if test -n "$ac_ct_OBJDUMP"; then
4875
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4876
$as_echo "$ac_ct_OBJDUMP" >&6; }
4878
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4879
$as_echo "no" >&6; }
4882
if test "x$ac_ct_OBJDUMP" = x; then
4885
case $cross_compiling:$ac_tool_warned in
4887
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4888
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4889
ac_tool_warned=yes ;;
4891
OBJDUMP=$ac_ct_OBJDUMP
4894
OBJDUMP="$ac_cv_prog_OBJDUMP"
4897
test -z "$OBJDUMP" && OBJDUMP=objdump
4907
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
4908
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
4909
if test "${lt_cv_deplibs_check_method+set}" = set; then :
4910
$as_echo_n "(cached) " >&6
4912
lt_cv_file_magic_cmd='$MAGIC_CMD'
4913
lt_cv_file_magic_test_file=
4914
lt_cv_deplibs_check_method='unknown'
4915
# Need to set the preceding variable on all platforms that support
4916
# interlibrary dependencies.
4917
# 'none' -- dependencies not supported.
4918
# `unknown' -- same as none, but documents that we really don't know.
4919
# 'pass_all' -- all dependencies passed with no checks.
4920
# 'test_compile' -- check by making test program.
4921
# 'file_magic [[regex]]' -- check by looking for files in library path
4922
# which responds to the $file_magic_cmd with a given extended regex.
4923
# If you have `file' or equivalent on your system and you're not sure
4924
# whether `pass_all' will *always* work, you probably want this one.
4928
lt_cv_deplibs_check_method=pass_all
4932
lt_cv_deplibs_check_method=pass_all
4936
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4937
lt_cv_file_magic_cmd='/usr/bin/file -L'
4938
lt_cv_file_magic_test_file=/shlib/libc.so
4942
# func_win32_libid is a shell function defined in ltmain.sh
4943
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4944
lt_cv_file_magic_cmd='func_win32_libid'
4948
# Base MSYS/MinGW do not provide the 'file' command needed by
4949
# func_win32_libid shell function, so use a weaker test based on 'objdump',
4950
# unless we find 'file', for example because we are cross-compiling.
4951
if ( file / ) >/dev/null 2>&1; then
4952
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4953
lt_cv_file_magic_cmd='func_win32_libid'
4955
lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4956
lt_cv_file_magic_cmd='$OBJDUMP -f'
4961
# use the weaker test based on 'objdump'. See mingw*.
4962
lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4963
lt_cv_file_magic_cmd='$OBJDUMP -f'
4966
darwin* | rhapsody*)
4967
lt_cv_deplibs_check_method=pass_all
4970
freebsd* | dragonfly*)
4971
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4974
# Not sure whether the presence of OpenBSD here was a mistake.
4975
# Let's accept both of them until this is cleared up.
4976
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4977
lt_cv_file_magic_cmd=/usr/bin/file
4978
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4982
lt_cv_deplibs_check_method=pass_all
4987
lt_cv_deplibs_check_method=pass_all
4990
hpux10.20* | hpux11*)
4991
lt_cv_file_magic_cmd=/usr/bin/file
4994
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4995
lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4998
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]'
4999
lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5002
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5003
lt_cv_file_magic_test_file=/usr/lib/libc.sl
5009
# PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5010
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5013
irix5* | irix6* | nonstopux*)
5015
*-32|*"-32 ") libmagic=32-bit;;
5016
*-n32|*"-n32 ") libmagic=N32;;
5017
*-64|*"-64 ") libmagic=64-bit;;
5018
*) libmagic=never-match;;
5020
lt_cv_deplibs_check_method=pass_all
5023
# This must be Linux ELF.
5024
linux* | k*bsd*-gnu | kopensolaris*-gnu)
5025
lt_cv_deplibs_check_method=pass_all
5028
netbsd* | netbsdelf*-gnu)
5029
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5030
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5032
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5037
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5038
lt_cv_file_magic_cmd=/usr/bin/file
5039
lt_cv_file_magic_test_file=/usr/lib/libnls.so
5043
lt_cv_deplibs_check_method=pass_all
5047
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5048
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5050
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5054
osf3* | osf4* | osf5*)
5055
lt_cv_deplibs_check_method=pass_all
5059
lt_cv_deplibs_check_method=pass_all
5063
lt_cv_deplibs_check_method=pass_all
5066
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5067
lt_cv_deplibs_check_method=pass_all
5071
case $host_vendor in
5073
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]'
5074
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5077
lt_cv_deplibs_check_method=pass_all
5080
lt_cv_file_magic_cmd='/bin/file'
5081
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5084
lt_cv_file_magic_cmd='/bin/file'
5085
lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5086
lt_cv_file_magic_test_file=/lib/libc.so
5089
lt_cv_deplibs_check_method=pass_all
5092
lt_cv_deplibs_check_method=pass_all
5098
lt_cv_deplibs_check_method=pass_all
5103
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5104
$as_echo "$lt_cv_deplibs_check_method" >&6; }
5105
file_magic_cmd=$lt_cv_file_magic_cmd
5106
deplibs_check_method=$lt_cv_deplibs_check_method
5107
test -z "$deplibs_check_method" && deplibs_check_method=unknown
5120
if test -n "$ac_tool_prefix"; then
5121
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5122
set dummy ${ac_tool_prefix}ar; ac_word=$2
5123
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5124
$as_echo_n "checking for $ac_word... " >&6; }
5125
if test "${ac_cv_prog_AR+set}" = set; then :
5126
$as_echo_n "(cached) " >&6
5128
if test -n "$AR"; then
5129
ac_cv_prog_AR="$AR" # Let the user override the test.
5131
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5135
test -z "$as_dir" && as_dir=.
5136
for ac_exec_ext in '' $ac_executable_extensions; do
5137
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5138
ac_cv_prog_AR="${ac_tool_prefix}ar"
5139
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5149
if test -n "$AR"; then
5150
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5151
$as_echo "$AR" >&6; }
5153
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5154
$as_echo "no" >&6; }
5159
if test -z "$ac_cv_prog_AR"; then
5161
# Extract the first word of "ar", so it can be a program name with args.
5162
set dummy ar; ac_word=$2
5163
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5164
$as_echo_n "checking for $ac_word... " >&6; }
5165
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5166
$as_echo_n "(cached) " >&6
5168
if test -n "$ac_ct_AR"; then
5169
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5171
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5175
test -z "$as_dir" && as_dir=.
5176
for ac_exec_ext in '' $ac_executable_extensions; do
5177
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5178
ac_cv_prog_ac_ct_AR="ar"
5179
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5188
ac_ct_AR=$ac_cv_prog_ac_ct_AR
5189
if test -n "$ac_ct_AR"; then
5190
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5191
$as_echo "$ac_ct_AR" >&6; }
5193
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5194
$as_echo "no" >&6; }
5197
if test "x$ac_ct_AR" = x; then
5200
case $cross_compiling:$ac_tool_warned in
5202
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5203
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5204
ac_tool_warned=yes ;;
5212
test -z "$AR" && AR=ar
5213
test -z "$AR_FLAGS" && AR_FLAGS=cru
5225
if test -n "$ac_tool_prefix"; then
5226
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5227
set dummy ${ac_tool_prefix}strip; ac_word=$2
5228
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5229
$as_echo_n "checking for $ac_word... " >&6; }
5230
if test "${ac_cv_prog_STRIP+set}" = set; then :
5231
$as_echo_n "(cached) " >&6
5233
if test -n "$STRIP"; then
5234
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5236
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5240
test -z "$as_dir" && as_dir=.
5241
for ac_exec_ext in '' $ac_executable_extensions; do
5242
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5243
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5244
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5253
STRIP=$ac_cv_prog_STRIP
5254
if test -n "$STRIP"; then
5255
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5256
$as_echo "$STRIP" >&6; }
5258
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5259
$as_echo "no" >&6; }
5264
if test -z "$ac_cv_prog_STRIP"; then
5266
# Extract the first word of "strip", so it can be a program name with args.
5267
set dummy strip; ac_word=$2
5268
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5269
$as_echo_n "checking for $ac_word... " >&6; }
5270
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5271
$as_echo_n "(cached) " >&6
5273
if test -n "$ac_ct_STRIP"; then
5274
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5276
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5280
test -z "$as_dir" && as_dir=.
5281
for ac_exec_ext in '' $ac_executable_extensions; do
5282
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5283
ac_cv_prog_ac_ct_STRIP="strip"
5284
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5293
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5294
if test -n "$ac_ct_STRIP"; then
5295
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5296
$as_echo "$ac_ct_STRIP" >&6; }
5298
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5299
$as_echo "no" >&6; }
5302
if test "x$ac_ct_STRIP" = x; then
5305
case $cross_compiling:$ac_tool_warned in
5307
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5308
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5309
ac_tool_warned=yes ;;
5314
STRIP="$ac_cv_prog_STRIP"
5317
test -z "$STRIP" && STRIP=:
5324
if test -n "$ac_tool_prefix"; then
5325
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5326
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5327
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5328
$as_echo_n "checking for $ac_word... " >&6; }
5329
if test "${ac_cv_prog_RANLIB+set}" = set; then :
5330
$as_echo_n "(cached) " >&6
5332
if test -n "$RANLIB"; then
5333
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5335
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5339
test -z "$as_dir" && as_dir=.
5340
for ac_exec_ext in '' $ac_executable_extensions; do
5341
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5342
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5343
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5352
RANLIB=$ac_cv_prog_RANLIB
5353
if test -n "$RANLIB"; then
5354
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5355
$as_echo "$RANLIB" >&6; }
5357
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5358
$as_echo "no" >&6; }
5363
if test -z "$ac_cv_prog_RANLIB"; then
5364
ac_ct_RANLIB=$RANLIB
5365
# Extract the first word of "ranlib", so it can be a program name with args.
5366
set dummy ranlib; ac_word=$2
5367
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5368
$as_echo_n "checking for $ac_word... " >&6; }
5369
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5370
$as_echo_n "(cached) " >&6
5372
if test -n "$ac_ct_RANLIB"; then
5373
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5375
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5379
test -z "$as_dir" && as_dir=.
5380
for ac_exec_ext in '' $ac_executable_extensions; do
5381
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5382
ac_cv_prog_ac_ct_RANLIB="ranlib"
5383
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5392
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5393
if test -n "$ac_ct_RANLIB"; then
5394
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5395
$as_echo "$ac_ct_RANLIB" >&6; }
5397
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5398
$as_echo "no" >&6; }
5401
if test "x$ac_ct_RANLIB" = x; then
5404
case $cross_compiling:$ac_tool_warned in
5406
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5407
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5408
ac_tool_warned=yes ;;
5410
RANLIB=$ac_ct_RANLIB
5413
RANLIB="$ac_cv_prog_RANLIB"
5416
test -z "$RANLIB" && RANLIB=:
5423
# Determine commands to create old-style static archives.
5424
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5425
old_postinstall_cmds='chmod 644 $oldlib'
5426
old_postuninstall_cmds=
5428
if test -n "$RANLIB"; then
5431
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5434
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5437
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5473
# If no C compiler was specified, use CC.
5476
# If no C compiler flags were specified, use CFLAGS.
5477
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5479
# Allow CC to be a program name with arguments.
5483
# Check for command to grab the raw symbol name followed by C symbol from nm.
5484
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5485
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5486
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
5487
$as_echo_n "(cached) " >&6
5490
# These are sane defaults that work on at least a few old systems.
5491
# [They come from Ultrix. What could be older than Ultrix?!! ;)]
5493
# Character class describing NM global symbol codes.
5494
symcode='[BCDEGRST]'
5496
# Regexp to match symbols that can be accessed directly from C.
5497
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5499
# Define system-specific variables.
5504
cygwin* | mingw* | pw32* | cegcc*)
5505
symcode='[ABCDGISTW]'
5508
if test "$host_cpu" = ia64; then
5509
symcode='[ABCDEGRST]'
5513
symcode='[BCDEGRST]'
5516
symcode='[BCDEGQRST]'
5527
sysv5* | sco5v6* | unixware* | OpenUNIX*)
5535
# If we're using GNU nm, then use its standard symbol codes.
5536
case `$NM -V 2>&1` in
5537
*GNU* | *'with BFD'*)
5538
symcode='[ABCDGIRSTW]' ;;
5541
# Transform an extracted symbol line into a proper C declaration.
5542
# Some systems (esp. on ia64) link data and code symbols differently,
5543
# so use this general approach.
5544
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5546
# Transform an extracted symbol line into symbol name and symbol address
5547
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5548
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'"
5550
# Handle CRLF in mingw tool chain
5554
opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5558
# Try without a prefix underscore, then with it.
5559
for ac_symprfx in "" "_"; do
5561
# Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5562
symxfrm="\\1 $ac_symprfx\\2 \\2"
5564
# Write the raw and C identifiers.
5565
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5566
# Fake it for dumpbin and say T for any non-static function
5567
# and D for any global variable.
5568
# Also find C++ and __fastcall symbols from MSVC++,
5569
# which start with @ or ?.
5570
lt_cv_sys_global_symbol_pipe="$AWK '"\
5571
" {last_section=section; section=\$ 3};"\
5572
" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5573
" \$ 0!~/External *\|/{next};"\
5574
" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5575
" {if(hide[section]) next};"\
5576
" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5577
" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5578
" s[1]~/^[@?]/{print s[1], s[1]; next};"\
5579
" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5580
" ' prfx=^$ac_symprfx"
5582
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5585
# Check to see that the pipe works correctly.
5589
cat > conftest.$ac_ext <<_LT_EOF
5594
void nm_test_func(void);
5595
void nm_test_func(void){}
5599
int main(){nm_test_var='a';nm_test_func();return(0);}
5602
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5603
(eval $ac_compile) 2>&5
5605
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5606
test $ac_status = 0; }; then
5607
# Now try to grab the symbols.
5609
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
5610
(eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5612
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5613
test $ac_status = 0; } && test -s "$nlist"; then
5614
# Try sorting and uniquifying the output.
5615
if sort "$nlist" | uniq > "$nlist"T; then
5616
mv -f "$nlist"T "$nlist"
5621
# Make sure that we snagged all the symbols we need.
5622
if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5623
if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5624
cat <<_LT_EOF > conftest.$ac_ext
5630
# Now generate the symbol file.
5631
eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5633
cat <<_LT_EOF >> conftest.$ac_ext
5635
/* The mapping between symbol names and symbols. */
5640
lt__PROGRAM__LTX_preloaded_symbols[] =
5642
{ "@PROGRAM@", (void *) 0 },
5644
$SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5645
cat <<\_LT_EOF >> conftest.$ac_ext
5649
/* This works around a problem in FreeBSD linker */
5650
#ifdef FREEBSD_WORKAROUND
5651
static const void *lt_preloaded_setup() {
5652
return lt__PROGRAM__LTX_preloaded_symbols;
5660
# Now try linking the two files.
5661
mv conftest.$ac_objext conftstm.$ac_objext
5662
lt_save_LIBS="$LIBS"
5663
lt_save_CFLAGS="$CFLAGS"
5664
LIBS="conftstm.$ac_objext"
5665
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5666
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5667
(eval $ac_link) 2>&5
5669
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5670
test $ac_status = 0; } && test -s conftest${ac_exeext}; then
5673
LIBS="$lt_save_LIBS"
5674
CFLAGS="$lt_save_CFLAGS"
5676
echo "cannot find nm_test_func in $nlist" >&5
5679
echo "cannot find nm_test_var in $nlist" >&5
5682
echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5685
echo "$progname: failed program was:" >&5
5686
cat conftest.$ac_ext >&5
5688
rm -rf conftest* conftst*
5690
# Do not use the global_symbol_pipe unless it works.
5691
if test "$pipe_works" = yes; then
5694
lt_cv_sys_global_symbol_pipe=
5700
if test -z "$lt_cv_sys_global_symbol_pipe"; then
5701
lt_cv_sys_global_symbol_to_cdecl=
5703
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5704
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
5705
$as_echo "failed" >&6; }
5707
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5708
$as_echo "ok" >&6; }
5733
# Check whether --enable-libtool-lock was given.
5734
if test "${enable_libtool_lock+set}" = set; then :
5735
enableval=$enable_libtool_lock;
5738
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5740
# Some flags need to be propagated to the compiler or linker for good
5744
# Find out which ABI we are using.
5745
echo 'int i;' > conftest.$ac_ext
5746
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5747
(eval $ac_compile) 2>&5
5749
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5750
test $ac_status = 0; }; then
5751
case `/usr/bin/file conftest.$ac_objext` in
5763
# Find out which ABI we are using.
5764
echo '#line 5764 "configure"' > conftest.$ac_ext
5765
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5766
(eval $ac_compile) 2>&5
5768
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5769
test $ac_status = 0; }; then
5770
if test "$lt_cv_prog_gnu_ld" = yes; then
5771
case `/usr/bin/file conftest.$ac_objext` in
5773
LD="${LD-ld} -melf32bsmip"
5776
LD="${LD-ld} -melf32bmipn32"
5779
LD="${LD-ld} -melf64bmip"
5783
case `/usr/bin/file conftest.$ac_objext` in
5799
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5800
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5801
# Find out which ABI we are using.
5802
echo 'int i;' > conftest.$ac_ext
5803
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5804
(eval $ac_compile) 2>&5
5806
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5807
test $ac_status = 0; }; then
5808
case `/usr/bin/file conftest.o` in
5811
x86_64-*kfreebsd*-gnu)
5812
LD="${LD-ld} -m elf_i386_fbsd"
5815
LD="${LD-ld} -m elf_i386"
5817
ppc64-*linux*|powerpc64-*linux*)
5818
LD="${LD-ld} -m elf32ppclinux"
5821
LD="${LD-ld} -m elf_s390"
5824
LD="${LD-ld} -m elf32_sparc"
5830
x86_64-*kfreebsd*-gnu)
5831
LD="${LD-ld} -m elf_x86_64_fbsd"
5834
LD="${LD-ld} -m elf_x86_64"
5836
ppc*-*linux*|powerpc*-*linux*)
5837
LD="${LD-ld} -m elf64ppc"
5839
s390*-*linux*|s390*-*tpf*)
5840
LD="${LD-ld} -m elf64_s390"
5843
LD="${LD-ld} -m elf64_sparc"
5853
# On SCO OpenServer 5, we need -belf to get full-featured binaries.
5854
SAVE_CFLAGS="$CFLAGS"
5855
CFLAGS="$CFLAGS -belf"
5856
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
5857
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
5858
if test "${lt_cv_cc_needs_belf+set}" = set; then :
5859
$as_echo_n "(cached) " >&6
5862
ac_cpp='$CPP $CPPFLAGS'
5863
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5864
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5865
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5867
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5868
/* end confdefs.h. */
5878
if ac_fn_c_try_link "$LINENO"; then :
5879
lt_cv_cc_needs_belf=yes
5881
lt_cv_cc_needs_belf=no
5883
rm -f core conftest.err conftest.$ac_objext \
5884
conftest$ac_exeext conftest.$ac_ext
5886
ac_cpp='$CPP $CPPFLAGS'
5887
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5888
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5889
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5892
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
5893
$as_echo "$lt_cv_cc_needs_belf" >&6; }
5894
if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5895
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5896
CFLAGS="$SAVE_CFLAGS"
5900
# Find out which ABI we are using.
5901
echo 'int i;' > conftest.$ac_ext
5902
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5903
(eval $ac_compile) 2>&5
5905
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5906
test $ac_status = 0; }; then
5907
case `/usr/bin/file conftest.o` in
5909
case $lt_cv_prog_gnu_ld in
5910
yes*) LD="${LD-ld} -m elf64_sparc" ;;
5912
if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
5924
need_locks="$enable_libtool_lock"
5928
rhapsody* | darwin*)
5929
if test -n "$ac_tool_prefix"; then
5930
# Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
5931
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
5932
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5933
$as_echo_n "checking for $ac_word... " >&6; }
5934
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
5935
$as_echo_n "(cached) " >&6
5937
if test -n "$DSYMUTIL"; then
5938
ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
5940
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5944
test -z "$as_dir" && as_dir=.
5945
for ac_exec_ext in '' $ac_executable_extensions; do
5946
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5947
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
5948
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5957
DSYMUTIL=$ac_cv_prog_DSYMUTIL
5958
if test -n "$DSYMUTIL"; then
5959
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
5960
$as_echo "$DSYMUTIL" >&6; }
5962
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5963
$as_echo "no" >&6; }
5968
if test -z "$ac_cv_prog_DSYMUTIL"; then
5969
ac_ct_DSYMUTIL=$DSYMUTIL
5970
# Extract the first word of "dsymutil", so it can be a program name with args.
5971
set dummy dsymutil; ac_word=$2
5972
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5973
$as_echo_n "checking for $ac_word... " >&6; }
5974
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
5975
$as_echo_n "(cached) " >&6
5977
if test -n "$ac_ct_DSYMUTIL"; then
5978
ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
5980
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5984
test -z "$as_dir" && as_dir=.
5985
for ac_exec_ext in '' $ac_executable_extensions; do
5986
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5987
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
5988
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5997
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
5998
if test -n "$ac_ct_DSYMUTIL"; then
5999
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6000
$as_echo "$ac_ct_DSYMUTIL" >&6; }
6002
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6003
$as_echo "no" >&6; }
6006
if test "x$ac_ct_DSYMUTIL" = x; then
6009
case $cross_compiling:$ac_tool_warned in
6011
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6012
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6013
ac_tool_warned=yes ;;
6015
DSYMUTIL=$ac_ct_DSYMUTIL
6018
DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6021
if test -n "$ac_tool_prefix"; then
6022
# Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6023
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6024
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6025
$as_echo_n "checking for $ac_word... " >&6; }
6026
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6027
$as_echo_n "(cached) " >&6
6029
if test -n "$NMEDIT"; then
6030
ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6032
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6036
test -z "$as_dir" && as_dir=.
6037
for ac_exec_ext in '' $ac_executable_extensions; do
6038
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6039
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6040
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6049
NMEDIT=$ac_cv_prog_NMEDIT
6050
if test -n "$NMEDIT"; then
6051
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6052
$as_echo "$NMEDIT" >&6; }
6054
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6055
$as_echo "no" >&6; }
6060
if test -z "$ac_cv_prog_NMEDIT"; then
6061
ac_ct_NMEDIT=$NMEDIT
6062
# Extract the first word of "nmedit", so it can be a program name with args.
6063
set dummy nmedit; ac_word=$2
6064
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6065
$as_echo_n "checking for $ac_word... " >&6; }
6066
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6067
$as_echo_n "(cached) " >&6
6069
if test -n "$ac_ct_NMEDIT"; then
6070
ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6072
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6076
test -z "$as_dir" && as_dir=.
6077
for ac_exec_ext in '' $ac_executable_extensions; do
6078
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6079
ac_cv_prog_ac_ct_NMEDIT="nmedit"
6080
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6089
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6090
if test -n "$ac_ct_NMEDIT"; then
6091
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6092
$as_echo "$ac_ct_NMEDIT" >&6; }
6094
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6095
$as_echo "no" >&6; }
6098
if test "x$ac_ct_NMEDIT" = x; then
6101
case $cross_compiling:$ac_tool_warned in
6103
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6104
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6105
ac_tool_warned=yes ;;
6107
NMEDIT=$ac_ct_NMEDIT
6110
NMEDIT="$ac_cv_prog_NMEDIT"
6113
if test -n "$ac_tool_prefix"; then
6114
# Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6115
set dummy ${ac_tool_prefix}lipo; ac_word=$2
6116
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6117
$as_echo_n "checking for $ac_word... " >&6; }
6118
if test "${ac_cv_prog_LIPO+set}" = set; then :
6119
$as_echo_n "(cached) " >&6
6121
if test -n "$LIPO"; then
6122
ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6124
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6128
test -z "$as_dir" && as_dir=.
6129
for ac_exec_ext in '' $ac_executable_extensions; do
6130
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6131
ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6132
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6141
LIPO=$ac_cv_prog_LIPO
6142
if test -n "$LIPO"; then
6143
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6144
$as_echo "$LIPO" >&6; }
6146
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6147
$as_echo "no" >&6; }
6152
if test -z "$ac_cv_prog_LIPO"; then
6154
# Extract the first word of "lipo", so it can be a program name with args.
6155
set dummy lipo; ac_word=$2
6156
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6157
$as_echo_n "checking for $ac_word... " >&6; }
6158
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6159
$as_echo_n "(cached) " >&6
6161
if test -n "$ac_ct_LIPO"; then
6162
ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6164
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6168
test -z "$as_dir" && as_dir=.
6169
for ac_exec_ext in '' $ac_executable_extensions; do
6170
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6171
ac_cv_prog_ac_ct_LIPO="lipo"
6172
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6181
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6182
if test -n "$ac_ct_LIPO"; then
6183
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6184
$as_echo "$ac_ct_LIPO" >&6; }
6186
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6187
$as_echo "no" >&6; }
6190
if test "x$ac_ct_LIPO" = x; then
6193
case $cross_compiling:$ac_tool_warned in
6195
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6196
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6197
ac_tool_warned=yes ;;
6202
LIPO="$ac_cv_prog_LIPO"
6205
if test -n "$ac_tool_prefix"; then
6206
# Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6207
set dummy ${ac_tool_prefix}otool; ac_word=$2
6208
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6209
$as_echo_n "checking for $ac_word... " >&6; }
6210
if test "${ac_cv_prog_OTOOL+set}" = set; then :
6211
$as_echo_n "(cached) " >&6
6213
if test -n "$OTOOL"; then
6214
ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6216
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6220
test -z "$as_dir" && as_dir=.
6221
for ac_exec_ext in '' $ac_executable_extensions; do
6222
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6223
ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6224
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6233
OTOOL=$ac_cv_prog_OTOOL
6234
if test -n "$OTOOL"; then
6235
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6236
$as_echo "$OTOOL" >&6; }
6238
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6239
$as_echo "no" >&6; }
6244
if test -z "$ac_cv_prog_OTOOL"; then
6246
# Extract the first word of "otool", so it can be a program name with args.
6247
set dummy otool; ac_word=$2
6248
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6249
$as_echo_n "checking for $ac_word... " >&6; }
6250
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6251
$as_echo_n "(cached) " >&6
6253
if test -n "$ac_ct_OTOOL"; then
6254
ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6256
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6260
test -z "$as_dir" && as_dir=.
6261
for ac_exec_ext in '' $ac_executable_extensions; do
6262
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6263
ac_cv_prog_ac_ct_OTOOL="otool"
6264
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6273
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6274
if test -n "$ac_ct_OTOOL"; then
6275
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6276
$as_echo "$ac_ct_OTOOL" >&6; }
6278
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6279
$as_echo "no" >&6; }
6282
if test "x$ac_ct_OTOOL" = x; then
6285
case $cross_compiling:$ac_tool_warned in
6287
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6288
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6289
ac_tool_warned=yes ;;
6294
OTOOL="$ac_cv_prog_OTOOL"
6297
if test -n "$ac_tool_prefix"; then
6298
# Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6299
set dummy ${ac_tool_prefix}otool64; ac_word=$2
6300
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6301
$as_echo_n "checking for $ac_word... " >&6; }
6302
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6303
$as_echo_n "(cached) " >&6
6305
if test -n "$OTOOL64"; then
6306
ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6308
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6312
test -z "$as_dir" && as_dir=.
6313
for ac_exec_ext in '' $ac_executable_extensions; do
6314
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6315
ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6316
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6325
OTOOL64=$ac_cv_prog_OTOOL64
6326
if test -n "$OTOOL64"; then
6327
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6328
$as_echo "$OTOOL64" >&6; }
6330
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6331
$as_echo "no" >&6; }
6336
if test -z "$ac_cv_prog_OTOOL64"; then
6337
ac_ct_OTOOL64=$OTOOL64
6338
# Extract the first word of "otool64", so it can be a program name with args.
6339
set dummy otool64; ac_word=$2
6340
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6341
$as_echo_n "checking for $ac_word... " >&6; }
6342
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6343
$as_echo_n "(cached) " >&6
6345
if test -n "$ac_ct_OTOOL64"; then
6346
ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6348
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6352
test -z "$as_dir" && as_dir=.
6353
for ac_exec_ext in '' $ac_executable_extensions; do
6354
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6355
ac_cv_prog_ac_ct_OTOOL64="otool64"
6356
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6365
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6366
if test -n "$ac_ct_OTOOL64"; then
6367
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6368
$as_echo "$ac_ct_OTOOL64" >&6; }
6370
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6371
$as_echo "no" >&6; }
6374
if test "x$ac_ct_OTOOL64" = x; then
6377
case $cross_compiling:$ac_tool_warned in
6379
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6380
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6381
ac_tool_warned=yes ;;
6383
OTOOL64=$ac_ct_OTOOL64
6386
OTOOL64="$ac_cv_prog_OTOOL64"
6415
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6416
$as_echo_n "checking for -single_module linker flag... " >&6; }
6417
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
6418
$as_echo_n "(cached) " >&6
6420
lt_cv_apple_cc_single_mod=no
6421
if test -z "${LT_MULTI_MODULE}"; then
6422
# By default we will add the -single_module flag. You can override
6423
# by either setting the environment variable LT_MULTI_MODULE
6424
# non-empty at configure time, or by adding -multi_module to the
6426
rm -rf libconftest.dylib*
6427
echo "int foo(void){return 1;}" > conftest.c
6428
echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6429
-dynamiclib -Wl,-single_module conftest.c" >&5
6430
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6431
-dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6433
if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6434
lt_cv_apple_cc_single_mod=yes
6436
cat conftest.err >&5
6438
rm -rf libconftest.dylib*
6442
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6443
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6444
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6445
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6446
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
6447
$as_echo_n "(cached) " >&6
6449
lt_cv_ld_exported_symbols_list=no
6450
save_LDFLAGS=$LDFLAGS
6451
echo "_main" > conftest.sym
6452
LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6453
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6454
/* end confdefs.h. */
6464
if ac_fn_c_try_link "$LINENO"; then :
6465
lt_cv_ld_exported_symbols_list=yes
6467
lt_cv_ld_exported_symbols_list=no
6469
rm -f core conftest.err conftest.$ac_objext \
6470
conftest$ac_exeext conftest.$ac_ext
6471
LDFLAGS="$save_LDFLAGS"
6474
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6475
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6477
rhapsody* | darwin1.[012])
6478
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6480
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6481
darwin*) # darwin 5.x on
6482
# if running on 10.5 or later, the deployment target defaults
6483
# to the OS version, if on x86, and 10.4, the deployment
6484
# target defaults to 10.4. Don't you love it?
6485
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6486
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6487
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6489
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6491
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6495
if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6496
_lt_dar_single_mod='$single_module'
6498
if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6499
_lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6501
_lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6503
if test "$DSYMUTIL" != ":"; then
6504
_lt_dsymutil='~$DSYMUTIL $lib || :'
6512
ac_cpp='$CPP $CPPFLAGS'
6513
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6514
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6515
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6516
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6517
$as_echo_n "checking how to run the C preprocessor... " >&6; }
6518
# On Suns, sometimes $CPP names a directory.
6519
if test -n "$CPP" && test -d "$CPP"; then
6522
if test -z "$CPP"; then
6523
if test "${ac_cv_prog_CPP+set}" = set; then :
6524
$as_echo_n "(cached) " >&6
6526
# Double quotes because CPP needs to be expanded
6527
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6530
for ac_c_preproc_warn_flag in '' yes
6532
# Use a header file that comes with gcc, so configuring glibc
6533
# with a fresh cross-compiler works.
6534
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6535
# <limits.h> exists even on freestanding compilers.
6536
# On the NeXT, cc -E runs the code through the compiler's parser,
6537
# not just through cpp. "Syntax error" is here to catch this case.
6538
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6539
/* end confdefs.h. */
6541
# include <limits.h>
6543
# include <assert.h>
6547
if ac_fn_c_try_cpp "$LINENO"; then :
6550
# Broken: fails on valid input.
6553
rm -f conftest.err conftest.$ac_ext
6555
# OK, works on sane cases. Now check whether nonexistent headers
6556
# can be detected and how.
6557
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6558
/* end confdefs.h. */
6559
#include <ac_nonexistent.h>
6561
if ac_fn_c_try_cpp "$LINENO"; then :
6562
# Broken: success on invalid input.
6565
# Passes both tests.
6569
rm -f conftest.err conftest.$ac_ext
6572
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6573
rm -f conftest.err conftest.$ac_ext
6574
if $ac_preproc_ok; then :
6586
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6587
$as_echo "$CPP" >&6; }
6589
for ac_c_preproc_warn_flag in '' yes
6591
# Use a header file that comes with gcc, so configuring glibc
6592
# with a fresh cross-compiler works.
6593
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6594
# <limits.h> exists even on freestanding compilers.
6595
# On the NeXT, cc -E runs the code through the compiler's parser,
6596
# not just through cpp. "Syntax error" is here to catch this case.
6597
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6598
/* end confdefs.h. */
6600
# include <limits.h>
6602
# include <assert.h>
6606
if ac_fn_c_try_cpp "$LINENO"; then :
6609
# Broken: fails on valid input.
6612
rm -f conftest.err conftest.$ac_ext
6614
# OK, works on sane cases. Now check whether nonexistent headers
6615
# can be detected and how.
6616
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6617
/* end confdefs.h. */
6618
#include <ac_nonexistent.h>
6620
if ac_fn_c_try_cpp "$LINENO"; then :
6621
# Broken: success on invalid input.
6624
# Passes both tests.
6628
rm -f conftest.err conftest.$ac_ext
6631
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6632
rm -f conftest.err conftest.$ac_ext
6633
if $ac_preproc_ok; then :
6636
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6637
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6638
as_fn_error "C preprocessor \"$CPP\" fails sanity check
6639
See \`config.log' for more details." "$LINENO" 5; }
6643
ac_cpp='$CPP $CPPFLAGS'
6644
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6645
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6646
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6649
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6650
$as_echo_n "checking for ANSI C header files... " >&6; }
6651
if test "${ac_cv_header_stdc+set}" = set; then :
6652
$as_echo_n "(cached) " >&6
6654
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6655
/* end confdefs.h. */
6669
if ac_fn_c_try_compile "$LINENO"; then :
6670
ac_cv_header_stdc=yes
6672
ac_cv_header_stdc=no
6674
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6676
if test $ac_cv_header_stdc = yes; then
6677
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6678
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6679
/* end confdefs.h. */
6683
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6684
$EGREP "memchr" >/dev/null 2>&1; then :
6687
ac_cv_header_stdc=no
6693
if test $ac_cv_header_stdc = yes; then
6694
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6695
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6696
/* end confdefs.h. */
6700
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6701
$EGREP "free" >/dev/null 2>&1; then :
6704
ac_cv_header_stdc=no
6710
if test $ac_cv_header_stdc = yes; then
6711
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6712
if test "$cross_compiling" = yes; then :
6715
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6716
/* end confdefs.h. */
6719
#if ((' ' & 0x0FF) == 0x020)
6720
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6721
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6723
# define ISLOWER(c) \
6724
(('a' <= (c) && (c) <= 'i') \
6725
|| ('j' <= (c) && (c) <= 'r') \
6726
|| ('s' <= (c) && (c) <= 'z'))
6727
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6730
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6735
for (i = 0; i < 256; i++)
6736
if (XOR (islower (i), ISLOWER (i))
6737
|| toupper (i) != TOUPPER (i))
6742
if ac_fn_c_try_run "$LINENO"; then :
6745
ac_cv_header_stdc=no
6747
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6748
conftest.$ac_objext conftest.beam conftest.$ac_ext
6753
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6754
$as_echo "$ac_cv_header_stdc" >&6; }
6755
if test $ac_cv_header_stdc = yes; then
6757
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
6761
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
6762
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6763
inttypes.h stdint.h unistd.h
6765
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6766
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6768
eval as_val=\$$as_ac_Header
6769
if test "x$as_val" = x""yes; then :
6770
cat >>confdefs.h <<_ACEOF
6771
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6779
for ac_header in dlfcn.h
6781
ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
6783
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
6784
cat >>confdefs.h <<_ACEOF
6785
#define HAVE_DLFCN_H 1
6804
# Check whether --enable-shared was given.
6805
if test "${enable_shared+set}" = set; then :
6806
enableval=$enable_shared; p=${PACKAGE-default}
6808
yes) enable_shared=yes ;;
6809
no) enable_shared=no ;;
6812
# Look at the argument we got. We use all the common list separators.
6813
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6814
for pkg in $enableval; do
6816
if test "X$pkg" = "X$p"; then
6835
# Check whether --enable-static was given.
6836
if test "${enable_static+set}" = set; then :
6837
enableval=$enable_static; p=${PACKAGE-default}
6839
yes) enable_static=yes ;;
6840
no) enable_static=no ;;
6843
# Look at the argument we got. We use all the common list separators.
6844
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6845
for pkg in $enableval; do
6847
if test "X$pkg" = "X$p"; then
6867
# Check whether --with-pic was given.
6868
if test "${with_pic+set}" = set; then :
6869
withval=$with_pic; pic_mode="$withval"
6875
test -z "$pic_mode" && pic_mode=default
6883
# Check whether --enable-fast-install was given.
6884
if test "${enable_fast_install+set}" = set; then :
6885
enableval=$enable_fast_install; p=${PACKAGE-default}
6887
yes) enable_fast_install=yes ;;
6888
no) enable_fast_install=no ;;
6890
enable_fast_install=no
6891
# Look at the argument we got. We use all the common list separators.
6892
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6893
for pkg in $enableval; do
6895
if test "X$pkg" = "X$p"; then
6896
enable_fast_install=yes
6903
enable_fast_install=yes
6916
# This can be used to rebuild libtool when needed
6917
LIBTOOL_DEPS="$ltmain"
6919
# Always use our own libtool.
6920
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
6946
test -z "$LN_S" && LN_S="ln -s"
6961
if test -n "${ZSH_VERSION+set}" ; then
6962
setopt NO_GLOB_SUBST
6965
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
6966
$as_echo_n "checking for objdir... " >&6; }
6967
if test "${lt_cv_objdir+set}" = set; then :
6968
$as_echo_n "(cached) " >&6
6970
rm -f .libs 2>/dev/null
6971
mkdir .libs 2>/dev/null
6972
if test -d .libs; then
6975
# MS-DOS does not allow filenames that begin with a dot.
6978
rmdir .libs 2>/dev/null
6980
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
6981
$as_echo "$lt_cv_objdir" >&6; }
6982
objdir=$lt_cv_objdir
6988
cat >>confdefs.h <<_ACEOF
6989
#define LT_OBJDIR "$lt_cv_objdir/"
7010
# AIX sometimes has problems with the GCC collect2 program. For some
7011
# reason, if we set the COLLECT_NAMES environment variable, the problems
7012
# vanish in a puff of smoke.
7013
if test "X${COLLECT_NAMES+set}" != Xset; then
7015
export COLLECT_NAMES
7020
# Sed substitution that helps us do robust quoting. It backslashifies
7021
# metacharacters that are still active within double-quoted strings.
7022
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7024
# Same as above, but do not quote variable references.
7025
double_quote_subst='s/\(["`\\]\)/\\\1/g'
7027
# Sed substitution to delay expansion of an escaped shell variable in a
7028
# double_quote_subst'ed string.
7029
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7031
# Sed substitution to delay expansion of an escaped single quote.
7032
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7034
# Sed substitution to avoid accidental globbing in evaled expressions
7035
no_glob_subst='s/\*/\\\*/g'
7039
can_build_shared=yes
7041
# All known linkers require a `.a' archive for static linking (except MSVC,
7042
# which needs '.lib').
7045
with_gnu_ld="$lt_cv_prog_gnu_ld"
7048
old_CFLAGS="$CFLAGS"
7050
# Set sane defaults for various variables
7051
test -z "$CC" && CC=cc
7052
test -z "$LTCC" && LTCC=$CC
7053
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7054
test -z "$LD" && LD=ld
7055
test -z "$ac_objext" && ac_objext=o
7057
for cc_temp in $compiler""; do
7059
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7060
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7065
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7068
# Only perform the check for file, if the check method requires it
7069
test -z "$MAGIC_CMD" && MAGIC_CMD=file
7070
case $deplibs_check_method in
7072
if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7073
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7074
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7075
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7076
$as_echo_n "(cached) " >&6
7080
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7083
lt_save_MAGIC_CMD="$MAGIC_CMD"
7084
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7085
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7086
for ac_dir in $ac_dummy; do
7088
test -z "$ac_dir" && ac_dir=.
7089
if test -f $ac_dir/${ac_tool_prefix}file; then
7090
lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7091
if test -n "$file_magic_test_file"; then
7092
case $deplibs_check_method in
7094
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7095
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7096
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7097
$EGREP "$file_magic_regex" > /dev/null; then
7102
*** Warning: the command libtool uses to detect shared libraries,
7103
*** $file_magic_cmd, produces output that libtool cannot recognize.
7104
*** The result is that libtool may fail to recognize shared libraries
7105
*** as such. This will affect the creation of libtool libraries that
7106
*** depend on shared libraries, but programs linked with such libtool
7107
*** libraries will work regardless of this problem. Nevertheless, you
7108
*** may want to report the problem to your system manager and/or to
7109
*** bug-libtool@gnu.org
7119
MAGIC_CMD="$lt_save_MAGIC_CMD"
7124
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7125
if test -n "$MAGIC_CMD"; then
7126
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7127
$as_echo "$MAGIC_CMD" >&6; }
7129
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7130
$as_echo "no" >&6; }
7137
if test -z "$lt_cv_path_MAGIC_CMD"; then
7138
if test -n "$ac_tool_prefix"; then
7139
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7140
$as_echo_n "checking for file... " >&6; }
7141
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7142
$as_echo_n "(cached) " >&6
7146
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7149
lt_save_MAGIC_CMD="$MAGIC_CMD"
7150
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7151
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7152
for ac_dir in $ac_dummy; do
7154
test -z "$ac_dir" && ac_dir=.
7155
if test -f $ac_dir/file; then
7156
lt_cv_path_MAGIC_CMD="$ac_dir/file"
7157
if test -n "$file_magic_test_file"; then
7158
case $deplibs_check_method in
7160
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7161
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7162
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7163
$EGREP "$file_magic_regex" > /dev/null; then
7168
*** Warning: the command libtool uses to detect shared libraries,
7169
*** $file_magic_cmd, produces output that libtool cannot recognize.
7170
*** The result is that libtool may fail to recognize shared libraries
7171
*** as such. This will affect the creation of libtool libraries that
7172
*** depend on shared libraries, but programs linked with such libtool
7173
*** libraries will work regardless of this problem. Nevertheless, you
7174
*** may want to report the problem to your system manager and/or to
7175
*** bug-libtool@gnu.org
7185
MAGIC_CMD="$lt_save_MAGIC_CMD"
7190
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7191
if test -n "$MAGIC_CMD"; then
7192
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7193
$as_echo "$MAGIC_CMD" >&6; }
7195
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7196
$as_echo "no" >&6; }
7209
# Use C for the default configuration in the libtool script
7213
ac_cpp='$CPP $CPPFLAGS'
7214
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7215
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7216
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7219
# Source file extension for C test sources.
7222
# Object file extension for compiled C test sources.
7226
# Code to be used in simple compile tests
7227
lt_simple_compile_test_code="int some_variable = 0;"
7229
# Code to be used in simple link tests
7230
lt_simple_link_test_code='int main(){return(0);}'
7238
# If no C compiler was specified, use CC.
7241
# If no C compiler flags were specified, use CFLAGS.
7242
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7244
# Allow CC to be a program name with arguments.
7247
# Save the default compiler, since it gets overwritten when the other
7248
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7249
compiler_DEFAULT=$CC
7251
# save warnings/boilerplate of simple test code
7252
ac_outfile=conftest.$ac_objext
7253
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7254
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7255
_lt_compiler_boilerplate=`cat conftest.err`
7258
ac_outfile=conftest.$ac_objext
7259
echo "$lt_simple_link_test_code" >conftest.$ac_ext
7260
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7261
_lt_linker_boilerplate=`cat conftest.err`
7265
if test -n "$compiler"; then
7267
lt_prog_compiler_no_builtin_flag=
7269
if test "$GCC" = yes; then
7270
lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7272
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7273
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7274
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7275
$as_echo_n "(cached) " >&6
7277
lt_cv_prog_compiler_rtti_exceptions=no
7278
ac_outfile=conftest.$ac_objext
7279
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7280
lt_compiler_flag="-fno-rtti -fno-exceptions"
7281
# Insert the option either (1) after the last *FLAGS variable, or
7282
# (2) before a word containing "conftest.", or (3) at the end.
7283
# Note that $ac_compile itself does not contain backslashes and begins
7284
# with a dollar sign (not a hyphen), so the echo should work correctly.
7285
# The option is referenced via a variable to avoid confusing sed.
7286
lt_compile=`echo "$ac_compile" | $SED \
7287
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7288
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7289
-e 's:$: $lt_compiler_flag:'`
7290
(eval echo "\"\$as_me:7290: $lt_compile\"" >&5)
7291
(eval "$lt_compile" 2>conftest.err)
7293
cat conftest.err >&5
7294
echo "$as_me:7294: \$? = $ac_status" >&5
7295
if (exit $ac_status) && test -s "$ac_outfile"; then
7296
# The compiler can only warn and ignore the option if not recognized
7297
# So say no if there are warnings other than the usual output.
7298
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7299
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7300
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7301
lt_cv_prog_compiler_rtti_exceptions=yes
7307
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7308
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7310
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7311
lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7323
lt_prog_compiler_wl=
7324
lt_prog_compiler_pic=
7325
lt_prog_compiler_static=
7327
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7328
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7330
if test "$GCC" = yes; then
7331
lt_prog_compiler_wl='-Wl,'
7332
lt_prog_compiler_static='-static'
7336
# All AIX code is PIC.
7337
if test "$host_cpu" = ia64; then
7338
# AIX 5 now supports IA64 processor
7339
lt_prog_compiler_static='-Bstatic'
7346
# see comment about AmigaOS4 .so support
7347
lt_prog_compiler_pic='-fPIC'
7350
# FIXME: we need at least 68020 code to build shared libraries, but
7351
# adding the `-m68020' flag to GCC prevents building anything better,
7353
lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7358
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7359
# PIC is the default for these OSes.
7362
mingw* | cygwin* | pw32* | os2* | cegcc*)
7363
# This hack is so that the source file can tell whether it is being
7364
# built for inclusion in a dll (and should export symbols for example).
7365
# Although the cygwin gcc ignores -fPIC, still need this for old-style
7366
# (--disable-auto-import) libraries
7367
lt_prog_compiler_pic='-DDLL_EXPORT'
7370
darwin* | rhapsody*)
7371
# PIC is the default on this platform
7372
# Common symbols not allowed in MH_DYLIB files
7373
lt_prog_compiler_pic='-fno-common'
7377
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7378
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7379
# sets the default TLS model and affects inlining.
7385
lt_prog_compiler_pic='-fPIC'
7391
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
7392
# Instead, we relocate shared libraries at runtime.
7396
# Just because we use GCC doesn't mean we suddenly get shared libraries
7397
# on systems that don't support them.
7398
lt_prog_compiler_can_build_shared=no
7403
# QNX uses GNU C++, but need to define -shared option too, otherwise
7405
lt_prog_compiler_pic='-fPIC -shared'
7409
if test -d /usr/nec; then
7410
lt_prog_compiler_pic=-Kconform_pic
7415
lt_prog_compiler_pic='-fPIC'
7419
# PORTME Check for flag to pass linker flags through the system compiler.
7422
lt_prog_compiler_wl='-Wl,'
7423
if test "$host_cpu" = ia64; then
7424
# AIX 5 now supports IA64 processor
7425
lt_prog_compiler_static='-Bstatic'
7427
lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7431
mingw* | cygwin* | pw32* | os2* | cegcc*)
7432
# This hack is so that the source file can tell whether it is being
7433
# built for inclusion in a dll (and should export symbols for example).
7434
lt_prog_compiler_pic='-DDLL_EXPORT'
7437
hpux9* | hpux10* | hpux11*)
7438
lt_prog_compiler_wl='-Wl,'
7439
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7446
lt_prog_compiler_pic='+Z'
7449
# Is there a better lt_prog_compiler_static that works with the bundled CC?
7450
lt_prog_compiler_static='${wl}-a ${wl}archive'
7453
irix5* | irix6* | nonstopux*)
7454
lt_prog_compiler_wl='-Wl,'
7455
# PIC (with -KPIC) is the default.
7456
lt_prog_compiler_static='-non_shared'
7459
linux* | k*bsd*-gnu | kopensolaris*-gnu)
7460
case $cc_basename in
7461
# old Intel for x86_64 which still supported -KPIC.
7463
lt_prog_compiler_wl='-Wl,'
7464
lt_prog_compiler_pic='-KPIC'
7465
lt_prog_compiler_static='-static'
7467
# icc used to be incompatible with GCC.
7468
# ICC 10 doesn't accept -KPIC any more.
7470
lt_prog_compiler_wl='-Wl,'
7471
lt_prog_compiler_pic='-fPIC'
7472
lt_prog_compiler_static='-static'
7474
# Lahey Fortran 8.1.
7476
lt_prog_compiler_wl='-Wl,'
7477
lt_prog_compiler_pic='--shared'
7478
lt_prog_compiler_static='--static'
7480
pgcc* | pgf77* | pgf90* | pgf95*)
7481
# Portland Group compilers (*not* the Pentium gcc compiler,
7482
# which looks to be a dead project)
7483
lt_prog_compiler_wl='-Wl,'
7484
lt_prog_compiler_pic='-fpic'
7485
lt_prog_compiler_static='-Bstatic'
7488
lt_prog_compiler_wl='-Wl,'
7489
# All Alpha code is PIC.
7490
lt_prog_compiler_static='-non_shared'
7493
# IBM XL C 8.0/Fortran 10.1 on PPC
7494
lt_prog_compiler_wl='-Wl,'
7495
lt_prog_compiler_pic='-qpic'
7496
lt_prog_compiler_static='-qstaticlink'
7499
case `$CC -V 2>&1 | sed 5q` in
7502
lt_prog_compiler_pic='-KPIC'
7503
lt_prog_compiler_static='-Bstatic'
7504
lt_prog_compiler_wl='-Wl,'
7507
# Sun Fortran 8.3 passes all unrecognized flags to the linker
7508
lt_prog_compiler_pic='-KPIC'
7509
lt_prog_compiler_static='-Bstatic'
7510
lt_prog_compiler_wl=''
7518
lt_prog_compiler_pic='-KPIC'
7519
lt_prog_compiler_static='-Bstatic'
7523
# QNX uses GNU C++, but need to define -shared option too, otherwise
7525
lt_prog_compiler_pic='-fPIC -shared'
7528
osf3* | osf4* | osf5*)
7529
lt_prog_compiler_wl='-Wl,'
7530
# All OSF/1 code is PIC.
7531
lt_prog_compiler_static='-non_shared'
7535
lt_prog_compiler_static='-non_shared'
7539
lt_prog_compiler_pic='-KPIC'
7540
lt_prog_compiler_static='-Bstatic'
7541
case $cc_basename in
7543
lt_prog_compiler_wl='-Qoption ld ';;
7545
lt_prog_compiler_wl='-Wl,';;
7550
lt_prog_compiler_wl='-Qoption ld '
7551
lt_prog_compiler_pic='-PIC'
7552
lt_prog_compiler_static='-Bstatic'
7555
sysv4 | sysv4.2uw2* | sysv4.3*)
7556
lt_prog_compiler_wl='-Wl,'
7557
lt_prog_compiler_pic='-KPIC'
7558
lt_prog_compiler_static='-Bstatic'
7562
if test -d /usr/nec ;then
7563
lt_prog_compiler_pic='-Kconform_pic'
7564
lt_prog_compiler_static='-Bstatic'
7568
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7569
lt_prog_compiler_wl='-Wl,'
7570
lt_prog_compiler_pic='-KPIC'
7571
lt_prog_compiler_static='-Bstatic'
7575
lt_prog_compiler_wl='-Wl,'
7576
lt_prog_compiler_can_build_shared=no
7580
lt_prog_compiler_pic='-pic'
7581
lt_prog_compiler_static='-Bstatic'
7585
lt_prog_compiler_can_build_shared=no
7591
# For platforms which do not support PIC, -DPIC is meaningless:
7593
lt_prog_compiler_pic=
7596
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7599
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
7600
$as_echo "$lt_prog_compiler_pic" >&6; }
7608
# Check to make sure the PIC flag actually works.
7610
if test -n "$lt_prog_compiler_pic"; then
7611
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7612
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7613
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
7614
$as_echo_n "(cached) " >&6
7616
lt_cv_prog_compiler_pic_works=no
7617
ac_outfile=conftest.$ac_objext
7618
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7619
lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7620
# Insert the option either (1) after the last *FLAGS variable, or
7621
# (2) before a word containing "conftest.", or (3) at the end.
7622
# Note that $ac_compile itself does not contain backslashes and begins
7623
# with a dollar sign (not a hyphen), so the echo should work correctly.
7624
# The option is referenced via a variable to avoid confusing sed.
7625
lt_compile=`echo "$ac_compile" | $SED \
7626
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7627
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7628
-e 's:$: $lt_compiler_flag:'`
7629
(eval echo "\"\$as_me:7629: $lt_compile\"" >&5)
7630
(eval "$lt_compile" 2>conftest.err)
7632
cat conftest.err >&5
7633
echo "$as_me:7633: \$? = $ac_status" >&5
7634
if (exit $ac_status) && test -s "$ac_outfile"; then
7635
# The compiler can only warn and ignore the option if not recognized
7636
# So say no if there are warnings other than the usual output.
7637
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7638
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7639
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7640
lt_cv_prog_compiler_pic_works=yes
7646
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
7647
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7649
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7650
case $lt_prog_compiler_pic in
7652
*) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7655
lt_prog_compiler_pic=
7656
lt_prog_compiler_can_build_shared=no
7667
# Check to make sure the static flag actually works.
7669
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7670
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7671
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7672
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
7673
$as_echo_n "(cached) " >&6
7675
lt_cv_prog_compiler_static_works=no
7676
save_LDFLAGS="$LDFLAGS"
7677
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7678
echo "$lt_simple_link_test_code" > conftest.$ac_ext
7679
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7680
# The linker can only warn and ignore the option if not recognized
7681
# So say no if there are warnings
7682
if test -s conftest.err; then
7683
# Append any errors to the config.log.
7684
cat conftest.err 1>&5
7685
$ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7686
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7687
if diff conftest.exp conftest.er2 >/dev/null; then
7688
lt_cv_prog_compiler_static_works=yes
7691
lt_cv_prog_compiler_static_works=yes
7695
LDFLAGS="$save_LDFLAGS"
7698
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
7699
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7701
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
7704
lt_prog_compiler_static=
7713
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7714
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7715
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7716
$as_echo_n "(cached) " >&6
7718
lt_cv_prog_compiler_c_o=no
7719
$RM -r conftest 2>/dev/null
7723
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7725
lt_compiler_flag="-o out/conftest2.$ac_objext"
7726
# Insert the option either (1) after the last *FLAGS variable, or
7727
# (2) before a word containing "conftest.", or (3) at the end.
7728
# Note that $ac_compile itself does not contain backslashes and begins
7729
# with a dollar sign (not a hyphen), so the echo should work correctly.
7730
lt_compile=`echo "$ac_compile" | $SED \
7731
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7732
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7733
-e 's:$: $lt_compiler_flag:'`
7734
(eval echo "\"\$as_me:7734: $lt_compile\"" >&5)
7735
(eval "$lt_compile" 2>out/conftest.err)
7737
cat out/conftest.err >&5
7738
echo "$as_me:7738: \$? = $ac_status" >&5
7739
if (exit $ac_status) && test -s out/conftest2.$ac_objext
7741
# The compiler can only warn and ignore the option if not recognized
7742
# So say no if there are warnings
7743
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7744
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7745
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7746
lt_cv_prog_compiler_c_o=yes
7751
# SGI C++ compiler will create directory out/ii_files/ for
7752
# template instantiation
7753
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7754
$RM out/* && rmdir out
7760
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7761
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7768
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7769
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7770
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7771
$as_echo_n "(cached) " >&6
7773
lt_cv_prog_compiler_c_o=no
7774
$RM -r conftest 2>/dev/null
7778
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7780
lt_compiler_flag="-o out/conftest2.$ac_objext"
7781
# Insert the option either (1) after the last *FLAGS variable, or
7782
# (2) before a word containing "conftest.", or (3) at the end.
7783
# Note that $ac_compile itself does not contain backslashes and begins
7784
# with a dollar sign (not a hyphen), so the echo should work correctly.
7785
lt_compile=`echo "$ac_compile" | $SED \
7786
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7787
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7788
-e 's:$: $lt_compiler_flag:'`
7789
(eval echo "\"\$as_me:7789: $lt_compile\"" >&5)
7790
(eval "$lt_compile" 2>out/conftest.err)
7792
cat out/conftest.err >&5
7793
echo "$as_me:7793: \$? = $ac_status" >&5
7794
if (exit $ac_status) && test -s out/conftest2.$ac_objext
7796
# The compiler can only warn and ignore the option if not recognized
7797
# So say no if there are warnings
7798
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7799
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7800
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7801
lt_cv_prog_compiler_c_o=yes
7806
# SGI C++ compiler will create directory out/ii_files/ for
7807
# template instantiation
7808
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7809
$RM out/* && rmdir out
7815
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7816
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7821
hard_links="nottested"
7822
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7823
# do not overwrite the value of need_locks provided by the user
7824
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
7825
$as_echo_n "checking if we can lock with hard links... " >&6; }
7828
ln conftest.a conftest.b 2>/dev/null && hard_links=no
7830
ln conftest.a conftest.b 2>&5 || hard_links=no
7831
ln conftest.a conftest.b 2>/dev/null && hard_links=no
7832
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
7833
$as_echo "$hard_links" >&6; }
7834
if test "$hard_links" = no; then
7835
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7836
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7848
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7849
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
7852
allow_undefined_flag=
7853
always_export_symbols=no
7855
archive_expsym_cmds=
7856
compiler_needs_object=no
7857
enable_shared_with_static_runtimes=no
7858
export_dynamic_flag_spec=
7859
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7860
hardcode_automatic=no
7862
hardcode_direct_absolute=no
7863
hardcode_libdir_flag_spec=
7864
hardcode_libdir_flag_spec_ld=
7865
hardcode_libdir_separator=
7867
hardcode_shlibpath_var=unsupported
7869
link_all_deplibs=unknown
7872
old_archive_from_new_cmds=
7873
old_archive_from_expsyms_cmds=
7874
thread_safe_flag_spec=
7875
whole_archive_flag_spec=
7876
# include_expsyms should be a list of space-separated symbols to be *always*
7877
# included in the symbol list
7879
# exclude_expsyms can be an extended regexp of symbols to exclude
7880
# it will be wrapped by ` (' and `)$', so one must not match beginning or
7881
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7882
# as well as any symbol that contains `d'.
7883
exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
7884
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7885
# platforms (ab)use it in PIC code, but their linkers get confused if
7886
# the symbol is explicitly referenced. Since portable code cannot
7887
# rely on this symbol name, it's probably fine to never include it in
7888
# preloaded symbol tables.
7889
# Exclude shared library initialization/finalization symbols.
7890
extract_expsyms_cmds=
7893
cygwin* | mingw* | pw32* | cegcc*)
7894
# FIXME: the MSVC++ port hasn't been tested in a loooong time
7895
# When not using gcc, we currently assume that we are using
7896
# Microsoft Visual C++.
7897
if test "$GCC" != yes; then
7902
# we just hope/assume this is gcc and not c89 (= MSVC++)
7908
linux* | k*bsd*-gnu)
7914
if test "$with_gnu_ld" = yes; then
7915
# If archive_cmds runs LD, not CC, wlarc should be empty
7918
# Set some defaults for GNU ld with shared library support. These
7919
# are reset later if shared libraries are not supported. Putting them
7920
# here allows them to be overridden if necessary.
7921
runpath_var=LD_RUN_PATH
7922
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7923
export_dynamic_flag_spec='${wl}--export-dynamic'
7924
# ancient GNU ld didn't support --whole-archive et. al.
7925
if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
7926
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7928
whole_archive_flag_spec=
7930
supports_anon_versioning=no
7931
case `$LD -v 2>&1` in
7932
*GNU\ gold*) supports_anon_versioning=yes ;;
7933
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7934
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7935
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7936
*\ 2.11.*) ;; # other 2.11 versions
7937
*) supports_anon_versioning=yes ;;
7940
# See if GNU ld supports shared libraries.
7943
# On AIX/PPC, the GNU linker is very broken
7944
if test "$host_cpu" != ia64; then
7948
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
7949
*** to be unable to reliably create shared libraries on AIX.
7950
*** Therefore, libtool is disabling shared libraries support. If you
7951
*** really care for shared libraries, you may want to modify your PATH
7952
*** so that a non-GNU linker is found, and then restart.
7961
# see comment about AmigaOS4 .so support
7962
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7963
archive_expsym_cmds=''
7966
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)'
7967
hardcode_libdir_flag_spec='-L$libdir'
7968
hardcode_minus_L=yes
7974
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7975
allow_undefined_flag=unsupported
7976
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7977
# support --undefined. This deserves some investigation. FIXME
7978
archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7984
cygwin* | mingw* | pw32* | cegcc*)
7985
# _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7986
# as there is no search path for DLLs.
7987
hardcode_libdir_flag_spec='-L$libdir'
7988
allow_undefined_flag=unsupported
7989
always_export_symbols=no
7990
enable_shared_with_static_runtimes=yes
7991
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7993
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
7994
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7995
# If the export-symbols file already is a .def file (1st line
7996
# is EXPORTS), use it as is; otherwise, prepend...
7997
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7998
cp $export_symbols $output_objdir/$soname.def;
8000
echo EXPORTS > $output_objdir/$soname.def;
8001
cat $export_symbols >> $output_objdir/$soname.def;
8003
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8011
hardcode_shlibpath_var=no
8012
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8013
export_dynamic_flag_spec='${wl}-E'
8014
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8015
# Instead, shared libraries are loaded at an image base (0x10000000 by
8016
# default) and relocated if they conflict, which is a slow very memory
8017
# consuming and fragmenting process. To avoid this, we pick a random,
8018
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8019
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
8020
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8021
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'
8024
gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8026
if test "$host_os" = linux-dietlibc; then
8027
case $cc_basename in
8028
diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8031
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8032
&& test "$tmp_diet" = no
8035
tmp_sharedflag='-shared'
8036
case $cc_basename,$host_cpu in
8037
pgcc*) # Portland Group C compiler
8038
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'
8039
tmp_addflag=' $pic_flag'
8041
pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
8042
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'
8043
tmp_addflag=' $pic_flag -Mnomain' ;;
8044
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8045
tmp_addflag=' -i_dynamic' ;;
8046
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8047
tmp_addflag=' -i_dynamic -nofor_main' ;;
8048
ifc* | ifort*) # Intel Fortran compiler
8049
tmp_addflag=' -nofor_main' ;;
8050
lf95*) # Lahey Fortran 8.1
8051
whole_archive_flag_spec=
8052
tmp_sharedflag='--shared' ;;
8053
xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8054
tmp_sharedflag='-qmkshrobj'
8057
case `$CC -V 2>&1 | sed 5q` in
8058
*Sun\ C*) # Sun C 5.9
8059
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'
8060
compiler_needs_object=yes
8061
tmp_sharedflag='-G' ;;
8062
*Sun\ F*) # Sun Fortran 8.3
8063
tmp_sharedflag='-G' ;;
8065
archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8067
if test "x$supports_anon_versioning" = xyes; then
8068
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8069
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8070
echo "local: *; };" >> $output_objdir/$libname.ver~
8071
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8074
case $cc_basename in
8076
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8077
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8078
hardcode_libdir_flag_spec=
8079
hardcode_libdir_flag_spec_ld='-rpath $libdir'
8080
archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8081
if test "x$supports_anon_versioning" = xyes; then
8082
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8083
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8084
echo "local: *; };" >> $output_objdir/$libname.ver~
8085
$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8094
netbsd* | netbsdelf*-gnu)
8095
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8096
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8099
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8100
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8105
if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8109
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
8110
*** create shared libraries on Solaris systems. Therefore, libtool
8111
*** is disabling shared libraries support. We urge you to upgrade GNU
8112
*** binutils to release 2.9.1 or newer. Another option is to modify
8113
*** your PATH or compiler configuration so that the native linker is
8114
*** used, and then restart.
8117
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8118
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8119
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8125
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8126
case `$LD -v 2>&1` in
8127
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8131
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8132
*** reliably create shared libraries on SCO systems. Therefore, libtool
8133
*** is disabling shared libraries support. We urge you to upgrade GNU
8134
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8135
*** your PATH or compiler configuration so that the native linker is
8136
*** used, and then restart.
8141
# For security reasons, it is highly recommended that you always
8142
# use absolute paths for naming shared libraries, and exclude the
8143
# DT_RUNPATH tag from executables and libraries. But doing so
8144
# requires that you compile everything twice, which is a pain.
8145
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8146
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8147
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8148
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8157
archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8160
hardcode_shlibpath_var=no
8164
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8165
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8166
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8173
if test "$ld_shlibs" = no; then
8175
hardcode_libdir_flag_spec=
8176
export_dynamic_flag_spec=
8177
whole_archive_flag_spec=
8180
# PORTME fill in a description of your system's linker (not GNU ld)
8183
allow_undefined_flag=unsupported
8184
always_export_symbols=yes
8185
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'
8186
# Note: this linker hardcodes the directories in LIBPATH if there
8187
# are no directories specified by -L.
8188
hardcode_minus_L=yes
8189
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8190
# Neither direct hardcoding nor static linking is supported with a
8192
hardcode_direct=unsupported
8197
if test "$host_cpu" = ia64; then
8198
# On IA64, the linker does run time linking by default, so we don't
8199
# have to do anything special.
8200
aix_use_runtimelinking=no
8201
exp_sym_flag='-Bexport'
8204
# If we're using GNU nm, then we don't want the "-C" option.
8205
# -C means demangle to AIX nm, but means don't demangle with GNU nm
8206
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8207
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'
8209
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'
8211
aix_use_runtimelinking=no
8213
# Test if we are trying to use run time linking or normal
8214
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
8215
# need to do runtime linking.
8216
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8217
for ld_flag in $LDFLAGS; do
8218
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8219
aix_use_runtimelinking=yes
8226
exp_sym_flag='-bexport'
8227
no_entry_flag='-bnoentry'
8230
# When large executables or shared objects are built, AIX ld can
8231
# have problems creating the table of contents. If linking a library
8232
# or program results in "error TOC overflow" add -mminimal-toc to
8233
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8234
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8238
hardcode_direct_absolute=yes
8239
hardcode_libdir_separator=':'
8240
link_all_deplibs=yes
8241
file_list_spec='${wl}-f,'
8243
if test "$GCC" = yes; then
8244
case $host_os in aix4.[012]|aix4.[012].*)
8245
# We only want to do this on AIX 4.2 and lower, the check
8246
# below for broken collect2 doesn't work under 4.3+
8247
collect2name=`${CC} -print-prog-name=collect2`
8248
if test -f "$collect2name" &&
8249
strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8251
# We have reworked collect2
8254
# We have old collect2
8255
hardcode_direct=unsupported
8256
# It fails to find uninstalled libraries when the uninstalled
8257
# path is not listed in the libpath. Setting hardcode_minus_L
8258
# to unsupported forces relinking
8259
hardcode_minus_L=yes
8260
hardcode_libdir_flag_spec='-L$libdir'
8261
hardcode_libdir_separator=
8265
shared_flag='-shared'
8266
if test "$aix_use_runtimelinking" = yes; then
8267
shared_flag="$shared_flag "'${wl}-G'
8272
if test "$host_cpu" = ia64; then
8273
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8274
# chokes on -Wl,-G. The following line is correct:
8277
if test "$aix_use_runtimelinking" = yes; then
8278
shared_flag='${wl}-G'
8280
shared_flag='${wl}-bM:SRE'
8285
export_dynamic_flag_spec='${wl}-bexpall'
8286
# It seems that -bexpall does not export symbols beginning with
8287
# underscore (_), so it is better to generate a list of symbols to export.
8288
always_export_symbols=yes
8289
if test "$aix_use_runtimelinking" = yes; then
8290
# Warning - without using the other runtime loading flags (-brtl),
8291
# -berok will link without error, but may produce a broken library.
8292
allow_undefined_flag='-berok'
8293
# Determine the default libpath from the value encoded in an
8295
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8296
/* end confdefs.h. */
8306
if ac_fn_c_try_link "$LINENO"; then :
8308
lt_aix_libpath_sed='
8309
/Import File Strings/,/^$/ {
8315
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8316
# Check for a 64-bit object if we didn't find anything.
8317
if test -z "$aix_libpath"; then
8318
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8321
rm -f core conftest.err conftest.$ac_objext \
8322
conftest$ac_exeext conftest.$ac_ext
8323
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8325
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8326
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"
8328
if test "$host_cpu" = ia64; then
8329
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8330
allow_undefined_flag="-z nodefs"
8331
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"
8333
# Determine the default libpath from the value encoded in an
8335
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8336
/* end confdefs.h. */
8346
if ac_fn_c_try_link "$LINENO"; then :
8348
lt_aix_libpath_sed='
8349
/Import File Strings/,/^$/ {
8355
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8356
# Check for a 64-bit object if we didn't find anything.
8357
if test -z "$aix_libpath"; then
8358
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8361
rm -f core conftest.err conftest.$ac_objext \
8362
conftest$ac_exeext conftest.$ac_ext
8363
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8365
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8366
# Warning - without using the other run time loading flags,
8367
# -berok will link without error, but may produce a broken library.
8368
no_undefined_flag=' ${wl}-bernotok'
8369
allow_undefined_flag=' ${wl}-berok'
8370
# Exported symbols can be pulled into shared objects from archives
8371
whole_archive_flag_spec='$convenience'
8372
archive_cmds_need_lc=yes
8373
# This is similar to how AIX traditionally builds its shared libraries.
8374
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'
8382
# see comment about AmigaOS4 .so support
8383
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8384
archive_expsym_cmds=''
8387
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)'
8388
hardcode_libdir_flag_spec='-L$libdir'
8389
hardcode_minus_L=yes
8395
export_dynamic_flag_spec=-rdynamic
8398
cygwin* | mingw* | pw32* | cegcc*)
8399
# When not using gcc, we currently assume that we are using
8400
# Microsoft Visual C++.
8401
# hardcode_libdir_flag_spec is actually meaningless, as there is
8402
# no search path for DLLs.
8403
hardcode_libdir_flag_spec=' '
8404
allow_undefined_flag=unsupported
8405
# Tell ltmain to make .lib files, not .a files.
8407
# Tell ltmain to make .dll files, not .so files.
8409
# FIXME: Setting linknames here is a bad hack.
8410
archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8411
# The linker will automatically build a .lib file if we build a DLL.
8412
old_archive_from_new_cmds='true'
8413
# FIXME: Should let the user specify the lib program.
8414
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8415
fix_srcfile_path='`cygpath -w "$srcfile"`'
8416
enable_shared_with_static_runtimes=yes
8419
darwin* | rhapsody*)
8422
archive_cmds_need_lc=no
8424
hardcode_automatic=yes
8425
hardcode_shlibpath_var=unsupported
8426
whole_archive_flag_spec=''
8427
link_all_deplibs=yes
8428
allow_undefined_flag="$_lt_dar_allow_undefined"
8429
case $cc_basename in
8430
ifort*) _lt_dar_can_shared=yes ;;
8431
*) _lt_dar_can_shared=$GCC ;;
8433
if test "$_lt_dar_can_shared" = "yes"; then
8434
output_verbose_link_cmd=echo
8435
archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8436
module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8437
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}"
8438
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}"
8447
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8448
hardcode_libdir_flag_spec='-L$libdir'
8449
hardcode_shlibpath_var=no
8456
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8457
# support. Future versions do this automatically, but an explicit c++rt0.o
8458
# does not break anything, and helps significantly (at the cost of a little
8461
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8462
hardcode_libdir_flag_spec='-R$libdir'
8464
hardcode_shlibpath_var=no
8467
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
8469
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8471
hardcode_minus_L=yes
8472
hardcode_shlibpath_var=no
8475
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8476
freebsd* | dragonfly*)
8477
archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8478
hardcode_libdir_flag_spec='-R$libdir'
8480
hardcode_shlibpath_var=no
8484
if test "$GCC" = yes; then
8485
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'
8487
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'
8489
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8490
hardcode_libdir_separator=:
8493
# hardcode_minus_L: Not really in the search PATH,
8494
# but as the default location of the library.
8495
hardcode_minus_L=yes
8496
export_dynamic_flag_spec='${wl}-E'
8500
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8501
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8503
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8505
if test "$with_gnu_ld" = no; then
8506
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8507
hardcode_libdir_flag_spec_ld='+b $libdir'
8508
hardcode_libdir_separator=:
8510
hardcode_direct_absolute=yes
8511
export_dynamic_flag_spec='${wl}-E'
8512
# hardcode_minus_L: Not really in the search PATH,
8513
# but as the default location of the library.
8514
hardcode_minus_L=yes
8519
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8522
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8525
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8528
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8534
archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8537
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8540
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8544
if test "$with_gnu_ld" = no; then
8545
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8546
hardcode_libdir_separator=:
8551
hardcode_shlibpath_var=no
8555
hardcode_direct_absolute=yes
8556
export_dynamic_flag_spec='${wl}-E'
8558
# hardcode_minus_L: Not really in the search PATH,
8559
# but as the default location of the library.
8560
hardcode_minus_L=yes
8566
irix5* | irix6* | nonstopux*)
8567
if test "$GCC" = yes; then
8568
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'
8569
# Try to use the -exported_symbol ld option, if it does not
8570
# work, assume that -exports_file does not work either and
8571
# implicitly export all symbols.
8572
save_LDFLAGS="$LDFLAGS"
8573
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8574
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8575
/* end confdefs.h. */
8578
if ac_fn_c_try_link "$LINENO"; then :
8579
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'
8582
rm -f core conftest.err conftest.$ac_objext \
8583
conftest$ac_exeext conftest.$ac_ext
8584
LDFLAGS="$save_LDFLAGS"
8586
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'
8587
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'
8589
archive_cmds_need_lc='no'
8590
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8591
hardcode_libdir_separator=:
8593
link_all_deplibs=yes
8596
netbsd* | netbsdelf*-gnu)
8597
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8598
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8600
archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8602
hardcode_libdir_flag_spec='-R$libdir'
8604
hardcode_shlibpath_var=no
8608
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8610
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8611
hardcode_libdir_separator=:
8612
hardcode_shlibpath_var=no
8619
if test -f /usr/libexec/ld.so; then
8621
hardcode_shlibpath_var=no
8622
hardcode_direct_absolute=yes
8623
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8624
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8625
archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8626
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8627
export_dynamic_flag_spec='${wl}-E'
8630
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8631
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8632
hardcode_libdir_flag_spec='-R$libdir'
8635
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8636
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8646
hardcode_libdir_flag_spec='-L$libdir'
8647
hardcode_minus_L=yes
8648
allow_undefined_flag=unsupported
8649
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'
8650
old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8654
if test "$GCC" = yes; then
8655
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8656
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'
8658
allow_undefined_flag=' -expect_unresolved \*'
8659
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'
8661
archive_cmds_need_lc='no'
8662
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8663
hardcode_libdir_separator=:
8666
osf4* | osf5*) # as osf3* with the addition of -msym flag
8667
if test "$GCC" = yes; then
8668
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8669
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'
8670
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8672
allow_undefined_flag=' -expect_unresolved \*'
8673
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'
8674
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~
8675
$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'
8677
# Both c and cxx compiler support -rpath directly
8678
hardcode_libdir_flag_spec='-rpath $libdir'
8680
archive_cmds_need_lc='no'
8681
hardcode_libdir_separator=:
8685
no_undefined_flag=' -z defs'
8686
if test "$GCC" = yes; then
8688
archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8689
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8690
$CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8692
case `$CC -V 2>&1` in
8695
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8696
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8697
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8701
archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8702
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8703
$CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8707
hardcode_libdir_flag_spec='-R$libdir'
8708
hardcode_shlibpath_var=no
8710
solaris2.[0-5] | solaris2.[0-5].*) ;;
8712
# The compiler driver will combine and reorder linker options,
8713
# but understands `-z linker_flag'. GCC discards it without `$wl',
8714
# but is careful enough not to reorder.
8715
# Supported since Solaris 2.6 (maybe 2.5.1?)
8716
if test "$GCC" = yes; then
8717
whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8719
whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8723
link_all_deplibs=yes
8727
if test "x$host_vendor" = xsequent; then
8728
# Use $CC to link under sequent, because it throws in some extra .o
8729
# files that make .init and .fini sections work.
8730
archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8732
archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8734
hardcode_libdir_flag_spec='-L$libdir'
8736
hardcode_minus_L=yes
8737
hardcode_shlibpath_var=no
8741
case $host_vendor in
8743
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8744
hardcode_direct=yes # is this really true???
8747
## LD is ld it makes a PLAMLIB
8748
## CC just makes a GrossModule.
8749
archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8750
reload_cmds='$CC -r -o $output$reload_objs'
8754
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8755
hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8758
runpath_var='LD_RUN_PATH'
8759
hardcode_shlibpath_var=no
8763
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8764
hardcode_shlibpath_var=no
8765
export_dynamic_flag_spec='-Bexport'
8769
if test -d /usr/nec; then
8770
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8771
hardcode_shlibpath_var=no
8772
runpath_var=LD_RUN_PATH
8773
hardcode_runpath_var=yes
8778
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8779
no_undefined_flag='${wl}-z,text'
8780
archive_cmds_need_lc=no
8781
hardcode_shlibpath_var=no
8782
runpath_var='LD_RUN_PATH'
8784
if test "$GCC" = yes; then
8785
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8786
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8788
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8789
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8793
sysv5* | sco3.2v5* | sco5v6*)
8794
# Note: We can NOT use -z defs as we might desire, because we do not
8795
# link with -lc, and that would cause any symbols used from libc to
8796
# always be unresolved, which means just about no library would
8797
# ever link correctly. If we're not using GNU ld we use -z text
8798
# though, which does catch some bad symbols but isn't as heavy-handed
8800
no_undefined_flag='${wl}-z,text'
8801
allow_undefined_flag='${wl}-z,nodefs'
8802
archive_cmds_need_lc=no
8803
hardcode_shlibpath_var=no
8804
hardcode_libdir_flag_spec='${wl}-R,$libdir'
8805
hardcode_libdir_separator=':'
8806
link_all_deplibs=yes
8807
export_dynamic_flag_spec='${wl}-Bexport'
8808
runpath_var='LD_RUN_PATH'
8810
if test "$GCC" = yes; then
8811
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8812
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8814
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8815
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8820
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8821
hardcode_libdir_flag_spec='-L$libdir'
8822
hardcode_shlibpath_var=no
8830
if test x$host_vendor = xsni; then
8832
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8833
export_dynamic_flag_spec='${wl}-Blargedynsym'
8839
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
8840
$as_echo "$ld_shlibs" >&6; }
8841
test "$ld_shlibs" = no && can_build_shared=no
8843
with_gnu_ld=$with_gnu_ld
8860
# Do we need to explicitly link libc?
8862
case "x$archive_cmds_need_lc" in
8864
# Assume -lc should be added
8865
archive_cmds_need_lc=yes
8867
if test "$enable_shared" = yes && test "$GCC" = yes; then
8868
case $archive_cmds in
8870
# FIXME: we may have to deal with multi-command sequences.
8873
# Test whether the compiler implicitly links with -lc since on some
8874
# systems, -lgcc has to come before -lc. If gcc already passes -lc
8875
# to ld, don't add -lc before -lgcc.
8876
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
8877
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
8879
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8881
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8882
(eval $ac_compile) 2>&5
8884
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8885
test $ac_status = 0; } 2>conftest.err; then
8888
libobjs=conftest.$ac_objext
8890
wl=$lt_prog_compiler_wl
8891
pic_flag=$lt_prog_compiler_pic
8897
lt_save_allow_undefined_flag=$allow_undefined_flag
8898
allow_undefined_flag=
8899
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
8900
(eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
8902
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8903
test $ac_status = 0; }
8905
archive_cmds_need_lc=no
8907
archive_cmds_need_lc=yes
8909
allow_undefined_flag=$lt_save_allow_undefined_flag
8911
cat conftest.err 1>&5
8914
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
8915
$as_echo "$archive_cmds_need_lc" >&6; }
9078
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9079
$as_echo_n "checking dynamic linker characteristics... " >&6; }
9081
if test "$GCC" = yes; then
9083
darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9084
*) lt_awk_arg="/^libraries:/" ;;
9086
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9087
if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9088
# if the path contains ";" then we assume it to be the separator
9089
# otherwise default to the standard path separator (i.e. ":") - it is
9090
# assumed that no part of a normal pathname contains ";" but that should
9091
# okay in the real world where ";" in dirpaths is itself problematic.
9092
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9094
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9096
# Ok, now we have the path, separated by spaces, we can step through it
9097
# and add multilib dir if necessary.
9098
lt_tmp_lt_search_path_spec=
9099
lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9100
for lt_sys_path in $lt_search_path_spec; do
9101
if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9102
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9104
test -d "$lt_sys_path" && \
9105
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9108
lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9109
BEGIN {RS=" "; FS="/|\n";} {
9112
for (lt_i = NF; lt_i > 0; lt_i--) {
9113
if ($lt_i != "" && $lt_i != ".") {
9114
if ($lt_i == "..") {
9117
if (lt_count == 0) {
9118
lt_foo="/" $lt_i lt_foo;
9125
if (lt_foo != "") { lt_freq[lt_foo]++; }
9126
if (lt_freq[lt_foo] == 1) { print lt_foo; }
9128
sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9130
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9133
libname_spec='lib$name'
9141
shlibpath_overrides_runpath=unknown
9143
dynamic_linker="$host_os ld.so"
9144
sys_lib_dlsearch_path_spec="/lib /usr/lib"
9145
need_lib_prefix=unknown
9146
hardcode_into_libs=no
9148
# when you set need_version to no, make sure it does not cause -set_version
9149
# flags to be left without arguments
9150
need_version=unknown
9155
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9156
shlibpath_var=LIBPATH
9158
# AIX 3 has no versioning support, so we append a major version to the name.
9159
soname_spec='${libname}${release}${shared_ext}$major'
9166
hardcode_into_libs=yes
9167
if test "$host_cpu" = ia64; then
9168
# AIX 5 supports IA64
9169
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9170
shlibpath_var=LD_LIBRARY_PATH
9172
# With GCC up to 2.95.x, collect2 would create an import file
9173
# for dependence libraries. The import file would start with
9174
# the line `#! .'. This would cause the generated library to
9175
# depend on `.', always an invalid library. This was fixed in
9176
# development snapshots of GCC prior to 3.0.
9178
aix4 | aix4.[01] | aix4.[01].*)
9179
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9181
echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9188
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9189
# soname into executable. Probably we can add versioning support to
9190
# collect2, so additional links can be useful in future.
9191
if test "$aix_use_runtimelinking" = yes; then
9192
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
9193
# instead of lib<name>.a to let people know that these are not
9194
# typical AIX shared libraries.
9195
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9197
# We preserve .a as extension for shared libraries through AIX4.2
9198
# and later when we are not doing run time linking.
9199
library_names_spec='${libname}${release}.a $libname.a'
9200
soname_spec='${libname}${release}${shared_ext}$major'
9202
shlibpath_var=LIBPATH
9209
# Since July 2007 AmigaOS4 officially supports .so libraries.
9210
# When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9211
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9214
library_names_spec='$libname.ixlibrary $libname.a'
9215
# Create ${libname}_ixlibrary.a entries in /sys/libs.
9216
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'
9222
library_names_spec='${libname}${shared_ext}'
9223
dynamic_linker="$host_os ld.so"
9224
shlibpath_var=LIBRARY_PATH
9230
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9231
soname_spec='${libname}${release}${shared_ext}$major'
9232
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9233
shlibpath_var=LD_LIBRARY_PATH
9234
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9235
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9236
# the default ld.so.conf also contains /usr/contrib/lib and
9237
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9238
# libtool to hard-code these into programs
9241
cygwin* | mingw* | pw32* | cegcc*)
9242
version_type=windows
9247
case $GCC,$host_os in
9248
yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9249
library_names_spec='$libname.dll.a'
9250
# DLL is installed to $(libdir)/../bin by postinstall_cmds
9251
postinstall_cmds='base_file=`basename \${file}`~
9252
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9253
dldir=$destdir/`dirname \$dlpath`~
9254
test -d \$dldir || mkdir -p \$dldir~
9255
$install_prog $dir/$dlname \$dldir/$dlname~
9256
chmod a+x \$dldir/$dlname~
9257
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9258
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9260
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9261
dlpath=$dir/\$dldll~
9263
shlibpath_overrides_runpath=yes
9267
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
9268
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9269
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9272
# MinGW DLLs use traditional 'lib' prefix
9273
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9274
sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9275
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9276
# It is most probably a Windows format PATH printed by
9277
# mingw gcc, but we are running on Cygwin. Gcc prints its search
9278
# path with ; separators, and with drive letters. We can handle the
9279
# drive letters (cygwin fileutils understands them), so leave them,
9280
# especially as we might pass files found there to a mingw objdump,
9281
# which wouldn't understand a cygwinified path. Ahh.
9282
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9284
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9288
# pw32 DLLs use 'pw' prefix rather than 'lib'
9289
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9295
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9298
dynamic_linker='Win32 ld.exe'
9299
# FIXME: first we should search . and the directory the executable is in
9303
darwin* | rhapsody*)
9304
dynamic_linker="$host_os dyld"
9308
library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9309
soname_spec='${libname}${release}${major}$shared_ext'
9310
shlibpath_overrides_runpath=yes
9311
shlibpath_var=DYLD_LIBRARY_PATH
9312
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9314
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9315
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9322
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9323
soname_spec='${libname}${release}${shared_ext}$major'
9324
shlibpath_var=LD_LIBRARY_PATH
9331
freebsd* | dragonfly*)
9332
# DragonFly does not have aout. When/if they implement a new
9333
# versioning mechanism, adjust this.
9334
if test -x /usr/bin/objformat; then
9335
objformat=`/usr/bin/objformat`
9338
freebsd[123]*) objformat=aout ;;
9342
version_type=freebsd-$objformat
9343
case $version_type in
9345
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9350
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9354
shlibpath_var=LD_LIBRARY_PATH
9357
shlibpath_overrides_runpath=yes
9359
freebsd3.[01]* | freebsdelf3.[01]*)
9360
shlibpath_overrides_runpath=yes
9361
hardcode_into_libs=yes
9363
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9364
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9365
shlibpath_overrides_runpath=no
9366
hardcode_into_libs=yes
9368
*) # from 4.6 on, and DragonFly
9369
shlibpath_overrides_runpath=yes
9370
hardcode_into_libs=yes
9379
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9380
soname_spec='${libname}${release}${shared_ext}$major'
9381
shlibpath_var=LD_LIBRARY_PATH
9382
hardcode_into_libs=yes
9385
hpux9* | hpux10* | hpux11*)
9386
# Give a soname corresponding to the major version so that dld.sl refuses to
9387
# link against other versions.
9394
hardcode_into_libs=yes
9395
dynamic_linker="$host_os dld.so"
9396
shlibpath_var=LD_LIBRARY_PATH
9397
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9398
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9399
soname_spec='${libname}${release}${shared_ext}$major'
9400
if test "X$HPUX_IA64_MODE" = X32; then
9401
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9403
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9405
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9409
hardcode_into_libs=yes
9410
dynamic_linker="$host_os dld.sl"
9411
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9412
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9413
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9414
soname_spec='${libname}${release}${shared_ext}$major'
9415
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9416
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9420
dynamic_linker="$host_os dld.sl"
9421
shlibpath_var=SHLIB_PATH
9422
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9423
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9424
soname_spec='${libname}${release}${shared_ext}$major'
9427
# HP-UX runs *really* slowly unless shared libraries are mode 555.
9428
postinstall_cmds='chmod 555 $lib'
9435
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9436
soname_spec='${libname}${release}${shared_ext}$major'
9437
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9438
shlibpath_var=LD_LIBRARY_PATH
9439
shlibpath_overrides_runpath=no
9440
hardcode_into_libs=yes
9443
irix5* | irix6* | nonstopux*)
9445
nonstopux*) version_type=nonstopux ;;
9447
if test "$lt_cv_prog_gnu_ld" = yes; then
9455
soname_spec='${libname}${release}${shared_ext}$major'
9456
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9458
irix5* | nonstopux*)
9462
case $LD in # libtool.m4 will add one of these switches to LD
9463
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9464
libsuff= shlibsuff= libmagic=32-bit;;
9465
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9466
libsuff=32 shlibsuff=N32 libmagic=N32;;
9467
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9468
libsuff=64 shlibsuff=64 libmagic=64-bit;;
9469
*) libsuff= shlibsuff= libmagic=never-match;;
9473
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9474
shlibpath_overrides_runpath=no
9475
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9476
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9477
hardcode_into_libs=yes
9480
# No shared lib support for Linux oldld, aout, or coff.
9481
linux*oldld* | linux*aout* | linux*coff*)
9485
# This must be Linux ELF.
9486
linux* | k*bsd*-gnu | kopensolaris*-gnu)
9490
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9491
soname_spec='${libname}${release}${shared_ext}$major'
9492
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9493
shlibpath_var=LD_LIBRARY_PATH
9494
shlibpath_overrides_runpath=no
9495
# Some binutils ld are patched to set DT_RUNPATH
9496
save_LDFLAGS=$LDFLAGS
9498
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9499
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9500
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9501
/* end confdefs.h. */
9511
if ac_fn_c_try_link "$LINENO"; then :
9512
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
9513
shlibpath_overrides_runpath=yes
9516
rm -f core conftest.err conftest.$ac_objext \
9517
conftest$ac_exeext conftest.$ac_ext
9518
LDFLAGS=$save_LDFLAGS
9521
# This implies no fast_install, which is unacceptable.
9522
# Some rework will be needed to allow for fast_install
9523
# before this can be enabled.
9524
hardcode_into_libs=yes
9526
# Append ld.so.conf contents to the search path
9527
if test -f /etc/ld.so.conf; then
9528
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' ' '`
9529
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9532
# We used to test for /lib/ld.so.1 and disable shared libraries on
9533
# powerpc, because MkLinux only supported shared libraries with the
9534
# GNU dynamic linker. Since this was broken with cross compilers,
9535
# most powerpc-linux boxes support dynamic linking these days and
9536
# people can always --disable-shared, the test was removed, and we
9537
# assume the GNU/Linux dynamic linker is in use.
9538
dynamic_linker='GNU/Linux ld.so'
9545
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9546
soname_spec='${libname}${release}${shared_ext}$major'
9547
shlibpath_var=LD_LIBRARY_PATH
9548
shlibpath_overrides_runpath=no
9549
hardcode_into_libs=yes
9550
dynamic_linker='NetBSD ld.elf_so'
9557
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9558
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9559
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9560
dynamic_linker='NetBSD (a.out) ld.so'
9562
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9563
soname_spec='${libname}${release}${shared_ext}$major'
9564
dynamic_linker='NetBSD ld.elf_so'
9566
shlibpath_var=LD_LIBRARY_PATH
9567
shlibpath_overrides_runpath=yes
9568
hardcode_into_libs=yes
9573
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9574
shlibpath_var=LD_LIBRARY_PATH
9575
shlibpath_overrides_runpath=yes
9582
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9583
soname_spec='${libname}${release}${shared_ext}$major'
9584
shlibpath_var=LD_LIBRARY_PATH
9585
shlibpath_overrides_runpath=no
9586
hardcode_into_libs=yes
9587
dynamic_linker='ldqnx.so'
9592
sys_lib_dlsearch_path_spec="/usr/lib"
9594
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9596
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9597
*) need_version=no ;;
9599
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9600
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9601
shlibpath_var=LD_LIBRARY_PATH
9602
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9604
openbsd2.[89] | openbsd2.[89].*)
9605
shlibpath_overrides_runpath=no
9608
shlibpath_overrides_runpath=yes
9612
shlibpath_overrides_runpath=yes
9617
libname_spec='$name'
9620
library_names_spec='$libname${shared_ext} $libname.a'
9621
dynamic_linker='OS/2 ld.exe'
9622
shlibpath_var=LIBPATH
9625
osf3* | osf4* | osf5*)
9629
soname_spec='${libname}${release}${shared_ext}$major'
9630
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9631
shlibpath_var=LD_LIBRARY_PATH
9632
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9633
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9644
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9645
soname_spec='${libname}${release}${shared_ext}$major'
9646
shlibpath_var=LD_LIBRARY_PATH
9647
shlibpath_overrides_runpath=yes
9648
hardcode_into_libs=yes
9649
# ldd complains unless libraries are executable
9650
postinstall_cmds='chmod +x $lib'
9655
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9656
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9657
shlibpath_var=LD_LIBRARY_PATH
9658
shlibpath_overrides_runpath=yes
9659
if test "$with_gnu_ld" = yes; then
9667
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9668
soname_spec='${libname}${release}${shared_ext}$major'
9669
shlibpath_var=LD_LIBRARY_PATH
9670
case $host_vendor in
9672
shlibpath_overrides_runpath=no
9674
runpath_var=LD_RUN_PATH
9682
shlibpath_overrides_runpath=no
9683
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9689
if test -d /usr/nec ;then
9691
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9692
soname_spec='$libname${shared_ext}.$major'
9693
shlibpath_var=LD_LIBRARY_PATH
9697
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9698
version_type=freebsd-elf
9701
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9702
soname_spec='${libname}${release}${shared_ext}$major'
9703
shlibpath_var=LD_LIBRARY_PATH
9704
shlibpath_overrides_runpath=yes
9705
hardcode_into_libs=yes
9706
if test "$with_gnu_ld" = yes; then
9707
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9709
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9712
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9716
sys_lib_dlsearch_path_spec='/usr/lib'
9720
# TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9724
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9725
shlibpath_var=LD_LIBRARY_PATH
9726
shlibpath_overrides_runpath=no
9727
hardcode_into_libs=yes
9732
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9733
soname_spec='${libname}${release}${shared_ext}$major'
9734
shlibpath_var=LD_LIBRARY_PATH
9741
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
9742
$as_echo "$dynamic_linker" >&6; }
9743
test "$dynamic_linker" = no && can_build_shared=no
9745
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9746
if test "$GCC" = yes; then
9747
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9750
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9751
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
9753
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9754
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
9843
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
9844
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
9846
if test -n "$hardcode_libdir_flag_spec" ||
9847
test -n "$runpath_var" ||
9848
test "X$hardcode_automatic" = "Xyes" ; then
9850
# We can hardcode non-existent directories.
9851
if test "$hardcode_direct" != no &&
9852
# If the only mechanism to avoid hardcoding is shlibpath_var, we
9853
# have to relink, otherwise we might link with an installed library
9854
# when we should be linking with a yet-to-be-installed one
9855
## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9856
test "$hardcode_minus_L" != no; then
9857
# Linking always hardcodes the temporary library directory.
9858
hardcode_action=relink
9860
# We can link without hardcoding, and we can hardcode nonexisting dirs.
9861
hardcode_action=immediate
9864
# We cannot hardcode anything, or else we can only hardcode existing
9866
hardcode_action=unsupported
9868
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
9869
$as_echo "$hardcode_action" >&6; }
9871
if test "$hardcode_action" = relink ||
9872
test "$inherit_rpath" = yes; then
9873
# Fast installation is not supported
9874
enable_fast_install=no
9875
elif test "$shlibpath_overrides_runpath" = yes ||
9876
test "$enable_shared" = no; then
9877
# Fast installation is not necessary
9878
enable_fast_install=needless
9886
if test "x$enable_dlopen" != xyes; then
9887
enable_dlopen=unknown
9888
enable_dlopen_self=unknown
9889
enable_dlopen_self_static=unknown
9896
lt_cv_dlopen="load_add_on"
9898
lt_cv_dlopen_self=yes
9901
mingw* | pw32* | cegcc*)
9902
lt_cv_dlopen="LoadLibrary"
9907
lt_cv_dlopen="dlopen"
9912
# if libdl is installed we need to link against it
9913
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
9914
$as_echo_n "checking for dlopen in -ldl... " >&6; }
9915
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
9916
$as_echo_n "(cached) " >&6
9918
ac_check_lib_save_LIBS=$LIBS
9920
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9921
/* end confdefs.h. */
9923
/* Override any GCC internal prototype to avoid an error.
9924
Use char because int might match the return type of a GCC
9925
builtin and then its argument prototype would still apply. */
9938
if ac_fn_c_try_link "$LINENO"; then :
9939
ac_cv_lib_dl_dlopen=yes
9941
ac_cv_lib_dl_dlopen=no
9943
rm -f core conftest.err conftest.$ac_objext \
9944
conftest$ac_exeext conftest.$ac_ext
9945
LIBS=$ac_check_lib_save_LIBS
9947
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
9948
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9949
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
9950
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9955
lt_cv_dlopen_self=yes
9962
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
9963
if test "x$ac_cv_func_shl_load" = x""yes; then :
9964
lt_cv_dlopen="shl_load"
9966
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
9967
$as_echo_n "checking for shl_load in -ldld... " >&6; }
9968
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
9969
$as_echo_n "(cached) " >&6
9971
ac_check_lib_save_LIBS=$LIBS
9973
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9974
/* end confdefs.h. */
9976
/* Override any GCC internal prototype to avoid an error.
9977
Use char because int might match the return type of a GCC
9978
builtin and then its argument prototype would still apply. */
9991
if ac_fn_c_try_link "$LINENO"; then :
9992
ac_cv_lib_dld_shl_load=yes
9994
ac_cv_lib_dld_shl_load=no
9996
rm -f core conftest.err conftest.$ac_objext \
9997
conftest$ac_exeext conftest.$ac_ext
9998
LIBS=$ac_check_lib_save_LIBS
10000
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10001
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10002
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
10003
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10005
ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10006
if test "x$ac_cv_func_dlopen" = x""yes; then :
10007
lt_cv_dlopen="dlopen"
10009
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10010
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10011
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10012
$as_echo_n "(cached) " >&6
10014
ac_check_lib_save_LIBS=$LIBS
10016
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10017
/* end confdefs.h. */
10019
/* Override any GCC internal prototype to avoid an error.
10020
Use char because int might match the return type of a GCC
10021
builtin and then its argument prototype would still apply. */
10034
if ac_fn_c_try_link "$LINENO"; then :
10035
ac_cv_lib_dl_dlopen=yes
10037
ac_cv_lib_dl_dlopen=no
10039
rm -f core conftest.err conftest.$ac_objext \
10040
conftest$ac_exeext conftest.$ac_ext
10041
LIBS=$ac_check_lib_save_LIBS
10043
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10044
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10045
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10046
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10048
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10049
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
10050
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10051
$as_echo_n "(cached) " >&6
10053
ac_check_lib_save_LIBS=$LIBS
10054
LIBS="-lsvld $LIBS"
10055
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10056
/* end confdefs.h. */
10058
/* Override any GCC internal prototype to avoid an error.
10059
Use char because int might match the return type of a GCC
10060
builtin and then its argument prototype would still apply. */
10073
if ac_fn_c_try_link "$LINENO"; then :
10074
ac_cv_lib_svld_dlopen=yes
10076
ac_cv_lib_svld_dlopen=no
10078
rm -f core conftest.err conftest.$ac_objext \
10079
conftest$ac_exeext conftest.$ac_ext
10080
LIBS=$ac_check_lib_save_LIBS
10082
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10083
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10084
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
10085
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10087
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10088
$as_echo_n "checking for dld_link in -ldld... " >&6; }
10089
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10090
$as_echo_n "(cached) " >&6
10092
ac_check_lib_save_LIBS=$LIBS
10094
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10095
/* end confdefs.h. */
10097
/* Override any GCC internal prototype to avoid an error.
10098
Use char because int might match the return type of a GCC
10099
builtin and then its argument prototype would still apply. */
10107
return dld_link ();
10112
if ac_fn_c_try_link "$LINENO"; then :
10113
ac_cv_lib_dld_dld_link=yes
10115
ac_cv_lib_dld_dld_link=no
10117
rm -f core conftest.err conftest.$ac_objext \
10118
conftest$ac_exeext conftest.$ac_ext
10119
LIBS=$ac_check_lib_save_LIBS
10121
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10122
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10123
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
10124
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10145
if test "x$lt_cv_dlopen" != xno; then
10151
case $lt_cv_dlopen in
10153
save_CPPFLAGS="$CPPFLAGS"
10154
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10156
save_LDFLAGS="$LDFLAGS"
10157
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10160
LIBS="$lt_cv_dlopen_libs $LIBS"
10162
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10163
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
10164
if test "${lt_cv_dlopen_self+set}" = set; then :
10165
$as_echo_n "(cached) " >&6
10167
if test "$cross_compiling" = yes; then :
10168
lt_cv_dlopen_self=cross
10170
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10171
lt_status=$lt_dlunknown
10172
cat > conftest.$ac_ext <<_LT_EOF
10173
#line 10173 "configure"
10174
#include "confdefs.h"
10183
# define LT_DLGLOBAL RTLD_GLOBAL
10186
# define LT_DLGLOBAL DL_GLOBAL
10188
# define LT_DLGLOBAL 0
10192
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10193
find out it does not work in some platform. */
10194
#ifndef LT_DLLAZY_OR_NOW
10196
# define LT_DLLAZY_OR_NOW RTLD_LAZY
10199
# define LT_DLLAZY_OR_NOW DL_LAZY
10202
# define LT_DLLAZY_OR_NOW RTLD_NOW
10205
# define LT_DLLAZY_OR_NOW DL_NOW
10207
# define LT_DLLAZY_OR_NOW 0
10214
void fnord() { int i=42;}
10217
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10218
int status = $lt_dlunknown;
10222
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10223
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10224
/* dlclose (self); */
10232
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10233
(eval $ac_link) 2>&5
10235
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10236
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10237
(./conftest; exit; ) >&5 2>/dev/null
10239
case x$lt_status in
10240
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10241
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10242
x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10245
# compilation failed
10246
lt_cv_dlopen_self=no
10253
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10254
$as_echo "$lt_cv_dlopen_self" >&6; }
10256
if test "x$lt_cv_dlopen_self" = xyes; then
10257
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10258
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10259
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10260
if test "${lt_cv_dlopen_self_static+set}" = set; then :
10261
$as_echo_n "(cached) " >&6
10263
if test "$cross_compiling" = yes; then :
10264
lt_cv_dlopen_self_static=cross
10266
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10267
lt_status=$lt_dlunknown
10268
cat > conftest.$ac_ext <<_LT_EOF
10269
#line 10269 "configure"
10270
#include "confdefs.h"
10279
# define LT_DLGLOBAL RTLD_GLOBAL
10282
# define LT_DLGLOBAL DL_GLOBAL
10284
# define LT_DLGLOBAL 0
10288
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10289
find out it does not work in some platform. */
10290
#ifndef LT_DLLAZY_OR_NOW
10292
# define LT_DLLAZY_OR_NOW RTLD_LAZY
10295
# define LT_DLLAZY_OR_NOW DL_LAZY
10298
# define LT_DLLAZY_OR_NOW RTLD_NOW
10301
# define LT_DLLAZY_OR_NOW DL_NOW
10303
# define LT_DLLAZY_OR_NOW 0
10310
void fnord() { int i=42;}
10313
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10314
int status = $lt_dlunknown;
10318
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10319
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10320
/* dlclose (self); */
10328
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10329
(eval $ac_link) 2>&5
10331
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10332
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10333
(./conftest; exit; ) >&5 2>/dev/null
10335
case x$lt_status in
10336
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10337
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10338
x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10341
# compilation failed
10342
lt_cv_dlopen_self_static=no
10349
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10350
$as_echo "$lt_cv_dlopen_self_static" >&6; }
10353
CPPFLAGS="$save_CPPFLAGS"
10354
LDFLAGS="$save_LDFLAGS"
10359
case $lt_cv_dlopen_self in
10360
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10361
*) enable_dlopen_self=unknown ;;
10364
case $lt_cv_dlopen_self_static in
10365
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10366
*) enable_dlopen_self_static=unknown ;;
10388
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10389
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
10390
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10391
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10392
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10393
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10394
$as_echo "yes" >&6; }
10396
# FIXME - insert some real tests, host_os isn't really good enough
10399
if test -n "$STRIP" ; then
10400
striplib="$STRIP -x"
10401
old_striplib="$STRIP -S"
10402
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10403
$as_echo "yes" >&6; }
10405
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10406
$as_echo "no" >&6; }
10410
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10411
$as_echo "no" >&6; }
10427
# Report which library types will actually be built
10428
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
10429
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
10430
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
10431
$as_echo "$can_build_shared" >&6; }
10433
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
10434
$as_echo_n "checking whether to build shared libraries... " >&6; }
10435
test "$can_build_shared" = "no" && enable_shared=no
10437
# On AIX, shared libraries and static libraries use the same namespace, and
10438
# are all built from PIC.
10441
test "$enable_shared" = yes && enable_static=no
10442
if test -n "$RANLIB"; then
10443
archive_cmds="$archive_cmds~\$RANLIB \$lib"
10444
postinstall_cmds='$RANLIB $lib'
10449
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10450
test "$enable_shared" = yes && enable_static=no
10454
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
10455
$as_echo "$enable_shared" >&6; }
10457
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
10458
$as_echo_n "checking whether to build static libraries... " >&6; }
10459
# Make sure either enable_shared or enable_static is yes.
10460
test "$enable_shared" = yes || enable_static=yes
10461
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
10462
$as_echo "$enable_static" >&6; }
10469
ac_cpp='$CPP $CPPFLAGS'
10470
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10471
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10472
ac_compiler_gnu=$ac_cv_c_compiler_gnu
10488
ac_config_commands="$ac_config_commands libtool"
10493
# Only expand once:
10498
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
10499
$as_echo_n "checking whether NLS is requested... " >&6; }
10500
# Check whether --enable-nls was given.
10501
if test "${enable_nls+set}" = set; then :
10502
enableval=$enable_nls; USE_NLS=$enableval
10507
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
10508
$as_echo "$USE_NLS" >&6; }
10513
case "$am__api_version" in
10515
as_fn_error "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
10521
if test -n ""; then
10522
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= " >&5
10523
$as_echo_n "checking for intltool >= ... " >&6; }
10525
INTLTOOL_REQUIRED_VERSION_AS_INT=`echo | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
10526
INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
10527
INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
10529
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
10530
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
10531
test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
10532
as_fn_error "Your intltool is too old. You need intltool or later." "$LINENO" 5
10535
# Extract the first word of "intltool-update", so it can be a program name with args.
10536
set dummy intltool-update; ac_word=$2
10537
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10538
$as_echo_n "checking for $ac_word... " >&6; }
10539
if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then :
10540
$as_echo_n "(cached) " >&6
10542
case $INTLTOOL_UPDATE in
10544
ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
10547
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10548
for as_dir in $PATH
10551
test -z "$as_dir" && as_dir=.
10552
for ac_exec_ext in '' $ac_executable_extensions; do
10553
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10554
ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
10555
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10565
INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
10566
if test -n "$INTLTOOL_UPDATE"; then
10567
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
10568
$as_echo "$INTLTOOL_UPDATE" >&6; }
10570
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10571
$as_echo "no" >&6; }
10575
# Extract the first word of "intltool-merge", so it can be a program name with args.
10576
set dummy intltool-merge; ac_word=$2
10577
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10578
$as_echo_n "checking for $ac_word... " >&6; }
10579
if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then :
10580
$as_echo_n "(cached) " >&6
10582
case $INTLTOOL_MERGE in
10584
ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
10587
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10588
for as_dir in $PATH
10591
test -z "$as_dir" && as_dir=.
10592
for ac_exec_ext in '' $ac_executable_extensions; do
10593
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10594
ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
10595
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10605
INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
10606
if test -n "$INTLTOOL_MERGE"; then
10607
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
10608
$as_echo "$INTLTOOL_MERGE" >&6; }
10610
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10611
$as_echo "no" >&6; }
10615
# Extract the first word of "intltool-extract", so it can be a program name with args.
10616
set dummy intltool-extract; ac_word=$2
10617
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10618
$as_echo_n "checking for $ac_word... " >&6; }
10619
if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then :
10620
$as_echo_n "(cached) " >&6
10622
case $INTLTOOL_EXTRACT in
10624
ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
10627
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10628
for as_dir in $PATH
10631
test -z "$as_dir" && as_dir=.
10632
for ac_exec_ext in '' $ac_executable_extensions; do
10633
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10634
ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
10635
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10645
INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
10646
if test -n "$INTLTOOL_EXTRACT"; then
10647
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
10648
$as_echo "$INTLTOOL_EXTRACT" >&6; }
10650
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10651
$as_echo "no" >&6; }
10655
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
10656
as_fn_error "The intltool scripts were not found. Please install intltool." "$LINENO" 5
10659
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 $< $@'
10660
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 $< $@'
10661
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 $< $@'
10662
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 $< $@'
10663
INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
10664
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 $< $@'
10665
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 $< $@'
10666
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 $< $@'
10667
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 $< $@'
10668
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 $< $@'
10669
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 $< $@'
10670
INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
10671
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 $< $@'
10672
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 $< $@'
10673
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 $< $@'
10674
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 $< $@'
10675
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 $< $@'
10676
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 $< $@'
10677
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 $< $@'
10775
# Check the gettext tools to make sure they are GNU
10776
# Extract the first word of "xgettext", so it can be a program name with args.
10777
set dummy xgettext; ac_word=$2
10778
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10779
$as_echo_n "checking for $ac_word... " >&6; }
10780
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
10781
$as_echo_n "(cached) " >&6
10785
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
10788
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10789
for as_dir in $PATH
10792
test -z "$as_dir" && as_dir=.
10793
for ac_exec_ext in '' $ac_executable_extensions; do
10794
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10795
ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
10796
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10806
XGETTEXT=$ac_cv_path_XGETTEXT
10807
if test -n "$XGETTEXT"; then
10808
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
10809
$as_echo "$XGETTEXT" >&6; }
10811
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10812
$as_echo "no" >&6; }
10816
# Extract the first word of "msgmerge", so it can be a program name with args.
10817
set dummy msgmerge; ac_word=$2
10818
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10819
$as_echo_n "checking for $ac_word... " >&6; }
10820
if test "${ac_cv_path_MSGMERGE+set}" = set; then :
10821
$as_echo_n "(cached) " >&6
10825
ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
10828
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10829
for as_dir in $PATH
10832
test -z "$as_dir" && as_dir=.
10833
for ac_exec_ext in '' $ac_executable_extensions; do
10834
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10835
ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
10836
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10846
MSGMERGE=$ac_cv_path_MSGMERGE
10847
if test -n "$MSGMERGE"; then
10848
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
10849
$as_echo "$MSGMERGE" >&6; }
10851
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10852
$as_echo "no" >&6; }
10856
# Extract the first word of "msgfmt", so it can be a program name with args.
10857
set dummy msgfmt; ac_word=$2
10858
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10859
$as_echo_n "checking for $ac_word... " >&6; }
10860
if test "${ac_cv_path_MSGFMT+set}" = set; then :
10861
$as_echo_n "(cached) " >&6
10865
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
10868
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10869
for as_dir in $PATH
10872
test -z "$as_dir" && as_dir=.
10873
for ac_exec_ext in '' $ac_executable_extensions; do
10874
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10875
ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
10876
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10886
MSGFMT=$ac_cv_path_MSGFMT
10887
if test -n "$MSGFMT"; then
10888
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
10889
$as_echo "$MSGFMT" >&6; }
10891
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10892
$as_echo "no" >&6; }
10896
# Extract the first word of "gmsgfmt", so it can be a program name with args.
10897
set dummy gmsgfmt; ac_word=$2
10898
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10899
$as_echo_n "checking for $ac_word... " >&6; }
10900
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
10901
$as_echo_n "(cached) " >&6
10905
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
10908
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10909
for as_dir in $PATH
10912
test -z "$as_dir" && as_dir=.
10913
for ac_exec_ext in '' $ac_executable_extensions; do
10914
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10915
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
10916
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10923
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
10927
GMSGFMT=$ac_cv_path_GMSGFMT
10928
if test -n "$GMSGFMT"; then
10929
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
10930
$as_echo "$GMSGFMT" >&6; }
10932
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10933
$as_echo "no" >&6; }
10937
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
10938
as_fn_error "GNU gettext tools not found; required for intltool" "$LINENO" 5
10940
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
10941
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
10942
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
10943
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
10944
as_fn_error "GNU gettext tools not found; required for intltool" "$LINENO" 5
10947
# Extract the first word of "perl", so it can be a program name with args.
10948
set dummy perl; ac_word=$2
10949
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10950
$as_echo_n "checking for $ac_word... " >&6; }
10951
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then :
10952
$as_echo_n "(cached) " >&6
10954
case $INTLTOOL_PERL in
10956
ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
10959
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10960
for as_dir in $PATH
10963
test -z "$as_dir" && as_dir=.
10964
for ac_exec_ext in '' $ac_executable_extensions; do
10965
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10966
ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
10967
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10977
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
10978
if test -n "$INTLTOOL_PERL"; then
10979
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
10980
$as_echo "$INTLTOOL_PERL" >&6; }
10982
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10983
$as_echo "no" >&6; }
10987
if test -z "$INTLTOOL_PERL"; then
10988
as_fn_error "perl not found" "$LINENO" 5
10990
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
10991
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
10992
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
10993
if test $? -ne 0; then
10994
as_fn_error "perl 5.8.1 is required for intltool" "$LINENO" 5
10996
IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
10997
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
10998
$as_echo "$IT_PERL_VERSION" >&6; }
11000
if test "x" != "xno-xml"; then
11001
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
11002
$as_echo_n "checking for XML::Parser... " >&6; }
11003
if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
11004
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
11005
$as_echo "ok" >&6; }
11007
as_fn_error "XML::Parser perl module is required for intltool" "$LINENO" 5
11011
# Substitute ALL_LINGUAS so we can use it in po/Makefile
11014
# Set DATADIRNAME correctly if it is not set yet
11015
# (copied from glib-gettext.m4)
11016
if test -z "$DATADIRNAME"; then
11017
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11018
/* end confdefs.h. */
11023
extern int _nl_msg_cat_cntr;
11024
return _nl_msg_cat_cntr
11029
if ac_fn_c_try_link "$LINENO"; then :
11034
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
11035
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
11047
rm -f core conftest.err conftest.$ac_objext \
11048
conftest$ac_exeext conftest.$ac_ext
11057
for ac_header in locale.h
11059
ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
11060
if test "x$ac_cv_header_locale_h" = x""yes; then :
11061
cat >>confdefs.h <<_ACEOF
11062
#define HAVE_LOCALE_H 1
11069
if test $ac_cv_header_locale_h = yes; then
11070
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
11071
$as_echo_n "checking for LC_MESSAGES... " >&6; }
11072
if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
11073
$as_echo_n "(cached) " >&6
11075
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11076
/* end confdefs.h. */
11077
#include <locale.h>
11086
if ac_fn_c_try_link "$LINENO"; then :
11087
am_cv_val_LC_MESSAGES=yes
11089
am_cv_val_LC_MESSAGES=no
11091
rm -f core conftest.err conftest.$ac_objext \
11092
conftest$ac_exeext conftest.$ac_ext
11094
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
11095
$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
11096
if test $am_cv_val_LC_MESSAGES = yes; then
11098
$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
11105
gt_cv_have_gettext=no
11111
ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
11112
if test "x$ac_cv_header_libintl_h" = x""yes; then :
11113
gt_cv_func_dgettext_libintl="no"
11114
libintl_extra_libs=""
11117
# First check in libc
11119
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
11120
$as_echo_n "checking for ngettext in libc... " >&6; }
11121
if test "${gt_cv_func_ngettext_libc+set}" = set; then :
11122
$as_echo_n "(cached) " >&6
11124
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11125
/* end confdefs.h. */
11127
#include <libintl.h>
11132
return !ngettext ("","", 1)
11137
if ac_fn_c_try_link "$LINENO"; then :
11138
gt_cv_func_ngettext_libc=yes
11140
gt_cv_func_ngettext_libc=no
11142
rm -f core conftest.err conftest.$ac_objext \
11143
conftest$ac_exeext conftest.$ac_ext
11146
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
11147
$as_echo "$gt_cv_func_ngettext_libc" >&6; }
11149
if test "$gt_cv_func_ngettext_libc" = "yes" ; then
11150
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
11151
$as_echo_n "checking for dgettext in libc... " >&6; }
11152
if test "${gt_cv_func_dgettext_libc+set}" = set; then :
11153
$as_echo_n "(cached) " >&6
11155
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11156
/* end confdefs.h. */
11158
#include <libintl.h>
11163
return !dgettext ("","")
11168
if ac_fn_c_try_link "$LINENO"; then :
11169
gt_cv_func_dgettext_libc=yes
11171
gt_cv_func_dgettext_libc=no
11173
rm -f core conftest.err conftest.$ac_objext \
11174
conftest$ac_exeext conftest.$ac_ext
11177
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
11178
$as_echo "$gt_cv_func_dgettext_libc" >&6; }
11181
if test "$gt_cv_func_ngettext_libc" = "yes" ; then
11182
for ac_func in bind_textdomain_codeset
11184
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
11185
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
11186
cat >>confdefs.h <<_ACEOF
11187
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
11196
# If we don't have everything we want, check in libintl
11198
if test "$gt_cv_func_dgettext_libc" != "yes" \
11199
|| test "$gt_cv_func_ngettext_libc" != "yes" \
11200
|| test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
11202
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
11203
$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
11204
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then :
11205
$as_echo_n "(cached) " >&6
11207
ac_check_lib_save_LIBS=$LIBS
11208
LIBS="-lintl $LIBS"
11209
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11210
/* end confdefs.h. */
11212
/* Override any GCC internal prototype to avoid an error.
11213
Use char because int might match the return type of a GCC
11214
builtin and then its argument prototype would still apply. */
11218
char bindtextdomain ();
11222
return bindtextdomain ();
11227
if ac_fn_c_try_link "$LINENO"; then :
11228
ac_cv_lib_intl_bindtextdomain=yes
11230
ac_cv_lib_intl_bindtextdomain=no
11232
rm -f core conftest.err conftest.$ac_objext \
11233
conftest$ac_exeext conftest.$ac_ext
11234
LIBS=$ac_check_lib_save_LIBS
11236
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
11237
$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
11238
if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then :
11239
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
11240
$as_echo_n "checking for ngettext in -lintl... " >&6; }
11241
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
11242
$as_echo_n "(cached) " >&6
11244
ac_check_lib_save_LIBS=$LIBS
11245
LIBS="-lintl $LIBS"
11246
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11247
/* end confdefs.h. */
11249
/* Override any GCC internal prototype to avoid an error.
11250
Use char because int might match the return type of a GCC
11251
builtin and then its argument prototype would still apply. */
11259
return ngettext ();
11264
if ac_fn_c_try_link "$LINENO"; then :
11265
ac_cv_lib_intl_ngettext=yes
11267
ac_cv_lib_intl_ngettext=no
11269
rm -f core conftest.err conftest.$ac_objext \
11270
conftest$ac_exeext conftest.$ac_ext
11271
LIBS=$ac_check_lib_save_LIBS
11273
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
11274
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
11275
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
11276
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
11277
$as_echo_n "checking for dgettext in -lintl... " >&6; }
11278
if test "${ac_cv_lib_intl_dgettext+set}" = set; then :
11279
$as_echo_n "(cached) " >&6
11281
ac_check_lib_save_LIBS=$LIBS
11282
LIBS="-lintl $LIBS"
11283
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11284
/* end confdefs.h. */
11286
/* Override any GCC internal prototype to avoid an error.
11287
Use char because int might match the return type of a GCC
11288
builtin and then its argument prototype would still apply. */
11296
return dgettext ();
11301
if ac_fn_c_try_link "$LINENO"; then :
11302
ac_cv_lib_intl_dgettext=yes
11304
ac_cv_lib_intl_dgettext=no
11306
rm -f core conftest.err conftest.$ac_objext \
11307
conftest$ac_exeext conftest.$ac_ext
11308
LIBS=$ac_check_lib_save_LIBS
11310
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
11311
$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
11312
if test "x$ac_cv_lib_intl_dgettext" = x""yes; then :
11313
gt_cv_func_dgettext_libintl=yes
11321
if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
11322
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
11323
$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
11324
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
11326
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
11327
$as_echo_n "checking for ngettext in -lintl... " >&6; }
11328
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
11329
$as_echo_n "(cached) " >&6
11331
ac_check_lib_save_LIBS=$LIBS
11332
LIBS="-lintl -liconv $LIBS"
11333
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11334
/* end confdefs.h. */
11336
/* Override any GCC internal prototype to avoid an error.
11337
Use char because int might match the return type of a GCC
11338
builtin and then its argument prototype would still apply. */
11346
return ngettext ();
11351
if ac_fn_c_try_link "$LINENO"; then :
11352
ac_cv_lib_intl_ngettext=yes
11354
ac_cv_lib_intl_ngettext=no
11356
rm -f core conftest.err conftest.$ac_objext \
11357
conftest$ac_exeext conftest.$ac_ext
11358
LIBS=$ac_check_lib_save_LIBS
11360
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
11361
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
11362
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
11363
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
11364
$as_echo_n "checking for dcgettext in -lintl... " >&6; }
11365
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then :
11366
$as_echo_n "(cached) " >&6
11368
ac_check_lib_save_LIBS=$LIBS
11369
LIBS="-lintl -liconv $LIBS"
11370
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11371
/* end confdefs.h. */
11373
/* Override any GCC internal prototype to avoid an error.
11374
Use char because int might match the return type of a GCC
11375
builtin and then its argument prototype would still apply. */
11383
return dcgettext ();
11388
if ac_fn_c_try_link "$LINENO"; then :
11389
ac_cv_lib_intl_dcgettext=yes
11391
ac_cv_lib_intl_dcgettext=no
11393
rm -f core conftest.err conftest.$ac_objext \
11394
conftest$ac_exeext conftest.$ac_ext
11395
LIBS=$ac_check_lib_save_LIBS
11397
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
11398
$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
11399
if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then :
11400
gt_cv_func_dgettext_libintl=yes
11401
libintl_extra_libs=-liconv
11413
# If we found libintl, then check in it for bind_textdomain_codeset();
11414
# we'll prefer libc if neither have bind_textdomain_codeset(),
11415
# and both have dgettext and ngettext
11417
if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
11418
glib_save_LIBS="$LIBS"
11419
LIBS="$LIBS -lintl $libintl_extra_libs"
11420
unset ac_cv_func_bind_textdomain_codeset
11421
for ac_func in bind_textdomain_codeset
11423
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
11424
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
11425
cat >>confdefs.h <<_ACEOF
11426
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
11432
LIBS="$glib_save_LIBS"
11434
if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
11435
gt_cv_func_dgettext_libc=no
11437
if test "$gt_cv_func_dgettext_libc" = "yes" \
11438
&& test "$gt_cv_func_ngettext_libc" = "yes"; then
11439
gt_cv_func_dgettext_libintl=no
11445
if test "$gt_cv_func_dgettext_libc" = "yes" \
11446
|| test "$gt_cv_func_dgettext_libintl" = "yes"; then
11447
gt_cv_have_gettext=yes
11450
if test "$gt_cv_func_dgettext_libintl" = "yes"; then
11451
INTLLIBS="-lintl $libintl_extra_libs"
11454
if test "$gt_cv_have_gettext" = "yes"; then
11456
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
11458
# Extract the first word of "msgfmt", so it can be a program name with args.
11459
set dummy msgfmt; ac_word=$2
11460
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11461
$as_echo_n "checking for $ac_word... " >&6; }
11462
if test "${ac_cv_path_MSGFMT+set}" = set; then :
11463
$as_echo_n "(cached) " >&6
11467
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
11470
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
11471
for ac_dir in $PATH; do
11472
test -z "$ac_dir" && ac_dir=.
11473
if test -f $ac_dir/$ac_word; then
11474
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
11475
ac_cv_path_MSGFMT="$ac_dir/$ac_word"
11481
test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
11485
MSGFMT="$ac_cv_path_MSGFMT"
11486
if test "$MSGFMT" != "no"; then
11487
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
11488
$as_echo "$MSGFMT" >&6; }
11490
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11491
$as_echo "no" >&6; }
11493
if test "$MSGFMT" != "no"; then
11494
glib_save_LIBS="$LIBS"
11495
LIBS="$LIBS $INTLLIBS"
11496
for ac_func in dcgettext
11498
ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
11499
if test "x$ac_cv_func_dcgettext" = x""yes; then :
11500
cat >>confdefs.h <<_ACEOF
11501
#define HAVE_DCGETTEXT 1
11508
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
11509
$as_echo_n "checking if msgfmt accepts -c... " >&6; }
11510
cat >conftest.foo <<_ACEOF
11514
"Content-Type: text/plain; charset=UTF-8\n"
11515
"Project-Id-Version: test 1.0\n"
11516
"PO-Revision-Date: 2007-02-15 12:01+0100\n"
11517
"Last-Translator: test <foo@bar.xx>\n"
11518
"Language-Team: C <LL@li.org>\n"
11519
"MIME-Version: 1.0\n"
11520
"Content-Transfer-Encoding: 8bit\n"
11523
if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
11524
($MSGFMT -c -o /dev/null conftest.foo) 2>&5
11526
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11527
test $ac_status = 0; }; then
11528
MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11529
$as_echo "yes" >&6; }
11530
else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11531
$as_echo "no" >&6; }
11532
echo "$as_me: failed input was:" >&5
11533
sed 's/^/| /' conftest.foo >&5
11536
# Extract the first word of "gmsgfmt", so it can be a program name with args.
11537
set dummy gmsgfmt; ac_word=$2
11538
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11539
$as_echo_n "checking for $ac_word... " >&6; }
11540
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
11541
$as_echo_n "(cached) " >&6
11545
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
11548
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11549
for as_dir in $PATH
11552
test -z "$as_dir" && as_dir=.
11553
for ac_exec_ext in '' $ac_executable_extensions; do
11554
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11555
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
11556
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11563
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
11567
GMSGFMT=$ac_cv_path_GMSGFMT
11568
if test -n "$GMSGFMT"; then
11569
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
11570
$as_echo "$GMSGFMT" >&6; }
11572
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11573
$as_echo "no" >&6; }
11577
# Extract the first word of "xgettext", so it can be a program name with args.
11578
set dummy xgettext; ac_word=$2
11579
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11580
$as_echo_n "checking for $ac_word... " >&6; }
11581
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
11582
$as_echo_n "(cached) " >&6
11584
case "$XGETTEXT" in
11586
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
11589
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
11590
for ac_dir in $PATH; do
11591
test -z "$ac_dir" && ac_dir=.
11592
if test -f $ac_dir/$ac_word; then
11593
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
11594
ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
11600
test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
11604
XGETTEXT="$ac_cv_path_XGETTEXT"
11605
if test "$XGETTEXT" != ":"; then
11606
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
11607
$as_echo "$XGETTEXT" >&6; }
11609
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11610
$as_echo "no" >&6; }
11613
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11614
/* end confdefs.h. */
11619
extern int _nl_msg_cat_cntr;
11620
return _nl_msg_cat_cntr
11625
if ac_fn_c_try_link "$LINENO"; then :
11631
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
11632
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
11647
rm -f core conftest.err conftest.$ac_objext \
11648
conftest$ac_exeext conftest.$ac_ext
11649
LIBS="$glib_save_LIBS"
11652
gt_cv_have_gettext=no
11660
if test "$gt_cv_have_gettext" = "yes" ; then
11662
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
11666
if test "$XGETTEXT" != ":"; then
11667
if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
11670
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
11671
$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
11676
# We need to process the po/ directory.
11679
ac_config_commands="$ac_config_commands default-1"
11682
for lang in $ALL_LINGUAS; do
11683
GMOFILES="$GMOFILES $lang.gmo"
11684
POFILES="$POFILES $lang.po"
11699
if test "$gt_cv_have_gettext" = "yes"; then
11700
if test "x$ALL_LINGUAS" = "x"; then
11703
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
11704
$as_echo_n "checking for catalogs to be installed... " >&6; }
11706
for presentlang in $ALL_LINGUAS; do
11708
if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
11709
desiredlanguages="$LINGUAS"
11711
desiredlanguages="$ALL_LINGUAS"
11713
for desiredlang in $desiredlanguages; do
11714
# Use the presentlang catalog if desiredlang is
11715
# a. equal to presentlang, or
11716
# b. a variant of presentlang (because in this case,
11717
# presentlang can be used as a fallback for messages
11718
# which are not translated in the desiredlang catalog).
11719
case "$desiredlang" in
11720
"$presentlang"*) useit=yes;;
11723
if test $useit = yes; then
11724
NEW_LINGUAS="$NEW_LINGUAS $presentlang"
11727
LINGUAS=$NEW_LINGUAS
11728
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
11729
$as_echo "$LINGUAS" >&6; }
11732
if test -n "$LINGUAS"; then
11733
for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
11738
if test -n "$ac_aux_dir"; then
11739
MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
11741
if test -z "$MKINSTALLDIRS"; then
11742
MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
11746
test -d po || mkdir po
11747
if test "x$srcdir" != "x."; then
11748
if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
11749
posrcprefix="$srcdir/"
11751
posrcprefix="../$srcdir/"
11757
sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
11758
< $srcdir/po/POTFILES.in > po/POTFILES
11760
GETTEXT_PACKAGE=cairo-dock
11762
cat >>confdefs.h <<_ACEOF
11763
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
11768
CAIRO_DOCK_THEMES_DIR="themes"
11771
# Checks for programs.
11773
ac_cpp='$CPP $CPPFLAGS'
11774
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11775
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11776
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11777
if test -n "$ac_tool_prefix"; then
11778
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11779
set dummy ${ac_tool_prefix}gcc; ac_word=$2
11780
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11781
$as_echo_n "checking for $ac_word... " >&6; }
11782
if test "${ac_cv_prog_CC+set}" = set; then :
11783
$as_echo_n "(cached) " >&6
11785
if test -n "$CC"; then
11786
ac_cv_prog_CC="$CC" # Let the user override the test.
11788
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11789
for as_dir in $PATH
11792
test -z "$as_dir" && as_dir=.
11793
for ac_exec_ext in '' $ac_executable_extensions; do
11794
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11795
ac_cv_prog_CC="${ac_tool_prefix}gcc"
11796
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11806
if test -n "$CC"; then
11807
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11808
$as_echo "$CC" >&6; }
11810
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11811
$as_echo "no" >&6; }
11816
if test -z "$ac_cv_prog_CC"; then
11818
# Extract the first word of "gcc", so it can be a program name with args.
11819
set dummy gcc; ac_word=$2
11820
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11821
$as_echo_n "checking for $ac_word... " >&6; }
11822
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
11823
$as_echo_n "(cached) " >&6
11825
if test -n "$ac_ct_CC"; then
11826
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11828
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11829
for as_dir in $PATH
11832
test -z "$as_dir" && as_dir=.
11833
for ac_exec_ext in '' $ac_executable_extensions; do
11834
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11835
ac_cv_prog_ac_ct_CC="gcc"
11836
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11845
ac_ct_CC=$ac_cv_prog_ac_ct_CC
11846
if test -n "$ac_ct_CC"; then
11847
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11848
$as_echo "$ac_ct_CC" >&6; }
11850
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11851
$as_echo "no" >&6; }
11854
if test "x$ac_ct_CC" = x; then
11857
case $cross_compiling:$ac_tool_warned in
11859
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11860
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11861
ac_tool_warned=yes ;;
11866
CC="$ac_cv_prog_CC"
11869
if test -z "$CC"; then
11870
if test -n "$ac_tool_prefix"; then
11871
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11872
set dummy ${ac_tool_prefix}cc; ac_word=$2
11873
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11874
$as_echo_n "checking for $ac_word... " >&6; }
11875
if test "${ac_cv_prog_CC+set}" = set; then :
11876
$as_echo_n "(cached) " >&6
11878
if test -n "$CC"; then
11879
ac_cv_prog_CC="$CC" # Let the user override the test.
11881
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11882
for as_dir in $PATH
11885
test -z "$as_dir" && as_dir=.
11886
for ac_exec_ext in '' $ac_executable_extensions; do
11887
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11888
ac_cv_prog_CC="${ac_tool_prefix}cc"
11889
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11899
if test -n "$CC"; then
11900
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11901
$as_echo "$CC" >&6; }
11903
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11904
$as_echo "no" >&6; }
11910
if test -z "$CC"; then
11911
# Extract the first word of "cc", so it can be a program name with args.
11912
set dummy cc; ac_word=$2
11913
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11914
$as_echo_n "checking for $ac_word... " >&6; }
11915
if test "${ac_cv_prog_CC+set}" = set; then :
11916
$as_echo_n "(cached) " >&6
11918
if test -n "$CC"; then
11919
ac_cv_prog_CC="$CC" # Let the user override the test.
11921
ac_prog_rejected=no
11922
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11923
for as_dir in $PATH
11926
test -z "$as_dir" && as_dir=.
11927
for ac_exec_ext in '' $ac_executable_extensions; do
11928
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11929
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11930
ac_prog_rejected=yes
11934
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11941
if test $ac_prog_rejected = yes; then
11942
# We found a bogon in the path, so make sure we never use it.
11943
set dummy $ac_cv_prog_CC
11945
if test $# != 0; then
11946
# We chose a different compiler from the bogus one.
11947
# However, it has the same basename, so the bogon will be chosen
11948
# first if we set CC to just the basename; use the full file name.
11950
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
11956
if test -n "$CC"; then
11957
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11958
$as_echo "$CC" >&6; }
11960
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11961
$as_echo "no" >&6; }
11966
if test -z "$CC"; then
11967
if test -n "$ac_tool_prefix"; then
11968
for ac_prog in cl.exe
11970
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11971
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11972
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11973
$as_echo_n "checking for $ac_word... " >&6; }
11974
if test "${ac_cv_prog_CC+set}" = set; then :
11975
$as_echo_n "(cached) " >&6
11977
if test -n "$CC"; then
11978
ac_cv_prog_CC="$CC" # Let the user override the test.
11980
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11981
for as_dir in $PATH
11984
test -z "$as_dir" && as_dir=.
11985
for ac_exec_ext in '' $ac_executable_extensions; do
11986
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11987
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11988
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11998
if test -n "$CC"; then
11999
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12000
$as_echo "$CC" >&6; }
12002
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12003
$as_echo "no" >&6; }
12007
test -n "$CC" && break
12010
if test -z "$CC"; then
12012
for ac_prog in cl.exe
12014
# Extract the first word of "$ac_prog", so it can be a program name with args.
12015
set dummy $ac_prog; ac_word=$2
12016
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12017
$as_echo_n "checking for $ac_word... " >&6; }
12018
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
12019
$as_echo_n "(cached) " >&6
12021
if test -n "$ac_ct_CC"; then
12022
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12024
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12025
for as_dir in $PATH
12028
test -z "$as_dir" && as_dir=.
12029
for ac_exec_ext in '' $ac_executable_extensions; do
12030
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12031
ac_cv_prog_ac_ct_CC="$ac_prog"
12032
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12041
ac_ct_CC=$ac_cv_prog_ac_ct_CC
12042
if test -n "$ac_ct_CC"; then
12043
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12044
$as_echo "$ac_ct_CC" >&6; }
12046
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12047
$as_echo "no" >&6; }
12051
test -n "$ac_ct_CC" && break
12054
if test "x$ac_ct_CC" = x; then
12057
case $cross_compiling:$ac_tool_warned in
12059
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12060
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12061
ac_tool_warned=yes ;;
12070
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12071
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12072
as_fn_error "no acceptable C compiler found in \$PATH
12073
See \`config.log' for more details." "$LINENO" 5; }
12075
# Provide some information about the compiler.
12076
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12079
for ac_option in --version -v -V -qversion; do
12080
{ { ac_try="$ac_compiler $ac_option >&5"
12081
case "(($ac_try" in
12082
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12083
*) ac_try_echo=$ac_try;;
12085
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12086
$as_echo "$ac_try_echo"; } >&5
12087
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
12089
if test -s conftest.err; then
12091
... rest of stderr output deleted ...
12092
10q' conftest.err >conftest.er1
12093
cat conftest.er1 >&5
12095
rm -f conftest.er1 conftest.err
12096
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12097
test $ac_status = 0; }
12100
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12101
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12102
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
12103
$as_echo_n "(cached) " >&6
12105
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12106
/* end confdefs.h. */
12119
if ac_fn_c_try_compile "$LINENO"; then :
12120
ac_compiler_gnu=yes
12124
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12125
ac_cv_c_compiler_gnu=$ac_compiler_gnu
12128
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12129
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
12130
if test $ac_compiler_gnu = yes; then
12135
ac_test_CFLAGS=${CFLAGS+set}
12136
ac_save_CFLAGS=$CFLAGS
12137
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12138
$as_echo_n "checking whether $CC accepts -g... " >&6; }
12139
if test "${ac_cv_prog_cc_g+set}" = set; then :
12140
$as_echo_n "(cached) " >&6
12142
ac_save_c_werror_flag=$ac_c_werror_flag
12143
ac_c_werror_flag=yes
12146
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12147
/* end confdefs.h. */
12157
if ac_fn_c_try_compile "$LINENO"; then :
12158
ac_cv_prog_cc_g=yes
12161
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12162
/* end confdefs.h. */
12172
if ac_fn_c_try_compile "$LINENO"; then :
12175
ac_c_werror_flag=$ac_save_c_werror_flag
12177
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12178
/* end confdefs.h. */
12188
if ac_fn_c_try_compile "$LINENO"; then :
12189
ac_cv_prog_cc_g=yes
12191
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12193
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12195
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12196
ac_c_werror_flag=$ac_save_c_werror_flag
12198
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12199
$as_echo "$ac_cv_prog_cc_g" >&6; }
12200
if test "$ac_test_CFLAGS" = set; then
12201
CFLAGS=$ac_save_CFLAGS
12202
elif test $ac_cv_prog_cc_g = yes; then
12203
if test "$GCC" = yes; then
12209
if test "$GCC" = yes; then
12215
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12216
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12217
if test "${ac_cv_prog_cc_c89+set}" = set; then :
12218
$as_echo_n "(cached) " >&6
12220
ac_cv_prog_cc_c89=no
12222
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12223
/* end confdefs.h. */
12224
#include <stdarg.h>
12226
#include <sys/types.h>
12227
#include <sys/stat.h>
12228
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12229
struct buf { int x; };
12230
FILE * (*rcsopen) (struct buf *, struct stat *, int);
12231
static char *e (p, i)
12237
static char *f (char * (*g) (char **, int), char **p, ...)
12242
s = g (p, va_arg (v,int));
12247
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12248
function prototypes and stuff, but not '\xHH' hex character constants.
12249
These don't provoke an error unfortunately, instead are silently treated
12250
as 'x'. The following induces an error, until -std is added to get
12251
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12252
array size at least. It's necessary to write '\x00'==0 to get something
12253
that's true only with -std. */
12254
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12256
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12257
inside strings and character constants. */
12259
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12261
int test (int i, double x);
12262
struct s1 {int (*f) (int a);};
12263
struct s2 {int (*f) (double a);};
12264
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12270
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12275
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12276
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12278
CC="$ac_save_CC $ac_arg"
12279
if ac_fn_c_try_compile "$LINENO"; then :
12280
ac_cv_prog_cc_c89=$ac_arg
12282
rm -f core conftest.err conftest.$ac_objext
12283
test "x$ac_cv_prog_cc_c89" != "xno" && break
12285
rm -f conftest.$ac_ext
12290
case "x$ac_cv_prog_cc_c89" in
12292
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12293
$as_echo "none needed" >&6; } ;;
12295
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12296
$as_echo "unsupported" >&6; } ;;
12298
CC="$CC $ac_cv_prog_cc_c89"
12299
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12300
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12302
if test "x$ac_cv_prog_cc_c89" != xno; then :
12307
ac_cpp='$CPP $CPPFLAGS'
12308
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12309
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12310
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12312
depcc="$CC" am_compiler_list=
12314
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12315
$as_echo_n "checking dependency style of $depcc... " >&6; }
12316
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
12317
$as_echo_n "(cached) " >&6
12319
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12320
# We make a subdir and do the tests there. Otherwise we can end up
12321
# making bogus files that we don't know about and never remove. For
12322
# instance it was reported that on HP-UX the gcc test will end up
12323
# making a dummy file named `D' -- because `-MD' means `put the output
12326
# Copy depcomp to subdir because otherwise we won't find it if we're
12327
# using a relative directory.
12328
cp "$am_depcomp" conftest.dir
12330
# We will build objects and dependencies in a subdirectory because
12331
# it helps to detect inapplicable dependency modes. For instance
12332
# both Tru64's cc and ICC support -MD to output dependencies as a
12333
# side effect of compilation, but ICC will put the dependencies in
12334
# the current directory while Tru64 will put them in the object
12338
am_cv_CC_dependencies_compiler_type=none
12339
if test "$am_compiler_list" = ""; then
12340
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12342
am__universal=false
12343
case " $depcc " in #(
12344
*\ -arch\ *\ -arch\ *) am__universal=true ;;
12347
for depmode in $am_compiler_list; do
12348
# Setup a source with many dependencies, because some compilers
12349
# like to wrap large dependency lists on column 80 (with \), and
12350
# we should not choose a depcomp mode which is confused by this.
12352
# We need to recreate these files for each test, as the compiler may
12353
# overwrite some of them when testing with obscure command lines.
12354
# This happens at least with the AIX C compiler.
12356
for i in 1 2 3 4 5 6; do
12357
echo '#include "conftst'$i'.h"' >> sub/conftest.c
12358
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12359
# Solaris 8's {/usr,}/bin/sh.
12360
touch sub/conftst$i.h
12362
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12364
# We check with `-c' and `-o' for the sake of the "dashmstdout"
12365
# mode. It turns out that the SunPro C++ compiler does not properly
12366
# handle `-M -o', and we need to detect this. Also, some Intel
12367
# versions had trouble with output in subdirs
12368
am__obj=sub/conftest.${OBJEXT-o}
12369
am__minus_obj="-o $am__obj"
12372
# This depmode causes a compiler race in universal mode.
12373
test "$am__universal" = false || continue
12376
# after this tag, mechanisms are not by side-effect, so they'll
12377
# only be used when explicitly requested
12378
if test "x$enable_dependency_tracking" = xyes; then
12384
msvisualcpp | msvcmsys)
12385
# This compiler won't grok `-c -o', but also, the minuso test has
12386
# not run yet. These depmodes are late enough in the game, and
12387
# so weak that their functioning should not be impacted.
12388
am__obj=conftest.${OBJEXT-o}
12393
if depmode=$depmode \
12394
source=sub/conftest.c object=$am__obj \
12395
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12396
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12397
>/dev/null 2>conftest.err &&
12398
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12399
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12400
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12401
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12402
# icc doesn't choke on unknown options, it will just issue warnings
12403
# or remarks (even with -Werror). So we grep stderr for any message
12404
# that says an option was ignored or not supported.
12405
# When given -MP, icc 7.0 and 7.1 complain thusly:
12406
# icc: Command line warning: ignoring option '-M'; no argument required
12407
# The diagnosis changed in icc 8.0:
12408
# icc: Command line remark: option '-MP' not supported
12409
if (grep 'ignoring option' conftest.err ||
12410
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12411
am_cv_CC_dependencies_compiler_type=$depmode
12418
rm -rf conftest.dir
12420
am_cv_CC_dependencies_compiler_type=none
12424
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12425
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12426
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12429
test "x$enable_dependency_tracking" != xno \
12430
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
12431
am__fastdepCC_TRUE=
12432
am__fastdepCC_FALSE='#'
12434
am__fastdepCC_TRUE='#'
12435
am__fastdepCC_FALSE=
12440
# Checks for libraries.
12442
# Checks for header files.
12443
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
12444
$as_echo_n "checking for ANSI C header files... " >&6; }
12445
if test "${ac_cv_header_stdc+set}" = set; then :
12446
$as_echo_n "(cached) " >&6
12448
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12449
/* end confdefs.h. */
12450
#include <stdlib.h>
12451
#include <stdarg.h>
12452
#include <string.h>
12463
if ac_fn_c_try_compile "$LINENO"; then :
12464
ac_cv_header_stdc=yes
12466
ac_cv_header_stdc=no
12468
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12470
if test $ac_cv_header_stdc = yes; then
12471
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12472
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12473
/* end confdefs.h. */
12474
#include <string.h>
12477
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12478
$EGREP "memchr" >/dev/null 2>&1; then :
12481
ac_cv_header_stdc=no
12487
if test $ac_cv_header_stdc = yes; then
12488
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12489
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12490
/* end confdefs.h. */
12491
#include <stdlib.h>
12494
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12495
$EGREP "free" >/dev/null 2>&1; then :
12498
ac_cv_header_stdc=no
12504
if test $ac_cv_header_stdc = yes; then
12505
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12506
if test "$cross_compiling" = yes; then :
12509
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12510
/* end confdefs.h. */
12512
#include <stdlib.h>
12513
#if ((' ' & 0x0FF) == 0x020)
12514
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12515
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12517
# define ISLOWER(c) \
12518
(('a' <= (c) && (c) <= 'i') \
12519
|| ('j' <= (c) && (c) <= 'r') \
12520
|| ('s' <= (c) && (c) <= 'z'))
12521
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12524
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12529
for (i = 0; i < 256; i++)
12530
if (XOR (islower (i), ISLOWER (i))
12531
|| toupper (i) != TOUPPER (i))
12536
if ac_fn_c_try_run "$LINENO"; then :
12539
ac_cv_header_stdc=no
12541
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12542
conftest.$ac_objext conftest.beam conftest.$ac_ext
12547
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
12548
$as_echo "$ac_cv_header_stdc" >&6; }
12549
if test $ac_cv_header_stdc = yes; then
12551
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
12555
for ac_header in math.h stdlib.h
12557
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12558
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12559
eval as_val=\$$as_ac_Header
12560
if test "x$as_val" = x""yes; then :
12561
cat >>confdefs.h <<_ACEOF
12562
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12570
# Checks for typedefs, structures, and compiler characteristics.
12574
# Checks for library functions.
12575
# AC_CHECK_FUNCS([sscanf])
12576
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
12577
$as_echo_n "checking for sin in -lm... " >&6; }
12578
if test "${ac_cv_lib_m_sin+set}" = set; then :
12579
$as_echo_n "(cached) " >&6
12581
ac_check_lib_save_LIBS=$LIBS
12583
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12584
/* end confdefs.h. */
12586
/* Override any GCC internal prototype to avoid an error.
12587
Use char because int might match the return type of a GCC
12588
builtin and then its argument prototype would still apply. */
12601
if ac_fn_c_try_link "$LINENO"; then :
12602
ac_cv_lib_m_sin=yes
12606
rm -f core conftest.err conftest.$ac_objext \
12607
conftest$ac_exeext conftest.$ac_ext
12608
LIBS=$ac_check_lib_save_LIBS
12610
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
12611
$as_echo "$ac_cv_lib_m_sin" >&6; }
12612
if test "x$ac_cv_lib_m_sin" = x""yes; then :
12613
cat >>confdefs.h <<_ACEOF
12614
#define HAVE_LIBM 1
12624
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12625
if test -n "$ac_tool_prefix"; then
12626
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12627
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12628
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12629
$as_echo_n "checking for $ac_word... " >&6; }
12630
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
12631
$as_echo_n "(cached) " >&6
12633
case $PKG_CONFIG in
12635
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12638
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12639
for as_dir in $PATH
12642
test -z "$as_dir" && as_dir=.
12643
for ac_exec_ext in '' $ac_executable_extensions; do
12644
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12645
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12646
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12656
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12657
if test -n "$PKG_CONFIG"; then
12658
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12659
$as_echo "$PKG_CONFIG" >&6; }
12661
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12662
$as_echo "no" >&6; }
12667
if test -z "$ac_cv_path_PKG_CONFIG"; then
12668
ac_pt_PKG_CONFIG=$PKG_CONFIG
12669
# Extract the first word of "pkg-config", so it can be a program name with args.
12670
set dummy pkg-config; ac_word=$2
12671
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12672
$as_echo_n "checking for $ac_word... " >&6; }
12673
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
12674
$as_echo_n "(cached) " >&6
12676
case $ac_pt_PKG_CONFIG in
12678
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12681
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12682
for as_dir in $PATH
12685
test -z "$as_dir" && as_dir=.
12686
for ac_exec_ext in '' $ac_executable_extensions; do
12687
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12688
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12689
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12699
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12700
if test -n "$ac_pt_PKG_CONFIG"; then
12701
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12702
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
12704
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12705
$as_echo "no" >&6; }
12708
if test "x$ac_pt_PKG_CONFIG" = x; then
12711
case $cross_compiling:$ac_tool_warned in
12713
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12714
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12715
ac_tool_warned=yes ;;
12717
PKG_CONFIG=$ac_pt_PKG_CONFIG
12720
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12724
if test -n "$PKG_CONFIG"; then
12725
_pkg_min_version=0.9.0
12726
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12727
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12728
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12729
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12730
$as_echo "yes" >&6; }
12732
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12733
$as_echo "no" >&6; }
12740
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PACKAGE" >&5
12741
$as_echo_n "checking for PACKAGE... " >&6; }
12743
if test -n "$PKG_CONFIG"; then
12744
if test -n "$PACKAGE_CFLAGS"; then
12745
pkg_cv_PACKAGE_CFLAGS="$PACKAGE_CFLAGS"
12747
if test -n "$PKG_CONFIG" && \
12748
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\"gtk+-2.0 gthread-2.0 cairo librsvg-2.0 dbus-1 dbus-glib-1 libxml-2.0 gtkglext-1.0 xrender\"\""; } >&5
12749
($PKG_CONFIG --exists --print-errors ""gtk+-2.0 gthread-2.0 cairo librsvg-2.0 dbus-1 dbus-glib-1 libxml-2.0 gtkglext-1.0 xrender"") 2>&5
12751
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12752
test $ac_status = 0; }; then
12753
pkg_cv_PACKAGE_CFLAGS=`$PKG_CONFIG --cflags ""gtk+-2.0 gthread-2.0 cairo librsvg-2.0 dbus-1 dbus-glib-1 libxml-2.0 gtkglext-1.0 xrender"" 2>/dev/null`
12761
if test -n "$PKG_CONFIG"; then
12762
if test -n "$PACKAGE_LIBS"; then
12763
pkg_cv_PACKAGE_LIBS="$PACKAGE_LIBS"
12765
if test -n "$PKG_CONFIG" && \
12766
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\"gtk+-2.0 gthread-2.0 cairo librsvg-2.0 dbus-1 dbus-glib-1 libxml-2.0 gtkglext-1.0 xrender\"\""; } >&5
12767
($PKG_CONFIG --exists --print-errors ""gtk+-2.0 gthread-2.0 cairo librsvg-2.0 dbus-1 dbus-glib-1 libxml-2.0 gtkglext-1.0 xrender"") 2>&5
12769
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12770
test $ac_status = 0; }; then
12771
pkg_cv_PACKAGE_LIBS=`$PKG_CONFIG --libs ""gtk+-2.0 gthread-2.0 cairo librsvg-2.0 dbus-1 dbus-glib-1 libxml-2.0 gtkglext-1.0 xrender"" 2>/dev/null`
12782
if test $pkg_failed = yes; then
12784
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12785
_pkg_short_errors_supported=yes
12787
_pkg_short_errors_supported=no
12789
if test $_pkg_short_errors_supported = yes; then
12790
PACKAGE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors ""gtk+-2.0 gthread-2.0 cairo librsvg-2.0 dbus-1 dbus-glib-1 libxml-2.0 gtkglext-1.0 xrender""`
12792
PACKAGE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors ""gtk+-2.0 gthread-2.0 cairo librsvg-2.0 dbus-1 dbus-glib-1 libxml-2.0 gtkglext-1.0 xrender""`
12794
# Put the nasty error message in config.log where it belongs
12795
echo "$PACKAGE_PKG_ERRORS" >&5
12797
as_fn_error "Package requirements (\"gtk+-2.0 gthread-2.0 cairo librsvg-2.0 dbus-1 dbus-glib-1 libxml-2.0 gtkglext-1.0 xrender\") were not met:
12799
$PACKAGE_PKG_ERRORS
12801
Consider adjusting the PKG_CONFIG_PATH environment variable if you
12802
installed software in a non-standard prefix.
12804
Alternatively, you may set the environment variables PACKAGE_CFLAGS
12805
and PACKAGE_LIBS to avoid the need to call pkg-config.
12806
See the pkg-config man page for more details.
12808
elif test $pkg_failed = untried; then
12809
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12810
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12811
as_fn_error "The pkg-config script could not be found or is too old. Make sure it
12812
is in your PATH or set the PKG_CONFIG environment variable to the full
12813
path to pkg-config.
12815
Alternatively, you may set the environment variables PACKAGE_CFLAGS
12816
and PACKAGE_LIBS to avoid the need to call pkg-config.
12817
See the pkg-config man page for more details.
12819
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12820
See \`config.log' for more details." "$LINENO" 5; }
12822
PACKAGE_CFLAGS=$pkg_cv_PACKAGE_CFLAGS
12823
PACKAGE_LIBS=$pkg_cv_PACKAGE_LIBS
12824
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12825
$as_echo "yes" >&6; }
12829
# Check whether --enable-xextend was given.
12830
if test "${enable_xextend+set}" = set; then :
12831
enableval=$enable_xextend; case "${enableval}" in
12832
yes) usexextend=true ;;
12833
no) usexextend=false ;;
12834
*) echo "bad value ${enableval} for --enable-xextend" ;;
12841
if test "$usexextend" = "true" ; then
12844
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XEXTEND" >&5
12845
$as_echo_n "checking for XEXTEND... " >&6; }
12847
if test -n "$PKG_CONFIG"; then
12848
if test -n "$XEXTEND_CFLAGS"; then
12849
pkg_cv_XEXTEND_CFLAGS="$XEXTEND_CFLAGS"
12851
if test -n "$PKG_CONFIG" && \
12852
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\"xtst xcomposite xinerama\"\""; } >&5
12853
($PKG_CONFIG --exists --print-errors ""xtst xcomposite xinerama"") 2>&5
12855
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12856
test $ac_status = 0; }; then
12857
pkg_cv_XEXTEND_CFLAGS=`$PKG_CONFIG --cflags ""xtst xcomposite xinerama"" 2>/dev/null`
12865
if test -n "$PKG_CONFIG"; then
12866
if test -n "$XEXTEND_LIBS"; then
12867
pkg_cv_XEXTEND_LIBS="$XEXTEND_LIBS"
12869
if test -n "$PKG_CONFIG" && \
12870
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\"xtst xcomposite xinerama\"\""; } >&5
12871
($PKG_CONFIG --exists --print-errors ""xtst xcomposite xinerama"") 2>&5
12873
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12874
test $ac_status = 0; }; then
12875
pkg_cv_XEXTEND_LIBS=`$PKG_CONFIG --libs ""xtst xcomposite xinerama"" 2>/dev/null`
12886
if test $pkg_failed = yes; then
12888
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12889
_pkg_short_errors_supported=yes
12891
_pkg_short_errors_supported=no
12893
if test $_pkg_short_errors_supported = yes; then
12894
XEXTEND_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors ""xtst xcomposite xinerama""`
12896
XEXTEND_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors ""xtst xcomposite xinerama""`
12898
# Put the nasty error message in config.log where it belongs
12899
echo "$XEXTEND_PKG_ERRORS" >&5
12901
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12902
$as_echo "no" >&6; }
12903
XExt_detected=false; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not find some X Extensions; Cairo-Dock won't be able to launch keyboard shortcuts" >&5
12904
$as_echo "$as_me: WARNING: Could not find some X Extensions; Cairo-Dock won't be able to launch keyboard shortcuts" >&2;}
12905
elif test $pkg_failed = untried; then
12906
XExt_detected=false; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not find some X Extensions; Cairo-Dock won't be able to launch keyboard shortcuts" >&5
12907
$as_echo "$as_me: WARNING: Could not find some X Extensions; Cairo-Dock won't be able to launch keyboard shortcuts" >&2;}
12909
XEXTEND_CFLAGS=$pkg_cv_XEXTEND_CFLAGS
12910
XEXTEND_LIBS=$pkg_cv_XEXTEND_LIBS
12911
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12912
$as_echo "yes" >&6; }
12918
if test ! "$XExt_detected" = "false" ; then
12920
$as_echo "#define HAVE_XEXTEND \"1\"" >>confdefs.h
12924
if test "$XExt_detected" = "true"; then
12925
xextend_required="xtst xcomposite xinerama"
12927
xextend_required=""
12931
if test "$XExt_detected" = "true" ; then
12933
WITH_XEXTEND_FALSE='#'
12935
WITH_XEXTEND_TRUE='#'
12936
WITH_XEXTEND_FALSE=
12940
# Check whether --enable-glitz was given.
12941
if test "${enable_glitz+set}" = set; then :
12942
enableval=$enable_glitz; case "${enableval}" in
12943
yes) useglitz=true ;;
12944
no) useglitz=false ;;
12945
*) echo "bad value ${enableval} for --enable-glitz" ;;
12952
if test "$useglitz" = "true" ; then
12955
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLITZ" >&5
12956
$as_echo_n "checking for GLITZ... " >&6; }
12958
if test -n "$PKG_CONFIG"; then
12959
if test -n "$GLITZ_CFLAGS"; then
12960
pkg_cv_GLITZ_CFLAGS="$GLITZ_CFLAGS"
12962
if test -n "$PKG_CONFIG" && \
12963
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glitz glitz-glx\""; } >&5
12964
($PKG_CONFIG --exists --print-errors "glitz glitz-glx") 2>&5
12966
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12967
test $ac_status = 0; }; then
12968
pkg_cv_GLITZ_CFLAGS=`$PKG_CONFIG --cflags "glitz glitz-glx" 2>/dev/null`
12976
if test -n "$PKG_CONFIG"; then
12977
if test -n "$GLITZ_LIBS"; then
12978
pkg_cv_GLITZ_LIBS="$GLITZ_LIBS"
12980
if test -n "$PKG_CONFIG" && \
12981
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glitz glitz-glx\""; } >&5
12982
($PKG_CONFIG --exists --print-errors "glitz glitz-glx") 2>&5
12984
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12985
test $ac_status = 0; }; then
12986
pkg_cv_GLITZ_LIBS=`$PKG_CONFIG --libs "glitz glitz-glx" 2>/dev/null`
12997
if test $pkg_failed = yes; then
12999
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13000
_pkg_short_errors_supported=yes
13002
_pkg_short_errors_supported=no
13004
if test $_pkg_short_errors_supported = yes; then
13005
GLITZ_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glitz glitz-glx"`
13007
GLITZ_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glitz glitz-glx"`
13009
# Put the nasty error message in config.log where it belongs
13010
echo "$GLITZ_PKG_ERRORS" >&5
13012
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13013
$as_echo "no" >&6; }
13014
glitz_detected=false; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not find glitz and/or glitz-glx; Cairo-Dock won't be built with Glitz hardware acceleration." >&5
13015
$as_echo "$as_me: WARNING: Could not find glitz and/or glitz-glx; Cairo-Dock won't be built with Glitz hardware acceleration." >&2;}
13016
elif test $pkg_failed = untried; then
13017
glitz_detected=false; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not find glitz and/or glitz-glx; Cairo-Dock won't be built with Glitz hardware acceleration." >&5
13018
$as_echo "$as_me: WARNING: Could not find glitz and/or glitz-glx; Cairo-Dock won't be built with Glitz hardware acceleration." >&2;}
13020
GLITZ_CFLAGS=$pkg_cv_GLITZ_CFLAGS
13021
GLITZ_LIBS=$pkg_cv_GLITZ_LIBS
13022
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13023
$as_echo "yes" >&6; }
13024
glitz_detected=true
13029
if test ! "$glitz_detected" = "false" ; then
13031
$as_echo "#define HAVE_GLITZ \"1\"" >>confdefs.h
13036
if test "$glitz_detected" = "true"; then
13037
glitz_required="glitz glitz-glx"
13043
if test "$glitz_detected" = "true" ; then
13045
WITH_GLITZ_FALSE='#'
13047
WITH_GLITZ_TRUE='#'
13052
# We use crypt(3) which may be in libc, or in libcrypt (eg FreeBSD)
13053
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for crypt in -lcrypt" >&5
13054
$as_echo_n "checking for crypt in -lcrypt... " >&6; }
13055
if test "${ac_cv_lib_crypt_crypt+set}" = set; then :
13056
$as_echo_n "(cached) " >&6
13058
ac_check_lib_save_LIBS=$LIBS
13059
LIBS="-lcrypt $LIBS"
13060
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13061
/* end confdefs.h. */
13063
/* Override any GCC internal prototype to avoid an error.
13064
Use char because int might match the return type of a GCC
13065
builtin and then its argument prototype would still apply. */
13078
if ac_fn_c_try_link "$LINENO"; then :
13079
ac_cv_lib_crypt_crypt=yes
13081
ac_cv_lib_crypt_crypt=no
13083
rm -f core conftest.err conftest.$ac_objext \
13084
conftest$ac_exeext conftest.$ac_ext
13085
LIBS=$ac_check_lib_save_LIBS
13087
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypt_crypt" >&5
13088
$as_echo "$ac_cv_lib_crypt_crypt" >&6; }
13089
if test "x$ac_cv_lib_crypt_crypt" = x""yes; then :
13090
LIBCRYPT_LIBS="-lcrypt"
13093
if test "$LIBCRYPT_LIBS" != "" ; then
13094
HAVE_LIBCRYPT_TRUE=
13095
HAVE_LIBCRYPT_FALSE='#'
13097
HAVE_LIBCRYPT_TRUE='#'
13098
HAVE_LIBCRYPT_FALSE=
13103
ac_config_files="$ac_config_files Makefile cairo-dock.pc src/Makefile po/Makefile.in data/Makefile data/cairo-dock.conf data/cairo-dock-simple.conf data/main-dock.conf data/themes.conf data/default-theme/Makefile data/default-theme/launchers/Makefile data/default-theme/plug-ins/Makefile data/default-theme/plug-ins/Animated-icons/Makefile data/default-theme/plug-ins/Clipper/Makefile data/default-theme/plug-ins/Dbus/Makefile data/default-theme/plug-ins/dialog-rendering/Makefile data/default-theme/plug-ins/dnd2share/Makefile data/default-theme/plug-ins/GMenu/Makefile data/default-theme/plug-ins/icon-effect/Makefile data/default-theme/plug-ins/illusion/Makefile data/default-theme/plug-ins/logout/Makefile data/default-theme/plug-ins/musicPlayer/Makefile data/default-theme/plug-ins/quick-browser/Makefile data/default-theme/plug-ins/rendering/Makefile data/default-theme/plug-ins/shortcuts/Makefile data/default-theme/plug-ins/showDesktop/Makefile data/default-theme/plug-ins/stack/Makefile data/default-theme/plug-ins/switcher/Makefile data/gauges/Makefile data/gauges/battery/Makefile data/gauges/turbo-night-fuel/Makefile data/emblems/Makefile data/explosion/Makefile"
13105
cat >confcache <<\_ACEOF
13106
# This file is a shell script that caches the results of configure
13107
# tests run on this system so they can be shared between configure
13108
# scripts and configure runs, see configure's option --config-cache.
13109
# It is not useful on other systems. If it contains results you don't
13110
# want to keep, you may remove or edit it.
13112
# config.status only pays attention to the cache file if you give it
13113
# the --recheck option to rerun configure.
13115
# `ac_cv_env_foo' variables (set or unset) will be overridden when
13116
# loading this file, other *unset* `ac_cv_foo' will be assigned the
13117
# following values.
13121
# The following way of writing the cache mishandles newlines in values,
13122
# but we know of no workaround that is simple, portable, and efficient.
13123
# So, we kill variables containing newlines.
13124
# Ultrix sh set writes to stderr and can't be redirected directly,
13125
# and sets the high bit in the cache file unless we assign to the vars.
13127
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13128
eval ac_val=\$$ac_var
13132
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13133
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13136
_ | IFS | as_nl) ;; #(
13137
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13138
*) { eval $ac_var=; unset $ac_var;} ;;
13144
case $as_nl`(ac_space=' '; set) 2>&1` in #(
13145
*${as_nl}ac_space=\ *)
13146
# `set' does not quote correctly, so add quotes: double-quote
13147
# substitution turns \\\\ into \\, and sed turns \\ into \.
13150
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13153
# `set' quotes correctly as required by POSIX, so do not add quotes.
13154
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13163
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13165
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13167
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13168
if test -w "$cache_file"; then
13169
test "x$cache_file" != "x/dev/null" &&
13170
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13171
$as_echo "$as_me: updating cache $cache_file" >&6;}
13172
cat confcache >$cache_file
13174
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13175
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13180
test "x$prefix" = xNONE && prefix=$ac_default_prefix
13181
# Let make expand exec_prefix.
13182
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13184
DEFS=-DHAVE_CONFIG_H
13188
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13189
# 1. Remove the extension, and $U if already installed.
13190
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13191
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13192
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13193
# will be set to the directory where LIBOBJS objects are built.
13194
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13195
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13197
LIBOBJS=$ac_libobjs
13199
LTLIBOBJS=$ac_ltlibobjs
13202
if test -n "$EXEEXT"; then
13204
am__EXEEXT_FALSE='#'
13206
am__EXEEXT_TRUE='#'
13210
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13211
as_fn_error "conditional \"AMDEP\" was never defined.
13212
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13214
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13215
as_fn_error "conditional \"am__fastdepCC\" was never defined.
13216
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13219
ac_config_commands="$ac_config_commands po/stamp-it"
13222
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13223
as_fn_error "conditional \"am__fastdepCC\" was never defined.
13224
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13226
if test -z "${WITH_XEXTEND_TRUE}" && test -z "${WITH_XEXTEND_FALSE}"; then
13227
as_fn_error "conditional \"WITH_XEXTEND\" was never defined.
13228
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13230
if test -z "${WITH_GLITZ_TRUE}" && test -z "${WITH_GLITZ_FALSE}"; then
13231
as_fn_error "conditional \"WITH_GLITZ\" was never defined.
13232
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13234
if test -z "${HAVE_LIBCRYPT_TRUE}" && test -z "${HAVE_LIBCRYPT_FALSE}"; then
13235
as_fn_error "conditional \"HAVE_LIBCRYPT\" was never defined.
13236
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13239
: ${CONFIG_STATUS=./config.status}
13241
ac_clean_files_save=$ac_clean_files
13242
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13243
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13244
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13246
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13248
# Generated by $as_me.
13249
# Run this file to recreate the current configuration.
13250
# Compiler output produced by configure, useful for debugging
13251
# configure, is in config.log if it exists.
13254
ac_cs_recheck=false
13257
SHELL=\${CONFIG_SHELL-$SHELL}
13260
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13261
## -------------------- ##
13262
## M4sh Initialization. ##
13263
## -------------------- ##
13265
# Be more Bourne compatible
13266
DUALCASE=1; export DUALCASE # for MKS sh
13267
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13270
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13271
# is contrary to our usage. Disable this feature.
13272
alias -g '${1+"$@"}'='"$@"'
13273
setopt NO_GLOB_SUBST
13275
case `(set -o) 2>/dev/null` in #(
13287
# Printing a long string crashes Solaris 7 /usr/bin/printf.
13288
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13289
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13290
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13291
# Prefer a ksh shell builtin over an external printf program on Solaris,
13292
# but without wasting forks for bash or zsh.
13293
if test -z "$BASH_VERSION$ZSH_VERSION" \
13294
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13295
as_echo='print -r --'
13296
as_echo_n='print -rn --'
13297
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13298
as_echo='printf %s\n'
13299
as_echo_n='printf %s'
13301
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13302
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13303
as_echo_n='/usr/ucb/echo -n'
13305
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13306
as_echo_n_body='eval
13310
expr "X$arg" : "X\\(.*\\)$as_nl";
13311
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13313
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13315
export as_echo_n_body
13316
as_echo_n='sh -c $as_echo_n_body as_echo'
13318
export as_echo_body
13319
as_echo='sh -c $as_echo_body as_echo'
13322
# The user is always right.
13323
if test "${PATH_SEPARATOR+set}" != set; then
13325
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13326
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13333
# We need space, tab and new line, in precisely that order. Quoting is
13334
# there to prevent editors from complaining about space-tab.
13335
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
13336
# splitting by setting IFS to empty value.)
13339
# Find who we are. Look in the path if we contain no directory separator.
13341
*[\\/]* ) as_myself=$0 ;;
13342
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13343
for as_dir in $PATH
13346
test -z "$as_dir" && as_dir=.
13347
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13353
# We did not find ourselves, most probably we were run as `sh COMMAND'
13354
# in which case we are not to be found in the path.
13355
if test "x$as_myself" = x; then
13358
if test ! -f "$as_myself"; then
13359
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13363
# Unset variables that we do not need and which cause bugs (e.g. in
13364
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13365
# suppresses any "Segmentation fault" message there. '((' could
13366
# trigger a bug in pdksh 5.2.14.
13367
for as_var in BASH_ENV ENV MAIL MAILPATH
13368
do eval test x\${$as_var+set} = xset \
13369
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13382
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13385
# as_fn_error ERROR [LINENO LOG_FD]
13386
# ---------------------------------
13387
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13388
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13389
# script with status $?, using 1 if that was 0.
13392
as_status=$?; test $as_status -eq 0 && as_status=1
13394
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13395
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
13397
$as_echo "$as_me: error: $1" >&2
13398
as_fn_exit $as_status
13402
# as_fn_set_status STATUS
13403
# -----------------------
13404
# Set $? to STATUS, without forking.
13405
as_fn_set_status ()
13408
} # as_fn_set_status
13410
# as_fn_exit STATUS
13411
# -----------------
13412
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13416
as_fn_set_status $1
13422
# Portably unset VAR.
13425
{ eval $1=; unset $1;}
13427
as_unset=as_fn_unset
13428
# as_fn_append VAR VALUE
13429
# ----------------------
13430
# Append the text in VALUE to the end of the definition contained in VAR. Take
13431
# advantage of any shell optimizations that allow amortized linear growth over
13432
# repeated appends, instead of the typical quadratic growth present in naive
13434
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13435
eval 'as_fn_append ()
13446
# as_fn_arith ARG...
13447
# ------------------
13448
# Perform arithmetic evaluation on the ARGs, and store the result in the
13449
# global $as_val. Take advantage of shells that can avoid forks. The arguments
13450
# must be portable across $(()) and expr.
13451
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13452
eval 'as_fn_arith ()
13459
as_val=`expr "$@" || test $? -eq 1`
13464
if expr a : '\(a\)' >/dev/null 2>&1 &&
13465
test "X`expr 00001 : '.*\(...\)'`" = X001; then
13471
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13472
as_basename=basename
13477
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13483
as_me=`$as_basename -- "$0" ||
13484
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13485
X"$0" : 'X\(//\)$' \| \
13486
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13488
sed '/^.*\/\([^/][^/]*\)\/*$/{
13502
# Avoid depending upon Character Ranges.
13503
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13504
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13505
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13506
as_cr_digits='0123456789'
13507
as_cr_alnum=$as_cr_Letters$as_cr_digits
13509
ECHO_C= ECHO_N= ECHO_T=
13510
case `echo -n x` in #(((((
13512
case `echo 'xy\c'` in
13513
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
13515
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
13522
rm -f conf$$ conf$$.exe conf$$.file
13523
if test -d conf$$.dir; then
13524
rm -f conf$$.dir/conf$$.file
13527
mkdir conf$$.dir 2>/dev/null
13529
if (echo >conf$$.file) 2>/dev/null; then
13530
if ln -s conf$$.file conf$$ 2>/dev/null; then
13532
# ... but there are two gotchas:
13533
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13534
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13535
# In both cases, we have to default to `cp -p'.
13536
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13538
elif ln conf$$.file conf$$ 2>/dev/null; then
13546
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13547
rmdir conf$$.dir 2>/dev/null
13552
# Create "$as_dir" as a directory, including parents if necessary.
13557
-*) as_dir=./$as_dir;;
13559
test -d "$as_dir" || eval $as_mkdir_p || {
13563
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13564
*) as_qdir=$as_dir;;
13566
as_dirs="'$as_qdir' $as_dirs"
13567
as_dir=`$as_dirname -- "$as_dir" ||
13568
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13569
X"$as_dir" : 'X\(//\)[^/]' \| \
13570
X"$as_dir" : 'X\(//\)$' \| \
13571
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13572
$as_echo X"$as_dir" |
13573
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13577
/^X\(\/\/\)[^/].*/{
13590
test -d "$as_dir" && break
13592
test -z "$as_dirs" || eval "mkdir $as_dirs"
13593
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
13597
if mkdir -p . 2>/dev/null; then
13598
as_mkdir_p='mkdir -p "$as_dir"'
13600
test -d ./-p && rmdir ./-p
13604
if test -x / >/dev/null 2>&1; then
13605
as_test_x='test -x'
13607
if ls -dL / >/dev/null 2>&1; then
13614
if test -d "$1"; then
13620
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
13621
???[sx]*):;;*)false;;esac;fi
13625
as_executable_p=$as_test_x
13627
# Sed expression to map a string onto a valid CPP name.
13628
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13630
# Sed expression to map a string onto a valid variable name.
13631
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13635
## ----------------------------------- ##
13636
## Main body of $CONFIG_STATUS script. ##
13637
## ----------------------------------- ##
13639
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13641
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13642
# Save the log message, to keep $0 and so on meaningful, and to
13643
# report actual input values of CONFIG_FILES etc. instead of their
13644
# values after options handling.
13646
This file was extended by cairo-dock $as_me 2.1.3-10-lucid, which was
13647
generated by GNU Autoconf 2.65. Invocation command line was
13649
CONFIG_FILES = $CONFIG_FILES
13650
CONFIG_HEADERS = $CONFIG_HEADERS
13651
CONFIG_LINKS = $CONFIG_LINKS
13652
CONFIG_COMMANDS = $CONFIG_COMMANDS
13655
on `(hostname || uname -n) 2>/dev/null | sed 1q`
13660
case $ac_config_files in *"
13661
"*) set x $ac_config_files; shift; ac_config_files=$*;;
13664
case $ac_config_headers in *"
13665
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13669
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13670
# Files that config.status was made for.
13671
config_files="$ac_config_files"
13672
config_headers="$ac_config_headers"
13673
config_commands="$ac_config_commands"
13677
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13679
\`$as_me' instantiates files and other configuration actions
13680
from templates according to the current configuration. Unless the files
13681
and actions are specified as TAGs, all are instantiated by default.
13683
Usage: $0 [OPTION]... [TAG]...
13685
-h, --help print this help, then exit
13686
-V, --version print version number and configuration settings, then exit
13687
--config print configuration, then exit
13688
-q, --quiet, --silent
13689
do not print progress messages
13690
-d, --debug don't remove temporary files
13691
--recheck update $as_me by reconfiguring in the same conditions
13692
--file=FILE[:TEMPLATE]
13693
instantiate the configuration file FILE
13694
--header=FILE[:TEMPLATE]
13695
instantiate the configuration header FILE
13697
Configuration files:
13700
Configuration headers:
13703
Configuration commands:
13706
Report bugs to <Fabrice Rey (fabounet@users.berlios.de)>."
13709
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13710
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13712
cairo-dock config.status 2.1.3-10-lucid
13713
configured by $0, generated by GNU Autoconf 2.65,
13714
with options \\"\$ac_cs_config\\"
13716
Copyright (C) 2009 Free Software Foundation, Inc.
13717
This config.status script is free software; the Free Software Foundation
13718
gives unlimited permission to copy, distribute and modify it."
13725
test -n "\$AWK" || AWK=awk
13728
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13729
# The default lists apply if the user does not specify any file.
13735
ac_option=`expr "X$1" : 'X\([^=]*\)='`
13736
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13747
# Handling of the options.
13748
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13750
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13751
$as_echo "$ac_cs_version"; exit ;;
13752
--config | --confi | --conf | --con | --co | --c )
13753
$as_echo "$ac_cs_config"; exit ;;
13754
--debug | --debu | --deb | --de | --d | -d )
13756
--file | --fil | --fi | --f )
13759
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13761
as_fn_append CONFIG_FILES " '$ac_optarg'"
13762
ac_need_defaults=false;;
13763
--header | --heade | --head | --hea )
13766
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13768
as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13769
ac_need_defaults=false;;
13771
# Conflict between --help and --header
13772
as_fn_error "ambiguous option: \`$1'
13773
Try \`$0 --help' for more information.";;
13774
--help | --hel | -h )
13775
$as_echo "$ac_cs_usage"; exit ;;
13776
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
13777
| -silent | --silent | --silen | --sile | --sil | --si | --s)
13780
# This is an error.
13781
-*) as_fn_error "unrecognized option: \`$1'
13782
Try \`$0 --help' for more information." ;;
13784
*) as_fn_append ac_config_targets " $1"
13785
ac_need_defaults=false ;;
13791
ac_configure_extra_args=
13793
if $ac_cs_silent; then
13795
ac_configure_extra_args="$ac_configure_extra_args --silent"
13799
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13800
if \$ac_cs_recheck; then
13801
set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13803
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13804
CONFIG_SHELL='$SHELL'
13805
export CONFIG_SHELL
13810
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13814
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13815
## Running $as_me. ##
13821
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13825
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13828
# The HP-UX ksh and POSIX shell print the target directory to stdout
13829
# if CDPATH is set.
13830
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13832
sed_quote_subst='$sed_quote_subst'
13833
double_quote_subst='$double_quote_subst'
13834
delay_variable_subst='$delay_variable_subst'
13835
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
13836
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
13837
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
13838
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
13839
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
13840
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
13841
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
13842
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
13843
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
13844
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
13845
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
13846
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
13847
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
13848
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
13849
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
13850
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
13851
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
13852
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
13853
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
13854
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
13855
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
13856
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
13857
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
13858
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
13859
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
13860
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
13861
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
13862
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13863
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
13864
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
13865
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
13866
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
13867
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13868
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
13869
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
13870
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13871
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13872
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13873
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
13874
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13875
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
13876
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
13877
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
13878
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
13879
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"`'
13880
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"`'
13881
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
13882
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
13883
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
13884
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
13885
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
13886
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
13887
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
13888
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
13889
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
13890
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
13891
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
13892
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
13893
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
13894
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
13895
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
13896
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
13897
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13898
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13899
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
13900
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
13901
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13902
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13903
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
13904
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13905
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13906
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13907
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13908
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13909
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13910
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
13911
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13912
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13913
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13914
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
13915
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
13916
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
13917
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
13918
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
13919
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13920
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
13921
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
13922
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
13923
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
13924
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
13925
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13926
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13927
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13928
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13929
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
13930
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
13931
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
13932
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
13933
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
13934
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13935
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13936
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
13937
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13938
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
13939
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13940
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13941
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13942
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13943
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
13944
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
13945
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13946
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13947
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
13948
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
13949
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
13950
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
13951
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
13952
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
13955
LTCFLAGS='$LTCFLAGS'
13956
compiler='$compiler_DEFAULT'
13958
# Quote evaled strings.
13970
deplibs_check_method \
13979
lt_cv_sys_global_symbol_pipe \
13980
lt_cv_sys_global_symbol_to_cdecl \
13981
lt_cv_sys_global_symbol_to_c_name_address \
13982
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13985
lt_prog_compiler_no_builtin_flag \
13986
lt_prog_compiler_wl \
13987
lt_prog_compiler_pic \
13988
lt_prog_compiler_static \
13989
lt_cv_prog_compiler_c_o \
13997
export_dynamic_flag_spec \
13998
whole_archive_flag_spec \
13999
compiler_needs_object \
14001
allow_undefined_flag \
14002
no_undefined_flag \
14003
hardcode_libdir_flag_spec \
14004
hardcode_libdir_flag_spec_ld \
14005
hardcode_libdir_separator \
14010
variables_saved_for_relink \
14012
library_names_spec \
14017
case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
14018
*[\\\\\\\`\\"\\\$]*)
14019
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14022
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14027
# Double-quote double-evaled strings.
14028
for var in reload_cmds \
14029
old_postinstall_cmds \
14030
old_postuninstall_cmds \
14032
extract_expsyms_cmds \
14033
old_archive_from_new_cmds \
14034
old_archive_from_expsyms_cmds \
14036
archive_expsym_cmds \
14038
module_expsym_cmds \
14039
export_symbols_cmds \
14042
postuninstall_cmds \
14044
sys_lib_search_path_spec \
14045
sys_lib_dlsearch_path_spec; do
14046
case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
14047
*[\\\\\\\`\\"\\\$]*)
14048
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14051
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14056
# Fix-up fallback echo if it was mangled by the above quoting rules.
14058
*'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
14062
ac_aux_dir='$ac_aux_dir'
14063
xsi_shell='$xsi_shell'
14064
lt_shell_append='$lt_shell_append'
14066
# See if we are running on zsh, and set the options which allow our
14067
# commands through without removal of \ escapes INIT.
14068
if test -n "\${ZSH_VERSION+set}" ; then
14069
setopt NO_GLOB_SUBST
14075
TIMESTAMP='$TIMESTAMP'
14085
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14087
# Handling of arguments.
14088
for ac_config_target in $ac_config_targets
14090
case $ac_config_target in
14091
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
14092
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14093
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14094
"default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
14095
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14096
"cairo-dock.pc") CONFIG_FILES="$CONFIG_FILES cairo-dock.pc" ;;
14097
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
14098
"po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
14099
"data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
14100
"data/cairo-dock.conf") CONFIG_FILES="$CONFIG_FILES data/cairo-dock.conf" ;;
14101
"data/cairo-dock-simple.conf") CONFIG_FILES="$CONFIG_FILES data/cairo-dock-simple.conf" ;;
14102
"data/main-dock.conf") CONFIG_FILES="$CONFIG_FILES data/main-dock.conf" ;;
14103
"data/themes.conf") CONFIG_FILES="$CONFIG_FILES data/themes.conf" ;;
14104
"data/default-theme/Makefile") CONFIG_FILES="$CONFIG_FILES data/default-theme/Makefile" ;;
14105
"data/default-theme/launchers/Makefile") CONFIG_FILES="$CONFIG_FILES data/default-theme/launchers/Makefile" ;;
14106
"data/default-theme/plug-ins/Makefile") CONFIG_FILES="$CONFIG_FILES data/default-theme/plug-ins/Makefile" ;;
14107
"data/default-theme/plug-ins/Animated-icons/Makefile") CONFIG_FILES="$CONFIG_FILES data/default-theme/plug-ins/Animated-icons/Makefile" ;;
14108
"data/default-theme/plug-ins/Clipper/Makefile") CONFIG_FILES="$CONFIG_FILES data/default-theme/plug-ins/Clipper/Makefile" ;;
14109
"data/default-theme/plug-ins/Dbus/Makefile") CONFIG_FILES="$CONFIG_FILES data/default-theme/plug-ins/Dbus/Makefile" ;;
14110
"data/default-theme/plug-ins/dialog-rendering/Makefile") CONFIG_FILES="$CONFIG_FILES data/default-theme/plug-ins/dialog-rendering/Makefile" ;;
14111
"data/default-theme/plug-ins/dnd2share/Makefile") CONFIG_FILES="$CONFIG_FILES data/default-theme/plug-ins/dnd2share/Makefile" ;;
14112
"data/default-theme/plug-ins/GMenu/Makefile") CONFIG_FILES="$CONFIG_FILES data/default-theme/plug-ins/GMenu/Makefile" ;;
14113
"data/default-theme/plug-ins/icon-effect/Makefile") CONFIG_FILES="$CONFIG_FILES data/default-theme/plug-ins/icon-effect/Makefile" ;;
14114
"data/default-theme/plug-ins/illusion/Makefile") CONFIG_FILES="$CONFIG_FILES data/default-theme/plug-ins/illusion/Makefile" ;;
14115
"data/default-theme/plug-ins/logout/Makefile") CONFIG_FILES="$CONFIG_FILES data/default-theme/plug-ins/logout/Makefile" ;;
14116
"data/default-theme/plug-ins/musicPlayer/Makefile") CONFIG_FILES="$CONFIG_FILES data/default-theme/plug-ins/musicPlayer/Makefile" ;;
14117
"data/default-theme/plug-ins/quick-browser/Makefile") CONFIG_FILES="$CONFIG_FILES data/default-theme/plug-ins/quick-browser/Makefile" ;;
14118
"data/default-theme/plug-ins/rendering/Makefile") CONFIG_FILES="$CONFIG_FILES data/default-theme/plug-ins/rendering/Makefile" ;;
14119
"data/default-theme/plug-ins/shortcuts/Makefile") CONFIG_FILES="$CONFIG_FILES data/default-theme/plug-ins/shortcuts/Makefile" ;;
14120
"data/default-theme/plug-ins/showDesktop/Makefile") CONFIG_FILES="$CONFIG_FILES data/default-theme/plug-ins/showDesktop/Makefile" ;;
14121
"data/default-theme/plug-ins/stack/Makefile") CONFIG_FILES="$CONFIG_FILES data/default-theme/plug-ins/stack/Makefile" ;;
14122
"data/default-theme/plug-ins/switcher/Makefile") CONFIG_FILES="$CONFIG_FILES data/default-theme/plug-ins/switcher/Makefile" ;;
14123
"data/gauges/Makefile") CONFIG_FILES="$CONFIG_FILES data/gauges/Makefile" ;;
14124
"data/gauges/battery/Makefile") CONFIG_FILES="$CONFIG_FILES data/gauges/battery/Makefile" ;;
14125
"data/gauges/turbo-night-fuel/Makefile") CONFIG_FILES="$CONFIG_FILES data/gauges/turbo-night-fuel/Makefile" ;;
14126
"data/emblems/Makefile") CONFIG_FILES="$CONFIG_FILES data/emblems/Makefile" ;;
14127
"data/explosion/Makefile") CONFIG_FILES="$CONFIG_FILES data/explosion/Makefile" ;;
14128
"po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
14130
*) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14135
# If the user did not use the arguments to specify the items to instantiate,
14136
# then the envvar interface is used. Set only those that are not.
14137
# We use the long form for the default assignment because of an extremely
14138
# bizarre bug on SunOS 4.1.3.
14139
if $ac_need_defaults; then
14140
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14141
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14142
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14145
# Have a temporary directory for convenience. Make it in the build tree
14146
# simply because there is no reason against having it here, and in addition,
14147
# creating and moving files from /tmp can sometimes cause problems.
14148
# Hook for its removal unless debugging.
14149
# Note that there is a small window in which the directory will not be cleaned:
14150
# after its creation but before its name has been assigned to `$tmp'.
14154
trap 'exit_status=$?
14155
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
14157
trap 'as_fn_exit 1' 1 2 13 15
14159
# Create a (secure) tmp directory for tmp files.
14162
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14163
test -n "$tmp" && test -d "$tmp"
14166
tmp=./conf$$-$RANDOM
14167
(umask 077 && mkdir "$tmp")
14168
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
14170
# Set up the scripts for CONFIG_FILES section.
14171
# No need to generate them if there are no CONFIG_FILES.
14172
# This happens for instance with `./config.status config.h'.
14173
if test -n "$CONFIG_FILES"; then
14176
ac_cr=`echo X | tr X '\015'`
14177
# On cygwin, bash can eat \r inside `` if the user requested igncr.
14178
# But we know of no other shell where ac_cr would be empty at this
14179
# point, so we can use a bashism as a fallback.
14180
if test "x$ac_cr" = x; then
14181
eval ac_cr=\$\'\\r\'
14183
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14184
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14187
ac_cs_awk_cr=$ac_cr
14190
echo 'BEGIN {' >"$tmp/subs1.awk" &&
14195
echo "cat >conf$$subs.awk <<_ACEOF" &&
14196
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14198
} >conf$$subs.sh ||
14199
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
14200
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
14202
for ac_last_try in false false false false false :; do
14203
. ./conf$$subs.sh ||
14204
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
14206
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14207
if test $ac_delim_n = $ac_delim_num; then
14209
elif $ac_last_try; then
14210
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
14212
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14215
rm -f conf$$subs.sh
14217
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14218
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
14222
s/^/S["/; s/!.*/"]=/
14232
s/\(.\{148\}\)..*/\1/
14234
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14239
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14246
s/\(.\{148\}\)..*/\1/
14248
s/["\\]/\\&/g; s/^/"/; s/$/"/
14252
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14257
' <conf$$subs.awk | sed '
14262
' >>$CONFIG_STATUS || ac_write_fail=1
14263
rm -f conf$$subs.awk
14264
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14266
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
14267
for (key in S) S_is_set[key] = 1
14273
nfields = split(line, field, "@")
14275
len = length(field[1])
14276
for (i = 2; i < nfields; i++) {
14278
keylen = length(key)
14279
if (S_is_set[key]) {
14281
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14282
len += length(value) + length(field[++i])
14293
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14294
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14295
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14298
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
14299
|| as_fn_error "could not setup config files machinery" "$LINENO" 5
14302
# VPATH may cause trouble with some makes, so we remove $(srcdir),
14303
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
14304
# trailing colons and then remove the whole line if VPATH becomes empty
14305
# (actually we leave an empty line to preserve line numbers).
14306
if test "x$srcdir" = x.; then
14307
ac_vpsub='/^[ ]*VPATH[ ]*=/{
14308
s/:*\$(srcdir):*/:/
14309
s/:*\${srcdir}:*/:/
14311
s/^\([^=]*=[ ]*\):*/\1/
14317
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14318
fi # test -n "$CONFIG_FILES"
14320
# Set up the scripts for CONFIG_HEADERS section.
14321
# No need to generate them if there are no CONFIG_HEADERS.
14322
# This happens for instance with `./config.status Makefile'.
14323
if test -n "$CONFIG_HEADERS"; then
14324
cat >"$tmp/defines.awk" <<\_ACAWK ||
14328
# Transform confdefs.h into an awk script `defines.awk', embedded as
14329
# here-document in config.status, that substitutes the proper values into
14330
# config.h.in to produce config.h.
14332
# Create a delimiter string that does not exist in confdefs.h, to ease
14333
# handling of long lines.
14335
for ac_last_try in false false :; do
14336
ac_t=`sed -n "/$ac_delim/p" confdefs.h`
14337
if test -z "$ac_t"; then
14339
elif $ac_last_try; then
14340
as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
14342
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14346
# For the awk script, D is an array of macro values keyed by name,
14347
# likewise P contains macro parameters if any. Preserve backslash
14348
# newline sequences.
14350
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14352
s/.\{148\}/&'"$ac_delim"'/g
14355
s/^[ ]*#[ ]*define[ ][ ]*/ /
14362
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14364
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
14368
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14369
D["\1"]=" \3\\\\\\n"\\/p
14371
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14376
s/.\{148\}/&'"$ac_delim"'/g
14381
s/["\\]/\\&/g; s/^/"/; s/$/"/p
14384
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14386
' <confdefs.h | sed '
14387
s/'"$ac_delim"'/"\\\
14388
"/g' >>$CONFIG_STATUS || ac_write_fail=1
14390
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14391
for (key in D) D_is_set[key] = 1
14394
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14396
split(line, arg, " ")
14397
if (arg[1] == "#") {
14401
defundef = substr(arg[1], 2)
14404
split(mac1, mac2, "(") #)
14406
prefix = substr(line, 1, index(line, defundef) - 1)
14407
if (D_is_set[macro]) {
14408
# Preserve the white space surrounding the "#".
14409
print prefix "define", macro P[macro] D[macro]
14412
# Replace #undef with comments. This is necessary, for example,
14413
# in the case of _POSIX_SOURCE, which is predefined and required
14414
# on some systems where configure will not decide to define it.
14415
if (defundef == "undef") {
14416
print "/*", prefix defundef, macro, "*/"
14424
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14425
as_fn_error "could not setup config headers machinery" "$LINENO" 5
14426
fi # test -n "$CONFIG_HEADERS"
14429
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14434
:[FHLC]) ac_mode=$ac_tag; continue;;
14436
case $ac_mode$ac_tag in
14438
:L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
14439
:[FH]-) ac_tag=-:-;;
14440
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14457
-) ac_f="$tmp/stdin";;
14458
*) # Look for the file first in the build tree, then in the source tree
14459
# (if the path is not absolute). The absolute path cannot be DOS-style,
14460
# because $ac_f cannot contain `:'.
14464
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14466
as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14468
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14469
as_fn_append ac_file_inputs " '$ac_f'"
14472
# Let's still pretend it is `configure' which instantiates (i.e., don't
14473
# use $as_me), people would be surprised to read:
14474
# /* config.h. Generated by config.status. */
14475
configure_input='Generated from '`
14476
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14478
if test x"$ac_file" != x-; then
14479
configure_input="$ac_file. $configure_input"
14480
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14481
$as_echo "$as_me: creating $ac_file" >&6;}
14483
# Neutralize special characters interpreted by sed in replacement strings.
14484
case $configure_input in #(
14485
*\&* | *\|* | *\\* )
14486
ac_sed_conf_input=`$as_echo "$configure_input" |
14487
sed 's/[\\\\&|]/\\\\&/g'`;; #(
14488
*) ac_sed_conf_input=$configure_input;;
14492
*:-:* | *:-) cat >"$tmp/stdin" \
14493
|| as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
14498
ac_dir=`$as_dirname -- "$ac_file" ||
14499
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14500
X"$ac_file" : 'X\(//\)[^/]' \| \
14501
X"$ac_file" : 'X\(//\)$' \| \
14502
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14503
$as_echo X"$ac_file" |
14504
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14508
/^X\(\/\/\)[^/].*/{
14521
as_dir="$ac_dir"; as_fn_mkdir_p
14525
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14527
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14528
# A ".." for each directory in $ac_dir_suffix.
14529
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14530
case $ac_top_builddir_sub in
14531
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14532
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14535
ac_abs_top_builddir=$ac_pwd
14536
ac_abs_builddir=$ac_pwd$ac_dir_suffix
14537
# for backward compatibility:
14538
ac_top_builddir=$ac_top_build_prefix
14541
.) # We are building in place.
14543
ac_top_srcdir=$ac_top_builddir_sub
14544
ac_abs_top_srcdir=$ac_pwd ;;
14545
[\\/]* | ?:[\\/]* ) # Absolute name.
14546
ac_srcdir=$srcdir$ac_dir_suffix;
14547
ac_top_srcdir=$srcdir
14548
ac_abs_top_srcdir=$srcdir ;;
14549
*) # Relative name.
14550
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14551
ac_top_srcdir=$ac_top_build_prefix$srcdir
14552
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14554
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14564
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14565
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14567
ac_MKDIR_P=$MKDIR_P
14569
[\\/$]* | ?:[\\/]* ) ;;
14570
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14574
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14575
# If the template does not know about datarootdir, expand it.
14576
# FIXME: This hack should be removed a few years after 2.60.
14577
ac_datarootdir_hack=; ac_datarootdir_seen=
14588
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14589
*datarootdir*) ac_datarootdir_seen=yes;;
14590
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14591
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14592
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14594
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14595
ac_datarootdir_hack='
14596
s&@datadir@&$datadir&g
14597
s&@docdir@&$docdir&g
14598
s&@infodir@&$infodir&g
14599
s&@localedir@&$localedir&g
14600
s&@mandir@&$mandir&g
14601
s&\\\${datarootdir}&$datarootdir&g' ;;
14605
# Neutralize VPATH when `$srcdir' = `.'.
14606
# Shell code in configure.ac might set extrasub.
14607
# FIXME: do we really want to maintain this feature?
14608
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14609
ac_sed_extra="$ac_vpsub
14612
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14614
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14615
s|@configure_input@|$ac_sed_conf_input|;t t
14616
s&@top_builddir@&$ac_top_builddir_sub&;t t
14617
s&@top_build_prefix@&$ac_top_build_prefix&;t t
14618
s&@srcdir@&$ac_srcdir&;t t
14619
s&@abs_srcdir@&$ac_abs_srcdir&;t t
14620
s&@top_srcdir@&$ac_top_srcdir&;t t
14621
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14622
s&@builddir@&$ac_builddir&;t t
14623
s&@abs_builddir@&$ac_abs_builddir&;t t
14624
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14625
s&@INSTALL@&$ac_INSTALL&;t t
14626
s&@MKDIR_P@&$ac_MKDIR_P&;t t
14627
$ac_datarootdir_hack
14629
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
14630
|| as_fn_error "could not create $ac_file" "$LINENO" 5
14632
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14633
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
14634
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
14635
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14636
which seems to be undefined. Please make sure it is defined." >&5
14637
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14638
which seems to be undefined. Please make sure it is defined." >&2;}
14642
-) cat "$tmp/out" && rm -f "$tmp/out";;
14643
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
14645
|| as_fn_error "could not create $ac_file" "$LINENO" 5
14651
if test x"$ac_file" != x-; then
14653
$as_echo "/* $configure_input */" \
14654
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
14655
} >"$tmp/config.h" \
14656
|| as_fn_error "could not create $ac_file" "$LINENO" 5
14657
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
14658
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14659
$as_echo "$as_me: $ac_file is unchanged" >&6;}
14662
mv "$tmp/config.h" "$ac_file" \
14663
|| as_fn_error "could not create $ac_file" "$LINENO" 5
14666
$as_echo "/* $configure_input */" \
14667
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
14668
|| as_fn_error "could not create -" "$LINENO" 5
14670
# Compute "$ac_file"'s index in $config_headers.
14673
for _am_header in $config_headers :; do
14674
case $_am_header in
14675
$_am_arg | $_am_arg:* )
14678
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
14681
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14682
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14683
X"$_am_arg" : 'X\(//\)[^/]' \| \
14684
X"$_am_arg" : 'X\(//\)$' \| \
14685
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14686
$as_echo X"$_am_arg" |
14687
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14691
/^X\(\/\/\)[^/].*/{
14703
s/.*/./; q'`/stamp-h$_am_stamp_count
14706
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14707
$as_echo "$as_me: executing $ac_file commands" >&6;}
14712
case $ac_file$ac_mode in
14713
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14714
# Autoconf 2.62 quotes --file arguments for eval, but not when files
14715
# are listed without --file. Let's play safe and only enable the eval
14716
# if we detect the quoting.
14717
case $CONFIG_FILES in
14718
*\'*) eval set x "$CONFIG_FILES" ;;
14719
*) set x $CONFIG_FILES ;;
14724
# Strip MF so we end up with the name of the file.
14725
mf=`echo "$mf" | sed -e 's/:.*$//'`
14726
# Check whether this is an Automake generated Makefile or not.
14727
# We used to match only the files named `Makefile.in', but
14728
# some people rename them; so instead we look at the file content.
14729
# Grep'ing the first line is not enough: some people post-process
14730
# each Makefile.in and add a new line on top of each file to say so.
14731
# Grep'ing the whole file is not good either: AIX grep has a line
14732
# limit of 2048, but all sed's we know have understand at least 4000.
14733
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14734
dirpart=`$as_dirname -- "$mf" ||
14735
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14736
X"$mf" : 'X\(//\)[^/]' \| \
14737
X"$mf" : 'X\(//\)$' \| \
14738
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14740
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14744
/^X\(\/\/\)[^/].*/{
14760
# Extract the definition of DEPDIR, am__include, and am__quote
14761
# from the Makefile without running `make'.
14762
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14763
test -z "$DEPDIR" && continue
14764
am__include=`sed -n 's/^am__include = //p' < "$mf"`
14765
test -z "am__include" && continue
14766
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14767
# When using ansi2knr, U may be empty or an underscore; expand it
14768
U=`sed -n 's/^U = //p' < "$mf"`
14769
# Find all dependency output files, they are included files with
14770
# $(DEPDIR) in their names. We invoke sed twice because it is the
14771
# simplest approach to changing $(DEPDIR) to its actual value in the
14773
for file in `sed -n "
14774
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14775
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14776
# Make sure the directory exists.
14777
test -f "$dirpart/$file" && continue
14778
fdir=`$as_dirname -- "$file" ||
14779
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14780
X"$file" : 'X\(//\)[^/]' \| \
14781
X"$file" : 'X\(//\)$' \| \
14782
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14783
$as_echo X"$file" |
14784
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14788
/^X\(\/\/\)[^/].*/{
14801
as_dir=$dirpart/$fdir; as_fn_mkdir_p
14802
# echo "creating $dirpart/$file"
14803
echo '# dummy' > "$dirpart/$file"
14810
# See if we are running on zsh, and set the options which allow our
14811
# commands through without removal of \ escapes.
14812
if test -n "${ZSH_VERSION+set}" ; then
14813
setopt NO_GLOB_SUBST
14816
cfgfile="${ofile}T"
14817
trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14820
cat <<_LT_EOF >> "$cfgfile"
14823
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14824
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14825
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14826
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
14828
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14829
# 2006, 2007, 2008 Free Software Foundation, Inc.
14830
# Written by Gordon Matzigkeit, 1996
14832
# This file is part of GNU Libtool.
14834
# GNU Libtool is free software; you can redistribute it and/or
14835
# modify it under the terms of the GNU General Public License as
14836
# published by the Free Software Foundation; either version 2 of
14837
# the License, or (at your option) any later version.
14839
# As a special exception to the GNU General Public License,
14840
# if you distribute this file as part of a program or library that
14841
# is built using GNU Libtool, you may include this file under the
14842
# same distribution terms that you use for the rest of that program.
14844
# GNU Libtool is distributed in the hope that it will be useful,
14845
# but WITHOUT ANY WARRANTY; without even the implied warranty of
14846
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14847
# GNU General Public License for more details.
14849
# You should have received a copy of the GNU General Public License
14850
# along with GNU Libtool; see the file COPYING. If not, a copy
14851
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14852
# obtained by writing to the Free Software Foundation, Inc.,
14853
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14856
# The names of the tagged configurations supported by this script.
14859
# ### BEGIN LIBTOOL CONFIG
14861
# Which release of libtool.m4 was used?
14862
macro_version=$macro_version
14863
macro_revision=$macro_revision
14865
# Whether or not to build shared libraries.
14866
build_libtool_libs=$enable_shared
14868
# Whether or not to build static libraries.
14869
build_old_libs=$enable_static
14871
# What type of objects to build.
14874
# Whether or not to optimize for fast installation.
14875
fast_install=$enable_fast_install
14878
host_alias=$host_alias
14882
# The build system.
14883
build_alias=$build_alias
14887
# A sed program that does not truncate output.
14890
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
14891
Xsed="\$SED -e 1s/^X//"
14893
# A grep program that handles long lines.
14899
# A literal string matcher.
14902
# A BSD- or MS-compatible name lister.
14905
# Whether we need soft or hard links.
14908
# What is the maximum length of a command?
14909
max_cmd_len=$max_cmd_len
14911
# Object file suffix (normally "o").
14914
# Executable file suffix (normally "").
14917
# whether the shell understands "unset".
14920
# turn spaces into newlines.
14923
# turn newlines into spaces.
14926
# How to create reloadable object files.
14927
reload_flag=$lt_reload_flag
14928
reload_cmds=$lt_reload_cmds
14930
# An object symbol dumper.
14931
OBJDUMP=$lt_OBJDUMP
14933
# Method to check whether dependent libraries are shared objects.
14934
deplibs_check_method=$lt_deplibs_check_method
14936
# Command to use when deplibs_check_method == "file_magic".
14937
file_magic_cmd=$lt_file_magic_cmd
14941
AR_FLAGS=$lt_AR_FLAGS
14943
# A symbol stripping program.
14946
# Commands used to install an old-style archive.
14948
old_postinstall_cmds=$lt_old_postinstall_cmds
14949
old_postuninstall_cmds=$lt_old_postuninstall_cmds
14954
# LTCC compiler flags.
14955
LTCFLAGS=$lt_CFLAGS
14957
# Take the output of nm and produce a listing of raw symbols and C names.
14958
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14960
# Transform the output of nm in a proper C declaration.
14961
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14963
# Transform the output of nm in a C name address pair.
14964
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14966
# Transform the output of nm in a C name address pair when lib prefix is needed.
14967
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14969
# The name of the directory that contains temporary libtool files.
14972
# Shell to use when invoking shell scripts.
14975
# An echo program that does not interpret backslashes.
14978
# Used to examine libraries when file_magic_cmd begins with "file".
14979
MAGIC_CMD=$MAGIC_CMD
14981
# Must we lock files when doing compilation?
14982
need_locks=$lt_need_locks
14984
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14985
DSYMUTIL=$lt_DSYMUTIL
14987
# Tool to change global to local symbols on Mac OS X.
14990
# Tool to manipulate fat objects and archives on Mac OS X.
14993
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
14996
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14997
OTOOL64=$lt_OTOOL64
14999
# Old archive suffix (normally "a").
15002
# Shared library suffix (normally ".so").
15003
shrext_cmds=$lt_shrext_cmds
15005
# The commands to extract the exported symbol list from a shared archive.
15006
extract_expsyms_cmds=$lt_extract_expsyms_cmds
15008
# Variables whose values should be saved in libtool wrapper scripts and
15009
# restored at link time.
15010
variables_saved_for_relink=$lt_variables_saved_for_relink
15012
# Do we need the "lib" prefix for modules?
15013
need_lib_prefix=$need_lib_prefix
15015
# Do we need a version for libraries?
15016
need_version=$need_version
15018
# Library versioning type.
15019
version_type=$version_type
15021
# Shared library runtime path variable.
15022
runpath_var=$runpath_var
15024
# Shared library path variable.
15025
shlibpath_var=$shlibpath_var
15027
# Is shlibpath searched before the hard-coded library search path?
15028
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15030
# Format of library name prefix.
15031
libname_spec=$lt_libname_spec
15033
# List of archive names. First name is the real one, the rest are links.
15034
# The last name is the one that the linker finds with -lNAME
15035
library_names_spec=$lt_library_names_spec
15037
# The coded name of the library, if different from the real name.
15038
soname_spec=$lt_soname_spec
15040
# Command to use after installation of a shared archive.
15041
postinstall_cmds=$lt_postinstall_cmds
15043
# Command to use after uninstallation of a shared archive.
15044
postuninstall_cmds=$lt_postuninstall_cmds
15046
# Commands used to finish a libtool library installation in a directory.
15047
finish_cmds=$lt_finish_cmds
15049
# As "finish_cmds", except a single script fragment to be evaled but
15051
finish_eval=$lt_finish_eval
15053
# Whether we should hardcode library paths into libraries.
15054
hardcode_into_libs=$hardcode_into_libs
15056
# Compile-time system search path for libraries.
15057
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15059
# Run-time system search path for libraries.
15060
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15062
# Whether dlopen is supported.
15063
dlopen_support=$enable_dlopen
15065
# Whether dlopen of programs is supported.
15066
dlopen_self=$enable_dlopen_self
15068
# Whether dlopen of statically linked programs is supported.
15069
dlopen_self_static=$enable_dlopen_self_static
15071
# Commands to strip libraries.
15072
old_striplib=$lt_old_striplib
15073
striplib=$lt_striplib
15076
# The linker used to build libraries.
15079
# Commands used to build an old-style archive.
15080
old_archive_cmds=$lt_old_archive_cmds
15082
# A language specific compiler.
15085
# Is the compiler the GNU compiler?
15088
# Compiler flag to turn off builtin functions.
15089
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15091
# How to pass a linker flag through the compiler.
15092
wl=$lt_lt_prog_compiler_wl
15094
# Additional compiler flags for building library objects.
15095
pic_flag=$lt_lt_prog_compiler_pic
15097
# Compiler flag to prevent dynamic linking.
15098
link_static_flag=$lt_lt_prog_compiler_static
15100
# Does compiler simultaneously support -c and -o options?
15101
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15103
# Whether or not to add -lc for building shared libraries.
15104
build_libtool_need_lc=$archive_cmds_need_lc
15106
# Whether or not to disallow shared libs when runtime libs are static.
15107
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15109
# Compiler flag to allow reflexive dlopens.
15110
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15112
# Compiler flag to generate shared objects directly from archives.
15113
whole_archive_flag_spec=$lt_whole_archive_flag_spec
15115
# Whether the compiler copes with passing no objects directly.
15116
compiler_needs_object=$lt_compiler_needs_object
15118
# Create an old-style archive from a shared archive.
15119
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15121
# Create a temporary old-style archive to link instead of a shared archive.
15122
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15124
# Commands used to build a shared archive.
15125
archive_cmds=$lt_archive_cmds
15126
archive_expsym_cmds=$lt_archive_expsym_cmds
15128
# Commands used to build a loadable module if different from building
15129
# a shared archive.
15130
module_cmds=$lt_module_cmds
15131
module_expsym_cmds=$lt_module_expsym_cmds
15133
# Whether we are building with GNU ld or not.
15134
with_gnu_ld=$lt_with_gnu_ld
15136
# Flag that allows shared libraries with undefined symbols to be built.
15137
allow_undefined_flag=$lt_allow_undefined_flag
15139
# Flag that enforces no undefined symbols.
15140
no_undefined_flag=$lt_no_undefined_flag
15142
# Flag to hardcode \$libdir into a binary during linking.
15143
# This must work even if \$libdir does not exist
15144
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15146
# If ld is used when linking, flag to hardcode \$libdir into a binary
15147
# during linking. This must work even if \$libdir does not exist.
15148
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15150
# Whether we need a single "-rpath" flag with a separated argument.
15151
hardcode_libdir_separator=$lt_hardcode_libdir_separator
15153
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15154
# DIR into the resulting binary.
15155
hardcode_direct=$hardcode_direct
15157
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15158
# DIR into the resulting binary and the resulting library dependency is
15159
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15160
# library is relocated.
15161
hardcode_direct_absolute=$hardcode_direct_absolute
15163
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15164
# into the resulting binary.
15165
hardcode_minus_L=$hardcode_minus_L
15167
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15168
# into the resulting binary.
15169
hardcode_shlibpath_var=$hardcode_shlibpath_var
15171
# Set to "yes" if building a shared library automatically hardcodes DIR
15172
# into the library and all subsequent libraries and executables linked
15174
hardcode_automatic=$hardcode_automatic
15176
# Set to yes if linker adds runtime paths of dependent libraries
15177
# to runtime path list.
15178
inherit_rpath=$inherit_rpath
15180
# Whether libtool must link a program against all its dependency libraries.
15181
link_all_deplibs=$link_all_deplibs
15183
# Fix the shell variable \$srcfile for the compiler.
15184
fix_srcfile_path=$lt_fix_srcfile_path
15186
# Set to "yes" if exported symbols are required.
15187
always_export_symbols=$always_export_symbols
15189
# The commands to list exported symbols.
15190
export_symbols_cmds=$lt_export_symbols_cmds
15192
# Symbols that should not be listed in the preloaded symbols.
15193
exclude_expsyms=$lt_exclude_expsyms
15195
# Symbols that must always be exported.
15196
include_expsyms=$lt_include_expsyms
15198
# Commands necessary for linking programs (against libraries) with templates.
15199
prelink_cmds=$lt_prelink_cmds
15201
# Specify filename containing input files.
15202
file_list_spec=$lt_file_list_spec
15204
# How to hardcode a shared library path into an executable.
15205
hardcode_action=$hardcode_action
15207
# ### END LIBTOOL CONFIG
15213
cat <<\_LT_EOF >> "$cfgfile"
15214
# AIX sometimes has problems with the GCC collect2 program. For some
15215
# reason, if we set the COLLECT_NAMES environment variable, the problems
15216
# vanish in a puff of smoke.
15217
if test "X${COLLECT_NAMES+set}" != Xset; then
15219
export COLLECT_NAMES
15226
ltmain="$ac_aux_dir/ltmain.sh"
15229
# We use sed instead of cat because bash on DJGPP gets confused if
15230
# if finds mixed CR/LF and LF-only lines. Since sed operates in
15231
# text mode, it properly converts lines to CR/LF. This bash problem
15232
# is reportedly fixed, but why not run on old versions too?
15233
sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
15234
|| (rm -f "$cfgfile"; exit 1)
15238
cat << \_LT_EOF >> "$cfgfile"
15240
# func_dirname file append nondir_replacement
15241
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
15242
# otherwise set result to NONDIR_REPLACEMENT.
15246
*/*) func_dirname_result="${1%/*}${2}" ;;
15247
* ) func_dirname_result="${3}" ;;
15251
# func_basename file
15254
func_basename_result="${1##*/}"
15257
# func_dirname_and_basename file append nondir_replacement
15258
# perform func_basename and func_dirname in a single function
15260
# dirname: Compute the dirname of FILE. If nonempty,
15261
# add APPEND to the result, otherwise set result
15262
# to NONDIR_REPLACEMENT.
15263
# value returned in "$func_dirname_result"
15264
# basename: Compute filename of FILE.
15265
# value retuned in "$func_basename_result"
15266
# Implementation must be kept synchronized with func_dirname
15267
# and func_basename. For efficiency, we do not delegate to
15268
# those functions but instead duplicate the functionality here.
15269
func_dirname_and_basename ()
15272
*/*) func_dirname_result="${1%/*}${2}" ;;
15273
* ) func_dirname_result="${3}" ;;
15275
func_basename_result="${1##*/}"
15278
# func_stripname prefix suffix name
15279
# strip PREFIX and SUFFIX off of NAME.
15280
# PREFIX and SUFFIX must not contain globbing or regex special
15281
# characters, hashes, percent signs, but SUFFIX may contain a leading
15282
# dot (in which case that matches only a dot).
15285
# pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15286
# positional parameters, so assign one to ordinary parameter first.
15287
func_stripname_result=${3}
15288
func_stripname_result=${func_stripname_result#"${1}"}
15289
func_stripname_result=${func_stripname_result%"${2}"}
15295
func_opt_split_opt=${1%%=*}
15296
func_opt_split_arg=${1#*=}
15303
*.lo) func_lo2o_result=${1%.lo}.${objext} ;;
15304
*) func_lo2o_result=${1} ;;
15308
# func_xform libobj-or-source
15311
func_xform_result=${1%.*}.lo
15314
# func_arith arithmetic-term...
15317
func_arith_result=$(( $* ))
15321
# STRING may not start with a hyphen.
15324
func_len_result=${#1}
15329
*) # Bourne compatible functions.
15330
cat << \_LT_EOF >> "$cfgfile"
15332
# func_dirname file append nondir_replacement
15333
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
15334
# otherwise set result to NONDIR_REPLACEMENT.
15337
# Extract subdirectory from the argument.
15338
func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
15339
if test "X$func_dirname_result" = "X${1}"; then
15340
func_dirname_result="${3}"
15342
func_dirname_result="$func_dirname_result${2}"
15346
# func_basename file
15349
func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
15353
# func_stripname prefix suffix name
15354
# strip PREFIX and SUFFIX off of NAME.
15355
# PREFIX and SUFFIX must not contain globbing or regex special
15356
# characters, hashes, percent signs, but SUFFIX may contain a leading
15357
# dot (in which case that matches only a dot).
15358
# func_strip_suffix prefix name
15362
.*) func_stripname_result=`$ECHO "X${3}" \
15363
| $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
15364
*) func_stripname_result=`$ECHO "X${3}" \
15365
| $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
15370
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
15371
my_sed_long_arg='1s/^-[^=]*=//'
15376
func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
15377
func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
15383
func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
15386
# func_xform libobj-or-source
15389
func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
15392
# func_arith arithmetic-term...
15395
func_arith_result=`expr "$@"`
15399
# STRING may not start with a hyphen.
15402
func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
15408
case $lt_shell_append in
15410
cat << \_LT_EOF >> "$cfgfile"
15412
# func_append var value
15413
# Append VALUE to the end of shell variable VAR.
15421
cat << \_LT_EOF >> "$cfgfile"
15423
# func_append var value
15424
# Append VALUE to the end of shell variable VAR.
15435
sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
15436
|| (rm -f "$cfgfile"; exit 1)
15438
mv -f "$cfgfile" "$ofile" ||
15439
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15443
"default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
15444
sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
15447
if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
15448
as_fn_error "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
15450
rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
15455
'"s|^| $ac_top_srcdir/|" \
15456
"$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
15458
sed '/^POTFILES =/,/[^\\]$/ {
15462
' "po/Makefile.in" >"po/Makefile"
15463
rm -f "po/Makefile.tmp"
15464
mv "po/stamp-it.tmp" "po/stamp-it"
15473
ac_clean_files=$ac_clean_files_save
15475
test $ac_write_fail = 0 ||
15476
as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
15479
# configure is writing to config.log, and then calls config.status.
15480
# config.status does its own redirection, appending to config.log.
15481
# Unfortunately, on DOS this fails, as config.log is still kept open
15482
# by configure, so config.status won't be able to write to it; its
15483
# output is simply discarded. So we exec the FD to /dev/null,
15484
# effectively closing config.log, so it can be properly (re)opened and
15485
# appended to by config.status. When coming back to configure, we
15486
# need to make the FD available again.
15487
if test "$no_create" != yes; then
15489
ac_config_status_args=
15490
test "$silent" = yes &&
15491
ac_config_status_args="$ac_config_status_args --quiet"
15493
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15495
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
15496
# would make configure fail if this is the last instruction.
15497
$ac_cs_success || as_fn_exit $?
15499
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15500
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15501
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15507
echo "Cairo-Dock will be compiled with the following options :"
15508
if test "$XExt_detected" = "true"; then
15509
echo " * Use X Extensions : yes"
15511
echo " * Use X Extensions : no"
15513
if test "$glitz_detected" = "true"; then
15514
echo " * Glitz Hardware Acceleration : yes (warning : this is deprecated)"
15516
if test "$LIBCRYPT_LIBS" != ""; then
15517
echo " * crypt passwords : yes"
15519
echo " * crypt passwords : no"