2
@%:@ Guess values for system-dependent variables and create Makefiles.
3
@%:@ Generated by GNU Autoconf 2.61.
5
@%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6
@%:@ 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7
@%:@ This configure script is free software; the Free Software Foundation
8
@%:@ gives unlimited permission to copy, distribute and modify it.
9
## --------------------- ##
10
## M4sh Initialization. ##
11
## --------------------- ##
13
# Be more Bourne compatible
14
DUALCASE=1; export DUALCASE # for MKS sh
15
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19
# is contrary to our usage. Disable this feature.
20
alias -g '${1+"$@"}'='"$@"'
23
case `(set -o) 2>/dev/null` in
24
*posix*) set -o posix ;;
33
# Avoid depending upon Character Ranges.
34
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37
as_cr_digits='0123456789'
38
as_cr_alnum=$as_cr_Letters$as_cr_digits
40
# The user is always right.
41
if test "${PATH_SEPARATOR+set}" != set; then
42
echo "#! /bin/sh" >conf$$.sh
43
echo "exit 0" >>conf$$.sh
45
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
53
# Support unset when possible.
54
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
62
# We need space, tab and new line, in precisely that order. Quoting is
63
# there to prevent editors from complaining about space-tab.
64
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
65
# splitting by setting IFS to empty value.)
70
# Find who we are. Look in the path if we contain no directory separator.
72
*[\\/]* ) as_myself=$0 ;;
73
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77
test -z "$as_dir" && as_dir=.
78
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
84
# We did not find ourselves, most probably we were run as `sh COMMAND'
85
# in which case we are not to be found in the path.
86
if test "x$as_myself" = x; then
89
if test ! -f "$as_myself"; then
90
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94
# Work around bugs in pre-3.0 UWIN ksh.
95
for as_var in ENV MAIL MAILPATH
96
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
104
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109
eval $as_var=C; export $as_var
111
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115
# Required to use basename.
116
if expr a : '\(a\)' >/dev/null 2>&1 &&
117
test "X`expr 00001 : '.*\(...\)'`" = X001; then
123
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
130
# Name of the executable.
131
as_me=`$as_basename -- "$0" ||
132
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133
X"$0" : 'X\(//\)$' \| \
134
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
136
sed '/^.*\/\([^/][^/]*\)\/*$/{
154
if test "x$CONFIG_SHELL" = x; then
155
if (eval ":") 2>/dev/null; then
161
if test $as_have_required = yes && (eval ":
171
as_func_ret_success () {
174
as_func_ret_failure () {
179
if as_func_success; then
183
echo as_func_success failed.
186
if as_func_failure; then
188
echo as_func_failure succeeded.
191
if as_func_ret_success; then
195
echo as_func_ret_success failed.
198
if as_func_ret_failure; then
200
echo as_func_ret_failure succeeded.
203
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207
echo positional parameters were not saved.
210
test \$exitcode = 0) || { (exit 1); exit 1; }
215
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217
") 2> /dev/null; then
221
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
222
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
225
test -z "$as_dir" && as_dir=.
228
for as_base in sh bash ksh sh5; do
229
as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
236
for as_shell in $as_candidate_shells $SHELL; do
237
# Try only shells that exist, to save several forks.
238
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239
{ ("$as_shell") 2> /dev/null <<\_ASEOF
240
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244
# is contrary to our usage. Disable this feature.
245
alias -g '${1+"$@"}'='"$@"'
248
case `(set -o) 2>/dev/null` in
249
*posix*) set -o posix ;;
258
CONFIG_SHELL=$as_shell
260
if { "$as_shell" 2> /dev/null <<\_ASEOF
261
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265
# is contrary to our usage. Disable this feature.
266
alias -g '${1+"$@"}'='"$@"'
269
case `(set -o) 2>/dev/null` in
270
*posix*) set -o posix ;;
286
as_func_ret_success () {
289
as_func_ret_failure () {
294
if as_func_success; then
298
echo as_func_success failed.
301
if as_func_failure; then
303
echo as_func_failure succeeded.
306
if as_func_ret_success; then
310
echo as_func_ret_success failed.
313
if as_func_ret_failure; then
315
echo as_func_ret_failure succeeded.
318
if ( set x; as_func_ret_success y && test x = "$1" ); then
322
echo positional parameters were not saved.
325
test $exitcode = 0) || { (exit 1); exit 1; }
330
test "x$as_lineno_1" != "x$as_lineno_2" &&
331
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
342
if test "x$CONFIG_SHELL" != x; then
343
for as_var in BASH_ENV ENV
344
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351
if test $as_have_required = no; then
352
echo This script requires a shell more modern than all the
353
echo shells that I found on your system. Please install a
354
echo modern shell, or manually run the script under such a
355
echo shell if you do have one.
356
{ (exit 1); exit 1; }
366
(eval "as_func_return () {
375
as_func_ret_success () {
378
as_func_ret_failure () {
383
if as_func_success; then
387
echo as_func_success failed.
390
if as_func_failure; then
392
echo as_func_failure succeeded.
395
if as_func_ret_success; then
399
echo as_func_ret_success failed.
402
if as_func_ret_failure; then
404
echo as_func_ret_failure succeeded.
407
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411
echo positional parameters were not saved.
414
test \$exitcode = 0") || {
415
echo No shell found that supports shell functions.
416
echo Please tell autoconf@gnu.org about your system,
417
echo including any error possibly output before this
425
test "x$as_lineno_1" != "x$as_lineno_2" &&
426
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
428
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429
# uniformly replaced by the line number. The first 'sed' inserts a
430
# line-number line after each line using $LINENO; the second 'sed'
431
# does the real work. The second script uses 'N' to pair each
432
# line-number line with the line containing $LINENO, and appends
433
# trailing '-' during substitution so that $LINENO is not a special
435
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436
# scripts with optimization help from Paolo Bonzini. Blame Lee
437
# E. McMahon (1931-1989) for sed's syntax. :-)
449
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453
chmod +x "$as_me.lineno" ||
454
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455
{ (exit 1); exit 1; }; }
457
# Don't try to exec as it changes $[0], causing all sort of problems
458
# (the dirname of $[0] is not the place where we might find the
459
# original and so on. Autoconf is especially sensitive to this).
461
# Exit status is that of the last command.
466
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
472
ECHO_C= ECHO_N= ECHO_T=
476
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
483
if expr a : '\(a\)' >/dev/null 2>&1 &&
484
test "X`expr 00001 : '.*\(...\)'`" = X001; then
490
rm -f conf$$ conf$$.exe conf$$.file
491
if test -d conf$$.dir; then
492
rm -f conf$$.dir/conf$$.file
498
if ln -s conf$$.file conf$$ 2>/dev/null; then
500
# ... but there are two gotchas:
501
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503
# In both cases, we have to default to `cp -p'.
504
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
506
elif ln conf$$.file conf$$ 2>/dev/null; then
511
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512
rmdir conf$$.dir 2>/dev/null
514
if mkdir -p . 2>/dev/null; then
517
test -d ./-p && rmdir ./-p
521
if test -x / >/dev/null 2>&1; then
524
if ls -dL / >/dev/null 2>&1; then
531
if test -d "$1"; then
537
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538
???[sx]*):;;*)false;;esac;fi
542
as_executable_p=$as_test_x
544
# Sed expression to map a string onto a valid CPP name.
545
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
547
# Sed expression to map a string onto a valid variable name.
548
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
553
# Check that we are running under the correct shell.
554
SHELL=${CONFIG_SHELL-/bin/sh}
558
# Remove one level of quotation (which was required for Make).
559
ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
564
if test "X$1" = X--no-reexec; then
565
# Discard the --no-reexec flag, and continue.
567
elif test "X$1" = X--fallback-echo; then
568
# Avoid inline document here, it may be left over
570
elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
571
# Yippee, $echo works!
574
# Restart under the correct shell.
575
exec $SHELL "$0" --no-reexec ${1+"$@"}
578
if test "X$1" = X--fallback-echo; then
579
# used as fallback echo
587
# The HP-UX ksh and POSIX shell print the target directory to stdout
589
if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
591
if test -z "$ECHO"; then
592
if test "X${echo_test_string+set}" != Xset; then
593
# find a string as large as possible, as long as the shell can cope with it
594
for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
595
# expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
596
if (echo_test_string="`eval $cmd`") 2>/dev/null &&
597
echo_test_string="`eval $cmd`" &&
598
(test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
605
if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
606
echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
607
test "X$echo_testing_string" = "X$echo_test_string"; then
610
# The Solaris, AIX, and Digital Unix default echo programs unquote
611
# backslashes. This makes it impossible to quote backslashes using
612
# echo "$something" | sed 's/\\/\\\\/g'
614
# So, first we look for a working echo in the user's PATH.
616
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
617
for dir in $PATH /usr/ucb; do
619
if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
620
test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
621
echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
622
test "X$echo_testing_string" = "X$echo_test_string"; then
629
if test "X$echo" = Xecho; then
630
# We didn't find a better echo, so look for alternatives.
631
if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
632
echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
633
test "X$echo_testing_string" = "X$echo_test_string"; then
634
# This shell has a builtin print -r that does the trick.
636
elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
637
test "X$CONFIG_SHELL" != X/bin/ksh; then
638
# If we have ksh, try running configure again with it.
639
ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
640
export ORIGINAL_CONFIG_SHELL
641
CONFIG_SHELL=/bin/ksh
643
exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
647
if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
648
echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
649
test "X$echo_testing_string" = "X$echo_test_string"; then
652
elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
653
test "X$echo_testing_string" = 'X\t' &&
654
echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
655
test "X$echo_testing_string" = "X$echo_test_string"; then
656
CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
658
SHELL="$CONFIG_SHELL"
660
echo="$CONFIG_SHELL $0 --fallback-echo"
661
elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
662
test "X$echo_testing_string" = 'X\t' &&
663
echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
664
test "X$echo_testing_string" = "X$echo_test_string"; then
665
echo="$CONFIG_SHELL $0 --fallback-echo"
667
# maybe with a smaller string...
670
for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
671
if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
678
if test "$prev" != 'sed 50q "$0"'; then
679
echo_test_string=`eval $prev`
680
export echo_test_string
681
exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
683
# Oops. We lost completely, so just stick with echo.
692
# Copy echo and quote the copy suitably for passing to libtool from
693
# the Makefile, instead of quoting the original, which is used later.
695
if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
696
ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
702
tagnames=${tagnames+${tagnames},}CXX
704
tagnames=${tagnames+${tagnames},}F77
706
exec 7<&0 </dev/null 6>&1
709
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
710
# so uname gets run too.
711
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
716
ac_default_prefix=/usr/local
718
ac_config_libobj_dir=.
724
SHELL=${CONFIG_SHELL-/bin/sh}
726
# Identity of this package.
733
ac_unique_file="acinclude.m4"
734
ac_default_prefix=${KDEDIR:-the kde prefix}
735
# Factoring default headers for most tests.
736
ac_includes_default="\
738
#ifdef HAVE_SYS_TYPES_H
739
# include <sys/types.h>
741
#ifdef HAVE_SYS_STAT_H
742
# include <sys/stat.h>
748
# ifdef HAVE_STDLIB_H
753
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
758
#ifdef HAVE_STRINGS_H
759
# include <strings.h>
761
#ifdef HAVE_INTTYPES_H
762
# include <inttypes.h>
780
program_transform_name
834
INSTALL_STRIP_PROGRAM
871
unsermake_enable_pch_TRUE
872
unsermake_enable_pch_FALSE
878
ENABLE_PERMISSIVE_FLAG
884
KDE_USE_CLOSURE_FALSE
887
KDE_USE_NMCHECK_FALSE
1014
ac_precious_vars='build_alias
1032
# Initialize some variables set by options.
1034
ac_init_version=false
1035
# The variables have the same names as the options, with
1036
# dashes changed to underlines.
1037
cache_file=/dev/null
1044
program_transform_name=s,x,x,
1052
# Installation directory options.
1053
# These are left unexpanded so users can "make install exec_prefix=/foo"
1054
# and all the variables that are supposed to be based on exec_prefix
1055
# by default will actually change.
1056
# Use braces instead of parens because sh, perl, etc. also accept them.
1057
# (The list follows the same order as the GNU Coding Standards.)
1058
bindir='${exec_prefix}/bin'
1059
sbindir='${exec_prefix}/sbin'
1060
libexecdir='${exec_prefix}/libexec'
1061
datarootdir='${prefix}/share'
1062
datadir='${datarootdir}'
1063
sysconfdir='${prefix}/etc'
1064
sharedstatedir='${prefix}/com'
1065
localstatedir='${prefix}/var'
1066
includedir='${prefix}/include'
1067
oldincludedir='/usr/include'
1068
docdir='${datarootdir}/doc/${PACKAGE}'
1069
infodir='${datarootdir}/info'
1074
libdir='${exec_prefix}/lib'
1075
localedir='${datarootdir}/locale'
1076
mandir='${datarootdir}/man'
1082
# If the previous option needs an argument, assign it.
1083
if test -n "$ac_prev"; then
1084
eval $ac_prev=\$ac_option
1090
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1094
# Accept the important Cygnus configure options, so we can diagnose typos.
1096
case $ac_dashdash$ac_option in
1100
-bindir | --bindir | --bindi | --bind | --bin | --bi)
1102
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1103
bindir=$ac_optarg ;;
1105
-build | --build | --buil | --bui | --bu)
1106
ac_prev=build_alias ;;
1107
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
1108
build_alias=$ac_optarg ;;
1110
-cache-file | --cache-file | --cache-fil | --cache-fi \
1111
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1112
ac_prev=cache_file ;;
1113
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1114
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1115
cache_file=$ac_optarg ;;
1117
--config-cache | -C)
1118
cache_file=config.cache ;;
1120
-datadir | --datadir | --datadi | --datad)
1122
-datadir=* | --datadir=* | --datadi=* | --datad=*)
1123
datadir=$ac_optarg ;;
1125
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1126
| --dataroo | --dataro | --datar)
1127
ac_prev=datarootdir ;;
1128
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1129
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1130
datarootdir=$ac_optarg ;;
1132
-disable-* | --disable-*)
1133
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1134
# Reject names that are not valid shell variable names.
1135
expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1136
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
1137
{ (exit 1); exit 1; }; }
1138
ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1139
eval enable_$ac_feature=no ;;
1141
-docdir | --docdir | --docdi | --doc | --do)
1143
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1144
docdir=$ac_optarg ;;
1146
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1148
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1149
dvidir=$ac_optarg ;;
1151
-enable-* | --enable-*)
1152
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1153
# Reject names that are not valid shell variable names.
1154
expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1155
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
1156
{ (exit 1); exit 1; }; }
1157
ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1158
eval enable_$ac_feature=\$ac_optarg ;;
1160
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1161
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1162
| --exec | --exe | --ex)
1163
ac_prev=exec_prefix ;;
1164
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1165
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1166
| --exec=* | --exe=* | --ex=*)
1167
exec_prefix=$ac_optarg ;;
1169
-gas | --gas | --ga | --g)
1170
# Obsolete; use --with-gas.
1173
-help | --help | --hel | --he | -h)
1174
ac_init_help=long ;;
1175
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1176
ac_init_help=recursive ;;
1177
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1178
ac_init_help=short ;;
1180
-host | --host | --hos | --ho)
1181
ac_prev=host_alias ;;
1182
-host=* | --host=* | --hos=* | --ho=*)
1183
host_alias=$ac_optarg ;;
1185
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1187
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1189
htmldir=$ac_optarg ;;
1191
-includedir | --includedir | --includedi | --included | --include \
1192
| --includ | --inclu | --incl | --inc)
1193
ac_prev=includedir ;;
1194
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1195
| --includ=* | --inclu=* | --incl=* | --inc=*)
1196
includedir=$ac_optarg ;;
1198
-infodir | --infodir | --infodi | --infod | --info | --inf)
1200
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1201
infodir=$ac_optarg ;;
1203
-libdir | --libdir | --libdi | --libd)
1205
-libdir=* | --libdir=* | --libdi=* | --libd=*)
1206
libdir=$ac_optarg ;;
1208
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1209
| --libexe | --libex | --libe)
1210
ac_prev=libexecdir ;;
1211
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1212
| --libexe=* | --libex=* | --libe=*)
1213
libexecdir=$ac_optarg ;;
1215
-localedir | --localedir | --localedi | --localed | --locale)
1216
ac_prev=localedir ;;
1217
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1218
localedir=$ac_optarg ;;
1220
-localstatedir | --localstatedir | --localstatedi | --localstated \
1221
| --localstate | --localstat | --localsta | --localst | --locals)
1222
ac_prev=localstatedir ;;
1223
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1224
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1225
localstatedir=$ac_optarg ;;
1227
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1229
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1230
mandir=$ac_optarg ;;
1232
-nfp | --nfp | --nf)
1233
# Obsolete; use --without-fp.
1236
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
1237
| --no-cr | --no-c | -n)
1240
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
1241
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1244
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1245
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1246
| --oldin | --oldi | --old | --ol | --o)
1247
ac_prev=oldincludedir ;;
1248
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1249
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1250
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1251
oldincludedir=$ac_optarg ;;
1253
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1255
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1256
prefix=$ac_optarg ;;
1258
-program-prefix | --program-prefix | --program-prefi | --program-pref \
1259
| --program-pre | --program-pr | --program-p)
1260
ac_prev=program_prefix ;;
1261
-program-prefix=* | --program-prefix=* | --program-prefi=* \
1262
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1263
program_prefix=$ac_optarg ;;
1265
-program-suffix | --program-suffix | --program-suffi | --program-suff \
1266
| --program-suf | --program-su | --program-s)
1267
ac_prev=program_suffix ;;
1268
-program-suffix=* | --program-suffix=* | --program-suffi=* \
1269
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1270
program_suffix=$ac_optarg ;;
1272
-program-transform-name | --program-transform-name \
1273
| --program-transform-nam | --program-transform-na \
1274
| --program-transform-n | --program-transform- \
1275
| --program-transform | --program-transfor \
1276
| --program-transfo | --program-transf \
1277
| --program-trans | --program-tran \
1278
| --progr-tra | --program-tr | --program-t)
1279
ac_prev=program_transform_name ;;
1280
-program-transform-name=* | --program-transform-name=* \
1281
| --program-transform-nam=* | --program-transform-na=* \
1282
| --program-transform-n=* | --program-transform-=* \
1283
| --program-transform=* | --program-transfor=* \
1284
| --program-transfo=* | --program-transf=* \
1285
| --program-trans=* | --program-tran=* \
1286
| --progr-tra=* | --program-tr=* | --program-t=*)
1287
program_transform_name=$ac_optarg ;;
1289
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1291
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1292
pdfdir=$ac_optarg ;;
1294
-psdir | --psdir | --psdi | --psd | --ps)
1296
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1299
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1300
| -silent | --silent | --silen | --sile | --sil)
1303
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1305
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1307
sbindir=$ac_optarg ;;
1309
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1310
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1311
| --sharedst | --shareds | --shared | --share | --shar \
1313
ac_prev=sharedstatedir ;;
1314
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1315
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1316
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1318
sharedstatedir=$ac_optarg ;;
1320
-site | --site | --sit)
1322
-site=* | --site=* | --sit=*)
1325
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1327
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1328
srcdir=$ac_optarg ;;
1330
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1331
| --syscon | --sysco | --sysc | --sys | --sy)
1332
ac_prev=sysconfdir ;;
1333
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1334
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1335
sysconfdir=$ac_optarg ;;
1337
-target | --target | --targe | --targ | --tar | --ta | --t)
1338
ac_prev=target_alias ;;
1339
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1340
target_alias=$ac_optarg ;;
1342
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1345
-version | --version | --versio | --versi | --vers | -V)
1346
ac_init_version=: ;;
1349
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1350
# Reject names that are not valid shell variable names.
1351
expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1352
{ echo "$as_me: error: invalid package name: $ac_package" >&2
1353
{ (exit 1); exit 1; }; }
1354
ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1355
eval with_$ac_package=\$ac_optarg ;;
1357
-without-* | --without-*)
1358
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1359
# Reject names that are not valid shell variable names.
1360
expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1361
{ echo "$as_me: error: invalid package name: $ac_package" >&2
1362
{ (exit 1); exit 1; }; }
1363
ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1364
eval with_$ac_package=no ;;
1367
# Obsolete; use --with-x.
1370
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1371
| --x-incl | --x-inc | --x-in | --x-i)
1372
ac_prev=x_includes ;;
1373
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1374
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1375
x_includes=$ac_optarg ;;
1377
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1378
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1379
ac_prev=x_libraries ;;
1380
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1381
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1382
x_libraries=$ac_optarg ;;
1384
-*) { echo "$as_me: error: unrecognized option: $ac_option
1385
Try \`$0 --help' for more information." >&2
1386
{ (exit 1); exit 1; }; }
1390
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1391
# Reject names that are not valid shell variable names.
1392
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1393
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1394
{ (exit 1); exit 1; }; }
1395
eval $ac_envvar=\$ac_optarg
1396
export $ac_envvar ;;
1399
# FIXME: should be removed in autoconf 3.0.
1400
echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1401
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1402
echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1403
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1409
if test -n "$ac_prev"; then
1410
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1411
{ echo "$as_me: error: missing argument to $ac_option" >&2
1412
{ (exit 1); exit 1; }; }
1415
# Be sure to have absolute directory names.
1416
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1417
datadir sysconfdir sharedstatedir localstatedir includedir \
1418
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1419
libdir localedir mandir
1421
eval ac_val=\$$ac_var
1423
[\\/$]* | ?:[\\/]* ) continue;;
1424
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1426
{ echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1427
{ (exit 1); exit 1; }; }
1430
# There might be people who depend on the old broken behavior: `$host'
1431
# used to hold the argument of --host etc.
1432
# FIXME: To remove some day.
1435
target=$target_alias
1437
# FIXME: To remove some day.
1438
if test "x$host_alias" != x; then
1439
if test "x$build_alias" = x; then
1440
cross_compiling=maybe
1441
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1442
If a cross compiler is detected then cross compile mode will be used." >&2
1443
elif test "x$build_alias" != "x$host_alias"; then
1449
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1451
test "$silent" = yes && exec 6>/dev/null
1454
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1455
ac_ls_di=`ls -di .` &&
1456
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1457
{ echo "$as_me: error: Working directory cannot be determined" >&2
1458
{ (exit 1); exit 1; }; }
1459
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1460
{ echo "$as_me: error: pwd does not report name of working directory" >&2
1461
{ (exit 1); exit 1; }; }
1464
# Find the source files, if location was not specified.
1465
if test -z "$srcdir"; then
1466
ac_srcdir_defaulted=yes
1467
# Try the directory containing this script, then the parent directory.
1468
ac_confdir=`$as_dirname -- "$0" ||
1469
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1470
X"$0" : 'X\(//\)[^/]' \| \
1471
X"$0" : 'X\(//\)$' \| \
1472
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1474
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1492
if test ! -r "$srcdir/$ac_unique_file"; then
1496
ac_srcdir_defaulted=no
1498
if test ! -r "$srcdir/$ac_unique_file"; then
1499
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1500
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1501
{ (exit 1); exit 1; }; }
1503
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1505
cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1506
{ (exit 1); exit 1; }; }
1508
# When building in place, set srcdir=.
1509
if test "$ac_abs_confdir" = "$ac_pwd"; then
1512
# Remove unnecessary trailing slashes from srcdir.
1513
# Double slashes in file names in object file debugging info
1514
# mess up M-x gdb in Emacs.
1516
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1518
for ac_var in $ac_precious_vars; do
1519
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1520
eval ac_env_${ac_var}_value=\$${ac_var}
1521
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1522
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1526
# Report the --help message.
1528
if test "$ac_init_help" = "long"; then
1529
# Omit some internal or obsolete options to make the list less imposing.
1530
# This message is too long to be a string in the A/UX 3.1 sh.
1532
\`configure' configures this package to adapt to many kinds of systems.
1534
Usage: $0 [OPTION]... [VAR=VALUE]...
1536
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1537
VAR=VALUE. See below for descriptions of some of the useful variables.
1539
Defaults for the options are specified in brackets.
1542
-h, --help display this help and exit
1543
--help=short display options specific to this package
1544
--help=recursive display the short help of all the included packages
1545
-V, --version display version information and exit
1546
-q, --quiet, --silent do not print \`checking...' messages
1547
--cache-file=FILE cache test results in FILE [disabled]
1548
-C, --config-cache alias for \`--cache-file=config.cache'
1549
-n, --no-create do not create output files
1550
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1552
Installation directories:
1553
--prefix=PREFIX install architecture-independent files in PREFIX
1554
[$ac_default_prefix]
1555
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1558
By default, \`make install' will install all the files in
1559
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1560
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1561
for instance \`--prefix=\$HOME'.
1563
For better control, use the options below.
1565
Fine tuning of the installation directories:
1566
--bindir=DIR user executables [EPREFIX/bin]
1567
--sbindir=DIR system admin executables [EPREFIX/sbin]
1568
--libexecdir=DIR program executables [EPREFIX/libexec]
1569
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1570
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1571
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1572
--libdir=DIR object code libraries [EPREFIX/lib]
1573
--includedir=DIR C header files [PREFIX/include]
1574
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1575
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1576
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1577
--infodir=DIR info documentation [DATAROOTDIR/info]
1578
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1579
--mandir=DIR man documentation [DATAROOTDIR/man]
1580
--docdir=DIR documentation root @<:@DATAROOTDIR/doc/PACKAGE@:>@
1581
--htmldir=DIR html documentation [DOCDIR]
1582
--dvidir=DIR dvi documentation [DOCDIR]
1583
--pdfdir=DIR pdf documentation [DOCDIR]
1584
--psdir=DIR ps documentation [DOCDIR]
1590
--program-prefix=PREFIX prepend PREFIX to installed program names
1591
--program-suffix=SUFFIX append SUFFIX to installed program names
1592
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1595
--build=BUILD configure for building on BUILD [guessed]
1596
--host=HOST cross-compile to build programs to run on HOST [BUILD]
1597
--target=TARGET configure for building compilers for TARGET [HOST]
1601
if test -n "$ac_init_help"; then
1606
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1607
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1608
--disable-fast-perl disable fast Makefile generation (needs perl)
1609
--enable-debug=ARG enables debug symbols (yes|no|full) default=no
1610
--disable-debug disables debug output and debug symbols default=no
1611
--enable-strict compiles with strict compiler options (may not
1613
--disable-warnings disables compilation with -Wall and similar
1614
--enable-profile creates profiling infos default=no
1615
--disable-dependency-tracking speeds up one-time build
1616
--enable-dependency-tracking do not reject slow dependency extractors
1617
--enable-pch enables precompiled header support (currently only
1618
KCC or gcc >=3.4+unsermake) default=no
1619
--enable-coverage use gcc coverage testing
1620
--enable-new-ldflags enable the new linker flags
1621
--enable-final build size optimized apps (experimental - needs lots
1623
--enable-closure delay template instantiation
1624
--enable-nmcheck enable automatic namespace cleanness check
1625
--enable-shared@<:@=PKGS@:>@ build shared libraries @<:@default=yes@:>@
1626
--enable-static@<:@=PKGS@:>@ build static libraries @<:@default=no@:>@
1627
--enable-libsuffix /lib directory suffix (64,32,none=default)
1628
--enable-fast-install@<:@=PKGS@:>@
1629
optimize for fast installation @<:@default=yes@:>@
1630
--disable-libtool-lock avoid locking (might break parallel builds)
1631
--enable-embedded link to Qt-embedded, don't use X
1632
--enable-qtopia link to Qt-embedded, link to the Qtopia Environment
1633
--enable-mac link to Qt/Mac (don't use X)
1634
--disable-mt link to non-threaded Qt (deprecated)
1635
--disable-threading disables threading even if libpthread found
1636
--disable-rpath do not use the rpath feature of ld
1637
--disable-path-check don't try to find out, where to install
1640
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1641
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1642
--with-gnu-ld assume the C compiler uses GNU ld @<:@default=no@:>@
1643
--with-pic try to use only PIC/non-PIC objects @<:@default=use
1645
--with-tags@<:@=TAGS@:>@ include additional configurations @<:@automatic@:>@
1646
--with-extra-includes=DIR
1647
adds non standard include paths
1648
--with-extra-libs=DIR adds non standard library paths
1649
--with-qt-dir=DIR where the root of Qt is installed
1650
--with-qt-includes=DIR where the Qt includes are.
1651
--with-qt-libraries=DIR where the Qt library is installed.
1652
--without-arts build without aRts default=no
1654
Some influential environment variables:
1655
CC C compiler command
1656
CFLAGS C compiler flags
1657
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1658
nonstandard directory <lib dir>
1659
LIBS libraries to pass to the linker, e.g. -l<library>
1660
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1661
you have headers in a nonstandard directory <include dir>
1663
CXX C++ compiler command
1664
CXXFLAGS C++ compiler flags
1665
CXXCPP C++ preprocessor
1666
F77 Fortran 77 compiler command
1667
FFLAGS Fortran 77 compiler flags
1668
XMKMF Path to xmkmf, Makefile generator for X Window System
1670
Use these variables to override the choices made by `configure' or to help
1671
it to find libraries and programs with nonstandard names/locations.
1677
if test "$ac_init_help" = "recursive"; then
1678
# If there are subdirs, report their specific --help.
1679
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1680
test -d "$ac_dir" || continue
1684
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1686
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1687
# A ".." for each directory in $ac_dir_suffix.
1688
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1689
case $ac_top_builddir_sub in
1690
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1691
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1694
ac_abs_top_builddir=$ac_pwd
1695
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1696
# for backward compatibility:
1697
ac_top_builddir=$ac_top_build_prefix
1700
.) # We are building in place.
1702
ac_top_srcdir=$ac_top_builddir_sub
1703
ac_abs_top_srcdir=$ac_pwd ;;
1704
[\\/]* | ?:[\\/]* ) # Absolute name.
1705
ac_srcdir=$srcdir$ac_dir_suffix;
1706
ac_top_srcdir=$srcdir
1707
ac_abs_top_srcdir=$srcdir ;;
1709
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1710
ac_top_srcdir=$ac_top_build_prefix$srcdir
1711
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1713
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1715
cd "$ac_dir" || { ac_status=$?; continue; }
1716
# Check for guested configure.
1717
if test -f "$ac_srcdir/configure.gnu"; then
1719
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1720
elif test -f "$ac_srcdir/configure"; then
1722
$SHELL "$ac_srcdir/configure" --help=recursive
1724
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1726
cd "$ac_pwd" || { ac_status=$?; break; }
1730
test -n "$ac_init_help" && exit $ac_status
1731
if $ac_init_version; then
1734
generated by GNU Autoconf 2.61
1736
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1737
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1738
This configure script is free software; the Free Software Foundation
1739
gives unlimited permission to copy, distribute and modify it.
1743
cat >config.log <<_ACEOF
1744
This file contains any messages produced by compilers while
1745
running configure, to aid debugging if configure makes a mistake.
1747
It was created by $as_me, which was
1748
generated by GNU Autoconf 2.61. Invocation command line was
1756
@%:@@%:@ --------- @%:@@%:@
1757
@%:@@%:@ Platform. @%:@@%:@
1758
@%:@@%:@ --------- @%:@@%:@
1760
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1761
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1762
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1763
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1764
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1766
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1767
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1769
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1770
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1771
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1772
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1773
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1774
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1775
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1779
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1783
test -z "$as_dir" && as_dir=.
1784
echo "PATH: $as_dir"
1793
@%:@@%:@ ----------- @%:@@%:@
1794
@%:@@%:@ Core tests. @%:@@%:@
1795
@%:@@%:@ ----------- @%:@@%:@
1800
# Keep a trace of the command line.
1801
# Strip out --no-create and --no-recursion so they do not pile up.
1802
# Strip out --silent because we don't want to record it for future runs.
1803
# Also quote any args containing shell meta-characters.
1804
# Make two passes to allow for proper duplicate-argument suppression.
1808
ac_must_keep_next=false
1814
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1815
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1816
| -silent | --silent | --silen | --sile | --sil)
1819
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1822
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1824
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1825
if test $ac_must_keep_next = true; then
1826
ac_must_keep_next=false # Got value, back to normal.
1829
*=* | --config-cache | -C | -disable-* | --disable-* \
1830
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1831
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1832
| -with-* | --with-* | -without-* | --without-* | --x)
1833
case "$ac_configure_args0 " in
1834
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1837
-* ) ac_must_keep_next=true ;;
1840
ac_configure_args="$ac_configure_args '$ac_arg'"
1845
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1846
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1848
# When interrupted or exit'd, cleanup temporary files, and complete
1849
# config.log. We remove comments because anyway the quotes in there
1850
# would cause problems or look ugly.
1851
# WARNING: Use '\'' to represent an apostrophe within the trap.
1852
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1853
trap 'exit_status=$?
1854
# Save into config.log some information that might help in debugging.
1859
@%:@@%:@ ---------------- @%:@@%:@
1860
@%:@@%:@ Cache variables. @%:@@%:@
1861
@%:@@%:@ ---------------- @%:@@%:@
1864
# The following way of writing the cache mishandles newlines in values,
1866
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1867
eval ac_val=\$$ac_var
1871
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1872
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1875
_ | IFS | as_nl) ;; #(
1876
*) $as_unset $ac_var ;;
1881
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1882
*${as_nl}ac_space=\ *)
1884
"s/'\''/'\''\\\\'\'''\''/g;
1885
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1888
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1896
@%:@@%:@ ----------------- @%:@@%:@
1897
@%:@@%:@ Output variables. @%:@@%:@
1898
@%:@@%:@ ----------------- @%:@@%:@
1901
for ac_var in $ac_subst_vars
1903
eval ac_val=\$$ac_var
1905
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1907
echo "$ac_var='\''$ac_val'\''"
1911
if test -n "$ac_subst_files"; then
1913
@%:@@%:@ ------------------- @%:@@%:@
1914
@%:@@%:@ File substitutions. @%:@@%:@
1915
@%:@@%:@ ------------------- @%:@@%:@
1918
for ac_var in $ac_subst_files
1920
eval ac_val=\$$ac_var
1922
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1924
echo "$ac_var='\''$ac_val'\''"
1929
if test -s confdefs.h; then
1931
@%:@@%:@ ----------- @%:@@%:@
1932
@%:@@%:@ confdefs.h. @%:@@%:@
1933
@%:@@%:@ ----------- @%:@@%:@
1939
test "$ac_signal" != 0 &&
1940
echo "$as_me: caught signal $ac_signal"
1941
echo "$as_me: exit $exit_status"
1943
rm -f core *.core core.conftest.* &&
1944
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1947
for ac_signal in 1 2 13 15; do
1948
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1952
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1953
rm -f -r conftest* confdefs.h
1955
# Predefined preprocessor variables.
1957
cat >>confdefs.h <<_ACEOF
1958
@%:@define PACKAGE_NAME "$PACKAGE_NAME"
1962
cat >>confdefs.h <<_ACEOF
1963
@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1967
cat >>confdefs.h <<_ACEOF
1968
@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
1972
cat >>confdefs.h <<_ACEOF
1973
@%:@define PACKAGE_STRING "$PACKAGE_STRING"
1977
cat >>confdefs.h <<_ACEOF
1978
@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1982
# Let the site file select an alternate cache file if it wants to.
1983
# Prefer explicitly selected file to automatically selected ones.
1984
if test -n "$CONFIG_SITE"; then
1985
set x "$CONFIG_SITE"
1986
elif test "x$prefix" != xNONE; then
1987
set x "$prefix/share/config.site" "$prefix/etc/config.site"
1989
set x "$ac_default_prefix/share/config.site" \
1990
"$ac_default_prefix/etc/config.site"
1995
if test -r "$ac_site_file"; then
1996
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1997
echo "$as_me: loading site script $ac_site_file" >&6;}
1998
sed 's/^/| /' "$ac_site_file" >&5
2003
if test -r "$cache_file"; then
2004
# Some versions of bash will fail to source /dev/null (special
2005
# files actually), so we avoid doing that.
2006
if test -f "$cache_file"; then
2007
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
2008
echo "$as_me: loading cache $cache_file" >&6;}
2010
[\\/]* | ?:[\\/]* ) . "$cache_file";;
2011
*) . "./$cache_file";;
2015
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
2016
echo "$as_me: creating cache $cache_file" >&6;}
2020
# Check that the precious variables saved in the cache have kept the same
2022
ac_cache_corrupted=false
2023
for ac_var in $ac_precious_vars; do
2024
eval ac_old_set=\$ac_cv_env_${ac_var}_set
2025
eval ac_new_set=\$ac_env_${ac_var}_set
2026
eval ac_old_val=\$ac_cv_env_${ac_var}_value
2027
eval ac_new_val=\$ac_env_${ac_var}_value
2028
case $ac_old_set,$ac_new_set in
2030
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2031
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2032
ac_cache_corrupted=: ;;
2034
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2035
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2036
ac_cache_corrupted=: ;;
2039
if test "x$ac_old_val" != "x$ac_new_val"; then
2040
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2041
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2042
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2043
echo "$as_me: former value: $ac_old_val" >&2;}
2044
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2045
echo "$as_me: current value: $ac_new_val" >&2;}
2046
ac_cache_corrupted=:
2049
# Pass precious variables to config.status.
2050
if test "$ac_new_set" = set; then
2052
*\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2053
*) ac_arg=$ac_var=$ac_new_val ;;
2055
case " $ac_configure_args " in
2056
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2057
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2061
if $ac_cache_corrupted; then
2062
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2063
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2064
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2065
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2066
{ (exit 1); exit 1; }; }
2086
ac_cpp='$CPP $CPPFLAGS'
2087
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2088
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2089
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2093
for ac_dir in admin "$srcdir"/admin; do
2094
if test -f "$ac_dir/install-sh"; then
2096
ac_install_sh="$ac_aux_dir/install-sh -c"
2098
elif test -f "$ac_dir/install.sh"; then
2100
ac_install_sh="$ac_aux_dir/install.sh -c"
2102
elif test -f "$ac_dir/shtool"; then
2104
ac_install_sh="$ac_aux_dir/shtool install -c"
2108
if test -z "$ac_aux_dir"; then
2109
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in admin \"$srcdir\"/admin" >&5
2110
echo "$as_me: error: cannot find install-sh or install.sh in admin \"$srcdir\"/admin" >&2;}
2111
{ (exit 1); exit 1; }; }
2114
# These three variables are undocumented and unsupported,
2115
# and are intended to be withdrawn in a future Autoconf release.
2116
# They can cause serious problems if a builder's source tree is in a directory
2117
# whose full name contains unusual characters.
2118
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2119
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2120
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2126
# Make sure we can run config.sub.
2127
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2128
{ { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2129
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2130
{ (exit 1); exit 1; }; }
2132
{ echo "$as_me:$LINENO: checking build system type" >&5
2133
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2134
if test "${ac_cv_build+set}" = set; then
2135
echo $ECHO_N "(cached) $ECHO_C" >&6
2137
ac_build_alias=$build_alias
2138
test "x$ac_build_alias" = x &&
2139
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2140
test "x$ac_build_alias" = x &&
2141
{ { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2142
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2143
{ (exit 1); exit 1; }; }
2144
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2145
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2146
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2147
{ (exit 1); exit 1; }; }
2150
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2151
echo "${ECHO_T}$ac_cv_build" >&6; }
2152
case $ac_cv_build in
2154
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2155
echo "$as_me: error: invalid value of canonical build" >&2;}
2156
{ (exit 1); exit 1; }; };;
2159
ac_save_IFS=$IFS; IFS='-'
2165
# Remember, the first character of IFS is used to create $*,
2166
# except with old shells:
2169
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2172
{ echo "$as_me:$LINENO: checking host system type" >&5
2173
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2174
if test "${ac_cv_host+set}" = set; then
2175
echo $ECHO_N "(cached) $ECHO_C" >&6
2177
if test "x$host_alias" = x; then
2178
ac_cv_host=$ac_cv_build
2180
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2181
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2182
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2183
{ (exit 1); exit 1; }; }
2187
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2188
echo "${ECHO_T}$ac_cv_host" >&6; }
2191
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2192
echo "$as_me: error: invalid value of canonical host" >&2;}
2193
{ (exit 1); exit 1; }; };;
2196
ac_save_IFS=$IFS; IFS='-'
2202
# Remember, the first character of IFS is used to create $*,
2203
# except with old shells:
2206
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2209
{ echo "$as_me:$LINENO: checking target system type" >&5
2210
echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2211
if test "${ac_cv_target+set}" = set; then
2212
echo $ECHO_N "(cached) $ECHO_C" >&6
2214
if test "x$target_alias" = x; then
2215
ac_cv_target=$ac_cv_host
2217
ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2218
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2219
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2220
{ (exit 1); exit 1; }; }
2224
{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2225
echo "${ECHO_T}$ac_cv_target" >&6; }
2226
case $ac_cv_target in
2228
*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2229
echo "$as_me: error: invalid value of canonical target" >&2;}
2230
{ (exit 1); exit 1; }; };;
2232
target=$ac_cv_target
2233
ac_save_IFS=$IFS; IFS='-'
2239
# Remember, the first character of IFS is used to create $*,
2240
# except with old shells:
2243
case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2246
# The aliases save the names the user supplied, while $host etc.
2247
# will get canonicalized.
2248
test -n "$target_alias" &&
2249
test "$program_prefix$program_suffix$program_transform_name" = \
2251
program_prefix=${target_alias}-
2252
test "$program_prefix" != NONE &&
2253
program_transform_name="s&^&$program_prefix&;$program_transform_name"
2254
# Use a double $ so make ignores it.
2255
test "$program_suffix" != NONE &&
2256
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2257
# Double any \ or $. echo might interpret backslashes.
2258
# By default was `s,x,x', remove it if useless.
2259
cat <<\_ACEOF >conftest.sed
2260
s/[\\$]/&&/g;s/;s,x,x,$//
2262
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2266
am__api_version='1.10'
2270
test -n "$INSTALL" && kde_save_INSTALL_given=$INSTALL
2271
test -n "$INSTALL_PROGRAM" && kde_save_INSTALL_PROGRAM_given=$INSTALL_PROGRAM
2272
test -n "$INSTALL_SCRIPT" && kde_save_INSTALL_SCRIPT_given=$INSTALL_SCRIPT
2273
# Find a good install program. We prefer a C program (faster),
2274
# so one script is as good as another. But avoid the broken or
2275
# incompatible versions:
2276
# SysV /etc/install, /usr/sbin/install
2277
# SunOS /usr/etc/install
2278
# IRIX /sbin/install
2280
# AmigaOS /C/install, which installs bootblocks on floppy discs
2281
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2282
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2283
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2284
# OS/2's system install, which has a completely different semantic
2285
# ./install, which can be erroneously created by make from ./install.sh.
2286
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2287
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2288
if test -z "$INSTALL"; then
2289
if test "${ac_cv_path_install+set}" = set; then
2290
echo $ECHO_N "(cached) $ECHO_C" >&6
2292
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2296
test -z "$as_dir" && as_dir=.
2297
# Account for people who put trailing slashes in PATH elements.
2299
./ | .// | /cC/* | \
2300
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2301
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2304
# OSF1 and SCO ODT 3.0 have their own names for install.
2305
# Don't use installbsd from OSF since it installs stuff as root
2307
for ac_prog in ginstall scoinst install; do
2308
for ac_exec_ext in '' $ac_executable_extensions; do
2309
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2310
if test $ac_prog = install &&
2311
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2312
# AIX install. It has an incompatible calling convention.
2314
elif test $ac_prog = install &&
2315
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2316
# program-specific install script used by HP pwplus--don't use.
2319
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2332
if test "${ac_cv_path_install+set}" = set; then
2333
INSTALL=$ac_cv_path_install
2335
# As a last resort, use the slow shell script. Don't cache a
2336
# value for INSTALL within a source directory, because that will
2337
# break other packages using the cache if that directory is
2338
# removed, or if the value is a relative name.
2339
INSTALL=$ac_install_sh
2342
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
2343
echo "${ECHO_T}$INSTALL" >&6; }
2345
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2346
# It thinks the first close brace ends the variable substitution.
2347
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2349
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2351
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2354
if test -z "$kde_save_INSTALL_given" ; then
2355
# OK, user hasn't given any INSTALL, autoconf found one for us
2356
# now we test, if it supports the -p flag
2357
{ echo "$as_me:$LINENO: checking for -p flag to install" >&5
2358
echo $ECHO_N "checking for -p flag to install... $ECHO_C" >&6; }
2359
rm -f confinst.$$.* > /dev/null 2>&1
2360
echo "Testtest" > confinst.$$.orig
2362
if ${INSTALL} -p confinst.$$.orig confinst.$$.new > /dev/null 2>&1 ; then
2363
if test -f confinst.$$.new ; then
2364
# OK, -p seems to do no harm to install
2365
INSTALL="${INSTALL} -p"
2370
{ echo "$as_me:$LINENO: result: $ac_res" >&5
2371
echo "${ECHO_T}$ac_res" >&6; }
2374
if test -z "$kde_save_INSTALL_PROGRAM_given" ; then
2375
INSTALL_PROGRAM='${INSTALL} $(INSTALL_STRIP_FLAG)'
2377
if test -z "$kde_save_INSTALL_SCRIPT_given" ; then
2378
INSTALL_SCRIPT='${INSTALL}'
2381
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2382
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2385
echo timestamp > conftest.file
2386
# Do `set' in a subshell so we don't clobber the current shell's
2387
# arguments. Must try -L first in case configure is actually a
2388
# symlink; some systems play weird games with the mod time of symlinks
2389
# (eg FreeBSD returns the mod time of the symlink's containing
2392
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2393
if test "$*" = "X"; then
2395
set X `ls -t $srcdir/configure conftest.file`
2398
if test "$*" != "X $srcdir/configure conftest.file" \
2399
&& test "$*" != "X conftest.file $srcdir/configure"; then
2401
# If neither matched, then we have a broken ls. This can happen
2402
# if, for instance, CONFIG_SHELL is bash and it inherits a
2403
# broken ls alias from the environment. This has actually
2404
# happened. Such a system could not be considered "sane".
2405
{ { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2406
alias in your environment" >&5
2407
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2408
alias in your environment" >&2;}
2409
{ (exit 1); exit 1; }; }
2412
test "$2" = conftest.file
2418
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2419
Check your system clock" >&5
2420
echo "$as_me: error: newly created file is older than distributed files!
2421
Check your system clock" >&2;}
2422
{ (exit 1); exit 1; }; }
2424
{ echo "$as_me:$LINENO: result: yes" >&5
2425
echo "${ECHO_T}yes" >&6; }
2426
# expand $ac_aux_dir to an absolute path
2427
am_aux_dir=`cd $ac_aux_dir && pwd`
2429
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2430
# Use eval to expand $SHELL
2431
if eval "$MISSING --run true"; then
2432
am_missing_run="$MISSING --run "
2435
{ echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2436
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2439
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2440
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2441
if test -z "$MKDIR_P"; then
2442
if test "${ac_cv_path_mkdir+set}" = set; then
2443
echo $ECHO_N "(cached) $ECHO_C" >&6
2445
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2446
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2449
test -z "$as_dir" && as_dir=.
2450
for ac_prog in mkdir gmkdir; do
2451
for ac_exec_ext in '' $ac_executable_extensions; do
2452
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2453
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2454
'mkdir (GNU coreutils) '* | \
2455
'mkdir (coreutils) '* | \
2456
'mkdir (fileutils) '4.1*)
2457
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2467
if test "${ac_cv_path_mkdir+set}" = set; then
2468
MKDIR_P="$ac_cv_path_mkdir -p"
2470
# As a last resort, use the slow shell script. Don't cache a
2471
# value for MKDIR_P within a source directory, because that will
2472
# break other packages using the cache if that directory is
2473
# removed, or if the value is a relative name.
2474
test -d ./--version && rmdir ./--version
2475
MKDIR_P="$ac_install_sh -d"
2478
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2479
echo "${ECHO_T}$MKDIR_P" >&6; }
2483
[\\/$]* | ?:[\\/]*) ;;
2484
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2487
for ac_prog in gawk mawk nawk awk
2489
# Extract the first word of "$ac_prog", so it can be a program name with args.
2490
set dummy $ac_prog; ac_word=$2
2491
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2492
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2493
if test "${ac_cv_prog_AWK+set}" = set; then
2494
echo $ECHO_N "(cached) $ECHO_C" >&6
2496
if test -n "$AWK"; then
2497
ac_cv_prog_AWK="$AWK" # Let the user override the test.
2499
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2503
test -z "$as_dir" && as_dir=.
2504
for ac_exec_ext in '' $ac_executable_extensions; do
2505
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2506
ac_cv_prog_AWK="$ac_prog"
2507
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2517
if test -n "$AWK"; then
2518
{ echo "$as_me:$LINENO: result: $AWK" >&5
2519
echo "${ECHO_T}$AWK" >&6; }
2521
{ echo "$as_me:$LINENO: result: no" >&5
2522
echo "${ECHO_T}no" >&6; }
2526
test -n "$AWK" && break
2529
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2530
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2531
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2532
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2533
echo $ECHO_N "(cached) $ECHO_C" >&6
2535
cat >conftest.make <<\_ACEOF
2538
@echo '@@@%%%=$(MAKE)=@@@%%%'
2540
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2541
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2543
eval ac_cv_prog_make_${ac_make}_set=yes;;
2545
eval ac_cv_prog_make_${ac_make}_set=no;;
2549
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2550
{ echo "$as_me:$LINENO: result: yes" >&5
2551
echo "${ECHO_T}yes" >&6; }
2554
{ echo "$as_me:$LINENO: result: no" >&5
2555
echo "${ECHO_T}no" >&6; }
2556
SET_MAKE="MAKE=${MAKE-make}"
2559
rm -rf .tst 2>/dev/null
2560
mkdir .tst 2>/dev/null
2561
if test -d .tst; then
2566
rmdir .tst 2>/dev/null
2568
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2569
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2570
# is not polluted with repeated "-I."
2571
am__isrc=' -I$(srcdir)'
2572
# test to see if srcdir already configured
2573
if test -f $srcdir/config.status; then
2574
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2575
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2576
{ (exit 1); exit 1; }; }
2580
# test whether we have cygpath
2581
if test -z "$CYGPATH_W"; then
2582
if (cygpath --version) >/dev/null 2>/dev/null; then
2583
CYGPATH_W='cygpath -w'
2590
# Define the identity of the package.
2595
cat >>confdefs.h <<_ACEOF
2596
@%:@define PACKAGE "$PACKAGE"
2600
cat >>confdefs.h <<_ACEOF
2601
@%:@define VERSION "$VERSION"
2604
# Some tools Automake needs.
2606
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2609
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2612
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2615
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2618
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2620
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2622
# Installed binaries are usually stripped using `strip' when the user
2623
# run `make install-strip'. However `strip' might not be the right
2624
# tool to use in cross-compilation environments, therefore Automake
2625
# will honor the `STRIP' environment variable to overrule this program.
2626
if test "$cross_compiling" != no; then
2627
if test -n "$ac_tool_prefix"; then
2628
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2629
set dummy ${ac_tool_prefix}strip; ac_word=$2
2630
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2631
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2632
if test "${ac_cv_prog_STRIP+set}" = set; then
2633
echo $ECHO_N "(cached) $ECHO_C" >&6
2635
if test -n "$STRIP"; then
2636
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2638
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2642
test -z "$as_dir" && as_dir=.
2643
for ac_exec_ext in '' $ac_executable_extensions; do
2644
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2645
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2646
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2655
STRIP=$ac_cv_prog_STRIP
2656
if test -n "$STRIP"; then
2657
{ echo "$as_me:$LINENO: result: $STRIP" >&5
2658
echo "${ECHO_T}$STRIP" >&6; }
2660
{ echo "$as_me:$LINENO: result: no" >&5
2661
echo "${ECHO_T}no" >&6; }
2666
if test -z "$ac_cv_prog_STRIP"; then
2668
# Extract the first word of "strip", so it can be a program name with args.
2669
set dummy strip; ac_word=$2
2670
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2671
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2672
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2673
echo $ECHO_N "(cached) $ECHO_C" >&6
2675
if test -n "$ac_ct_STRIP"; then
2676
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2678
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2682
test -z "$as_dir" && as_dir=.
2683
for ac_exec_ext in '' $ac_executable_extensions; do
2684
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2685
ac_cv_prog_ac_ct_STRIP="strip"
2686
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2695
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2696
if test -n "$ac_ct_STRIP"; then
2697
{ echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2698
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2700
{ echo "$as_me:$LINENO: result: no" >&5
2701
echo "${ECHO_T}no" >&6; }
2704
if test "x$ac_ct_STRIP" = x; then
2707
case $cross_compiling:$ac_tool_warned in
2709
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2710
whose name does not start with the host triplet. If you think this
2711
configuration is useful to you, please write to autoconf@gnu.org." >&5
2712
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2713
whose name does not start with the host triplet. If you think this
2714
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2715
ac_tool_warned=yes ;;
2720
STRIP="$ac_cv_prog_STRIP"
2724
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2726
# We need awk for the "check" target. The system "awk" is bad on
2728
# Always define AMTAR for backward compatibility.
2730
AMTAR=${AMTAR-"${am_missing_run}tar"}
2732
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2743
kde_default_bindirs="/usr/bin /usr/local/bin /opt/local/bin /usr/X11R6/bin /opt/kde/bin /opt/kde3/bin /usr/kde/bin /usr/local/kde/bin"
2744
test -n "$KDEDIR" && kde_default_bindirs="$KDEDIR/bin $kde_default_bindirs"
2745
if test -n "$KDEDIRS"; then
2748
for dir in $KDEDIRS; do
2749
kde_default_bindirs="$dir/bin $kde_default_bindirs "
2754
if test "x$prefix" = "xNONE"; then
2756
{ echo "$as_me:$LINENO: checking for kde-config" >&5
2757
echo $ECHO_N "checking for kde-config... $ECHO_C" >&6; }
2758
if test -n "$KDECONFIG"; then
2759
kde_cv_path="$KDECONFIG";
2761
kde_cache=`echo kde-config | sed 'y%./+-%__p_%'`
2763
if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
2764
echo $ECHO_N "(cached) $ECHO_C" >&6
2771
for dir in $PATH; do
2774
if test -z "prepend"; then dirs="$kde_default_bindirs $dirs"
2775
else dirs="$dirs $kde_default_bindirs"
2779
for dir in $dirs; do
2780
if test -x "$dir/kde-config"; then
2783
evalstr="$dir/kde-config 2>&1 "
2784
if eval $evalstr; then
2785
kde_cv_path="$dir/kde-config"
2789
kde_cv_path="$dir/kde-config"
2795
eval "kde_cv_path_$kde_cache=$kde_cv_path"
2801
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
2805
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
2806
{ echo "$as_me:$LINENO: result: not found" >&5
2807
echo "${ECHO_T}not found" >&6; }
2809
{ { echo "$as_me:$LINENO: error: The important program kde-config was not found!
2810
Please check whether you installed KDE correctly.
2812
echo "$as_me: error: The important program kde-config was not found!
2813
Please check whether you installed KDE correctly.
2815
{ (exit 1); exit 1; }; }
2818
{ echo "$as_me:$LINENO: result: $kde_cv_path" >&5
2819
echo "${ECHO_T}$kde_cv_path" >&6; }
2820
KDECONFIG=$kde_cv_path
2825
kde_save_PATH="$PATH"
2826
PATH="$exec_prefix/bin:$prefix/bin:$PATH"
2828
{ echo "$as_me:$LINENO: checking for kde-config" >&5
2829
echo $ECHO_N "checking for kde-config... $ECHO_C" >&6; }
2830
if test -n "$KDECONFIG"; then
2831
kde_cv_path="$KDECONFIG";
2833
kde_cache=`echo kde-config | sed 'y%./+-%__p_%'`
2835
if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
2836
echo $ECHO_N "(cached) $ECHO_C" >&6
2843
for dir in $PATH; do
2846
if test -z "prepend"; then dirs="$kde_default_bindirs $dirs"
2847
else dirs="$dirs $kde_default_bindirs"
2851
for dir in $dirs; do
2852
if test -x "$dir/kde-config"; then
2855
evalstr="$dir/kde-config 2>&1 "
2856
if eval $evalstr; then
2857
kde_cv_path="$dir/kde-config"
2861
kde_cv_path="$dir/kde-config"
2867
eval "kde_cv_path_$kde_cache=$kde_cv_path"
2873
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
2877
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
2878
{ echo "$as_me:$LINENO: result: not found" >&5
2879
echo "${ECHO_T}not found" >&6; }
2881
{ { echo "$as_me:$LINENO: error: The important program kde-config was not found!
2882
Please check whether you installed KDE correctly.
2884
echo "$as_me: error: The important program kde-config was not found!
2885
Please check whether you installed KDE correctly.
2887
{ (exit 1); exit 1; }; }
2890
{ echo "$as_me:$LINENO: result: $kde_cv_path" >&5
2891
echo "${ECHO_T}$kde_cv_path" >&6; }
2892
KDECONFIG=$kde_cv_path
2896
PATH="$kde_save_PATH"
2899
kde_libs_prefix=`$KDECONFIG --prefix`
2900
if test -z "$kde_libs_prefix" || test ! -x "$kde_libs_prefix"; then
2901
{ { echo "$as_me:$LINENO: error: $KDECONFIG --prefix outputed the non existant prefix '$kde_libs_prefix' for kdelibs.
2902
This means it has been moved since you installed it.
2903
This won't work. Please recompile kdelibs for the new prefix.
2905
echo "$as_me: error: $KDECONFIG --prefix outputed the non existant prefix '$kde_libs_prefix' for kdelibs.
2906
This means it has been moved since you installed it.
2907
This won't work. Please recompile kdelibs for the new prefix.
2909
{ (exit 1); exit 1; }; }
2911
kde_libs_htmldir=`$KDECONFIG --install html --expandvars`
2912
kde_libs_suffix=`$KDECONFIG --libsuffix`
2914
{ echo "$as_me:$LINENO: checking where to install" >&5
2915
echo $ECHO_N "checking where to install... $ECHO_C" >&6; }
2916
if test "x$prefix" = "xNONE"; then
2917
prefix=$kde_libs_prefix
2918
{ echo "$as_me:$LINENO: result: $prefix (as returned by kde-config)" >&5
2919
echo "${ECHO_T}$prefix (as returned by kde-config)" >&6; }
2921
given_prefix=$prefix
2922
{ echo "$as_me:$LINENO: result: $prefix (as requested)" >&5
2923
echo "${ECHO_T}$prefix (as requested)" >&6; }
2926
# And delete superfluous '/' to make compares easier
2927
prefix=`echo "$prefix" | sed 's,//*,/,g' | sed -e 's,/$,,'`
2928
exec_prefix=`echo "$exec_prefix" | sed 's,//*,/,g' | sed -e 's,/$,,'`
2929
given_prefix=`echo "$given_prefix" | sed 's,//*,/,g' | sed -e 's,/$,,'`
2936
# Check whether --enable-fast-perl was given.
2937
if test "${enable_fast_perl+set}" = set; then
2938
enableval=$enable_fast_perl; with_fast_perl=$enableval
2946
if test -f $srcdir/configure.files ; then
2947
val=`sed -e 's%^%\$(top_srcdir)/%' $srcdir/configure.files`
2950
if test -n "$val" ; then
2952
CONF_FILES="$CONF_FILES $i"
2959
ac_config_headers="$ac_config_headers config.h"
2961
DEPDIR="${am__leading_dot}deps"
2963
ac_config_commands="$ac_config_commands depfiles"
2966
am_make=${MAKE-make}
2967
cat > confinc << 'END'
2972
# If we don't find an include directive, just comment out the code.
2973
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2974
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2978
# First try GNU make style include.
2979
echo "include confinc" > confmf
2980
# We grep out `Entering directory' and `Leaving directory'
2981
# messages which can occur if `w' ends up in MAKEFLAGS.
2982
# In particular we don't look at `^make:' because GNU make might
2983
# be invoked under some other name (usually "gmake"), in which
2984
# case it prints its new name instead of `make'.
2985
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2990
# Now try BSD make style include.
2991
if test "$am__include" = "#"; then
2992
echo '.include "confinc"' > confmf
2993
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2994
am__include=.include
3001
{ echo "$as_me:$LINENO: result: $_am_result" >&5
3002
echo "${ECHO_T}$_am_result" >&6; }
3003
rm -f confinc confmf
3005
# Check whether --enable-dependency-tracking was given.
3006
if test "${enable_dependency_tracking+set}" = set; then
3007
enableval=$enable_dependency_tracking;
3010
if test "x$enable_dependency_tracking" != xno; then
3011
am_depcomp="$ac_aux_dir/depcomp"
3014
if test "x$enable_dependency_tracking" != xno; then
3026
# Check whether --enable-debug was given.
3027
if test "${enable_debug+set}" = set; then
3028
enableval=$enable_debug;
3031
kde_use_debug_code="yes"
3032
kde_use_debug_define=no
3035
kde_use_debug_code="full"
3036
kde_use_debug_define=no
3039
kde_use_debug_code="no"
3040
kde_use_debug_define=yes
3045
kde_use_debug_code="no"
3046
kde_use_debug_define=no
3051
# Check whether --enable-dummyoption was given.
3052
if test "${enable_dummyoption+set}" = set; then
3053
enableval=$enable_dummyoption;
3057
# Check whether --enable-strict was given.
3058
if test "${enable_strict+set}" = set; then
3059
enableval=$enable_strict;
3060
if test $enableval = "no"; then
3061
kde_use_strict_options="no"
3063
kde_use_strict_options="yes"
3067
kde_use_strict_options="no"
3071
# Check whether --enable-warnings was given.
3072
if test "${enable_warnings+set}" = set; then
3073
enableval=$enable_warnings;
3074
if test $enableval = "no"; then
3075
kde_use_warnings="no"
3077
kde_use_warnings="yes"
3081
kde_use_warnings="yes"
3085
if test "$kde_use_debug_code" != "no"; then
3086
kde_use_warnings=yes
3089
# Check whether --enable-profile was given.
3090
if test "${enable_profile+set}" = set; then
3091
enableval=$enable_profile; kde_use_profiling=$enableval
3093
kde_use_profiling="no"
3101
ac_cpp='$CPP $CPPFLAGS'
3102
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3103
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3104
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3105
if test -n "$ac_tool_prefix"; then
3106
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3107
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3108
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3109
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3110
if test "${ac_cv_prog_CC+set}" = set; then
3111
echo $ECHO_N "(cached) $ECHO_C" >&6
3113
if test -n "$CC"; then
3114
ac_cv_prog_CC="$CC" # Let the user override the test.
3116
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3120
test -z "$as_dir" && as_dir=.
3121
for ac_exec_ext in '' $ac_executable_extensions; do
3122
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3123
ac_cv_prog_CC="${ac_tool_prefix}gcc"
3124
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3134
if test -n "$CC"; then
3135
{ echo "$as_me:$LINENO: result: $CC" >&5
3136
echo "${ECHO_T}$CC" >&6; }
3138
{ echo "$as_me:$LINENO: result: no" >&5
3139
echo "${ECHO_T}no" >&6; }
3144
if test -z "$ac_cv_prog_CC"; then
3146
# Extract the first word of "gcc", so it can be a program name with args.
3147
set dummy gcc; ac_word=$2
3148
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3149
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3150
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3151
echo $ECHO_N "(cached) $ECHO_C" >&6
3153
if test -n "$ac_ct_CC"; then
3154
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3156
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3160
test -z "$as_dir" && as_dir=.
3161
for ac_exec_ext in '' $ac_executable_extensions; do
3162
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3163
ac_cv_prog_ac_ct_CC="gcc"
3164
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3173
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3174
if test -n "$ac_ct_CC"; then
3175
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3176
echo "${ECHO_T}$ac_ct_CC" >&6; }
3178
{ echo "$as_me:$LINENO: result: no" >&5
3179
echo "${ECHO_T}no" >&6; }
3182
if test "x$ac_ct_CC" = x; then
3185
case $cross_compiling:$ac_tool_warned in
3187
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3188
whose name does not start with the host triplet. If you think this
3189
configuration is useful to you, please write to autoconf@gnu.org." >&5
3190
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3191
whose name does not start with the host triplet. If you think this
3192
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3193
ac_tool_warned=yes ;;
3201
if test -z "$CC"; then
3202
if test -n "$ac_tool_prefix"; then
3203
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3204
set dummy ${ac_tool_prefix}cc; ac_word=$2
3205
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3206
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3207
if test "${ac_cv_prog_CC+set}" = set; then
3208
echo $ECHO_N "(cached) $ECHO_C" >&6
3210
if test -n "$CC"; then
3211
ac_cv_prog_CC="$CC" # Let the user override the test.
3213
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3217
test -z "$as_dir" && as_dir=.
3218
for ac_exec_ext in '' $ac_executable_extensions; do
3219
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3220
ac_cv_prog_CC="${ac_tool_prefix}cc"
3221
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3231
if test -n "$CC"; then
3232
{ echo "$as_me:$LINENO: result: $CC" >&5
3233
echo "${ECHO_T}$CC" >&6; }
3235
{ echo "$as_me:$LINENO: result: no" >&5
3236
echo "${ECHO_T}no" >&6; }
3242
if test -z "$CC"; then
3243
# Extract the first word of "cc", so it can be a program name with args.
3244
set dummy cc; ac_word=$2
3245
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3246
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3247
if test "${ac_cv_prog_CC+set}" = set; then
3248
echo $ECHO_N "(cached) $ECHO_C" >&6
3250
if test -n "$CC"; then
3251
ac_cv_prog_CC="$CC" # Let the user override the test.
3254
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3258
test -z "$as_dir" && as_dir=.
3259
for ac_exec_ext in '' $ac_executable_extensions; do
3260
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3261
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3262
ac_prog_rejected=yes
3266
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3273
if test $ac_prog_rejected = yes; then
3274
# We found a bogon in the path, so make sure we never use it.
3275
set dummy $ac_cv_prog_CC
3277
if test $@%:@ != 0; then
3278
# We chose a different compiler from the bogus one.
3279
# However, it has the same basename, so the bogon will be chosen
3280
# first if we set CC to just the basename; use the full file name.
3282
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3288
if test -n "$CC"; then
3289
{ echo "$as_me:$LINENO: result: $CC" >&5
3290
echo "${ECHO_T}$CC" >&6; }
3292
{ echo "$as_me:$LINENO: result: no" >&5
3293
echo "${ECHO_T}no" >&6; }
3298
if test -z "$CC"; then
3299
if test -n "$ac_tool_prefix"; then
3300
for ac_prog in cl.exe
3302
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3303
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3304
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3305
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3306
if test "${ac_cv_prog_CC+set}" = set; then
3307
echo $ECHO_N "(cached) $ECHO_C" >&6
3309
if test -n "$CC"; then
3310
ac_cv_prog_CC="$CC" # Let the user override the test.
3312
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3316
test -z "$as_dir" && as_dir=.
3317
for ac_exec_ext in '' $ac_executable_extensions; do
3318
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3319
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3320
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3330
if test -n "$CC"; then
3331
{ echo "$as_me:$LINENO: result: $CC" >&5
3332
echo "${ECHO_T}$CC" >&6; }
3334
{ echo "$as_me:$LINENO: result: no" >&5
3335
echo "${ECHO_T}no" >&6; }
3339
test -n "$CC" && break
3342
if test -z "$CC"; then
3344
for ac_prog in cl.exe
3346
# Extract the first word of "$ac_prog", so it can be a program name with args.
3347
set dummy $ac_prog; ac_word=$2
3348
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3349
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3350
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3351
echo $ECHO_N "(cached) $ECHO_C" >&6
3353
if test -n "$ac_ct_CC"; then
3354
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3356
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3360
test -z "$as_dir" && as_dir=.
3361
for ac_exec_ext in '' $ac_executable_extensions; do
3362
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3363
ac_cv_prog_ac_ct_CC="$ac_prog"
3364
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3373
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3374
if test -n "$ac_ct_CC"; then
3375
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3376
echo "${ECHO_T}$ac_ct_CC" >&6; }
3378
{ echo "$as_me:$LINENO: result: no" >&5
3379
echo "${ECHO_T}no" >&6; }
3383
test -n "$ac_ct_CC" && break
3386
if test "x$ac_ct_CC" = x; then
3389
case $cross_compiling:$ac_tool_warned in
3391
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3392
whose name does not start with the host triplet. If you think this
3393
configuration is useful to you, please write to autoconf@gnu.org." >&5
3394
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3395
whose name does not start with the host triplet. If you think this
3396
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3397
ac_tool_warned=yes ;;
3406
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3407
See \`config.log' for more details." >&5
3408
echo "$as_me: error: no acceptable C compiler found in \$PATH
3409
See \`config.log' for more details." >&2;}
3410
{ (exit 1); exit 1; }; }
3412
# Provide some information about the compiler.
3413
echo "$as_me:$LINENO: checking for C compiler version" >&5
3414
ac_compiler=`set X $ac_compile; echo $2`
3415
{ (ac_try="$ac_compiler --version >&5"
3417
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3418
*) ac_try_echo=$ac_try;;
3420
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3421
(eval "$ac_compiler --version >&5") 2>&5
3423
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3424
(exit $ac_status); }
3425
{ (ac_try="$ac_compiler -v >&5"
3427
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3428
*) ac_try_echo=$ac_try;;
3430
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3431
(eval "$ac_compiler -v >&5") 2>&5
3433
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3434
(exit $ac_status); }
3435
{ (ac_try="$ac_compiler -V >&5"
3437
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3438
*) ac_try_echo=$ac_try;;
3440
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3441
(eval "$ac_compiler -V >&5") 2>&5
3443
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3444
(exit $ac_status); }
3446
cat >conftest.$ac_ext <<_ACEOF
3449
cat confdefs.h >>conftest.$ac_ext
3450
cat >>conftest.$ac_ext <<_ACEOF
3451
/* end confdefs.h. */
3461
ac_clean_files_save=$ac_clean_files
3462
ac_clean_files="$ac_clean_files a.out a.exe b.out"
3463
# Try to create an executable without -o first, disregard a.out.
3464
# It will help us diagnose broken compilers, and finding out an intuition
3466
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3467
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
3468
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3470
# List of possible output files, starting from the most likely.
3471
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
3472
# only as a last resort. b.out is created by i960 compilers.
3473
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
3475
# The IRIX 6 linker writes into existing files which may not be
3476
# executable, retaining their permissions. Remove them first so a
3477
# subsequent execution test works.
3479
for ac_file in $ac_files
3482
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3483
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
3488
if { (ac_try="$ac_link_default"
3490
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3491
*) ac_try_echo=$ac_try;;
3493
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3494
(eval "$ac_link_default") 2>&5
3496
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3497
(exit $ac_status); }; then
3498
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3499
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3500
# in a Makefile. We should not override ac_cv_exeext if it was cached,
3501
# so that the user can short-circuit this test for compilers unknown to
3503
for ac_file in $ac_files ''
3505
test -f "$ac_file" || continue
3507
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
3510
# We found the default executable, but exeext='' is most
3514
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3516
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3518
# We set ac_cv_exeext here because the later test for it is not
3519
# safe: cross compilers may not add the suffix if given an `-o'
3520
# argument, so we may need to know it at that point already.
3521
# Even if this section looks crufty: it has the advantage of
3528
test "$ac_cv_exeext" = no && ac_cv_exeext=
3534
{ echo "$as_me:$LINENO: result: $ac_file" >&5
3535
echo "${ECHO_T}$ac_file" >&6; }
3536
if test -z "$ac_file"; then
3537
echo "$as_me: failed program was:" >&5
3538
sed 's/^/| /' conftest.$ac_ext >&5
3540
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
3541
See \`config.log' for more details." >&5
3542
echo "$as_me: error: C compiler cannot create executables
3543
See \`config.log' for more details." >&2;}
3544
{ (exit 77); exit 77; }; }
3547
ac_exeext=$ac_cv_exeext
3549
# Check that the compiler produces executables we can run. If not, either
3550
# the compiler is broken, or we cross compile.
3551
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3552
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3553
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3554
# If not cross compiling, check that we can run a simple program.
3555
if test "$cross_compiling" != yes; then
3556
if { ac_try='./$ac_file'
3557
{ (case "(($ac_try" in
3558
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3559
*) ac_try_echo=$ac_try;;
3561
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3562
(eval "$ac_try") 2>&5
3564
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3565
(exit $ac_status); }; }; then
3568
if test "$cross_compiling" = maybe; then
3571
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3572
If you meant to cross compile, use \`--host'.
3573
See \`config.log' for more details." >&5
3574
echo "$as_me: error: cannot run C compiled programs.
3575
If you meant to cross compile, use \`--host'.
3576
See \`config.log' for more details." >&2;}
3577
{ (exit 1); exit 1; }; }
3581
{ echo "$as_me:$LINENO: result: yes" >&5
3582
echo "${ECHO_T}yes" >&6; }
3584
rm -f a.out a.exe conftest$ac_cv_exeext b.out
3585
ac_clean_files=$ac_clean_files_save
3586
# Check that the compiler produces executables we can run. If not, either
3587
# the compiler is broken, or we cross compile.
3588
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3589
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3590
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
3591
echo "${ECHO_T}$cross_compiling" >&6; }
3593
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
3594
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3595
if { (ac_try="$ac_link"
3597
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3598
*) ac_try_echo=$ac_try;;
3600
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3601
(eval "$ac_link") 2>&5
3603
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3604
(exit $ac_status); }; then
3605
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3606
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3607
# work properly (i.e., refer to `conftest.exe'), while it won't with
3609
for ac_file in conftest.exe conftest conftest.*; do
3610
test -f "$ac_file" || continue
3612
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3613
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3619
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3620
See \`config.log' for more details." >&5
3621
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3622
See \`config.log' for more details." >&2;}
3623
{ (exit 1); exit 1; }; }
3626
rm -f conftest$ac_cv_exeext
3627
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3628
echo "${ECHO_T}$ac_cv_exeext" >&6; }
3630
rm -f conftest.$ac_ext
3631
EXEEXT=$ac_cv_exeext
3633
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
3634
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3635
if test "${ac_cv_objext+set}" = set; then
3636
echo $ECHO_N "(cached) $ECHO_C" >&6
3638
cat >conftest.$ac_ext <<_ACEOF
3641
cat confdefs.h >>conftest.$ac_ext
3642
cat >>conftest.$ac_ext <<_ACEOF
3643
/* end confdefs.h. */
3653
rm -f conftest.o conftest.obj
3654
if { (ac_try="$ac_compile"
3656
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3657
*) ac_try_echo=$ac_try;;
3659
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3660
(eval "$ac_compile") 2>&5
3662
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3663
(exit $ac_status); }; then
3664
for ac_file in conftest.o conftest.obj conftest.*; do
3665
test -f "$ac_file" || continue;
3667
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3668
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3673
echo "$as_me: failed program was:" >&5
3674
sed 's/^/| /' conftest.$ac_ext >&5
3676
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3677
See \`config.log' for more details." >&5
3678
echo "$as_me: error: cannot compute suffix of object files: cannot compile
3679
See \`config.log' for more details." >&2;}
3680
{ (exit 1); exit 1; }; }
3683
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3685
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3686
echo "${ECHO_T}$ac_cv_objext" >&6; }
3687
OBJEXT=$ac_cv_objext
3689
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3690
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3691
if test "${ac_cv_c_compiler_gnu+set}" = set; then
3692
echo $ECHO_N "(cached) $ECHO_C" >&6
3694
cat >conftest.$ac_ext <<_ACEOF
3697
cat confdefs.h >>conftest.$ac_ext
3698
cat >>conftest.$ac_ext <<_ACEOF
3699
/* end confdefs.h. */
3712
rm -f conftest.$ac_objext
3713
if { (ac_try="$ac_compile"
3715
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3716
*) ac_try_echo=$ac_try;;
3718
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3719
(eval "$ac_compile") 2>conftest.er1
3721
grep -v '^ *+' conftest.er1 >conftest.err
3723
cat conftest.err >&5
3724
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3725
(exit $ac_status); } && {
3726
test -z "$ac_c_werror_flag" ||
3727
test ! -s conftest.err
3728
} && test -s conftest.$ac_objext; then
3731
echo "$as_me: failed program was:" >&5
3732
sed 's/^/| /' conftest.$ac_ext >&5
3737
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3738
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3741
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3742
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3743
GCC=`test $ac_compiler_gnu = yes && echo yes`
3744
ac_test_CFLAGS=${CFLAGS+set}
3745
ac_save_CFLAGS=$CFLAGS
3746
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3747
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3748
if test "${ac_cv_prog_cc_g+set}" = set; then
3749
echo $ECHO_N "(cached) $ECHO_C" >&6
3751
ac_save_c_werror_flag=$ac_c_werror_flag
3752
ac_c_werror_flag=yes
3755
cat >conftest.$ac_ext <<_ACEOF
3758
cat confdefs.h >>conftest.$ac_ext
3759
cat >>conftest.$ac_ext <<_ACEOF
3760
/* end confdefs.h. */
3770
rm -f conftest.$ac_objext
3771
if { (ac_try="$ac_compile"
3773
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3774
*) ac_try_echo=$ac_try;;
3776
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3777
(eval "$ac_compile") 2>conftest.er1
3779
grep -v '^ *+' conftest.er1 >conftest.err
3781
cat conftest.err >&5
3782
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3783
(exit $ac_status); } && {
3784
test -z "$ac_c_werror_flag" ||
3785
test ! -s conftest.err
3786
} && test -s conftest.$ac_objext; then
3789
echo "$as_me: failed program was:" >&5
3790
sed 's/^/| /' conftest.$ac_ext >&5
3793
cat >conftest.$ac_ext <<_ACEOF
3796
cat confdefs.h >>conftest.$ac_ext
3797
cat >>conftest.$ac_ext <<_ACEOF
3798
/* end confdefs.h. */
3808
rm -f conftest.$ac_objext
3809
if { (ac_try="$ac_compile"
3811
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3812
*) ac_try_echo=$ac_try;;
3814
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3815
(eval "$ac_compile") 2>conftest.er1
3817
grep -v '^ *+' conftest.er1 >conftest.err
3819
cat conftest.err >&5
3820
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3821
(exit $ac_status); } && {
3822
test -z "$ac_c_werror_flag" ||
3823
test ! -s conftest.err
3824
} && test -s conftest.$ac_objext; then
3827
echo "$as_me: failed program was:" >&5
3828
sed 's/^/| /' conftest.$ac_ext >&5
3830
ac_c_werror_flag=$ac_save_c_werror_flag
3832
cat >conftest.$ac_ext <<_ACEOF
3835
cat confdefs.h >>conftest.$ac_ext
3836
cat >>conftest.$ac_ext <<_ACEOF
3837
/* end confdefs.h. */
3847
rm -f conftest.$ac_objext
3848
if { (ac_try="$ac_compile"
3850
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3851
*) ac_try_echo=$ac_try;;
3853
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3854
(eval "$ac_compile") 2>conftest.er1
3856
grep -v '^ *+' conftest.er1 >conftest.err
3858
cat conftest.err >&5
3859
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3860
(exit $ac_status); } && {
3861
test -z "$ac_c_werror_flag" ||
3862
test ! -s conftest.err
3863
} && test -s conftest.$ac_objext; then
3866
echo "$as_me: failed program was:" >&5
3867
sed 's/^/| /' conftest.$ac_ext >&5
3872
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3875
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3878
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3879
ac_c_werror_flag=$ac_save_c_werror_flag
3881
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3882
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3883
if test "$ac_test_CFLAGS" = set; then
3884
CFLAGS=$ac_save_CFLAGS
3885
elif test $ac_cv_prog_cc_g = yes; then
3886
if test "$GCC" = yes; then
3892
if test "$GCC" = yes; then
3898
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3899
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3900
if test "${ac_cv_prog_cc_c89+set}" = set; then
3901
echo $ECHO_N "(cached) $ECHO_C" >&6
3903
ac_cv_prog_cc_c89=no
3905
cat >conftest.$ac_ext <<_ACEOF
3908
cat confdefs.h >>conftest.$ac_ext
3909
cat >>conftest.$ac_ext <<_ACEOF
3910
/* end confdefs.h. */
3913
#include <sys/types.h>
3914
#include <sys/stat.h>
3915
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3916
struct buf { int x; };
3917
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3918
static char *e (p, i)
3924
static char *f (char * (*g) (char **, int), char **p, ...)
3929
s = g (p, va_arg (v,int));
3934
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3935
function prototypes and stuff, but not '\xHH' hex character constants.
3936
These don't provoke an error unfortunately, instead are silently treated
3937
as 'x'. The following induces an error, until -std is added to get
3938
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3939
array size at least. It's necessary to write '\x00'==0 to get something
3940
that's true only with -std. */
3941
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3943
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3944
inside strings and character constants. */
3946
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3948
int test (int i, double x);
3949
struct s1 {int (*f) (int a);};
3950
struct s2 {int (*f) (double a);};
3951
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3957
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3962
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3963
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3965
CC="$ac_save_CC $ac_arg"
3966
rm -f conftest.$ac_objext
3967
if { (ac_try="$ac_compile"
3969
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3970
*) ac_try_echo=$ac_try;;
3972
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3973
(eval "$ac_compile") 2>conftest.er1
3975
grep -v '^ *+' conftest.er1 >conftest.err
3977
cat conftest.err >&5
3978
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3979
(exit $ac_status); } && {
3980
test -z "$ac_c_werror_flag" ||
3981
test ! -s conftest.err
3982
} && test -s conftest.$ac_objext; then
3983
ac_cv_prog_cc_c89=$ac_arg
3985
echo "$as_me: failed program was:" >&5
3986
sed 's/^/| /' conftest.$ac_ext >&5
3991
rm -f core conftest.err conftest.$ac_objext
3992
test "x$ac_cv_prog_cc_c89" != "xno" && break
3994
rm -f conftest.$ac_ext
3999
case "x$ac_cv_prog_cc_c89" in
4001
{ echo "$as_me:$LINENO: result: none needed" >&5
4002
echo "${ECHO_T}none needed" >&6; } ;;
4004
{ echo "$as_me:$LINENO: result: unsupported" >&5
4005
echo "${ECHO_T}unsupported" >&6; } ;;
4007
CC="$CC $ac_cv_prog_cc_c89"
4008
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4009
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
4014
ac_cpp='$CPP $CPPFLAGS'
4015
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4016
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4017
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4019
depcc="$CC" am_compiler_list=
4021
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4022
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4023
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4024
echo $ECHO_N "(cached) $ECHO_C" >&6
4026
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4027
# We make a subdir and do the tests there. Otherwise we can end up
4028
# making bogus files that we don't know about and never remove. For
4029
# instance it was reported that on HP-UX the gcc test will end up
4030
# making a dummy file named `D' -- because `-MD' means `put the output
4033
# Copy depcomp to subdir because otherwise we won't find it if we're
4034
# using a relative directory.
4035
cp "$am_depcomp" conftest.dir
4037
# We will build objects and dependencies in a subdirectory because
4038
# it helps to detect inapplicable dependency modes. For instance
4039
# both Tru64's cc and ICC support -MD to output dependencies as a
4040
# side effect of compilation, but ICC will put the dependencies in
4041
# the current directory while Tru64 will put them in the object
4045
am_cv_CC_dependencies_compiler_type=none
4046
if test "$am_compiler_list" = ""; then
4047
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4049
for depmode in $am_compiler_list; do
4050
# Setup a source with many dependencies, because some compilers
4051
# like to wrap large dependency lists on column 80 (with \), and
4052
# we should not choose a depcomp mode which is confused by this.
4054
# We need to recreate these files for each test, as the compiler may
4055
# overwrite some of them when testing with obscure command lines.
4056
# This happens at least with the AIX C compiler.
4058
for i in 1 2 3 4 5 6; do
4059
echo '#include "conftst'$i'.h"' >> sub/conftest.c
4060
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4061
# Solaris 8's {/usr,}/bin/sh.
4062
touch sub/conftst$i.h
4064
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4068
# after this tag, mechanisms are not by side-effect, so they'll
4069
# only be used when explicitly requested
4070
if test "x$enable_dependency_tracking" = xyes; then
4078
# We check with `-c' and `-o' for the sake of the "dashmstdout"
4079
# mode. It turns out that the SunPro C++ compiler does not properly
4080
# handle `-M -o', and we need to detect this.
4081
if depmode=$depmode \
4082
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4083
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4084
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4085
>/dev/null 2>conftest.err &&
4086
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4087
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4088
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4089
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4090
# icc doesn't choke on unknown options, it will just issue warnings
4091
# or remarks (even with -Werror). So we grep stderr for any message
4092
# that says an option was ignored or not supported.
4093
# When given -MP, icc 7.0 and 7.1 complain thusly:
4094
# icc: Command line warning: ignoring option '-M'; no argument required
4095
# The diagnosis changed in icc 8.0:
4096
# icc: Command line remark: option '-MP' not supported
4097
if (grep 'ignoring option' conftest.err ||
4098
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4099
am_cv_CC_dependencies_compiler_type=$depmode
4108
am_cv_CC_dependencies_compiler_type=none
4112
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4113
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
4114
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4117
test "x$enable_dependency_tracking" != xno \
4118
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4120
am__fastdepCC_FALSE='#'
4122
am__fastdepCC_TRUE='#'
4123
am__fastdepCC_FALSE=
4129
ac_cpp='$CPP $CPPFLAGS'
4130
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4131
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4132
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4133
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4134
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4135
# On Suns, sometimes $CPP names a directory.
4136
if test -n "$CPP" && test -d "$CPP"; then
4139
if test -z "$CPP"; then
4140
if test "${ac_cv_prog_CPP+set}" = set; then
4141
echo $ECHO_N "(cached) $ECHO_C" >&6
4143
# Double quotes because CPP needs to be expanded
4144
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4147
for ac_c_preproc_warn_flag in '' yes
4149
# Use a header file that comes with gcc, so configuring glibc
4150
# with a fresh cross-compiler works.
4151
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4152
# <limits.h> exists even on freestanding compilers.
4153
# On the NeXT, cc -E runs the code through the compiler's parser,
4154
# not just through cpp. "Syntax error" is here to catch this case.
4155
cat >conftest.$ac_ext <<_ACEOF
4158
cat confdefs.h >>conftest.$ac_ext
4159
cat >>conftest.$ac_ext <<_ACEOF
4160
/* end confdefs.h. */
4162
@%:@ include <limits.h>
4164
@%:@ include <assert.h>
4168
if { (ac_try="$ac_cpp conftest.$ac_ext"
4170
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4171
*) ac_try_echo=$ac_try;;
4173
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4174
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4176
grep -v '^ *+' conftest.er1 >conftest.err
4178
cat conftest.err >&5
4179
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4180
(exit $ac_status); } >/dev/null && {
4181
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4182
test ! -s conftest.err
4186
echo "$as_me: failed program was:" >&5
4187
sed 's/^/| /' conftest.$ac_ext >&5
4189
# Broken: fails on valid input.
4193
rm -f conftest.err conftest.$ac_ext
4195
# OK, works on sane cases. Now check whether nonexistent headers
4196
# can be detected and how.
4197
cat >conftest.$ac_ext <<_ACEOF
4200
cat confdefs.h >>conftest.$ac_ext
4201
cat >>conftest.$ac_ext <<_ACEOF
4202
/* end confdefs.h. */
4203
@%:@include <ac_nonexistent.h>
4205
if { (ac_try="$ac_cpp conftest.$ac_ext"
4207
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4208
*) ac_try_echo=$ac_try;;
4210
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4211
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4213
grep -v '^ *+' conftest.er1 >conftest.err
4215
cat conftest.err >&5
4216
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4217
(exit $ac_status); } >/dev/null && {
4218
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4219
test ! -s conftest.err
4221
# Broken: success on invalid input.
4224
echo "$as_me: failed program was:" >&5
4225
sed 's/^/| /' conftest.$ac_ext >&5
4227
# Passes both tests.
4232
rm -f conftest.err conftest.$ac_ext
4235
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4236
rm -f conftest.err conftest.$ac_ext
4237
if $ac_preproc_ok; then
4249
{ echo "$as_me:$LINENO: result: $CPP" >&5
4250
echo "${ECHO_T}$CPP" >&6; }
4252
for ac_c_preproc_warn_flag in '' yes
4254
# Use a header file that comes with gcc, so configuring glibc
4255
# with a fresh cross-compiler works.
4256
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4257
# <limits.h> exists even on freestanding compilers.
4258
# On the NeXT, cc -E runs the code through the compiler's parser,
4259
# not just through cpp. "Syntax error" is here to catch this case.
4260
cat >conftest.$ac_ext <<_ACEOF
4263
cat confdefs.h >>conftest.$ac_ext
4264
cat >>conftest.$ac_ext <<_ACEOF
4265
/* end confdefs.h. */
4267
@%:@ include <limits.h>
4269
@%:@ include <assert.h>
4273
if { (ac_try="$ac_cpp conftest.$ac_ext"
4275
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4276
*) ac_try_echo=$ac_try;;
4278
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4279
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4281
grep -v '^ *+' conftest.er1 >conftest.err
4283
cat conftest.err >&5
4284
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4285
(exit $ac_status); } >/dev/null && {
4286
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4287
test ! -s conftest.err
4291
echo "$as_me: failed program was:" >&5
4292
sed 's/^/| /' conftest.$ac_ext >&5
4294
# Broken: fails on valid input.
4298
rm -f conftest.err conftest.$ac_ext
4300
# OK, works on sane cases. Now check whether nonexistent headers
4301
# can be detected and how.
4302
cat >conftest.$ac_ext <<_ACEOF
4305
cat confdefs.h >>conftest.$ac_ext
4306
cat >>conftest.$ac_ext <<_ACEOF
4307
/* end confdefs.h. */
4308
@%:@include <ac_nonexistent.h>
4310
if { (ac_try="$ac_cpp conftest.$ac_ext"
4312
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4313
*) ac_try_echo=$ac_try;;
4315
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4316
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4318
grep -v '^ *+' conftest.er1 >conftest.err
4320
cat conftest.err >&5
4321
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4322
(exit $ac_status); } >/dev/null && {
4323
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4324
test ! -s conftest.err
4326
# Broken: success on invalid input.
4329
echo "$as_me: failed program was:" >&5
4330
sed 's/^/| /' conftest.$ac_ext >&5
4332
# Passes both tests.
4337
rm -f conftest.err conftest.$ac_ext
4340
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4341
rm -f conftest.err conftest.$ac_ext
4342
if $ac_preproc_ok; then
4345
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4346
See \`config.log' for more details." >&5
4347
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4348
See \`config.log' for more details." >&2;}
4349
{ (exit 1); exit 1; }; }
4353
ac_cpp='$CPP $CPPFLAGS'
4354
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4355
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4356
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4359
if test "$GCC" = "yes"; then
4360
if test "$kde_use_debug_code" != "no"; then
4361
if test $kde_use_debug_code = "full"; then
4362
CFLAGS="-g3 -fno-inline $CFLAGS"
4364
CFLAGS="-g -O2 $CFLAGS"
4367
CFLAGS="-O2 $CFLAGS"
4371
if test "$kde_use_debug_define" = "yes"; then
4372
CFLAGS="-DNDEBUG $CFLAGS"
4377
*-*-sysv4.2uw*) CFLAGS="-D_UNIXWARE $CFLAGS";;
4378
*-*-sysv5uw7*) CFLAGS="-D_UNIXWARE7 $CFLAGS";;
4381
if test -z "$LDFLAGS" && test "$kde_use_debug_code" = "no" && test "$GCC" = "yes"; then
4385
CXXFLAGS=" $CXXFLAGS"
4388
ac_cpp='$CXXCPP $CPPFLAGS'
4389
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4390
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4391
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4392
if test -z "$CXX"; then
4393
if test -n "$CCC"; then
4396
if test -n "$ac_tool_prefix"; then
4397
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4399
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4400
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4401
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4402
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4403
if test "${ac_cv_prog_CXX+set}" = set; then
4404
echo $ECHO_N "(cached) $ECHO_C" >&6
4406
if test -n "$CXX"; then
4407
ac_cv_prog_CXX="$CXX" # Let the user override the test.
4409
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4413
test -z "$as_dir" && as_dir=.
4414
for ac_exec_ext in '' $ac_executable_extensions; do
4415
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4416
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4417
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4427
if test -n "$CXX"; then
4428
{ echo "$as_me:$LINENO: result: $CXX" >&5
4429
echo "${ECHO_T}$CXX" >&6; }
4431
{ echo "$as_me:$LINENO: result: no" >&5
4432
echo "${ECHO_T}no" >&6; }
4436
test -n "$CXX" && break
4439
if test -z "$CXX"; then
4441
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4443
# Extract the first word of "$ac_prog", so it can be a program name with args.
4444
set dummy $ac_prog; ac_word=$2
4445
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4446
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4447
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4448
echo $ECHO_N "(cached) $ECHO_C" >&6
4450
if test -n "$ac_ct_CXX"; then
4451
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4453
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4457
test -z "$as_dir" && as_dir=.
4458
for ac_exec_ext in '' $ac_executable_extensions; do
4459
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4460
ac_cv_prog_ac_ct_CXX="$ac_prog"
4461
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4470
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4471
if test -n "$ac_ct_CXX"; then
4472
{ echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4473
echo "${ECHO_T}$ac_ct_CXX" >&6; }
4475
{ echo "$as_me:$LINENO: result: no" >&5
4476
echo "${ECHO_T}no" >&6; }
4480
test -n "$ac_ct_CXX" && break
4483
if test "x$ac_ct_CXX" = x; then
4486
case $cross_compiling:$ac_tool_warned in
4488
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4489
whose name does not start with the host triplet. If you think this
4490
configuration is useful to you, please write to autoconf@gnu.org." >&5
4491
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4492
whose name does not start with the host triplet. If you think this
4493
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4494
ac_tool_warned=yes ;;
4502
# Provide some information about the compiler.
4503
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
4504
ac_compiler=`set X $ac_compile; echo $2`
4505
{ (ac_try="$ac_compiler --version >&5"
4507
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4508
*) ac_try_echo=$ac_try;;
4510
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4511
(eval "$ac_compiler --version >&5") 2>&5
4513
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4514
(exit $ac_status); }
4515
{ (ac_try="$ac_compiler -v >&5"
4517
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4518
*) ac_try_echo=$ac_try;;
4520
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4521
(eval "$ac_compiler -v >&5") 2>&5
4523
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4524
(exit $ac_status); }
4525
{ (ac_try="$ac_compiler -V >&5"
4527
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4528
*) ac_try_echo=$ac_try;;
4530
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4531
(eval "$ac_compiler -V >&5") 2>&5
4533
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4534
(exit $ac_status); }
4536
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
4537
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
4538
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
4539
echo $ECHO_N "(cached) $ECHO_C" >&6
4541
cat >conftest.$ac_ext <<_ACEOF
4544
cat confdefs.h >>conftest.$ac_ext
4545
cat >>conftest.$ac_ext <<_ACEOF
4546
/* end confdefs.h. */
4559
rm -f conftest.$ac_objext
4560
if { (ac_try="$ac_compile"
4562
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4563
*) ac_try_echo=$ac_try;;
4565
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4566
(eval "$ac_compile") 2>conftest.er1
4568
grep -v '^ *+' conftest.er1 >conftest.err
4570
cat conftest.err >&5
4571
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4572
(exit $ac_status); } && {
4573
test -z "$ac_cxx_werror_flag" ||
4574
test ! -s conftest.err
4575
} && test -s conftest.$ac_objext; then
4578
echo "$as_me: failed program was:" >&5
4579
sed 's/^/| /' conftest.$ac_ext >&5
4584
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4585
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4588
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4589
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
4590
GXX=`test $ac_compiler_gnu = yes && echo yes`
4591
ac_test_CXXFLAGS=${CXXFLAGS+set}
4592
ac_save_CXXFLAGS=$CXXFLAGS
4593
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4594
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
4595
if test "${ac_cv_prog_cxx_g+set}" = set; then
4596
echo $ECHO_N "(cached) $ECHO_C" >&6
4598
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4599
ac_cxx_werror_flag=yes
4602
cat >conftest.$ac_ext <<_ACEOF
4605
cat confdefs.h >>conftest.$ac_ext
4606
cat >>conftest.$ac_ext <<_ACEOF
4607
/* end confdefs.h. */
4617
rm -f conftest.$ac_objext
4618
if { (ac_try="$ac_compile"
4620
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4621
*) ac_try_echo=$ac_try;;
4623
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4624
(eval "$ac_compile") 2>conftest.er1
4626
grep -v '^ *+' conftest.er1 >conftest.err
4628
cat conftest.err >&5
4629
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4630
(exit $ac_status); } && {
4631
test -z "$ac_cxx_werror_flag" ||
4632
test ! -s conftest.err
4633
} && test -s conftest.$ac_objext; then
4634
ac_cv_prog_cxx_g=yes
4636
echo "$as_me: failed program was:" >&5
4637
sed 's/^/| /' conftest.$ac_ext >&5
4640
cat >conftest.$ac_ext <<_ACEOF
4643
cat confdefs.h >>conftest.$ac_ext
4644
cat >>conftest.$ac_ext <<_ACEOF
4645
/* end confdefs.h. */
4655
rm -f conftest.$ac_objext
4656
if { (ac_try="$ac_compile"
4658
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4659
*) ac_try_echo=$ac_try;;
4661
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4662
(eval "$ac_compile") 2>conftest.er1
4664
grep -v '^ *+' conftest.er1 >conftest.err
4666
cat conftest.err >&5
4667
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4668
(exit $ac_status); } && {
4669
test -z "$ac_cxx_werror_flag" ||
4670
test ! -s conftest.err
4671
} && test -s conftest.$ac_objext; then
4674
echo "$as_me: failed program was:" >&5
4675
sed 's/^/| /' conftest.$ac_ext >&5
4677
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4679
cat >conftest.$ac_ext <<_ACEOF
4682
cat confdefs.h >>conftest.$ac_ext
4683
cat >>conftest.$ac_ext <<_ACEOF
4684
/* end confdefs.h. */
4694
rm -f conftest.$ac_objext
4695
if { (ac_try="$ac_compile"
4697
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4698
*) ac_try_echo=$ac_try;;
4700
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4701
(eval "$ac_compile") 2>conftest.er1
4703
grep -v '^ *+' conftest.er1 >conftest.err
4705
cat conftest.err >&5
4706
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4707
(exit $ac_status); } && {
4708
test -z "$ac_cxx_werror_flag" ||
4709
test ! -s conftest.err
4710
} && test -s conftest.$ac_objext; then
4711
ac_cv_prog_cxx_g=yes
4713
echo "$as_me: failed program was:" >&5
4714
sed 's/^/| /' conftest.$ac_ext >&5
4719
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4722
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4725
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4726
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4728
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4729
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
4730
if test "$ac_test_CXXFLAGS" = set; then
4731
CXXFLAGS=$ac_save_CXXFLAGS
4732
elif test $ac_cv_prog_cxx_g = yes; then
4733
if test "$GXX" = yes; then
4739
if test "$GXX" = yes; then
4746
ac_cpp='$CPP $CPPFLAGS'
4747
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4748
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4749
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4751
depcc="$CXX" am_compiler_list=
4753
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4754
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4755
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
4756
echo $ECHO_N "(cached) $ECHO_C" >&6
4758
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4759
# We make a subdir and do the tests there. Otherwise we can end up
4760
# making bogus files that we don't know about and never remove. For
4761
# instance it was reported that on HP-UX the gcc test will end up
4762
# making a dummy file named `D' -- because `-MD' means `put the output
4765
# Copy depcomp to subdir because otherwise we won't find it if we're
4766
# using a relative directory.
4767
cp "$am_depcomp" conftest.dir
4769
# We will build objects and dependencies in a subdirectory because
4770
# it helps to detect inapplicable dependency modes. For instance
4771
# both Tru64's cc and ICC support -MD to output dependencies as a
4772
# side effect of compilation, but ICC will put the dependencies in
4773
# the current directory while Tru64 will put them in the object
4777
am_cv_CXX_dependencies_compiler_type=none
4778
if test "$am_compiler_list" = ""; then
4779
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4781
for depmode in $am_compiler_list; do
4782
# Setup a source with many dependencies, because some compilers
4783
# like to wrap large dependency lists on column 80 (with \), and
4784
# we should not choose a depcomp mode which is confused by this.
4786
# We need to recreate these files for each test, as the compiler may
4787
# overwrite some of them when testing with obscure command lines.
4788
# This happens at least with the AIX C compiler.
4790
for i in 1 2 3 4 5 6; do
4791
echo '#include "conftst'$i'.h"' >> sub/conftest.c
4792
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4793
# Solaris 8's {/usr,}/bin/sh.
4794
touch sub/conftst$i.h
4796
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4800
# after this tag, mechanisms are not by side-effect, so they'll
4801
# only be used when explicitly requested
4802
if test "x$enable_dependency_tracking" = xyes; then
4810
# We check with `-c' and `-o' for the sake of the "dashmstdout"
4811
# mode. It turns out that the SunPro C++ compiler does not properly
4812
# handle `-M -o', and we need to detect this.
4813
if depmode=$depmode \
4814
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4815
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4816
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4817
>/dev/null 2>conftest.err &&
4818
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4819
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4820
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4821
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4822
# icc doesn't choke on unknown options, it will just issue warnings
4823
# or remarks (even with -Werror). So we grep stderr for any message
4824
# that says an option was ignored or not supported.
4825
# When given -MP, icc 7.0 and 7.1 complain thusly:
4826
# icc: Command line warning: ignoring option '-M'; no argument required
4827
# The diagnosis changed in icc 8.0:
4828
# icc: Command line remark: option '-MP' not supported
4829
if (grep 'ignoring option' conftest.err ||
4830
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4831
am_cv_CXX_dependencies_compiler_type=$depmode
4840
am_cv_CXX_dependencies_compiler_type=none
4844
{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
4845
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
4846
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4849
test "x$enable_dependency_tracking" != xno \
4850
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4851
am__fastdepCXX_TRUE=
4852
am__fastdepCXX_FALSE='#'
4854
am__fastdepCXX_TRUE='#'
4855
am__fastdepCXX_FALSE=
4861
{ echo "$as_me:$LINENO: checking whether $CC is blacklisted" >&5
4862
echo $ECHO_N "checking whether $CC is blacklisted... $ECHO_C" >&6; }
4865
cat >conftest.$ac_ext <<_ACEOF
4868
cat confdefs.h >>conftest.$ac_ext
4869
cat >>conftest.$ac_ext <<_ACEOF
4870
/* end confdefs.h. */
4873
#if __GNUC__ == 4 && __GNUC_MINOR__ == 0 && __GNUC_PATCHLEVEL__ == 0
4886
rm -f conftest.$ac_objext
4887
if { (ac_try="$ac_compile"
4889
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4890
*) ac_try_echo=$ac_try;;
4892
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4893
(eval "$ac_compile") 2>conftest.er1
4895
grep -v '^ *+' conftest.er1 >conftest.err
4897
cat conftest.err >&5
4898
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4899
(exit $ac_status); } && {
4900
test -z "$ac_c_werror_flag" ||
4901
test ! -s conftest.err
4902
} && test -s conftest.$ac_objext; then
4905
echo "$as_me: failed program was:" >&5
4906
sed 's/^/| /' conftest.$ac_ext >&5
4908
kde_bad_compiler=yes
4912
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4914
{ echo "$as_me:$LINENO: result: $kde_bad_compiler" >&5
4915
echo "${ECHO_T}$kde_bad_compiler" >&6; }
4917
if test "$kde_bad_compiler" = "yes"; then
4918
{ { echo "$as_me:$LINENO: error:
4920
This particular compiler version is blacklisted because it
4921
is known to miscompile KDE. Please use a newer version, or
4922
if that is not yet available, choose an older version.
4924
Please do not report a bug or bother us reporting this
4925
configure error. We know about it, and we introduced
4926
it by intention to avoid untraceable bugs or crashes in KDE.
4929
echo "$as_me: error:
4931
This particular compiler version is blacklisted because it
4932
is known to miscompile KDE. Please use a newer version, or
4933
if that is not yet available, choose an older version.
4935
Please do not report a bug or bother us reporting this
4936
configure error. We know about it, and we introduced
4937
it by intention to avoid untraceable bugs or crashes in KDE.
4940
{ (exit 1); exit 1; }; }
4945
if test "$GXX" = "yes" || test "$CXX" = "KCC"; then
4946
if test "$kde_use_debug_code" != "no"; then
4947
if test "$CXX" = "KCC"; then
4948
CXXFLAGS="+K0 -Wall -pedantic -W -Wpointer-arith -Wwrite-strings $CXXFLAGS"
4950
if test "$kde_use_debug_code" = "full"; then
4951
CXXFLAGS="-g3 -fno-inline $CXXFLAGS"
4953
CXXFLAGS="-g -O2 $CXXFLAGS"
4957
{ echo "$as_me:$LINENO: checking whether $CXX supports -fno-builtin" >&5
4958
echo $ECHO_N "checking whether $CXX supports -fno-builtin... $ECHO_C" >&6; }
4959
kde_cache=`echo fno-builtin | sed 'y% .=/+-,%____p__%'`
4960
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
4961
echo $ECHO_N "(cached) $ECHO_C" >&6
4967
ac_cpp='$CXXCPP $CPPFLAGS'
4968
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4969
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4970
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4972
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4976
save_CXXFLAGS="$CXXFLAGS"
4977
CXXFLAGS="$CXXFLAGS -fno-builtin"
4978
cat >conftest.$ac_ext <<_ACEOF
4981
cat confdefs.h >>conftest.$ac_ext
4982
cat >>conftest.$ac_ext <<_ACEOF
4983
/* end confdefs.h. */
4993
rm -f conftest.$ac_objext conftest$ac_exeext
4994
if { (ac_try="$ac_link"
4996
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4997
*) ac_try_echo=$ac_try;;
4999
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5000
(eval "$ac_link") 2>conftest.er1
5002
grep -v '^ *+' conftest.er1 >conftest.err
5004
cat conftest.err >&5
5005
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5006
(exit $ac_status); } && {
5007
test -z "$ac_cxx_werror_flag" ||
5008
test ! -s conftest.err
5009
} && test -s conftest$ac_exeext &&
5010
$as_test_x conftest$ac_exeext; then
5011
eval "kde_cv_prog_cxx_$kde_cache=yes"
5013
echo "$as_me: failed program was:" >&5
5014
sed 's/^/| /' conftest.$ac_ext >&5
5019
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5020
conftest$ac_exeext conftest.$ac_ext
5021
CXXFLAGS="$save_CXXFLAGS"
5023
ac_cpp='$CPP $CPPFLAGS'
5024
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5025
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5026
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5031
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5032
{ echo "$as_me:$LINENO: result: yes" >&5
5033
echo "${ECHO_T}yes" >&6; }
5035
CXXFLAGS="-fno-builtin $CXXFLAGS"
5037
{ echo "$as_me:$LINENO: result: no" >&5
5038
echo "${ECHO_T}no" >&6; }
5045
{ echo "$as_me:$LINENO: checking whether $CXX supports -Woverloaded-virtual" >&5
5046
echo $ECHO_N "checking whether $CXX supports -Woverloaded-virtual... $ECHO_C" >&6; }
5047
kde_cache=`echo Woverloaded-virtual | sed 'y% .=/+-,%____p__%'`
5048
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5049
echo $ECHO_N "(cached) $ECHO_C" >&6
5054
ac_cpp='$CXXCPP $CPPFLAGS'
5055
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5056
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5057
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5059
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5062
save_CXXFLAGS="$CXXFLAGS"
5063
CXXFLAGS="$CXXFLAGS -Woverloaded-virtual"
5064
cat >conftest.$ac_ext <<_ACEOF
5067
cat confdefs.h >>conftest.$ac_ext
5068
cat >>conftest.$ac_ext <<_ACEOF
5069
/* end confdefs.h. */
5079
rm -f conftest.$ac_objext conftest$ac_exeext
5080
if { (ac_try="$ac_link"
5082
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5083
*) ac_try_echo=$ac_try;;
5085
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5086
(eval "$ac_link") 2>conftest.er1
5088
grep -v '^ *+' conftest.er1 >conftest.err
5090
cat conftest.err >&5
5091
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5092
(exit $ac_status); } && {
5093
test -z "$ac_cxx_werror_flag" ||
5094
test ! -s conftest.err
5095
} && test -s conftest$ac_exeext &&
5096
$as_test_x conftest$ac_exeext; then
5097
eval "kde_cv_prog_cxx_$kde_cache=yes"
5099
echo "$as_me: failed program was:" >&5
5100
sed 's/^/| /' conftest.$ac_ext >&5
5105
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5106
conftest$ac_exeext conftest.$ac_ext
5107
CXXFLAGS="$save_CXXFLAGS"
5109
ac_cpp='$CPP $CPPFLAGS'
5110
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5111
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5112
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5117
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5118
{ echo "$as_me:$LINENO: result: yes" >&5
5119
echo "${ECHO_T}yes" >&6; }
5121
WOVERLOADED_VIRTUAL="-Woverloaded-virtual"
5123
{ echo "$as_me:$LINENO: result: no" >&5
5124
echo "${ECHO_T}no" >&6; }
5126
WOVERLOADED_VRITUAL=""
5131
if test "$CXX" = "KCC"; then
5132
CXXFLAGS="+K3 $CXXFLAGS"
5134
CXXFLAGS="-O2 $CXXFLAGS"
5139
if test "$kde_use_debug_define" = "yes"; then
5140
CXXFLAGS="-DNDEBUG -DNO_DEBUG $CXXFLAGS"
5143
if test "$kde_use_profiling" = "yes"; then
5145
{ echo "$as_me:$LINENO: checking whether $CXX supports -pg" >&5
5146
echo $ECHO_N "checking whether $CXX supports -pg... $ECHO_C" >&6; }
5147
kde_cache=`echo pg | sed 'y% .=/+-,%____p__%'`
5148
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5149
echo $ECHO_N "(cached) $ECHO_C" >&6
5154
ac_cpp='$CXXCPP $CPPFLAGS'
5155
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5156
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5157
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5159
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5162
save_CXXFLAGS="$CXXFLAGS"
5163
CXXFLAGS="$CXXFLAGS -pg"
5164
cat >conftest.$ac_ext <<_ACEOF
5167
cat confdefs.h >>conftest.$ac_ext
5168
cat >>conftest.$ac_ext <<_ACEOF
5169
/* end confdefs.h. */
5179
rm -f conftest.$ac_objext conftest$ac_exeext
5180
if { (ac_try="$ac_link"
5182
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5183
*) ac_try_echo=$ac_try;;
5185
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5186
(eval "$ac_link") 2>conftest.er1
5188
grep -v '^ *+' conftest.er1 >conftest.err
5190
cat conftest.err >&5
5191
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5192
(exit $ac_status); } && {
5193
test -z "$ac_cxx_werror_flag" ||
5194
test ! -s conftest.err
5195
} && test -s conftest$ac_exeext &&
5196
$as_test_x conftest$ac_exeext; then
5197
eval "kde_cv_prog_cxx_$kde_cache=yes"
5199
echo "$as_me: failed program was:" >&5
5200
sed 's/^/| /' conftest.$ac_ext >&5
5205
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5206
conftest$ac_exeext conftest.$ac_ext
5207
CXXFLAGS="$save_CXXFLAGS"
5209
ac_cpp='$CPP $CPPFLAGS'
5210
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5211
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5212
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5217
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5218
{ echo "$as_me:$LINENO: result: yes" >&5
5219
echo "${ECHO_T}yes" >&6; }
5222
CFLAGS="-pg $CFLAGS"
5223
CXXFLAGS="-pg $CXXFLAGS"
5226
{ echo "$as_me:$LINENO: result: no" >&5
5227
echo "${ECHO_T}no" >&6; }
5234
if test "$kde_use_warnings" = "yes"; then
5235
if test "$GCC" = "yes"; then
5236
CXXFLAGS="-Wall -W -Wpointer-arith $CXXFLAGS"
5239
CFLAGS="-std=iso9899:1990 -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE $CFLAGS"
5240
CXXFLAGS="-ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts $CXXFLAGS"
5242
{ echo "$as_me:$LINENO: checking whether $CXX supports -Wmissing-format-attribute" >&5
5243
echo $ECHO_N "checking whether $CXX supports -Wmissing-format-attribute... $ECHO_C" >&6; }
5244
kde_cache=`echo Wmissing-format-attribute | sed 'y% .=/+-,%____p__%'`
5245
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5246
echo $ECHO_N "(cached) $ECHO_C" >&6
5251
ac_cpp='$CXXCPP $CPPFLAGS'
5252
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5253
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5254
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5256
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5259
save_CXXFLAGS="$CXXFLAGS"
5260
CXXFLAGS="$CXXFLAGS -Wmissing-format-attribute"
5261
cat >conftest.$ac_ext <<_ACEOF
5264
cat confdefs.h >>conftest.$ac_ext
5265
cat >>conftest.$ac_ext <<_ACEOF
5266
/* end confdefs.h. */
5276
rm -f conftest.$ac_objext conftest$ac_exeext
5277
if { (ac_try="$ac_link"
5279
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5280
*) ac_try_echo=$ac_try;;
5282
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5283
(eval "$ac_link") 2>conftest.er1
5285
grep -v '^ *+' conftest.er1 >conftest.err
5287
cat conftest.err >&5
5288
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5289
(exit $ac_status); } && {
5290
test -z "$ac_cxx_werror_flag" ||
5291
test ! -s conftest.err
5292
} && test -s conftest$ac_exeext &&
5293
$as_test_x conftest$ac_exeext; then
5294
eval "kde_cv_prog_cxx_$kde_cache=yes"
5296
echo "$as_me: failed program was:" >&5
5297
sed 's/^/| /' conftest.$ac_ext >&5
5302
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5303
conftest$ac_exeext conftest.$ac_ext
5304
CXXFLAGS="$save_CXXFLAGS"
5306
ac_cpp='$CPP $CPPFLAGS'
5307
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5308
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5309
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5314
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5315
{ echo "$as_me:$LINENO: result: yes" >&5
5316
echo "${ECHO_T}yes" >&6; }
5318
CXXFLAGS="$CXXFLAGS -Wformat-security -Wmissing-format-attribute"
5320
{ echo "$as_me:$LINENO: result: no" >&5
5321
echo "${ECHO_T}no" >&6; }
5327
{ echo "$as_me:$LINENO: checking whether $CC supports -Wmissing-format-attribute" >&5
5328
echo $ECHO_N "checking whether $CC supports -Wmissing-format-attribute... $ECHO_C" >&6; }
5329
kde_cache=`echo Wmissing-format-attribute | sed 'y% .=/+-,%____p__%'`
5330
if { as_var=kde_cv_prog_cc_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5331
echo $ECHO_N "(cached) $ECHO_C" >&6
5336
ac_cpp='$CPP $CPPFLAGS'
5337
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5338
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5339
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5341
save_CFLAGS="$CFLAGS"
5342
CFLAGS="$CFLAGS -Wmissing-format-attribute"
5343
cat >conftest.$ac_ext <<_ACEOF
5346
cat confdefs.h >>conftest.$ac_ext
5347
cat >>conftest.$ac_ext <<_ACEOF
5348
/* end confdefs.h. */
5358
rm -f conftest.$ac_objext conftest$ac_exeext
5359
if { (ac_try="$ac_link"
5361
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5362
*) ac_try_echo=$ac_try;;
5364
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5365
(eval "$ac_link") 2>conftest.er1
5367
grep -v '^ *+' conftest.er1 >conftest.err
5369
cat conftest.err >&5
5370
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5371
(exit $ac_status); } && {
5372
test -z "$ac_c_werror_flag" ||
5373
test ! -s conftest.err
5374
} && test -s conftest$ac_exeext &&
5375
$as_test_x conftest$ac_exeext; then
5376
eval "kde_cv_prog_cc_$kde_cache=yes"
5378
echo "$as_me: failed program was:" >&5
5379
sed 's/^/| /' conftest.$ac_ext >&5
5384
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5385
conftest$ac_exeext conftest.$ac_ext
5386
CFLAGS="$save_CFLAGS"
5388
ac_cpp='$CPP $CPPFLAGS'
5389
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5390
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5391
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5396
if eval "test \"`echo '$kde_cv_prog_cc_'$kde_cache`\" = yes"; then
5397
{ echo "$as_me:$LINENO: result: yes" >&5
5398
echo "${ECHO_T}yes" >&6; }
5400
CFLAGS="$CFLAGS -Wformat-security -Wmissing-format-attribute"
5402
{ echo "$as_me:$LINENO: result: no" >&5
5403
echo "${ECHO_T}no" >&6; }
5411
{ echo "$as_me:$LINENO: checking whether $CXX supports -Wundef" >&5
5412
echo $ECHO_N "checking whether $CXX supports -Wundef... $ECHO_C" >&6; }
5413
kde_cache=`echo Wundef | sed 'y% .=/+-,%____p__%'`
5414
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5415
echo $ECHO_N "(cached) $ECHO_C" >&6
5420
ac_cpp='$CXXCPP $CPPFLAGS'
5421
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5422
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5423
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5425
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5428
save_CXXFLAGS="$CXXFLAGS"
5429
CXXFLAGS="$CXXFLAGS -Wundef"
5430
cat >conftest.$ac_ext <<_ACEOF
5433
cat confdefs.h >>conftest.$ac_ext
5434
cat >>conftest.$ac_ext <<_ACEOF
5435
/* end confdefs.h. */
5445
rm -f conftest.$ac_objext conftest$ac_exeext
5446
if { (ac_try="$ac_link"
5448
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5449
*) ac_try_echo=$ac_try;;
5451
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5452
(eval "$ac_link") 2>conftest.er1
5454
grep -v '^ *+' conftest.er1 >conftest.err
5456
cat conftest.err >&5
5457
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5458
(exit $ac_status); } && {
5459
test -z "$ac_cxx_werror_flag" ||
5460
test ! -s conftest.err
5461
} && test -s conftest$ac_exeext &&
5462
$as_test_x conftest$ac_exeext; then
5463
eval "kde_cv_prog_cxx_$kde_cache=yes"
5465
echo "$as_me: failed program was:" >&5
5466
sed 's/^/| /' conftest.$ac_ext >&5
5471
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5472
conftest$ac_exeext conftest.$ac_ext
5473
CXXFLAGS="$save_CXXFLAGS"
5475
ac_cpp='$CPP $CPPFLAGS'
5476
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5477
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5478
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5483
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5484
{ echo "$as_me:$LINENO: result: yes" >&5
5485
echo "${ECHO_T}yes" >&6; }
5487
CXXFLAGS="-Wundef $CXXFLAGS"
5489
{ echo "$as_me:$LINENO: result: no" >&5
5490
echo "${ECHO_T}no" >&6; }
5496
{ echo "$as_me:$LINENO: checking whether $CXX supports -Wno-long-long" >&5
5497
echo $ECHO_N "checking whether $CXX supports -Wno-long-long... $ECHO_C" >&6; }
5498
kde_cache=`echo Wno-long-long | sed 'y% .=/+-,%____p__%'`
5499
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5500
echo $ECHO_N "(cached) $ECHO_C" >&6
5505
ac_cpp='$CXXCPP $CPPFLAGS'
5506
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5507
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5508
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5510
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5513
save_CXXFLAGS="$CXXFLAGS"
5514
CXXFLAGS="$CXXFLAGS -Wno-long-long"
5515
cat >conftest.$ac_ext <<_ACEOF
5518
cat confdefs.h >>conftest.$ac_ext
5519
cat >>conftest.$ac_ext <<_ACEOF
5520
/* end confdefs.h. */
5530
rm -f conftest.$ac_objext conftest$ac_exeext
5531
if { (ac_try="$ac_link"
5533
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5534
*) ac_try_echo=$ac_try;;
5536
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5537
(eval "$ac_link") 2>conftest.er1
5539
grep -v '^ *+' conftest.er1 >conftest.err
5541
cat conftest.err >&5
5542
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5543
(exit $ac_status); } && {
5544
test -z "$ac_cxx_werror_flag" ||
5545
test ! -s conftest.err
5546
} && test -s conftest$ac_exeext &&
5547
$as_test_x conftest$ac_exeext; then
5548
eval "kde_cv_prog_cxx_$kde_cache=yes"
5550
echo "$as_me: failed program was:" >&5
5551
sed 's/^/| /' conftest.$ac_ext >&5
5556
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5557
conftest$ac_exeext conftest.$ac_ext
5558
CXXFLAGS="$save_CXXFLAGS"
5560
ac_cpp='$CPP $CPPFLAGS'
5561
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5562
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5563
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5568
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5569
{ echo "$as_me:$LINENO: result: yes" >&5
5570
echo "${ECHO_T}yes" >&6; }
5572
CXXFLAGS="-Wno-long-long $CXXFLAGS"
5574
{ echo "$as_me:$LINENO: result: no" >&5
5575
echo "${ECHO_T}no" >&6; }
5581
{ echo "$as_me:$LINENO: checking whether $CXX supports -Wno-non-virtual-dtor" >&5
5582
echo $ECHO_N "checking whether $CXX supports -Wno-non-virtual-dtor... $ECHO_C" >&6; }
5583
kde_cache=`echo Wno-non-virtual-dtor | sed 'y% .=/+-,%____p__%'`
5584
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5585
echo $ECHO_N "(cached) $ECHO_C" >&6
5590
ac_cpp='$CXXCPP $CPPFLAGS'
5591
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5592
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5593
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5595
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5598
save_CXXFLAGS="$CXXFLAGS"
5599
CXXFLAGS="$CXXFLAGS -Wno-non-virtual-dtor"
5600
cat >conftest.$ac_ext <<_ACEOF
5603
cat confdefs.h >>conftest.$ac_ext
5604
cat >>conftest.$ac_ext <<_ACEOF
5605
/* end confdefs.h. */
5615
rm -f conftest.$ac_objext conftest$ac_exeext
5616
if { (ac_try="$ac_link"
5618
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5619
*) ac_try_echo=$ac_try;;
5621
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5622
(eval "$ac_link") 2>conftest.er1
5624
grep -v '^ *+' conftest.er1 >conftest.err
5626
cat conftest.err >&5
5627
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5628
(exit $ac_status); } && {
5629
test -z "$ac_cxx_werror_flag" ||
5630
test ! -s conftest.err
5631
} && test -s conftest$ac_exeext &&
5632
$as_test_x conftest$ac_exeext; then
5633
eval "kde_cv_prog_cxx_$kde_cache=yes"
5635
echo "$as_me: failed program was:" >&5
5636
sed 's/^/| /' conftest.$ac_ext >&5
5641
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5642
conftest$ac_exeext conftest.$ac_ext
5643
CXXFLAGS="$save_CXXFLAGS"
5645
ac_cpp='$CPP $CPPFLAGS'
5646
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5647
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5648
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5653
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5654
{ echo "$as_me:$LINENO: result: yes" >&5
5655
echo "${ECHO_T}yes" >&6; }
5657
CXXFLAGS="$CXXFLAGS -Wno-non-virtual-dtor"
5659
{ echo "$as_me:$LINENO: result: no" >&5
5660
echo "${ECHO_T}no" >&6; }
5668
if test "$GXX" = "yes" && test "$kde_use_strict_options" = "yes"; then
5669
CXXFLAGS="-Wcast-qual -Wshadow -Wcast-align $CXXFLAGS"
5672
# Check whether --enable-pch was given.
5673
if test "${enable_pch+set}" = set; then
5674
enableval=$enable_pch; kde_use_pch=$enableval
5680
HAVE_GCC_VISIBILITY=0
5683
if test "$GXX" = "yes"; then
5685
{ echo "$as_me:$LINENO: checking whether $CXX supports -fno-exceptions" >&5
5686
echo $ECHO_N "checking whether $CXX supports -fno-exceptions... $ECHO_C" >&6; }
5687
kde_cache=`echo fno-exceptions | sed 'y% .=/+-,%____p__%'`
5688
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5689
echo $ECHO_N "(cached) $ECHO_C" >&6
5694
ac_cpp='$CXXCPP $CPPFLAGS'
5695
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5696
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5697
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5699
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5702
save_CXXFLAGS="$CXXFLAGS"
5703
CXXFLAGS="$CXXFLAGS -fno-exceptions"
5704
cat >conftest.$ac_ext <<_ACEOF
5707
cat confdefs.h >>conftest.$ac_ext
5708
cat >>conftest.$ac_ext <<_ACEOF
5709
/* end confdefs.h. */
5719
rm -f conftest.$ac_objext conftest$ac_exeext
5720
if { (ac_try="$ac_link"
5722
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5723
*) ac_try_echo=$ac_try;;
5725
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5726
(eval "$ac_link") 2>conftest.er1
5728
grep -v '^ *+' conftest.er1 >conftest.err
5730
cat conftest.err >&5
5731
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5732
(exit $ac_status); } && {
5733
test -z "$ac_cxx_werror_flag" ||
5734
test ! -s conftest.err
5735
} && test -s conftest$ac_exeext &&
5736
$as_test_x conftest$ac_exeext; then
5737
eval "kde_cv_prog_cxx_$kde_cache=yes"
5739
echo "$as_me: failed program was:" >&5
5740
sed 's/^/| /' conftest.$ac_ext >&5
5745
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5746
conftest$ac_exeext conftest.$ac_ext
5747
CXXFLAGS="$save_CXXFLAGS"
5749
ac_cpp='$CPP $CPPFLAGS'
5750
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5751
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5752
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5757
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5758
{ echo "$as_me:$LINENO: result: yes" >&5
5759
echo "${ECHO_T}yes" >&6; }
5761
CXXFLAGS="$CXXFLAGS -fno-exceptions"
5763
{ echo "$as_me:$LINENO: result: no" >&5
5764
echo "${ECHO_T}no" >&6; }
5770
{ echo "$as_me:$LINENO: checking whether $CXX supports -fno-check-new" >&5
5771
echo $ECHO_N "checking whether $CXX supports -fno-check-new... $ECHO_C" >&6; }
5772
kde_cache=`echo fno-check-new | sed 'y% .=/+-,%____p__%'`
5773
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5774
echo $ECHO_N "(cached) $ECHO_C" >&6
5779
ac_cpp='$CXXCPP $CPPFLAGS'
5780
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5781
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5782
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5784
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5787
save_CXXFLAGS="$CXXFLAGS"
5788
CXXFLAGS="$CXXFLAGS -fno-check-new"
5789
cat >conftest.$ac_ext <<_ACEOF
5792
cat confdefs.h >>conftest.$ac_ext
5793
cat >>conftest.$ac_ext <<_ACEOF
5794
/* end confdefs.h. */
5804
rm -f conftest.$ac_objext conftest$ac_exeext
5805
if { (ac_try="$ac_link"
5807
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5808
*) ac_try_echo=$ac_try;;
5810
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5811
(eval "$ac_link") 2>conftest.er1
5813
grep -v '^ *+' conftest.er1 >conftest.err
5815
cat conftest.err >&5
5816
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5817
(exit $ac_status); } && {
5818
test -z "$ac_cxx_werror_flag" ||
5819
test ! -s conftest.err
5820
} && test -s conftest$ac_exeext &&
5821
$as_test_x conftest$ac_exeext; then
5822
eval "kde_cv_prog_cxx_$kde_cache=yes"
5824
echo "$as_me: failed program was:" >&5
5825
sed 's/^/| /' conftest.$ac_ext >&5
5830
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5831
conftest$ac_exeext conftest.$ac_ext
5832
CXXFLAGS="$save_CXXFLAGS"
5834
ac_cpp='$CPP $CPPFLAGS'
5835
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5836
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5837
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5842
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5843
{ echo "$as_me:$LINENO: result: yes" >&5
5844
echo "${ECHO_T}yes" >&6; }
5846
CXXFLAGS="$CXXFLAGS -fno-check-new"
5848
{ echo "$as_me:$LINENO: result: no" >&5
5849
echo "${ECHO_T}no" >&6; }
5855
{ echo "$as_me:$LINENO: checking whether $CXX supports -fno-common" >&5
5856
echo $ECHO_N "checking whether $CXX supports -fno-common... $ECHO_C" >&6; }
5857
kde_cache=`echo fno-common | sed 'y% .=/+-,%____p__%'`
5858
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5859
echo $ECHO_N "(cached) $ECHO_C" >&6
5864
ac_cpp='$CXXCPP $CPPFLAGS'
5865
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5866
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5867
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5869
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5872
save_CXXFLAGS="$CXXFLAGS"
5873
CXXFLAGS="$CXXFLAGS -fno-common"
5874
cat >conftest.$ac_ext <<_ACEOF
5877
cat confdefs.h >>conftest.$ac_ext
5878
cat >>conftest.$ac_ext <<_ACEOF
5879
/* end confdefs.h. */
5889
rm -f conftest.$ac_objext conftest$ac_exeext
5890
if { (ac_try="$ac_link"
5892
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5893
*) ac_try_echo=$ac_try;;
5895
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5896
(eval "$ac_link") 2>conftest.er1
5898
grep -v '^ *+' conftest.er1 >conftest.err
5900
cat conftest.err >&5
5901
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5902
(exit $ac_status); } && {
5903
test -z "$ac_cxx_werror_flag" ||
5904
test ! -s conftest.err
5905
} && test -s conftest$ac_exeext &&
5906
$as_test_x conftest$ac_exeext; then
5907
eval "kde_cv_prog_cxx_$kde_cache=yes"
5909
echo "$as_me: failed program was:" >&5
5910
sed 's/^/| /' conftest.$ac_ext >&5
5915
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5916
conftest$ac_exeext conftest.$ac_ext
5917
CXXFLAGS="$save_CXXFLAGS"
5919
ac_cpp='$CPP $CPPFLAGS'
5920
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5921
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5922
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5927
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5928
{ echo "$as_me:$LINENO: result: yes" >&5
5929
echo "${ECHO_T}yes" >&6; }
5931
CXXFLAGS="$CXXFLAGS -fno-common"
5933
{ echo "$as_me:$LINENO: result: no" >&5
5934
echo "${ECHO_T}no" >&6; }
5940
{ echo "$as_me:$LINENO: checking whether $CXX supports -fexceptions" >&5
5941
echo $ECHO_N "checking whether $CXX supports -fexceptions... $ECHO_C" >&6; }
5942
kde_cache=`echo fexceptions | sed 'y% .=/+-,%____p__%'`
5943
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
5944
echo $ECHO_N "(cached) $ECHO_C" >&6
5949
ac_cpp='$CXXCPP $CPPFLAGS'
5950
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5951
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5952
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5954
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5957
save_CXXFLAGS="$CXXFLAGS"
5958
CXXFLAGS="$CXXFLAGS -fexceptions"
5959
cat >conftest.$ac_ext <<_ACEOF
5962
cat confdefs.h >>conftest.$ac_ext
5963
cat >>conftest.$ac_ext <<_ACEOF
5964
/* end confdefs.h. */
5974
rm -f conftest.$ac_objext conftest$ac_exeext
5975
if { (ac_try="$ac_link"
5977
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5978
*) ac_try_echo=$ac_try;;
5980
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5981
(eval "$ac_link") 2>conftest.er1
5983
grep -v '^ *+' conftest.er1 >conftest.err
5985
cat conftest.err >&5
5986
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5987
(exit $ac_status); } && {
5988
test -z "$ac_cxx_werror_flag" ||
5989
test ! -s conftest.err
5990
} && test -s conftest$ac_exeext &&
5991
$as_test_x conftest$ac_exeext; then
5992
eval "kde_cv_prog_cxx_$kde_cache=yes"
5994
echo "$as_me: failed program was:" >&5
5995
sed 's/^/| /' conftest.$ac_ext >&5
6000
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6001
conftest$ac_exeext conftest.$ac_ext
6002
CXXFLAGS="$save_CXXFLAGS"
6004
ac_cpp='$CPP $CPPFLAGS'
6005
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6006
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6007
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6012
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6013
{ echo "$as_me:$LINENO: result: yes" >&5
6014
echo "${ECHO_T}yes" >&6; }
6016
USE_EXCEPTIONS="-fexceptions"
6018
{ echo "$as_me:$LINENO: result: no" >&5
6019
echo "${ECHO_T}no" >&6; }
6024
ENABLE_PERMISSIVE_FLAG="-fpermissive"
6026
if test "$kde_use_pch" = "yes"; then
6027
{ echo "$as_me:$LINENO: checking whether gcc supports precompiling c header files" >&5
6028
echo $ECHO_N "checking whether gcc supports precompiling c header files... $ECHO_C" >&6; }
6030
if $CC -x c-header conftest.h >/dev/null 2>/dev/null; then
6031
kde_gcc_supports_pch=yes
6032
{ echo "$as_me:$LINENO: result: yes" >&5
6033
echo "${ECHO_T}yes" >&6; }
6035
kde_gcc_supports_pch=no
6036
{ echo "$as_me:$LINENO: result: no" >&5
6037
echo "${ECHO_T}no" >&6; }
6039
if test "$kde_gcc_supports_pch" = "yes"; then
6040
{ echo "$as_me:$LINENO: checking whether gcc supports precompiling c++ header files" >&5
6041
echo $ECHO_N "checking whether gcc supports precompiling c++ header files... $ECHO_C" >&6; }
6042
if $CXX -x c++-header conftest.h >/dev/null 2>/dev/null; then
6043
kde_gcc_supports_pch=yes
6044
{ echo "$as_me:$LINENO: result: yes" >&5
6045
echo "${ECHO_T}yes" >&6; }
6047
kde_gcc_supports_pch=no
6048
{ echo "$as_me:$LINENO: result: no" >&5
6049
echo "${ECHO_T}no" >&6; }
6052
rm -f conftest.h conftest.h.gch
6055
if test "$kde_use_pch" = "yes" && test "$kde_gcc_supports_pch" = "yes"; then
6056
unsermake_enable_pch_TRUE=
6057
unsermake_enable_pch_FALSE='#'
6059
unsermake_enable_pch_TRUE='#'
6060
unsermake_enable_pch_FALSE=
6063
if test "$CXX" = "KCC"; then
6065
if test "$kde_use_pch" = "yes"; then
6067
{ echo "$as_me:$LINENO: checking whether $CXX supports --pch" >&5
6068
echo $ECHO_N "checking whether $CXX supports --pch... $ECHO_C" >&6; }
6069
kde_cache=`echo -pch | sed 'y% .=/+-,%____p__%'`
6070
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
6071
echo $ECHO_N "(cached) $ECHO_C" >&6
6076
ac_cpp='$CXXCPP $CPPFLAGS'
6077
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6078
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6079
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6081
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6084
save_CXXFLAGS="$CXXFLAGS"
6085
CXXFLAGS="$CXXFLAGS --pch"
6086
cat >conftest.$ac_ext <<_ACEOF
6089
cat confdefs.h >>conftest.$ac_ext
6090
cat >>conftest.$ac_ext <<_ACEOF
6091
/* end confdefs.h. */
6101
rm -f conftest.$ac_objext conftest$ac_exeext
6102
if { (ac_try="$ac_link"
6104
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6105
*) ac_try_echo=$ac_try;;
6107
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6108
(eval "$ac_link") 2>conftest.er1
6110
grep -v '^ *+' conftest.er1 >conftest.err
6112
cat conftest.err >&5
6113
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6114
(exit $ac_status); } && {
6115
test -z "$ac_cxx_werror_flag" ||
6116
test ! -s conftest.err
6117
} && test -s conftest$ac_exeext &&
6118
$as_test_x conftest$ac_exeext; then
6119
eval "kde_cv_prog_cxx_$kde_cache=yes"
6121
echo "$as_me: failed program was:" >&5
6122
sed 's/^/| /' conftest.$ac_ext >&5
6127
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6128
conftest$ac_exeext conftest.$ac_ext
6129
CXXFLAGS="$save_CXXFLAGS"
6131
ac_cpp='$CPP $CPPFLAGS'
6132
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6133
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6134
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6139
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6140
{ echo "$as_me:$LINENO: result: yes" >&5
6141
echo "${ECHO_T}yes" >&6; }
6143
CXXFLAGS="$CXXFLAGS --pch"
6145
{ echo "$as_me:$LINENO: result: no" >&5
6146
echo "${ECHO_T}no" >&6; }
6153
{ echo "$as_me:$LINENO: checking whether $CXX supports --inline_keyword_space_time=6" >&5
6154
echo $ECHO_N "checking whether $CXX supports --inline_keyword_space_time=6... $ECHO_C" >&6; }
6155
kde_cache=`echo -inline_keyword_space_time=6 | sed 'y% .=/+-,%____p__%'`
6156
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
6157
echo $ECHO_N "(cached) $ECHO_C" >&6
6162
ac_cpp='$CXXCPP $CPPFLAGS'
6163
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6164
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6165
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6167
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6170
save_CXXFLAGS="$CXXFLAGS"
6171
CXXFLAGS="$CXXFLAGS --inline_keyword_space_time=6"
6172
cat >conftest.$ac_ext <<_ACEOF
6175
cat confdefs.h >>conftest.$ac_ext
6176
cat >>conftest.$ac_ext <<_ACEOF
6177
/* end confdefs.h. */
6187
rm -f conftest.$ac_objext conftest$ac_exeext
6188
if { (ac_try="$ac_link"
6190
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6191
*) ac_try_echo=$ac_try;;
6193
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6194
(eval "$ac_link") 2>conftest.er1
6196
grep -v '^ *+' conftest.er1 >conftest.err
6198
cat conftest.err >&5
6199
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6200
(exit $ac_status); } && {
6201
test -z "$ac_cxx_werror_flag" ||
6202
test ! -s conftest.err
6203
} && test -s conftest$ac_exeext &&
6204
$as_test_x conftest$ac_exeext; then
6205
eval "kde_cv_prog_cxx_$kde_cache=yes"
6207
echo "$as_me: failed program was:" >&5
6208
sed 's/^/| /' conftest.$ac_ext >&5
6213
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6214
conftest$ac_exeext conftest.$ac_ext
6215
CXXFLAGS="$save_CXXFLAGS"
6217
ac_cpp='$CPP $CPPFLAGS'
6218
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6219
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6220
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6225
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6226
{ echo "$as_me:$LINENO: result: yes" >&5
6227
echo "${ECHO_T}yes" >&6; }
6229
CXXFLAGS="$CXXFLAGS --inline_keyword_space_time=6"
6231
{ echo "$as_me:$LINENO: result: no" >&5
6232
echo "${ECHO_T}no" >&6; }
6238
{ echo "$as_me:$LINENO: checking whether $CXX supports --inline_auto_space_time=2" >&5
6239
echo $ECHO_N "checking whether $CXX supports --inline_auto_space_time=2... $ECHO_C" >&6; }
6240
kde_cache=`echo -inline_auto_space_time=2 | sed 'y% .=/+-,%____p__%'`
6241
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
6242
echo $ECHO_N "(cached) $ECHO_C" >&6
6247
ac_cpp='$CXXCPP $CPPFLAGS'
6248
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6249
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6250
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6252
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6255
save_CXXFLAGS="$CXXFLAGS"
6256
CXXFLAGS="$CXXFLAGS --inline_auto_space_time=2"
6257
cat >conftest.$ac_ext <<_ACEOF
6260
cat confdefs.h >>conftest.$ac_ext
6261
cat >>conftest.$ac_ext <<_ACEOF
6262
/* end confdefs.h. */
6272
rm -f conftest.$ac_objext conftest$ac_exeext
6273
if { (ac_try="$ac_link"
6275
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6276
*) ac_try_echo=$ac_try;;
6278
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6279
(eval "$ac_link") 2>conftest.er1
6281
grep -v '^ *+' conftest.er1 >conftest.err
6283
cat conftest.err >&5
6284
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6285
(exit $ac_status); } && {
6286
test -z "$ac_cxx_werror_flag" ||
6287
test ! -s conftest.err
6288
} && test -s conftest$ac_exeext &&
6289
$as_test_x conftest$ac_exeext; then
6290
eval "kde_cv_prog_cxx_$kde_cache=yes"
6292
echo "$as_me: failed program was:" >&5
6293
sed 's/^/| /' conftest.$ac_ext >&5
6298
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6299
conftest$ac_exeext conftest.$ac_ext
6300
CXXFLAGS="$save_CXXFLAGS"
6302
ac_cpp='$CPP $CPPFLAGS'
6303
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6304
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6305
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6310
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6311
{ echo "$as_me:$LINENO: result: yes" >&5
6312
echo "${ECHO_T}yes" >&6; }
6314
CXXFLAGS="$CXXFLAGS --inline_auto_space_time=2"
6316
{ echo "$as_me:$LINENO: result: no" >&5
6317
echo "${ECHO_T}no" >&6; }
6323
{ echo "$as_me:$LINENO: checking whether $CXX supports --inline_implicit_space_time=2.0" >&5
6324
echo $ECHO_N "checking whether $CXX supports --inline_implicit_space_time=2.0... $ECHO_C" >&6; }
6325
kde_cache=`echo -inline_implicit_space_time=2.0 | sed 'y% .=/+-,%____p__%'`
6326
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
6327
echo $ECHO_N "(cached) $ECHO_C" >&6
6332
ac_cpp='$CXXCPP $CPPFLAGS'
6333
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6334
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6335
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6337
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6340
save_CXXFLAGS="$CXXFLAGS"
6341
CXXFLAGS="$CXXFLAGS --inline_implicit_space_time=2.0"
6342
cat >conftest.$ac_ext <<_ACEOF
6345
cat confdefs.h >>conftest.$ac_ext
6346
cat >>conftest.$ac_ext <<_ACEOF
6347
/* end confdefs.h. */
6357
rm -f conftest.$ac_objext conftest$ac_exeext
6358
if { (ac_try="$ac_link"
6360
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6361
*) ac_try_echo=$ac_try;;
6363
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6364
(eval "$ac_link") 2>conftest.er1
6366
grep -v '^ *+' conftest.er1 >conftest.err
6368
cat conftest.err >&5
6369
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6370
(exit $ac_status); } && {
6371
test -z "$ac_cxx_werror_flag" ||
6372
test ! -s conftest.err
6373
} && test -s conftest$ac_exeext &&
6374
$as_test_x conftest$ac_exeext; then
6375
eval "kde_cv_prog_cxx_$kde_cache=yes"
6377
echo "$as_me: failed program was:" >&5
6378
sed 's/^/| /' conftest.$ac_ext >&5
6383
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6384
conftest$ac_exeext conftest.$ac_ext
6385
CXXFLAGS="$save_CXXFLAGS"
6387
ac_cpp='$CPP $CPPFLAGS'
6388
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6389
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6390
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6395
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6396
{ echo "$as_me:$LINENO: result: yes" >&5
6397
echo "${ECHO_T}yes" >&6; }
6399
CXXFLAGS="$CXXFLAGS --inline_implicit_space_time=2.0"
6401
{ echo "$as_me:$LINENO: result: no" >&5
6402
echo "${ECHO_T}no" >&6; }
6408
{ echo "$as_me:$LINENO: checking whether $CXX supports --inline_generated_space_time=2.0" >&5
6409
echo $ECHO_N "checking whether $CXX supports --inline_generated_space_time=2.0... $ECHO_C" >&6; }
6410
kde_cache=`echo -inline_generated_space_time=2.0 | sed 'y% .=/+-,%____p__%'`
6411
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
6412
echo $ECHO_N "(cached) $ECHO_C" >&6
6417
ac_cpp='$CXXCPP $CPPFLAGS'
6418
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6419
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6420
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6422
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6425
save_CXXFLAGS="$CXXFLAGS"
6426
CXXFLAGS="$CXXFLAGS --inline_generated_space_time=2.0"
6427
cat >conftest.$ac_ext <<_ACEOF
6430
cat confdefs.h >>conftest.$ac_ext
6431
cat >>conftest.$ac_ext <<_ACEOF
6432
/* end confdefs.h. */
6442
rm -f conftest.$ac_objext conftest$ac_exeext
6443
if { (ac_try="$ac_link"
6445
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6446
*) ac_try_echo=$ac_try;;
6448
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6449
(eval "$ac_link") 2>conftest.er1
6451
grep -v '^ *+' conftest.er1 >conftest.err
6453
cat conftest.err >&5
6454
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6455
(exit $ac_status); } && {
6456
test -z "$ac_cxx_werror_flag" ||
6457
test ! -s conftest.err
6458
} && test -s conftest$ac_exeext &&
6459
$as_test_x conftest$ac_exeext; then
6460
eval "kde_cv_prog_cxx_$kde_cache=yes"
6462
echo "$as_me: failed program was:" >&5
6463
sed 's/^/| /' conftest.$ac_ext >&5
6468
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6469
conftest$ac_exeext conftest.$ac_ext
6470
CXXFLAGS="$save_CXXFLAGS"
6472
ac_cpp='$CPP $CPPFLAGS'
6473
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6474
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6475
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6480
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6481
{ echo "$as_me:$LINENO: result: yes" >&5
6482
echo "${ECHO_T}yes" >&6; }
6484
CXXFLAGS="$CXXFLAGS --inline_generated_space_time=2.0"
6486
{ echo "$as_me:$LINENO: result: no" >&5
6487
echo "${ECHO_T}no" >&6; }
6493
{ echo "$as_me:$LINENO: checking whether $CXX supports --one_per" >&5
6494
echo $ECHO_N "checking whether $CXX supports --one_per... $ECHO_C" >&6; }
6495
kde_cache=`echo -one_per | sed 'y% .=/+-,%____p__%'`
6496
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
6497
echo $ECHO_N "(cached) $ECHO_C" >&6
6502
ac_cpp='$CXXCPP $CPPFLAGS'
6503
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6504
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6505
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6507
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6510
save_CXXFLAGS="$CXXFLAGS"
6511
CXXFLAGS="$CXXFLAGS --one_per"
6512
cat >conftest.$ac_ext <<_ACEOF
6515
cat confdefs.h >>conftest.$ac_ext
6516
cat >>conftest.$ac_ext <<_ACEOF
6517
/* end confdefs.h. */
6527
rm -f conftest.$ac_objext conftest$ac_exeext
6528
if { (ac_try="$ac_link"
6530
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6531
*) ac_try_echo=$ac_try;;
6533
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6534
(eval "$ac_link") 2>conftest.er1
6536
grep -v '^ *+' conftest.er1 >conftest.err
6538
cat conftest.err >&5
6539
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6540
(exit $ac_status); } && {
6541
test -z "$ac_cxx_werror_flag" ||
6542
test ! -s conftest.err
6543
} && test -s conftest$ac_exeext &&
6544
$as_test_x conftest$ac_exeext; then
6545
eval "kde_cv_prog_cxx_$kde_cache=yes"
6547
echo "$as_me: failed program was:" >&5
6548
sed 's/^/| /' conftest.$ac_ext >&5
6553
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6554
conftest$ac_exeext conftest.$ac_ext
6555
CXXFLAGS="$save_CXXFLAGS"
6557
ac_cpp='$CPP $CPPFLAGS'
6558
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6559
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6560
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6565
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6566
{ echo "$as_me:$LINENO: result: yes" >&5
6567
echo "${ECHO_T}yes" >&6; }
6569
CXXFLAGS="$CXXFLAGS --one_per"
6571
{ echo "$as_me:$LINENO: result: no" >&5
6572
echo "${ECHO_T}no" >&6; }
6583
*-*-irix*) test "$GXX" = yes && CXXFLAGS="-D_LANGUAGE_C_PLUS_PLUS -D__LANGUAGE_C_PLUS_PLUS $CXXFLAGS" ;;
6584
*-*-sysv4.2uw*) CXXFLAGS="-D_UNIXWARE $CXXFLAGS";;
6585
*-*-sysv5uw7*) CXXFLAGS="-D_UNIXWARE7 $CXXFLAGS";;
6587
if test "$GXX" = yes; then
6588
libstdcpp=`$CXX -print-file-name=libstdc++.so`
6589
if test ! -f $libstdcpp; then
6590
{ { echo "$as_me:$LINENO: error: You've compiled gcc without --enable-shared. This doesn't work with KDE. Please recompile gcc with --enable-shared to receive a libstdc++.so" >&5
6591
echo "$as_me: error: You've compiled gcc without --enable-shared. This doesn't work with KDE. Please recompile gcc with --enable-shared to receive a libstdc++.so" >&2;}
6592
{ (exit 1); exit 1; }; }
6598
if test "x$kde_use_qt_emb" != "xyes"; then
6600
__forbid=" -fno-rtti -rpath "
6601
if test -n "$__val"; then
6607
*" $i "*) { echo "$as_me:$LINENO: WARNING: found forbidden $i in CXX, removing it" >&5
6608
echo "$as_me: WARNING: found forbidden $i in CXX, removing it" >&2;} ;;
6609
*) # Careful to not add spaces, where there were none, because otherwise
6610
# libtool gets confused, if we change e.g. CXX
6611
if test -z "$__new" ; then __new=$i ; else __new="$__new $i" ; fi ;;
6619
__forbid=" -fno-rtti -rpath "
6620
if test -n "$__val"; then
6626
*" $i "*) { echo "$as_me:$LINENO: WARNING: found forbidden $i in CXXFLAGS, removing it" >&5
6627
echo "$as_me: WARNING: found forbidden $i in CXXFLAGS, removing it" >&2;} ;;
6628
*) # Careful to not add spaces, where there were none, because otherwise
6629
# libtool gets confused, if we change e.g. CXX
6630
if test -z "$__new" ; then __new=$i ; else __new="$__new $i" ; fi ;;
6640
if test -n "$__val"; then
6646
*" $i "*) { echo "$as_me:$LINENO: WARNING: found forbidden $i in CXX, removing it" >&5
6647
echo "$as_me: WARNING: found forbidden $i in CXX, removing it" >&2;} ;;
6648
*) # Careful to not add spaces, where there were none, because otherwise
6649
# libtool gets confused, if we change e.g. CXX
6650
if test -z "$__new" ; then __new=$i ; else __new="$__new $i" ; fi ;;
6659
if test -n "$__val"; then
6665
*" $i "*) { echo "$as_me:$LINENO: WARNING: found forbidden $i in CXXFLAGS, removing it" >&5
6666
echo "$as_me: WARNING: found forbidden $i in CXXFLAGS, removing it" >&2;} ;;
6667
*) # Careful to not add spaces, where there were none, because otherwise
6668
# libtool gets confused, if we change e.g. CXX
6669
if test -z "$__new" ; then __new=$i ; else __new="$__new $i" ; fi ;;
6680
ac_cpp='$CXXCPP $CPPFLAGS'
6681
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6682
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6683
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6684
{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6685
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
6686
if test -z "$CXXCPP"; then
6687
if test "${ac_cv_prog_CXXCPP+set}" = set; then
6688
echo $ECHO_N "(cached) $ECHO_C" >&6
6690
# Double quotes because CXXCPP needs to be expanded
6691
for CXXCPP in "$CXX -E" "/lib/cpp"
6694
for ac_cxx_preproc_warn_flag in '' yes
6696
# Use a header file that comes with gcc, so configuring glibc
6697
# with a fresh cross-compiler works.
6698
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6699
# <limits.h> exists even on freestanding compilers.
6700
# On the NeXT, cc -E runs the code through the compiler's parser,
6701
# not just through cpp. "Syntax error" is here to catch this case.
6702
cat >conftest.$ac_ext <<_ACEOF
6705
cat confdefs.h >>conftest.$ac_ext
6706
cat >>conftest.$ac_ext <<_ACEOF
6707
/* end confdefs.h. */
6709
@%:@ include <limits.h>
6711
@%:@ include <assert.h>
6715
if { (ac_try="$ac_cpp conftest.$ac_ext"
6717
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6718
*) ac_try_echo=$ac_try;;
6720
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6721
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6723
grep -v '^ *+' conftest.er1 >conftest.err
6725
cat conftest.err >&5
6726
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6727
(exit $ac_status); } >/dev/null && {
6728
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6729
test ! -s conftest.err
6733
echo "$as_me: failed program was:" >&5
6734
sed 's/^/| /' conftest.$ac_ext >&5
6736
# Broken: fails on valid input.
6740
rm -f conftest.err conftest.$ac_ext
6742
# OK, works on sane cases. Now check whether nonexistent headers
6743
# can be detected and how.
6744
cat >conftest.$ac_ext <<_ACEOF
6747
cat confdefs.h >>conftest.$ac_ext
6748
cat >>conftest.$ac_ext <<_ACEOF
6749
/* end confdefs.h. */
6750
@%:@include <ac_nonexistent.h>
6752
if { (ac_try="$ac_cpp conftest.$ac_ext"
6754
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6755
*) ac_try_echo=$ac_try;;
6757
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6758
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6760
grep -v '^ *+' conftest.er1 >conftest.err
6762
cat conftest.err >&5
6763
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6764
(exit $ac_status); } >/dev/null && {
6765
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6766
test ! -s conftest.err
6768
# Broken: success on invalid input.
6771
echo "$as_me: failed program was:" >&5
6772
sed 's/^/| /' conftest.$ac_ext >&5
6774
# Passes both tests.
6779
rm -f conftest.err conftest.$ac_ext
6782
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6783
rm -f conftest.err conftest.$ac_ext
6784
if $ac_preproc_ok; then
6789
ac_cv_prog_CXXCPP=$CXXCPP
6792
CXXCPP=$ac_cv_prog_CXXCPP
6794
ac_cv_prog_CXXCPP=$CXXCPP
6796
{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
6797
echo "${ECHO_T}$CXXCPP" >&6; }
6799
for ac_cxx_preproc_warn_flag in '' yes
6801
# Use a header file that comes with gcc, so configuring glibc
6802
# with a fresh cross-compiler works.
6803
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6804
# <limits.h> exists even on freestanding compilers.
6805
# On the NeXT, cc -E runs the code through the compiler's parser,
6806
# not just through cpp. "Syntax error" is here to catch this case.
6807
cat >conftest.$ac_ext <<_ACEOF
6810
cat confdefs.h >>conftest.$ac_ext
6811
cat >>conftest.$ac_ext <<_ACEOF
6812
/* end confdefs.h. */
6814
@%:@ include <limits.h>
6816
@%:@ include <assert.h>
6820
if { (ac_try="$ac_cpp conftest.$ac_ext"
6822
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6823
*) ac_try_echo=$ac_try;;
6825
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6826
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6828
grep -v '^ *+' conftest.er1 >conftest.err
6830
cat conftest.err >&5
6831
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6832
(exit $ac_status); } >/dev/null && {
6833
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6834
test ! -s conftest.err
6838
echo "$as_me: failed program was:" >&5
6839
sed 's/^/| /' conftest.$ac_ext >&5
6841
# Broken: fails on valid input.
6845
rm -f conftest.err conftest.$ac_ext
6847
# OK, works on sane cases. Now check whether nonexistent headers
6848
# can be detected and how.
6849
cat >conftest.$ac_ext <<_ACEOF
6852
cat confdefs.h >>conftest.$ac_ext
6853
cat >>conftest.$ac_ext <<_ACEOF
6854
/* end confdefs.h. */
6855
@%:@include <ac_nonexistent.h>
6857
if { (ac_try="$ac_cpp conftest.$ac_ext"
6859
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6860
*) ac_try_echo=$ac_try;;
6862
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6863
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6865
grep -v '^ *+' conftest.er1 >conftest.err
6867
cat conftest.err >&5
6868
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6869
(exit $ac_status); } >/dev/null && {
6870
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6871
test ! -s conftest.err
6873
# Broken: success on invalid input.
6876
echo "$as_me: failed program was:" >&5
6877
sed 's/^/| /' conftest.$ac_ext >&5
6879
# Passes both tests.
6884
rm -f conftest.err conftest.$ac_ext
6887
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6888
rm -f conftest.err conftest.$ac_ext
6889
if $ac_preproc_ok; then
6892
{ { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6893
See \`config.log' for more details." >&5
6894
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6895
See \`config.log' for more details." >&2;}
6896
{ (exit 1); exit 1; }; }
6900
ac_cpp='$CPP $CPPFLAGS'
6901
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6902
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6903
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6906
if test "$GCC" = yes; then
6910
{ echo "$as_me:$LINENO: checking whether $CXX supports -O0" >&5
6911
echo $ECHO_N "checking whether $CXX supports -O0... $ECHO_C" >&6; }
6912
kde_cache=`echo O0 | sed 'y% .=/+-,%____p__%'`
6913
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
6914
echo $ECHO_N "(cached) $ECHO_C" >&6
6919
ac_cpp='$CXXCPP $CPPFLAGS'
6920
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6921
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6922
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6924
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6927
save_CXXFLAGS="$CXXFLAGS"
6928
CXXFLAGS="$CXXFLAGS -O0"
6929
cat >conftest.$ac_ext <<_ACEOF
6932
cat confdefs.h >>conftest.$ac_ext
6933
cat >>conftest.$ac_ext <<_ACEOF
6934
/* end confdefs.h. */
6944
rm -f conftest.$ac_objext conftest$ac_exeext
6945
if { (ac_try="$ac_link"
6947
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6948
*) ac_try_echo=$ac_try;;
6950
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6951
(eval "$ac_link") 2>conftest.er1
6953
grep -v '^ *+' conftest.er1 >conftest.err
6955
cat conftest.err >&5
6956
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6957
(exit $ac_status); } && {
6958
test -z "$ac_cxx_werror_flag" ||
6959
test ! -s conftest.err
6960
} && test -s conftest$ac_exeext &&
6961
$as_test_x conftest$ac_exeext; then
6962
eval "kde_cv_prog_cxx_$kde_cache=yes"
6964
echo "$as_me: failed program was:" >&5
6965
sed 's/^/| /' conftest.$ac_ext >&5
6970
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6971
conftest$ac_exeext conftest.$ac_ext
6972
CXXFLAGS="$save_CXXFLAGS"
6974
ac_cpp='$CPP $CPPFLAGS'
6975
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6976
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6977
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6982
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6983
{ echo "$as_me:$LINENO: result: yes" >&5
6984
echo "${ECHO_T}yes" >&6; }
6988
{ echo "$as_me:$LINENO: result: no" >&5
6989
echo "${ECHO_T}no" >&6; }
6995
# Check whether --enable-coverage was given.
6996
if test "${enable_coverage+set}" = set; then
6997
enableval=$enable_coverage;
6998
if test "$am_cv_CC_dependencies_compiler_type" = "gcc3"; then
6999
ac_coverage_compiler="-fprofile-arcs -ftest-coverage"
7000
ac_coverage_linker="-lgcc"
7001
elif test "$am_cv_CC_dependencies_compiler_type" = "gcc"; then
7002
ac_coverage_compiler="-fprofile-arcs -ftest-coverage"
7003
ac_coverage_linker=""
7005
{ { echo "$as_me:$LINENO: error: coverage with your compiler is not supported" >&5
7006
echo "$as_me: error: coverage with your compiler is not supported" >&2;}
7007
{ (exit 1); exit 1; }; }
7009
CFLAGS="$CFLAGS $ac_coverage_compiler"
7010
CXXFLAGS="$CXXFLAGS $ac_coverage_compiler"
7011
LDFLAGS="$LDFLAGS $ac_coverage_linker"
7021
# Check whether --enable-new_ldflags was given.
7022
if test "${enable_new_ldflags+set}" = set; then
7023
enableval=$enable_new_ldflags; kde_use_new_ldflags=$enableval
7025
kde_use_new_ldflags=no
7029
LDFLAGS_AS_NEEDED=""
7030
LDFLAGS_NEW_DTAGS=""
7031
if test "x$kde_use_new_ldflags" = "xyes"; then
7032
LDFLAGS_NEW_DTAGS=""
7034
{ echo "$as_me:$LINENO: checking whether $CXX supports -Wl,--enable-new-dtags" >&5
7035
echo $ECHO_N "checking whether $CXX supports -Wl,--enable-new-dtags... $ECHO_C" >&6; }
7036
kde_cache=`echo Wl,--enable-new-dtags | sed 'y% .=/+-,%____p__%'`
7037
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
7038
echo $ECHO_N "(cached) $ECHO_C" >&6
7043
ac_cpp='$CXXCPP $CPPFLAGS'
7044
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7045
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7046
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7048
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7051
save_CXXFLAGS="$CXXFLAGS"
7052
CXXFLAGS="$CXXFLAGS -Wl,--enable-new-dtags"
7053
cat >conftest.$ac_ext <<_ACEOF
7056
cat confdefs.h >>conftest.$ac_ext
7057
cat >>conftest.$ac_ext <<_ACEOF
7058
/* end confdefs.h. */
7068
rm -f conftest.$ac_objext conftest$ac_exeext
7069
if { (ac_try="$ac_link"
7071
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7072
*) ac_try_echo=$ac_try;;
7074
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7075
(eval "$ac_link") 2>conftest.er1
7077
grep -v '^ *+' conftest.er1 >conftest.err
7079
cat conftest.err >&5
7080
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7081
(exit $ac_status); } && {
7082
test -z "$ac_cxx_werror_flag" ||
7083
test ! -s conftest.err
7084
} && test -s conftest$ac_exeext &&
7085
$as_test_x conftest$ac_exeext; then
7086
eval "kde_cv_prog_cxx_$kde_cache=yes"
7088
echo "$as_me: failed program was:" >&5
7089
sed 's/^/| /' conftest.$ac_ext >&5
7094
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7095
conftest$ac_exeext conftest.$ac_ext
7096
CXXFLAGS="$save_CXXFLAGS"
7098
ac_cpp='$CPP $CPPFLAGS'
7099
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7100
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7101
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7106
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
7107
{ echo "$as_me:$LINENO: result: yes" >&5
7108
echo "${ECHO_T}yes" >&6; }
7110
LDFLAGS_NEW_DTAGS="-Wl,--enable-new-dtags"
7112
{ echo "$as_me:$LINENO: result: no" >&5
7113
echo "${ECHO_T}no" >&6; }
7120
{ echo "$as_me:$LINENO: checking whether $CXX supports -Wl,--as-needed" >&5
7121
echo $ECHO_N "checking whether $CXX supports -Wl,--as-needed... $ECHO_C" >&6; }
7122
kde_cache=`echo Wl,--as-needed | sed 'y% .=/+-,%____p__%'`
7123
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
7124
echo $ECHO_N "(cached) $ECHO_C" >&6
7129
ac_cpp='$CXXCPP $CPPFLAGS'
7130
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7131
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7132
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7134
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7137
save_CXXFLAGS="$CXXFLAGS"
7138
CXXFLAGS="$CXXFLAGS -Wl,--as-needed"
7139
cat >conftest.$ac_ext <<_ACEOF
7142
cat confdefs.h >>conftest.$ac_ext
7143
cat >>conftest.$ac_ext <<_ACEOF
7144
/* end confdefs.h. */
7154
rm -f conftest.$ac_objext conftest$ac_exeext
7155
if { (ac_try="$ac_link"
7157
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7158
*) ac_try_echo=$ac_try;;
7160
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7161
(eval "$ac_link") 2>conftest.er1
7163
grep -v '^ *+' conftest.er1 >conftest.err
7165
cat conftest.err >&5
7166
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7167
(exit $ac_status); } && {
7168
test -z "$ac_cxx_werror_flag" ||
7169
test ! -s conftest.err
7170
} && test -s conftest$ac_exeext &&
7171
$as_test_x conftest$ac_exeext; then
7172
eval "kde_cv_prog_cxx_$kde_cache=yes"
7174
echo "$as_me: failed program was:" >&5
7175
sed 's/^/| /' conftest.$ac_ext >&5
7180
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7181
conftest$ac_exeext conftest.$ac_ext
7182
CXXFLAGS="$save_CXXFLAGS"
7184
ac_cpp='$CPP $CPPFLAGS'
7185
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7186
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7187
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7192
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
7193
{ echo "$as_me:$LINENO: result: yes" >&5
7194
echo "${ECHO_T}yes" >&6; }
7196
LDFLAGS_AS_NEEDED="-Wl,--as-needed"
7198
{ echo "$as_me:$LINENO: result: no" >&5
7199
echo "${ECHO_T}no" >&6; }
7209
# Check whether --enable-final was given.
7210
if test "${enable_final+set}" = set; then
7211
enableval=$enable_final; kde_use_final=$enableval
7217
if test "x$kde_use_final" = "xyes"; then
7218
KDE_USE_FINAL_TRUE=""
7219
KDE_USE_FINAL_FALSE="#"
7221
KDE_USE_FINAL_TRUE="#"
7222
KDE_USE_FINAL_FALSE=""
7228
# Check whether --enable-closure was given.
7229
if test "${enable_closure+set}" = set; then
7230
enableval=$enable_closure; kde_use_closure=$enableval
7237
if test "x$kde_use_closure" = "xyes"; then
7238
KDE_USE_CLOSURE_TRUE=""
7239
KDE_USE_CLOSURE_FALSE="#"
7240
# CXXFLAGS="$CXXFLAGS $REPO"
7242
KDE_USE_CLOSURE_TRUE="#"
7243
KDE_USE_CLOSURE_FALSE=""
7248
{ echo "$as_me:$LINENO: checking whether $CXX supports -Wl,--no-undefined" >&5
7249
echo $ECHO_N "checking whether $CXX supports -Wl,--no-undefined... $ECHO_C" >&6; }
7250
kde_cache=`echo Wl,--no-undefined | sed 'y% .=/+-,%____p__%'`
7251
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
7252
echo $ECHO_N "(cached) $ECHO_C" >&6
7257
ac_cpp='$CXXCPP $CPPFLAGS'
7258
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7259
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7260
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7262
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7265
save_CXXFLAGS="$CXXFLAGS"
7266
CXXFLAGS="$CXXFLAGS -Wl,--no-undefined"
7267
cat >conftest.$ac_ext <<_ACEOF
7270
cat confdefs.h >>conftest.$ac_ext
7271
cat >>conftest.$ac_ext <<_ACEOF
7272
/* end confdefs.h. */
7282
rm -f conftest.$ac_objext conftest$ac_exeext
7283
if { (ac_try="$ac_link"
7285
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7286
*) ac_try_echo=$ac_try;;
7288
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7289
(eval "$ac_link") 2>conftest.er1
7291
grep -v '^ *+' conftest.er1 >conftest.err
7293
cat conftest.err >&5
7294
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7295
(exit $ac_status); } && {
7296
test -z "$ac_cxx_werror_flag" ||
7297
test ! -s conftest.err
7298
} && test -s conftest$ac_exeext &&
7299
$as_test_x conftest$ac_exeext; then
7300
eval "kde_cv_prog_cxx_$kde_cache=yes"
7302
echo "$as_me: failed program was:" >&5
7303
sed 's/^/| /' conftest.$ac_ext >&5
7308
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7309
conftest$ac_exeext conftest.$ac_ext
7310
CXXFLAGS="$save_CXXFLAGS"
7312
ac_cpp='$CPP $CPPFLAGS'
7313
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7314
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7315
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7320
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
7321
{ echo "$as_me:$LINENO: result: yes" >&5
7322
echo "${ECHO_T}yes" >&6; }
7325
{ echo "$as_me:$LINENO: checking whether $CXX supports -Wl,--allow-shlib-undefined" >&5
7326
echo $ECHO_N "checking whether $CXX supports -Wl,--allow-shlib-undefined... $ECHO_C" >&6; }
7327
kde_cache=`echo Wl,--allow-shlib-undefined | sed 'y% .=/+-,%____p__%'`
7328
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
7329
echo $ECHO_N "(cached) $ECHO_C" >&6
7334
ac_cpp='$CXXCPP $CPPFLAGS'
7335
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7336
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7337
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7339
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7342
save_CXXFLAGS="$CXXFLAGS"
7343
CXXFLAGS="$CXXFLAGS -Wl,--allow-shlib-undefined"
7344
cat >conftest.$ac_ext <<_ACEOF
7347
cat confdefs.h >>conftest.$ac_ext
7348
cat >>conftest.$ac_ext <<_ACEOF
7349
/* end confdefs.h. */
7359
rm -f conftest.$ac_objext conftest$ac_exeext
7360
if { (ac_try="$ac_link"
7362
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7363
*) ac_try_echo=$ac_try;;
7365
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7366
(eval "$ac_link") 2>conftest.er1
7368
grep -v '^ *+' conftest.er1 >conftest.err
7370
cat conftest.err >&5
7371
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7372
(exit $ac_status); } && {
7373
test -z "$ac_cxx_werror_flag" ||
7374
test ! -s conftest.err
7375
} && test -s conftest$ac_exeext &&
7376
$as_test_x conftest$ac_exeext; then
7377
eval "kde_cv_prog_cxx_$kde_cache=yes"
7379
echo "$as_me: failed program was:" >&5
7380
sed 's/^/| /' conftest.$ac_ext >&5
7385
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7386
conftest$ac_exeext conftest.$ac_ext
7387
CXXFLAGS="$save_CXXFLAGS"
7389
ac_cpp='$CPP $CPPFLAGS'
7390
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7391
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7392
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7397
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
7398
{ echo "$as_me:$LINENO: result: yes" >&5
7399
echo "${ECHO_T}yes" >&6; }
7401
KDE_NO_UNDEFINED="-Wl,--no-undefined -Wl,--allow-shlib-undefined"
7403
{ echo "$as_me:$LINENO: result: no" >&5
7404
echo "${ECHO_T}no" >&6; }
7410
{ echo "$as_me:$LINENO: result: no" >&5
7411
echo "${ECHO_T}no" >&6; }
7424
# Check whether --enable-nmcheck was given.
7425
if test "${enable_nmcheck+set}" = set; then
7426
enableval=$enable_nmcheck; kde_use_nmcheck=$enableval
7432
if test "$kde_use_nmcheck" = "yes"; then
7433
KDE_USE_NMCHECK_TRUE=""
7434
KDE_USE_NMCHECK_FALSE="#"
7436
KDE_USE_NMCHECK_TRUE="#"
7437
KDE_USE_NMCHECK_FALSE=""
7445
# Check whether --enable-shared was given.
7446
if test "${enable_shared+set}" = set; then
7447
enableval=$enable_shared; p=${PACKAGE-default}
7449
yes) enable_shared=yes ;;
7450
no) enable_shared=no ;;
7453
# Look at the argument we got. We use all the common list separators.
7454
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7455
for pkg in $enableval; do
7457
if test "X$pkg" = "X$p"; then
7469
# Check whether --enable-static was given.
7470
if test "${enable_static+set}" = set; then
7471
enableval=$enable_static; p=${PACKAGE-default}
7473
yes) enable_static=yes ;;
7474
no) enable_static=no ;;
7477
# Look at the argument we got. We use all the common list separators.
7478
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7479
for pkg in $enableval; do
7481
if test "X$pkg" = "X$p"; then
7496
kdelibsuff="$kde_libs_suffix"
7497
if test -z "$kdelibsuff"; then
7500
# Check whether --enable-libsuffix was given.
7501
if test "${enable_libsuffix+set}" = set; then
7502
enableval=$enable_libsuffix; kdelibsuff=$enableval
7505
# TODO: add an auto case that compiles a little C app to check
7506
# where the glibc is
7507
if test "$kdelibsuff" = "no"; then
7510
if test -z "$kdelibsuff"; then
7511
{ echo "$as_me:$LINENO: result: not using lib directory suffix" >&5
7512
echo "${ECHO_T}not using lib directory suffix" >&6; }
7514
cat >>confdefs.h <<\_ACEOF
7515
@%:@define KDELIBSUFF ""
7519
if test "$libdir" = '${exec_prefix}/lib'; then
7520
libdir="$libdir${kdelibsuff}"
7524
cat >>confdefs.h <<_ACEOF
7525
@%:@define KDELIBSUFF "${kdelibsuff}"
7528
{ echo "$as_me:$LINENO: result: using lib directory suffix $kdelibsuff" >&5
7529
echo "${ECHO_T}using lib directory suffix $kdelibsuff" >&6; }
7532
# Check whether --enable-fast-install was given.
7533
if test "${enable_fast_install+set}" = set; then
7534
enableval=$enable_fast_install; p=${PACKAGE-default}
7536
yes) enable_fast_install=yes ;;
7537
no) enable_fast_install=no ;;
7539
enable_fast_install=no
7540
# Look at the argument we got. We use all the common list separators.
7541
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7542
for pkg in $enableval; do
7544
if test "X$pkg" = "X$p"; then
7545
enable_fast_install=yes
7552
enable_fast_install=yes
7556
{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
7557
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
7558
if test "${lt_cv_path_SED+set}" = set; then
7559
echo $ECHO_N "(cached) $ECHO_C" >&6
7561
# Loop through the user's path and test for sed and gsed.
7562
# Then use that list of sed's as ones to test for truncation.
7563
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7567
test -z "$as_dir" && as_dir=.
7568
for lt_ac_prog in sed gsed; do
7569
for ac_exec_ext in '' $ac_executable_extensions; do
7570
if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
7571
lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
7578
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
7579
# along with /bin/sed that truncates output.
7580
for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
7581
test ! -f $lt_ac_sed && break
7582
cat /dev/null > conftest.in
7584
echo $ECHO_N "0123456789$ECHO_C" >conftest.in
7585
# Check for GNU sed and select it if it is found.
7586
if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
7587
lt_cv_path_SED=$lt_ac_sed
7591
cat conftest.in conftest.in >conftest.tmp
7592
mv conftest.tmp conftest.in
7593
cp conftest.in conftest.nl
7595
$lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
7596
cmp -s conftest.out conftest.nl || break
7597
# 10000 chars as input seems more than enough
7598
test $lt_ac_count -gt 10 && break
7599
lt_ac_count=`expr $lt_ac_count + 1`
7600
if test $lt_ac_count -gt $lt_ac_max; then
7601
lt_ac_max=$lt_ac_count
7602
lt_cv_path_SED=$lt_ac_sed
7610
{ echo "$as_me:$LINENO: result: $SED" >&5
7611
echo "${ECHO_T}$SED" >&6; }
7613
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
7614
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
7615
if test "${ac_cv_path_GREP+set}" = set; then
7616
echo $ECHO_N "(cached) $ECHO_C" >&6
7618
# Extract the first word of "grep ggrep" to use in msg output
7619
if test -z "$GREP"; then
7620
set dummy grep ggrep; ac_prog_name=$2
7621
if test "${ac_cv_path_GREP+set}" = set; then
7622
echo $ECHO_N "(cached) $ECHO_C" >&6
7624
ac_path_GREP_found=false
7625
# Loop through the user's path and test for each of PROGNAME-LIST
7626
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7627
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7630
test -z "$as_dir" && as_dir=.
7631
for ac_prog in grep ggrep; do
7632
for ac_exec_ext in '' $ac_executable_extensions; do
7633
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
7634
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
7635
# Check for GNU ac_path_GREP and select it if it is found.
7636
# Check for GNU $ac_path_GREP
7637
case `"$ac_path_GREP" --version 2>&1` in
7639
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
7642
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
7645
cat "conftest.in" "conftest.in" >"conftest.tmp"
7646
mv "conftest.tmp" "conftest.in"
7647
cp "conftest.in" "conftest.nl"
7648
echo 'GREP' >> "conftest.nl"
7649
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7650
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7651
ac_count=`expr $ac_count + 1`
7652
if test $ac_count -gt ${ac_path_GREP_max-0}; then
7653
# Best one so far, save it but keep looking for a better one
7654
ac_cv_path_GREP="$ac_path_GREP"
7655
ac_path_GREP_max=$ac_count
7657
# 10*(2^10) chars as input seems more than enough
7658
test $ac_count -gt 10 && break
7660
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7664
$ac_path_GREP_found && break 3
7674
GREP="$ac_cv_path_GREP"
7675
if test -z "$GREP"; then
7676
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
7677
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
7678
{ (exit 1); exit 1; }; }
7682
ac_cv_path_GREP=$GREP
7687
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
7688
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
7689
GREP="$ac_cv_path_GREP"
7692
{ echo "$as_me:$LINENO: checking for egrep" >&5
7693
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
7694
if test "${ac_cv_path_EGREP+set}" = set; then
7695
echo $ECHO_N "(cached) $ECHO_C" >&6
7697
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7698
then ac_cv_path_EGREP="$GREP -E"
7700
# Extract the first word of "egrep" to use in msg output
7701
if test -z "$EGREP"; then
7702
set dummy egrep; ac_prog_name=$2
7703
if test "${ac_cv_path_EGREP+set}" = set; then
7704
echo $ECHO_N "(cached) $ECHO_C" >&6
7706
ac_path_EGREP_found=false
7707
# Loop through the user's path and test for each of PROGNAME-LIST
7708
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7709
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7712
test -z "$as_dir" && as_dir=.
7713
for ac_prog in egrep; do
7714
for ac_exec_ext in '' $ac_executable_extensions; do
7715
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
7716
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
7717
# Check for GNU ac_path_EGREP and select it if it is found.
7718
# Check for GNU $ac_path_EGREP
7719
case `"$ac_path_EGREP" --version 2>&1` in
7721
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7724
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
7727
cat "conftest.in" "conftest.in" >"conftest.tmp"
7728
mv "conftest.tmp" "conftest.in"
7729
cp "conftest.in" "conftest.nl"
7730
echo 'EGREP' >> "conftest.nl"
7731
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7732
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7733
ac_count=`expr $ac_count + 1`
7734
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7735
# Best one so far, save it but keep looking for a better one
7736
ac_cv_path_EGREP="$ac_path_EGREP"
7737
ac_path_EGREP_max=$ac_count
7739
# 10*(2^10) chars as input seems more than enough
7740
test $ac_count -gt 10 && break
7742
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7746
$ac_path_EGREP_found && break 3
7756
EGREP="$ac_cv_path_EGREP"
7757
if test -z "$EGREP"; then
7758
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
7759
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
7760
{ (exit 1); exit 1; }; }
7764
ac_cv_path_EGREP=$EGREP
7770
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
7771
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
7772
EGREP="$ac_cv_path_EGREP"
7776
# Check whether --with-gnu-ld was given.
7777
if test "${with_gnu_ld+set}" = set; then
7778
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
7784
if test "$GCC" = yes; then
7785
# Check if gcc -print-prog-name=ld gives a path.
7786
{ echo "$as_me:$LINENO: checking for ld used by $CC" >&5
7787
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
7790
# gcc leaves a trailing carriage return which upsets mingw
7791
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7793
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
7796
# Accept absolute paths.
7798
re_direlt='/[^/][^/]*/\.\./'
7799
# Canonicalize the pathname of ld
7800
ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
7801
while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
7802
ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
7804
test -z "$LD" && LD="$ac_prog"
7807
# If it fails, then pretend we aren't using GCC.
7811
# If it is relative, then search for the first ld in PATH.
7815
elif test "$with_gnu_ld" = yes; then
7816
{ echo "$as_me:$LINENO: checking for GNU ld" >&5
7817
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
7819
{ echo "$as_me:$LINENO: checking for non-GNU ld" >&5
7820
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
7822
if test "${lt_cv_path_LD+set}" = set; then
7823
echo $ECHO_N "(cached) $ECHO_C" >&6
7825
if test -z "$LD"; then
7826
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7827
for ac_dir in $PATH; do
7829
test -z "$ac_dir" && ac_dir=.
7830
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
7831
lt_cv_path_LD="$ac_dir/$ac_prog"
7832
# Check to see if the program is GNU ld. I'd rather use --version,
7833
# but apparently some GNU ld's only accept -v.
7834
# Break only if it was the GNU/non-GNU ld that we prefer.
7835
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
7836
*GNU* | *'with BFD'*)
7837
test "$with_gnu_ld" != no && break
7840
test "$with_gnu_ld" != yes && break
7847
lt_cv_path_LD="$LD" # Let the user override the test with a path.
7852
if test -n "$LD"; then
7853
{ echo "$as_me:$LINENO: result: $LD" >&5
7854
echo "${ECHO_T}$LD" >&6; }
7856
{ echo "$as_me:$LINENO: result: no" >&5
7857
echo "${ECHO_T}no" >&6; }
7859
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
7860
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
7861
{ (exit 1); exit 1; }; }
7862
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
7863
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
7864
if test "${lt_cv_prog_gnu_ld+set}" = set; then
7865
echo $ECHO_N "(cached) $ECHO_C" >&6
7867
# I'd rather use --version here, but apparently some GNU ld's only accept -v.
7868
case `$LD -v 2>&1 </dev/null` in
7869
*GNU* | *'with BFD'*)
7870
lt_cv_prog_gnu_ld=yes
7873
lt_cv_prog_gnu_ld=no
7877
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
7878
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
7879
with_gnu_ld=$lt_cv_prog_gnu_ld
7882
{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
7883
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
7884
if test "${lt_cv_ld_reload_flag+set}" = set; then
7885
echo $ECHO_N "(cached) $ECHO_C" >&6
7887
lt_cv_ld_reload_flag='-r'
7889
{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
7890
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
7891
reload_flag=$lt_cv_ld_reload_flag
7892
case $reload_flag in
7894
*) reload_flag=" $reload_flag" ;;
7896
reload_cmds='$LD$reload_flag -o $output$reload_objs'
7898
{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
7899
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
7900
if test "${lt_cv_path_NM+set}" = set; then
7901
echo $ECHO_N "(cached) $ECHO_C" >&6
7903
if test -n "$NM"; then
7904
# Let the user override the test.
7907
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7908
for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
7910
test -z "$ac_dir" && ac_dir=.
7911
tmp_nm="$ac_dir/${ac_tool_prefix}nm"
7912
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
7913
# Check to see if the nm accepts a BSD-compat flag.
7914
# Adding the `sed 1q' prevents false positives on HP-UX, which says:
7915
# nm: unknown option "B" ignored
7916
# Tru64's nm complains that /dev/null is an invalid object file
7917
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
7918
*/dev/null* | *'Invalid file or object type'*)
7919
lt_cv_path_NM="$tmp_nm -B"
7923
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
7925
lt_cv_path_NM="$tmp_nm -p"
7929
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
7930
continue # so that we can try to find one that supports BSD flags
7937
test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
7940
{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
7941
echo "${ECHO_T}$lt_cv_path_NM" >&6; }
7944
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
7945
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
7947
if test "$LN_S" = "ln -s"; then
7948
{ echo "$as_me:$LINENO: result: yes" >&5
7949
echo "${ECHO_T}yes" >&6; }
7951
{ echo "$as_me:$LINENO: result: no, using $LN_S" >&5
7952
echo "${ECHO_T}no, using $LN_S" >&6; }
7955
{ echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
7956
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
7957
if test "${lt_cv_deplibs_check_method+set}" = set; then
7958
echo $ECHO_N "(cached) $ECHO_C" >&6
7960
lt_cv_file_magic_cmd='$MAGIC_CMD'
7961
lt_cv_file_magic_test_file=
7962
lt_cv_deplibs_check_method='unknown'
7963
# Need to set the preceding variable on all platforms that support
7964
# interlibrary dependencies.
7965
# 'none' -- dependencies not supported.
7966
# `unknown' -- same as none, but documents that we really don't know.
7967
# 'pass_all' -- all dependencies passed with no checks.
7968
# 'test_compile' -- check by making test program.
7969
# 'file_magic [[regex]]' -- check by looking for files in library path
7970
# which responds to the $file_magic_cmd with a given extended regex.
7971
# If you have `file' or equivalent on your system and you're not sure
7972
# whether `pass_all' will *always* work, you probably want this one.
7976
lt_cv_deplibs_check_method=pass_all
7980
lt_cv_deplibs_check_method=pass_all
7984
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7985
lt_cv_file_magic_cmd='/usr/bin/file -L'
7986
lt_cv_file_magic_test_file=/shlib/libc.so
7990
lt_cv_deplibs_check_method=pass_all
7994
# win32_libid is a shell function defined in ltmain.sh
7995
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7996
lt_cv_file_magic_cmd='win32_libid'
7999
darwin* | rhapsody*)
8000
# this will be overwritten by pass_all, but leave it in just in case
8001
lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
8002
lt_cv_file_magic_cmd='/usr/bin/file -L'
8004
rhapsody* | darwin1.[012])
8005
lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System`
8008
lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
8011
lt_cv_deplibs_check_method=pass_all
8015
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
8018
# Not sure whether the presence of OpenBSD here was a mistake.
8019
# Let's accept both of them until this is cleared up.
8020
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
8021
lt_cv_file_magic_cmd=/usr/bin/file
8022
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
8026
lt_cv_deplibs_check_method=pass_all
8031
lt_cv_deplibs_check_method=pass_all
8034
hpux10.20* | hpux11*)
8035
lt_cv_file_magic_cmd=/usr/bin/file
8038
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
8039
lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
8042
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]'
8043
lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
8046
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
8047
lt_cv_file_magic_test_file=/usr/lib/libc.sl
8052
irix5* | irix6* | nonstopux*)
8054
irix5* | nonstopux*)
8055
# this will be overridden with pass_all, but let us keep it just in case
8056
lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
8060
*-32|*"-32 ") libmagic=32-bit;;
8061
*-n32|*"-n32 ") libmagic=N32;;
8062
*-64|*"-64 ") libmagic=64-bit;;
8063
*) libmagic=never-match;;
8065
# this will be overridden with pass_all, but let us keep it just in case
8066
lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
8069
lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
8070
lt_cv_deplibs_check_method=pass_all
8073
# This must be Linux ELF.
8076
alpha* | hppa* | i*86 | ia64* | m68* | mips* | powerpc* | sparc* | s390* | sh* | x86_64* )
8077
lt_cv_deplibs_check_method=pass_all ;;
8078
# the debian people say, arm and glibc 2.3.1 works for them with pass_all
8080
lt_cv_deplibs_check_method=pass_all ;;
8082
# glibc up to 2.1.1 does not perform some relocations on ARM
8083
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
8085
lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
8089
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
8090
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8092
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
8097
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
8098
lt_cv_file_magic_cmd=/usr/bin/file
8099
lt_cv_file_magic_test_file=/usr/lib/libnls.so
8103
lt_cv_deplibs_check_method=unknown
8107
lt_cv_file_magic_cmd=/usr/bin/file
8108
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
8109
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8110
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
8112
lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
8116
osf3* | osf4* | osf5*)
8117
# this will be overridden with pass_all, but let us keep it just in case
8118
lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
8119
lt_cv_file_magic_test_file=/shlib/libc.so
8120
lt_cv_deplibs_check_method=pass_all
8124
lt_cv_deplibs_check_method=pass_all
8128
lt_cv_deplibs_check_method=pass_all
8129
lt_cv_file_magic_test_file=/lib/libc.so
8132
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8133
case $host_vendor in
8135
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]'
8136
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
8139
lt_cv_deplibs_check_method=pass_all
8142
lt_cv_file_magic_cmd='/bin/file'
8143
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
8146
lt_cv_file_magic_cmd='/bin/file'
8147
lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
8148
lt_cv_file_magic_test_file=/lib/libc.so
8151
lt_cv_deplibs_check_method=pass_all
8156
sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
8157
lt_cv_deplibs_check_method=pass_all
8162
{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
8163
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
8164
file_magic_cmd=$lt_cv_file_magic_cmd
8165
deplibs_check_method=$lt_cv_deplibs_check_method
8166
test -z "$deplibs_check_method" && deplibs_check_method=unknown
8169
# If no C compiler was specified, use CC.
8172
# Allow CC to be a program name with arguments.
8175
# Check whether --enable-libtool-lock was given.
8176
if test "${enable_libtool_lock+set}" = set; then
8177
enableval=$enable_libtool_lock;
8180
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8182
# Some flags need to be propagated to the compiler or linker for good
8186
# Find out which ABI we are using.
8187
echo 'int i;' > conftest.$ac_ext
8188
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8189
(eval $ac_compile) 2>&5
8191
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8192
(exit $ac_status); }; then
8193
case `/usr/bin/file conftest.$ac_objext` in
8205
# Find out which ABI we are using.
8206
echo '#line __oline__ "configure"' > conftest.$ac_ext
8207
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8208
(eval $ac_compile) 2>&5
8210
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8211
(exit $ac_status); }; then
8212
if test "$lt_cv_prog_gnu_ld" = yes; then
8213
case `/usr/bin/file conftest.$ac_objext` in
8215
LD="${LD-ld} -melf32bsmip"
8218
LD="${LD-ld} -melf32bmipn32"
8221
LD="${LD-ld} -melf64bmip"
8225
case `/usr/bin/file conftest.$ac_objext` in
8241
x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
8242
# Find out which ABI we are using.
8243
echo 'int i;' > conftest.$ac_ext
8244
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8245
(eval $ac_compile) 2>&5
8247
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8248
(exit $ac_status); }; then
8249
case "`/usr/bin/file conftest.o`" in
8254
LD="${LD-ld} -m elf_i386"
8257
LD="${LD-ld} -m elf32ppclinux"
8260
LD="${LD-ld} -m elf_s390"
8263
LD="${LD-ld} -m elf32_sparc"
8271
LD="${LD-ld} -m elf_x86_64"
8273
ppc*-*linux*|powerpc*-*linux*)
8274
LD="${LD-ld} -m elf64ppc"
8277
LD="${LD-ld} -m elf64_s390"
8280
LD="${LD-ld} -m elf64_sparc"
8290
# On SCO OpenServer 5, we need -belf to get full-featured binaries.
8291
SAVE_CFLAGS="$CFLAGS"
8292
CFLAGS="$CFLAGS -belf"
8293
{ echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
8294
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
8295
if test "${lt_cv_cc_needs_belf+set}" = set; then
8296
echo $ECHO_N "(cached) $ECHO_C" >&6
8299
ac_cpp='$CPP $CPPFLAGS'
8300
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8301
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8302
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8304
cat >conftest.$ac_ext <<_ACEOF
8307
cat confdefs.h >>conftest.$ac_ext
8308
cat >>conftest.$ac_ext <<_ACEOF
8309
/* end confdefs.h. */
8319
rm -f conftest.$ac_objext conftest$ac_exeext
8320
if { (ac_try="$ac_link"
8322
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8323
*) ac_try_echo=$ac_try;;
8325
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8326
(eval "$ac_link") 2>conftest.er1
8328
grep -v '^ *+' conftest.er1 >conftest.err
8330
cat conftest.err >&5
8331
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8332
(exit $ac_status); } && {
8333
test -z "$ac_c_werror_flag" ||
8334
test ! -s conftest.err
8335
} && test -s conftest$ac_exeext &&
8336
$as_test_x conftest$ac_exeext; then
8337
lt_cv_cc_needs_belf=yes
8339
echo "$as_me: failed program was:" >&5
8340
sed 's/^/| /' conftest.$ac_ext >&5
8342
lt_cv_cc_needs_belf=no
8345
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8346
conftest$ac_exeext conftest.$ac_ext
8348
ac_cpp='$CPP $CPPFLAGS'
8349
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8350
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8351
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8354
{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
8355
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
8356
if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8357
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8358
CFLAGS="$SAVE_CFLAGS"
8364
need_locks="$enable_libtool_lock"
8368
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
8369
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
8370
if test "${ac_cv_header_stdc+set}" = set; then
8371
echo $ECHO_N "(cached) $ECHO_C" >&6
8373
cat >conftest.$ac_ext <<_ACEOF
8376
cat confdefs.h >>conftest.$ac_ext
8377
cat >>conftest.$ac_ext <<_ACEOF
8378
/* end confdefs.h. */
8392
rm -f conftest.$ac_objext
8393
if { (ac_try="$ac_compile"
8395
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8396
*) ac_try_echo=$ac_try;;
8398
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8399
(eval "$ac_compile") 2>conftest.er1
8401
grep -v '^ *+' conftest.er1 >conftest.err
8403
cat conftest.err >&5
8404
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8405
(exit $ac_status); } && {
8406
test -z "$ac_c_werror_flag" ||
8407
test ! -s conftest.err
8408
} && test -s conftest.$ac_objext; then
8409
ac_cv_header_stdc=yes
8411
echo "$as_me: failed program was:" >&5
8412
sed 's/^/| /' conftest.$ac_ext >&5
8414
ac_cv_header_stdc=no
8417
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8419
if test $ac_cv_header_stdc = yes; then
8420
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8421
cat >conftest.$ac_ext <<_ACEOF
8424
cat confdefs.h >>conftest.$ac_ext
8425
cat >>conftest.$ac_ext <<_ACEOF
8426
/* end confdefs.h. */
8430
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8431
$EGREP "memchr" >/dev/null 2>&1; then
8434
ac_cv_header_stdc=no
8440
if test $ac_cv_header_stdc = yes; then
8441
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8442
cat >conftest.$ac_ext <<_ACEOF
8445
cat confdefs.h >>conftest.$ac_ext
8446
cat >>conftest.$ac_ext <<_ACEOF
8447
/* end confdefs.h. */
8451
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8452
$EGREP "free" >/dev/null 2>&1; then
8455
ac_cv_header_stdc=no
8461
if test $ac_cv_header_stdc = yes; then
8462
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8463
if test "$cross_compiling" = yes; then
8466
cat >conftest.$ac_ext <<_ACEOF
8469
cat confdefs.h >>conftest.$ac_ext
8470
cat >>conftest.$ac_ext <<_ACEOF
8471
/* end confdefs.h. */
8474
#if ((' ' & 0x0FF) == 0x020)
8475
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8476
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8478
# define ISLOWER(c) \
8479
(('a' <= (c) && (c) <= 'i') \
8480
|| ('j' <= (c) && (c) <= 'r') \
8481
|| ('s' <= (c) && (c) <= 'z'))
8482
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8485
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8490
for (i = 0; i < 256; i++)
8491
if (XOR (islower (i), ISLOWER (i))
8492
|| toupper (i) != TOUPPER (i))
8497
rm -f conftest$ac_exeext
8498
if { (ac_try="$ac_link"
8500
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8501
*) ac_try_echo=$ac_try;;
8503
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8504
(eval "$ac_link") 2>&5
8506
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8507
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8508
{ (case "(($ac_try" in
8509
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8510
*) ac_try_echo=$ac_try;;
8512
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8513
(eval "$ac_try") 2>&5
8515
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8516
(exit $ac_status); }; }; then
8519
echo "$as_me: program exited with status $ac_status" >&5
8520
echo "$as_me: failed program was:" >&5
8521
sed 's/^/| /' conftest.$ac_ext >&5
8524
ac_cv_header_stdc=no
8526
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8532
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
8533
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
8534
if test $ac_cv_header_stdc = yes; then
8536
cat >>confdefs.h <<\_ACEOF
8537
@%:@define STDC_HEADERS 1
8542
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
8552
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8553
inttypes.h stdint.h unistd.h
8555
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8556
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
8557
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8558
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8559
echo $ECHO_N "(cached) $ECHO_C" >&6
8561
cat >conftest.$ac_ext <<_ACEOF
8564
cat confdefs.h >>conftest.$ac_ext
8565
cat >>conftest.$ac_ext <<_ACEOF
8566
/* end confdefs.h. */
8567
$ac_includes_default
8569
@%:@include <$ac_header>
8571
rm -f conftest.$ac_objext
8572
if { (ac_try="$ac_compile"
8574
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8575
*) ac_try_echo=$ac_try;;
8577
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8578
(eval "$ac_compile") 2>conftest.er1
8580
grep -v '^ *+' conftest.er1 >conftest.err
8582
cat conftest.err >&5
8583
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8584
(exit $ac_status); } && {
8585
test -z "$ac_c_werror_flag" ||
8586
test ! -s conftest.err
8587
} && test -s conftest.$ac_objext; then
8588
eval "$as_ac_Header=yes"
8590
echo "$as_me: failed program was:" >&5
8591
sed 's/^/| /' conftest.$ac_ext >&5
8593
eval "$as_ac_Header=no"
8596
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8598
ac_res=`eval echo '${'$as_ac_Header'}'`
8599
{ echo "$as_me:$LINENO: result: $ac_res" >&5
8600
echo "${ECHO_T}$ac_res" >&6; }
8601
if test `eval echo '${'$as_ac_Header'}'` = yes; then
8602
cat >>confdefs.h <<_ACEOF
8603
@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8612
for ac_header in dlfcn.h
8614
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8615
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8616
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
8617
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8618
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8619
echo $ECHO_N "(cached) $ECHO_C" >&6
8621
ac_res=`eval echo '${'$as_ac_Header'}'`
8622
{ echo "$as_me:$LINENO: result: $ac_res" >&5
8623
echo "${ECHO_T}$ac_res" >&6; }
8625
# Is the header compilable?
8626
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
8627
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8628
cat >conftest.$ac_ext <<_ACEOF
8631
cat confdefs.h >>conftest.$ac_ext
8632
cat >>conftest.$ac_ext <<_ACEOF
8633
/* end confdefs.h. */
8634
$ac_includes_default
8635
@%:@include <$ac_header>
8637
rm -f conftest.$ac_objext
8638
if { (ac_try="$ac_compile"
8640
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8641
*) ac_try_echo=$ac_try;;
8643
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8644
(eval "$ac_compile") 2>conftest.er1
8646
grep -v '^ *+' conftest.er1 >conftest.err
8648
cat conftest.err >&5
8649
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8650
(exit $ac_status); } && {
8651
test -z "$ac_c_werror_flag" ||
8652
test ! -s conftest.err
8653
} && test -s conftest.$ac_objext; then
8654
ac_header_compiler=yes
8656
echo "$as_me: failed program was:" >&5
8657
sed 's/^/| /' conftest.$ac_ext >&5
8659
ac_header_compiler=no
8662
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8663
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8664
echo "${ECHO_T}$ac_header_compiler" >&6; }
8666
# Is the header present?
8667
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
8668
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8669
cat >conftest.$ac_ext <<_ACEOF
8672
cat confdefs.h >>conftest.$ac_ext
8673
cat >>conftest.$ac_ext <<_ACEOF
8674
/* end confdefs.h. */
8675
@%:@include <$ac_header>
8677
if { (ac_try="$ac_cpp conftest.$ac_ext"
8679
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8680
*) ac_try_echo=$ac_try;;
8682
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8683
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8685
grep -v '^ *+' conftest.er1 >conftest.err
8687
cat conftest.err >&5
8688
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8689
(exit $ac_status); } >/dev/null && {
8690
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8691
test ! -s conftest.err
8693
ac_header_preproc=yes
8695
echo "$as_me: failed program was:" >&5
8696
sed 's/^/| /' conftest.$ac_ext >&5
8698
ac_header_preproc=no
8701
rm -f conftest.err conftest.$ac_ext
8702
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8703
echo "${ECHO_T}$ac_header_preproc" >&6; }
8705
# So? What about this header?
8706
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8708
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8709
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8710
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8711
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8712
ac_header_preproc=yes
8715
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8716
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8717
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8718
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8719
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8720
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8721
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8722
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8723
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8724
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8725
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8726
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8730
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
8731
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8732
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8733
echo $ECHO_N "(cached) $ECHO_C" >&6
8735
eval "$as_ac_Header=\$ac_header_preproc"
8737
ac_res=`eval echo '${'$as_ac_Header'}'`
8738
{ echo "$as_me:$LINENO: result: $ac_res" >&5
8739
echo "${ECHO_T}$ac_res" >&6; }
8742
if test `eval echo '${'$as_ac_Header'}'` = yes; then
8743
cat >>confdefs.h <<_ACEOF
8744
@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8752
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
8753
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8754
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
8755
if test -n "$ac_tool_prefix"; then
8756
for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
8758
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8759
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8760
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8761
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8762
if test "${ac_cv_prog_F77+set}" = set; then
8763
echo $ECHO_N "(cached) $ECHO_C" >&6
8765
if test -n "$F77"; then
8766
ac_cv_prog_F77="$F77" # Let the user override the test.
8768
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8772
test -z "$as_dir" && as_dir=.
8773
for ac_exec_ext in '' $ac_executable_extensions; do
8774
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8775
ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
8776
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8786
if test -n "$F77"; then
8787
{ echo "$as_me:$LINENO: result: $F77" >&5
8788
echo "${ECHO_T}$F77" >&6; }
8790
{ echo "$as_me:$LINENO: result: no" >&5
8791
echo "${ECHO_T}no" >&6; }
8795
test -n "$F77" && break
8798
if test -z "$F77"; then
8800
for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
8802
# Extract the first word of "$ac_prog", so it can be a program name with args.
8803
set dummy $ac_prog; ac_word=$2
8804
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8805
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8806
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
8807
echo $ECHO_N "(cached) $ECHO_C" >&6
8809
if test -n "$ac_ct_F77"; then
8810
ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
8812
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8816
test -z "$as_dir" && as_dir=.
8817
for ac_exec_ext in '' $ac_executable_extensions; do
8818
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8819
ac_cv_prog_ac_ct_F77="$ac_prog"
8820
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8829
ac_ct_F77=$ac_cv_prog_ac_ct_F77
8830
if test -n "$ac_ct_F77"; then
8831
{ echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
8832
echo "${ECHO_T}$ac_ct_F77" >&6; }
8834
{ echo "$as_me:$LINENO: result: no" >&5
8835
echo "${ECHO_T}no" >&6; }
8839
test -n "$ac_ct_F77" && break
8842
if test "x$ac_ct_F77" = x; then
8845
case $cross_compiling:$ac_tool_warned in
8847
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8848
whose name does not start with the host triplet. If you think this
8849
configuration is useful to you, please write to autoconf@gnu.org." >&5
8850
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8851
whose name does not start with the host triplet. If you think this
8852
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8853
ac_tool_warned=yes ;;
8860
# Provide some information about the compiler.
8861
echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
8862
ac_compiler=`set X $ac_compile; echo $2`
8863
{ (ac_try="$ac_compiler --version >&5"
8865
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8866
*) ac_try_echo=$ac_try;;
8868
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8869
(eval "$ac_compiler --version >&5") 2>&5
8871
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8872
(exit $ac_status); }
8873
{ (ac_try="$ac_compiler -v >&5"
8875
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8876
*) ac_try_echo=$ac_try;;
8878
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8879
(eval "$ac_compiler -v >&5") 2>&5
8881
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8882
(exit $ac_status); }
8883
{ (ac_try="$ac_compiler -V >&5"
8885
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8886
*) ac_try_echo=$ac_try;;
8888
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8889
(eval "$ac_compiler -V >&5") 2>&5
8891
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8892
(exit $ac_status); }
8895
# If we don't use `.F' as extension, the preprocessor is not run on the
8896
# input file. (Note that this only needs to work for GNU compilers.)
8899
{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
8900
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
8901
if test "${ac_cv_f77_compiler_gnu+set}" = set; then
8902
echo $ECHO_N "(cached) $ECHO_C" >&6
8904
cat >conftest.$ac_ext <<_ACEOF
8912
rm -f conftest.$ac_objext
8913
if { (ac_try="$ac_compile"
8915
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8916
*) ac_try_echo=$ac_try;;
8918
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8919
(eval "$ac_compile") 2>conftest.er1
8921
grep -v '^ *+' conftest.er1 >conftest.err
8923
cat conftest.err >&5
8924
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8925
(exit $ac_status); } && {
8926
test -z "$ac_f77_werror_flag" ||
8927
test ! -s conftest.err
8928
} && test -s conftest.$ac_objext; then
8931
echo "$as_me: failed program was:" >&5
8932
sed 's/^/| /' conftest.$ac_ext >&5
8937
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8938
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
8941
{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
8942
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
8944
ac_test_FFLAGS=${FFLAGS+set}
8945
ac_save_FFLAGS=$FFLAGS
8947
{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
8948
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
8949
if test "${ac_cv_prog_f77_g+set}" = set; then
8950
echo $ECHO_N "(cached) $ECHO_C" >&6
8953
cat >conftest.$ac_ext <<_ACEOF
8958
rm -f conftest.$ac_objext
8959
if { (ac_try="$ac_compile"
8961
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8962
*) ac_try_echo=$ac_try;;
8964
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8965
(eval "$ac_compile") 2>conftest.er1
8967
grep -v '^ *+' conftest.er1 >conftest.err
8969
cat conftest.err >&5
8970
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8971
(exit $ac_status); } && {
8972
test -z "$ac_f77_werror_flag" ||
8973
test ! -s conftest.err
8974
} && test -s conftest.$ac_objext; then
8975
ac_cv_prog_f77_g=yes
8977
echo "$as_me: failed program was:" >&5
8978
sed 's/^/| /' conftest.$ac_ext >&5
8983
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8986
{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
8987
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
8988
if test "$ac_test_FFLAGS" = set; then
8989
FFLAGS=$ac_save_FFLAGS
8990
elif test $ac_cv_prog_f77_g = yes; then
8991
if test "x$ac_cv_f77_compiler_gnu" = xyes; then
8997
if test "x$ac_cv_f77_compiler_gnu" = xyes; then
9004
G77=`test $ac_compiler_gnu = yes && echo yes`
9006
ac_cpp='$CPP $CPPFLAGS'
9007
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9008
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9009
ac_compiler_gnu=$ac_cv_c_compiler_gnu
9013
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
9015
# find the maximum length of command line arguments
9016
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
9017
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
9018
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
9019
echo $ECHO_N "(cached) $ECHO_C" >&6
9026
# On DJGPP, this test can blow up pretty badly due to problems in libc
9027
# (any single argument exceeding 2000 bytes causes a buffer overrun
9028
# during glob expansion). Even if it were fixed, the result of this
9029
# check would be larger than it should be.
9030
lt_cv_sys_max_cmd_len=12288; # 12K is about right
9034
# Under GNU Hurd, this test is not required because there is
9035
# no limit to the length of command line arguments.
9036
# Libtool will interpret -1 as no limit whatsoever
9037
lt_cv_sys_max_cmd_len=-1;
9041
# On Win9x/ME, this test blows up -- it succeeds, but takes
9042
# about 5 minutes as the teststring grows exponentially.
9043
# Worse, since 9x/ME are not pre-emptively multitasking,
9044
# you end up with a "frozen" computer, even though with patience
9045
# the test eventually succeeds (with a max line length of 256k).
9046
# Instead, let's just punt: use the minimum linelength reported by
9047
# all of the supported platforms: 8192 (on NT/2K/XP).
9048
lt_cv_sys_max_cmd_len=8192;
9052
# If test is not a shell built-in, we'll probably end up computing a
9053
# maximum length that is only half of the actual maximum length, but
9055
while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \
9056
= "XX$testring") >/dev/null 2>&1 &&
9057
new_result=`expr "X$testring" : ".*" 2>&1` &&
9058
lt_cv_sys_max_cmd_len=$new_result &&
9059
test $i != 17 # 1/2 MB should be enough
9062
testring=$testring$testring
9065
# Add a significant safety factor because C++ compilers can tack on massive
9066
# amounts of additional arguments before passing them to the linker.
9067
# It appears as though 1/2 is a usable value.
9068
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
9074
if test -n $lt_cv_sys_max_cmd_len ; then
9075
{ echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
9076
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
9078
{ echo "$as_me:$LINENO: result: none" >&5
9079
echo "${ECHO_T}none" >&6; }
9085
# Check for command to grab the raw symbol name followed by C symbol from nm.
9086
{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
9087
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
9088
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
9089
echo $ECHO_N "(cached) $ECHO_C" >&6
9092
# These are sane defaults that work on at least a few old systems.
9093
# [They come from Ultrix. What could be older than Ultrix?!! ;)]
9095
# Character class describing NM global symbol codes.
9096
symcode='[BCDEGRST]'
9098
# Regexp to match symbols that can be accessed directly from C.
9099
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
9101
# Transform the above into a raw symbol and a C symbol.
9102
symxfrm='\1 \2\3 \3'
9104
# Transform an extracted symbol line into a proper C declaration
9105
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
9107
# Transform an extracted symbol line into symbol name and symbol address
9108
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
9110
# Define system-specific variables.
9115
cygwin* | mingw* | pw32*)
9116
symcode='[ABCDGISTW]'
9118
hpux*) # Its linker distinguishes data from code symbols
9119
if test "$host_cpu" = ia64; then
9120
symcode='[ABCDEGRST]'
9122
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
9123
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
9126
symcode='[BCDEGRST]'
9129
symcode='[BCDEGQRST]'
9139
# Handle CRLF in mingw tool chain
9143
opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
9147
# If we're using GNU nm, then use its standard symbol codes.
9148
case `$NM -V 2>&1` in
9149
*GNU* | *'with BFD'*)
9150
symcode='[ABCDGISTW]' ;;
9153
# Try without a prefix undercore, then with it.
9154
for ac_symprfx in "" "_"; do
9156
# Write the raw and C identifiers.
9157
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
9159
# Check to see that the pipe works correctly.
9163
cat > conftest.$ac_ext <<EOF
9168
void nm_test_func(){}
9172
int main(){nm_test_var='a';nm_test_func();return(0);}
9175
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9176
(eval $ac_compile) 2>&5
9178
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9179
(exit $ac_status); }; then
9180
# Now try to grab the symbols.
9182
if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
9183
(eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
9185
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9186
(exit $ac_status); } && test -s "$nlist"; then
9187
# Try sorting and uniquifying the output.
9188
if sort "$nlist" | uniq > "$nlist"T; then
9189
mv -f "$nlist"T "$nlist"
9194
# Make sure that we snagged all the symbols we need.
9195
if grep ' nm_test_var$' "$nlist" >/dev/null; then
9196
if grep ' nm_test_func$' "$nlist" >/dev/null; then
9197
cat <<EOF > conftest.$ac_ext
9203
# Now generate the symbol file.
9204
eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
9206
cat <<EOF >> conftest.$ac_ext
9207
#if defined (__STDC__) && __STDC__
9208
# define lt_ptr_t void *
9210
# define lt_ptr_t char *
9214
/* The mapping between symbol names and symbols. */
9219
lt_preloaded_symbols[] =
9222
$SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
9223
cat <<\EOF >> conftest.$ac_ext
9231
# Now try linking the two files.
9232
mv conftest.$ac_objext conftstm.$ac_objext
9233
lt_save_LIBS="$LIBS"
9234
lt_save_CFLAGS="$CFLAGS"
9235
LIBS="conftstm.$ac_objext"
9236
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
9237
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9238
(eval $ac_link) 2>&5
9240
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9241
(exit $ac_status); } && test -s conftest${ac_exeext}; then
9244
LIBS="$lt_save_LIBS"
9245
CFLAGS="$lt_save_CFLAGS"
9247
echo "cannot find nm_test_func in $nlist" >&5
9250
echo "cannot find nm_test_var in $nlist" >&5
9253
echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
9256
echo "$progname: failed program was:" >&5
9257
cat conftest.$ac_ext >&5
9259
rm -f conftest* conftst*
9261
# Do not use the global_symbol_pipe unless it works.
9262
if test "$pipe_works" = yes; then
9265
lt_cv_sys_global_symbol_pipe=
9271
if test -z "$lt_cv_sys_global_symbol_pipe"; then
9272
lt_cv_sys_global_symbol_to_cdecl=
9274
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
9275
{ echo "$as_me:$LINENO: result: failed" >&5
9276
echo "${ECHO_T}failed" >&6; }
9278
{ echo "$as_me:$LINENO: result: ok" >&5
9279
echo "${ECHO_T}ok" >&6; }
9282
{ echo "$as_me:$LINENO: checking for objdir" >&5
9283
echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
9284
if test "${lt_cv_objdir+set}" = set; then
9285
echo $ECHO_N "(cached) $ECHO_C" >&6
9287
rm -f .libs 2>/dev/null
9288
mkdir .libs 2>/dev/null
9289
if test -d .libs; then
9292
# MS-DOS does not allow filenames that begin with a dot.
9295
rmdir .libs 2>/dev/null
9297
{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
9298
echo "${ECHO_T}$lt_cv_objdir" >&6; }
9299
objdir=$lt_cv_objdir
9307
# AIX sometimes has problems with the GCC collect2 program. For some
9308
# reason, if we set the COLLECT_NAMES environment variable, the problems
9309
# vanish in a puff of smoke.
9310
if test "X${COLLECT_NAMES+set}" != Xset; then
9312
export COLLECT_NAMES
9317
# Sed substitution that helps us do robust quoting. It backslashifies
9318
# metacharacters that are still active within double-quoted strings.
9319
Xsed='sed -e s/^X//'
9320
sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
9322
# Same as above, but do not quote variable references.
9323
double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
9325
# Sed substitution to delay expansion of an escaped shell variable in a
9326
# double_quote_subst'ed string.
9327
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
9329
# Sed substitution to avoid accidental globbing in evaled expressions
9330
no_glob_subst='s/\*/\\\*/g'
9336
default_ofile=libtool
9337
can_build_shared=yes
9339
# All known linkers require a `.a' archive for static linking (except M$VC,
9340
# which needs '.lib').
9342
ltmain="$ac_aux_dir/ltmain.sh"
9343
ofile="$default_ofile"
9344
with_gnu_ld="$lt_cv_prog_gnu_ld"
9346
if test -n "$ac_tool_prefix"; then
9347
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
9348
set dummy ${ac_tool_prefix}ar; ac_word=$2
9349
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9350
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9351
if test "${ac_cv_prog_AR+set}" = set; then
9352
echo $ECHO_N "(cached) $ECHO_C" >&6
9354
if test -n "$AR"; then
9355
ac_cv_prog_AR="$AR" # Let the user override the test.
9357
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9361
test -z "$as_dir" && as_dir=.
9362
for ac_exec_ext in '' $ac_executable_extensions; do
9363
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9364
ac_cv_prog_AR="${ac_tool_prefix}ar"
9365
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9375
if test -n "$AR"; then
9376
{ echo "$as_me:$LINENO: result: $AR" >&5
9377
echo "${ECHO_T}$AR" >&6; }
9379
{ echo "$as_me:$LINENO: result: no" >&5
9380
echo "${ECHO_T}no" >&6; }
9385
if test -z "$ac_cv_prog_AR"; then
9387
# Extract the first word of "ar", so it can be a program name with args.
9388
set dummy ar; ac_word=$2
9389
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9390
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9391
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
9392
echo $ECHO_N "(cached) $ECHO_C" >&6
9394
if test -n "$ac_ct_AR"; then
9395
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
9397
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9401
test -z "$as_dir" && as_dir=.
9402
for ac_exec_ext in '' $ac_executable_extensions; do
9403
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9404
ac_cv_prog_ac_ct_AR="ar"
9405
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9414
ac_ct_AR=$ac_cv_prog_ac_ct_AR
9415
if test -n "$ac_ct_AR"; then
9416
{ echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
9417
echo "${ECHO_T}$ac_ct_AR" >&6; }
9419
{ echo "$as_me:$LINENO: result: no" >&5
9420
echo "${ECHO_T}no" >&6; }
9423
if test "x$ac_ct_AR" = x; then
9426
case $cross_compiling:$ac_tool_warned in
9428
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
9429
whose name does not start with the host triplet. If you think this
9430
configuration is useful to you, please write to autoconf@gnu.org." >&5
9431
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
9432
whose name does not start with the host triplet. If you think this
9433
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
9434
ac_tool_warned=yes ;;
9442
if test -n "$ac_tool_prefix"; then
9443
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
9444
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
9445
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9446
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9447
if test "${ac_cv_prog_RANLIB+set}" = set; then
9448
echo $ECHO_N "(cached) $ECHO_C" >&6
9450
if test -n "$RANLIB"; then
9451
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9453
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9457
test -z "$as_dir" && as_dir=.
9458
for ac_exec_ext in '' $ac_executable_extensions; do
9459
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9460
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
9461
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9470
RANLIB=$ac_cv_prog_RANLIB
9471
if test -n "$RANLIB"; then
9472
{ echo "$as_me:$LINENO: result: $RANLIB" >&5
9473
echo "${ECHO_T}$RANLIB" >&6; }
9475
{ echo "$as_me:$LINENO: result: no" >&5
9476
echo "${ECHO_T}no" >&6; }
9481
if test -z "$ac_cv_prog_RANLIB"; then
9482
ac_ct_RANLIB=$RANLIB
9483
# Extract the first word of "ranlib", so it can be a program name with args.
9484
set dummy ranlib; ac_word=$2
9485
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9486
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9487
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
9488
echo $ECHO_N "(cached) $ECHO_C" >&6
9490
if test -n "$ac_ct_RANLIB"; then
9491
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
9493
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9497
test -z "$as_dir" && as_dir=.
9498
for ac_exec_ext in '' $ac_executable_extensions; do
9499
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9500
ac_cv_prog_ac_ct_RANLIB="ranlib"
9501
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9510
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
9511
if test -n "$ac_ct_RANLIB"; then
9512
{ echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
9513
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
9515
{ echo "$as_me:$LINENO: result: no" >&5
9516
echo "${ECHO_T}no" >&6; }
9519
if test "x$ac_ct_RANLIB" = x; then
9522
case $cross_compiling:$ac_tool_warned in
9524
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
9525
whose name does not start with the host triplet. If you think this
9526
configuration is useful to you, please write to autoconf@gnu.org." >&5
9527
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
9528
whose name does not start with the host triplet. If you think this
9529
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
9530
ac_tool_warned=yes ;;
9532
RANLIB=$ac_ct_RANLIB
9535
RANLIB="$ac_cv_prog_RANLIB"
9538
if test -n "$ac_tool_prefix"; then
9539
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
9540
set dummy ${ac_tool_prefix}strip; ac_word=$2
9541
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9542
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9543
if test "${ac_cv_prog_STRIP+set}" = set; then
9544
echo $ECHO_N "(cached) $ECHO_C" >&6
9546
if test -n "$STRIP"; then
9547
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9549
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9553
test -z "$as_dir" && as_dir=.
9554
for ac_exec_ext in '' $ac_executable_extensions; do
9555
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9556
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
9557
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9566
STRIP=$ac_cv_prog_STRIP
9567
if test -n "$STRIP"; then
9568
{ echo "$as_me:$LINENO: result: $STRIP" >&5
9569
echo "${ECHO_T}$STRIP" >&6; }
9571
{ echo "$as_me:$LINENO: result: no" >&5
9572
echo "${ECHO_T}no" >&6; }
9577
if test -z "$ac_cv_prog_STRIP"; then
9579
# Extract the first word of "strip", so it can be a program name with args.
9580
set dummy strip; ac_word=$2
9581
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9582
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9583
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
9584
echo $ECHO_N "(cached) $ECHO_C" >&6
9586
if test -n "$ac_ct_STRIP"; then
9587
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
9589
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9593
test -z "$as_dir" && as_dir=.
9594
for ac_exec_ext in '' $ac_executable_extensions; do
9595
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9596
ac_cv_prog_ac_ct_STRIP="strip"
9597
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9606
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
9607
if test -n "$ac_ct_STRIP"; then
9608
{ echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
9609
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
9611
{ echo "$as_me:$LINENO: result: no" >&5
9612
echo "${ECHO_T}no" >&6; }
9615
if test "x$ac_ct_STRIP" = x; then
9618
case $cross_compiling:$ac_tool_warned in
9620
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
9621
whose name does not start with the host triplet. If you think this
9622
configuration is useful to you, please write to autoconf@gnu.org." >&5
9623
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
9624
whose name does not start with the host triplet. If you think this
9625
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
9626
ac_tool_warned=yes ;;
9631
STRIP="$ac_cv_prog_STRIP"
9636
old_CFLAGS="$CFLAGS"
9638
# Set sane defaults for various variables
9639
test -z "$AR" && AR=ar
9640
test -z "$AR_FLAGS" && AR_FLAGS=cru
9641
test -z "$AS" && AS=as
9642
test -z "$CC" && CC=cc
9643
test -z "$LTCC" && LTCC=$CC
9644
test -z "$DLLTOOL" && DLLTOOL=dlltool
9645
test -z "$LD" && LD=ld
9646
test -z "$LN_S" && LN_S="ln -s"
9647
test -z "$MAGIC_CMD" && MAGIC_CMD=file
9648
test -z "$NM" && NM=nm
9649
test -z "$SED" && SED=sed
9650
test -z "$OBJDUMP" && OBJDUMP=objdump
9651
test -z "$RANLIB" && RANLIB=:
9652
test -z "$STRIP" && STRIP=:
9653
test -z "$ac_objext" && ac_objext=o
9655
# Determine commands to create old-style static archives.
9656
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
9657
old_postinstall_cmds='chmod 644 $oldlib'
9658
old_postuninstall_cmds=
9660
if test -n "$RANLIB"; then
9663
old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
9666
old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
9669
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
9672
# Only perform the check for file, if the check method requires it
9673
case $deplibs_check_method in
9675
if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9676
{ echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
9677
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
9678
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
9679
echo $ECHO_N "(cached) $ECHO_C" >&6
9683
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9686
lt_save_MAGIC_CMD="$MAGIC_CMD"
9687
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9688
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9689
for ac_dir in $ac_dummy; do
9691
test -z "$ac_dir" && ac_dir=.
9692
if test -f $ac_dir/${ac_tool_prefix}file; then
9693
lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9694
if test -n "$file_magic_test_file"; then
9695
case $deplibs_check_method in
9697
file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
9698
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9699
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9700
$EGREP "$file_magic_regex" > /dev/null; then
9705
*** Warning: the command libtool uses to detect shared libraries,
9706
*** $file_magic_cmd, produces output that libtool cannot recognize.
9707
*** The result is that libtool may fail to recognize shared libraries
9708
*** as such. This will affect the creation of libtool libraries that
9709
*** depend on shared libraries, but programs linked with such libtool
9710
*** libraries will work regardless of this problem. Nevertheless, you
9711
*** may want to report the problem to your system manager and/or to
9712
*** bug-libtool@gnu.org
9722
MAGIC_CMD="$lt_save_MAGIC_CMD"
9727
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9728
if test -n "$MAGIC_CMD"; then
9729
{ echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
9730
echo "${ECHO_T}$MAGIC_CMD" >&6; }
9732
{ echo "$as_me:$LINENO: result: no" >&5
9733
echo "${ECHO_T}no" >&6; }
9736
if test -z "$lt_cv_path_MAGIC_CMD"; then
9737
if test -n "$ac_tool_prefix"; then
9738
{ echo "$as_me:$LINENO: checking for file" >&5
9739
echo $ECHO_N "checking for file... $ECHO_C" >&6; }
9740
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
9741
echo $ECHO_N "(cached) $ECHO_C" >&6
9745
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9748
lt_save_MAGIC_CMD="$MAGIC_CMD"
9749
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9750
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9751
for ac_dir in $ac_dummy; do
9753
test -z "$ac_dir" && ac_dir=.
9754
if test -f $ac_dir/file; then
9755
lt_cv_path_MAGIC_CMD="$ac_dir/file"
9756
if test -n "$file_magic_test_file"; then
9757
case $deplibs_check_method in
9759
file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
9760
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9761
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9762
$EGREP "$file_magic_regex" > /dev/null; then
9767
*** Warning: the command libtool uses to detect shared libraries,
9768
*** $file_magic_cmd, produces output that libtool cannot recognize.
9769
*** The result is that libtool may fail to recognize shared libraries
9770
*** as such. This will affect the creation of libtool libraries that
9771
*** depend on shared libraries, but programs linked with such libtool
9772
*** libraries will work regardless of this problem. Nevertheless, you
9773
*** may want to report the problem to your system manager and/or to
9774
*** bug-libtool@gnu.org
9784
MAGIC_CMD="$lt_save_MAGIC_CMD"
9789
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9790
if test -n "$MAGIC_CMD"; then
9791
{ echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
9792
echo "${ECHO_T}$MAGIC_CMD" >&6; }
9794
{ echo "$as_me:$LINENO: result: no" >&5
9795
echo "${ECHO_T}no" >&6; }
9810
# Check whether --enable-libtool-lock was given.
9811
if test "${enable_libtool_lock+set}" = set; then
9812
enableval=$enable_libtool_lock;
9815
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
9818
# Check whether --with-pic was given.
9819
if test "${with_pic+set}" = set; then
9820
withval=$with_pic; pic_mode="$withval"
9825
test -z "$pic_mode" && pic_mode=default
9827
# Use C for the default configuration in the libtool script
9831
ac_cpp='$CPP $CPPFLAGS'
9832
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9833
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9834
ac_compiler_gnu=$ac_cv_c_compiler_gnu
9837
# Source file extension for C test sources.
9840
# Object file extension for compiled C test sources.
9844
# Code to be used in simple compile tests
9845
lt_simple_compile_test_code="int some_variable = 0;\n"
9847
# Code to be used in simple link tests
9848
lt_simple_link_test_code='int main(){return(0);}\n'
9851
# If no C compiler was specified, use CC.
9854
# Allow CC to be a program name with arguments.
9859
# Check for any special shared library compilation flags.
9862
if test "$GCC" = no; then
9865
lt_prog_cc_shlib='-belf'
9869
if test -n "$lt_prog_cc_shlib"; then
9870
{ echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
9871
echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
9872
if echo "$old_CC $old_CFLAGS " | grep "[ ]$lt_prog_cc_shlib[ ]" >/dev/null; then :
9874
{ echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
9875
echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
9876
lt_cv_prog_cc_can_build_shared=no
9882
# Check to make sure the static flag actually works.
9884
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
9885
echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6; }
9886
if test "${lt_prog_compiler_static_works+set}" = set; then
9887
echo $ECHO_N "(cached) $ECHO_C" >&6
9889
lt_prog_compiler_static_works=no
9890
save_LDFLAGS="$LDFLAGS"
9891
LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
9892
printf "$lt_simple_link_test_code" > conftest.$ac_ext
9893
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9894
# The compiler can only warn and ignore the option if not recognized
9895
# So say no if there are warnings
9896
if test -s conftest.err; then
9897
# Append any errors to the config.log.
9898
cat conftest.err 1>&5
9900
lt_prog_compiler_static_works=yes
9904
LDFLAGS="$save_LDFLAGS"
9907
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
9908
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
9910
if test x"$lt_prog_compiler_static_works" = xyes; then
9913
lt_prog_compiler_static=
9919
## There is no encapsulation within the following macros, do not change
9920
## the running order or otherwise move them around unless you know exactly
9921
## what you are doing...
9923
lt_prog_compiler_no_builtin_flag=
9925
if test "$GCC" = yes; then
9926
lt_prog_compiler_no_builtin_flag=' -fno-builtin'
9929
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9930
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
9931
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
9932
echo $ECHO_N "(cached) $ECHO_C" >&6
9934
lt_cv_prog_compiler_rtti_exceptions=no
9935
ac_outfile=conftest.$ac_objext
9936
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
9937
lt_compiler_flag="-fno-rtti -fno-exceptions"
9938
# Insert the option either (1) after the last *FLAGS variable, or
9939
# (2) before a word containing "conftest.", or (3) at the end.
9940
# Note that $ac_compile itself does not contain backslashes and begins
9941
# with a dollar sign (not a hyphen), so the echo should work correctly.
9942
# The option is referenced via a variable to avoid confusing sed.
9943
lt_compile=`echo "$ac_compile" | $SED \
9944
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
9945
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9946
-e 's:$: $lt_compiler_flag:'`
9947
(eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
9948
(eval "$lt_compile" 2>conftest.err)
9950
cat conftest.err >&5
9951
echo "$as_me:__oline__: \$? = $ac_status" >&5
9952
if (exit $ac_status) && test -s "$ac_outfile"; then
9953
# The compiler can only warn and ignore the option if not recognized
9954
# So say no if there are warnings
9955
if test ! -s conftest.err; then
9956
lt_cv_prog_compiler_rtti_exceptions=yes
9962
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9963
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9965
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9966
lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9973
lt_prog_compiler_wl=
9974
lt_prog_compiler_pic=
9975
lt_prog_compiler_static=
9977
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
9978
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
9980
if test "$GCC" = yes; then
9981
lt_prog_compiler_wl='-Wl,'
9982
lt_prog_compiler_static='-static'
9986
# All AIX code is PIC.
9987
if test "$host_cpu" = ia64; then
9988
# AIX 5 now supports IA64 processor
9989
lt_prog_compiler_static='-Bstatic'
9994
# FIXME: we need at least 68020 code to build shared libraries, but
9995
# adding the `-m68020' flag to GCC prevents building anything better,
9997
lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
10000
beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10001
# PIC is the default for these OSes.
10004
mingw* | pw32* | os2*)
10005
# This hack is so that the source file can tell whether it is being
10006
# built for inclusion in a dll (and should export symbols for example).
10007
lt_prog_compiler_pic='-DDLL_EXPORT'
10010
darwin* | rhapsody*)
10011
# PIC is the default on this platform
10012
# Common symbols not allowed in MH_DYLIB files
10013
lt_prog_compiler_pic='-fno-common'
10017
# Just because we use GCC doesn't mean we suddenly get shared libraries
10018
# on systems that don't support them.
10019
lt_prog_compiler_can_build_shared=no
10024
if test -d /usr/nec; then
10025
lt_prog_compiler_pic=-Kconform_pic
10030
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10031
# not for PA HP-UX.
10032
case "$host_cpu" in
10037
lt_prog_compiler_pic='-fPIC'
10043
lt_prog_compiler_pic='-fPIC'
10047
# PORTME Check for flag to pass linker flags through the system compiler.
10050
lt_prog_compiler_wl='-Wl,'
10051
if test "$host_cpu" = ia64; then
10052
# AIX 5 now supports IA64 processor
10053
lt_prog_compiler_static='-Bstatic'
10055
lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
10059
mingw* | pw32* | os2*)
10060
# This hack is so that the source file can tell whether it is being
10061
# built for inclusion in a dll (and should export symbols for example).
10062
lt_prog_compiler_pic='-DDLL_EXPORT'
10065
hpux9* | hpux10* | hpux11*)
10066
lt_prog_compiler_wl='-Wl,'
10067
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10068
# not for PA HP-UX.
10069
case "$host_cpu" in
10074
lt_prog_compiler_pic='+Z'
10077
# Is there a better lt_prog_compiler_static that works with the bundled CC?
10078
lt_prog_compiler_static='${wl}-a ${wl}archive'
10081
irix5* | irix6* | nonstopux*)
10082
lt_prog_compiler_wl='-Wl,'
10083
# PIC (with -KPIC) is the default.
10084
lt_prog_compiler_static='-non_shared'
10088
lt_prog_compiler_pic='-KPIC'
10089
lt_prog_compiler_static='-Bstatic'
10095
lt_prog_compiler_wl='-Wl,'
10096
lt_prog_compiler_pic='-KPIC'
10097
lt_prog_compiler_static='-static'
10100
lt_prog_compiler_wl='-Wl,'
10101
# All Alpha code is PIC.
10102
lt_prog_compiler_static='-non_shared'
10107
osf3* | osf4* | osf5*)
10108
lt_prog_compiler_wl='-Wl,'
10109
# All OSF/1 code is PIC.
10110
lt_prog_compiler_static='-non_shared'
10114
lt_prog_compiler_pic='-Kpic'
10115
lt_prog_compiler_static='-dn'
10119
lt_prog_compiler_wl='-Wl,'
10120
lt_prog_compiler_pic='-KPIC'
10121
lt_prog_compiler_static='-Bstatic'
10125
lt_prog_compiler_wl='-Qoption ld '
10126
lt_prog_compiler_pic='-PIC'
10127
lt_prog_compiler_static='-Bstatic'
10130
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10131
lt_prog_compiler_wl='-Wl,'
10132
lt_prog_compiler_pic='-KPIC'
10133
lt_prog_compiler_static='-Bstatic'
10137
if test -d /usr/nec ;then
10138
lt_prog_compiler_pic='-Kconform_pic'
10139
lt_prog_compiler_static='-Bstatic'
10144
lt_prog_compiler_pic='-pic'
10145
lt_prog_compiler_static='-Bstatic'
10149
lt_prog_compiler_can_build_shared=no
10154
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
10155
echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
10158
# Check to make sure the PIC flag actually works.
10160
if test -n "$lt_prog_compiler_pic"; then
10162
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10163
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
10164
if test "${lt_prog_compiler_pic_works+set}" = set; then
10165
echo $ECHO_N "(cached) $ECHO_C" >&6
10167
lt_prog_compiler_pic_works=no
10168
ac_outfile=conftest.$ac_objext
10169
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10170
lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
10171
# Insert the option either (1) after the last *FLAGS variable, or
10172
# (2) before a word containing "conftest.", or (3) at the end.
10173
# Note that $ac_compile itself does not contain backslashes and begins
10174
# with a dollar sign (not a hyphen), so the echo should work correctly.
10175
# The option is referenced via a variable to avoid confusing sed.
10176
lt_compile=`echo "$ac_compile" | $SED \
10177
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10178
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10179
-e 's:$: $lt_compiler_flag:'`
10180
(eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
10181
(eval "$lt_compile" 2>conftest.err)
10183
cat conftest.err >&5
10184
echo "$as_me:__oline__: \$? = $ac_status" >&5
10185
if (exit $ac_status) && test -s "$ac_outfile"; then
10186
# The compiler can only warn and ignore the option if not recognized
10187
# So say no if there are warnings
10188
if test ! -s conftest.err; then
10189
lt_prog_compiler_pic_works=yes
10195
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
10196
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
10198
if test x"$lt_prog_compiler_pic_works" = xyes; then
10199
case $lt_prog_compiler_pic in
10201
*) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10204
lt_prog_compiler_pic=
10205
lt_prog_compiler_can_build_shared=no
10210
# For platforms which do not support PIC, -DPIC is meaningless:
10212
lt_prog_compiler_pic=
10215
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10219
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
10220
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
10221
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
10222
echo $ECHO_N "(cached) $ECHO_C" >&6
10224
lt_cv_prog_compiler_c_o=no
10225
$rm -r conftest 2>/dev/null
10229
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10231
# According to Tom Tromey, Ian Lance Taylor reported there are C compilers
10232
# that will create temporary files in the current directory regardless of
10233
# the output directory. Thus, making CWD read-only will cause this test
10234
# to fail, enabling locking or at least warning the user not to do parallel
10238
lt_compiler_flag="-o out/conftest2.$ac_objext"
10239
# Insert the option either (1) after the last *FLAGS variable, or
10240
# (2) before a word containing "conftest.", or (3) at the end.
10241
# Note that $ac_compile itself does not contain backslashes and begins
10242
# with a dollar sign (not a hyphen), so the echo should work correctly.
10243
lt_compile=`echo "$ac_compile" | $SED \
10244
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10245
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10246
-e 's:$: $lt_compiler_flag:'`
10247
(eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
10248
(eval "$lt_compile" 2>out/conftest.err)
10250
cat out/conftest.err >&5
10251
echo "$as_me:__oline__: \$? = $ac_status" >&5
10252
if (exit $ac_status) && test -s out/conftest2.$ac_objext
10254
# The compiler can only warn and ignore the option if not recognized
10255
# So say no if there are warnings
10256
if test ! -s out/conftest.err; then
10257
lt_cv_prog_compiler_c_o=yes
10261
$rm conftest* out/*
10268
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
10269
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
10272
hard_links="nottested"
10273
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
10274
# do not overwrite the value of need_locks provided by the user
10275
{ echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
10276
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
10279
ln conftest.a conftest.b 2>/dev/null && hard_links=no
10281
ln conftest.a conftest.b 2>&5 || hard_links=no
10282
ln conftest.a conftest.b 2>/dev/null && hard_links=no
10283
{ echo "$as_me:$LINENO: result: $hard_links" >&5
10284
echo "${ECHO_T}$hard_links" >&6; }
10285
if test "$hard_links" = no; then
10286
{ echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10287
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10294
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10295
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
10298
allow_undefined_flag=
10299
enable_shared_with_static_runtimes=no
10301
archive_expsym_cmds=
10302
old_archive_From_new_cmds=
10303
old_archive_from_expsyms_cmds=
10304
export_dynamic_flag_spec=
10305
whole_archive_flag_spec=
10306
thread_safe_flag_spec=
10307
hardcode_libdir_flag_spec=
10308
hardcode_libdir_flag_spec_ld=
10309
hardcode_libdir_separator=
10311
hardcode_minus_L=no
10312
hardcode_shlibpath_var=unsupported
10313
link_all_deplibs=unknown
10314
hardcode_automatic=no
10316
module_expsym_cmds=
10317
always_export_symbols=no
10318
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10319
# include_expsyms should be a list of space-separated symbols to be *always*
10320
# included in the symbol list
10322
# exclude_expsyms can be an extended regexp of symbols to exclude
10323
# it will be wrapped by ` (' and `)$', so one must not match beginning or
10324
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10325
# as well as any symbol that contains `d'.
10326
exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
10327
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10328
# platforms (ab)use it in PIC code, but their linkers get confused if
10329
# the symbol is explicitly referenced. Since portable code cannot
10330
# rely on this symbol name, it's probably fine to never include it in
10331
# preloaded symbol tables.
10332
extract_expsyms_cmds=
10335
cygwin* | mingw* | pw32*)
10336
# FIXME: the MSVC++ port hasn't been tested in a loooong time
10337
# When not using gcc, we currently assume that we are using
10338
# Microsoft Visual C++.
10339
if test "$GCC" != yes; then
10349
if test "$with_gnu_ld" = yes; then
10350
# If archive_cmds runs LD, not CC, wlarc should be empty
10353
# See if GNU ld supports shared libraries.
10355
aix3* | aix4* | aix5*)
10356
# On AIX/PPC, the GNU linker is very broken
10357
if test "$host_cpu" != ia64; then
10361
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
10362
*** to be unable to reliably create shared libraries on AIX.
10363
*** Therefore, libtool is disabling shared libraries support. If you
10364
*** really care for shared libraries, you may want to modify your PATH
10365
*** so that a non-GNU linker is found, and then restart.
10372
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)'
10373
hardcode_libdir_flag_spec='-L$libdir'
10374
hardcode_minus_L=yes
10376
# Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
10377
# that the semantics of dynamic libraries on AmigaOS, at least up
10378
# to version 4, is to share data among multiple programs linked
10379
# with the same dynamic library. Since this doesn't match the
10380
# behavior of shared libraries on other platforms, we can't use
10386
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
10387
allow_undefined_flag=unsupported
10388
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10389
# support --undefined. This deserves some investigation. FIXME
10390
archive_cmds='$CC -nostart $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
10396
cygwin* | mingw* | pw32*)
10397
# _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10398
# as there is no search path for DLLs.
10399
hardcode_libdir_flag_spec='-L$libdir'
10400
allow_undefined_flag=no
10401
always_export_symbols=no
10402
enable_shared_with_static_runtimes=yes
10403
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
10405
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
10406
archive_cmds='$CC -shared $compiler_flags $libobjs $deplibs -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
10407
# If the export-symbols file already is a .def file (1st line
10408
# is EXPORTS), use it as is; otherwise, prepend...
10409
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10410
cp $export_symbols $output_objdir/$soname.def;
10412
echo EXPORTS > $output_objdir/$soname.def;
10413
cat $export_symbols >> $output_objdir/$soname.def;
10415
$CC -shared $output_objdir/$soname.def $compiler_flags $libobjs $deplibs -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
10422
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10423
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10426
archive_cmds='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
10427
archive_expsym_cmds='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10432
if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
10436
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
10437
*** create shared libraries on Solaris systems. Therefore, libtool
10438
*** is disabling shared libraries support. We urge you to upgrade GNU
10439
*** binutils to release 2.9.1 or newer. Another option is to modify
10440
*** your PATH or compiler configuration so that the native linker is
10441
*** used, and then restart.
10444
elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
10445
archive_cmds='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
10446
archive_expsym_cmds='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10453
archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10455
hardcode_direct=yes
10456
hardcode_shlibpath_var=no
10460
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
10461
archive_cmds='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
10462
archive_expsym_cmds='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10469
if test "$ld_shlibs" = yes; then
10470
runpath_var=LD_RUN_PATH
10471
hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
10472
export_dynamic_flag_spec='${wl}--export-dynamic'
10473
# ancient GNU ld didn't support --whole-archive et. al.
10474
if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
10475
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10477
whole_archive_flag_spec=
10481
# PORTME fill in a description of your system's linker (not GNU ld)
10484
allow_undefined_flag=unsupported
10485
always_export_symbols=yes
10486
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'
10487
# Note: this linker hardcodes the directories in LIBPATH if there
10488
# are no directories specified by -L.
10489
hardcode_minus_L=yes
10490
if test "$GCC" = yes && test -z "$link_static_flag"; then
10491
# Neither direct hardcoding nor static linking is supported with a
10493
hardcode_direct=unsupported
10498
if test "$host_cpu" = ia64; then
10499
# On IA64, the linker does run time linking by default, so we don't
10500
# have to do anything special.
10501
aix_use_runtimelinking=no
10502
exp_sym_flag='-Bexport'
10505
# If we're using GNU nm, then we don't want the "-C" option.
10506
# -C means demangle to AIX nm, but means don't demangle with GNU nm
10507
if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
10508
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'
10510
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'
10513
# KDE requires run time linking. Make it the default.
10514
aix_use_runtimelinking=yes
10515
exp_sym_flag='-bexport'
10516
no_entry_flag='-bnoentry'
10519
# When large executables or shared objects are built, AIX ld can
10520
# have problems creating the table of contents. If linking a library
10521
# or program results in "error TOC overflow" add -mminimal-toc to
10522
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10523
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10526
hardcode_direct=yes
10527
hardcode_libdir_separator=':'
10528
link_all_deplibs=yes
10530
if test "$GCC" = yes; then
10531
case $host_os in aix4.012|aix4.012.*)
10532
# We only want to do this on AIX 4.2 and lower, the check
10533
# below for broken collect2 doesn't work under 4.3+
10534
collect2name=`${CC} -print-prog-name=collect2`
10535
if test -f "$collect2name" && \
10536
strings "$collect2name" | grep resolve_lib_name >/dev/null
10538
# We have reworked collect2
10539
hardcode_direct=yes
10541
# We have old collect2
10542
hardcode_direct=unsupported
10543
# It fails to find uninstalled libraries when the uninstalled
10544
# path is not listed in the libpath. Setting hardcode_minus_L
10545
# to unsupported forces relinking
10546
hardcode_minus_L=yes
10547
hardcode_libdir_flag_spec='-L$libdir'
10548
hardcode_libdir_separator=
10551
shared_flag='-shared'
10554
if test "$host_cpu" = ia64; then
10555
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10556
# chokes on -Wl,-G. The following line is correct:
10559
if test "$aix_use_runtimelinking" = yes; then
10560
shared_flag='-qmkshrobj ${wl}-G'
10562
shared_flag='-qmkshrobj'
10567
# Let the compiler handle the export list.
10568
always_export_symbols=no
10569
if test "$aix_use_runtimelinking" = yes; then
10570
# Warning - without using the other runtime loading flags (-brtl),
10571
# -berok will link without error, but may produce a broken library.
10572
allow_undefined_flag='-berok'
10573
# Determine the default libpath from the value encoded in an empty executable.
10574
cat >conftest.$ac_ext <<_ACEOF
10577
cat confdefs.h >>conftest.$ac_ext
10578
cat >>conftest.$ac_ext <<_ACEOF
10579
/* end confdefs.h. */
10589
rm -f conftest.$ac_objext conftest$ac_exeext
10590
if { (ac_try="$ac_link"
10591
case "(($ac_try" in
10592
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10593
*) ac_try_echo=$ac_try;;
10595
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10596
(eval "$ac_link") 2>conftest.er1
10598
grep -v '^ *+' conftest.er1 >conftest.err
10600
cat conftest.err >&5
10601
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10602
(exit $ac_status); } && {
10603
test -z "$ac_c_werror_flag" ||
10604
test ! -s conftest.err
10605
} && test -s conftest$ac_exeext &&
10606
$as_test_x conftest$ac_exeext; then
10608
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10610
# Check for a 64-bit object if we didn't find anything.
10611
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10614
echo "$as_me: failed program was:" >&5
10615
sed 's/^/| /' conftest.$ac_ext >&5
10620
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10621
conftest$ac_exeext conftest.$ac_ext
10622
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10624
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10625
archive_cmds="\$CC"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '" $shared_flag"
10626
archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10628
if test "$host_cpu" = ia64; then
10629
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10630
allow_undefined_flag="-z nodefs"
10631
archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
10633
# Determine the default libpath from the value encoded in an empty executable.
10634
cat >conftest.$ac_ext <<_ACEOF
10637
cat confdefs.h >>conftest.$ac_ext
10638
cat >>conftest.$ac_ext <<_ACEOF
10639
/* end confdefs.h. */
10649
rm -f conftest.$ac_objext conftest$ac_exeext
10650
if { (ac_try="$ac_link"
10651
case "(($ac_try" in
10652
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10653
*) ac_try_echo=$ac_try;;
10655
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10656
(eval "$ac_link") 2>conftest.er1
10658
grep -v '^ *+' conftest.er1 >conftest.err
10660
cat conftest.err >&5
10661
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10662
(exit $ac_status); } && {
10663
test -z "$ac_c_werror_flag" ||
10664
test ! -s conftest.err
10665
} && test -s conftest$ac_exeext &&
10666
$as_test_x conftest$ac_exeext; then
10668
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10670
# Check for a 64-bit object if we didn't find anything.
10671
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10674
echo "$as_me: failed program was:" >&5
10675
sed 's/^/| /' conftest.$ac_ext >&5
10680
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10681
conftest$ac_exeext conftest.$ac_ext
10682
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10684
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10685
# Warning - without using the other run time loading flags,
10686
# -berok will link without error, but may produce a broken library.
10687
no_undefined_flag=' ${wl}-bernotok'
10688
allow_undefined_flag=' ${wl}-berok'
10689
# -bexpall does not export symbols beginning with underscore (_)
10690
always_export_symbols=yes
10691
# Exported symbols can be pulled into shared objects from archives
10692
whole_archive_flag_spec=' '
10693
archive_cmds_need_lc=yes
10694
# This is similar to how AIX traditionally builds it's shared libraries.
10695
archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
10701
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)'
10702
hardcode_libdir_flag_spec='-L$libdir'
10703
hardcode_minus_L=yes
10704
# see comment about different semantics on the GNU ld section
10709
export_dynamic_flag_spec=-rdynamic
10712
cygwin* | mingw* | pw32*)
10713
# When not using gcc, we currently assume that we are using
10714
# Microsoft Visual C++.
10715
# hardcode_libdir_flag_spec is actually meaningless, as there is
10716
# no search path for DLLs.
10717
hardcode_libdir_flag_spec=' '
10718
allow_undefined_flag=no
10719
# Tell ltmain to make .lib files, not .a files.
10721
# Tell ltmain to make .dll files, not .so files.
10723
# FIXME: Setting linknames here is a bad hack.
10724
archive_cmds='$CC -o $lib $compiler_flags $libobjs `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
10725
# The linker will automatically build a .lib file if we build a DLL.
10726
old_archive_From_new_cmds='true'
10727
# FIXME: Should let the user specify the lib program.
10728
old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
10729
fix_srcfile_path='`cygpath -w "$srcfile"`'
10730
enable_shared_with_static_runtimes=yes
10733
darwin* | rhapsody*)
10734
if test "$GXX" = yes ; then
10735
archive_cmds_need_lc=no
10737
rhapsody* | darwin1.[012])
10738
allow_undefined_flag='-Wl,-undefined -Wl,suppress'
10741
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
10742
allow_undefined_flag='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
10744
case ${MACOSX_DEPLOYMENT_TARGET} in
10746
allow_undefined_flag='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
10749
allow_undefined_flag='-Wl,-undefined -Wl,dynamic_lookup'
10755
lt_int_apple_cc_single_mod=no
10756
output_verbose_link_cmd='echo'
10757
if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
10758
lt_int_apple_cc_single_mod=yes
10760
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
10761
archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring'
10763
archive_cmds='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $compiler_flags $deplibs -install_name $rpath/$soname $verstring'
10765
module_cmds='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs'
10766
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
10767
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
10768
archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10770
archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $compiler_flags $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10772
module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10774
hardcode_automatic=yes
10775
hardcode_shlibpath_var=unsupported
10776
whole_archive_flag_spec='-all_load $convenience'
10777
link_all_deplibs=yes
10784
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10785
hardcode_libdir_flag_spec='-L$libdir'
10786
hardcode_shlibpath_var=no
10793
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10794
# support. Future versions do this automatically, but an explicit c++rt0.o
10795
# does not break anything, and helps significantly (at the cost of a little
10798
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10799
hardcode_libdir_flag_spec='-R$libdir'
10800
hardcode_direct=yes
10801
hardcode_shlibpath_var=no
10804
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
10806
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10807
hardcode_direct=yes
10808
hardcode_minus_L=yes
10809
hardcode_shlibpath_var=no
10812
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10814
archive_cmds='$CC -shared -o $lib $compiler_flags $libobjs $deplibs'
10815
hardcode_libdir_flag_spec='-R$libdir'
10816
hardcode_direct=yes
10817
hardcode_shlibpath_var=no
10821
if test "$GCC" = yes; then
10822
archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $compiler_flags $libobjs $deplibs~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10824
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'
10826
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10827
hardcode_libdir_separator=:
10828
hardcode_direct=yes
10830
# hardcode_minus_L: Not really in the search PATH,
10831
# but as the default location of the library.
10832
hardcode_minus_L=yes
10833
export_dynamic_flag_spec='${wl}-E'
10837
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10838
case "$host_cpu" in
10840
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
10843
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $compiler_flags $libobjs $deplibs'
10847
case "$host_cpu" in
10849
archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
10852
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10856
if test "$with_gnu_ld" = no; then
10857
case "$host_cpu" in
10859
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10860
hardcode_libdir_flag_spec_ld='+b $libdir'
10861
hardcode_libdir_separator=:
10863
hardcode_shlibpath_var=no
10866
hardcode_libdir_flag_spec='-L$libdir'
10868
hardcode_shlibpath_var=no
10870
# hardcode_minus_L: Not really in the search PATH,
10871
# but as the default location of the library.
10872
hardcode_minus_L=yes
10875
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10876
hardcode_libdir_separator=:
10877
hardcode_direct=yes
10878
export_dynamic_flag_spec='${wl}-E'
10880
# hardcode_minus_L: Not really in the search PATH,
10881
# but as the default location of the library.
10882
hardcode_minus_L=yes
10888
irix5* | irix6* | nonstopux*)
10889
if test "$GCC" = yes; then
10890
archive_cmds='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10892
archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
10893
hardcode_libdir_flag_spec_ld='-rpath $libdir'
10895
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10896
hardcode_libdir_separator=:
10897
link_all_deplibs=yes
10901
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10902
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10904
archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10906
hardcode_libdir_flag_spec='-R$libdir'
10907
hardcode_direct=yes
10908
hardcode_shlibpath_var=no
10912
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10913
hardcode_direct=yes
10914
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10915
hardcode_libdir_separator=:
10916
hardcode_shlibpath_var=no
10920
hardcode_direct=yes
10921
hardcode_shlibpath_var=no
10922
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10923
archive_cmds='$CC -shared $pic_flag -o $lib $compiler_flags $libobjs $deplibs'
10924
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10925
export_dynamic_flag_spec='${wl}-E'
10928
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10929
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10930
hardcode_libdir_flag_spec='-R$libdir'
10933
archive_cmds='$CC -shared $pic_flag -o $lib $compiler_flags $libobjs $deplibs'
10934
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10941
hardcode_libdir_flag_spec='-L$libdir'
10942
hardcode_minus_L=yes
10943
allow_undefined_flag=unsupported
10944
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 $compiler_flags $libobjs $deplibs$output_objdir/$libname.def'
10945
old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10949
if test "$GCC" = yes; then
10950
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10951
archive_cmds='$CC -shared${allow_undefined_flag} $compiler_flags $libobjs $deplibs ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10953
allow_undefined_flag=' -expect_unresolved \*'
10954
archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
10956
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10957
hardcode_libdir_separator=:
10960
osf4* | osf5*) # as osf3* with the addition of -msym flag
10961
if test "$GCC" = yes; then
10962
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10963
archive_cmds='$CC -shared${allow_undefined_flag} $compiler_flags $libobjs $deplibs ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10964
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10966
allow_undefined_flag=' -expect_unresolved \*'
10967
archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
10968
archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
10969
$LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
10971
# Both c and cxx compiler support -rpath directly
10972
hardcode_libdir_flag_spec='-rpath $libdir'
10974
hardcode_libdir_separator=:
10978
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10979
hardcode_shlibpath_var=no
10980
export_dynamic_flag_spec='${wl}-Bexport'
10981
runpath_var=LD_RUN_PATH
10982
hardcode_runpath_var=yes
10986
no_undefined_flag=' -z text'
10987
if test "$GCC" = yes; then
10988
archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
10989
archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10990
$CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs~$rm $lib.exp'
10992
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10993
archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10994
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
10996
hardcode_libdir_flag_spec='-R$libdir'
10997
hardcode_shlibpath_var=no
10999
solaris2.[0-5] | solaris2.[0-5].*) ;;
11000
*) # Supported since Solaris 2.6 (maybe 2.5.1?)
11001
whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
11003
link_all_deplibs=yes
11007
if test "x$host_vendor" = xsequent; then
11008
# Use $CC to link under sequent, because it throws in some extra .o
11009
# files that make .init and .fini sections work.
11010
archive_cmds='$CC -G ${wl}-h $soname -o $lib $compiler_flags $libobjs $deplibs'
11012
archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11014
hardcode_libdir_flag_spec='-L$libdir'
11015
hardcode_direct=yes
11016
hardcode_minus_L=yes
11017
hardcode_shlibpath_var=no
11021
case $host_vendor in
11023
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11024
hardcode_direct=yes # is this really true???
11027
## LD is ld it makes a PLAMLIB
11028
## CC just makes a GrossModule.
11029
archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11030
reload_cmds='$CC -r -o $output$reload_objs'
11034
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11035
hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11038
runpath_var='LD_RUN_PATH'
11039
hardcode_shlibpath_var=no
11043
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11044
hardcode_shlibpath_var=no
11045
export_dynamic_flag_spec='-Bexport'
11049
if test -d /usr/nec; then
11050
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11051
hardcode_shlibpath_var=no
11052
runpath_var=LD_RUN_PATH
11053
hardcode_runpath_var=yes
11059
archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11060
hardcode_direct=yes
11061
hardcode_minus_L=no
11062
hardcode_shlibpath_var=no
11063
hardcode_runpath_var=yes
11064
runpath_var=LD_RUN_PATH
11067
sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
11068
no_undefined_flag='${wl}-z ${wl}text'
11069
if test "$GCC" = yes; then
11070
archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
11072
archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
11074
runpath_var='LD_RUN_PATH'
11075
hardcode_shlibpath_var=no
11079
no_undefined_flag=' -z text'
11080
# $CC -shared without GNU ld will not create a library from C++
11081
# object files and a static libstdc++, better avoid it by now
11082
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11083
archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11084
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
11085
hardcode_libdir_flag_spec=
11086
hardcode_shlibpath_var=no
11087
runpath_var='LD_RUN_PATH'
11091
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11092
hardcode_libdir_flag_spec='-L$libdir'
11093
hardcode_shlibpath_var=no
11102
{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
11103
echo "${ECHO_T}$ld_shlibs" >&6; }
11104
test "$ld_shlibs" = no && can_build_shared=no
11106
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11107
if test "$GCC" = yes; then
11108
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11112
# Do we need to explicitly link libc?
11114
case "x$archive_cmds_need_lc" in
11116
# Assume -lc should be added
11117
archive_cmds_need_lc=yes
11119
if test "$enable_shared" = yes && test "$GCC" = yes; then
11120
case $archive_cmds in
11122
# FIXME: we may have to deal with multi-command sequences.
11125
# Test whether the compiler implicitly links with -lc since on some
11126
# systems, -lgcc has to come before -lc. If gcc already passes -lc
11127
# to ld, don't add -lc before -lgcc.
11128
{ echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11129
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
11131
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
11133
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11134
(eval $ac_compile) 2>&5
11136
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11137
(exit $ac_status); } 2>conftest.err; then
11140
libobjs=conftest.$ac_objext
11142
wl=$lt_prog_compiler_wl
11148
lt_save_allow_undefined_flag=$allow_undefined_flag
11149
allow_undefined_flag=
11150
if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
11151
(eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
11153
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11154
(exit $ac_status); }
11156
archive_cmds_need_lc=no
11158
archive_cmds_need_lc=yes
11160
allow_undefined_flag=$lt_save_allow_undefined_flag
11162
cat conftest.err 1>&5
11165
{ echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
11166
echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
11173
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11174
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
11175
library_names_spec=
11176
libname_spec='lib$name'
11180
postuninstall_cmds=
11184
shlibpath_overrides_runpath=unknown
11186
dynamic_linker="$host_os ld.so"
11187
sys_lib_dlsearch_path_spec="/lib /usr/lib"
11188
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11189
need_lib_prefix=unknown
11190
hardcode_into_libs=no
11192
# when you set need_version to no, make sure it does not cause -set_version
11193
# flags to be left without arguments
11194
need_version=unknown
11199
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11200
shlibpath_var=LIBPATH
11202
# AIX 3 has no versioning support, so we append a major version to the name.
11203
soname_spec='${libname}${release}${shared_ext}$major'
11210
hardcode_into_libs=yes
11211
if test "$host_cpu" = ia64; then
11212
# AIX 5 supports IA64
11213
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11214
shlibpath_var=LD_LIBRARY_PATH
11216
# With GCC up to 2.95.x, collect2 would create an import file
11217
# for dependence libraries. The import file would start with
11218
# the line `#! .'. This would cause the generated library to
11219
# depend on `.', always an invalid library. This was fixed in
11220
# development snapshots of GCC prior to 3.0.
11222
aix4 | aix4.[01] | aix4.[01].*)
11223
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11225
echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
11228
can_build_shared=no
11232
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11233
# soname into executable. Probably we can add versioning support to
11234
# collect2, so additional links can be useful in future.
11235
if test "$aix_use_runtimelinking" = yes; then
11236
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
11237
# instead of lib<name>.a to let people know that these are not
11238
# typical AIX shared libraries.
11239
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11241
# We preserve .a as extension for shared libraries through AIX4.2
11242
# and later when we are not doing run time linking.
11243
library_names_spec='${libname}${release}.a $libname.a'
11244
soname_spec='${libname}${release}${shared_ext}$major'
11246
shlibpath_var=LIBPATH
11251
library_names_spec='$libname.ixlibrary $libname.a'
11252
# Create ${libname}_ixlibrary.a entries in /sys/libs.
11253
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'
11257
library_names_spec='${libname}${shared_ext}'
11258
dynamic_linker="$host_os ld.so"
11259
shlibpath_var=LIBRARY_PATH
11265
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11266
soname_spec='${libname}${release}${shared_ext}$major'
11267
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11268
shlibpath_var=LD_LIBRARY_PATH
11269
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11270
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11271
# the default ld.so.conf also contains /usr/contrib/lib and
11272
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11273
# libtool to hard-code these into programs
11276
cygwin* | mingw* | pw32*)
11277
version_type=windows
11282
case $GCC,$host_os in
11283
yes,cygwin* | yes,mingw* | yes,pw32*)
11284
library_names_spec='$libname.dll.a'
11285
# DLL is installed to $(libdir)/../bin by postinstall_cmds
11286
postinstall_cmds='base_file=`basename \${file}`~
11287
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
11288
dldir=$destdir/`dirname \$dlpath`~
11289
test -d \$dldir || mkdir -p \$dldir~
11290
$install_prog $dir/$dlname \$dldir/$dlname'
11291
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11292
dlpath=$dir/\$dldll~
11294
shlibpath_overrides_runpath=yes
11298
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
11299
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11300
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
11303
# MinGW DLLs use traditional 'lib' prefix
11304
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11305
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11306
if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
11307
# It is most probably a Windows format PATH printed by
11308
# mingw gcc, but we are running on Cygwin. Gcc prints its search
11309
# path with ; separators, and with drive letters. We can handle the
11310
# drive letters (cygwin fileutils understands them), so leave them,
11311
# especially as we might pass files found there to a mingw objdump,
11312
# which wouldn't understand a cygwinified path. Ahh.
11313
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11315
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11319
# pw32 DLLs use 'pw' prefix rather than 'lib'
11320
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
11326
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11329
dynamic_linker='Win32 ld.exe'
11330
# FIXME: first we should search . and the directory the executable is in
11334
darwin* | rhapsody*)
11335
dynamic_linker="$host_os dyld"
11336
version_type=darwin
11339
library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11340
soname_spec='${libname}${release}${major}$shared_ext'
11341
shlibpath_overrides_runpath=yes
11342
shlibpath_var=DYLD_LIBRARY_PATH
11343
shrext='$(test .$module = .yes && echo .so || echo .dylib)'
11344
# Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
11345
if test "$GCC" = yes; then
11346
sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
11348
sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
11350
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11357
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11358
soname_spec='${libname}${release}${shared_ext}$major'
11359
shlibpath_var=LD_LIBRARY_PATH
11370
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11371
soname_spec='${libname}${release}${shared_ext}$major'
11372
shlibpath_var=LD_LIBRARY_PATH
11373
shlibpath_overrides_runpath=no
11374
hardcode_into_libs=yes
11375
dynamic_linker='GNU ld.so'
11379
objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
11380
version_type=freebsd-$objformat
11381
case $version_type in
11383
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11388
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11392
shlibpath_var=LD_LIBRARY_PATH
11395
shlibpath_overrides_runpath=yes
11397
freebsd3.01* | freebsdelf3.01*)
11398
shlibpath_overrides_runpath=yes
11399
hardcode_into_libs=yes
11402
shlibpath_overrides_runpath=no
11403
hardcode_into_libs=yes
11412
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11413
soname_spec='${libname}${release}${shared_ext}$major'
11414
shlibpath_var=LD_LIBRARY_PATH
11415
hardcode_into_libs=yes
11418
hpux9* | hpux10* | hpux11*)
11419
# Give a soname corresponding to the major version so that dld.sl refuses to
11420
# link against other versions.
11424
case "$host_cpu" in
11427
hardcode_into_libs=yes
11428
dynamic_linker="$host_os dld.so"
11429
shlibpath_var=LD_LIBRARY_PATH
11430
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11431
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11432
soname_spec='${libname}${release}${shared_ext}$major'
11433
if test "X$HPUX_IA64_MODE" = X32; then
11434
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11436
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11438
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11442
hardcode_into_libs=yes
11443
dynamic_linker="$host_os dld.sl"
11444
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11445
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11446
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11447
soname_spec='${libname}${release}${shared_ext}$major'
11448
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11449
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11453
dynamic_linker="$host_os dld.sl"
11454
shlibpath_var=SHLIB_PATH
11455
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11456
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11457
soname_spec='${libname}${release}${shared_ext}$major'
11460
# HP-UX runs *really* slowly unless shared libraries are mode 555.
11461
postinstall_cmds='chmod 555 $lib'
11464
irix5* | irix6* | nonstopux*)
11466
nonstopux*) version_type=nonstopux ;;
11468
if test "$lt_cv_prog_gnu_ld" = yes; then
11476
soname_spec='${libname}${release}${shared_ext}$major'
11477
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11479
irix5* | nonstopux*)
11480
libsuff= shlibsuff=
11483
case $LD in # libtool.m4 will add one of these switches to LD
11484
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11485
libsuff= shlibsuff= libmagic=32-bit;;
11486
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11487
libsuff=32 shlibsuff=N32 libmagic=N32;;
11488
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11489
libsuff=64 shlibsuff=64 libmagic=64-bit;;
11490
*) libsuff= shlibsuff= libmagic=never-match;;
11494
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11495
shlibpath_overrides_runpath=no
11496
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11497
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11498
hardcode_into_libs=yes
11501
# No shared lib support for Linux oldld, aout, or coff.
11502
linux*oldld* | linux*aout* | linux*coff*)
11506
# This must be Linux ELF.
11511
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11512
soname_spec='${libname}${release}${shared_ext}$major'
11513
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11515
if test "x$LINUX_64_MODE" = x64; then
11516
# Some platforms are per default 64-bit, so there's no /lib64
11517
if test -d /lib64; then
11521
shlibpath_var=LD_LIBRARY_PATH
11522
shlibpath_overrides_runpath=no
11523
sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
11524
sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
11525
# This implies no fast_install, which is unacceptable.
11526
# Some rework will be needed to allow for fast_install
11527
# before this can be enabled.
11528
hardcode_into_libs=yes
11530
# We used to test for /lib/ld.so.1 and disable shared libraries on
11531
# powerpc, because MkLinux only supported shared libraries with the
11532
# GNU dynamic linker. Since this was broken with cross compilers,
11533
# most powerpc-linux boxes support dynamic linking these days and
11534
# people can always --disable-shared, the test was removed, and we
11535
# assume the GNU/Linux dynamic linker is in use.
11536
dynamic_linker='GNU/Linux ld.so'
11543
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11544
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11545
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11546
dynamic_linker='NetBSD (a.out) ld.so'
11548
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
11549
soname_spec='${libname}${release}${shared_ext}$major'
11550
dynamic_linker='NetBSD ld.elf_so'
11552
shlibpath_var=LD_LIBRARY_PATH
11553
shlibpath_overrides_runpath=yes
11554
hardcode_into_libs=yes
11559
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11560
shlibpath_var=LD_LIBRARY_PATH
11561
shlibpath_overrides_runpath=yes
11568
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11569
soname_spec='${libname}${release}${shared_ext}$major'
11570
shlibpath_var=LD_LIBRARY_PATH
11571
shlibpath_overrides_runpath=yes
11578
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11579
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11580
shlibpath_var=LD_LIBRARY_PATH
11581
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11583
openbsd2.[89] | openbsd2.[89].*)
11584
shlibpath_overrides_runpath=no
11587
shlibpath_overrides_runpath=yes
11591
shlibpath_overrides_runpath=yes
11596
libname_spec='$name'
11599
library_names_spec='$libname${shared_ext} $libname.a'
11600
dynamic_linker='OS/2 ld.exe'
11601
shlibpath_var=LIBPATH
11604
osf3* | osf4* | osf5*)
11608
soname_spec='${libname}${release}${shared_ext}$major'
11609
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11610
shlibpath_var=LD_LIBRARY_PATH
11611
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11612
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11617
soname_spec='${libname}${release}${shared_ext}$major'
11618
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11619
shlibpath_var=LD_LIBRARY_PATH
11626
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11627
soname_spec='${libname}${release}${shared_ext}$major'
11628
shlibpath_var=LD_LIBRARY_PATH
11629
shlibpath_overrides_runpath=yes
11630
hardcode_into_libs=yes
11631
# ldd complains unless libraries are executable
11632
postinstall_cmds='chmod +x $lib'
11637
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11638
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11639
shlibpath_var=LD_LIBRARY_PATH
11640
shlibpath_overrides_runpath=yes
11641
if test "$with_gnu_ld" = yes; then
11647
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11649
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11650
soname_spec='${libname}${release}${shared_ext}$major'
11651
shlibpath_var=LD_LIBRARY_PATH
11652
case $host_vendor in
11654
shlibpath_overrides_runpath=no
11656
export_dynamic_flag_spec='${wl}-Blargedynsym'
11657
runpath_var=LD_RUN_PATH
11665
shlibpath_overrides_runpath=no
11666
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11672
if test -d /usr/nec ;then
11674
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11675
soname_spec='$libname${shared_ext}.$major'
11676
shlibpath_var=LD_LIBRARY_PATH
11682
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11683
soname_spec='${libname}${release}${shared_ext}$major'
11684
shlibpath_var=LD_LIBRARY_PATH
11691
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11692
echo "${ECHO_T}$dynamic_linker" >&6; }
11693
test "$dynamic_linker" = no && can_build_shared=no
11695
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11696
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
11698
if test -n "$hardcode_libdir_flag_spec" || \
11699
test -n "$runpath_var " || \
11700
test "X$hardcode_automatic"="Xyes" ; then
11702
# We can hardcode non-existant directories.
11703
if test "$hardcode_direct" != no &&
11704
# If the only mechanism to avoid hardcoding is shlibpath_var, we
11705
# have to relink, otherwise we might link with an installed library
11706
# when we should be linking with a yet-to-be-installed one
11707
## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
11708
test "$hardcode_minus_L" != no; then
11709
# Linking always hardcodes the temporary library directory.
11710
hardcode_action=relink
11712
# We can link without hardcoding, and we can hardcode nonexisting dirs.
11713
hardcode_action=immediate
11716
# We cannot hardcode anything, or else we can only hardcode existing
11718
hardcode_action=unsupported
11720
{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
11721
echo "${ECHO_T}$hardcode_action" >&6; }
11723
if test "$hardcode_action" = relink; then
11724
# Fast installation is not supported
11725
enable_fast_install=no
11726
elif test "$shlibpath_overrides_runpath" = yes ||
11727
test "$enable_shared" = no; then
11728
# Fast installation is not necessary
11729
enable_fast_install=needless
11734
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11735
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
11736
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
11737
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11738
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11739
{ echo "$as_me:$LINENO: result: yes" >&5
11740
echo "${ECHO_T}yes" >&6; }
11742
# FIXME - insert some real tests, host_os isn't really good enough
11745
if test -n "$STRIP" ; then
11746
striplib="$STRIP -x"
11747
{ echo "$as_me:$LINENO: result: yes" >&5
11748
echo "${ECHO_T}yes" >&6; }
11750
{ echo "$as_me:$LINENO: result: no" >&5
11751
echo "${ECHO_T}no" >&6; }
11755
{ echo "$as_me:$LINENO: result: no" >&5
11756
echo "${ECHO_T}no" >&6; }
11761
if test "x$enable_dlopen" != xyes; then
11762
enable_dlopen=unknown
11763
enable_dlopen_self=unknown
11764
enable_dlopen_self_static=unknown
11771
lt_cv_dlopen="load_add_on"
11773
lt_cv_dlopen_self=yes
11777
lt_cv_dlopen="LoadLibrary"
11782
lt_cv_dlopen="dlopen"
11787
# if libdl is installed we need to link against it
11788
{ echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11789
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
11790
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11791
echo $ECHO_N "(cached) $ECHO_C" >&6
11793
ac_check_lib_save_LIBS=$LIBS
11795
cat >conftest.$ac_ext <<_ACEOF
11798
cat confdefs.h >>conftest.$ac_ext
11799
cat >>conftest.$ac_ext <<_ACEOF
11800
/* end confdefs.h. */
11802
/* Override any GCC internal prototype to avoid an error.
11803
Use char because int might match the return type of a GCC
11804
builtin and then its argument prototype would still apply. */
11817
rm -f conftest.$ac_objext conftest$ac_exeext
11818
if { (ac_try="$ac_link"
11819
case "(($ac_try" in
11820
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11821
*) ac_try_echo=$ac_try;;
11823
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11824
(eval "$ac_link") 2>conftest.er1
11826
grep -v '^ *+' conftest.er1 >conftest.err
11828
cat conftest.err >&5
11829
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11830
(exit $ac_status); } && {
11831
test -z "$ac_c_werror_flag" ||
11832
test ! -s conftest.err
11833
} && test -s conftest$ac_exeext &&
11834
$as_test_x conftest$ac_exeext; then
11835
ac_cv_lib_dl_dlopen=yes
11837
echo "$as_me: failed program was:" >&5
11838
sed 's/^/| /' conftest.$ac_ext >&5
11840
ac_cv_lib_dl_dlopen=no
11843
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11844
conftest$ac_exeext conftest.$ac_ext
11845
LIBS=$ac_check_lib_save_LIBS
11847
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11848
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
11849
if test $ac_cv_lib_dl_dlopen = yes; then
11850
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11853
lt_cv_dlopen="dyld"
11855
lt_cv_dlopen_self=yes
11862
{ echo "$as_me:$LINENO: checking for shl_load" >&5
11863
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
11864
if test "${ac_cv_func_shl_load+set}" = set; then
11865
echo $ECHO_N "(cached) $ECHO_C" >&6
11867
cat >conftest.$ac_ext <<_ACEOF
11870
cat confdefs.h >>conftest.$ac_ext
11871
cat >>conftest.$ac_ext <<_ACEOF
11872
/* end confdefs.h. */
11873
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
11874
For example, HP-UX 11i <limits.h> declares gettimeofday. */
11875
#define shl_load innocuous_shl_load
11877
/* System header to define __stub macros and hopefully few prototypes,
11878
which can conflict with char shl_load (); below.
11879
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11880
<limits.h> exists even on freestanding compilers. */
11883
# include <limits.h>
11885
# include <assert.h>
11890
/* Override any GCC internal prototype to avoid an error.
11891
Use char because int might match the return type of a GCC
11892
builtin and then its argument prototype would still apply. */
11897
/* The GNU C library defines this for functions which it implements
11898
to always fail with ENOSYS. Some functions are actually named
11899
something starting with __ and the normal name is an alias. */
11900
#if defined __stub_shl_load || defined __stub___shl_load
11907
return shl_load ();
11912
rm -f conftest.$ac_objext conftest$ac_exeext
11913
if { (ac_try="$ac_link"
11914
case "(($ac_try" in
11915
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11916
*) ac_try_echo=$ac_try;;
11918
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11919
(eval "$ac_link") 2>conftest.er1
11921
grep -v '^ *+' conftest.er1 >conftest.err
11923
cat conftest.err >&5
11924
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11925
(exit $ac_status); } && {
11926
test -z "$ac_c_werror_flag" ||
11927
test ! -s conftest.err
11928
} && test -s conftest$ac_exeext &&
11929
$as_test_x conftest$ac_exeext; then
11930
ac_cv_func_shl_load=yes
11932
echo "$as_me: failed program was:" >&5
11933
sed 's/^/| /' conftest.$ac_ext >&5
11935
ac_cv_func_shl_load=no
11938
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11939
conftest$ac_exeext conftest.$ac_ext
11941
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11942
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
11943
if test $ac_cv_func_shl_load = yes; then
11944
lt_cv_dlopen="shl_load"
11946
{ echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11947
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
11948
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11949
echo $ECHO_N "(cached) $ECHO_C" >&6
11951
ac_check_lib_save_LIBS=$LIBS
11953
cat >conftest.$ac_ext <<_ACEOF
11956
cat confdefs.h >>conftest.$ac_ext
11957
cat >>conftest.$ac_ext <<_ACEOF
11958
/* end confdefs.h. */
11960
/* Override any GCC internal prototype to avoid an error.
11961
Use char because int might match the return type of a GCC
11962
builtin and then its argument prototype would still apply. */
11970
return shl_load ();
11975
rm -f conftest.$ac_objext conftest$ac_exeext
11976
if { (ac_try="$ac_link"
11977
case "(($ac_try" in
11978
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11979
*) ac_try_echo=$ac_try;;
11981
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11982
(eval "$ac_link") 2>conftest.er1
11984
grep -v '^ *+' conftest.er1 >conftest.err
11986
cat conftest.err >&5
11987
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11988
(exit $ac_status); } && {
11989
test -z "$ac_c_werror_flag" ||
11990
test ! -s conftest.err
11991
} && test -s conftest$ac_exeext &&
11992
$as_test_x conftest$ac_exeext; then
11993
ac_cv_lib_dld_shl_load=yes
11995
echo "$as_me: failed program was:" >&5
11996
sed 's/^/| /' conftest.$ac_ext >&5
11998
ac_cv_lib_dld_shl_load=no
12001
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12002
conftest$ac_exeext conftest.$ac_ext
12003
LIBS=$ac_check_lib_save_LIBS
12005
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
12006
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
12007
if test $ac_cv_lib_dld_shl_load = yes; then
12008
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
12010
{ echo "$as_me:$LINENO: checking for dlopen" >&5
12011
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
12012
if test "${ac_cv_func_dlopen+set}" = set; then
12013
echo $ECHO_N "(cached) $ECHO_C" >&6
12015
cat >conftest.$ac_ext <<_ACEOF
12018
cat confdefs.h >>conftest.$ac_ext
12019
cat >>conftest.$ac_ext <<_ACEOF
12020
/* end confdefs.h. */
12021
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
12022
For example, HP-UX 11i <limits.h> declares gettimeofday. */
12023
#define dlopen innocuous_dlopen
12025
/* System header to define __stub macros and hopefully few prototypes,
12026
which can conflict with char dlopen (); below.
12027
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12028
<limits.h> exists even on freestanding compilers. */
12031
# include <limits.h>
12033
# include <assert.h>
12038
/* Override any GCC internal prototype to avoid an error.
12039
Use char because int might match the return type of a GCC
12040
builtin and then its argument prototype would still apply. */
12045
/* The GNU C library defines this for functions which it implements
12046
to always fail with ENOSYS. Some functions are actually named
12047
something starting with __ and the normal name is an alias. */
12048
#if defined __stub_dlopen || defined __stub___dlopen
12060
rm -f conftest.$ac_objext conftest$ac_exeext
12061
if { (ac_try="$ac_link"
12062
case "(($ac_try" in
12063
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12064
*) ac_try_echo=$ac_try;;
12066
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12067
(eval "$ac_link") 2>conftest.er1
12069
grep -v '^ *+' conftest.er1 >conftest.err
12071
cat conftest.err >&5
12072
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12073
(exit $ac_status); } && {
12074
test -z "$ac_c_werror_flag" ||
12075
test ! -s conftest.err
12076
} && test -s conftest$ac_exeext &&
12077
$as_test_x conftest$ac_exeext; then
12078
ac_cv_func_dlopen=yes
12080
echo "$as_me: failed program was:" >&5
12081
sed 's/^/| /' conftest.$ac_ext >&5
12083
ac_cv_func_dlopen=no
12086
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12087
conftest$ac_exeext conftest.$ac_ext
12089
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
12090
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
12091
if test $ac_cv_func_dlopen = yes; then
12092
lt_cv_dlopen="dlopen"
12094
{ echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12095
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
12096
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12097
echo $ECHO_N "(cached) $ECHO_C" >&6
12099
ac_check_lib_save_LIBS=$LIBS
12101
cat >conftest.$ac_ext <<_ACEOF
12104
cat confdefs.h >>conftest.$ac_ext
12105
cat >>conftest.$ac_ext <<_ACEOF
12106
/* end confdefs.h. */
12108
/* Override any GCC internal prototype to avoid an error.
12109
Use char because int might match the return type of a GCC
12110
builtin and then its argument prototype would still apply. */
12123
rm -f conftest.$ac_objext conftest$ac_exeext
12124
if { (ac_try="$ac_link"
12125
case "(($ac_try" in
12126
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12127
*) ac_try_echo=$ac_try;;
12129
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12130
(eval "$ac_link") 2>conftest.er1
12132
grep -v '^ *+' conftest.er1 >conftest.err
12134
cat conftest.err >&5
12135
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12136
(exit $ac_status); } && {
12137
test -z "$ac_c_werror_flag" ||
12138
test ! -s conftest.err
12139
} && test -s conftest$ac_exeext &&
12140
$as_test_x conftest$ac_exeext; then
12141
ac_cv_lib_dl_dlopen=yes
12143
echo "$as_me: failed program was:" >&5
12144
sed 's/^/| /' conftest.$ac_ext >&5
12146
ac_cv_lib_dl_dlopen=no
12149
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12150
conftest$ac_exeext conftest.$ac_ext
12151
LIBS=$ac_check_lib_save_LIBS
12153
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12154
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
12155
if test $ac_cv_lib_dl_dlopen = yes; then
12156
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12158
{ echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
12159
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
12160
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
12161
echo $ECHO_N "(cached) $ECHO_C" >&6
12163
ac_check_lib_save_LIBS=$LIBS
12164
LIBS="-lsvld $LIBS"
12165
cat >conftest.$ac_ext <<_ACEOF
12168
cat confdefs.h >>conftest.$ac_ext
12169
cat >>conftest.$ac_ext <<_ACEOF
12170
/* end confdefs.h. */
12172
/* Override any GCC internal prototype to avoid an error.
12173
Use char because int might match the return type of a GCC
12174
builtin and then its argument prototype would still apply. */
12187
rm -f conftest.$ac_objext conftest$ac_exeext
12188
if { (ac_try="$ac_link"
12189
case "(($ac_try" in
12190
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12191
*) ac_try_echo=$ac_try;;
12193
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12194
(eval "$ac_link") 2>conftest.er1
12196
grep -v '^ *+' conftest.er1 >conftest.err
12198
cat conftest.err >&5
12199
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12200
(exit $ac_status); } && {
12201
test -z "$ac_c_werror_flag" ||
12202
test ! -s conftest.err
12203
} && test -s conftest$ac_exeext &&
12204
$as_test_x conftest$ac_exeext; then
12205
ac_cv_lib_svld_dlopen=yes
12207
echo "$as_me: failed program was:" >&5
12208
sed 's/^/| /' conftest.$ac_ext >&5
12210
ac_cv_lib_svld_dlopen=no
12213
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12214
conftest$ac_exeext conftest.$ac_ext
12215
LIBS=$ac_check_lib_save_LIBS
12217
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
12218
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
12219
if test $ac_cv_lib_svld_dlopen = yes; then
12220
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12222
{ echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12223
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
12224
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12225
echo $ECHO_N "(cached) $ECHO_C" >&6
12227
ac_check_lib_save_LIBS=$LIBS
12229
cat >conftest.$ac_ext <<_ACEOF
12232
cat confdefs.h >>conftest.$ac_ext
12233
cat >>conftest.$ac_ext <<_ACEOF
12234
/* end confdefs.h. */
12236
/* Override any GCC internal prototype to avoid an error.
12237
Use char because int might match the return type of a GCC
12238
builtin and then its argument prototype would still apply. */
12246
return dld_link ();
12251
rm -f conftest.$ac_objext conftest$ac_exeext
12252
if { (ac_try="$ac_link"
12253
case "(($ac_try" in
12254
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12255
*) ac_try_echo=$ac_try;;
12257
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12258
(eval "$ac_link") 2>conftest.er1
12260
grep -v '^ *+' conftest.er1 >conftest.err
12262
cat conftest.err >&5
12263
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12264
(exit $ac_status); } && {
12265
test -z "$ac_c_werror_flag" ||
12266
test ! -s conftest.err
12267
} && test -s conftest$ac_exeext &&
12268
$as_test_x conftest$ac_exeext; then
12269
ac_cv_lib_dld_dld_link=yes
12271
echo "$as_me: failed program was:" >&5
12272
sed 's/^/| /' conftest.$ac_ext >&5
12274
ac_cv_lib_dld_dld_link=no
12277
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12278
conftest$ac_exeext conftest.$ac_ext
12279
LIBS=$ac_check_lib_save_LIBS
12281
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12282
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
12283
if test $ac_cv_lib_dld_dld_link = yes; then
12284
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
12305
if test "x$lt_cv_dlopen" != xno; then
12311
case $lt_cv_dlopen in
12313
save_CPPFLAGS="$CPPFLAGS"
12314
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12316
save_LDFLAGS="$LDFLAGS"
12317
eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12320
LIBS="$lt_cv_dlopen_libs $LIBS"
12322
{ echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12323
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
12324
if test "${lt_cv_dlopen_self+set}" = set; then
12325
echo $ECHO_N "(cached) $ECHO_C" >&6
12327
if test "$cross_compiling" = yes; then :
12328
lt_cv_dlopen_self=cross
12330
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12331
lt_status=$lt_dlunknown
12332
cat > conftest.$ac_ext <<EOF
12333
#line __oline__ "configure"
12334
#include "confdefs.h"
12343
# define LT_DLGLOBAL RTLD_GLOBAL
12346
# define LT_DLGLOBAL DL_GLOBAL
12348
# define LT_DLGLOBAL 0
12352
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12353
find out it does not work in some platform. */
12354
#ifndef LT_DLLAZY_OR_NOW
12356
# define LT_DLLAZY_OR_NOW RTLD_LAZY
12359
# define LT_DLLAZY_OR_NOW DL_LAZY
12362
# define LT_DLLAZY_OR_NOW RTLD_NOW
12365
# define LT_DLLAZY_OR_NOW DL_NOW
12367
# define LT_DLLAZY_OR_NOW 0
12375
extern "C" void exit (int);
12378
void fnord() { int i=42;}
12381
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12382
int status = $lt_dlunknown;
12386
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12387
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12388
/* dlclose (self); */
12394
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12395
(eval $ac_link) 2>&5
12397
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12398
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12399
(./conftest; exit; ) 2>/dev/null
12401
case x$lt_status in
12402
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12403
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12404
x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
12407
# compilation failed
12408
lt_cv_dlopen_self=no
12415
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12416
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
12418
if test "x$lt_cv_dlopen_self" = xyes; then
12419
LDFLAGS="$LDFLAGS $link_static_flag"
12420
{ echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12421
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
12422
if test "${lt_cv_dlopen_self_static+set}" = set; then
12423
echo $ECHO_N "(cached) $ECHO_C" >&6
12425
if test "$cross_compiling" = yes; then :
12426
lt_cv_dlopen_self_static=cross
12428
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12429
lt_status=$lt_dlunknown
12430
cat > conftest.$ac_ext <<EOF
12431
#line __oline__ "configure"
12432
#include "confdefs.h"
12441
# define LT_DLGLOBAL RTLD_GLOBAL
12444
# define LT_DLGLOBAL DL_GLOBAL
12446
# define LT_DLGLOBAL 0
12450
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12451
find out it does not work in some platform. */
12452
#ifndef LT_DLLAZY_OR_NOW
12454
# define LT_DLLAZY_OR_NOW RTLD_LAZY
12457
# define LT_DLLAZY_OR_NOW DL_LAZY
12460
# define LT_DLLAZY_OR_NOW RTLD_NOW
12463
# define LT_DLLAZY_OR_NOW DL_NOW
12465
# define LT_DLLAZY_OR_NOW 0
12473
extern "C" void exit (int);
12476
void fnord() { int i=42;}
12479
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12480
int status = $lt_dlunknown;
12484
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12485
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12486
/* dlclose (self); */
12492
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12493
(eval $ac_link) 2>&5
12495
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12496
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12497
(./conftest; exit; ) 2>/dev/null
12499
case x$lt_status in
12500
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12501
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12502
x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
12505
# compilation failed
12506
lt_cv_dlopen_self_static=no
12513
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12514
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
12517
CPPFLAGS="$save_CPPFLAGS"
12518
LDFLAGS="$save_LDFLAGS"
12523
case $lt_cv_dlopen_self in
12524
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12525
*) enable_dlopen_self=unknown ;;
12528
case $lt_cv_dlopen_self_static in
12529
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12530
*) enable_dlopen_self_static=unknown ;;
12535
# Report which librarie types wil actually be built
12536
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12537
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
12538
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
12539
echo "${ECHO_T}$can_build_shared" >&6; }
12541
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12542
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
12543
test "$can_build_shared" = "no" && enable_shared=no
12545
# On AIX, shared libraries and static libraries use the same namespace, and
12546
# are all built from PIC.
12549
test "$enable_shared" = yes && enable_static=no
12550
if test -n "$RANLIB"; then
12551
archive_cmds="$archive_cmds~\$RANLIB \$lib"
12552
postinstall_cmds='$RANLIB $lib'
12557
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12558
test "$enable_shared" = yes && enable_static=no
12561
darwin* | rhapsody*)
12562
if test "$GCC" = yes; then
12563
archive_cmds_need_lc=no
12565
rhapsody* | darwin1.[012])
12566
allow_undefined_flag='-Wl,-undefined -Wl,suppress'
12569
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
12570
allow_undefined_flag='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
12572
case ${MACOSX_DEPLOYMENT_TARGET} in
12574
allow_undefined_flag='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
12577
allow_undefined_flag='-Wl,-undefined -Wl,dynamic_lookup'
12583
output_verbose_link_cmd='echo'
12584
archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring'
12585
module_cmds='$CC $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs'
12586
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
12587
archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12588
module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12590
hardcode_automatic=yes
12591
hardcode_shlibpath_var=unsupported
12592
whole_archive_flag_spec='-all_load $convenience'
12593
link_all_deplibs=yes
12599
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
12600
echo "${ECHO_T}$enable_shared" >&6; }
12602
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12603
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
12604
# Make sure either enable_shared or enable_static is yes.
12605
test "$enable_shared" = yes || enable_static=yes
12606
{ echo "$as_me:$LINENO: result: $enable_static" >&5
12607
echo "${ECHO_T}$enable_static" >&6; }
12609
# The else clause should only fire when bootstrapping the
12610
# libtool distribution, otherwise you forgot to ship ltmain.sh
12611
# with your package, and you will get complaints that there are
12612
# no rules to generate ltmain.sh.
12613
if test -f "$ltmain"; then
12614
# See if we are running on zsh, and set the options which allow our commands through
12615
# without removal of \ escapes.
12616
if test -n "${ZSH_VERSION+set}" ; then
12617
setopt NO_GLOB_SUBST
12619
# Now quote all the things that may contain metacharacters while being
12620
# careful not to overquote the AC_SUBSTed values. We take copies of the
12621
# variables and quote the copies for generation of the libtool script.
12622
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
12623
libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12624
old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12625
deplibs_check_method reload_flag reload_cmds need_locks \
12626
lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
12627
lt_cv_sys_global_symbol_to_c_name_address \
12628
sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
12629
old_postinstall_cmds old_postuninstall_cmds \
12633
lt_prog_compiler_wl \
12634
lt_prog_compiler_pic \
12635
lt_prog_compiler_static \
12636
lt_prog_compiler_no_builtin_flag \
12637
export_dynamic_flag_spec \
12638
thread_safe_flag_spec \
12639
whole_archive_flag_spec \
12640
enable_shared_with_static_runtimes \
12642
old_archive_from_new_cmds \
12647
compiler_lib_search_path \
12649
archive_expsym_cmds \
12651
postuninstall_cmds \
12652
old_archive_from_expsyms_cmds \
12653
allow_undefined_flag \
12654
no_undefined_flag \
12655
export_symbols_cmds \
12656
hardcode_libdir_flag_spec \
12657
hardcode_libdir_flag_spec_ld \
12658
hardcode_libdir_separator \
12659
hardcode_automatic \
12661
module_expsym_cmds \
12662
lt_cv_prog_compiler_c_o \
12664
include_expsyms; do
12667
old_archive_cmds | \
12668
old_archive_from_new_cmds | \
12670
archive_expsym_cmds | \
12672
module_expsym_cmds | \
12673
old_archive_from_expsyms_cmds | \
12674
export_symbols_cmds | \
12675
extract_expsyms_cmds | reload_cmds | finish_cmds | \
12676
postinstall_cmds | postuninstall_cmds | \
12677
old_postinstall_cmds | old_postuninstall_cmds | \
12678
sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
12679
# Double-quote double-evaled strings.
12680
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
12683
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
12689
*'\$0 --fallback-echo"')
12690
lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
12694
cfgfile="${ofile}T"
12695
trap "$rm \"$cfgfile\"; exit 1" 1 2 15
12697
{ echo "$as_me:$LINENO: creating $ofile" >&5
12698
echo "$as_me: creating $ofile" >&6;}
12700
cat <<__EOF__ >> "$cfgfile"
12703
# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
12704
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
12705
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
12707
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
12708
# Free Software Foundation, Inc.
12710
# This file is part of GNU Libtool:
12711
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
12713
# This program is free software; you can redistribute it and/or modify
12714
# it under the terms of the GNU General Public License as published by
12715
# the Free Software Foundation; either version 2 of the License, or
12716
# (at your option) any later version.
12718
# This program is distributed in the hope that it will be useful, but
12719
# WITHOUT ANY WARRANTY; without even the implied warranty of
12720
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12721
# General Public License for more details.
12723
# You should have received a copy of the GNU General Public License
12724
# along with this program; if not, write to the Free Software
12725
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
12727
# As a special exception to the GNU General Public License, if you
12728
# distribute this file as part of a program that contains a
12729
# configuration script generated by Autoconf, you may include it under
12730
# the same distribution terms that you use for the rest of that program.
12732
# A sed program that does not truncate output.
12735
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
12736
Xsed="$SED -e s/^X//"
12738
# The HP-UX ksh and POSIX shell print the target directory to stdout
12739
# if CDPATH is set.
12740
if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
12742
# The names of the tagged configurations supported by this script.
12745
# ### BEGIN LIBTOOL CONFIG
12747
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12749
# Shell to use when invoking shell scripts.
12752
# Whether or not to build shared libraries.
12753
build_libtool_libs=$enable_shared
12755
# Whether or not to build static libraries.
12756
build_old_libs=$enable_static
12758
# Whether or not to add -lc for building shared libraries.
12759
build_libtool_need_lc=$archive_cmds_need_lc
12761
# Whether or not to disallow shared libs when runtime libs are static
12762
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
12764
# Whether or not to optimize for fast installation.
12765
fast_install=$enable_fast_install
12768
host_alias=$host_alias
12771
# An echo program that does not interpret backslashes.
12776
AR_FLAGS=$lt_AR_FLAGS
12781
# A language-specific compiler.
12784
# Is the compiler the GNU C compiler?
12790
# The linker used to build libraries.
12793
# Whether we need hard or soft links.
12796
# A BSD-compatible nm program.
12799
# A symbol stripping program
12802
# Used to examine libraries when file_magic_cmd begins "file"
12803
MAGIC_CMD=$MAGIC_CMD
12805
# Used on cygwin: DLL creation program.
12808
# Used on cygwin: object dumper.
12811
# Used on cygwin: assembler.
12814
# The name of the directory that contains temporary libtool files.
12817
# How to create reloadable object files.
12818
reload_flag=$lt_reload_flag
12819
reload_cmds=$lt_reload_cmds
12821
# How to pass a linker flag through the compiler.
12822
wl=$lt_lt_prog_compiler_wl
12824
# Object file suffix (normally "o").
12825
objext="$ac_objext"
12827
# Old archive suffix (normally "a").
12830
# Shared library suffix (normally ".so").
12833
# Executable file suffix (normally "").
12836
# Additional compiler flags for building library objects.
12837
pic_flag=$lt_lt_prog_compiler_pic
12840
# What is the maximum length of a command?
12841
max_cmd_len=$lt_cv_sys_max_cmd_len
12843
# Does compiler simultaneously support -c and -o options?
12844
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
12846
# Must we lock files when doing compilation ?
12847
need_locks=$lt_need_locks
12849
# Do we need the lib prefix for modules?
12850
need_lib_prefix=$need_lib_prefix
12852
# Do we need a version for libraries?
12853
need_version=$need_version
12855
# Whether dlopen is supported.
12856
dlopen_support=$enable_dlopen
12858
# Whether dlopen of programs is supported.
12859
dlopen_self=$enable_dlopen_self
12861
# Whether dlopen of statically linked programs is supported.
12862
dlopen_self_static=$enable_dlopen_self_static
12864
# Compiler flag to prevent dynamic linking.
12865
link_static_flag=$lt_lt_prog_compiler_static
12867
# Compiler flag to turn off builtin functions.
12868
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
12870
# Compiler flag to allow reflexive dlopens.
12871
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
12873
# Compiler flag to generate shared objects directly from archives.
12874
whole_archive_flag_spec=$lt_whole_archive_flag_spec
12876
# Compiler flag to generate thread-safe objects.
12877
thread_safe_flag_spec=$lt_thread_safe_flag_spec
12879
# Library versioning type.
12880
version_type=$version_type
12882
# Format of library name prefix.
12883
libname_spec=$lt_libname_spec
12885
# List of archive names. First name is the real one, the rest are links.
12886
# The last name is the one that the linker finds with -lNAME.
12887
library_names_spec=$lt_library_names_spec
12889
# The coded name of the library, if different from the real name.
12890
soname_spec=$lt_soname_spec
12892
# Commands used to build and install an old-style archive.
12894
old_archive_cmds=$lt_old_archive_cmds
12895
old_postinstall_cmds=$lt_old_postinstall_cmds
12896
old_postuninstall_cmds=$lt_old_postuninstall_cmds
12898
# Create an old-style archive from a shared archive.
12899
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
12901
# Create a temporary old-style archive to link instead of a shared archive.
12902
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
12904
# Commands used to build and install a shared archive.
12905
archive_cmds=$lt_archive_cmds
12906
archive_expsym_cmds=$lt_archive_expsym_cmds
12907
postinstall_cmds=$lt_postinstall_cmds
12908
postuninstall_cmds=$lt_postuninstall_cmds
12910
# Commands used to build a loadable module (assumed same as above if empty)
12911
module_cmds=$lt_module_cmds
12912
module_expsym_cmds=$lt_module_expsym_cmds
12914
# Commands to strip libraries.
12915
old_striplib=$lt_old_striplib
12916
striplib=$lt_striplib
12918
# Dependencies to place before the objects being linked to create a
12920
predep_objects=$lt_predep_objects
12922
# Dependencies to place after the objects being linked to create a
12924
postdep_objects=$lt_postdep_objects
12926
# Dependencies to place before the objects being linked to create a
12928
predeps=$lt_predeps
12930
# Dependencies to place after the objects being linked to create a
12932
postdeps=$lt_postdeps
12934
# The library search path used internally by the compiler when linking
12935
# a shared library.
12936
compiler_lib_search_path=$lt_compiler_lib_search_path
12938
# Method to check whether dependent libraries are shared objects.
12939
deplibs_check_method=$lt_deplibs_check_method
12941
# Command to use when deplibs_check_method == file_magic.
12942
file_magic_cmd=$lt_file_magic_cmd
12944
# Flag that allows shared libraries with undefined symbols to be built.
12945
allow_undefined_flag=$lt_allow_undefined_flag
12947
# Flag that forces no undefined symbols.
12948
no_undefined_flag=$lt_no_undefined_flag
12950
# Commands used to finish a libtool library installation in a directory.
12951
finish_cmds=$lt_finish_cmds
12953
# Same as above, but a single script fragment to be evaled but not shown.
12954
finish_eval=$lt_finish_eval
12956
# Take the output of nm and produce a listing of raw symbols and C names.
12957
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12959
# Transform the output of nm in a proper C declaration
12960
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12962
# Transform the output of nm in a C name address pair
12963
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12965
# This is the shared library runtime path variable.
12966
runpath_var=$runpath_var
12968
# This is the shared library path variable.
12969
shlibpath_var=$shlibpath_var
12971
# Is shlibpath searched before the hard-coded library search path?
12972
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12974
# How to hardcode a shared library path into an executable.
12975
hardcode_action=$hardcode_action
12977
# Whether we should hardcode library paths into libraries.
12978
hardcode_into_libs=$hardcode_into_libs
12980
# Flag to hardcode \$libdir into a binary during linking.
12981
# This must work even if \$libdir does not exist.
12982
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
12984
# If ld is used when linking, flag to hardcode \$libdir into
12985
# a binary during linking. This must work even if \$libdir does
12987
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
12989
# Whether we need a single -rpath flag with a separated argument.
12990
hardcode_libdir_separator=$lt_hardcode_libdir_separator
12992
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
12993
# resulting binary.
12994
hardcode_direct=$hardcode_direct
12996
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
12997
# resulting binary.
12998
hardcode_minus_L=$hardcode_minus_L
13000
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13001
# the resulting binary.
13002
hardcode_shlibpath_var=$hardcode_shlibpath_var
13004
# Set to yes if building a shared library automatically hardcodes DIR into the library
13005
# and all subsequent libraries and executables linked against it.
13006
hardcode_automatic=$hardcode_automatic
13008
# Variables whose values should be saved in libtool wrapper scripts and
13009
# restored at relink time.
13010
variables_saved_for_relink="$variables_saved_for_relink"
13012
# Whether libtool must link a program against all its dependency libraries.
13013
link_all_deplibs=$link_all_deplibs
13015
# Compile-time system search path for libraries
13016
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13018
# Run-time system search path for libraries
13019
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13021
# Fix the shell variable \$srcfile for the compiler.
13022
fix_srcfile_path="$fix_srcfile_path"
13024
# Set to yes if exported symbols are required.
13025
always_export_symbols=$always_export_symbols
13027
# The commands to list exported symbols.
13028
export_symbols_cmds=$lt_export_symbols_cmds
13030
# The commands to extract the exported symbol list from a shared archive.
13031
extract_expsyms_cmds=$lt_extract_expsyms_cmds
13033
# Symbols that should not be listed in the preloaded symbols.
13034
exclude_expsyms=$lt_exclude_expsyms
13036
# Symbols that must always be exported.
13037
include_expsyms=$lt_include_expsyms
13039
# ### END LIBTOOL CONFIG
13046
cat <<\EOF >> "$cfgfile"
13048
# AIX sometimes has problems with the GCC collect2 program. For some
13049
# reason, if we set the COLLECT_NAMES environment variable, the problems
13050
# vanish in a puff of smoke.
13051
if test "X${COLLECT_NAMES+set}" != Xset; then
13053
export COLLECT_NAMES
13059
# We use sed instead of cat because bash on DJGPP gets confused if
13060
# if finds mixed CR/LF and LF-only lines. Since sed operates in
13061
# text mode, it properly converts lines to CR/LF. This bash problem
13062
# is reportedly fixed, but why not run on old versions too?
13063
sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
13065
mv -f "$cfgfile" "$ofile" || \
13066
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
13070
# If there is no Makefile yet, we rely on a make rule to execute
13071
# `config.status --recheck' to rerun these tests and create the
13072
# libtool script then.
13073
test -f Makefile && make "$ltmain"
13078
ac_cpp='$CPP $CPPFLAGS'
13079
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13080
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13081
ac_compiler_gnu=$ac_cv_c_compiler_gnu
13086
# Check whether --with-tags was given.
13087
if test "${with_tags+set}" = set; then
13088
withval=$with_tags; tagnames="$withval"
13092
if test -f "$ltmain" && test -n "$tagnames"; then
13093
if test ! -f "${ofile}"; then
13094
{ echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
13095
echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
13098
if test -z "$LTCC"; then
13099
eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
13100
if test -z "$LTCC"; then
13101
{ echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
13102
echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
13104
{ echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
13105
echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
13109
# Extract list of available tagged configurations in $ofile.
13110
# Note that this assumes the entire list is on one line.
13111
available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
13113
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
13114
for tagname in $tagnames; do
13116
# Check whether tagname contains only valid characters
13117
case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
13119
*) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
13120
echo "$as_me: error: invalid tag name: $tagname" >&2;}
13121
{ (exit 1); exit 1; }; }
13125
if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
13127
{ { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
13128
echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
13129
{ (exit 1); exit 1; }; }
13132
# Update the list of available tags.
13133
if test -n "$tagname"; then
13134
echo appending configuration tag \"$tagname\" to $ofile
13138
if test -n "$CXX" && test "X$CXX" != "Xno"; then
13140
ac_cpp='$CXXCPP $CPPFLAGS'
13141
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13142
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13143
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13148
archive_cmds_need_lc_CXX=no
13149
allow_undefined_flag_CXX=
13150
always_export_symbols_CXX=no
13151
archive_expsym_cmds_CXX=
13152
export_dynamic_flag_spec_CXX=
13153
hardcode_direct_CXX=no
13154
hardcode_libdir_flag_spec_CXX=
13155
hardcode_libdir_flag_spec_ld_CXX=
13156
hardcode_libdir_separator_CXX=
13157
hardcode_minus_L_CXX=no
13158
hardcode_automatic_CXX=no
13160
module_expsym_cmds_CXX=
13161
link_all_deplibs_CXX=unknown
13162
old_archive_cmds_CXX=$old_archive_cmds
13163
no_undefined_flag_CXX=
13164
whole_archive_flag_spec_CXX=
13165
enable_shared_with_static_runtimes_CXX=no
13167
# Dependencies to place before and after the object being linked:
13168
predep_objects_CXX=
13169
postdep_objects_CXX=
13172
compiler_lib_search_path_CXX=
13174
# Source file extension for C++ test sources.
13177
# Object file extension for compiled C++ test sources.
13181
# Code to be used in simple compile tests
13182
lt_simple_compile_test_code="int some_variable = 0;\n"
13184
# Code to be used in simple link tests
13185
lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
13187
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
13189
# If no C compiler was specified, use CC.
13192
# Allow CC to be a program name with arguments.
13196
# Allow CC to be a program name with arguments.
13201
lt_save_with_gnu_ld=$with_gnu_ld
13202
lt_save_path_LD=$lt_cv_path_LD
13203
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13204
lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
13206
unset lt_cv_prog_gnu_ld
13208
if test -n "${lt_cv_path_LDCXX+set}"; then
13209
lt_cv_path_LD=$lt_cv_path_LDCXX
13211
unset lt_cv_path_LD
13213
test -z "${LDCXX+set}" || LD=$LDCXX
13217
cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
13219
# We don't want -fno-exception wen compiling C++ code, so set the
13220
# no_builtin_flag separately
13221
if test "$GXX" = yes; then
13222
lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
13224
lt_prog_compiler_no_builtin_flag_CXX=
13227
if test "$GXX" = yes; then
13228
# Set up default GNU C++ configuration
13231
# Check whether --with-gnu-ld was given.
13232
if test "${with_gnu_ld+set}" = set; then
13233
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
13239
if test "$GCC" = yes; then
13240
# Check if gcc -print-prog-name=ld gives a path.
13241
{ echo "$as_me:$LINENO: checking for ld used by $CC" >&5
13242
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
13245
# gcc leaves a trailing carriage return which upsets mingw
13246
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13248
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13251
# Accept absolute paths.
13253
re_direlt='/[^/][^/]*/\.\./'
13254
# Canonicalize the pathname of ld
13255
ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
13256
while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
13257
ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
13259
test -z "$LD" && LD="$ac_prog"
13262
# If it fails, then pretend we aren't using GCC.
13266
# If it is relative, then search for the first ld in PATH.
13267
with_gnu_ld=unknown
13270
elif test "$with_gnu_ld" = yes; then
13271
{ echo "$as_me:$LINENO: checking for GNU ld" >&5
13272
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
13274
{ echo "$as_me:$LINENO: checking for non-GNU ld" >&5
13275
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
13277
if test "${lt_cv_path_LD+set}" = set; then
13278
echo $ECHO_N "(cached) $ECHO_C" >&6
13280
if test -z "$LD"; then
13281
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
13282
for ac_dir in $PATH; do
13284
test -z "$ac_dir" && ac_dir=.
13285
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13286
lt_cv_path_LD="$ac_dir/$ac_prog"
13287
# Check to see if the program is GNU ld. I'd rather use --version,
13288
# but apparently some GNU ld's only accept -v.
13289
# Break only if it was the GNU/non-GNU ld that we prefer.
13290
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13291
*GNU* | *'with BFD'*)
13292
test "$with_gnu_ld" != no && break
13295
test "$with_gnu_ld" != yes && break
13302
lt_cv_path_LD="$LD" # Let the user override the test with a path.
13306
LD="$lt_cv_path_LD"
13307
if test -n "$LD"; then
13308
{ echo "$as_me:$LINENO: result: $LD" >&5
13309
echo "${ECHO_T}$LD" >&6; }
13311
{ echo "$as_me:$LINENO: result: no" >&5
13312
echo "${ECHO_T}no" >&6; }
13314
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
13315
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
13316
{ (exit 1); exit 1; }; }
13317
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
13318
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
13319
if test "${lt_cv_prog_gnu_ld+set}" = set; then
13320
echo $ECHO_N "(cached) $ECHO_C" >&6
13322
# I'd rather use --version here, but apparently some GNU ld's only accept -v.
13323
case `$LD -v 2>&1 </dev/null` in
13324
*GNU* | *'with BFD'*)
13325
lt_cv_prog_gnu_ld=yes
13328
lt_cv_prog_gnu_ld=no
13332
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
13333
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
13334
with_gnu_ld=$lt_cv_prog_gnu_ld
13338
# Check if GNU C++ uses GNU ld as the underlying linker, since the
13339
# archiving commands below assume that GNU ld is being used.
13340
if test "$with_gnu_ld" = yes; then
13341
archive_cmds_CXX='$CC -shared -nostdlib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $wl$soname -o $lib'
13342
archive_expsym_cmds_CXX='$CC -shared -nostdlib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13344
hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13345
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13347
# If archive_cmds runs LD, not CC, wlarc should be empty
13348
# XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13349
# investigate it a little bit more. (MM)
13352
# ancient GNU ld didn't support --whole-archive et. al.
13353
if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
13354
grep 'no-whole-archive' > /dev/null; then
13355
whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13357
whole_archive_flag_spec_CXX=
13363
# A generic and very simple default shared library creation
13364
# command for GNU C++ for the case where it uses the native
13365
# linker, instead of GNU ld. If possible, this setting should
13366
# overridden to take advantage of the native linker features on
13367
# the platform it is being used on.
13368
archive_cmds_CXX='$CC -shared -nostdlib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects -o $lib'
13371
# Commands to make compiler produce verbose output that lists
13372
# what "hidden" libraries, object files and flags are used when
13373
# linking a shared library.
13374
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
13382
# PORTME: fill in a description of your system's C++ link characteristics
13383
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13384
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
13388
# FIXME: insert proper C++ library support
13392
if test "$host_cpu" = ia64; then
13393
# On IA64, the linker does run time linking by default, so we don't
13394
# have to do anything special.
13395
aix_use_runtimelinking=no
13396
exp_sym_flag='-Bexport'
13399
# KDE requires run time linking. Make it the default.
13400
aix_use_runtimelinking=yes
13401
exp_sym_flag='-bexport'
13402
no_entry_flag='-bnoentry'
13405
# When large executables or shared objects are built, AIX ld can
13406
# have problems creating the table of contents. If linking a library
13407
# or program results in "error TOC overflow" add -mminimal-toc to
13408
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13409
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13411
archive_cmds_CXX=''
13412
hardcode_direct_CXX=yes
13413
hardcode_libdir_separator_CXX=':'
13414
link_all_deplibs_CXX=yes
13416
if test "$GXX" = yes; then
13417
case $host_os in aix4.012|aix4.012.*)
13418
# We only want to do this on AIX 4.2 and lower, the check
13419
# below for broken collect2 doesn't work under 4.3+
13420
collect2name=`${CC} -print-prog-name=collect2`
13421
if test -f "$collect2name" && \
13422
strings "$collect2name" | grep resolve_lib_name >/dev/null
13424
# We have reworked collect2
13425
hardcode_direct_CXX=yes
13427
# We have old collect2
13428
hardcode_direct_CXX=unsupported
13429
# It fails to find uninstalled libraries when the uninstalled
13430
# path is not listed in the libpath. Setting hardcode_minus_L
13431
# to unsupported forces relinking
13432
hardcode_minus_L_CXX=yes
13433
hardcode_libdir_flag_spec_CXX='-L$libdir'
13434
hardcode_libdir_separator_CXX=
13437
shared_flag='-shared'
13440
if test "$host_cpu" = ia64; then
13441
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13442
# chokes on -Wl,-G. The following line is correct:
13445
if test "$aix_use_runtimelinking" = yes; then
13446
shared_flag='-qmkshrobj ${wl}-G'
13448
shared_flag='-qmkshrobj'
13453
# Let the compiler handle the export list.
13454
always_export_symbols_CXX=no
13455
if test "$aix_use_runtimelinking" = yes; then
13456
# Warning - without using the other runtime loading flags (-brtl),
13457
# -berok will link without error, but may produce a broken library.
13458
allow_undefined_flag_CXX='-berok'
13459
# Determine the default libpath from the value encoded in an empty executable.
13460
cat >conftest.$ac_ext <<_ACEOF
13463
cat confdefs.h >>conftest.$ac_ext
13464
cat >>conftest.$ac_ext <<_ACEOF
13465
/* end confdefs.h. */
13475
rm -f conftest.$ac_objext conftest$ac_exeext
13476
if { (ac_try="$ac_link"
13477
case "(($ac_try" in
13478
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13479
*) ac_try_echo=$ac_try;;
13481
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13482
(eval "$ac_link") 2>conftest.er1
13484
grep -v '^ *+' conftest.er1 >conftest.err
13486
cat conftest.err >&5
13487
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13488
(exit $ac_status); } && {
13489
test -z "$ac_cxx_werror_flag" ||
13490
test ! -s conftest.err
13491
} && test -s conftest$ac_exeext &&
13492
$as_test_x conftest$ac_exeext; then
13494
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13496
# Check for a 64-bit object if we didn't find anything.
13497
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13500
echo "$as_me: failed program was:" >&5
13501
sed 's/^/| /' conftest.$ac_ext >&5
13506
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13507
conftest$ac_exeext conftest.$ac_ext
13508
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13510
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13512
archive_cmds_CXX="\$CC"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '" $shared_flag"
13513
archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
13515
if test "$host_cpu" = ia64; then
13516
hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
13517
allow_undefined_flag_CXX="-z nodefs"
13518
archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
13520
# Determine the default libpath from the value encoded in an empty executable.
13521
cat >conftest.$ac_ext <<_ACEOF
13524
cat confdefs.h >>conftest.$ac_ext
13525
cat >>conftest.$ac_ext <<_ACEOF
13526
/* end confdefs.h. */
13536
rm -f conftest.$ac_objext conftest$ac_exeext
13537
if { (ac_try="$ac_link"
13538
case "(($ac_try" in
13539
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13540
*) ac_try_echo=$ac_try;;
13542
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13543
(eval "$ac_link") 2>conftest.er1
13545
grep -v '^ *+' conftest.er1 >conftest.err
13547
cat conftest.err >&5
13548
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13549
(exit $ac_status); } && {
13550
test -z "$ac_cxx_werror_flag" ||
13551
test ! -s conftest.err
13552
} && test -s conftest$ac_exeext &&
13553
$as_test_x conftest$ac_exeext; then
13555
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13557
# Check for a 64-bit object if we didn't find anything.
13558
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13561
echo "$as_me: failed program was:" >&5
13562
sed 's/^/| /' conftest.$ac_ext >&5
13567
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13568
conftest$ac_exeext conftest.$ac_ext
13569
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13571
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13572
# Warning - without using the other run time loading flags,
13573
# -berok will link without error, but may produce a broken library.
13574
no_undefined_flag_CXX=' ${wl}-bernotok'
13575
allow_undefined_flag_CXX=' ${wl}-berok'
13576
# -bexpall does not export symbols beginning with underscore (_)
13577
always_export_symbols_CXX=yes
13578
# Exported symbols can be pulled into shared objects from archives
13579
whole_archive_flag_spec_CXX=' '
13580
archive_cmds_need_lc_CXX=yes
13581
# This is similar to how AIX traditionally builds it's shared libraries.
13582
archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
13587
case $cc_basename in
13589
# FIXME: insert proper C++ library support
13595
cygwin* | mingw* | pw32*)
13596
# _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13597
# as there is no search path for DLLs.
13598
hardcode_libdir_flag_spec_CXX='-L$libdir'
13599
allow_undefined_flag_CXX=no
13600
always_export_symbols_CXX=no
13601
enable_shared_with_static_runtimes_CXX=yes
13603
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
13604
archive_cmds_CXX='$CC -shared -nostdlib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13605
# If the export-symbols file already is a .def file (1st line
13606
# is EXPORTS), use it as is; otherwise, prepend...
13607
archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13608
cp $export_symbols $output_objdir/$soname.def;
13610
echo EXPORTS > $output_objdir/$soname.def;
13611
cat $export_symbols >> $output_objdir/$soname.def;
13613
$CC -shared -nostdlib $output_objdir/$soname.def $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13619
darwin* | rhapsody*)
13620
if test "$GXX" = yes; then
13621
archive_cmds_need_lc_CXX=no
13623
rhapsody* | darwin1.[012])
13624
allow_undefined_flag_CXX='-Wl,-undefined -Wl,suppress'
13627
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
13628
allow_undefined_flag='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
13630
case ${MACOSX_DEPLOYMENT_TARGET} in
13632
allow_undefined_flag='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
13635
allow_undefined_flag='-Wl,-undefined -Wl,dynamic_lookup'
13641
lt_int_apple_cc_single_mod=no
13642
output_verbose_link_cmd='echo'
13643
if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
13644
lt_int_apple_cc_single_mod=yes
13646
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13647
archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring'
13649
archive_cmds_CXX='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $compiler_flags $deplibs -install_name $rpath/$soname $verstring'
13651
module_cmds_CXX='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs'
13653
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
13654
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13655
archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
13657
archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $compiler_flags $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
13659
module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
13660
hardcode_direct_CXX=no
13661
hardcode_automatic_CXX=yes
13662
hardcode_shlibpath_var_CXX=unsupported
13663
whole_archive_flag_spec_CXX='-all_load $convenience'
13664
link_all_deplibs_CXX=yes
13671
case $cc_basename in
13673
# FIXME: insert proper C++ library support
13677
# Green Hills C++ Compiler
13678
# FIXME: insert proper C++ library support
13682
# FIXME: insert proper C++ library support
13688
# C++ shared libraries reported to be fairly broken before switch to ELF
13692
archive_cmds_need_lc_CXX=no
13695
# FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13702
hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13703
hardcode_libdir_separator_CXX=:
13704
export_dynamic_flag_spec_CXX='${wl}-E'
13705
hardcode_direct_CXX=yes
13706
hardcode_minus_L_CXX=yes # Not in the search PATH,
13707
# but as the default
13708
# location of the library.
13710
case $cc_basename in
13712
# FIXME: insert proper C++ library support
13716
archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13717
# Commands to make compiler produce verbose output that lists
13718
# what "hidden" libraries, object files and flags are used when
13719
# linking a shared library.
13721
# There doesn't appear to be a way to prevent this compiler from
13722
# explicitly linking system object files so we need to strip them
13723
# from the output so that they don't get included in the library
13725
output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | egrep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
13728
if test "$GXX" = yes; then
13729
archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13731
# FIXME: insert proper C++ library support
13738
if test $with_gnu_ld = no; then
13739
case "$host_cpu" in
13741
hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13742
hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
13743
hardcode_libdir_separator_CXX=:
13746
hardcode_libdir_flag_spec_CXX='-L$libdir'
13749
hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13750
hardcode_libdir_separator_CXX=:
13751
export_dynamic_flag_spec_CXX='${wl}-E'
13755
case "$host_cpu" in
13757
hardcode_direct_CXX=no
13758
hardcode_shlibpath_var_CXX=no
13761
hardcode_direct_CXX=no
13762
hardcode_shlibpath_var_CXX=no
13763
hardcode_minus_L_CXX=yes # Not in the search PATH,
13764
# but as the default
13765
# location of the library.
13768
hardcode_direct_CXX=yes
13769
hardcode_minus_L_CXX=yes # Not in the search PATH,
13770
# but as the default
13771
# location of the library.
13775
case $cc_basename in
13777
# FIXME: insert proper C++ library support
13781
case "$host_cpu" in
13783
archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
13786
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects'
13789
# Commands to make compiler produce verbose output that lists
13790
# what "hidden" libraries, object files and flags are used when
13791
# linking a shared library.
13793
# There doesn't appear to be a way to prevent this compiler from
13794
# explicitly linking system object files so we need to strip them
13795
# from the output so that they don't get included in the library
13797
output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
13800
if test "$GXX" = yes; then
13801
if test $with_gnu_ld = no; then
13802
case "$host_cpu" in
13804
archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
13807
archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects'
13812
# FIXME: insert proper C++ library support
13819
case $cc_basename in
13822
archive_cmds_CXX='$CC -shared -all -multigot $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
13824
# Archives containing C++ object files must be created using
13825
# "CC -ar", where "CC" is the IRIX C++ compiler. This is
13826
# necessary to make sure instantiated templates are included
13828
old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13831
if test "$GXX" = yes; then
13832
if test "$with_gnu_ld" = no; then
13833
archive_cmds_CXX='$CC -shared -nostdlib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
13835
archive_cmds_CXX='$CC -shared -nostdlib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
13838
link_all_deplibs_CXX=yes
13841
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13842
hardcode_libdir_separator_CXX=:
13845
case $cc_basename in
13847
# Kuck and Associates, Inc. (KAI) C++ Compiler
13849
# KCC will only create a shared library if the output file
13850
# ends with ".so" (or ".sl" for HP-UX), so rename the library
13851
# to its proper name (with version) after linking.
13852
archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects --soname $soname -o \$templib; mv \$templib $lib'
13853
archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
13854
# Commands to make compiler produce verbose output that lists
13855
# what "hidden" libraries, object files and flags are used when
13856
# linking a shared library.
13858
# There doesn't appear to be a way to prevent this compiler from
13859
# explicitly linking system object files so we need to strip them
13860
# from the output so that they don't get included in the library
13862
output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
13864
hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
13865
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13867
# Archives containing C++ object files must be created using
13868
# "CC -Bstatic", where "CC" is the KAI C++ compiler.
13869
old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13874
archive_cmds_need_lc_CXX=no
13875
archive_cmds_CXX='$CC -shared $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $wl$soname -o $lib'
13876
archive_expsym_cmds_CXX='$CC -shared $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13877
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13878
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13879
whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13883
archive_cmds_CXX='$CC -shared $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $wl$soname -o $lib'
13884
archive_expsym_cmds_CXX='$CC -shared $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
13886
runpath_var=LD_RUN_PATH
13887
hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13888
hardcode_libdir_separator_CXX=:
13890
# Commands to make compiler produce verbose output that lists
13891
# what "hidden" libraries, object files and flags are used when
13892
# linking a shared library.
13894
# There doesn't appear to be a way to prevent this compiler from
13895
# explicitly linking system object files so we need to strip them
13896
# from the output so that they don't get included in the library
13898
output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
13903
# FIXME: insert proper C++ library support
13907
# FIXME: insert proper C++ library support
13911
case $cc_basename in
13913
# FIXME: insert proper C++ library support
13917
# FIXME: insert proper C++ library support
13923
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13924
archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13926
hardcode_libdir_flag_spec_CXX='-R$libdir'
13927
hardcode_direct_CXX=yes
13928
hardcode_shlibpath_var_CXX=no
13930
# Workaround some broken pre-1.5 toolchains
13931
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13934
case $cc_basename in
13936
# Kuck and Associates, Inc. (KAI) C++ Compiler
13938
# KCC will only create a shared library if the output file
13939
# ends with ".so" (or ".sl" for HP-UX), so rename the library
13940
# to its proper name (with version) after linking.
13941
archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects --soname $soname -o \$templib; mv \$templib $lib'
13943
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13944
hardcode_libdir_separator_CXX=:
13946
# Archives containing C++ object files must be created using
13947
# "CC -Bstatic", where "CC" is the KAI C++ compiler.
13948
old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13952
# Rational C++ 2.4.1
13953
# FIXME: insert proper C++ library support
13957
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13958
archive_cmds_CXX='$CC -shared${allow_undefined_flag} $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
13960
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13961
hardcode_libdir_separator_CXX=:
13963
# Commands to make compiler produce verbose output that lists
13964
# what "hidden" libraries, object files and flags are used when
13965
# linking a shared library.
13967
# There doesn't appear to be a way to prevent this compiler from
13968
# explicitly linking system object files so we need to strip them
13969
# from the output so that they don't get included in the library
13971
output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
13974
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13975
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13976
archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
13978
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13979
hardcode_libdir_separator_CXX=:
13981
# Commands to make compiler produce verbose output that lists
13982
# what "hidden" libraries, object files and flags are used when
13983
# linking a shared library.
13984
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
13987
# FIXME: insert proper C++ library support
13994
case $cc_basename in
13996
# Kuck and Associates, Inc. (KAI) C++ Compiler
13998
# KCC will only create a shared library if the output file
13999
# ends with ".so" (or ".sl" for HP-UX), so rename the library
14000
# to its proper name (with version) after linking.
14001
archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects --soname $soname -o \$templib; mv \$templib $lib'
14003
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14004
hardcode_libdir_separator_CXX=:
14006
# Archives containing C++ object files must be created using
14007
# the KAI C++ compiler.
14008
old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
14011
# Rational C++ 2.4.1
14012
# FIXME: insert proper C++ library support
14016
allow_undefined_flag_CXX=' -expect_unresolved \*'
14017
archive_cmds_CXX='$CC -shared${allow_undefined_flag} $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
14018
archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14019
echo "-hidden">> $lib.exp~
14020
$CC -shared$allow_undefined_flag $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry $objdir/so_locations -o $lib~
14023
hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14024
hardcode_libdir_separator_CXX=:
14026
# Commands to make compiler produce verbose output that lists
14027
# what "hidden" libraries, object files and flags are used when
14028
# linking a shared library.
14030
# There doesn't appear to be a way to prevent this compiler from
14031
# explicitly linking system object files so we need to strip them
14032
# from the output so that they don't get included in the library
14034
output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
14037
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14038
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14039
archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
14041
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14042
hardcode_libdir_separator_CXX=:
14044
# Commands to make compiler produce verbose output that lists
14045
# what "hidden" libraries, object files and flags are used when
14046
# linking a shared library.
14047
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
14050
# FIXME: insert proper C++ library support
14057
# FIXME: insert proper C++ library support
14061
archive_cmds_need_lc_CXX=no
14062
case $cc_basename in
14064
# FIXME: insert proper C++ library support
14068
# FIXME: insert proper C++ library support
14074
case $cc_basename in
14077
# FIXME: insert proper C++ library support
14082
# FIXME: insert proper C++ library support
14086
# FIXME: insert proper C++ library support
14092
case $cc_basename in
14094
# Sun C++ 4.2, 5.x and Centerline C++
14095
no_undefined_flag_CXX=' -zdefs'
14096
archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects'
14097
archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14098
$CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects~$rm $lib.exp'
14100
hardcode_libdir_flag_spec_CXX='-R$libdir'
14101
hardcode_shlibpath_var_CXX=no
14103
solaris2.0-5 | solaris2.0-5.*) ;;
14105
# The C++ compiler is used as linker so we must use $wl
14106
# flag to pass the commands to the underlying system
14108
# Supported since Solaris 2.6 (maybe 2.5.1?)
14109
whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14112
link_all_deplibs_CXX=yes
14114
# Commands to make compiler produce verbose output that lists
14115
# what "hidden" libraries, object files and flags are used when
14116
# linking a shared library.
14118
# There doesn't appear to be a way to prevent this compiler from
14119
# explicitly linking system object files so we need to strip them
14120
# from the output so that they don't get included in the library
14122
output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[LR]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
14124
# Archives containing C++ object files must be created using
14125
# "CC -xar", where "CC" is the Sun C++ compiler. This is
14126
# necessary to make sure instantiated templates are included
14128
old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14131
# Green Hills C++ Compiler
14132
archive_cmds_CXX='$CC -shared $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-h $wl$soname -o $lib'
14134
# The C++ compiler must be used to create the archive.
14135
old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14138
# GNU C++ compiler with Solaris linker
14139
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14140
no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
14141
if $CC --version | grep -v '^2\.7' > /dev/null; then
14142
archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-h $wl$soname -o $lib'
14143
archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14144
$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects~$rm $lib.exp'
14146
# Commands to make compiler produce verbose output that lists
14147
# what "hidden" libraries, object files and flags are used when
14148
# linking a shared library.
14149
output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
14151
# g++ 2.7 appears to require `-G' NOT `-shared' on this
14153
archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-h $wl$soname -o $lib'
14154
archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14155
$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects~$rm $lib.exp'
14157
# Commands to make compiler produce verbose output that lists
14158
# what "hidden" libraries, object files and flags are used when
14159
# linking a shared library.
14160
output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
14163
hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
14168
sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
14169
archive_cmds_need_lc_CXX=no
14172
case $cc_basename in
14174
# NonStop-UX NCC 3.20
14175
# FIXME: insert proper C++ library support
14179
# FIXME: insert proper C++ library support
14185
# FIXME: insert proper C++ library support
14189
# FIXME: insert proper C++ library support
14193
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
14194
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
14195
test "$ld_shlibs_CXX" = no && can_build_shared=no
14201
## There is no encapsulation within the following macros, do not change
14202
## the running order or otherwise move them around unless you know exactly
14203
## what you are doing...
14205
cat > conftest.$ac_ext <<EOF
14209
Foo (void) { a = 0; }
14215
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14216
(eval $ac_compile) 2>&5
14218
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14219
(exit $ac_status); }; then
14220
# Parse the compiler output and extract the necessary
14221
# objects, libraries and library flags.
14223
# Sentinel used to keep track of whether or not we are before
14224
# the conftest object file.
14225
pre_test_object_deps_done=no
14227
# The `*' in the case matches for architectures that use `case' in
14228
# $output_verbose_cmd can trigger glob expansion during the loop
14229
# eval without this substitution.
14230
output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
14232
for p in `eval $output_verbose_link_cmd`; do
14236
# Some compilers place space between "-{L,R}" and the path.
14237
# Remove the space.
14238
if test $p = "-L" \
14239
|| test $p = "-R"; then
14246
if test "$pre_test_object_deps_done" = no; then
14249
# Internal compiler library paths should come after those
14250
# provided the user. The postdeps already come after the
14251
# user supplied libs so there is no need to process them.
14252
if test -z "$compiler_lib_search_path_CXX"; then
14253
compiler_lib_search_path_CXX="${prev}${p}"
14255
compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
14258
# The "-l" case would never come before the object being
14259
# linked, so don't bother handling this case.
14262
if test -z "$postdeps_CXX"; then
14263
postdeps_CXX="${prev}${p}"
14265
postdeps_CXX="${postdeps_CXX} ${prev}${p}"
14270
*.$objext|*.$libext)
14271
# This assumes that the test object file only shows up
14272
# once in the compiler output.
14273
if test "$p" = "conftest.$objext"; then
14274
pre_test_object_deps_done=yes
14278
if test "$pre_test_object_deps_done" = no; then
14279
if test -z "$predep_objects_CXX"; then
14280
predep_objects_CXX="$p"
14282
predep_objects_CXX="$predep_objects_CXX $p"
14285
if test -z "$postdep_objects_CXX"; then
14286
postdep_objects_CXX="$p"
14288
postdep_objects_CXX="$postdep_objects_CXX $p"
14293
*) ;; # Ignore the rest.
14301
echo "libtool.m4: error: problem compiling CXX test program"
14304
$rm -f confest.$objext
14306
case " $postdeps_CXX " in
14307
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
14310
lt_prog_compiler_wl_CXX=
14311
lt_prog_compiler_pic_CXX=
14312
lt_prog_compiler_static_CXX=
14314
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14315
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
14317
# C++ specific cases for pic, static, wl, etc.
14318
if test "$GXX" = yes; then
14319
lt_prog_compiler_wl_CXX='-Wl,'
14320
lt_prog_compiler_static_CXX='-static'
14324
# All AIX code is PIC.
14325
if test "$host_cpu" = ia64; then
14326
# AIX 5 now supports IA64 processor
14327
lt_prog_compiler_static_CXX='-Bstatic'
14331
# FIXME: we need at least 68020 code to build shared libraries, but
14332
# adding the `-m68020' flag to GCC prevents building anything better,
14334
lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
14336
beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14337
# PIC is the default for these OSes.
14339
mingw* | os2* | pw32*)
14340
# This hack is so that the source file can tell whether it is being
14341
# built for inclusion in a dll (and should export symbols for example).
14342
lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14344
darwin* | rhapsody*)
14345
# PIC is the default on this platform
14346
# Common symbols not allowed in MH_DYLIB files
14347
lt_prog_compiler_pic_CXX='-fno-common'
14350
# DJGPP does not support shared libraries at all
14351
lt_prog_compiler_pic_CXX=
14354
if test -d /usr/nec; then
14355
lt_prog_compiler_pic_CXX=-Kconform_pic
14359
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14360
# not for PA HP-UX.
14361
case "$host_cpu" in
14365
lt_prog_compiler_pic_CXX='-fPIC'
14370
lt_prog_compiler_pic_CXX='-fPIC'
14376
# All AIX code is PIC.
14377
if test "$host_cpu" = ia64; then
14378
# AIX 5 now supports IA64 processor
14379
lt_prog_compiler_static_CXX='-Bstatic'
14381
lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
14385
case $cc_basename in
14387
# Green Hills C++ Compiler
14388
# _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
14393
case $cc_basename in
14395
lt_prog_compiler_pic_CXX='-KPIC'
14398
# Green Hills C++ Compiler
14399
lt_prog_compiler_pic_CXX='-pic'
14406
# FreeBSD uses GNU C++
14408
hpux9* | hpux10* | hpux11*)
14409
case $cc_basename in
14411
lt_prog_compiler_wl_CXX='-Wl,'
14412
lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
14413
if test "$host_cpu" != ia64; then
14414
lt_prog_compiler_pic_CXX='+Z'
14418
lt_prog_compiler_wl_CXX='-Wl,'
14419
lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
14420
case "$host_cpu" in
14425
lt_prog_compiler_pic_CXX='+Z'
14433
irix5* | irix6* | nonstopux*)
14434
case $cc_basename in
14436
lt_prog_compiler_wl_CXX='-Wl,'
14437
lt_prog_compiler_static_CXX='-non_shared'
14438
# CC pic flag -KPIC is the default.
14445
case $cc_basename in
14448
lt_prog_compiler_wl_CXX='--backend -Wl,'
14449
lt_prog_compiler_pic_CXX='-fPIC'
14453
lt_prog_compiler_wl_CXX='-Wl,'
14454
lt_prog_compiler_pic_CXX='-KPIC'
14455
lt_prog_compiler_static_CXX='-static'
14459
# Make sure the PIC flag is empty. It appears that all Alpha
14460
# Linux and Compaq Tru64 Unix objects are PIC.
14461
lt_prog_compiler_pic_CXX=
14462
lt_prog_compiler_static_CXX='-non_shared'
14473
case $cc_basename in
14475
lt_prog_compiler_pic_CXX='-W c,exportall'
14483
osf3* | osf4* | osf5*)
14484
case $cc_basename in
14486
lt_prog_compiler_wl_CXX='--backend -Wl,'
14489
# Rational C++ 2.4.1
14490
lt_prog_compiler_pic_CXX='-pic'
14493
# Digital/Compaq C++
14494
lt_prog_compiler_wl_CXX='-Wl,'
14495
# Make sure the PIC flag is empty. It appears that all Alpha
14496
# Linux and Compaq Tru64 Unix objects are PIC.
14497
lt_prog_compiler_pic_CXX=
14498
lt_prog_compiler_static_CXX='-non_shared'
14507
case $cc_basename in
14509
lt_prog_compiler_pic_CXX='-fPIC'
14516
case $cc_basename in
14518
# Sun C++ 4.2, 5.x and Centerline C++
14519
lt_prog_compiler_pic_CXX='-KPIC'
14520
lt_prog_compiler_static_CXX='-Bstatic'
14521
lt_prog_compiler_wl_CXX='-Qoption ld '
14524
# Green Hills C++ Compiler
14525
lt_prog_compiler_pic_CXX='-PIC'
14532
case $cc_basename in
14535
lt_prog_compiler_pic_CXX='-pic'
14536
lt_prog_compiler_static_CXX='-Bstatic'
14540
lt_prog_compiler_pic_CXX='-pic'
14547
case $cc_basename in
14549
# NonStop-UX NCC 3.20
14550
lt_prog_compiler_pic_CXX='-KPIC'
14561
lt_prog_compiler_can_build_shared_CXX=no
14566
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
14567
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
14570
# Check to make sure the PIC flag actually works.
14572
if test -n "$lt_prog_compiler_pic_CXX"; then
14574
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14575
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
14576
if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
14577
echo $ECHO_N "(cached) $ECHO_C" >&6
14579
lt_prog_compiler_pic_works_CXX=no
14580
ac_outfile=conftest.$ac_objext
14581
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14582
lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14583
# Insert the option either (1) after the last *FLAGS variable, or
14584
# (2) before a word containing "conftest.", or (3) at the end.
14585
# Note that $ac_compile itself does not contain backslashes and begins
14586
# with a dollar sign (not a hyphen), so the echo should work correctly.
14587
# The option is referenced via a variable to avoid confusing sed.
14588
lt_compile=`echo "$ac_compile" | $SED \
14589
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
14590
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14591
-e 's:$: $lt_compiler_flag:'`
14592
(eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
14593
(eval "$lt_compile" 2>conftest.err)
14595
cat conftest.err >&5
14596
echo "$as_me:__oline__: \$? = $ac_status" >&5
14597
if (exit $ac_status) && test -s "$ac_outfile"; then
14598
# The compiler can only warn and ignore the option if not recognized
14599
# So say no if there are warnings
14600
if test ! -s conftest.err; then
14601
lt_prog_compiler_pic_works_CXX=yes
14607
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
14608
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
14610
if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
14611
case $lt_prog_compiler_pic_CXX in
14613
*) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14616
lt_prog_compiler_pic_CXX=
14617
lt_prog_compiler_can_build_shared_CXX=no
14622
# For platforms which do not support PIC, -DPIC is meaningless:
14624
lt_prog_compiler_pic_CXX=
14627
lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14631
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14632
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14633
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
14634
echo $ECHO_N "(cached) $ECHO_C" >&6
14636
lt_cv_prog_compiler_c_o_CXX=no
14637
$rm -r conftest 2>/dev/null
14641
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14643
# According to Tom Tromey, Ian Lance Taylor reported there are C compilers
14644
# that will create temporary files in the current directory regardless of
14645
# the output directory. Thus, making CWD read-only will cause this test
14646
# to fail, enabling locking or at least warning the user not to do parallel
14650
lt_compiler_flag="-o out/conftest2.$ac_objext"
14651
# Insert the option either (1) after the last *FLAGS variable, or
14652
# (2) before a word containing "conftest.", or (3) at the end.
14653
# Note that $ac_compile itself does not contain backslashes and begins
14654
# with a dollar sign (not a hyphen), so the echo should work correctly.
14655
lt_compile=`echo "$ac_compile" | $SED \
14656
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
14657
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14658
-e 's:$: $lt_compiler_flag:'`
14659
(eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
14660
(eval "$lt_compile" 2>out/conftest.err)
14662
cat out/conftest.err >&5
14663
echo "$as_me:__oline__: \$? = $ac_status" >&5
14664
if (exit $ac_status) && test -s out/conftest2.$ac_objext
14666
# The compiler can only warn and ignore the option if not recognized
14667
# So say no if there are warnings
14668
if test ! -s out/conftest.err; then
14669
lt_cv_prog_compiler_c_o_CXX=yes
14673
$rm conftest* out/*
14680
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14681
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
14684
hard_links="nottested"
14685
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14686
# do not overwrite the value of need_locks provided by the user
14687
{ echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14688
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14691
ln conftest.a conftest.b 2>/dev/null && hard_links=no
14693
ln conftest.a conftest.b 2>&5 || hard_links=no
14694
ln conftest.a conftest.b 2>/dev/null && hard_links=no
14695
{ echo "$as_me:$LINENO: result: $hard_links" >&5
14696
echo "${ECHO_T}$hard_links" >&6; }
14697
if test "$hard_links" = no; then
14698
{ echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14699
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14706
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14707
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14709
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14712
# If we're using GNU nm, then we don't want the "-C" option.
14713
# -C means demangle to AIX nm, but means don't demangle with GNU nm
14714
if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
14715
export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
14717
export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
14721
export_symbols_cmds_CXX="$ltdll_cmds"
14724
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
14727
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14731
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
14732
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
14733
test "$ld_shlibs_CXX" = no && can_build_shared=no
14735
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14736
if test "$GCC" = yes; then
14737
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14741
# Do we need to explicitly link libc?
14743
case "x$archive_cmds_need_lc_CXX" in
14745
# Assume -lc should be added
14746
archive_cmds_need_lc_CXX=yes
14748
if test "$enable_shared" = yes && test "$GCC" = yes; then
14749
case $archive_cmds_CXX in
14751
# FIXME: we may have to deal with multi-command sequences.
14754
# Test whether the compiler implicitly links with -lc since on some
14755
# systems, -lgcc has to come before -lc. If gcc already passes -lc
14756
# to ld, don't add -lc before -lgcc.
14757
{ echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14758
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
14760
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14762
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14763
(eval $ac_compile) 2>&5
14765
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14766
(exit $ac_status); } 2>conftest.err; then
14769
libobjs=conftest.$ac_objext
14771
wl=$lt_prog_compiler_wl_CXX
14777
lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14778
allow_undefined_flag_CXX=
14779
if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
14780
(eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
14782
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14783
(exit $ac_status); }
14785
archive_cmds_need_lc_CXX=no
14787
archive_cmds_need_lc_CXX=yes
14789
allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14791
cat conftest.err 1>&5
14794
{ echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
14795
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
14802
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14803
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
14804
library_names_spec=
14805
libname_spec='lib$name'
14809
postuninstall_cmds=
14813
shlibpath_overrides_runpath=unknown
14815
dynamic_linker="$host_os ld.so"
14816
sys_lib_dlsearch_path_spec="/lib /usr/lib"
14817
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
14818
need_lib_prefix=unknown
14819
hardcode_into_libs=no
14821
# when you set need_version to no, make sure it does not cause -set_version
14822
# flags to be left without arguments
14823
need_version=unknown
14828
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14829
shlibpath_var=LIBPATH
14831
# AIX 3 has no versioning support, so we append a major version to the name.
14832
soname_spec='${libname}${release}${shared_ext}$major'
14839
hardcode_into_libs=yes
14840
if test "$host_cpu" = ia64; then
14841
# AIX 5 supports IA64
14842
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14843
shlibpath_var=LD_LIBRARY_PATH
14845
# With GCC up to 2.95.x, collect2 would create an import file
14846
# for dependence libraries. The import file would start with
14847
# the line `#! .'. This would cause the generated library to
14848
# depend on `.', always an invalid library. This was fixed in
14849
# development snapshots of GCC prior to 3.0.
14851
aix4 | aix4.[01] | aix4.[01].*)
14852
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14854
echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
14857
can_build_shared=no
14861
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14862
# soname into executable. Probably we can add versioning support to
14863
# collect2, so additional links can be useful in future.
14864
if test "$aix_use_runtimelinking" = yes; then
14865
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
14866
# instead of lib<name>.a to let people know that these are not
14867
# typical AIX shared libraries.
14868
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14870
# We preserve .a as extension for shared libraries through AIX4.2
14871
# and later when we are not doing run time linking.
14872
library_names_spec='${libname}${release}.a $libname.a'
14873
soname_spec='${libname}${release}${shared_ext}$major'
14875
shlibpath_var=LIBPATH
14880
library_names_spec='$libname.ixlibrary $libname.a'
14881
# Create ${libname}_ixlibrary.a entries in /sys/libs.
14882
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'
14886
library_names_spec='${libname}${shared_ext}'
14887
dynamic_linker="$host_os ld.so"
14888
shlibpath_var=LIBRARY_PATH
14894
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14895
soname_spec='${libname}${release}${shared_ext}$major'
14896
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14897
shlibpath_var=LD_LIBRARY_PATH
14898
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14899
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14900
# the default ld.so.conf also contains /usr/contrib/lib and
14901
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14902
# libtool to hard-code these into programs
14905
cygwin* | mingw* | pw32*)
14906
version_type=windows
14911
case $GCC,$host_os in
14912
yes,cygwin* | yes,mingw* | yes,pw32*)
14913
library_names_spec='$libname.dll.a'
14914
# DLL is installed to $(libdir)/../bin by postinstall_cmds
14915
postinstall_cmds='base_file=`basename \${file}`~
14916
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14917
dldir=$destdir/`dirname \$dlpath`~
14918
test -d \$dldir || mkdir -p \$dldir~
14919
$install_prog $dir/$dlname \$dldir/$dlname'
14920
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14921
dlpath=$dir/\$dldll~
14923
shlibpath_overrides_runpath=yes
14927
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
14928
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14929
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
14932
# MinGW DLLs use traditional 'lib' prefix
14933
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14934
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14935
if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
14936
# It is most probably a Windows format PATH printed by
14937
# mingw gcc, but we are running on Cygwin. Gcc prints its search
14938
# path with ; separators, and with drive letters. We can handle the
14939
# drive letters (cygwin fileutils understands them), so leave them,
14940
# especially as we might pass files found there to a mingw objdump,
14941
# which wouldn't understand a cygwinified path. Ahh.
14942
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14944
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14948
# pw32 DLLs use 'pw' prefix rather than 'lib'
14949
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
14955
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14958
dynamic_linker='Win32 ld.exe'
14959
# FIXME: first we should search . and the directory the executable is in
14963
darwin* | rhapsody*)
14964
dynamic_linker="$host_os dyld"
14965
version_type=darwin
14968
library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14969
soname_spec='${libname}${release}${major}$shared_ext'
14970
shlibpath_overrides_runpath=yes
14971
shlibpath_var=DYLD_LIBRARY_PATH
14972
shrext='$(test .$module = .yes && echo .so || echo .dylib)'
14973
# Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14974
if test "$GCC" = yes; then
14975
sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
14977
sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
14979
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14986
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14987
soname_spec='${libname}${release}${shared_ext}$major'
14988
shlibpath_var=LD_LIBRARY_PATH
14999
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15000
soname_spec='${libname}${release}${shared_ext}$major'
15001
shlibpath_var=LD_LIBRARY_PATH
15002
shlibpath_overrides_runpath=no
15003
hardcode_into_libs=yes
15004
dynamic_linker='GNU ld.so'
15008
objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
15009
version_type=freebsd-$objformat
15010
case $version_type in
15012
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15017
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15021
shlibpath_var=LD_LIBRARY_PATH
15024
shlibpath_overrides_runpath=yes
15026
freebsd3.01* | freebsdelf3.01*)
15027
shlibpath_overrides_runpath=yes
15028
hardcode_into_libs=yes
15031
shlibpath_overrides_runpath=no
15032
hardcode_into_libs=yes
15041
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15042
soname_spec='${libname}${release}${shared_ext}$major'
15043
shlibpath_var=LD_LIBRARY_PATH
15044
hardcode_into_libs=yes
15047
hpux9* | hpux10* | hpux11*)
15048
# Give a soname corresponding to the major version so that dld.sl refuses to
15049
# link against other versions.
15053
case "$host_cpu" in
15056
hardcode_into_libs=yes
15057
dynamic_linker="$host_os dld.so"
15058
shlibpath_var=LD_LIBRARY_PATH
15059
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15060
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15061
soname_spec='${libname}${release}${shared_ext}$major'
15062
if test "X$HPUX_IA64_MODE" = X32; then
15063
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15065
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15067
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15071
hardcode_into_libs=yes
15072
dynamic_linker="$host_os dld.sl"
15073
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15074
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15075
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15076
soname_spec='${libname}${release}${shared_ext}$major'
15077
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15078
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15082
dynamic_linker="$host_os dld.sl"
15083
shlibpath_var=SHLIB_PATH
15084
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15085
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15086
soname_spec='${libname}${release}${shared_ext}$major'
15089
# HP-UX runs *really* slowly unless shared libraries are mode 555.
15090
postinstall_cmds='chmod 555 $lib'
15093
irix5* | irix6* | nonstopux*)
15095
nonstopux*) version_type=nonstopux ;;
15097
if test "$lt_cv_prog_gnu_ld" = yes; then
15105
soname_spec='${libname}${release}${shared_ext}$major'
15106
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15108
irix5* | nonstopux*)
15109
libsuff= shlibsuff=
15112
case $LD in # libtool.m4 will add one of these switches to LD
15113
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15114
libsuff= shlibsuff= libmagic=32-bit;;
15115
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15116
libsuff=32 shlibsuff=N32 libmagic=N32;;
15117
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15118
libsuff=64 shlibsuff=64 libmagic=64-bit;;
15119
*) libsuff= shlibsuff= libmagic=never-match;;
15123
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15124
shlibpath_overrides_runpath=no
15125
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15126
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15127
hardcode_into_libs=yes
15130
# No shared lib support for Linux oldld, aout, or coff.
15131
linux*oldld* | linux*aout* | linux*coff*)
15135
# This must be Linux ELF.
15140
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15141
soname_spec='${libname}${release}${shared_ext}$major'
15142
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15144
if test "x$LINUX_64_MODE" = x64; then
15145
# Some platforms are per default 64-bit, so there's no /lib64
15146
if test -d /lib64; then
15150
shlibpath_var=LD_LIBRARY_PATH
15151
shlibpath_overrides_runpath=no
15152
sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
15153
sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
15154
# This implies no fast_install, which is unacceptable.
15155
# Some rework will be needed to allow for fast_install
15156
# before this can be enabled.
15157
hardcode_into_libs=yes
15159
# We used to test for /lib/ld.so.1 and disable shared libraries on
15160
# powerpc, because MkLinux only supported shared libraries with the
15161
# GNU dynamic linker. Since this was broken with cross compilers,
15162
# most powerpc-linux boxes support dynamic linking these days and
15163
# people can always --disable-shared, the test was removed, and we
15164
# assume the GNU/Linux dynamic linker is in use.
15165
dynamic_linker='GNU/Linux ld.so'
15172
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15173
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15174
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15175
dynamic_linker='NetBSD (a.out) ld.so'
15177
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
15178
soname_spec='${libname}${release}${shared_ext}$major'
15179
dynamic_linker='NetBSD ld.elf_so'
15181
shlibpath_var=LD_LIBRARY_PATH
15182
shlibpath_overrides_runpath=yes
15183
hardcode_into_libs=yes
15188
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15189
shlibpath_var=LD_LIBRARY_PATH
15190
shlibpath_overrides_runpath=yes
15197
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15198
soname_spec='${libname}${release}${shared_ext}$major'
15199
shlibpath_var=LD_LIBRARY_PATH
15200
shlibpath_overrides_runpath=yes
15207
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15208
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15209
shlibpath_var=LD_LIBRARY_PATH
15210
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15212
openbsd2.[89] | openbsd2.[89].*)
15213
shlibpath_overrides_runpath=no
15216
shlibpath_overrides_runpath=yes
15220
shlibpath_overrides_runpath=yes
15225
libname_spec='$name'
15228
library_names_spec='$libname${shared_ext} $libname.a'
15229
dynamic_linker='OS/2 ld.exe'
15230
shlibpath_var=LIBPATH
15233
osf3* | osf4* | osf5*)
15237
soname_spec='${libname}${release}${shared_ext}$major'
15238
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15239
shlibpath_var=LD_LIBRARY_PATH
15240
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15241
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15246
soname_spec='${libname}${release}${shared_ext}$major'
15247
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15248
shlibpath_var=LD_LIBRARY_PATH
15255
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15256
soname_spec='${libname}${release}${shared_ext}$major'
15257
shlibpath_var=LD_LIBRARY_PATH
15258
shlibpath_overrides_runpath=yes
15259
hardcode_into_libs=yes
15260
# ldd complains unless libraries are executable
15261
postinstall_cmds='chmod +x $lib'
15266
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15267
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15268
shlibpath_var=LD_LIBRARY_PATH
15269
shlibpath_overrides_runpath=yes
15270
if test "$with_gnu_ld" = yes; then
15276
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
15278
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15279
soname_spec='${libname}${release}${shared_ext}$major'
15280
shlibpath_var=LD_LIBRARY_PATH
15281
case $host_vendor in
15283
shlibpath_overrides_runpath=no
15285
export_dynamic_flag_spec='${wl}-Blargedynsym'
15286
runpath_var=LD_RUN_PATH
15294
shlibpath_overrides_runpath=no
15295
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15301
if test -d /usr/nec ;then
15303
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15304
soname_spec='$libname${shared_ext}.$major'
15305
shlibpath_var=LD_LIBRARY_PATH
15311
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15312
soname_spec='${libname}${release}${shared_ext}$major'
15313
shlibpath_var=LD_LIBRARY_PATH
15320
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15321
echo "${ECHO_T}$dynamic_linker" >&6; }
15322
test "$dynamic_linker" = no && can_build_shared=no
15324
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15325
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
15326
hardcode_action_CXX=
15327
if test -n "$hardcode_libdir_flag_spec_CXX" || \
15328
test -n "$runpath_var CXX" || \
15329
test "X$hardcode_automatic_CXX"="Xyes" ; then
15331
# We can hardcode non-existant directories.
15332
if test "$hardcode_direct_CXX" != no &&
15333
# If the only mechanism to avoid hardcoding is shlibpath_var, we
15334
# have to relink, otherwise we might link with an installed library
15335
# when we should be linking with a yet-to-be-installed one
15336
## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15337
test "$hardcode_minus_L_CXX" != no; then
15338
# Linking always hardcodes the temporary library directory.
15339
hardcode_action_CXX=relink
15341
# We can link without hardcoding, and we can hardcode nonexisting dirs.
15342
hardcode_action_CXX=immediate
15345
# We cannot hardcode anything, or else we can only hardcode existing
15347
hardcode_action_CXX=unsupported
15349
{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
15350
echo "${ECHO_T}$hardcode_action_CXX" >&6; }
15352
if test "$hardcode_action_CXX" = relink; then
15353
# Fast installation is not supported
15354
enable_fast_install=no
15355
elif test "$shlibpath_overrides_runpath" = yes ||
15356
test "$enable_shared" = no; then
15357
# Fast installation is not necessary
15358
enable_fast_install=needless
15363
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
15364
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
15365
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
15366
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
15367
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
15368
{ echo "$as_me:$LINENO: result: yes" >&5
15369
echo "${ECHO_T}yes" >&6; }
15371
# FIXME - insert some real tests, host_os isn't really good enough
15374
if test -n "$STRIP" ; then
15375
striplib="$STRIP -x"
15376
{ echo "$as_me:$LINENO: result: yes" >&5
15377
echo "${ECHO_T}yes" >&6; }
15379
{ echo "$as_me:$LINENO: result: no" >&5
15380
echo "${ECHO_T}no" >&6; }
15384
{ echo "$as_me:$LINENO: result: no" >&5
15385
echo "${ECHO_T}no" >&6; }
15390
if test "x$enable_dlopen" != xyes; then
15391
enable_dlopen=unknown
15392
enable_dlopen_self=unknown
15393
enable_dlopen_self_static=unknown
15400
lt_cv_dlopen="load_add_on"
15402
lt_cv_dlopen_self=yes
15406
lt_cv_dlopen="LoadLibrary"
15411
lt_cv_dlopen="dlopen"
15416
# if libdl is installed we need to link against it
15417
{ echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
15418
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
15419
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
15420
echo $ECHO_N "(cached) $ECHO_C" >&6
15422
ac_check_lib_save_LIBS=$LIBS
15424
cat >conftest.$ac_ext <<_ACEOF
15427
cat confdefs.h >>conftest.$ac_ext
15428
cat >>conftest.$ac_ext <<_ACEOF
15429
/* end confdefs.h. */
15431
/* Override any GCC internal prototype to avoid an error.
15432
Use char because int might match the return type of a GCC
15433
builtin and then its argument prototype would still apply. */
15446
rm -f conftest.$ac_objext conftest$ac_exeext
15447
if { (ac_try="$ac_link"
15448
case "(($ac_try" in
15449
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15450
*) ac_try_echo=$ac_try;;
15452
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15453
(eval "$ac_link") 2>conftest.er1
15455
grep -v '^ *+' conftest.er1 >conftest.err
15457
cat conftest.err >&5
15458
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15459
(exit $ac_status); } && {
15460
test -z "$ac_cxx_werror_flag" ||
15461
test ! -s conftest.err
15462
} && test -s conftest$ac_exeext &&
15463
$as_test_x conftest$ac_exeext; then
15464
ac_cv_lib_dl_dlopen=yes
15466
echo "$as_me: failed program was:" >&5
15467
sed 's/^/| /' conftest.$ac_ext >&5
15469
ac_cv_lib_dl_dlopen=no
15472
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15473
conftest$ac_exeext conftest.$ac_ext
15474
LIBS=$ac_check_lib_save_LIBS
15476
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
15477
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
15478
if test $ac_cv_lib_dl_dlopen = yes; then
15479
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
15482
lt_cv_dlopen="dyld"
15484
lt_cv_dlopen_self=yes
15491
{ echo "$as_me:$LINENO: checking for shl_load" >&5
15492
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
15493
if test "${ac_cv_func_shl_load+set}" = set; then
15494
echo $ECHO_N "(cached) $ECHO_C" >&6
15496
cat >conftest.$ac_ext <<_ACEOF
15499
cat confdefs.h >>conftest.$ac_ext
15500
cat >>conftest.$ac_ext <<_ACEOF
15501
/* end confdefs.h. */
15502
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
15503
For example, HP-UX 11i <limits.h> declares gettimeofday. */
15504
#define shl_load innocuous_shl_load
15506
/* System header to define __stub macros and hopefully few prototypes,
15507
which can conflict with char shl_load (); below.
15508
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15509
<limits.h> exists even on freestanding compilers. */
15512
# include <limits.h>
15514
# include <assert.h>
15519
/* Override any GCC internal prototype to avoid an error.
15520
Use char because int might match the return type of a GCC
15521
builtin and then its argument prototype would still apply. */
15526
/* The GNU C library defines this for functions which it implements
15527
to always fail with ENOSYS. Some functions are actually named
15528
something starting with __ and the normal name is an alias. */
15529
#if defined __stub_shl_load || defined __stub___shl_load
15536
return shl_load ();
15541
rm -f conftest.$ac_objext conftest$ac_exeext
15542
if { (ac_try="$ac_link"
15543
case "(($ac_try" in
15544
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15545
*) ac_try_echo=$ac_try;;
15547
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15548
(eval "$ac_link") 2>conftest.er1
15550
grep -v '^ *+' conftest.er1 >conftest.err
15552
cat conftest.err >&5
15553
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15554
(exit $ac_status); } && {
15555
test -z "$ac_cxx_werror_flag" ||
15556
test ! -s conftest.err
15557
} && test -s conftest$ac_exeext &&
15558
$as_test_x conftest$ac_exeext; then
15559
ac_cv_func_shl_load=yes
15561
echo "$as_me: failed program was:" >&5
15562
sed 's/^/| /' conftest.$ac_ext >&5
15564
ac_cv_func_shl_load=no
15567
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15568
conftest$ac_exeext conftest.$ac_ext
15570
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
15571
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
15572
if test $ac_cv_func_shl_load = yes; then
15573
lt_cv_dlopen="shl_load"
15575
{ echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
15576
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
15577
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
15578
echo $ECHO_N "(cached) $ECHO_C" >&6
15580
ac_check_lib_save_LIBS=$LIBS
15582
cat >conftest.$ac_ext <<_ACEOF
15585
cat confdefs.h >>conftest.$ac_ext
15586
cat >>conftest.$ac_ext <<_ACEOF
15587
/* end confdefs.h. */
15589
/* Override any GCC internal prototype to avoid an error.
15590
Use char because int might match the return type of a GCC
15591
builtin and then its argument prototype would still apply. */
15599
return shl_load ();
15604
rm -f conftest.$ac_objext conftest$ac_exeext
15605
if { (ac_try="$ac_link"
15606
case "(($ac_try" in
15607
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15608
*) ac_try_echo=$ac_try;;
15610
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15611
(eval "$ac_link") 2>conftest.er1
15613
grep -v '^ *+' conftest.er1 >conftest.err
15615
cat conftest.err >&5
15616
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15617
(exit $ac_status); } && {
15618
test -z "$ac_cxx_werror_flag" ||
15619
test ! -s conftest.err
15620
} && test -s conftest$ac_exeext &&
15621
$as_test_x conftest$ac_exeext; then
15622
ac_cv_lib_dld_shl_load=yes
15624
echo "$as_me: failed program was:" >&5
15625
sed 's/^/| /' conftest.$ac_ext >&5
15627
ac_cv_lib_dld_shl_load=no
15630
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15631
conftest$ac_exeext conftest.$ac_ext
15632
LIBS=$ac_check_lib_save_LIBS
15634
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
15635
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
15636
if test $ac_cv_lib_dld_shl_load = yes; then
15637
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
15639
{ echo "$as_me:$LINENO: checking for dlopen" >&5
15640
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
15641
if test "${ac_cv_func_dlopen+set}" = set; then
15642
echo $ECHO_N "(cached) $ECHO_C" >&6
15644
cat >conftest.$ac_ext <<_ACEOF
15647
cat confdefs.h >>conftest.$ac_ext
15648
cat >>conftest.$ac_ext <<_ACEOF
15649
/* end confdefs.h. */
15650
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
15651
For example, HP-UX 11i <limits.h> declares gettimeofday. */
15652
#define dlopen innocuous_dlopen
15654
/* System header to define __stub macros and hopefully few prototypes,
15655
which can conflict with char dlopen (); below.
15656
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15657
<limits.h> exists even on freestanding compilers. */
15660
# include <limits.h>
15662
# include <assert.h>
15667
/* Override any GCC internal prototype to avoid an error.
15668
Use char because int might match the return type of a GCC
15669
builtin and then its argument prototype would still apply. */
15674
/* The GNU C library defines this for functions which it implements
15675
to always fail with ENOSYS. Some functions are actually named
15676
something starting with __ and the normal name is an alias. */
15677
#if defined __stub_dlopen || defined __stub___dlopen
15689
rm -f conftest.$ac_objext conftest$ac_exeext
15690
if { (ac_try="$ac_link"
15691
case "(($ac_try" in
15692
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15693
*) ac_try_echo=$ac_try;;
15695
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15696
(eval "$ac_link") 2>conftest.er1
15698
grep -v '^ *+' conftest.er1 >conftest.err
15700
cat conftest.err >&5
15701
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15702
(exit $ac_status); } && {
15703
test -z "$ac_cxx_werror_flag" ||
15704
test ! -s conftest.err
15705
} && test -s conftest$ac_exeext &&
15706
$as_test_x conftest$ac_exeext; then
15707
ac_cv_func_dlopen=yes
15709
echo "$as_me: failed program was:" >&5
15710
sed 's/^/| /' conftest.$ac_ext >&5
15712
ac_cv_func_dlopen=no
15715
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15716
conftest$ac_exeext conftest.$ac_ext
15718
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
15719
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
15720
if test $ac_cv_func_dlopen = yes; then
15721
lt_cv_dlopen="dlopen"
15723
{ echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
15724
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
15725
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
15726
echo $ECHO_N "(cached) $ECHO_C" >&6
15728
ac_check_lib_save_LIBS=$LIBS
15730
cat >conftest.$ac_ext <<_ACEOF
15733
cat confdefs.h >>conftest.$ac_ext
15734
cat >>conftest.$ac_ext <<_ACEOF
15735
/* end confdefs.h. */
15737
/* Override any GCC internal prototype to avoid an error.
15738
Use char because int might match the return type of a GCC
15739
builtin and then its argument prototype would still apply. */
15752
rm -f conftest.$ac_objext conftest$ac_exeext
15753
if { (ac_try="$ac_link"
15754
case "(($ac_try" in
15755
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15756
*) ac_try_echo=$ac_try;;
15758
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15759
(eval "$ac_link") 2>conftest.er1
15761
grep -v '^ *+' conftest.er1 >conftest.err
15763
cat conftest.err >&5
15764
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15765
(exit $ac_status); } && {
15766
test -z "$ac_cxx_werror_flag" ||
15767
test ! -s conftest.err
15768
} && test -s conftest$ac_exeext &&
15769
$as_test_x conftest$ac_exeext; then
15770
ac_cv_lib_dl_dlopen=yes
15772
echo "$as_me: failed program was:" >&5
15773
sed 's/^/| /' conftest.$ac_ext >&5
15775
ac_cv_lib_dl_dlopen=no
15778
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15779
conftest$ac_exeext conftest.$ac_ext
15780
LIBS=$ac_check_lib_save_LIBS
15782
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
15783
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
15784
if test $ac_cv_lib_dl_dlopen = yes; then
15785
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
15787
{ echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
15788
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
15789
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
15790
echo $ECHO_N "(cached) $ECHO_C" >&6
15792
ac_check_lib_save_LIBS=$LIBS
15793
LIBS="-lsvld $LIBS"
15794
cat >conftest.$ac_ext <<_ACEOF
15797
cat confdefs.h >>conftest.$ac_ext
15798
cat >>conftest.$ac_ext <<_ACEOF
15799
/* end confdefs.h. */
15801
/* Override any GCC internal prototype to avoid an error.
15802
Use char because int might match the return type of a GCC
15803
builtin and then its argument prototype would still apply. */
15816
rm -f conftest.$ac_objext conftest$ac_exeext
15817
if { (ac_try="$ac_link"
15818
case "(($ac_try" in
15819
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15820
*) ac_try_echo=$ac_try;;
15822
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15823
(eval "$ac_link") 2>conftest.er1
15825
grep -v '^ *+' conftest.er1 >conftest.err
15827
cat conftest.err >&5
15828
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15829
(exit $ac_status); } && {
15830
test -z "$ac_cxx_werror_flag" ||
15831
test ! -s conftest.err
15832
} && test -s conftest$ac_exeext &&
15833
$as_test_x conftest$ac_exeext; then
15834
ac_cv_lib_svld_dlopen=yes
15836
echo "$as_me: failed program was:" >&5
15837
sed 's/^/| /' conftest.$ac_ext >&5
15839
ac_cv_lib_svld_dlopen=no
15842
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15843
conftest$ac_exeext conftest.$ac_ext
15844
LIBS=$ac_check_lib_save_LIBS
15846
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
15847
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
15848
if test $ac_cv_lib_svld_dlopen = yes; then
15849
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
15851
{ echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
15852
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
15853
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
15854
echo $ECHO_N "(cached) $ECHO_C" >&6
15856
ac_check_lib_save_LIBS=$LIBS
15858
cat >conftest.$ac_ext <<_ACEOF
15861
cat confdefs.h >>conftest.$ac_ext
15862
cat >>conftest.$ac_ext <<_ACEOF
15863
/* end confdefs.h. */
15865
/* Override any GCC internal prototype to avoid an error.
15866
Use char because int might match the return type of a GCC
15867
builtin and then its argument prototype would still apply. */
15875
return dld_link ();
15880
rm -f conftest.$ac_objext conftest$ac_exeext
15881
if { (ac_try="$ac_link"
15882
case "(($ac_try" in
15883
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15884
*) ac_try_echo=$ac_try;;
15886
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15887
(eval "$ac_link") 2>conftest.er1
15889
grep -v '^ *+' conftest.er1 >conftest.err
15891
cat conftest.err >&5
15892
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15893
(exit $ac_status); } && {
15894
test -z "$ac_cxx_werror_flag" ||
15895
test ! -s conftest.err
15896
} && test -s conftest$ac_exeext &&
15897
$as_test_x conftest$ac_exeext; then
15898
ac_cv_lib_dld_dld_link=yes
15900
echo "$as_me: failed program was:" >&5
15901
sed 's/^/| /' conftest.$ac_ext >&5
15903
ac_cv_lib_dld_dld_link=no
15906
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15907
conftest$ac_exeext conftest.$ac_ext
15908
LIBS=$ac_check_lib_save_LIBS
15910
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
15911
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
15912
if test $ac_cv_lib_dld_dld_link = yes; then
15913
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
15934
if test "x$lt_cv_dlopen" != xno; then
15940
case $lt_cv_dlopen in
15942
save_CPPFLAGS="$CPPFLAGS"
15943
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
15945
save_LDFLAGS="$LDFLAGS"
15946
eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
15949
LIBS="$lt_cv_dlopen_libs $LIBS"
15951
{ echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
15952
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
15953
if test "${lt_cv_dlopen_self+set}" = set; then
15954
echo $ECHO_N "(cached) $ECHO_C" >&6
15956
if test "$cross_compiling" = yes; then :
15957
lt_cv_dlopen_self=cross
15959
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
15960
lt_status=$lt_dlunknown
15961
cat > conftest.$ac_ext <<EOF
15962
#line __oline__ "configure"
15963
#include "confdefs.h"
15972
# define LT_DLGLOBAL RTLD_GLOBAL
15975
# define LT_DLGLOBAL DL_GLOBAL
15977
# define LT_DLGLOBAL 0
15981
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
15982
find out it does not work in some platform. */
15983
#ifndef LT_DLLAZY_OR_NOW
15985
# define LT_DLLAZY_OR_NOW RTLD_LAZY
15988
# define LT_DLLAZY_OR_NOW DL_LAZY
15991
# define LT_DLLAZY_OR_NOW RTLD_NOW
15994
# define LT_DLLAZY_OR_NOW DL_NOW
15996
# define LT_DLLAZY_OR_NOW 0
16004
extern "C" void exit (int);
16007
void fnord() { int i=42;}
16010
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
16011
int status = $lt_dlunknown;
16015
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
16016
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
16017
/* dlclose (self); */
16023
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16024
(eval $ac_link) 2>&5
16026
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16027
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
16028
(./conftest; exit; ) 2>/dev/null
16030
case x$lt_status in
16031
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
16032
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
16033
x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
16036
# compilation failed
16037
lt_cv_dlopen_self=no
16044
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
16045
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
16047
if test "x$lt_cv_dlopen_self" = xyes; then
16048
LDFLAGS="$LDFLAGS $link_static_flag"
16049
{ echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
16050
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
16051
if test "${lt_cv_dlopen_self_static+set}" = set; then
16052
echo $ECHO_N "(cached) $ECHO_C" >&6
16054
if test "$cross_compiling" = yes; then :
16055
lt_cv_dlopen_self_static=cross
16057
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
16058
lt_status=$lt_dlunknown
16059
cat > conftest.$ac_ext <<EOF
16060
#line __oline__ "configure"
16061
#include "confdefs.h"
16070
# define LT_DLGLOBAL RTLD_GLOBAL
16073
# define LT_DLGLOBAL DL_GLOBAL
16075
# define LT_DLGLOBAL 0
16079
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
16080
find out it does not work in some platform. */
16081
#ifndef LT_DLLAZY_OR_NOW
16083
# define LT_DLLAZY_OR_NOW RTLD_LAZY
16086
# define LT_DLLAZY_OR_NOW DL_LAZY
16089
# define LT_DLLAZY_OR_NOW RTLD_NOW
16092
# define LT_DLLAZY_OR_NOW DL_NOW
16094
# define LT_DLLAZY_OR_NOW 0
16102
extern "C" void exit (int);
16105
void fnord() { int i=42;}
16108
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
16109
int status = $lt_dlunknown;
16113
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
16114
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
16115
/* dlclose (self); */
16121
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16122
(eval $ac_link) 2>&5
16124
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16125
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
16126
(./conftest; exit; ) 2>/dev/null
16128
case x$lt_status in
16129
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
16130
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
16131
x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
16134
# compilation failed
16135
lt_cv_dlopen_self_static=no
16142
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
16143
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
16146
CPPFLAGS="$save_CPPFLAGS"
16147
LDFLAGS="$save_LDFLAGS"
16152
case $lt_cv_dlopen_self in
16153
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
16154
*) enable_dlopen_self=unknown ;;
16157
case $lt_cv_dlopen_self_static in
16158
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
16159
*) enable_dlopen_self_static=unknown ;;
16164
# The else clause should only fire when bootstrapping the
16165
# libtool distribution, otherwise you forgot to ship ltmain.sh
16166
# with your package, and you will get complaints that there are
16167
# no rules to generate ltmain.sh.
16168
if test -f "$ltmain"; then
16169
# See if we are running on zsh, and set the options which allow our commands through
16170
# without removal of \ escapes.
16171
if test -n "${ZSH_VERSION+set}" ; then
16172
setopt NO_GLOB_SUBST
16174
# Now quote all the things that may contain metacharacters while being
16175
# careful not to overquote the AC_SUBSTed values. We take copies of the
16176
# variables and quote the copies for generation of the libtool script.
16177
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
16178
libname_spec library_names_spec soname_spec extract_expsyms_cmds \
16179
old_striplib striplib file_magic_cmd finish_cmds finish_eval \
16180
deplibs_check_method reload_flag reload_cmds need_locks \
16181
lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
16182
lt_cv_sys_global_symbol_to_c_name_address \
16183
sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
16184
old_postinstall_cmds old_postuninstall_cmds \
16188
lt_prog_compiler_wl_CXX \
16189
lt_prog_compiler_pic_CXX \
16190
lt_prog_compiler_static_CXX \
16191
lt_prog_compiler_no_builtin_flag_CXX \
16192
export_dynamic_flag_spec_CXX \
16193
thread_safe_flag_spec_CXX \
16194
whole_archive_flag_spec_CXX \
16195
enable_shared_with_static_runtimes_CXX \
16196
old_archive_cmds_CXX \
16197
old_archive_from_new_cmds_CXX \
16198
predep_objects_CXX \
16199
postdep_objects_CXX \
16202
compiler_lib_search_path_CXX \
16204
archive_expsym_cmds_CXX \
16205
postinstall_cmds_CXX \
16206
postuninstall_cmds_CXX \
16207
old_archive_from_expsyms_cmds_CXX \
16208
allow_undefined_flag_CXX \
16209
no_undefined_flag_CXX \
16210
export_symbols_cmds_CXX \
16211
hardcode_libdir_flag_spec_CXX \
16212
hardcode_libdir_flag_spec_ld_CXX \
16213
hardcode_libdir_separator_CXX \
16214
hardcode_automatic_CXX \
16216
module_expsym_cmds_CXX \
16217
lt_cv_prog_compiler_c_o_CXX \
16218
exclude_expsyms_CXX \
16219
include_expsyms_CXX; do
16222
old_archive_cmds_CXX | \
16223
old_archive_from_new_cmds_CXX | \
16224
archive_cmds_CXX | \
16225
archive_expsym_cmds_CXX | \
16226
module_cmds_CXX | \
16227
module_expsym_cmds_CXX | \
16228
old_archive_from_expsyms_cmds_CXX | \
16229
export_symbols_cmds_CXX | \
16230
extract_expsyms_cmds | reload_cmds | finish_cmds | \
16231
postinstall_cmds | postuninstall_cmds | \
16232
old_postinstall_cmds | old_postuninstall_cmds | \
16233
sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
16234
# Double-quote double-evaled strings.
16235
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
16238
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
16244
*'\$0 --fallback-echo"')
16245
lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
16251
cat <<__EOF__ >> "$cfgfile"
16252
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
16254
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16256
# Shell to use when invoking shell scripts.
16259
# Whether or not to build shared libraries.
16260
build_libtool_libs=$enable_shared
16262
# Whether or not to build static libraries.
16263
build_old_libs=$enable_static
16265
# Whether or not to add -lc for building shared libraries.
16266
build_libtool_need_lc=$archive_cmds_need_lc_CXX
16268
# Whether or not to disallow shared libs when runtime libs are static
16269
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
16271
# Whether or not to optimize for fast installation.
16272
fast_install=$enable_fast_install
16275
host_alias=$host_alias
16278
# An echo program that does not interpret backslashes.
16283
AR_FLAGS=$lt_AR_FLAGS
16288
# A language-specific compiler.
16289
CC=$lt_compiler_CXX
16291
# Is the compiler the GNU C compiler?
16297
# The linker used to build libraries.
16300
# Whether we need hard or soft links.
16303
# A BSD-compatible nm program.
16306
# A symbol stripping program
16309
# Used to examine libraries when file_magic_cmd begins "file"
16310
MAGIC_CMD=$MAGIC_CMD
16312
# Used on cygwin: DLL creation program.
16315
# Used on cygwin: object dumper.
16318
# Used on cygwin: assembler.
16321
# The name of the directory that contains temporary libtool files.
16324
# How to create reloadable object files.
16325
reload_flag=$lt_reload_flag
16326
reload_cmds=$lt_reload_cmds
16328
# How to pass a linker flag through the compiler.
16329
wl=$lt_lt_prog_compiler_wl_CXX
16331
# Object file suffix (normally "o").
16332
objext="$ac_objext"
16334
# Old archive suffix (normally "a").
16337
# Shared library suffix (normally ".so").
16340
# Executable file suffix (normally "").
16343
# Additional compiler flags for building library objects.
16344
pic_flag=$lt_lt_prog_compiler_pic_CXX
16347
# What is the maximum length of a command?
16348
max_cmd_len=$lt_cv_sys_max_cmd_len
16350
# Does compiler simultaneously support -c and -o options?
16351
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
16353
# Must we lock files when doing compilation ?
16354
need_locks=$lt_need_locks
16356
# Do we need the lib prefix for modules?
16357
need_lib_prefix=$need_lib_prefix
16359
# Do we need a version for libraries?
16360
need_version=$need_version
16362
# Whether dlopen is supported.
16363
dlopen_support=$enable_dlopen
16365
# Whether dlopen of programs is supported.
16366
dlopen_self=$enable_dlopen_self
16368
# Whether dlopen of statically linked programs is supported.
16369
dlopen_self_static=$enable_dlopen_self_static
16371
# Compiler flag to prevent dynamic linking.
16372
link_static_flag=$lt_lt_prog_compiler_static_CXX
16374
# Compiler flag to turn off builtin functions.
16375
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
16377
# Compiler flag to allow reflexive dlopens.
16378
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
16380
# Compiler flag to generate shared objects directly from archives.
16381
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
16383
# Compiler flag to generate thread-safe objects.
16384
thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
16386
# Library versioning type.
16387
version_type=$version_type
16389
# Format of library name prefix.
16390
libname_spec=$lt_libname_spec
16392
# List of archive names. First name is the real one, the rest are links.
16393
# The last name is the one that the linker finds with -lNAME.
16394
library_names_spec=$lt_library_names_spec
16396
# The coded name of the library, if different from the real name.
16397
soname_spec=$lt_soname_spec
16399
# Commands used to build and install an old-style archive.
16401
old_archive_cmds=$lt_old_archive_cmds_CXX
16402
old_postinstall_cmds=$lt_old_postinstall_cmds
16403
old_postuninstall_cmds=$lt_old_postuninstall_cmds
16405
# Create an old-style archive from a shared archive.
16406
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
16408
# Create a temporary old-style archive to link instead of a shared archive.
16409
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
16411
# Commands used to build and install a shared archive.
16412
archive_cmds=$lt_archive_cmds_CXX
16413
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
16414
postinstall_cmds=$lt_postinstall_cmds
16415
postuninstall_cmds=$lt_postuninstall_cmds
16417
# Commands used to build a loadable module (assumed same as above if empty)
16418
module_cmds=$lt_module_cmds_CXX
16419
module_expsym_cmds=$lt_module_expsym_cmds_CXX
16421
# Commands to strip libraries.
16422
old_striplib=$lt_old_striplib
16423
striplib=$lt_striplib
16425
# Dependencies to place before the objects being linked to create a
16427
predep_objects=$lt_predep_objects_CXX
16429
# Dependencies to place after the objects being linked to create a
16431
postdep_objects=$lt_postdep_objects_CXX
16433
# Dependencies to place before the objects being linked to create a
16435
predeps=$lt_predeps_CXX
16437
# Dependencies to place after the objects being linked to create a
16439
postdeps=$lt_postdeps_CXX
16441
# The library search path used internally by the compiler when linking
16442
# a shared library.
16443
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
16445
# Method to check whether dependent libraries are shared objects.
16446
deplibs_check_method=$lt_deplibs_check_method
16448
# Command to use when deplibs_check_method == file_magic.
16449
file_magic_cmd=$lt_file_magic_cmd
16451
# Flag that allows shared libraries with undefined symbols to be built.
16452
allow_undefined_flag=$lt_allow_undefined_flag_CXX
16454
# Flag that forces no undefined symbols.
16455
no_undefined_flag=$lt_no_undefined_flag_CXX
16457
# Commands used to finish a libtool library installation in a directory.
16458
finish_cmds=$lt_finish_cmds
16460
# Same as above, but a single script fragment to be evaled but not shown.
16461
finish_eval=$lt_finish_eval
16463
# Take the output of nm and produce a listing of raw symbols and C names.
16464
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16466
# Transform the output of nm in a proper C declaration
16467
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16469
# Transform the output of nm in a C name address pair
16470
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16472
# This is the shared library runtime path variable.
16473
runpath_var=$runpath_var
16475
# This is the shared library path variable.
16476
shlibpath_var=$shlibpath_var
16478
# Is shlibpath searched before the hard-coded library search path?
16479
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16481
# How to hardcode a shared library path into an executable.
16482
hardcode_action=$hardcode_action_CXX
16484
# Whether we should hardcode library paths into libraries.
16485
hardcode_into_libs=$hardcode_into_libs
16487
# Flag to hardcode \$libdir into a binary during linking.
16488
# This must work even if \$libdir does not exist.
16489
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
16491
# If ld is used when linking, flag to hardcode \$libdir into
16492
# a binary during linking. This must work even if \$libdir does
16494
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
16496
# Whether we need a single -rpath flag with a separated argument.
16497
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
16499
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16500
# resulting binary.
16501
hardcode_direct=$hardcode_direct_CXX
16503
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16504
# resulting binary.
16505
hardcode_minus_L=$hardcode_minus_L_CXX
16507
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16508
# the resulting binary.
16509
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
16511
# Set to yes if building a shared library automatically hardcodes DIR into the library
16512
# and all subsequent libraries and executables linked against it.
16513
hardcode_automatic=$hardcode_automatic_CXX
16515
# Variables whose values should be saved in libtool wrapper scripts and
16516
# restored at relink time.
16517
variables_saved_for_relink="$variables_saved_for_relink"
16519
# Whether libtool must link a program against all its dependency libraries.
16520
link_all_deplibs=$link_all_deplibs_CXX
16522
# Compile-time system search path for libraries
16523
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16525
# Run-time system search path for libraries
16526
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16528
# Fix the shell variable \$srcfile for the compiler.
16529
fix_srcfile_path="$fix_srcfile_path_CXX"
16531
# Set to yes if exported symbols are required.
16532
always_export_symbols=$always_export_symbols_CXX
16534
# The commands to list exported symbols.
16535
export_symbols_cmds=$lt_export_symbols_cmds_CXX
16537
# The commands to extract the exported symbol list from a shared archive.
16538
extract_expsyms_cmds=$lt_extract_expsyms_cmds
16540
# Symbols that should not be listed in the preloaded symbols.
16541
exclude_expsyms=$lt_exclude_expsyms_CXX
16543
# Symbols that must always be exported.
16544
include_expsyms=$lt_include_expsyms_CXX
16546
# ### END LIBTOOL TAG CONFIG: $tagname
16552
# If there is no Makefile yet, we rely on a make rule to execute
16553
# `config.status --recheck' to rerun these tests and create the
16554
# libtool script then.
16555
test -f Makefile && make "$ltmain"
16560
ac_cpp='$CPP $CPPFLAGS'
16561
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16562
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16563
ac_compiler_gnu=$ac_cv_c_compiler_gnu
16569
with_gnu_ldcxx=$with_gnu_ld
16570
with_gnu_ld=$lt_save_with_gnu_ld
16571
lt_cv_path_LDCXX=$lt_cv_path_LD
16572
lt_cv_path_LD=$lt_save_path_LD
16573
lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
16574
lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
16582
if test -n "$F77" && test "X$F77" != "Xno"; then
16585
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
16586
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16587
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
16590
archive_cmds_need_lc_F77=no
16591
allow_undefined_flag_F77=
16592
always_export_symbols_F77=no
16593
archive_expsym_cmds_F77=
16594
export_dynamic_flag_spec_F77=
16595
hardcode_direct_F77=no
16596
hardcode_libdir_flag_spec_F77=
16597
hardcode_libdir_flag_spec_ld_F77=
16598
hardcode_libdir_separator_F77=
16599
hardcode_minus_L_F77=no
16600
hardcode_automatic_F77=no
16602
module_expsym_cmds_F77=
16603
link_all_deplibs_F77=unknown
16604
old_archive_cmds_F77=$old_archive_cmds
16605
no_undefined_flag_F77=
16606
whole_archive_flag_spec_F77=
16607
enable_shared_with_static_runtimes_F77=no
16609
# Source file extension for f77 test sources.
16612
# Object file extension for compiled f77 test sources.
16616
# Code to be used in simple compile tests
16617
lt_simple_compile_test_code=" subroutine t\n return\n end\n"
16619
# Code to be used in simple link tests
16620
lt_simple_link_test_code=" program t\n end\n"
16622
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
16624
# If no C compiler was specified, use CC.
16627
# Allow CC to be a program name with arguments.
16631
# Allow CC to be a program name with arguments.
16636
cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
16638
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
16639
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
16640
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
16641
echo "${ECHO_T}$can_build_shared" >&6; }
16643
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
16644
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
16645
test "$can_build_shared" = "no" && enable_shared=no
16647
# On AIX, shared libraries and static libraries use the same namespace, and
16648
# are all built from PIC.
16651
test "$enable_shared" = yes && enable_static=no
16652
if test -n "$RANLIB"; then
16653
archive_cmds="$archive_cmds~\$RANLIB \$lib"
16654
postinstall_cmds='$RANLIB $lib'
16658
test "$enable_shared" = yes && enable_static=no
16661
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
16662
echo "${ECHO_T}$enable_shared" >&6; }
16664
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
16665
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
16666
# Make sure either enable_shared or enable_static is yes.
16667
test "$enable_shared" = yes || enable_static=yes
16668
{ echo "$as_me:$LINENO: result: $enable_static" >&5
16669
echo "${ECHO_T}$enable_static" >&6; }
16671
test "$ld_shlibs_F77" = no && can_build_shared=no
16676
lt_prog_compiler_wl_F77=
16677
lt_prog_compiler_pic_F77=
16678
lt_prog_compiler_static_F77=
16680
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16681
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
16683
if test "$GCC" = yes; then
16684
lt_prog_compiler_wl_F77='-Wl,'
16685
lt_prog_compiler_static_F77='-static'
16689
# All AIX code is PIC.
16690
if test "$host_cpu" = ia64; then
16691
# AIX 5 now supports IA64 processor
16692
lt_prog_compiler_static_F77='-Bstatic'
16697
# FIXME: we need at least 68020 code to build shared libraries, but
16698
# adding the `-m68020' flag to GCC prevents building anything better,
16700
lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
16703
beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16704
# PIC is the default for these OSes.
16707
mingw* | pw32* | os2*)
16708
# This hack is so that the source file can tell whether it is being
16709
# built for inclusion in a dll (and should export symbols for example).
16710
lt_prog_compiler_pic_F77='-DDLL_EXPORT'
16713
darwin* | rhapsody*)
16714
# PIC is the default on this platform
16715
# Common symbols not allowed in MH_DYLIB files
16716
lt_prog_compiler_pic_F77='-fno-common'
16720
# Just because we use GCC doesn't mean we suddenly get shared libraries
16721
# on systems that don't support them.
16722
lt_prog_compiler_can_build_shared_F77=no
16727
if test -d /usr/nec; then
16728
lt_prog_compiler_pic_F77=-Kconform_pic
16733
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16734
# not for PA HP-UX.
16735
case "$host_cpu" in
16740
lt_prog_compiler_pic_F77='-fPIC'
16746
lt_prog_compiler_pic_F77='-fPIC'
16750
# PORTME Check for flag to pass linker flags through the system compiler.
16753
lt_prog_compiler_wl_F77='-Wl,'
16754
if test "$host_cpu" = ia64; then
16755
# AIX 5 now supports IA64 processor
16756
lt_prog_compiler_static_F77='-Bstatic'
16758
lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
16762
mingw* | pw32* | os2*)
16763
# This hack is so that the source file can tell whether it is being
16764
# built for inclusion in a dll (and should export symbols for example).
16765
lt_prog_compiler_pic_F77='-DDLL_EXPORT'
16768
hpux9* | hpux10* | hpux11*)
16769
lt_prog_compiler_wl_F77='-Wl,'
16770
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16771
# not for PA HP-UX.
16772
case "$host_cpu" in
16777
lt_prog_compiler_pic_F77='+Z'
16780
# Is there a better lt_prog_compiler_static that works with the bundled CC?
16781
lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
16784
irix5* | irix6* | nonstopux*)
16785
lt_prog_compiler_wl_F77='-Wl,'
16786
# PIC (with -KPIC) is the default.
16787
lt_prog_compiler_static_F77='-non_shared'
16791
lt_prog_compiler_pic_F77='-KPIC'
16792
lt_prog_compiler_static_F77='-Bstatic'
16798
lt_prog_compiler_wl_F77='-Wl,'
16799
lt_prog_compiler_pic_F77='-KPIC'
16800
lt_prog_compiler_static_F77='-static'
16803
lt_prog_compiler_wl_F77='-Wl,'
16804
# All Alpha code is PIC.
16805
lt_prog_compiler_static_F77='-non_shared'
16810
osf3* | osf4* | osf5*)
16811
lt_prog_compiler_wl_F77='-Wl,'
16812
# All OSF/1 code is PIC.
16813
lt_prog_compiler_static_F77='-non_shared'
16817
lt_prog_compiler_pic_F77='-Kpic'
16818
lt_prog_compiler_static_F77='-dn'
16822
lt_prog_compiler_wl_F77='-Wl,'
16823
lt_prog_compiler_pic_F77='-KPIC'
16824
lt_prog_compiler_static_F77='-Bstatic'
16828
lt_prog_compiler_wl_F77='-Qoption ld '
16829
lt_prog_compiler_pic_F77='-PIC'
16830
lt_prog_compiler_static_F77='-Bstatic'
16833
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
16834
lt_prog_compiler_wl_F77='-Wl,'
16835
lt_prog_compiler_pic_F77='-KPIC'
16836
lt_prog_compiler_static_F77='-Bstatic'
16840
if test -d /usr/nec ;then
16841
lt_prog_compiler_pic_F77='-Kconform_pic'
16842
lt_prog_compiler_static_F77='-Bstatic'
16847
lt_prog_compiler_pic_F77='-pic'
16848
lt_prog_compiler_static_F77='-Bstatic'
16852
lt_prog_compiler_can_build_shared_F77=no
16857
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
16858
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
16861
# Check to make sure the PIC flag actually works.
16863
if test -n "$lt_prog_compiler_pic_F77"; then
16865
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
16866
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
16867
if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
16868
echo $ECHO_N "(cached) $ECHO_C" >&6
16870
lt_prog_compiler_pic_works_F77=no
16871
ac_outfile=conftest.$ac_objext
16872
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16873
lt_compiler_flag="$lt_prog_compiler_pic_F77"
16874
# Insert the option either (1) after the last *FLAGS variable, or
16875
# (2) before a word containing "conftest.", or (3) at the end.
16876
# Note that $ac_compile itself does not contain backslashes and begins
16877
# with a dollar sign (not a hyphen), so the echo should work correctly.
16878
# The option is referenced via a variable to avoid confusing sed.
16879
lt_compile=`echo "$ac_compile" | $SED \
16880
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
16881
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16882
-e 's:$: $lt_compiler_flag:'`
16883
(eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
16884
(eval "$lt_compile" 2>conftest.err)
16886
cat conftest.err >&5
16887
echo "$as_me:__oline__: \$? = $ac_status" >&5
16888
if (exit $ac_status) && test -s "$ac_outfile"; then
16889
# The compiler can only warn and ignore the option if not recognized
16890
# So say no if there are warnings
16891
if test ! -s conftest.err; then
16892
lt_prog_compiler_pic_works_F77=yes
16898
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
16899
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
16901
if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
16902
case $lt_prog_compiler_pic_F77 in
16904
*) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
16907
lt_prog_compiler_pic_F77=
16908
lt_prog_compiler_can_build_shared_F77=no
16913
# For platforms which do not support PIC, -DPIC is meaningless:
16915
lt_prog_compiler_pic_F77=
16918
lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
16922
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16923
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
16924
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
16925
echo $ECHO_N "(cached) $ECHO_C" >&6
16927
lt_cv_prog_compiler_c_o_F77=no
16928
$rm -r conftest 2>/dev/null
16932
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16934
# According to Tom Tromey, Ian Lance Taylor reported there are C compilers
16935
# that will create temporary files in the current directory regardless of
16936
# the output directory. Thus, making CWD read-only will cause this test
16937
# to fail, enabling locking or at least warning the user not to do parallel
16941
lt_compiler_flag="-o out/conftest2.$ac_objext"
16942
# Insert the option either (1) after the last *FLAGS variable, or
16943
# (2) before a word containing "conftest.", or (3) at the end.
16944
# Note that $ac_compile itself does not contain backslashes and begins
16945
# with a dollar sign (not a hyphen), so the echo should work correctly.
16946
lt_compile=`echo "$ac_compile" | $SED \
16947
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
16948
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16949
-e 's:$: $lt_compiler_flag:'`
16950
(eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
16951
(eval "$lt_compile" 2>out/conftest.err)
16953
cat out/conftest.err >&5
16954
echo "$as_me:__oline__: \$? = $ac_status" >&5
16955
if (exit $ac_status) && test -s out/conftest2.$ac_objext
16957
# The compiler can only warn and ignore the option if not recognized
16958
# So say no if there are warnings
16959
if test ! -s out/conftest.err; then
16960
lt_cv_prog_compiler_c_o_F77=yes
16964
$rm conftest* out/*
16971
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
16972
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
16975
hard_links="nottested"
16976
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
16977
# do not overwrite the value of need_locks provided by the user
16978
{ echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16979
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
16982
ln conftest.a conftest.b 2>/dev/null && hard_links=no
16984
ln conftest.a conftest.b 2>&5 || hard_links=no
16985
ln conftest.a conftest.b 2>/dev/null && hard_links=no
16986
{ echo "$as_me:$LINENO: result: $hard_links" >&5
16987
echo "${ECHO_T}$hard_links" >&6; }
16988
if test "$hard_links" = no; then
16989
{ echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16990
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16997
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16998
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
17001
allow_undefined_flag_F77=
17002
enable_shared_with_static_runtimes_F77=no
17004
archive_expsym_cmds_F77=
17005
old_archive_From_new_cmds_F77=
17006
old_archive_from_expsyms_cmds_F77=
17007
export_dynamic_flag_spec_F77=
17008
whole_archive_flag_spec_F77=
17009
thread_safe_flag_spec_F77=
17010
hardcode_libdir_flag_spec_F77=
17011
hardcode_libdir_flag_spec_ld_F77=
17012
hardcode_libdir_separator_F77=
17013
hardcode_direct_F77=no
17014
hardcode_minus_L_F77=no
17015
hardcode_shlibpath_var_F77=unsupported
17016
link_all_deplibs_F77=unknown
17017
hardcode_automatic_F77=no
17019
module_expsym_cmds_F77=
17020
always_export_symbols_F77=no
17021
export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17022
# include_expsyms should be a list of space-separated symbols to be *always*
17023
# included in the symbol list
17024
include_expsyms_F77=
17025
# exclude_expsyms can be an extended regexp of symbols to exclude
17026
# it will be wrapped by ` (' and `)$', so one must not match beginning or
17027
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
17028
# as well as any symbol that contains `d'.
17029
exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
17030
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
17031
# platforms (ab)use it in PIC code, but their linkers get confused if
17032
# the symbol is explicitly referenced. Since portable code cannot
17033
# rely on this symbol name, it's probably fine to never include it in
17034
# preloaded symbol tables.
17035
extract_expsyms_cmds=
17038
cygwin* | mingw* | pw32*)
17039
# FIXME: the MSVC++ port hasn't been tested in a loooong time
17040
# When not using gcc, we currently assume that we are using
17041
# Microsoft Visual C++.
17042
if test "$GCC" != yes; then
17052
if test "$with_gnu_ld" = yes; then
17053
# If archive_cmds runs LD, not CC, wlarc should be empty
17056
# See if GNU ld supports shared libraries.
17058
aix3* | aix4* | aix5*)
17059
# On AIX/PPC, the GNU linker is very broken
17060
if test "$host_cpu" != ia64; then
17064
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
17065
*** to be unable to reliably create shared libraries on AIX.
17066
*** Therefore, libtool is disabling shared libraries support. If you
17067
*** really care for shared libraries, you may want to modify your PATH
17068
*** so that a non-GNU linker is found, and then restart.
17075
archive_cmds_F77='$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)'
17076
hardcode_libdir_flag_spec_F77='-L$libdir'
17077
hardcode_minus_L_F77=yes
17079
# Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
17080
# that the semantics of dynamic libraries on AmigaOS, at least up
17081
# to version 4, is to share data among multiple programs linked
17082
# with the same dynamic library. Since this doesn't match the
17083
# behavior of shared libraries on other platforms, we can't use
17089
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17090
allow_undefined_flag_F77=unsupported
17091
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17092
# support --undefined. This deserves some investigation. FIXME
17093
archive_cmds_F77='$CC -nostart $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
17099
cygwin* | mingw* | pw32*)
17100
# _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
17101
# as there is no search path for DLLs.
17102
hardcode_libdir_flag_spec_F77='-L$libdir'
17103
allow_undefined_flag_F77=no
17104
always_export_symbols_F77=no
17105
enable_shared_with_static_runtimes_F77=yes
17106
export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
17108
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
17109
archive_cmds_F77='$CC -shared $compiler_flags $libobjs $deplibs -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
17110
# If the export-symbols file already is a .def file (1st line
17111
# is EXPORTS), use it as is; otherwise, prepend...
17112
archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17113
cp $export_symbols $output_objdir/$soname.def;
17115
echo EXPORTS > $output_objdir/$soname.def;
17116
cat $export_symbols >> $output_objdir/$soname.def;
17118
$CC -shared $output_objdir/$soname.def $compiler_flags $libobjs $deplibs -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
17125
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17126
archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17129
archive_cmds_F77='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
17130
archive_expsym_cmds_F77='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17135
if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
17139
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
17140
*** create shared libraries on Solaris systems. Therefore, libtool
17141
*** is disabling shared libraries support. We urge you to upgrade GNU
17142
*** binutils to release 2.9.1 or newer. Another option is to modify
17143
*** your PATH or compiler configuration so that the native linker is
17144
*** used, and then restart.
17147
elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17148
archive_cmds_F77='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
17149
archive_expsym_cmds_F77='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17156
archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17158
hardcode_direct_F77=yes
17159
hardcode_shlibpath_var_F77=no
17163
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17164
archive_cmds_F77='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
17165
archive_expsym_cmds_F77='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17172
if test "$ld_shlibs_F77" = yes; then
17173
runpath_var=LD_RUN_PATH
17174
hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
17175
export_dynamic_flag_spec_F77='${wl}--export-dynamic'
17176
# ancient GNU ld didn't support --whole-archive et. al.
17177
if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
17178
whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17180
whole_archive_flag_spec_F77=
17184
# PORTME fill in a description of your system's linker (not GNU ld)
17187
allow_undefined_flag_F77=unsupported
17188
always_export_symbols_F77=yes
17189
archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
17190
# Note: this linker hardcodes the directories in LIBPATH if there
17191
# are no directories specified by -L.
17192
hardcode_minus_L_F77=yes
17193
if test "$GCC" = yes && test -z "$link_static_flag"; then
17194
# Neither direct hardcoding nor static linking is supported with a
17196
hardcode_direct_F77=unsupported
17201
if test "$host_cpu" = ia64; then
17202
# On IA64, the linker does run time linking by default, so we don't
17203
# have to do anything special.
17204
aix_use_runtimelinking=no
17205
exp_sym_flag='-Bexport'
17208
# If we're using GNU nm, then we don't want the "-C" option.
17209
# -C means demangle to AIX nm, but means don't demangle with GNU nm
17210
if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
17211
export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
17213
export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
17216
# KDE requires run time linking. Make it the default.
17217
aix_use_runtimelinking=yes
17218
exp_sym_flag='-bexport'
17219
no_entry_flag='-bnoentry'
17222
# When large executables or shared objects are built, AIX ld can
17223
# have problems creating the table of contents. If linking a library
17224
# or program results in "error TOC overflow" add -mminimal-toc to
17225
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
17226
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17228
archive_cmds_F77=''
17229
hardcode_direct_F77=yes
17230
hardcode_libdir_separator_F77=':'
17231
link_all_deplibs_F77=yes
17233
if test "$GCC" = yes; then
17234
case $host_os in aix4.012|aix4.012.*)
17235
# We only want to do this on AIX 4.2 and lower, the check
17236
# below for broken collect2 doesn't work under 4.3+
17237
collect2name=`${CC} -print-prog-name=collect2`
17238
if test -f "$collect2name" && \
17239
strings "$collect2name" | grep resolve_lib_name >/dev/null
17241
# We have reworked collect2
17242
hardcode_direct_F77=yes
17244
# We have old collect2
17245
hardcode_direct_F77=unsupported
17246
# It fails to find uninstalled libraries when the uninstalled
17247
# path is not listed in the libpath. Setting hardcode_minus_L
17248
# to unsupported forces relinking
17249
hardcode_minus_L_F77=yes
17250
hardcode_libdir_flag_spec_F77='-L$libdir'
17251
hardcode_libdir_separator_F77=
17254
shared_flag='-shared'
17257
if test "$host_cpu" = ia64; then
17258
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17259
# chokes on -Wl,-G. The following line is correct:
17262
if test "$aix_use_runtimelinking" = yes; then
17263
shared_flag='-qmkshrobj ${wl}-G'
17265
shared_flag='-qmkshrobj'
17270
# Let the compiler handle the export list.
17271
always_export_symbols_F77=no
17272
if test "$aix_use_runtimelinking" = yes; then
17273
# Warning - without using the other runtime loading flags (-brtl),
17274
# -berok will link without error, but may produce a broken library.
17275
allow_undefined_flag_F77='-berok'
17276
# Determine the default libpath from the value encoded in an empty executable.
17277
cat >conftest.$ac_ext <<_ACEOF
17282
rm -f conftest.$ac_objext conftest$ac_exeext
17283
if { (ac_try="$ac_link"
17284
case "(($ac_try" in
17285
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17286
*) ac_try_echo=$ac_try;;
17288
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17289
(eval "$ac_link") 2>conftest.er1
17291
grep -v '^ *+' conftest.er1 >conftest.err
17293
cat conftest.err >&5
17294
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17295
(exit $ac_status); } && {
17296
test -z "$ac_f77_werror_flag" ||
17297
test ! -s conftest.err
17298
} && test -s conftest$ac_exeext &&
17299
$as_test_x conftest$ac_exeext; then
17301
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17303
# Check for a 64-bit object if we didn't find anything.
17304
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17307
echo "$as_me: failed program was:" >&5
17308
sed 's/^/| /' conftest.$ac_ext >&5
17313
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17314
conftest$ac_exeext conftest.$ac_ext
17315
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17317
hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
17318
archive_cmds_F77="\$CC"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '" $shared_flag"
17319
archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
17321
if test "$host_cpu" = ia64; then
17322
hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
17323
allow_undefined_flag_F77="-z nodefs"
17324
archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
17326
# Determine the default libpath from the value encoded in an empty executable.
17327
cat >conftest.$ac_ext <<_ACEOF
17332
rm -f conftest.$ac_objext conftest$ac_exeext
17333
if { (ac_try="$ac_link"
17334
case "(($ac_try" in
17335
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17336
*) ac_try_echo=$ac_try;;
17338
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17339
(eval "$ac_link") 2>conftest.er1
17341
grep -v '^ *+' conftest.er1 >conftest.err
17343
cat conftest.err >&5
17344
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17345
(exit $ac_status); } && {
17346
test -z "$ac_f77_werror_flag" ||
17347
test ! -s conftest.err
17348
} && test -s conftest$ac_exeext &&
17349
$as_test_x conftest$ac_exeext; then
17351
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17353
# Check for a 64-bit object if we didn't find anything.
17354
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17357
echo "$as_me: failed program was:" >&5
17358
sed 's/^/| /' conftest.$ac_ext >&5
17363
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17364
conftest$ac_exeext conftest.$ac_ext
17365
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17367
hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
17368
# Warning - without using the other run time loading flags,
17369
# -berok will link without error, but may produce a broken library.
17370
no_undefined_flag_F77=' ${wl}-bernotok'
17371
allow_undefined_flag_F77=' ${wl}-berok'
17372
# -bexpall does not export symbols beginning with underscore (_)
17373
always_export_symbols_F77=yes
17374
# Exported symbols can be pulled into shared objects from archives
17375
whole_archive_flag_spec_F77=' '
17376
archive_cmds_need_lc_F77=yes
17377
# This is similar to how AIX traditionally builds it's shared libraries.
17378
archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
17384
archive_cmds_F77='$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)'
17385
hardcode_libdir_flag_spec_F77='-L$libdir'
17386
hardcode_minus_L_F77=yes
17387
# see comment about different semantics on the GNU ld section
17392
export_dynamic_flag_spec_F77=-rdynamic
17395
cygwin* | mingw* | pw32*)
17396
# When not using gcc, we currently assume that we are using
17397
# Microsoft Visual C++.
17398
# hardcode_libdir_flag_spec is actually meaningless, as there is
17399
# no search path for DLLs.
17400
hardcode_libdir_flag_spec_F77=' '
17401
allow_undefined_flag_F77=no
17402
# Tell ltmain to make .lib files, not .a files.
17404
# Tell ltmain to make .dll files, not .so files.
17406
# FIXME: Setting linknames here is a bad hack.
17407
archive_cmds_F77='$CC -o $lib $compiler_flags $libobjs `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17408
# The linker will automatically build a .lib file if we build a DLL.
17409
old_archive_From_new_cmds_F77='true'
17410
# FIXME: Should let the user specify the lib program.
17411
old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
17412
fix_srcfile_path='`cygpath -w "$srcfile"`'
17413
enable_shared_with_static_runtimes_F77=yes
17416
darwin* | rhapsody*)
17417
if test "$GXX" = yes ; then
17418
archive_cmds_need_lc_F77=no
17420
rhapsody* | darwin1.[012])
17421
allow_undefined_flag_F77='-Wl,-undefined -Wl,suppress'
17424
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17425
allow_undefined_flag='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
17427
case ${MACOSX_DEPLOYMENT_TARGET} in
17429
allow_undefined_flag='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
17432
allow_undefined_flag='-Wl,-undefined -Wl,dynamic_lookup'
17438
lt_int_apple_cc_single_mod=no
17439
output_verbose_link_cmd='echo'
17440
if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
17441
lt_int_apple_cc_single_mod=yes
17443
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
17444
archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring'
17446
archive_cmds_F77='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $compiler_flags $deplibs -install_name $rpath/$soname $verstring'
17448
module_cmds_F77='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs'
17449
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
17450
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
17451
archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17453
archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $compiler_flags $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17455
module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17456
hardcode_direct_F77=no
17457
hardcode_automatic_F77=yes
17458
hardcode_shlibpath_var_F77=unsupported
17459
whole_archive_flag_spec_F77='-all_load $convenience'
17460
link_all_deplibs_F77=yes
17467
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17468
hardcode_libdir_flag_spec_F77='-L$libdir'
17469
hardcode_shlibpath_var_F77=no
17476
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17477
# support. Future versions do this automatically, but an explicit c++rt0.o
17478
# does not break anything, and helps significantly (at the cost of a little
17481
archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17482
hardcode_libdir_flag_spec_F77='-R$libdir'
17483
hardcode_direct_F77=yes
17484
hardcode_shlibpath_var_F77=no
17487
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
17489
archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17490
hardcode_direct_F77=yes
17491
hardcode_minus_L_F77=yes
17492
hardcode_shlibpath_var_F77=no
17495
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17497
archive_cmds_F77='$CC -shared -o $lib $compiler_flags $libobjs $deplibs'
17498
hardcode_libdir_flag_spec_F77='-R$libdir'
17499
hardcode_direct_F77=yes
17500
hardcode_shlibpath_var_F77=no
17504
if test "$GCC" = yes; then
17505
archive_cmds_F77='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $compiler_flags $libobjs $deplibs~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
17507
archive_cmds_F77='$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'
17509
hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
17510
hardcode_libdir_separator_F77=:
17511
hardcode_direct_F77=yes
17513
# hardcode_minus_L: Not really in the search PATH,
17514
# but as the default location of the library.
17515
hardcode_minus_L_F77=yes
17516
export_dynamic_flag_spec_F77='${wl}-E'
17520
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
17521
case "$host_cpu" in
17523
archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
17526
archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $compiler_flags $libobjs $deplibs'
17530
case "$host_cpu" in
17532
archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
17535
archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17539
if test "$with_gnu_ld" = no; then
17540
case "$host_cpu" in
17542
hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
17543
hardcode_libdir_flag_spec_ld_F77='+b $libdir'
17544
hardcode_libdir_separator_F77=:
17545
hardcode_direct_F77=no
17546
hardcode_shlibpath_var_F77=no
17549
hardcode_libdir_flag_spec_F77='-L$libdir'
17550
hardcode_direct_F77=no
17551
hardcode_shlibpath_var_F77=no
17553
# hardcode_minus_L: Not really in the search PATH,
17554
# but as the default location of the library.
17555
hardcode_minus_L_F77=yes
17558
hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
17559
hardcode_libdir_separator_F77=:
17560
hardcode_direct_F77=yes
17561
export_dynamic_flag_spec_F77='${wl}-E'
17563
# hardcode_minus_L: Not really in the search PATH,
17564
# but as the default location of the library.
17565
hardcode_minus_L_F77=yes
17571
irix5* | irix6* | nonstopux*)
17572
if test "$GCC" = yes; then
17573
archive_cmds_F77='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17575
archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
17576
hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
17578
hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
17579
hardcode_libdir_separator_F77=:
17580
link_all_deplibs_F77=yes
17584
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17585
archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
17587
archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
17589
hardcode_libdir_flag_spec_F77='-R$libdir'
17590
hardcode_direct_F77=yes
17591
hardcode_shlibpath_var_F77=no
17595
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17596
hardcode_direct_F77=yes
17597
hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
17598
hardcode_libdir_separator_F77=:
17599
hardcode_shlibpath_var_F77=no
17603
hardcode_direct_F77=yes
17604
hardcode_shlibpath_var_F77=no
17605
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17606
archive_cmds_F77='$CC -shared $pic_flag -o $lib $compiler_flags $libobjs $deplibs'
17607
hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
17608
export_dynamic_flag_spec_F77='${wl}-E'
17611
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
17612
archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17613
hardcode_libdir_flag_spec_F77='-R$libdir'
17616
archive_cmds_F77='$CC -shared $pic_flag -o $lib $compiler_flags $libobjs $deplibs'
17617
hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
17624
hardcode_libdir_flag_spec_F77='-L$libdir'
17625
hardcode_minus_L_F77=yes
17626
allow_undefined_flag_F77=unsupported
17627
archive_cmds_F77='$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 $compiler_flags $libobjs $deplibs$output_objdir/$libname.def'
17628
old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17632
if test "$GCC" = yes; then
17633
allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
17634
archive_cmds_F77='$CC -shared${allow_undefined_flag} $compiler_flags $libobjs $deplibs ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17636
allow_undefined_flag_F77=' -expect_unresolved \*'
17637
archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
17639
hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
17640
hardcode_libdir_separator_F77=:
17643
osf4* | osf5*) # as osf3* with the addition of -msym flag
17644
if test "$GCC" = yes; then
17645
allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
17646
archive_cmds_F77='$CC -shared${allow_undefined_flag} $compiler_flags $libobjs $deplibs ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17647
hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
17649
allow_undefined_flag_F77=' -expect_unresolved \*'
17650
archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
17651
archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
17652
$LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
17654
# Both c and cxx compiler support -rpath directly
17655
hardcode_libdir_flag_spec_F77='-rpath $libdir'
17657
hardcode_libdir_separator_F77=:
17661
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17662
hardcode_shlibpath_var_F77=no
17663
export_dynamic_flag_spec_F77='${wl}-Bexport'
17664
runpath_var=LD_RUN_PATH
17665
hardcode_runpath_var=yes
17669
no_undefined_flag_F77=' -z text'
17670
if test "$GCC" = yes; then
17671
archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
17672
archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17673
$CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs~$rm $lib.exp'
17675
archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17676
archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17677
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17679
hardcode_libdir_flag_spec_F77='-R$libdir'
17680
hardcode_shlibpath_var_F77=no
17682
solaris2.[0-5] | solaris2.[0-5].*) ;;
17683
*) # Supported since Solaris 2.6 (maybe 2.5.1?)
17684
whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
17686
link_all_deplibs_F77=yes
17690
if test "x$host_vendor" = xsequent; then
17691
# Use $CC to link under sequent, because it throws in some extra .o
17692
# files that make .init and .fini sections work.
17693
archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $compiler_flags $libobjs $deplibs'
17695
archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17697
hardcode_libdir_flag_spec_F77='-L$libdir'
17698
hardcode_direct_F77=yes
17699
hardcode_minus_L_F77=yes
17700
hardcode_shlibpath_var_F77=no
17704
case $host_vendor in
17706
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17707
hardcode_direct_F77=yes # is this really true???
17710
## LD is ld it makes a PLAMLIB
17711
## CC just makes a GrossModule.
17712
archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17713
reload_cmds_F77='$CC -r -o $output$reload_objs'
17714
hardcode_direct_F77=no
17717
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17718
hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
17721
runpath_var='LD_RUN_PATH'
17722
hardcode_shlibpath_var_F77=no
17726
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17727
hardcode_shlibpath_var_F77=no
17728
export_dynamic_flag_spec_F77='-Bexport'
17732
if test -d /usr/nec; then
17733
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17734
hardcode_shlibpath_var_F77=no
17735
runpath_var=LD_RUN_PATH
17736
hardcode_runpath_var=yes
17742
archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17743
hardcode_direct_F77=yes
17744
hardcode_minus_L_F77=no
17745
hardcode_shlibpath_var_F77=no
17746
hardcode_runpath_var=yes
17747
runpath_var=LD_RUN_PATH
17750
sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
17751
no_undefined_flag_F77='${wl}-z ${wl}text'
17752
if test "$GCC" = yes; then
17753
archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
17755
archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
17757
runpath_var='LD_RUN_PATH'
17758
hardcode_shlibpath_var_F77=no
17762
no_undefined_flag_F77=' -z text'
17763
# $CC -shared without GNU ld will not create a library from C++
17764
# object files and a static libstdc++, better avoid it by now
17765
archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17766
archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17767
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17768
hardcode_libdir_flag_spec_F77=
17769
hardcode_shlibpath_var_F77=no
17770
runpath_var='LD_RUN_PATH'
17774
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17775
hardcode_libdir_flag_spec_F77='-L$libdir'
17776
hardcode_shlibpath_var_F77=no
17785
{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
17786
echo "${ECHO_T}$ld_shlibs_F77" >&6; }
17787
test "$ld_shlibs_F77" = no && can_build_shared=no
17789
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17790
if test "$GCC" = yes; then
17791
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17795
# Do we need to explicitly link libc?
17797
case "x$archive_cmds_need_lc_F77" in
17799
# Assume -lc should be added
17800
archive_cmds_need_lc_F77=yes
17802
if test "$enable_shared" = yes && test "$GCC" = yes; then
17803
case $archive_cmds_F77 in
17805
# FIXME: we may have to deal with multi-command sequences.
17808
# Test whether the compiler implicitly links with -lc since on some
17809
# systems, -lgcc has to come before -lc. If gcc already passes -lc
17810
# to ld, don't add -lc before -lgcc.
17811
{ echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17812
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
17814
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
17816
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17817
(eval $ac_compile) 2>&5
17819
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17820
(exit $ac_status); } 2>conftest.err; then
17823
libobjs=conftest.$ac_objext
17825
wl=$lt_prog_compiler_wl_F77
17831
lt_save_allow_undefined_flag=$allow_undefined_flag_F77
17832
allow_undefined_flag_F77=
17833
if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
17834
(eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
17836
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17837
(exit $ac_status); }
17839
archive_cmds_need_lc_F77=no
17841
archive_cmds_need_lc_F77=yes
17843
allow_undefined_flag_F77=$lt_save_allow_undefined_flag
17845
cat conftest.err 1>&5
17848
{ echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
17849
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
17856
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17857
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
17858
library_names_spec=
17859
libname_spec='lib$name'
17863
postuninstall_cmds=
17867
shlibpath_overrides_runpath=unknown
17869
dynamic_linker="$host_os ld.so"
17870
sys_lib_dlsearch_path_spec="/lib /usr/lib"
17871
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
17872
need_lib_prefix=unknown
17873
hardcode_into_libs=no
17875
# when you set need_version to no, make sure it does not cause -set_version
17876
# flags to be left without arguments
17877
need_version=unknown
17882
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
17883
shlibpath_var=LIBPATH
17885
# AIX 3 has no versioning support, so we append a major version to the name.
17886
soname_spec='${libname}${release}${shared_ext}$major'
17893
hardcode_into_libs=yes
17894
if test "$host_cpu" = ia64; then
17895
# AIX 5 supports IA64
17896
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17897
shlibpath_var=LD_LIBRARY_PATH
17899
# With GCC up to 2.95.x, collect2 would create an import file
17900
# for dependence libraries. The import file would start with
17901
# the line `#! .'. This would cause the generated library to
17902
# depend on `.', always an invalid library. This was fixed in
17903
# development snapshots of GCC prior to 3.0.
17905
aix4 | aix4.[01] | aix4.[01].*)
17906
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17908
echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
17911
can_build_shared=no
17915
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17916
# soname into executable. Probably we can add versioning support to
17917
# collect2, so additional links can be useful in future.
17918
if test "$aix_use_runtimelinking" = yes; then
17919
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
17920
# instead of lib<name>.a to let people know that these are not
17921
# typical AIX shared libraries.
17922
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17924
# We preserve .a as extension for shared libraries through AIX4.2
17925
# and later when we are not doing run time linking.
17926
library_names_spec='${libname}${release}.a $libname.a'
17927
soname_spec='${libname}${release}${shared_ext}$major'
17929
shlibpath_var=LIBPATH
17934
library_names_spec='$libname.ixlibrary $libname.a'
17935
# Create ${libname}_ixlibrary.a entries in /sys/libs.
17936
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'
17940
library_names_spec='${libname}${shared_ext}'
17941
dynamic_linker="$host_os ld.so"
17942
shlibpath_var=LIBRARY_PATH
17948
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17949
soname_spec='${libname}${release}${shared_ext}$major'
17950
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
17951
shlibpath_var=LD_LIBRARY_PATH
17952
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17953
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
17954
# the default ld.so.conf also contains /usr/contrib/lib and
17955
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17956
# libtool to hard-code these into programs
17959
cygwin* | mingw* | pw32*)
17960
version_type=windows
17965
case $GCC,$host_os in
17966
yes,cygwin* | yes,mingw* | yes,pw32*)
17967
library_names_spec='$libname.dll.a'
17968
# DLL is installed to $(libdir)/../bin by postinstall_cmds
17969
postinstall_cmds='base_file=`basename \${file}`~
17970
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
17971
dldir=$destdir/`dirname \$dlpath`~
17972
test -d \$dldir || mkdir -p \$dldir~
17973
$install_prog $dir/$dlname \$dldir/$dlname'
17974
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17975
dlpath=$dir/\$dldll~
17977
shlibpath_overrides_runpath=yes
17981
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
17982
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17983
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
17986
# MinGW DLLs use traditional 'lib' prefix
17987
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17988
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17989
if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
17990
# It is most probably a Windows format PATH printed by
17991
# mingw gcc, but we are running on Cygwin. Gcc prints its search
17992
# path with ; separators, and with drive letters. We can handle the
17993
# drive letters (cygwin fileutils understands them), so leave them,
17994
# especially as we might pass files found there to a mingw objdump,
17995
# which wouldn't understand a cygwinified path. Ahh.
17996
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17998
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18002
# pw32 DLLs use 'pw' prefix rather than 'lib'
18003
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
18009
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18012
dynamic_linker='Win32 ld.exe'
18013
# FIXME: first we should search . and the directory the executable is in
18017
darwin* | rhapsody*)
18018
dynamic_linker="$host_os dyld"
18019
version_type=darwin
18022
library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18023
soname_spec='${libname}${release}${major}$shared_ext'
18024
shlibpath_overrides_runpath=yes
18025
shlibpath_var=DYLD_LIBRARY_PATH
18026
shrext='$(test .$module = .yes && echo .so || echo .dylib)'
18027
# Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
18028
if test "$GCC" = yes; then
18029
sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
18031
sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
18033
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
18040
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18041
soname_spec='${libname}${release}${shared_ext}$major'
18042
shlibpath_var=LD_LIBRARY_PATH
18053
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18054
soname_spec='${libname}${release}${shared_ext}$major'
18055
shlibpath_var=LD_LIBRARY_PATH
18056
shlibpath_overrides_runpath=no
18057
hardcode_into_libs=yes
18058
dynamic_linker='GNU ld.so'
18062
objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
18063
version_type=freebsd-$objformat
18064
case $version_type in
18066
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18071
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18075
shlibpath_var=LD_LIBRARY_PATH
18078
shlibpath_overrides_runpath=yes
18080
freebsd3.01* | freebsdelf3.01*)
18081
shlibpath_overrides_runpath=yes
18082
hardcode_into_libs=yes
18085
shlibpath_overrides_runpath=no
18086
hardcode_into_libs=yes
18095
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18096
soname_spec='${libname}${release}${shared_ext}$major'
18097
shlibpath_var=LD_LIBRARY_PATH
18098
hardcode_into_libs=yes
18101
hpux9* | hpux10* | hpux11*)
18102
# Give a soname corresponding to the major version so that dld.sl refuses to
18103
# link against other versions.
18107
case "$host_cpu" in
18110
hardcode_into_libs=yes
18111
dynamic_linker="$host_os dld.so"
18112
shlibpath_var=LD_LIBRARY_PATH
18113
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18114
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18115
soname_spec='${libname}${release}${shared_ext}$major'
18116
if test "X$HPUX_IA64_MODE" = X32; then
18117
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18119
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
18121
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18125
hardcode_into_libs=yes
18126
dynamic_linker="$host_os dld.sl"
18127
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
18128
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18129
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18130
soname_spec='${libname}${release}${shared_ext}$major'
18131
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18132
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18136
dynamic_linker="$host_os dld.sl"
18137
shlibpath_var=SHLIB_PATH
18138
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
18139
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18140
soname_spec='${libname}${release}${shared_ext}$major'
18143
# HP-UX runs *really* slowly unless shared libraries are mode 555.
18144
postinstall_cmds='chmod 555 $lib'
18147
irix5* | irix6* | nonstopux*)
18149
nonstopux*) version_type=nonstopux ;;
18151
if test "$lt_cv_prog_gnu_ld" = yes; then
18159
soname_spec='${libname}${release}${shared_ext}$major'
18160
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18162
irix5* | nonstopux*)
18163
libsuff= shlibsuff=
18166
case $LD in # libtool.m4 will add one of these switches to LD
18167
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
18168
libsuff= shlibsuff= libmagic=32-bit;;
18169
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
18170
libsuff=32 shlibsuff=N32 libmagic=N32;;
18171
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
18172
libsuff=64 shlibsuff=64 libmagic=64-bit;;
18173
*) libsuff= shlibsuff= libmagic=never-match;;
18177
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
18178
shlibpath_overrides_runpath=no
18179
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18180
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
18181
hardcode_into_libs=yes
18184
# No shared lib support for Linux oldld, aout, or coff.
18185
linux*oldld* | linux*aout* | linux*coff*)
18189
# This must be Linux ELF.
18194
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18195
soname_spec='${libname}${release}${shared_ext}$major'
18196
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18198
if test "x$LINUX_64_MODE" = x64; then
18199
# Some platforms are per default 64-bit, so there's no /lib64
18200
if test -d /lib64; then
18204
shlibpath_var=LD_LIBRARY_PATH
18205
shlibpath_overrides_runpath=no
18206
sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
18207
sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
18208
# This implies no fast_install, which is unacceptable.
18209
# Some rework will be needed to allow for fast_install
18210
# before this can be enabled.
18211
hardcode_into_libs=yes
18213
# We used to test for /lib/ld.so.1 and disable shared libraries on
18214
# powerpc, because MkLinux only supported shared libraries with the
18215
# GNU dynamic linker. Since this was broken with cross compilers,
18216
# most powerpc-linux boxes support dynamic linking these days and
18217
# people can always --disable-shared, the test was removed, and we
18218
# assume the GNU/Linux dynamic linker is in use.
18219
dynamic_linker='GNU/Linux ld.so'
18226
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18227
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18228
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18229
dynamic_linker='NetBSD (a.out) ld.so'
18231
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
18232
soname_spec='${libname}${release}${shared_ext}$major'
18233
dynamic_linker='NetBSD ld.elf_so'
18235
shlibpath_var=LD_LIBRARY_PATH
18236
shlibpath_overrides_runpath=yes
18237
hardcode_into_libs=yes
18242
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18243
shlibpath_var=LD_LIBRARY_PATH
18244
shlibpath_overrides_runpath=yes
18251
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18252
soname_spec='${libname}${release}${shared_ext}$major'
18253
shlibpath_var=LD_LIBRARY_PATH
18254
shlibpath_overrides_runpath=yes
18261
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18262
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18263
shlibpath_var=LD_LIBRARY_PATH
18264
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18266
openbsd2.[89] | openbsd2.[89].*)
18267
shlibpath_overrides_runpath=no
18270
shlibpath_overrides_runpath=yes
18274
shlibpath_overrides_runpath=yes
18279
libname_spec='$name'
18282
library_names_spec='$libname${shared_ext} $libname.a'
18283
dynamic_linker='OS/2 ld.exe'
18284
shlibpath_var=LIBPATH
18287
osf3* | osf4* | osf5*)
18291
soname_spec='${libname}${release}${shared_ext}$major'
18292
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18293
shlibpath_var=LD_LIBRARY_PATH
18294
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18295
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
18300
soname_spec='${libname}${release}${shared_ext}$major'
18301
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18302
shlibpath_var=LD_LIBRARY_PATH
18309
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18310
soname_spec='${libname}${release}${shared_ext}$major'
18311
shlibpath_var=LD_LIBRARY_PATH
18312
shlibpath_overrides_runpath=yes
18313
hardcode_into_libs=yes
18314
# ldd complains unless libraries are executable
18315
postinstall_cmds='chmod +x $lib'
18320
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18321
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18322
shlibpath_var=LD_LIBRARY_PATH
18323
shlibpath_overrides_runpath=yes
18324
if test "$with_gnu_ld" = yes; then
18330
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
18332
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18333
soname_spec='${libname}${release}${shared_ext}$major'
18334
shlibpath_var=LD_LIBRARY_PATH
18335
case $host_vendor in
18337
shlibpath_overrides_runpath=no
18339
export_dynamic_flag_spec='${wl}-Blargedynsym'
18340
runpath_var=LD_RUN_PATH
18348
shlibpath_overrides_runpath=no
18349
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
18355
if test -d /usr/nec ;then
18357
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18358
soname_spec='$libname${shared_ext}.$major'
18359
shlibpath_var=LD_LIBRARY_PATH
18365
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18366
soname_spec='${libname}${release}${shared_ext}$major'
18367
shlibpath_var=LD_LIBRARY_PATH
18374
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18375
echo "${ECHO_T}$dynamic_linker" >&6; }
18376
test "$dynamic_linker" = no && can_build_shared=no
18378
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18379
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
18380
hardcode_action_F77=
18381
if test -n "$hardcode_libdir_flag_spec_F77" || \
18382
test -n "$runpath_var F77" || \
18383
test "X$hardcode_automatic_F77"="Xyes" ; then
18385
# We can hardcode non-existant directories.
18386
if test "$hardcode_direct_F77" != no &&
18387
# If the only mechanism to avoid hardcoding is shlibpath_var, we
18388
# have to relink, otherwise we might link with an installed library
18389
# when we should be linking with a yet-to-be-installed one
18390
## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
18391
test "$hardcode_minus_L_F77" != no; then
18392
# Linking always hardcodes the temporary library directory.
18393
hardcode_action_F77=relink
18395
# We can link without hardcoding, and we can hardcode nonexisting dirs.
18396
hardcode_action_F77=immediate
18399
# We cannot hardcode anything, or else we can only hardcode existing
18401
hardcode_action_F77=unsupported
18403
{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
18404
echo "${ECHO_T}$hardcode_action_F77" >&6; }
18406
if test "$hardcode_action_F77" = relink; then
18407
# Fast installation is not supported
18408
enable_fast_install=no
18409
elif test "$shlibpath_overrides_runpath" = yes ||
18410
test "$enable_shared" = no; then
18411
# Fast installation is not necessary
18412
enable_fast_install=needless
18417
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
18418
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
18419
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
18420
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
18421
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
18422
{ echo "$as_me:$LINENO: result: yes" >&5
18423
echo "${ECHO_T}yes" >&6; }
18425
# FIXME - insert some real tests, host_os isn't really good enough
18428
if test -n "$STRIP" ; then
18429
striplib="$STRIP -x"
18430
{ echo "$as_me:$LINENO: result: yes" >&5
18431
echo "${ECHO_T}yes" >&6; }
18433
{ echo "$as_me:$LINENO: result: no" >&5
18434
echo "${ECHO_T}no" >&6; }
18438
{ echo "$as_me:$LINENO: result: no" >&5
18439
echo "${ECHO_T}no" >&6; }
18446
# The else clause should only fire when bootstrapping the
18447
# libtool distribution, otherwise you forgot to ship ltmain.sh
18448
# with your package, and you will get complaints that there are
18449
# no rules to generate ltmain.sh.
18450
if test -f "$ltmain"; then
18451
# See if we are running on zsh, and set the options which allow our commands through
18452
# without removal of \ escapes.
18453
if test -n "${ZSH_VERSION+set}" ; then
18454
setopt NO_GLOB_SUBST
18456
# Now quote all the things that may contain metacharacters while being
18457
# careful not to overquote the AC_SUBSTed values. We take copies of the
18458
# variables and quote the copies for generation of the libtool script.
18459
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
18460
libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18461
old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18462
deplibs_check_method reload_flag reload_cmds need_locks \
18463
lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18464
lt_cv_sys_global_symbol_to_c_name_address \
18465
sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18466
old_postinstall_cmds old_postuninstall_cmds \
18470
lt_prog_compiler_wl_F77 \
18471
lt_prog_compiler_pic_F77 \
18472
lt_prog_compiler_static_F77 \
18473
lt_prog_compiler_no_builtin_flag_F77 \
18474
export_dynamic_flag_spec_F77 \
18475
thread_safe_flag_spec_F77 \
18476
whole_archive_flag_spec_F77 \
18477
enable_shared_with_static_runtimes_F77 \
18478
old_archive_cmds_F77 \
18479
old_archive_from_new_cmds_F77 \
18480
predep_objects_F77 \
18481
postdep_objects_F77 \
18484
compiler_lib_search_path_F77 \
18486
archive_expsym_cmds_F77 \
18487
postinstall_cmds_F77 \
18488
postuninstall_cmds_F77 \
18489
old_archive_from_expsyms_cmds_F77 \
18490
allow_undefined_flag_F77 \
18491
no_undefined_flag_F77 \
18492
export_symbols_cmds_F77 \
18493
hardcode_libdir_flag_spec_F77 \
18494
hardcode_libdir_flag_spec_ld_F77 \
18495
hardcode_libdir_separator_F77 \
18496
hardcode_automatic_F77 \
18498
module_expsym_cmds_F77 \
18499
lt_cv_prog_compiler_c_o_F77 \
18500
exclude_expsyms_F77 \
18501
include_expsyms_F77; do
18504
old_archive_cmds_F77 | \
18505
old_archive_from_new_cmds_F77 | \
18506
archive_cmds_F77 | \
18507
archive_expsym_cmds_F77 | \
18508
module_cmds_F77 | \
18509
module_expsym_cmds_F77 | \
18510
old_archive_from_expsyms_cmds_F77 | \
18511
export_symbols_cmds_F77 | \
18512
extract_expsyms_cmds | reload_cmds | finish_cmds | \
18513
postinstall_cmds | postuninstall_cmds | \
18514
old_postinstall_cmds | old_postuninstall_cmds | \
18515
sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
18516
# Double-quote double-evaled strings.
18517
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18520
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18526
*'\$0 --fallback-echo"')
18527
lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18533
cat <<__EOF__ >> "$cfgfile"
18534
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
18536
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18538
# Shell to use when invoking shell scripts.
18541
# Whether or not to build shared libraries.
18542
build_libtool_libs=$enable_shared
18544
# Whether or not to build static libraries.
18545
build_old_libs=$enable_static
18547
# Whether or not to add -lc for building shared libraries.
18548
build_libtool_need_lc=$archive_cmds_need_lc_F77
18550
# Whether or not to disallow shared libs when runtime libs are static
18551
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
18553
# Whether or not to optimize for fast installation.
18554
fast_install=$enable_fast_install
18557
host_alias=$host_alias
18560
# An echo program that does not interpret backslashes.
18565
AR_FLAGS=$lt_AR_FLAGS
18570
# A language-specific compiler.
18571
CC=$lt_compiler_F77
18573
# Is the compiler the GNU C compiler?
18579
# The linker used to build libraries.
18582
# Whether we need hard or soft links.
18585
# A BSD-compatible nm program.
18588
# A symbol stripping program
18591
# Used to examine libraries when file_magic_cmd begins "file"
18592
MAGIC_CMD=$MAGIC_CMD
18594
# Used on cygwin: DLL creation program.
18597
# Used on cygwin: object dumper.
18600
# Used on cygwin: assembler.
18603
# The name of the directory that contains temporary libtool files.
18606
# How to create reloadable object files.
18607
reload_flag=$lt_reload_flag
18608
reload_cmds=$lt_reload_cmds
18610
# How to pass a linker flag through the compiler.
18611
wl=$lt_lt_prog_compiler_wl_F77
18613
# Object file suffix (normally "o").
18614
objext="$ac_objext"
18616
# Old archive suffix (normally "a").
18619
# Shared library suffix (normally ".so").
18622
# Executable file suffix (normally "").
18625
# Additional compiler flags for building library objects.
18626
pic_flag=$lt_lt_prog_compiler_pic_F77
18629
# What is the maximum length of a command?
18630
max_cmd_len=$lt_cv_sys_max_cmd_len
18632
# Does compiler simultaneously support -c and -o options?
18633
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
18635
# Must we lock files when doing compilation ?
18636
need_locks=$lt_need_locks
18638
# Do we need the lib prefix for modules?
18639
need_lib_prefix=$need_lib_prefix
18641
# Do we need a version for libraries?
18642
need_version=$need_version
18644
# Whether dlopen is supported.
18645
dlopen_support=$enable_dlopen
18647
# Whether dlopen of programs is supported.
18648
dlopen_self=$enable_dlopen_self
18650
# Whether dlopen of statically linked programs is supported.
18651
dlopen_self_static=$enable_dlopen_self_static
18653
# Compiler flag to prevent dynamic linking.
18654
link_static_flag=$lt_lt_prog_compiler_static_F77
18656
# Compiler flag to turn off builtin functions.
18657
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
18659
# Compiler flag to allow reflexive dlopens.
18660
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
18662
# Compiler flag to generate shared objects directly from archives.
18663
whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
18665
# Compiler flag to generate thread-safe objects.
18666
thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
18668
# Library versioning type.
18669
version_type=$version_type
18671
# Format of library name prefix.
18672
libname_spec=$lt_libname_spec
18674
# List of archive names. First name is the real one, the rest are links.
18675
# The last name is the one that the linker finds with -lNAME.
18676
library_names_spec=$lt_library_names_spec
18678
# The coded name of the library, if different from the real name.
18679
soname_spec=$lt_soname_spec
18681
# Commands used to build and install an old-style archive.
18683
old_archive_cmds=$lt_old_archive_cmds_F77
18684
old_postinstall_cmds=$lt_old_postinstall_cmds
18685
old_postuninstall_cmds=$lt_old_postuninstall_cmds
18687
# Create an old-style archive from a shared archive.
18688
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
18690
# Create a temporary old-style archive to link instead of a shared archive.
18691
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
18693
# Commands used to build and install a shared archive.
18694
archive_cmds=$lt_archive_cmds_F77
18695
archive_expsym_cmds=$lt_archive_expsym_cmds_F77
18696
postinstall_cmds=$lt_postinstall_cmds
18697
postuninstall_cmds=$lt_postuninstall_cmds
18699
# Commands used to build a loadable module (assumed same as above if empty)
18700
module_cmds=$lt_module_cmds_F77
18701
module_expsym_cmds=$lt_module_expsym_cmds_F77
18703
# Commands to strip libraries.
18704
old_striplib=$lt_old_striplib
18705
striplib=$lt_striplib
18707
# Dependencies to place before the objects being linked to create a
18709
predep_objects=$lt_predep_objects_F77
18711
# Dependencies to place after the objects being linked to create a
18713
postdep_objects=$lt_postdep_objects_F77
18715
# Dependencies to place before the objects being linked to create a
18717
predeps=$lt_predeps_F77
18719
# Dependencies to place after the objects being linked to create a
18721
postdeps=$lt_postdeps_F77
18723
# The library search path used internally by the compiler when linking
18724
# a shared library.
18725
compiler_lib_search_path=$lt_compiler_lib_search_path_F77
18727
# Method to check whether dependent libraries are shared objects.
18728
deplibs_check_method=$lt_deplibs_check_method
18730
# Command to use when deplibs_check_method == file_magic.
18731
file_magic_cmd=$lt_file_magic_cmd
18733
# Flag that allows shared libraries with undefined symbols to be built.
18734
allow_undefined_flag=$lt_allow_undefined_flag_F77
18736
# Flag that forces no undefined symbols.
18737
no_undefined_flag=$lt_no_undefined_flag_F77
18739
# Commands used to finish a libtool library installation in a directory.
18740
finish_cmds=$lt_finish_cmds
18742
# Same as above, but a single script fragment to be evaled but not shown.
18743
finish_eval=$lt_finish_eval
18745
# Take the output of nm and produce a listing of raw symbols and C names.
18746
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18748
# Transform the output of nm in a proper C declaration
18749
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18751
# Transform the output of nm in a C name address pair
18752
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18754
# This is the shared library runtime path variable.
18755
runpath_var=$runpath_var
18757
# This is the shared library path variable.
18758
shlibpath_var=$shlibpath_var
18760
# Is shlibpath searched before the hard-coded library search path?
18761
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18763
# How to hardcode a shared library path into an executable.
18764
hardcode_action=$hardcode_action_F77
18766
# Whether we should hardcode library paths into libraries.
18767
hardcode_into_libs=$hardcode_into_libs
18769
# Flag to hardcode \$libdir into a binary during linking.
18770
# This must work even if \$libdir does not exist.
18771
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
18773
# If ld is used when linking, flag to hardcode \$libdir into
18774
# a binary during linking. This must work even if \$libdir does
18776
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
18778
# Whether we need a single -rpath flag with a separated argument.
18779
hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
18781
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18782
# resulting binary.
18783
hardcode_direct=$hardcode_direct_F77
18785
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18786
# resulting binary.
18787
hardcode_minus_L=$hardcode_minus_L_F77
18789
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18790
# the resulting binary.
18791
hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
18793
# Set to yes if building a shared library automatically hardcodes DIR into the library
18794
# and all subsequent libraries and executables linked against it.
18795
hardcode_automatic=$hardcode_automatic_F77
18797
# Variables whose values should be saved in libtool wrapper scripts and
18798
# restored at relink time.
18799
variables_saved_for_relink="$variables_saved_for_relink"
18801
# Whether libtool must link a program against all its dependency libraries.
18802
link_all_deplibs=$link_all_deplibs_F77
18804
# Compile-time system search path for libraries
18805
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18807
# Run-time system search path for libraries
18808
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18810
# Fix the shell variable \$srcfile for the compiler.
18811
fix_srcfile_path="$fix_srcfile_path_F77"
18813
# Set to yes if exported symbols are required.
18814
always_export_symbols=$always_export_symbols_F77
18816
# The commands to list exported symbols.
18817
export_symbols_cmds=$lt_export_symbols_cmds_F77
18819
# The commands to extract the exported symbol list from a shared archive.
18820
extract_expsyms_cmds=$lt_extract_expsyms_cmds
18822
# Symbols that should not be listed in the preloaded symbols.
18823
exclude_expsyms=$lt_exclude_expsyms_F77
18825
# Symbols that must always be exported.
18826
include_expsyms=$lt_include_expsyms_F77
18828
# ### END LIBTOOL TAG CONFIG: $tagname
18834
# If there is no Makefile yet, we rely on a make rule to execute
18835
# `config.status --recheck' to rerun these tests and create the
18836
# libtool script then.
18837
test -f Makefile && make "$ltmain"
18842
ac_cpp='$CPP $CPPFLAGS'
18843
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18844
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18845
ac_compiler_gnu=$ac_cv_c_compiler_gnu
18855
if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
18858
# Source file extension for Java test sources.
18861
# Object file extension for compiled Java test sources.
18865
# Code to be used in simple compile tests
18866
lt_simple_compile_test_code="class foo {}\n"
18868
# Code to be used in simple link tests
18869
lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n'
18871
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
18873
# If no C compiler was specified, use CC.
18876
# Allow CC to be a program name with arguments.
18880
# Allow CC to be a program name with arguments.
18886
# GCJ did not exist at the time GCC didn't implicitly link libc in.
18887
archive_cmds_need_lc_GCJ=no
18890
## There is no encapsulation within the following macros, do not change
18891
## the running order or otherwise move them around unless you know exactly
18892
## what you are doing...
18894
lt_prog_compiler_no_builtin_flag_GCJ=
18896
if test "$GCC" = yes; then
18897
lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
18900
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
18901
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
18902
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
18903
echo $ECHO_N "(cached) $ECHO_C" >&6
18905
lt_cv_prog_compiler_rtti_exceptions=no
18906
ac_outfile=conftest.$ac_objext
18907
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
18908
lt_compiler_flag="-fno-rtti -fno-exceptions"
18909
# Insert the option either (1) after the last *FLAGS variable, or
18910
# (2) before a word containing "conftest.", or (3) at the end.
18911
# Note that $ac_compile itself does not contain backslashes and begins
18912
# with a dollar sign (not a hyphen), so the echo should work correctly.
18913
# The option is referenced via a variable to avoid confusing sed.
18914
lt_compile=`echo "$ac_compile" | $SED \
18915
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
18916
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18917
-e 's:$: $lt_compiler_flag:'`
18918
(eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
18919
(eval "$lt_compile" 2>conftest.err)
18921
cat conftest.err >&5
18922
echo "$as_me:__oline__: \$? = $ac_status" >&5
18923
if (exit $ac_status) && test -s "$ac_outfile"; then
18924
# The compiler can only warn and ignore the option if not recognized
18925
# So say no if there are warnings
18926
if test ! -s conftest.err; then
18927
lt_cv_prog_compiler_rtti_exceptions=yes
18933
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
18934
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
18936
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
18937
lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
18944
lt_prog_compiler_wl_GCJ=
18945
lt_prog_compiler_pic_GCJ=
18946
lt_prog_compiler_static_GCJ=
18948
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
18949
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
18951
if test "$GCC" = yes; then
18952
lt_prog_compiler_wl_GCJ='-Wl,'
18953
lt_prog_compiler_static_GCJ='-static'
18957
# All AIX code is PIC.
18958
if test "$host_cpu" = ia64; then
18959
# AIX 5 now supports IA64 processor
18960
lt_prog_compiler_static_GCJ='-Bstatic'
18965
# FIXME: we need at least 68020 code to build shared libraries, but
18966
# adding the `-m68020' flag to GCC prevents building anything better,
18968
lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
18971
beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
18972
# PIC is the default for these OSes.
18975
mingw* | pw32* | os2*)
18976
# This hack is so that the source file can tell whether it is being
18977
# built for inclusion in a dll (and should export symbols for example).
18978
lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
18981
darwin* | rhapsody*)
18982
# PIC is the default on this platform
18983
# Common symbols not allowed in MH_DYLIB files
18984
lt_prog_compiler_pic_GCJ='-fno-common'
18988
# Just because we use GCC doesn't mean we suddenly get shared libraries
18989
# on systems that don't support them.
18990
lt_prog_compiler_can_build_shared_GCJ=no
18995
if test -d /usr/nec; then
18996
lt_prog_compiler_pic_GCJ=-Kconform_pic
19001
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
19002
# not for PA HP-UX.
19003
case "$host_cpu" in
19008
lt_prog_compiler_pic_GCJ='-fPIC'
19014
lt_prog_compiler_pic_GCJ='-fPIC'
19018
# PORTME Check for flag to pass linker flags through the system compiler.
19021
lt_prog_compiler_wl_GCJ='-Wl,'
19022
if test "$host_cpu" = ia64; then
19023
# AIX 5 now supports IA64 processor
19024
lt_prog_compiler_static_GCJ='-Bstatic'
19026
lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
19030
mingw* | pw32* | os2*)
19031
# This hack is so that the source file can tell whether it is being
19032
# built for inclusion in a dll (and should export symbols for example).
19033
lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
19036
hpux9* | hpux10* | hpux11*)
19037
lt_prog_compiler_wl_GCJ='-Wl,'
19038
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
19039
# not for PA HP-UX.
19040
case "$host_cpu" in
19045
lt_prog_compiler_pic_GCJ='+Z'
19048
# Is there a better lt_prog_compiler_static that works with the bundled CC?
19049
lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
19052
irix5* | irix6* | nonstopux*)
19053
lt_prog_compiler_wl_GCJ='-Wl,'
19054
# PIC (with -KPIC) is the default.
19055
lt_prog_compiler_static_GCJ='-non_shared'
19059
lt_prog_compiler_pic_GCJ='-KPIC'
19060
lt_prog_compiler_static_GCJ='-Bstatic'
19066
lt_prog_compiler_wl_GCJ='-Wl,'
19067
lt_prog_compiler_pic_GCJ='-KPIC'
19068
lt_prog_compiler_static_GCJ='-static'
19071
lt_prog_compiler_wl_GCJ='-Wl,'
19072
# All Alpha code is PIC.
19073
lt_prog_compiler_static_GCJ='-non_shared'
19078
osf3* | osf4* | osf5*)
19079
lt_prog_compiler_wl_GCJ='-Wl,'
19080
# All OSF/1 code is PIC.
19081
lt_prog_compiler_static_GCJ='-non_shared'
19085
lt_prog_compiler_pic_GCJ='-Kpic'
19086
lt_prog_compiler_static_GCJ='-dn'
19090
lt_prog_compiler_wl_GCJ='-Wl,'
19091
lt_prog_compiler_pic_GCJ='-KPIC'
19092
lt_prog_compiler_static_GCJ='-Bstatic'
19096
lt_prog_compiler_wl_GCJ='-Qoption ld '
19097
lt_prog_compiler_pic_GCJ='-PIC'
19098
lt_prog_compiler_static_GCJ='-Bstatic'
19101
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
19102
lt_prog_compiler_wl_GCJ='-Wl,'
19103
lt_prog_compiler_pic_GCJ='-KPIC'
19104
lt_prog_compiler_static_GCJ='-Bstatic'
19108
if test -d /usr/nec ;then
19109
lt_prog_compiler_pic_GCJ='-Kconform_pic'
19110
lt_prog_compiler_static_GCJ='-Bstatic'
19115
lt_prog_compiler_pic_GCJ='-pic'
19116
lt_prog_compiler_static_GCJ='-Bstatic'
19120
lt_prog_compiler_can_build_shared_GCJ=no
19125
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
19126
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
19129
# Check to make sure the PIC flag actually works.
19131
if test -n "$lt_prog_compiler_pic_GCJ"; then
19133
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
19134
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
19135
if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
19136
echo $ECHO_N "(cached) $ECHO_C" >&6
19138
lt_prog_compiler_pic_works_GCJ=no
19139
ac_outfile=conftest.$ac_objext
19140
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
19141
lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
19142
# Insert the option either (1) after the last *FLAGS variable, or
19143
# (2) before a word containing "conftest.", or (3) at the end.
19144
# Note that $ac_compile itself does not contain backslashes and begins
19145
# with a dollar sign (not a hyphen), so the echo should work correctly.
19146
# The option is referenced via a variable to avoid confusing sed.
19147
lt_compile=`echo "$ac_compile" | $SED \
19148
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
19149
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19150
-e 's:$: $lt_compiler_flag:'`
19151
(eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
19152
(eval "$lt_compile" 2>conftest.err)
19154
cat conftest.err >&5
19155
echo "$as_me:__oline__: \$? = $ac_status" >&5
19156
if (exit $ac_status) && test -s "$ac_outfile"; then
19157
# The compiler can only warn and ignore the option if not recognized
19158
# So say no if there are warnings
19159
if test ! -s conftest.err; then
19160
lt_prog_compiler_pic_works_GCJ=yes
19166
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
19167
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
19169
if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
19170
case $lt_prog_compiler_pic_GCJ in
19172
*) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
19175
lt_prog_compiler_pic_GCJ=
19176
lt_prog_compiler_can_build_shared_GCJ=no
19181
# For platforms which do not support PIC, -DPIC is meaningless:
19183
lt_prog_compiler_pic_GCJ=
19186
lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
19190
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
19191
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
19192
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
19193
echo $ECHO_N "(cached) $ECHO_C" >&6
19195
lt_cv_prog_compiler_c_o_GCJ=no
19196
$rm -r conftest 2>/dev/null
19200
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
19202
# According to Tom Tromey, Ian Lance Taylor reported there are C compilers
19203
# that will create temporary files in the current directory regardless of
19204
# the output directory. Thus, making CWD read-only will cause this test
19205
# to fail, enabling locking or at least warning the user not to do parallel
19209
lt_compiler_flag="-o out/conftest2.$ac_objext"
19210
# Insert the option either (1) after the last *FLAGS variable, or
19211
# (2) before a word containing "conftest.", or (3) at the end.
19212
# Note that $ac_compile itself does not contain backslashes and begins
19213
# with a dollar sign (not a hyphen), so the echo should work correctly.
19214
lt_compile=`echo "$ac_compile" | $SED \
19215
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
19216
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19217
-e 's:$: $lt_compiler_flag:'`
19218
(eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
19219
(eval "$lt_compile" 2>out/conftest.err)
19221
cat out/conftest.err >&5
19222
echo "$as_me:__oline__: \$? = $ac_status" >&5
19223
if (exit $ac_status) && test -s out/conftest2.$ac_objext
19225
# The compiler can only warn and ignore the option if not recognized
19226
# So say no if there are warnings
19227
if test ! -s out/conftest.err; then
19228
lt_cv_prog_compiler_c_o_GCJ=yes
19232
$rm conftest* out/*
19239
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
19240
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
19243
hard_links="nottested"
19244
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
19245
# do not overwrite the value of need_locks provided by the user
19246
{ echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
19247
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
19250
ln conftest.a conftest.b 2>/dev/null && hard_links=no
19252
ln conftest.a conftest.b 2>&5 || hard_links=no
19253
ln conftest.a conftest.b 2>/dev/null && hard_links=no
19254
{ echo "$as_me:$LINENO: result: $hard_links" >&5
19255
echo "${ECHO_T}$hard_links" >&6; }
19256
if test "$hard_links" = no; then
19257
{ echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
19258
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
19265
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
19266
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
19269
allow_undefined_flag_GCJ=
19270
enable_shared_with_static_runtimes_GCJ=no
19272
archive_expsym_cmds_GCJ=
19273
old_archive_From_new_cmds_GCJ=
19274
old_archive_from_expsyms_cmds_GCJ=
19275
export_dynamic_flag_spec_GCJ=
19276
whole_archive_flag_spec_GCJ=
19277
thread_safe_flag_spec_GCJ=
19278
hardcode_libdir_flag_spec_GCJ=
19279
hardcode_libdir_flag_spec_ld_GCJ=
19280
hardcode_libdir_separator_GCJ=
19281
hardcode_direct_GCJ=no
19282
hardcode_minus_L_GCJ=no
19283
hardcode_shlibpath_var_GCJ=unsupported
19284
link_all_deplibs_GCJ=unknown
19285
hardcode_automatic_GCJ=no
19287
module_expsym_cmds_GCJ=
19288
always_export_symbols_GCJ=no
19289
export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
19290
# include_expsyms should be a list of space-separated symbols to be *always*
19291
# included in the symbol list
19292
include_expsyms_GCJ=
19293
# exclude_expsyms can be an extended regexp of symbols to exclude
19294
# it will be wrapped by ` (' and `)$', so one must not match beginning or
19295
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
19296
# as well as any symbol that contains `d'.
19297
exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
19298
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
19299
# platforms (ab)use it in PIC code, but their linkers get confused if
19300
# the symbol is explicitly referenced. Since portable code cannot
19301
# rely on this symbol name, it's probably fine to never include it in
19302
# preloaded symbol tables.
19303
extract_expsyms_cmds=
19306
cygwin* | mingw* | pw32*)
19307
# FIXME: the MSVC++ port hasn't been tested in a loooong time
19308
# When not using gcc, we currently assume that we are using
19309
# Microsoft Visual C++.
19310
if test "$GCC" != yes; then
19320
if test "$with_gnu_ld" = yes; then
19321
# If archive_cmds runs LD, not CC, wlarc should be empty
19324
# See if GNU ld supports shared libraries.
19326
aix3* | aix4* | aix5*)
19327
# On AIX/PPC, the GNU linker is very broken
19328
if test "$host_cpu" != ia64; then
19332
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
19333
*** to be unable to reliably create shared libraries on AIX.
19334
*** Therefore, libtool is disabling shared libraries support. If you
19335
*** really care for shared libraries, you may want to modify your PATH
19336
*** so that a non-GNU linker is found, and then restart.
19343
archive_cmds_GCJ='$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)'
19344
hardcode_libdir_flag_spec_GCJ='-L$libdir'
19345
hardcode_minus_L_GCJ=yes
19347
# Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
19348
# that the semantics of dynamic libraries on AmigaOS, at least up
19349
# to version 4, is to share data among multiple programs linked
19350
# with the same dynamic library. Since this doesn't match the
19351
# behavior of shared libraries on other platforms, we can't use
19357
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
19358
allow_undefined_flag_GCJ=unsupported
19359
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
19360
# support --undefined. This deserves some investigation. FIXME
19361
archive_cmds_GCJ='$CC -nostart $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
19367
cygwin* | mingw* | pw32*)
19368
# _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
19369
# as there is no search path for DLLs.
19370
hardcode_libdir_flag_spec_GCJ='-L$libdir'
19371
allow_undefined_flag_GCJ=no
19372
always_export_symbols_GCJ=no
19373
enable_shared_with_static_runtimes_GCJ=yes
19374
export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
19376
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
19377
archive_cmds_GCJ='$CC -shared $compiler_flags $libobjs $deplibs -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
19378
# If the export-symbols file already is a .def file (1st line
19379
# is EXPORTS), use it as is; otherwise, prepend...
19380
archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
19381
cp $export_symbols $output_objdir/$soname.def;
19383
echo EXPORTS > $output_objdir/$soname.def;
19384
cat $export_symbols >> $output_objdir/$soname.def;
19386
$CC -shared $output_objdir/$soname.def $compiler_flags $libobjs $deplibs -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
19393
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
19394
archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
19397
archive_cmds_GCJ='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
19398
archive_expsym_cmds_GCJ='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
19403
if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
19407
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
19408
*** create shared libraries on Solaris systems. Therefore, libtool
19409
*** is disabling shared libraries support. We urge you to upgrade GNU
19410
*** binutils to release 2.9.1 or newer. Another option is to modify
19411
*** your PATH or compiler configuration so that the native linker is
19412
*** used, and then restart.
19415
elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
19416
archive_cmds_GCJ='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
19417
archive_expsym_cmds_GCJ='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
19424
archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
19426
hardcode_direct_GCJ=yes
19427
hardcode_shlibpath_var_GCJ=no
19431
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
19432
archive_cmds_GCJ='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
19433
archive_expsym_cmds_GCJ='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
19440
if test "$ld_shlibs_GCJ" = yes; then
19441
runpath_var=LD_RUN_PATH
19442
hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
19443
export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
19444
# ancient GNU ld didn't support --whole-archive et. al.
19445
if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
19446
whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
19448
whole_archive_flag_spec_GCJ=
19452
# PORTME fill in a description of your system's linker (not GNU ld)
19455
allow_undefined_flag_GCJ=unsupported
19456
always_export_symbols_GCJ=yes
19457
archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
19458
# Note: this linker hardcodes the directories in LIBPATH if there
19459
# are no directories specified by -L.
19460
hardcode_minus_L_GCJ=yes
19461
if test "$GCC" = yes && test -z "$link_static_flag"; then
19462
# Neither direct hardcoding nor static linking is supported with a
19464
hardcode_direct_GCJ=unsupported
19469
if test "$host_cpu" = ia64; then
19470
# On IA64, the linker does run time linking by default, so we don't
19471
# have to do anything special.
19472
aix_use_runtimelinking=no
19473
exp_sym_flag='-Bexport'
19476
# If we're using GNU nm, then we don't want the "-C" option.
19477
# -C means demangle to AIX nm, but means don't demangle with GNU nm
19478
if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
19479
export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
19481
export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
19484
# KDE requires run time linking. Make it the default.
19485
aix_use_runtimelinking=yes
19486
exp_sym_flag='-bexport'
19487
no_entry_flag='-bnoentry'
19490
# When large executables or shared objects are built, AIX ld can
19491
# have problems creating the table of contents. If linking a library
19492
# or program results in "error TOC overflow" add -mminimal-toc to
19493
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
19494
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
19496
archive_cmds_GCJ=''
19497
hardcode_direct_GCJ=yes
19498
hardcode_libdir_separator_GCJ=':'
19499
link_all_deplibs_GCJ=yes
19501
if test "$GCC" = yes; then
19502
case $host_os in aix4.012|aix4.012.*)
19503
# We only want to do this on AIX 4.2 and lower, the check
19504
# below for broken collect2 doesn't work under 4.3+
19505
collect2name=`${CC} -print-prog-name=collect2`
19506
if test -f "$collect2name" && \
19507
strings "$collect2name" | grep resolve_lib_name >/dev/null
19509
# We have reworked collect2
19510
hardcode_direct_GCJ=yes
19512
# We have old collect2
19513
hardcode_direct_GCJ=unsupported
19514
# It fails to find uninstalled libraries when the uninstalled
19515
# path is not listed in the libpath. Setting hardcode_minus_L
19516
# to unsupported forces relinking
19517
hardcode_minus_L_GCJ=yes
19518
hardcode_libdir_flag_spec_GCJ='-L$libdir'
19519
hardcode_libdir_separator_GCJ=
19522
shared_flag='-shared'
19525
if test "$host_cpu" = ia64; then
19526
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
19527
# chokes on -Wl,-G. The following line is correct:
19530
if test "$aix_use_runtimelinking" = yes; then
19531
shared_flag='-qmkshrobj ${wl}-G'
19533
shared_flag='-qmkshrobj'
19538
# Let the compiler handle the export list.
19539
always_export_symbols_GCJ=no
19540
if test "$aix_use_runtimelinking" = yes; then
19541
# Warning - without using the other runtime loading flags (-brtl),
19542
# -berok will link without error, but may produce a broken library.
19543
allow_undefined_flag_GCJ='-berok'
19544
# Determine the default libpath from the value encoded in an empty executable.
19545
cat >conftest.$ac_ext <<_ACEOF
19548
cat confdefs.h >>conftest.$ac_ext
19549
cat >>conftest.$ac_ext <<_ACEOF
19550
/* end confdefs.h. */
19560
rm -f conftest.$ac_objext conftest$ac_exeext
19561
if { (ac_try="$ac_link"
19562
case "(($ac_try" in
19563
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19564
*) ac_try_echo=$ac_try;;
19566
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19567
(eval "$ac_link") 2>conftest.er1
19569
grep -v '^ *+' conftest.er1 >conftest.err
19571
cat conftest.err >&5
19572
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19573
(exit $ac_status); } && {
19574
test -z "$ac_c_werror_flag" ||
19575
test ! -s conftest.err
19576
} && test -s conftest$ac_exeext &&
19577
$as_test_x conftest$ac_exeext; then
19579
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
19581
# Check for a 64-bit object if we didn't find anything.
19582
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
19585
echo "$as_me: failed program was:" >&5
19586
sed 's/^/| /' conftest.$ac_ext >&5
19591
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19592
conftest$ac_exeext conftest.$ac_ext
19593
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
19595
hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
19596
archive_cmds_GCJ="\$CC"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '" $shared_flag"
19597
archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
19599
if test "$host_cpu" = ia64; then
19600
hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
19601
allow_undefined_flag_GCJ="-z nodefs"
19602
archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
19604
# Determine the default libpath from the value encoded in an empty executable.
19605
cat >conftest.$ac_ext <<_ACEOF
19608
cat confdefs.h >>conftest.$ac_ext
19609
cat >>conftest.$ac_ext <<_ACEOF
19610
/* end confdefs.h. */
19620
rm -f conftest.$ac_objext conftest$ac_exeext
19621
if { (ac_try="$ac_link"
19622
case "(($ac_try" in
19623
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19624
*) ac_try_echo=$ac_try;;
19626
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19627
(eval "$ac_link") 2>conftest.er1
19629
grep -v '^ *+' conftest.er1 >conftest.err
19631
cat conftest.err >&5
19632
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19633
(exit $ac_status); } && {
19634
test -z "$ac_c_werror_flag" ||
19635
test ! -s conftest.err
19636
} && test -s conftest$ac_exeext &&
19637
$as_test_x conftest$ac_exeext; then
19639
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
19641
# Check for a 64-bit object if we didn't find anything.
19642
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
19645
echo "$as_me: failed program was:" >&5
19646
sed 's/^/| /' conftest.$ac_ext >&5
19651
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19652
conftest$ac_exeext conftest.$ac_ext
19653
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
19655
hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
19656
# Warning - without using the other run time loading flags,
19657
# -berok will link without error, but may produce a broken library.
19658
no_undefined_flag_GCJ=' ${wl}-bernotok'
19659
allow_undefined_flag_GCJ=' ${wl}-berok'
19660
# -bexpall does not export symbols beginning with underscore (_)
19661
always_export_symbols_GCJ=yes
19662
# Exported symbols can be pulled into shared objects from archives
19663
whole_archive_flag_spec_GCJ=' '
19664
archive_cmds_need_lc_GCJ=yes
19665
# This is similar to how AIX traditionally builds it's shared libraries.
19666
archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
19672
archive_cmds_GCJ='$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)'
19673
hardcode_libdir_flag_spec_GCJ='-L$libdir'
19674
hardcode_minus_L_GCJ=yes
19675
# see comment about different semantics on the GNU ld section
19680
export_dynamic_flag_spec_GCJ=-rdynamic
19683
cygwin* | mingw* | pw32*)
19684
# When not using gcc, we currently assume that we are using
19685
# Microsoft Visual C++.
19686
# hardcode_libdir_flag_spec is actually meaningless, as there is
19687
# no search path for DLLs.
19688
hardcode_libdir_flag_spec_GCJ=' '
19689
allow_undefined_flag_GCJ=no
19690
# Tell ltmain to make .lib files, not .a files.
19692
# Tell ltmain to make .dll files, not .so files.
19694
# FIXME: Setting linknames here is a bad hack.
19695
archive_cmds_GCJ='$CC -o $lib $compiler_flags $libobjs `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
19696
# The linker will automatically build a .lib file if we build a DLL.
19697
old_archive_From_new_cmds_GCJ='true'
19698
# FIXME: Should let the user specify the lib program.
19699
old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
19700
fix_srcfile_path='`cygpath -w "$srcfile"`'
19701
enable_shared_with_static_runtimes_GCJ=yes
19704
darwin* | rhapsody*)
19705
if test "$GXX" = yes ; then
19706
archive_cmds_need_lc_GCJ=no
19708
rhapsody* | darwin1.[012])
19709
allow_undefined_flag_GCJ='-Wl,-undefined -Wl,suppress'
19712
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
19713
allow_undefined_flag='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
19715
case ${MACOSX_DEPLOYMENT_TARGET} in
19717
allow_undefined_flag='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
19720
allow_undefined_flag='-Wl,-undefined -Wl,dynamic_lookup'
19726
lt_int_apple_cc_single_mod=no
19727
output_verbose_link_cmd='echo'
19728
if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
19729
lt_int_apple_cc_single_mod=yes
19731
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
19732
archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring'
19734
archive_cmds_GCJ='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $compiler_flags $deplibs -install_name $rpath/$soname $verstring'
19736
module_cmds_GCJ='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs'
19737
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
19738
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
19739
archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
19741
archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $compiler_flags $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
19743
module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
19744
hardcode_direct_GCJ=no
19745
hardcode_automatic_GCJ=yes
19746
hardcode_shlibpath_var_GCJ=unsupported
19747
whole_archive_flag_spec_GCJ='-all_load $convenience'
19748
link_all_deplibs_GCJ=yes
19755
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19756
hardcode_libdir_flag_spec_GCJ='-L$libdir'
19757
hardcode_shlibpath_var_GCJ=no
19764
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
19765
# support. Future versions do this automatically, but an explicit c++rt0.o
19766
# does not break anything, and helps significantly (at the cost of a little
19769
archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
19770
hardcode_libdir_flag_spec_GCJ='-R$libdir'
19771
hardcode_direct_GCJ=yes
19772
hardcode_shlibpath_var_GCJ=no
19775
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
19777
archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
19778
hardcode_direct_GCJ=yes
19779
hardcode_minus_L_GCJ=yes
19780
hardcode_shlibpath_var_GCJ=no
19783
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
19785
archive_cmds_GCJ='$CC -shared -o $lib $compiler_flags $libobjs $deplibs'
19786
hardcode_libdir_flag_spec_GCJ='-R$libdir'
19787
hardcode_direct_GCJ=yes
19788
hardcode_shlibpath_var_GCJ=no
19792
if test "$GCC" = yes; then
19793
archive_cmds_GCJ='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $compiler_flags $libobjs $deplibs~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
19795
archive_cmds_GCJ='$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'
19797
hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
19798
hardcode_libdir_separator_GCJ=:
19799
hardcode_direct_GCJ=yes
19801
# hardcode_minus_L: Not really in the search PATH,
19802
# but as the default location of the library.
19803
hardcode_minus_L_GCJ=yes
19804
export_dynamic_flag_spec_GCJ='${wl}-E'
19808
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
19809
case "$host_cpu" in
19811
archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
19814
archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $compiler_flags $libobjs $deplibs'
19818
case "$host_cpu" in
19820
archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
19823
archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
19827
if test "$with_gnu_ld" = no; then
19828
case "$host_cpu" in
19830
hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
19831
hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
19832
hardcode_libdir_separator_GCJ=:
19833
hardcode_direct_GCJ=no
19834
hardcode_shlibpath_var_GCJ=no
19837
hardcode_libdir_flag_spec_GCJ='-L$libdir'
19838
hardcode_direct_GCJ=no
19839
hardcode_shlibpath_var_GCJ=no
19841
# hardcode_minus_L: Not really in the search PATH,
19842
# but as the default location of the library.
19843
hardcode_minus_L_GCJ=yes
19846
hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
19847
hardcode_libdir_separator_GCJ=:
19848
hardcode_direct_GCJ=yes
19849
export_dynamic_flag_spec_GCJ='${wl}-E'
19851
# hardcode_minus_L: Not really in the search PATH,
19852
# but as the default location of the library.
19853
hardcode_minus_L_GCJ=yes
19859
irix5* | irix6* | nonstopux*)
19860
if test "$GCC" = yes; then
19861
archive_cmds_GCJ='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
19863
archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
19864
hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
19866
hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
19867
hardcode_libdir_separator_GCJ=:
19868
link_all_deplibs_GCJ=yes
19872
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
19873
archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
19875
archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
19877
hardcode_libdir_flag_spec_GCJ='-R$libdir'
19878
hardcode_direct_GCJ=yes
19879
hardcode_shlibpath_var_GCJ=no
19883
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19884
hardcode_direct_GCJ=yes
19885
hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
19886
hardcode_libdir_separator_GCJ=:
19887
hardcode_shlibpath_var_GCJ=no
19891
hardcode_direct_GCJ=yes
19892
hardcode_shlibpath_var_GCJ=no
19893
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19894
archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $compiler_flags $libobjs $deplibs'
19895
hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
19896
export_dynamic_flag_spec_GCJ='${wl}-E'
19899
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
19900
archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
19901
hardcode_libdir_flag_spec_GCJ='-R$libdir'
19904
archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $compiler_flags $libobjs $deplibs'
19905
hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
19912
hardcode_libdir_flag_spec_GCJ='-L$libdir'
19913
hardcode_minus_L_GCJ=yes
19914
allow_undefined_flag_GCJ=unsupported
19915
archive_cmds_GCJ='$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 $compiler_flags $libobjs $deplibs$output_objdir/$libname.def'
19916
old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
19920
if test "$GCC" = yes; then
19921
allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
19922
archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $compiler_flags $libobjs $deplibs ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
19924
allow_undefined_flag_GCJ=' -expect_unresolved \*'
19925
archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
19927
hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
19928
hardcode_libdir_separator_GCJ=:
19931
osf4* | osf5*) # as osf3* with the addition of -msym flag
19932
if test "$GCC" = yes; then
19933
allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
19934
archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $compiler_flags $libobjs $deplibs ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
19935
hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
19937
allow_undefined_flag_GCJ=' -expect_unresolved \*'
19938
archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
19939
archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
19940
$LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
19942
# Both c and cxx compiler support -rpath directly
19943
hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
19945
hardcode_libdir_separator_GCJ=:
19949
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19950
hardcode_shlibpath_var_GCJ=no
19951
export_dynamic_flag_spec_GCJ='${wl}-Bexport'
19952
runpath_var=LD_RUN_PATH
19953
hardcode_runpath_var=yes
19957
no_undefined_flag_GCJ=' -z text'
19958
if test "$GCC" = yes; then
19959
archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
19960
archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19961
$CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs~$rm $lib.exp'
19963
archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
19964
archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19965
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
19967
hardcode_libdir_flag_spec_GCJ='-R$libdir'
19968
hardcode_shlibpath_var_GCJ=no
19970
solaris2.[0-5] | solaris2.[0-5].*) ;;
19971
*) # Supported since Solaris 2.6 (maybe 2.5.1?)
19972
whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
19974
link_all_deplibs_GCJ=yes
19978
if test "x$host_vendor" = xsequent; then
19979
# Use $CC to link under sequent, because it throws in some extra .o
19980
# files that make .init and .fini sections work.
19981
archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $compiler_flags $libobjs $deplibs'
19983
archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
19985
hardcode_libdir_flag_spec_GCJ='-L$libdir'
19986
hardcode_direct_GCJ=yes
19987
hardcode_minus_L_GCJ=yes
19988
hardcode_shlibpath_var_GCJ=no
19992
case $host_vendor in
19994
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19995
hardcode_direct_GCJ=yes # is this really true???
19998
## LD is ld it makes a PLAMLIB
19999
## CC just makes a GrossModule.
20000
archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
20001
reload_cmds_GCJ='$CC -r -o $output$reload_objs'
20002
hardcode_direct_GCJ=no
20005
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20006
hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
20009
runpath_var='LD_RUN_PATH'
20010
hardcode_shlibpath_var_GCJ=no
20014
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20015
hardcode_shlibpath_var_GCJ=no
20016
export_dynamic_flag_spec_GCJ='-Bexport'
20020
if test -d /usr/nec; then
20021
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20022
hardcode_shlibpath_var_GCJ=no
20023
runpath_var=LD_RUN_PATH
20024
hardcode_runpath_var=yes
20030
archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
20031
hardcode_direct_GCJ=yes
20032
hardcode_minus_L_GCJ=no
20033
hardcode_shlibpath_var_GCJ=no
20034
hardcode_runpath_var=yes
20035
runpath_var=LD_RUN_PATH
20038
sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
20039
no_undefined_flag_GCJ='${wl}-z ${wl}text'
20040
if test "$GCC" = yes; then
20041
archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
20043
archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
20045
runpath_var='LD_RUN_PATH'
20046
hardcode_shlibpath_var_GCJ=no
20050
no_undefined_flag_GCJ=' -z text'
20051
# $CC -shared without GNU ld will not create a library from C++
20052
# object files and a static libstdc++, better avoid it by now
20053
archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
20054
archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
20055
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
20056
hardcode_libdir_flag_spec_GCJ=
20057
hardcode_shlibpath_var_GCJ=no
20058
runpath_var='LD_RUN_PATH'
20062
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
20063
hardcode_libdir_flag_spec_GCJ='-L$libdir'
20064
hardcode_shlibpath_var_GCJ=no
20073
{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
20074
echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
20075
test "$ld_shlibs_GCJ" = no && can_build_shared=no
20077
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
20078
if test "$GCC" = yes; then
20079
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
20083
# Do we need to explicitly link libc?
20085
case "x$archive_cmds_need_lc_GCJ" in
20087
# Assume -lc should be added
20088
archive_cmds_need_lc_GCJ=yes
20090
if test "$enable_shared" = yes && test "$GCC" = yes; then
20091
case $archive_cmds_GCJ in
20093
# FIXME: we may have to deal with multi-command sequences.
20096
# Test whether the compiler implicitly links with -lc since on some
20097
# systems, -lgcc has to come before -lc. If gcc already passes -lc
20098
# to ld, don't add -lc before -lgcc.
20099
{ echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
20100
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
20102
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
20104
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20105
(eval $ac_compile) 2>&5
20107
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20108
(exit $ac_status); } 2>conftest.err; then
20111
libobjs=conftest.$ac_objext
20113
wl=$lt_prog_compiler_wl_GCJ
20119
lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
20120
allow_undefined_flag_GCJ=
20121
if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
20122
(eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
20124
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20125
(exit $ac_status); }
20127
archive_cmds_need_lc_GCJ=no
20129
archive_cmds_need_lc_GCJ=yes
20131
allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
20133
cat conftest.err 1>&5
20136
{ echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
20137
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
20144
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
20145
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
20146
library_names_spec=
20147
libname_spec='lib$name'
20151
postuninstall_cmds=
20155
shlibpath_overrides_runpath=unknown
20157
dynamic_linker="$host_os ld.so"
20158
sys_lib_dlsearch_path_spec="/lib /usr/lib"
20159
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
20160
need_lib_prefix=unknown
20161
hardcode_into_libs=no
20163
# when you set need_version to no, make sure it does not cause -set_version
20164
# flags to be left without arguments
20165
need_version=unknown
20170
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
20171
shlibpath_var=LIBPATH
20173
# AIX 3 has no versioning support, so we append a major version to the name.
20174
soname_spec='${libname}${release}${shared_ext}$major'
20181
hardcode_into_libs=yes
20182
if test "$host_cpu" = ia64; then
20183
# AIX 5 supports IA64
20184
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
20185
shlibpath_var=LD_LIBRARY_PATH
20187
# With GCC up to 2.95.x, collect2 would create an import file
20188
# for dependence libraries. The import file would start with
20189
# the line `#! .'. This would cause the generated library to
20190
# depend on `.', always an invalid library. This was fixed in
20191
# development snapshots of GCC prior to 3.0.
20193
aix4 | aix4.[01] | aix4.[01].*)
20194
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
20196
echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
20199
can_build_shared=no
20203
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
20204
# soname into executable. Probably we can add versioning support to
20205
# collect2, so additional links can be useful in future.
20206
if test "$aix_use_runtimelinking" = yes; then
20207
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
20208
# instead of lib<name>.a to let people know that these are not
20209
# typical AIX shared libraries.
20210
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20212
# We preserve .a as extension for shared libraries through AIX4.2
20213
# and later when we are not doing run time linking.
20214
library_names_spec='${libname}${release}.a $libname.a'
20215
soname_spec='${libname}${release}${shared_ext}$major'
20217
shlibpath_var=LIBPATH
20222
library_names_spec='$libname.ixlibrary $libname.a'
20223
# Create ${libname}_ixlibrary.a entries in /sys/libs.
20224
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'
20228
library_names_spec='${libname}${shared_ext}'
20229
dynamic_linker="$host_os ld.so"
20230
shlibpath_var=LIBRARY_PATH
20236
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20237
soname_spec='${libname}${release}${shared_ext}$major'
20238
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
20239
shlibpath_var=LD_LIBRARY_PATH
20240
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
20241
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
20242
# the default ld.so.conf also contains /usr/contrib/lib and
20243
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
20244
# libtool to hard-code these into programs
20247
cygwin* | mingw* | pw32*)
20248
version_type=windows
20253
case $GCC,$host_os in
20254
yes,cygwin* | yes,mingw* | yes,pw32*)
20255
library_names_spec='$libname.dll.a'
20256
# DLL is installed to $(libdir)/../bin by postinstall_cmds
20257
postinstall_cmds='base_file=`basename \${file}`~
20258
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
20259
dldir=$destdir/`dirname \$dlpath`~
20260
test -d \$dldir || mkdir -p \$dldir~
20261
$install_prog $dir/$dlname \$dldir/$dlname'
20262
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
20263
dlpath=$dir/\$dldll~
20265
shlibpath_overrides_runpath=yes
20269
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
20270
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20271
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
20274
# MinGW DLLs use traditional 'lib' prefix
20275
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20276
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
20277
if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
20278
# It is most probably a Windows format PATH printed by
20279
# mingw gcc, but we are running on Cygwin. Gcc prints its search
20280
# path with ; separators, and with drive letters. We can handle the
20281
# drive letters (cygwin fileutils understands them), so leave them,
20282
# especially as we might pass files found there to a mingw objdump,
20283
# which wouldn't understand a cygwinified path. Ahh.
20284
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
20286
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
20290
# pw32 DLLs use 'pw' prefix rather than 'lib'
20291
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
20297
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
20300
dynamic_linker='Win32 ld.exe'
20301
# FIXME: first we should search . and the directory the executable is in
20305
darwin* | rhapsody*)
20306
dynamic_linker="$host_os dyld"
20307
version_type=darwin
20310
library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
20311
soname_spec='${libname}${release}${major}$shared_ext'
20312
shlibpath_overrides_runpath=yes
20313
shlibpath_var=DYLD_LIBRARY_PATH
20314
shrext='$(test .$module = .yes && echo .so || echo .dylib)'
20315
# Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
20316
if test "$GCC" = yes; then
20317
sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
20319
sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
20321
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
20328
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
20329
soname_spec='${libname}${release}${shared_ext}$major'
20330
shlibpath_var=LD_LIBRARY_PATH
20341
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20342
soname_spec='${libname}${release}${shared_ext}$major'
20343
shlibpath_var=LD_LIBRARY_PATH
20344
shlibpath_overrides_runpath=no
20345
hardcode_into_libs=yes
20346
dynamic_linker='GNU ld.so'
20350
objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
20351
version_type=freebsd-$objformat
20352
case $version_type in
20354
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20359
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
20363
shlibpath_var=LD_LIBRARY_PATH
20366
shlibpath_overrides_runpath=yes
20368
freebsd3.01* | freebsdelf3.01*)
20369
shlibpath_overrides_runpath=yes
20370
hardcode_into_libs=yes
20373
shlibpath_overrides_runpath=no
20374
hardcode_into_libs=yes
20383
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
20384
soname_spec='${libname}${release}${shared_ext}$major'
20385
shlibpath_var=LD_LIBRARY_PATH
20386
hardcode_into_libs=yes
20389
hpux9* | hpux10* | hpux11*)
20390
# Give a soname corresponding to the major version so that dld.sl refuses to
20391
# link against other versions.
20395
case "$host_cpu" in
20398
hardcode_into_libs=yes
20399
dynamic_linker="$host_os dld.so"
20400
shlibpath_var=LD_LIBRARY_PATH
20401
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
20402
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20403
soname_spec='${libname}${release}${shared_ext}$major'
20404
if test "X$HPUX_IA64_MODE" = X32; then
20405
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
20407
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
20409
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
20413
hardcode_into_libs=yes
20414
dynamic_linker="$host_os dld.sl"
20415
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
20416
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
20417
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20418
soname_spec='${libname}${release}${shared_ext}$major'
20419
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
20420
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
20424
dynamic_linker="$host_os dld.sl"
20425
shlibpath_var=SHLIB_PATH
20426
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
20427
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20428
soname_spec='${libname}${release}${shared_ext}$major'
20431
# HP-UX runs *really* slowly unless shared libraries are mode 555.
20432
postinstall_cmds='chmod 555 $lib'
20435
irix5* | irix6* | nonstopux*)
20437
nonstopux*) version_type=nonstopux ;;
20439
if test "$lt_cv_prog_gnu_ld" = yes; then
20447
soname_spec='${libname}${release}${shared_ext}$major'
20448
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
20450
irix5* | nonstopux*)
20451
libsuff= shlibsuff=
20454
case $LD in # libtool.m4 will add one of these switches to LD
20455
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
20456
libsuff= shlibsuff= libmagic=32-bit;;
20457
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
20458
libsuff=32 shlibsuff=N32 libmagic=N32;;
20459
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
20460
libsuff=64 shlibsuff=64 libmagic=64-bit;;
20461
*) libsuff= shlibsuff= libmagic=never-match;;
20465
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
20466
shlibpath_overrides_runpath=no
20467
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
20468
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
20469
hardcode_into_libs=yes
20472
# No shared lib support for Linux oldld, aout, or coff.
20473
linux*oldld* | linux*aout* | linux*coff*)
20477
# This must be Linux ELF.
20482
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20483
soname_spec='${libname}${release}${shared_ext}$major'
20484
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
20486
if test "x$LINUX_64_MODE" = x64; then
20487
# Some platforms are per default 64-bit, so there's no /lib64
20488
if test -d /lib64; then
20492
shlibpath_var=LD_LIBRARY_PATH
20493
shlibpath_overrides_runpath=no
20494
sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
20495
sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
20496
# This implies no fast_install, which is unacceptable.
20497
# Some rework will be needed to allow for fast_install
20498
# before this can be enabled.
20499
hardcode_into_libs=yes
20501
# We used to test for /lib/ld.so.1 and disable shared libraries on
20502
# powerpc, because MkLinux only supported shared libraries with the
20503
# GNU dynamic linker. Since this was broken with cross compilers,
20504
# most powerpc-linux boxes support dynamic linking these days and
20505
# people can always --disable-shared, the test was removed, and we
20506
# assume the GNU/Linux dynamic linker is in use.
20507
dynamic_linker='GNU/Linux ld.so'
20514
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
20515
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20516
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20517
dynamic_linker='NetBSD (a.out) ld.so'
20519
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
20520
soname_spec='${libname}${release}${shared_ext}$major'
20521
dynamic_linker='NetBSD ld.elf_so'
20523
shlibpath_var=LD_LIBRARY_PATH
20524
shlibpath_overrides_runpath=yes
20525
hardcode_into_libs=yes
20530
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20531
shlibpath_var=LD_LIBRARY_PATH
20532
shlibpath_overrides_runpath=yes
20539
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20540
soname_spec='${libname}${release}${shared_ext}$major'
20541
shlibpath_var=LD_LIBRARY_PATH
20542
shlibpath_overrides_runpath=yes
20549
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20550
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20551
shlibpath_var=LD_LIBRARY_PATH
20552
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
20554
openbsd2.[89] | openbsd2.[89].*)
20555
shlibpath_overrides_runpath=no
20558
shlibpath_overrides_runpath=yes
20562
shlibpath_overrides_runpath=yes
20567
libname_spec='$name'
20570
library_names_spec='$libname${shared_ext} $libname.a'
20571
dynamic_linker='OS/2 ld.exe'
20572
shlibpath_var=LIBPATH
20575
osf3* | osf4* | osf5*)
20579
soname_spec='${libname}${release}${shared_ext}$major'
20580
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20581
shlibpath_var=LD_LIBRARY_PATH
20582
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
20583
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
20588
soname_spec='${libname}${release}${shared_ext}$major'
20589
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20590
shlibpath_var=LD_LIBRARY_PATH
20597
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20598
soname_spec='${libname}${release}${shared_ext}$major'
20599
shlibpath_var=LD_LIBRARY_PATH
20600
shlibpath_overrides_runpath=yes
20601
hardcode_into_libs=yes
20602
# ldd complains unless libraries are executable
20603
postinstall_cmds='chmod +x $lib'
20608
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20609
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
20610
shlibpath_var=LD_LIBRARY_PATH
20611
shlibpath_overrides_runpath=yes
20612
if test "$with_gnu_ld" = yes; then
20618
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
20620
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20621
soname_spec='${libname}${release}${shared_ext}$major'
20622
shlibpath_var=LD_LIBRARY_PATH
20623
case $host_vendor in
20625
shlibpath_overrides_runpath=no
20627
export_dynamic_flag_spec='${wl}-Blargedynsym'
20628
runpath_var=LD_RUN_PATH
20636
shlibpath_overrides_runpath=no
20637
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
20643
if test -d /usr/nec ;then
20645
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
20646
soname_spec='$libname${shared_ext}.$major'
20647
shlibpath_var=LD_LIBRARY_PATH
20653
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20654
soname_spec='${libname}${release}${shared_ext}$major'
20655
shlibpath_var=LD_LIBRARY_PATH
20662
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
20663
echo "${ECHO_T}$dynamic_linker" >&6; }
20664
test "$dynamic_linker" = no && can_build_shared=no
20666
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
20667
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
20668
hardcode_action_GCJ=
20669
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
20670
test -n "$runpath_var GCJ" || \
20671
test "X$hardcode_automatic_GCJ"="Xyes" ; then
20673
# We can hardcode non-existant directories.
20674
if test "$hardcode_direct_GCJ" != no &&
20675
# If the only mechanism to avoid hardcoding is shlibpath_var, we
20676
# have to relink, otherwise we might link with an installed library
20677
# when we should be linking with a yet-to-be-installed one
20678
## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
20679
test "$hardcode_minus_L_GCJ" != no; then
20680
# Linking always hardcodes the temporary library directory.
20681
hardcode_action_GCJ=relink
20683
# We can link without hardcoding, and we can hardcode nonexisting dirs.
20684
hardcode_action_GCJ=immediate
20687
# We cannot hardcode anything, or else we can only hardcode existing
20689
hardcode_action_GCJ=unsupported
20691
{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
20692
echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
20694
if test "$hardcode_action_GCJ" = relink; then
20695
# Fast installation is not supported
20696
enable_fast_install=no
20697
elif test "$shlibpath_overrides_runpath" = yes ||
20698
test "$enable_shared" = no; then
20699
# Fast installation is not necessary
20700
enable_fast_install=needless
20705
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
20706
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
20707
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
20708
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
20709
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
20710
{ echo "$as_me:$LINENO: result: yes" >&5
20711
echo "${ECHO_T}yes" >&6; }
20713
# FIXME - insert some real tests, host_os isn't really good enough
20716
if test -n "$STRIP" ; then
20717
striplib="$STRIP -x"
20718
{ echo "$as_me:$LINENO: result: yes" >&5
20719
echo "${ECHO_T}yes" >&6; }
20721
{ echo "$as_me:$LINENO: result: no" >&5
20722
echo "${ECHO_T}no" >&6; }
20726
{ echo "$as_me:$LINENO: result: no" >&5
20727
echo "${ECHO_T}no" >&6; }
20732
if test "x$enable_dlopen" != xyes; then
20733
enable_dlopen=unknown
20734
enable_dlopen_self=unknown
20735
enable_dlopen_self_static=unknown
20742
lt_cv_dlopen="load_add_on"
20744
lt_cv_dlopen_self=yes
20748
lt_cv_dlopen="LoadLibrary"
20753
lt_cv_dlopen="dlopen"
20758
# if libdl is installed we need to link against it
20759
{ echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
20760
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
20761
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
20762
echo $ECHO_N "(cached) $ECHO_C" >&6
20764
ac_check_lib_save_LIBS=$LIBS
20766
cat >conftest.$ac_ext <<_ACEOF
20769
cat confdefs.h >>conftest.$ac_ext
20770
cat >>conftest.$ac_ext <<_ACEOF
20771
/* end confdefs.h. */
20773
/* Override any GCC internal prototype to avoid an error.
20774
Use char because int might match the return type of a GCC
20775
builtin and then its argument prototype would still apply. */
20788
rm -f conftest.$ac_objext conftest$ac_exeext
20789
if { (ac_try="$ac_link"
20790
case "(($ac_try" in
20791
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20792
*) ac_try_echo=$ac_try;;
20794
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20795
(eval "$ac_link") 2>conftest.er1
20797
grep -v '^ *+' conftest.er1 >conftest.err
20799
cat conftest.err >&5
20800
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20801
(exit $ac_status); } && {
20802
test -z "$ac_c_werror_flag" ||
20803
test ! -s conftest.err
20804
} && test -s conftest$ac_exeext &&
20805
$as_test_x conftest$ac_exeext; then
20806
ac_cv_lib_dl_dlopen=yes
20808
echo "$as_me: failed program was:" >&5
20809
sed 's/^/| /' conftest.$ac_ext >&5
20811
ac_cv_lib_dl_dlopen=no
20814
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20815
conftest$ac_exeext conftest.$ac_ext
20816
LIBS=$ac_check_lib_save_LIBS
20818
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
20819
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
20820
if test $ac_cv_lib_dl_dlopen = yes; then
20821
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
20824
lt_cv_dlopen="dyld"
20826
lt_cv_dlopen_self=yes
20833
{ echo "$as_me:$LINENO: checking for shl_load" >&5
20834
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
20835
if test "${ac_cv_func_shl_load+set}" = set; then
20836
echo $ECHO_N "(cached) $ECHO_C" >&6
20838
cat >conftest.$ac_ext <<_ACEOF
20841
cat confdefs.h >>conftest.$ac_ext
20842
cat >>conftest.$ac_ext <<_ACEOF
20843
/* end confdefs.h. */
20844
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
20845
For example, HP-UX 11i <limits.h> declares gettimeofday. */
20846
#define shl_load innocuous_shl_load
20848
/* System header to define __stub macros and hopefully few prototypes,
20849
which can conflict with char shl_load (); below.
20850
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20851
<limits.h> exists even on freestanding compilers. */
20854
# include <limits.h>
20856
# include <assert.h>
20861
/* Override any GCC internal prototype to avoid an error.
20862
Use char because int might match the return type of a GCC
20863
builtin and then its argument prototype would still apply. */
20868
/* The GNU C library defines this for functions which it implements
20869
to always fail with ENOSYS. Some functions are actually named
20870
something starting with __ and the normal name is an alias. */
20871
#if defined __stub_shl_load || defined __stub___shl_load
20878
return shl_load ();
20883
rm -f conftest.$ac_objext conftest$ac_exeext
20884
if { (ac_try="$ac_link"
20885
case "(($ac_try" in
20886
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20887
*) ac_try_echo=$ac_try;;
20889
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20890
(eval "$ac_link") 2>conftest.er1
20892
grep -v '^ *+' conftest.er1 >conftest.err
20894
cat conftest.err >&5
20895
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20896
(exit $ac_status); } && {
20897
test -z "$ac_c_werror_flag" ||
20898
test ! -s conftest.err
20899
} && test -s conftest$ac_exeext &&
20900
$as_test_x conftest$ac_exeext; then
20901
ac_cv_func_shl_load=yes
20903
echo "$as_me: failed program was:" >&5
20904
sed 's/^/| /' conftest.$ac_ext >&5
20906
ac_cv_func_shl_load=no
20909
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20910
conftest$ac_exeext conftest.$ac_ext
20912
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
20913
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
20914
if test $ac_cv_func_shl_load = yes; then
20915
lt_cv_dlopen="shl_load"
20917
{ echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
20918
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
20919
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
20920
echo $ECHO_N "(cached) $ECHO_C" >&6
20922
ac_check_lib_save_LIBS=$LIBS
20924
cat >conftest.$ac_ext <<_ACEOF
20927
cat confdefs.h >>conftest.$ac_ext
20928
cat >>conftest.$ac_ext <<_ACEOF
20929
/* end confdefs.h. */
20931
/* Override any GCC internal prototype to avoid an error.
20932
Use char because int might match the return type of a GCC
20933
builtin and then its argument prototype would still apply. */
20941
return shl_load ();
20946
rm -f conftest.$ac_objext conftest$ac_exeext
20947
if { (ac_try="$ac_link"
20948
case "(($ac_try" in
20949
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20950
*) ac_try_echo=$ac_try;;
20952
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20953
(eval "$ac_link") 2>conftest.er1
20955
grep -v '^ *+' conftest.er1 >conftest.err
20957
cat conftest.err >&5
20958
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20959
(exit $ac_status); } && {
20960
test -z "$ac_c_werror_flag" ||
20961
test ! -s conftest.err
20962
} && test -s conftest$ac_exeext &&
20963
$as_test_x conftest$ac_exeext; then
20964
ac_cv_lib_dld_shl_load=yes
20966
echo "$as_me: failed program was:" >&5
20967
sed 's/^/| /' conftest.$ac_ext >&5
20969
ac_cv_lib_dld_shl_load=no
20972
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20973
conftest$ac_exeext conftest.$ac_ext
20974
LIBS=$ac_check_lib_save_LIBS
20976
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
20977
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
20978
if test $ac_cv_lib_dld_shl_load = yes; then
20979
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
20981
{ echo "$as_me:$LINENO: checking for dlopen" >&5
20982
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
20983
if test "${ac_cv_func_dlopen+set}" = set; then
20984
echo $ECHO_N "(cached) $ECHO_C" >&6
20986
cat >conftest.$ac_ext <<_ACEOF
20989
cat confdefs.h >>conftest.$ac_ext
20990
cat >>conftest.$ac_ext <<_ACEOF
20991
/* end confdefs.h. */
20992
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
20993
For example, HP-UX 11i <limits.h> declares gettimeofday. */
20994
#define dlopen innocuous_dlopen
20996
/* System header to define __stub macros and hopefully few prototypes,
20997
which can conflict with char dlopen (); below.
20998
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20999
<limits.h> exists even on freestanding compilers. */
21002
# include <limits.h>
21004
# include <assert.h>
21009
/* Override any GCC internal prototype to avoid an error.
21010
Use char because int might match the return type of a GCC
21011
builtin and then its argument prototype would still apply. */
21016
/* The GNU C library defines this for functions which it implements
21017
to always fail with ENOSYS. Some functions are actually named
21018
something starting with __ and the normal name is an alias. */
21019
#if defined __stub_dlopen || defined __stub___dlopen
21031
rm -f conftest.$ac_objext conftest$ac_exeext
21032
if { (ac_try="$ac_link"
21033
case "(($ac_try" in
21034
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21035
*) ac_try_echo=$ac_try;;
21037
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21038
(eval "$ac_link") 2>conftest.er1
21040
grep -v '^ *+' conftest.er1 >conftest.err
21042
cat conftest.err >&5
21043
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21044
(exit $ac_status); } && {
21045
test -z "$ac_c_werror_flag" ||
21046
test ! -s conftest.err
21047
} && test -s conftest$ac_exeext &&
21048
$as_test_x conftest$ac_exeext; then
21049
ac_cv_func_dlopen=yes
21051
echo "$as_me: failed program was:" >&5
21052
sed 's/^/| /' conftest.$ac_ext >&5
21054
ac_cv_func_dlopen=no
21057
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21058
conftest$ac_exeext conftest.$ac_ext
21060
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
21061
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
21062
if test $ac_cv_func_dlopen = yes; then
21063
lt_cv_dlopen="dlopen"
21065
{ echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
21066
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
21067
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
21068
echo $ECHO_N "(cached) $ECHO_C" >&6
21070
ac_check_lib_save_LIBS=$LIBS
21072
cat >conftest.$ac_ext <<_ACEOF
21075
cat confdefs.h >>conftest.$ac_ext
21076
cat >>conftest.$ac_ext <<_ACEOF
21077
/* end confdefs.h. */
21079
/* Override any GCC internal prototype to avoid an error.
21080
Use char because int might match the return type of a GCC
21081
builtin and then its argument prototype would still apply. */
21094
rm -f conftest.$ac_objext conftest$ac_exeext
21095
if { (ac_try="$ac_link"
21096
case "(($ac_try" in
21097
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21098
*) ac_try_echo=$ac_try;;
21100
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21101
(eval "$ac_link") 2>conftest.er1
21103
grep -v '^ *+' conftest.er1 >conftest.err
21105
cat conftest.err >&5
21106
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21107
(exit $ac_status); } && {
21108
test -z "$ac_c_werror_flag" ||
21109
test ! -s conftest.err
21110
} && test -s conftest$ac_exeext &&
21111
$as_test_x conftest$ac_exeext; then
21112
ac_cv_lib_dl_dlopen=yes
21114
echo "$as_me: failed program was:" >&5
21115
sed 's/^/| /' conftest.$ac_ext >&5
21117
ac_cv_lib_dl_dlopen=no
21120
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21121
conftest$ac_exeext conftest.$ac_ext
21122
LIBS=$ac_check_lib_save_LIBS
21124
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
21125
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
21126
if test $ac_cv_lib_dl_dlopen = yes; then
21127
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
21129
{ echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
21130
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
21131
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
21132
echo $ECHO_N "(cached) $ECHO_C" >&6
21134
ac_check_lib_save_LIBS=$LIBS
21135
LIBS="-lsvld $LIBS"
21136
cat >conftest.$ac_ext <<_ACEOF
21139
cat confdefs.h >>conftest.$ac_ext
21140
cat >>conftest.$ac_ext <<_ACEOF
21141
/* end confdefs.h. */
21143
/* Override any GCC internal prototype to avoid an error.
21144
Use char because int might match the return type of a GCC
21145
builtin and then its argument prototype would still apply. */
21158
rm -f conftest.$ac_objext conftest$ac_exeext
21159
if { (ac_try="$ac_link"
21160
case "(($ac_try" in
21161
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21162
*) ac_try_echo=$ac_try;;
21164
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21165
(eval "$ac_link") 2>conftest.er1
21167
grep -v '^ *+' conftest.er1 >conftest.err
21169
cat conftest.err >&5
21170
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21171
(exit $ac_status); } && {
21172
test -z "$ac_c_werror_flag" ||
21173
test ! -s conftest.err
21174
} && test -s conftest$ac_exeext &&
21175
$as_test_x conftest$ac_exeext; then
21176
ac_cv_lib_svld_dlopen=yes
21178
echo "$as_me: failed program was:" >&5
21179
sed 's/^/| /' conftest.$ac_ext >&5
21181
ac_cv_lib_svld_dlopen=no
21184
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21185
conftest$ac_exeext conftest.$ac_ext
21186
LIBS=$ac_check_lib_save_LIBS
21188
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
21189
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
21190
if test $ac_cv_lib_svld_dlopen = yes; then
21191
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
21193
{ echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
21194
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
21195
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
21196
echo $ECHO_N "(cached) $ECHO_C" >&6
21198
ac_check_lib_save_LIBS=$LIBS
21200
cat >conftest.$ac_ext <<_ACEOF
21203
cat confdefs.h >>conftest.$ac_ext
21204
cat >>conftest.$ac_ext <<_ACEOF
21205
/* end confdefs.h. */
21207
/* Override any GCC internal prototype to avoid an error.
21208
Use char because int might match the return type of a GCC
21209
builtin and then its argument prototype would still apply. */
21217
return dld_link ();
21222
rm -f conftest.$ac_objext conftest$ac_exeext
21223
if { (ac_try="$ac_link"
21224
case "(($ac_try" in
21225
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21226
*) ac_try_echo=$ac_try;;
21228
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21229
(eval "$ac_link") 2>conftest.er1
21231
grep -v '^ *+' conftest.er1 >conftest.err
21233
cat conftest.err >&5
21234
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21235
(exit $ac_status); } && {
21236
test -z "$ac_c_werror_flag" ||
21237
test ! -s conftest.err
21238
} && test -s conftest$ac_exeext &&
21239
$as_test_x conftest$ac_exeext; then
21240
ac_cv_lib_dld_dld_link=yes
21242
echo "$as_me: failed program was:" >&5
21243
sed 's/^/| /' conftest.$ac_ext >&5
21245
ac_cv_lib_dld_dld_link=no
21248
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21249
conftest$ac_exeext conftest.$ac_ext
21250
LIBS=$ac_check_lib_save_LIBS
21252
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
21253
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
21254
if test $ac_cv_lib_dld_dld_link = yes; then
21255
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
21276
if test "x$lt_cv_dlopen" != xno; then
21282
case $lt_cv_dlopen in
21284
save_CPPFLAGS="$CPPFLAGS"
21285
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
21287
save_LDFLAGS="$LDFLAGS"
21288
eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
21291
LIBS="$lt_cv_dlopen_libs $LIBS"
21293
{ echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
21294
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
21295
if test "${lt_cv_dlopen_self+set}" = set; then
21296
echo $ECHO_N "(cached) $ECHO_C" >&6
21298
if test "$cross_compiling" = yes; then :
21299
lt_cv_dlopen_self=cross
21301
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
21302
lt_status=$lt_dlunknown
21303
cat > conftest.$ac_ext <<EOF
21304
#line __oline__ "configure"
21305
#include "confdefs.h"
21314
# define LT_DLGLOBAL RTLD_GLOBAL
21317
# define LT_DLGLOBAL DL_GLOBAL
21319
# define LT_DLGLOBAL 0
21323
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
21324
find out it does not work in some platform. */
21325
#ifndef LT_DLLAZY_OR_NOW
21327
# define LT_DLLAZY_OR_NOW RTLD_LAZY
21330
# define LT_DLLAZY_OR_NOW DL_LAZY
21333
# define LT_DLLAZY_OR_NOW RTLD_NOW
21336
# define LT_DLLAZY_OR_NOW DL_NOW
21338
# define LT_DLLAZY_OR_NOW 0
21346
extern "C" void exit (int);
21349
void fnord() { int i=42;}
21352
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
21353
int status = $lt_dlunknown;
21357
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
21358
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
21359
/* dlclose (self); */
21365
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21366
(eval $ac_link) 2>&5
21368
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21369
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
21370
(./conftest; exit; ) 2>/dev/null
21372
case x$lt_status in
21373
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
21374
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
21375
x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
21378
# compilation failed
21379
lt_cv_dlopen_self=no
21386
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
21387
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
21389
if test "x$lt_cv_dlopen_self" = xyes; then
21390
LDFLAGS="$LDFLAGS $link_static_flag"
21391
{ echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
21392
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
21393
if test "${lt_cv_dlopen_self_static+set}" = set; then
21394
echo $ECHO_N "(cached) $ECHO_C" >&6
21396
if test "$cross_compiling" = yes; then :
21397
lt_cv_dlopen_self_static=cross
21399
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
21400
lt_status=$lt_dlunknown
21401
cat > conftest.$ac_ext <<EOF
21402
#line __oline__ "configure"
21403
#include "confdefs.h"
21412
# define LT_DLGLOBAL RTLD_GLOBAL
21415
# define LT_DLGLOBAL DL_GLOBAL
21417
# define LT_DLGLOBAL 0
21421
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
21422
find out it does not work in some platform. */
21423
#ifndef LT_DLLAZY_OR_NOW
21425
# define LT_DLLAZY_OR_NOW RTLD_LAZY
21428
# define LT_DLLAZY_OR_NOW DL_LAZY
21431
# define LT_DLLAZY_OR_NOW RTLD_NOW
21434
# define LT_DLLAZY_OR_NOW DL_NOW
21436
# define LT_DLLAZY_OR_NOW 0
21444
extern "C" void exit (int);
21447
void fnord() { int i=42;}
21450
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
21451
int status = $lt_dlunknown;
21455
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
21456
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
21457
/* dlclose (self); */
21463
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21464
(eval $ac_link) 2>&5
21466
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21467
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
21468
(./conftest; exit; ) 2>/dev/null
21470
case x$lt_status in
21471
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
21472
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
21473
x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
21476
# compilation failed
21477
lt_cv_dlopen_self_static=no
21484
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
21485
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
21488
CPPFLAGS="$save_CPPFLAGS"
21489
LDFLAGS="$save_LDFLAGS"
21494
case $lt_cv_dlopen_self in
21495
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
21496
*) enable_dlopen_self=unknown ;;
21499
case $lt_cv_dlopen_self_static in
21500
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
21501
*) enable_dlopen_self_static=unknown ;;
21506
# The else clause should only fire when bootstrapping the
21507
# libtool distribution, otherwise you forgot to ship ltmain.sh
21508
# with your package, and you will get complaints that there are
21509
# no rules to generate ltmain.sh.
21510
if test -f "$ltmain"; then
21511
# See if we are running on zsh, and set the options which allow our commands through
21512
# without removal of \ escapes.
21513
if test -n "${ZSH_VERSION+set}" ; then
21514
setopt NO_GLOB_SUBST
21516
# Now quote all the things that may contain metacharacters while being
21517
# careful not to overquote the AC_SUBSTed values. We take copies of the
21518
# variables and quote the copies for generation of the libtool script.
21519
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
21520
libname_spec library_names_spec soname_spec extract_expsyms_cmds \
21521
old_striplib striplib file_magic_cmd finish_cmds finish_eval \
21522
deplibs_check_method reload_flag reload_cmds need_locks \
21523
lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
21524
lt_cv_sys_global_symbol_to_c_name_address \
21525
sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
21526
old_postinstall_cmds old_postuninstall_cmds \
21530
lt_prog_compiler_wl_GCJ \
21531
lt_prog_compiler_pic_GCJ \
21532
lt_prog_compiler_static_GCJ \
21533
lt_prog_compiler_no_builtin_flag_GCJ \
21534
export_dynamic_flag_spec_GCJ \
21535
thread_safe_flag_spec_GCJ \
21536
whole_archive_flag_spec_GCJ \
21537
enable_shared_with_static_runtimes_GCJ \
21538
old_archive_cmds_GCJ \
21539
old_archive_from_new_cmds_GCJ \
21540
predep_objects_GCJ \
21541
postdep_objects_GCJ \
21544
compiler_lib_search_path_GCJ \
21546
archive_expsym_cmds_GCJ \
21547
postinstall_cmds_GCJ \
21548
postuninstall_cmds_GCJ \
21549
old_archive_from_expsyms_cmds_GCJ \
21550
allow_undefined_flag_GCJ \
21551
no_undefined_flag_GCJ \
21552
export_symbols_cmds_GCJ \
21553
hardcode_libdir_flag_spec_GCJ \
21554
hardcode_libdir_flag_spec_ld_GCJ \
21555
hardcode_libdir_separator_GCJ \
21556
hardcode_automatic_GCJ \
21558
module_expsym_cmds_GCJ \
21559
lt_cv_prog_compiler_c_o_GCJ \
21560
exclude_expsyms_GCJ \
21561
include_expsyms_GCJ; do
21564
old_archive_cmds_GCJ | \
21565
old_archive_from_new_cmds_GCJ | \
21566
archive_cmds_GCJ | \
21567
archive_expsym_cmds_GCJ | \
21568
module_cmds_GCJ | \
21569
module_expsym_cmds_GCJ | \
21570
old_archive_from_expsyms_cmds_GCJ | \
21571
export_symbols_cmds_GCJ | \
21572
extract_expsyms_cmds | reload_cmds | finish_cmds | \
21573
postinstall_cmds | postuninstall_cmds | \
21574
old_postinstall_cmds | old_postuninstall_cmds | \
21575
sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
21576
# Double-quote double-evaled strings.
21577
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
21580
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
21586
*'\$0 --fallback-echo"')
21587
lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
21593
cat <<__EOF__ >> "$cfgfile"
21594
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
21596
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21598
# Shell to use when invoking shell scripts.
21601
# Whether or not to build shared libraries.
21602
build_libtool_libs=$enable_shared
21604
# Whether or not to build static libraries.
21605
build_old_libs=$enable_static
21607
# Whether or not to add -lc for building shared libraries.
21608
build_libtool_need_lc=$archive_cmds_need_lc_GCJ
21610
# Whether or not to disallow shared libs when runtime libs are static
21611
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
21613
# Whether or not to optimize for fast installation.
21614
fast_install=$enable_fast_install
21617
host_alias=$host_alias
21620
# An echo program that does not interpret backslashes.
21625
AR_FLAGS=$lt_AR_FLAGS
21630
# A language-specific compiler.
21631
CC=$lt_compiler_GCJ
21633
# Is the compiler the GNU C compiler?
21639
# The linker used to build libraries.
21642
# Whether we need hard or soft links.
21645
# A BSD-compatible nm program.
21648
# A symbol stripping program
21651
# Used to examine libraries when file_magic_cmd begins "file"
21652
MAGIC_CMD=$MAGIC_CMD
21654
# Used on cygwin: DLL creation program.
21657
# Used on cygwin: object dumper.
21660
# Used on cygwin: assembler.
21663
# The name of the directory that contains temporary libtool files.
21666
# How to create reloadable object files.
21667
reload_flag=$lt_reload_flag
21668
reload_cmds=$lt_reload_cmds
21670
# How to pass a linker flag through the compiler.
21671
wl=$lt_lt_prog_compiler_wl_GCJ
21673
# Object file suffix (normally "o").
21674
objext="$ac_objext"
21676
# Old archive suffix (normally "a").
21679
# Shared library suffix (normally ".so").
21682
# Executable file suffix (normally "").
21685
# Additional compiler flags for building library objects.
21686
pic_flag=$lt_lt_prog_compiler_pic_GCJ
21689
# What is the maximum length of a command?
21690
max_cmd_len=$lt_cv_sys_max_cmd_len
21692
# Does compiler simultaneously support -c and -o options?
21693
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
21695
# Must we lock files when doing compilation ?
21696
need_locks=$lt_need_locks
21698
# Do we need the lib prefix for modules?
21699
need_lib_prefix=$need_lib_prefix
21701
# Do we need a version for libraries?
21702
need_version=$need_version
21704
# Whether dlopen is supported.
21705
dlopen_support=$enable_dlopen
21707
# Whether dlopen of programs is supported.
21708
dlopen_self=$enable_dlopen_self
21710
# Whether dlopen of statically linked programs is supported.
21711
dlopen_self_static=$enable_dlopen_self_static
21713
# Compiler flag to prevent dynamic linking.
21714
link_static_flag=$lt_lt_prog_compiler_static_GCJ
21716
# Compiler flag to turn off builtin functions.
21717
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
21719
# Compiler flag to allow reflexive dlopens.
21720
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
21722
# Compiler flag to generate shared objects directly from archives.
21723
whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
21725
# Compiler flag to generate thread-safe objects.
21726
thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
21728
# Library versioning type.
21729
version_type=$version_type
21731
# Format of library name prefix.
21732
libname_spec=$lt_libname_spec
21734
# List of archive names. First name is the real one, the rest are links.
21735
# The last name is the one that the linker finds with -lNAME.
21736
library_names_spec=$lt_library_names_spec
21738
# The coded name of the library, if different from the real name.
21739
soname_spec=$lt_soname_spec
21741
# Commands used to build and install an old-style archive.
21743
old_archive_cmds=$lt_old_archive_cmds_GCJ
21744
old_postinstall_cmds=$lt_old_postinstall_cmds
21745
old_postuninstall_cmds=$lt_old_postuninstall_cmds
21747
# Create an old-style archive from a shared archive.
21748
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
21750
# Create a temporary old-style archive to link instead of a shared archive.
21751
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
21753
# Commands used to build and install a shared archive.
21754
archive_cmds=$lt_archive_cmds_GCJ
21755
archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
21756
postinstall_cmds=$lt_postinstall_cmds
21757
postuninstall_cmds=$lt_postuninstall_cmds
21759
# Commands used to build a loadable module (assumed same as above if empty)
21760
module_cmds=$lt_module_cmds_GCJ
21761
module_expsym_cmds=$lt_module_expsym_cmds_GCJ
21763
# Commands to strip libraries.
21764
old_striplib=$lt_old_striplib
21765
striplib=$lt_striplib
21767
# Dependencies to place before the objects being linked to create a
21769
predep_objects=$lt_predep_objects_GCJ
21771
# Dependencies to place after the objects being linked to create a
21773
postdep_objects=$lt_postdep_objects_GCJ
21775
# Dependencies to place before the objects being linked to create a
21777
predeps=$lt_predeps_GCJ
21779
# Dependencies to place after the objects being linked to create a
21781
postdeps=$lt_postdeps_GCJ
21783
# The library search path used internally by the compiler when linking
21784
# a shared library.
21785
compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
21787
# Method to check whether dependent libraries are shared objects.
21788
deplibs_check_method=$lt_deplibs_check_method
21790
# Command to use when deplibs_check_method == file_magic.
21791
file_magic_cmd=$lt_file_magic_cmd
21793
# Flag that allows shared libraries with undefined symbols to be built.
21794
allow_undefined_flag=$lt_allow_undefined_flag_GCJ
21796
# Flag that forces no undefined symbols.
21797
no_undefined_flag=$lt_no_undefined_flag_GCJ
21799
# Commands used to finish a libtool library installation in a directory.
21800
finish_cmds=$lt_finish_cmds
21802
# Same as above, but a single script fragment to be evaled but not shown.
21803
finish_eval=$lt_finish_eval
21805
# Take the output of nm and produce a listing of raw symbols and C names.
21806
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21808
# Transform the output of nm in a proper C declaration
21809
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21811
# Transform the output of nm in a C name address pair
21812
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21814
# This is the shared library runtime path variable.
21815
runpath_var=$runpath_var
21817
# This is the shared library path variable.
21818
shlibpath_var=$shlibpath_var
21820
# Is shlibpath searched before the hard-coded library search path?
21821
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21823
# How to hardcode a shared library path into an executable.
21824
hardcode_action=$hardcode_action_GCJ
21826
# Whether we should hardcode library paths into libraries.
21827
hardcode_into_libs=$hardcode_into_libs
21829
# Flag to hardcode \$libdir into a binary during linking.
21830
# This must work even if \$libdir does not exist.
21831
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
21833
# If ld is used when linking, flag to hardcode \$libdir into
21834
# a binary during linking. This must work even if \$libdir does
21836
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
21838
# Whether we need a single -rpath flag with a separated argument.
21839
hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
21841
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
21842
# resulting binary.
21843
hardcode_direct=$hardcode_direct_GCJ
21845
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
21846
# resulting binary.
21847
hardcode_minus_L=$hardcode_minus_L_GCJ
21849
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
21850
# the resulting binary.
21851
hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
21853
# Set to yes if building a shared library automatically hardcodes DIR into the library
21854
# and all subsequent libraries and executables linked against it.
21855
hardcode_automatic=$hardcode_automatic_GCJ
21857
# Variables whose values should be saved in libtool wrapper scripts and
21858
# restored at relink time.
21859
variables_saved_for_relink="$variables_saved_for_relink"
21861
# Whether libtool must link a program against all its dependency libraries.
21862
link_all_deplibs=$link_all_deplibs_GCJ
21864
# Compile-time system search path for libraries
21865
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21867
# Run-time system search path for libraries
21868
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21870
# Fix the shell variable \$srcfile for the compiler.
21871
fix_srcfile_path="$fix_srcfile_path_GCJ"
21873
# Set to yes if exported symbols are required.
21874
always_export_symbols=$always_export_symbols_GCJ
21876
# The commands to list exported symbols.
21877
export_symbols_cmds=$lt_export_symbols_cmds_GCJ
21879
# The commands to extract the exported symbol list from a shared archive.
21880
extract_expsyms_cmds=$lt_extract_expsyms_cmds
21882
# Symbols that should not be listed in the preloaded symbols.
21883
exclude_expsyms=$lt_exclude_expsyms_GCJ
21885
# Symbols that must always be exported.
21886
include_expsyms=$lt_include_expsyms_GCJ
21888
# ### END LIBTOOL TAG CONFIG: $tagname
21894
# If there is no Makefile yet, we rely on a make rule to execute
21895
# `config.status --recheck' to rerun these tests and create the
21896
# libtool script then.
21897
test -f Makefile && make "$ltmain"
21902
ac_cpp='$CPP $CPPFLAGS'
21903
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21904
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21905
ac_compiler_gnu=$ac_cv_c_compiler_gnu
21917
# Source file extension for RC test sources.
21920
# Object file extension for compiled RC test sources.
21924
# Code to be used in simple compile tests
21925
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
21927
# Code to be used in simple link tests
21928
lt_simple_link_test_code="$lt_simple_compile_test_code"
21930
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
21932
# If no C compiler was specified, use CC.
21935
# Allow CC to be a program name with arguments.
21939
# Allow CC to be a program name with arguments.
21944
lt_cv_prog_compiler_c_o_RC=yes
21946
# The else clause should only fire when bootstrapping the
21947
# libtool distribution, otherwise you forgot to ship ltmain.sh
21948
# with your package, and you will get complaints that there are
21949
# no rules to generate ltmain.sh.
21950
if test -f "$ltmain"; then
21951
# See if we are running on zsh, and set the options which allow our commands through
21952
# without removal of \ escapes.
21953
if test -n "${ZSH_VERSION+set}" ; then
21954
setopt NO_GLOB_SUBST
21956
# Now quote all the things that may contain metacharacters while being
21957
# careful not to overquote the AC_SUBSTed values. We take copies of the
21958
# variables and quote the copies for generation of the libtool script.
21959
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
21960
libname_spec library_names_spec soname_spec extract_expsyms_cmds \
21961
old_striplib striplib file_magic_cmd finish_cmds finish_eval \
21962
deplibs_check_method reload_flag reload_cmds need_locks \
21963
lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
21964
lt_cv_sys_global_symbol_to_c_name_address \
21965
sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
21966
old_postinstall_cmds old_postuninstall_cmds \
21970
lt_prog_compiler_wl_RC \
21971
lt_prog_compiler_pic_RC \
21972
lt_prog_compiler_static_RC \
21973
lt_prog_compiler_no_builtin_flag_RC \
21974
export_dynamic_flag_spec_RC \
21975
thread_safe_flag_spec_RC \
21976
whole_archive_flag_spec_RC \
21977
enable_shared_with_static_runtimes_RC \
21978
old_archive_cmds_RC \
21979
old_archive_from_new_cmds_RC \
21980
predep_objects_RC \
21981
postdep_objects_RC \
21984
compiler_lib_search_path_RC \
21986
archive_expsym_cmds_RC \
21987
postinstall_cmds_RC \
21988
postuninstall_cmds_RC \
21989
old_archive_from_expsyms_cmds_RC \
21990
allow_undefined_flag_RC \
21991
no_undefined_flag_RC \
21992
export_symbols_cmds_RC \
21993
hardcode_libdir_flag_spec_RC \
21994
hardcode_libdir_flag_spec_ld_RC \
21995
hardcode_libdir_separator_RC \
21996
hardcode_automatic_RC \
21998
module_expsym_cmds_RC \
21999
lt_cv_prog_compiler_c_o_RC \
22000
exclude_expsyms_RC \
22001
include_expsyms_RC; do
22004
old_archive_cmds_RC | \
22005
old_archive_from_new_cmds_RC | \
22006
archive_cmds_RC | \
22007
archive_expsym_cmds_RC | \
22009
module_expsym_cmds_RC | \
22010
old_archive_from_expsyms_cmds_RC | \
22011
export_symbols_cmds_RC | \
22012
extract_expsyms_cmds | reload_cmds | finish_cmds | \
22013
postinstall_cmds | postuninstall_cmds | \
22014
old_postinstall_cmds | old_postuninstall_cmds | \
22015
sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
22016
# Double-quote double-evaled strings.
22017
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
22020
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
22026
*'\$0 --fallback-echo"')
22027
lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
22033
cat <<__EOF__ >> "$cfgfile"
22034
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
22036
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
22038
# Shell to use when invoking shell scripts.
22041
# Whether or not to build shared libraries.
22042
build_libtool_libs=$enable_shared
22044
# Whether or not to build static libraries.
22045
build_old_libs=$enable_static
22047
# Whether or not to add -lc for building shared libraries.
22048
build_libtool_need_lc=$archive_cmds_need_lc_RC
22050
# Whether or not to disallow shared libs when runtime libs are static
22051
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
22053
# Whether or not to optimize for fast installation.
22054
fast_install=$enable_fast_install
22057
host_alias=$host_alias
22060
# An echo program that does not interpret backslashes.
22065
AR_FLAGS=$lt_AR_FLAGS
22070
# A language-specific compiler.
22073
# Is the compiler the GNU C compiler?
22079
# The linker used to build libraries.
22082
# Whether we need hard or soft links.
22085
# A BSD-compatible nm program.
22088
# A symbol stripping program
22091
# Used to examine libraries when file_magic_cmd begins "file"
22092
MAGIC_CMD=$MAGIC_CMD
22094
# Used on cygwin: DLL creation program.
22097
# Used on cygwin: object dumper.
22100
# Used on cygwin: assembler.
22103
# The name of the directory that contains temporary libtool files.
22106
# How to create reloadable object files.
22107
reload_flag=$lt_reload_flag
22108
reload_cmds=$lt_reload_cmds
22110
# How to pass a linker flag through the compiler.
22111
wl=$lt_lt_prog_compiler_wl_RC
22113
# Object file suffix (normally "o").
22114
objext="$ac_objext"
22116
# Old archive suffix (normally "a").
22119
# Shared library suffix (normally ".so").
22122
# Executable file suffix (normally "").
22125
# Additional compiler flags for building library objects.
22126
pic_flag=$lt_lt_prog_compiler_pic_RC
22129
# What is the maximum length of a command?
22130
max_cmd_len=$lt_cv_sys_max_cmd_len
22132
# Does compiler simultaneously support -c and -o options?
22133
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
22135
# Must we lock files when doing compilation ?
22136
need_locks=$lt_need_locks
22138
# Do we need the lib prefix for modules?
22139
need_lib_prefix=$need_lib_prefix
22141
# Do we need a version for libraries?
22142
need_version=$need_version
22144
# Whether dlopen is supported.
22145
dlopen_support=$enable_dlopen
22147
# Whether dlopen of programs is supported.
22148
dlopen_self=$enable_dlopen_self
22150
# Whether dlopen of statically linked programs is supported.
22151
dlopen_self_static=$enable_dlopen_self_static
22153
# Compiler flag to prevent dynamic linking.
22154
link_static_flag=$lt_lt_prog_compiler_static_RC
22156
# Compiler flag to turn off builtin functions.
22157
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
22159
# Compiler flag to allow reflexive dlopens.
22160
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
22162
# Compiler flag to generate shared objects directly from archives.
22163
whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
22165
# Compiler flag to generate thread-safe objects.
22166
thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
22168
# Library versioning type.
22169
version_type=$version_type
22171
# Format of library name prefix.
22172
libname_spec=$lt_libname_spec
22174
# List of archive names. First name is the real one, the rest are links.
22175
# The last name is the one that the linker finds with -lNAME.
22176
library_names_spec=$lt_library_names_spec
22178
# The coded name of the library, if different from the real name.
22179
soname_spec=$lt_soname_spec
22181
# Commands used to build and install an old-style archive.
22183
old_archive_cmds=$lt_old_archive_cmds_RC
22184
old_postinstall_cmds=$lt_old_postinstall_cmds
22185
old_postuninstall_cmds=$lt_old_postuninstall_cmds
22187
# Create an old-style archive from a shared archive.
22188
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
22190
# Create a temporary old-style archive to link instead of a shared archive.
22191
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
22193
# Commands used to build and install a shared archive.
22194
archive_cmds=$lt_archive_cmds_RC
22195
archive_expsym_cmds=$lt_archive_expsym_cmds_RC
22196
postinstall_cmds=$lt_postinstall_cmds
22197
postuninstall_cmds=$lt_postuninstall_cmds
22199
# Commands used to build a loadable module (assumed same as above if empty)
22200
module_cmds=$lt_module_cmds_RC
22201
module_expsym_cmds=$lt_module_expsym_cmds_RC
22203
# Commands to strip libraries.
22204
old_striplib=$lt_old_striplib
22205
striplib=$lt_striplib
22207
# Dependencies to place before the objects being linked to create a
22209
predep_objects=$lt_predep_objects_RC
22211
# Dependencies to place after the objects being linked to create a
22213
postdep_objects=$lt_postdep_objects_RC
22215
# Dependencies to place before the objects being linked to create a
22217
predeps=$lt_predeps_RC
22219
# Dependencies to place after the objects being linked to create a
22221
postdeps=$lt_postdeps_RC
22223
# The library search path used internally by the compiler when linking
22224
# a shared library.
22225
compiler_lib_search_path=$lt_compiler_lib_search_path_RC
22227
# Method to check whether dependent libraries are shared objects.
22228
deplibs_check_method=$lt_deplibs_check_method
22230
# Command to use when deplibs_check_method == file_magic.
22231
file_magic_cmd=$lt_file_magic_cmd
22233
# Flag that allows shared libraries with undefined symbols to be built.
22234
allow_undefined_flag=$lt_allow_undefined_flag_RC
22236
# Flag that forces no undefined symbols.
22237
no_undefined_flag=$lt_no_undefined_flag_RC
22239
# Commands used to finish a libtool library installation in a directory.
22240
finish_cmds=$lt_finish_cmds
22242
# Same as above, but a single script fragment to be evaled but not shown.
22243
finish_eval=$lt_finish_eval
22245
# Take the output of nm and produce a listing of raw symbols and C names.
22246
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
22248
# Transform the output of nm in a proper C declaration
22249
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
22251
# Transform the output of nm in a C name address pair
22252
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
22254
# This is the shared library runtime path variable.
22255
runpath_var=$runpath_var
22257
# This is the shared library path variable.
22258
shlibpath_var=$shlibpath_var
22260
# Is shlibpath searched before the hard-coded library search path?
22261
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
22263
# How to hardcode a shared library path into an executable.
22264
hardcode_action=$hardcode_action_RC
22266
# Whether we should hardcode library paths into libraries.
22267
hardcode_into_libs=$hardcode_into_libs
22269
# Flag to hardcode \$libdir into a binary during linking.
22270
# This must work even if \$libdir does not exist.
22271
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
22273
# If ld is used when linking, flag to hardcode \$libdir into
22274
# a binary during linking. This must work even if \$libdir does
22276
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
22278
# Whether we need a single -rpath flag with a separated argument.
22279
hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
22281
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
22282
# resulting binary.
22283
hardcode_direct=$hardcode_direct_RC
22285
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
22286
# resulting binary.
22287
hardcode_minus_L=$hardcode_minus_L_RC
22289
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
22290
# the resulting binary.
22291
hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
22293
# Set to yes if building a shared library automatically hardcodes DIR into the library
22294
# and all subsequent libraries and executables linked against it.
22295
hardcode_automatic=$hardcode_automatic_RC
22297
# Variables whose values should be saved in libtool wrapper scripts and
22298
# restored at relink time.
22299
variables_saved_for_relink="$variables_saved_for_relink"
22301
# Whether libtool must link a program against all its dependency libraries.
22302
link_all_deplibs=$link_all_deplibs_RC
22304
# Compile-time system search path for libraries
22305
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
22307
# Run-time system search path for libraries
22308
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
22310
# Fix the shell variable \$srcfile for the compiler.
22311
fix_srcfile_path="$fix_srcfile_path_RC"
22313
# Set to yes if exported symbols are required.
22314
always_export_symbols=$always_export_symbols_RC
22316
# The commands to list exported symbols.
22317
export_symbols_cmds=$lt_export_symbols_cmds_RC
22319
# The commands to extract the exported symbol list from a shared archive.
22320
extract_expsyms_cmds=$lt_extract_expsyms_cmds
22322
# Symbols that should not be listed in the preloaded symbols.
22323
exclude_expsyms=$lt_exclude_expsyms_RC
22325
# Symbols that must always be exported.
22326
include_expsyms=$lt_include_expsyms_RC
22328
# ### END LIBTOOL TAG CONFIG: $tagname
22334
# If there is no Makefile yet, we rely on a make rule to execute
22335
# `config.status --recheck' to rerun these tests and create the
22336
# libtool script then.
22337
test -f Makefile && make "$ltmain"
22342
ac_cpp='$CPP $CPPFLAGS'
22343
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22344
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22345
ac_compiler_gnu=$ac_cv_c_compiler_gnu
22352
{ { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
22353
echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
22354
{ (exit 1); exit 1; }; }
22358
# Append the new tag name to the list of available tags.
22359
if test -n "$tagname" ; then
22360
available_tags="$available_tags $tagname"
22366
# Now substitute the updated list of available tags.
22367
if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
22368
mv "${ofile}T" "$ofile"
22372
{ { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
22373
echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
22374
{ (exit 1); exit 1; }; }
22380
# This can be used to rebuild libtool when needed
22381
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
22383
# Always use our own libtool.
22384
LIBTOOL='$(SHELL) $(top_builddir)/libtool --silent'
22386
# Prevent multiple expansion
22421
LIBTOOL_SHELL="/bin/sh ./libtool"
22422
# LIBTOOL="$LIBTOOL --silent"
22423
KDE_PLUGIN="-avoid-version -module -no-undefined \$(KDE_NO_UNDEFINED) \$(KDE_RPATH) \$(KDE_MT_LDFLAGS)"
22426
# we patch configure quite some so we better keep that consistent for incremental runs
22427
AUTOCONF='$(SHELL) $(top_srcdir)/admin/cvs.sh configure || touch configure'
22433
# Extract the first word of "msgfmt", so it can be a program name with args.
22434
set dummy msgfmt; ac_word=$2
22435
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
22436
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22437
if test "${ac_cv_path_MSGFMT+set}" = set; then
22438
echo $ECHO_N "(cached) $ECHO_C" >&6
22442
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
22445
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
22446
for ac_dir in $PATH; do
22447
test -z "$ac_dir" && ac_dir=.
22448
if test -f $ac_dir/$ac_word; then
22449
if test -n "`$ac_dir/$ac_word --version 2>&1 | grep 'GNU gettext'`"; then
22450
ac_cv_path_MSGFMT="$ac_dir/$ac_word"
22456
test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="msgfmt"
22460
MSGFMT="$ac_cv_path_MSGFMT"
22461
if test -n "$MSGFMT"; then
22462
{ echo "$as_me:$LINENO: result: $MSGFMT" >&5
22463
echo "${ECHO_T}$MSGFMT" >&6; }
22465
{ echo "$as_me:$LINENO: result: no" >&5
22466
echo "${ECHO_T}no" >&6; }
22469
# Extract the first word of "gmsgfmt", so it can be a program name with args.
22470
set dummy gmsgfmt; ac_word=$2
22471
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
22472
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22473
if test "${ac_cv_path_GMSGFMT+set}" = set; then
22474
echo $ECHO_N "(cached) $ECHO_C" >&6
22478
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
22481
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22482
for as_dir in $PATH
22485
test -z "$as_dir" && as_dir=.
22486
for ac_exec_ext in '' $ac_executable_extensions; do
22487
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22488
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
22489
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22496
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
22500
GMSGFMT=$ac_cv_path_GMSGFMT
22501
if test -n "$GMSGFMT"; then
22502
{ echo "$as_me:$LINENO: result: $GMSGFMT" >&5
22503
echo "${ECHO_T}$GMSGFMT" >&6; }
22505
{ echo "$as_me:$LINENO: result: no" >&5
22506
echo "${ECHO_T}no" >&6; }
22511
if test -z "`$GMSGFMT --version 2>&1 | grep 'GNU gettext'`"; then
22512
{ echo "$as_me:$LINENO: result: found msgfmt program is not GNU msgfmt; ignore it" >&5
22513
echo "${ECHO_T}found msgfmt program is not GNU msgfmt; ignore it" >&6; }
22520
# Extract the first word of "xgettext", so it can be a program name with args.
22521
set dummy xgettext; ac_word=$2
22522
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
22523
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22524
if test "${ac_cv_path_XGETTEXT+set}" = set; then
22525
echo $ECHO_N "(cached) $ECHO_C" >&6
22527
case "$XGETTEXT" in
22529
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
22532
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
22533
for ac_dir in $PATH; do
22534
test -z "$ac_dir" && ac_dir=.
22535
if test -f $ac_dir/$ac_word; then
22536
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
22537
ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
22543
test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
22547
XGETTEXT="$ac_cv_path_XGETTEXT"
22548
if test -n "$XGETTEXT"; then
22549
{ echo "$as_me:$LINENO: result: $XGETTEXT" >&5
22550
echo "${ECHO_T}$XGETTEXT" >&6; }
22552
{ echo "$as_me:$LINENO: result: no" >&5
22553
echo "${ECHO_T}no" >&6; }
22557
if test "$XGETTEXT" != ":"; then
22558
if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
22561
{ echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5
22562
echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6; }
22571
if test -z "3.2.0"; then
22572
# Current default Qt version: 3.3
22576
kde_qtsubver=`echo "3.2.0" | sed -e 's#[0-9][0-9]*\.\([0-9][0-9]*\).*#\1#'`
22577
# following is the check if subversion isnt found in passed argument
22578
if test "$kde_qtsubver" = "3.2.0"; then
22581
kde_qtver=`echo "3.2.0" | sed -e 's#^\([0-9][0-9]*\)\..*#\1#'`
22582
if test "$kde_qtver" = "1"; then
22587
if test -z ""; then
22588
if test "$kde_qtver" = "2"; then
22589
if test $kde_qtsubver -gt 0; then
22590
kde_qt_minversion=">= Qt 2.2.2"
22592
kde_qt_minversion=">= Qt 2.0.2"
22595
if test "$kde_qtver" = "3"; then
22596
if test $kde_qtsubver -gt 0; then
22597
if test $kde_qtsubver -gt 1; then
22598
if test $kde_qtsubver -gt 2; then
22599
kde_qt_minversion=">= Qt 3.3 and < 4.0"
22601
kde_qt_minversion=">= Qt 3.2 and < 4.0"
22604
kde_qt_minversion=">= Qt 3.1 (20021021) and < 4.0"
22607
kde_qt_minversion=">= Qt 3.0 and < 4.0"
22610
if test "$kde_qtver" = "1"; then
22611
kde_qt_minversion=">= 1.42 and < 2.0"
22614
kde_qt_minversion=""
22617
if test -z ""; then
22618
if test $kde_qtver = 3; then
22619
if test $kde_qtsubver -gt 0; then
22620
kde_qt_verstring="QT_VERSION >= 0x03@VER@00 && QT_VERSION < 0x040000"
22621
qtsubver=`echo "00$kde_qtsubver" | sed -e 's,.*\(..\)$,\1,'`
22622
kde_qt_verstring=`echo $kde_qt_verstring | sed -e "s,@VER@,$qtsubver,"`
22624
kde_qt_verstring="QT_VERSION >= 300 && QT_VERSION < 0x040000"
22627
if test $kde_qtver = 2; then
22628
if test $kde_qtsubver -gt 0; then
22629
kde_qt_verstring="QT_VERSION >= 222"
22631
kde_qt_verstring="QT_VERSION >= 200"
22634
if test $kde_qtver = 1; then
22635
kde_qt_verstring="QT_VERSION >= 142 && QT_VERSION < 200"
22638
kde_qt_verstring=""
22641
if test $kde_qtver = 4; then
22642
kde_qt_dirs="$QTDIR /usr/lib/qt4 /usr/lib/qt /usr/share/qt4"
22644
if test $kde_qtver = 3; then
22645
kde_qt_dirs="$QTDIR /usr/lib/qt3 /usr/lib/qt /usr/share/qt3"
22647
if test $kde_qtver = 2; then
22648
kde_qt_dirs="$QTDIR /usr/lib/qt2 /usr/lib/qt"
22650
if test $kde_qtver = 1; then
22651
kde_qt_dirs="$QTDIR /usr/lib/qt"
22657
ac_cpp='$CXXCPP $CPPFLAGS'
22658
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22659
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22660
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22662
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22665
ac_save_CXXFLAGS="$CXXFLAGS"
22666
CXXFLAGS="`echo $CXXFLAGS | sed s/-fno-exceptions//`"
22668
{ echo "$as_me:$LINENO: checking if C++ programs can be compiled" >&5
22669
echo $ECHO_N "checking if C++ programs can be compiled... $ECHO_C" >&6; }
22670
if test "${kde_cv_stl_works+set}" = set; then
22671
echo $ECHO_N "(cached) $ECHO_C" >&6
22674
cat >conftest.$ac_ext <<_ACEOF
22677
cat confdefs.h >>conftest.$ac_ext
22678
cat >>conftest.$ac_ext <<_ACEOF
22679
/* end confdefs.h. */
22682
using namespace std;
22688
string astring="Hallo Welt.";
22689
astring.erase(0, 6); // now astring is "Welt"
22696
rm -f conftest.$ac_objext
22697
if { (ac_try="$ac_compile"
22698
case "(($ac_try" in
22699
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22700
*) ac_try_echo=$ac_try;;
22702
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22703
(eval "$ac_compile") 2>conftest.er1
22705
grep -v '^ *+' conftest.er1 >conftest.err
22707
cat conftest.err >&5
22708
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22709
(exit $ac_status); } && {
22710
test -z "$ac_cxx_werror_flag" ||
22711
test ! -s conftest.err
22712
} && test -s conftest.$ac_objext; then
22713
kde_cv_stl_works=yes
22715
echo "$as_me: failed program was:" >&5
22716
sed 's/^/| /' conftest.$ac_ext >&5
22718
kde_cv_stl_works=no
22721
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22726
{ echo "$as_me:$LINENO: result: $kde_cv_stl_works" >&5
22727
echo "${ECHO_T}$kde_cv_stl_works" >&6; }
22729
if test "$kde_cv_stl_works" = "yes"; then
22732
cat >>confdefs.h <<_ACEOF
22733
@%:@define HAVE_SGI_STL 1
22737
{ { echo "$as_me:$LINENO: error: Your Installation isn't able to compile simple C++ programs.
22738
Check config.log for details - if you're using a Linux distribution you might miss
22739
a package named similar to libstdc++-dev." >&5
22740
echo "$as_me: error: Your Installation isn't able to compile simple C++ programs.
22741
Check config.log for details - if you're using a Linux distribution you might miss
22742
a package named similar to libstdc++-dev." >&2;}
22743
{ (exit 1); exit 1; }; }
22746
CXXFLAGS="$ac_save_CXXFLAGS"
22748
ac_cpp='$CPP $CPPFLAGS'
22749
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22750
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22751
ac_compiler_gnu=$ac_cv_c_compiler_gnu
22756
{ echo "$as_me:$LINENO: checking for strlcat" >&5
22757
echo $ECHO_N "checking for strlcat... $ECHO_C" >&6; }
22758
if test "${kde_cv_func_strlcat+set}" = set; then
22759
echo $ECHO_N "(cached) $ECHO_C" >&6
22764
ac_cpp='$CXXCPP $CPPFLAGS'
22765
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22766
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22767
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22769
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22772
save_CXXFLAGS="$CXXFLAGS"
22773
kde_safe_LIBS="$LIBS"
22774
LIBS="$LIBS $X_EXTRA_LIBS"
22775
if test "$GXX" = "yes"; then
22776
CXXFLAGS="$CXXFLAGS -pedantic-errors"
22778
cat >conftest.$ac_ext <<_ACEOF
22781
cat confdefs.h >>conftest.$ac_ext
22782
cat >>conftest.$ac_ext <<_ACEOF
22783
/* end confdefs.h. */
22786
#include <string.h>
22795
strlcat(buf, "KDE function test", sizeof(buf));
22802
rm -f conftest.$ac_objext
22803
if { (ac_try="$ac_compile"
22804
case "(($ac_try" in
22805
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22806
*) ac_try_echo=$ac_try;;
22808
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22809
(eval "$ac_compile") 2>conftest.er1
22811
grep -v '^ *+' conftest.er1 >conftest.err
22813
cat conftest.err >&5
22814
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22815
(exit $ac_status); } && {
22816
test -z "$ac_cxx_werror_flag" ||
22817
test ! -s conftest.err
22818
} && test -s conftest.$ac_objext; then
22819
kde_cv_func_strlcat=yes
22821
echo "$as_me: failed program was:" >&5
22822
sed 's/^/| /' conftest.$ac_ext >&5
22824
kde_cv_func_strlcat=no
22827
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22828
CXXFLAGS="$save_CXXFLAGS"
22829
LIBS="$kde_safe_LIBS"
22831
ac_cpp='$CPP $CPPFLAGS'
22832
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22833
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22834
ac_compiler_gnu=$ac_cv_c_compiler_gnu
22840
{ echo "$as_me:$LINENO: result: $kde_cv_func_strlcat" >&5
22841
echo "${ECHO_T}$kde_cv_func_strlcat" >&6; }
22843
{ echo "$as_me:$LINENO: checking if strlcat needs custom prototype" >&5
22844
echo $ECHO_N "checking if strlcat needs custom prototype... $ECHO_C" >&6; }
22845
if test "${kde_cv_proto_strlcat+set}" = set; then
22846
echo $ECHO_N "(cached) $ECHO_C" >&6
22849
if test "x$kde_cv_func_strlcat" = xyes; then
22850
kde_cv_proto_strlcat=no
22853
setenv|unsetenv|usleep|random|srandom|seteuid|mkstemps|mkstemp|revoke|vsnprintf|strlcpy|strlcat)
22854
kde_cv_proto_strlcat="yes - in libkdefakes"
22857
kde_cv_proto_strlcat=unknown
22862
if test "x$kde_cv_proto_strlcat" = xunknown; then
22866
ac_cpp='$CXXCPP $CPPFLAGS'
22867
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22868
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22869
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22871
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22874
kde_safe_libs=$LIBS
22875
LIBS="$LIBS $X_EXTRA_LIBS"
22876
cat >conftest.$ac_ext <<_ACEOF
22879
cat confdefs.h >>conftest.$ac_ext
22880
cat >>conftest.$ac_ext <<_ACEOF
22881
/* end confdefs.h. */
22884
#include <string.h>
22887
extern "C" unsigned long strlcat(char*, const char*, unsigned long);
22895
strlcat(buf, "KDE function test", sizeof(buf));
22902
rm -f conftest.$ac_objext conftest$ac_exeext
22903
if { (ac_try="$ac_link"
22904
case "(($ac_try" in
22905
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22906
*) ac_try_echo=$ac_try;;
22908
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22909
(eval "$ac_link") 2>conftest.er1
22911
grep -v '^ *+' conftest.er1 >conftest.err
22913
cat conftest.err >&5
22914
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22915
(exit $ac_status); } && {
22916
test -z "$ac_cxx_werror_flag" ||
22917
test ! -s conftest.err
22918
} && test -s conftest$ac_exeext &&
22919
$as_test_x conftest$ac_exeext; then
22920
kde_cv_func_strlcat=yes
22921
kde_cv_proto_strlcat=yes
22923
echo "$as_me: failed program was:" >&5
22924
sed 's/^/| /' conftest.$ac_ext >&5
22926
kde_cv_proto_strlcat="strlcat unavailable"
22930
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22931
conftest$ac_exeext conftest.$ac_ext
22932
LIBS=$kde_safe_libs
22934
ac_cpp='$CPP $CPPFLAGS'
22935
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22936
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22937
ac_compiler_gnu=$ac_cv_c_compiler_gnu
22943
{ echo "$as_me:$LINENO: result: $kde_cv_proto_strlcat" >&5
22944
echo "${ECHO_T}$kde_cv_proto_strlcat" >&6; }
22946
if test "x$kde_cv_func_strlcat" = xyes; then
22948
cat >>confdefs.h <<\_ACEOF
22949
@%:@define HAVE_STRLCAT 1
22954
if test "x$kde_cv_proto_strlcat" = xno; then
22956
cat >>confdefs.h <<\_ACEOF
22957
@%:@define HAVE_STRLCAT_PROTO 1
22968
{ echo "$as_me:$LINENO: checking for strlcpy" >&5
22969
echo $ECHO_N "checking for strlcpy... $ECHO_C" >&6; }
22970
if test "${kde_cv_func_strlcpy+set}" = set; then
22971
echo $ECHO_N "(cached) $ECHO_C" >&6
22976
ac_cpp='$CXXCPP $CPPFLAGS'
22977
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22978
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22979
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22981
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22984
save_CXXFLAGS="$CXXFLAGS"
22985
kde_safe_LIBS="$LIBS"
22986
LIBS="$LIBS $X_EXTRA_LIBS"
22987
if test "$GXX" = "yes"; then
22988
CXXFLAGS="$CXXFLAGS -pedantic-errors"
22990
cat >conftest.$ac_ext <<_ACEOF
22993
cat confdefs.h >>conftest.$ac_ext
22994
cat >>conftest.$ac_ext <<_ACEOF
22995
/* end confdefs.h. */
22998
#include <string.h>
23006
strlcpy(buf, "KDE function test", sizeof(buf));
23013
rm -f conftest.$ac_objext
23014
if { (ac_try="$ac_compile"
23015
case "(($ac_try" in
23016
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23017
*) ac_try_echo=$ac_try;;
23019
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23020
(eval "$ac_compile") 2>conftest.er1
23022
grep -v '^ *+' conftest.er1 >conftest.err
23024
cat conftest.err >&5
23025
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23026
(exit $ac_status); } && {
23027
test -z "$ac_cxx_werror_flag" ||
23028
test ! -s conftest.err
23029
} && test -s conftest.$ac_objext; then
23030
kde_cv_func_strlcpy=yes
23032
echo "$as_me: failed program was:" >&5
23033
sed 's/^/| /' conftest.$ac_ext >&5
23035
kde_cv_func_strlcpy=no
23038
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23039
CXXFLAGS="$save_CXXFLAGS"
23040
LIBS="$kde_safe_LIBS"
23042
ac_cpp='$CPP $CPPFLAGS'
23043
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23044
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23045
ac_compiler_gnu=$ac_cv_c_compiler_gnu
23051
{ echo "$as_me:$LINENO: result: $kde_cv_func_strlcpy" >&5
23052
echo "${ECHO_T}$kde_cv_func_strlcpy" >&6; }
23054
{ echo "$as_me:$LINENO: checking if strlcpy needs custom prototype" >&5
23055
echo $ECHO_N "checking if strlcpy needs custom prototype... $ECHO_C" >&6; }
23056
if test "${kde_cv_proto_strlcpy+set}" = set; then
23057
echo $ECHO_N "(cached) $ECHO_C" >&6
23060
if test "x$kde_cv_func_strlcpy" = xyes; then
23061
kde_cv_proto_strlcpy=no
23064
setenv|unsetenv|usleep|random|srandom|seteuid|mkstemps|mkstemp|revoke|vsnprintf|strlcpy|strlcat)
23065
kde_cv_proto_strlcpy="yes - in libkdefakes"
23068
kde_cv_proto_strlcpy=unknown
23073
if test "x$kde_cv_proto_strlcpy" = xunknown; then
23077
ac_cpp='$CXXCPP $CPPFLAGS'
23078
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23079
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23080
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23082
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
23085
kde_safe_libs=$LIBS
23086
LIBS="$LIBS $X_EXTRA_LIBS"
23087
cat >conftest.$ac_ext <<_ACEOF
23090
cat confdefs.h >>conftest.$ac_ext
23091
cat >>conftest.$ac_ext <<_ACEOF
23092
/* end confdefs.h. */
23095
#include <string.h>
23098
extern "C" unsigned long strlcpy(char*, const char*, unsigned long);
23105
strlcpy(buf, "KDE function test", sizeof(buf));
23112
rm -f conftest.$ac_objext conftest$ac_exeext
23113
if { (ac_try="$ac_link"
23114
case "(($ac_try" in
23115
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23116
*) ac_try_echo=$ac_try;;
23118
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23119
(eval "$ac_link") 2>conftest.er1
23121
grep -v '^ *+' conftest.er1 >conftest.err
23123
cat conftest.err >&5
23124
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23125
(exit $ac_status); } && {
23126
test -z "$ac_cxx_werror_flag" ||
23127
test ! -s conftest.err
23128
} && test -s conftest$ac_exeext &&
23129
$as_test_x conftest$ac_exeext; then
23130
kde_cv_func_strlcpy=yes
23131
kde_cv_proto_strlcpy=yes
23133
echo "$as_me: failed program was:" >&5
23134
sed 's/^/| /' conftest.$ac_ext >&5
23136
kde_cv_proto_strlcpy="strlcpy unavailable"
23140
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23141
conftest$ac_exeext conftest.$ac_ext
23142
LIBS=$kde_safe_libs
23144
ac_cpp='$CPP $CPPFLAGS'
23145
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23146
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23147
ac_compiler_gnu=$ac_cv_c_compiler_gnu
23153
{ echo "$as_me:$LINENO: result: $kde_cv_proto_strlcpy" >&5
23154
echo "${ECHO_T}$kde_cv_proto_strlcpy" >&6; }
23156
if test "x$kde_cv_func_strlcpy" = xyes; then
23158
cat >>confdefs.h <<\_ACEOF
23159
@%:@define HAVE_STRLCPY 1
23164
if test "x$kde_cv_proto_strlcpy" = xno; then
23166
cat >>confdefs.h <<\_ACEOF
23167
@%:@define HAVE_STRLCPY_PROTO 1
23177
{ echo "$as_me:$LINENO: checking for main in -lutil" >&5
23178
echo $ECHO_N "checking for main in -lutil... $ECHO_C" >&6; }
23179
if test "${ac_cv_lib_util_main+set}" = set; then
23180
echo $ECHO_N "(cached) $ECHO_C" >&6
23182
ac_check_lib_save_LIBS=$LIBS
23183
LIBS="-lutil $LIBS"
23184
cat >conftest.$ac_ext <<_ACEOF
23187
cat confdefs.h >>conftest.$ac_ext
23188
cat >>conftest.$ac_ext <<_ACEOF
23189
/* end confdefs.h. */
23200
rm -f conftest.$ac_objext conftest$ac_exeext
23201
if { (ac_try="$ac_link"
23202
case "(($ac_try" in
23203
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23204
*) ac_try_echo=$ac_try;;
23206
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23207
(eval "$ac_link") 2>conftest.er1
23209
grep -v '^ *+' conftest.er1 >conftest.err
23211
cat conftest.err >&5
23212
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23213
(exit $ac_status); } && {
23214
test -z "$ac_c_werror_flag" ||
23215
test ! -s conftest.err
23216
} && test -s conftest$ac_exeext &&
23217
$as_test_x conftest$ac_exeext; then
23218
ac_cv_lib_util_main=yes
23220
echo "$as_me: failed program was:" >&5
23221
sed 's/^/| /' conftest.$ac_ext >&5
23223
ac_cv_lib_util_main=no
23226
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23227
conftest$ac_exeext conftest.$ac_ext
23228
LIBS=$ac_check_lib_save_LIBS
23230
{ echo "$as_me:$LINENO: result: $ac_cv_lib_util_main" >&5
23231
echo "${ECHO_T}$ac_cv_lib_util_main" >&6; }
23232
if test $ac_cv_lib_util_main = yes; then
23236
{ echo "$as_me:$LINENO: checking for main in -lcompat" >&5
23237
echo $ECHO_N "checking for main in -lcompat... $ECHO_C" >&6; }
23238
if test "${ac_cv_lib_compat_main+set}" = set; then
23239
echo $ECHO_N "(cached) $ECHO_C" >&6
23241
ac_check_lib_save_LIBS=$LIBS
23242
LIBS="-lcompat $LIBS"
23243
cat >conftest.$ac_ext <<_ACEOF
23246
cat confdefs.h >>conftest.$ac_ext
23247
cat >>conftest.$ac_ext <<_ACEOF
23248
/* end confdefs.h. */
23259
rm -f conftest.$ac_objext conftest$ac_exeext
23260
if { (ac_try="$ac_link"
23261
case "(($ac_try" in
23262
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23263
*) ac_try_echo=$ac_try;;
23265
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23266
(eval "$ac_link") 2>conftest.er1
23268
grep -v '^ *+' conftest.er1 >conftest.err
23270
cat conftest.err >&5
23271
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23272
(exit $ac_status); } && {
23273
test -z "$ac_c_werror_flag" ||
23274
test ! -s conftest.err
23275
} && test -s conftest$ac_exeext &&
23276
$as_test_x conftest$ac_exeext; then
23277
ac_cv_lib_compat_main=yes
23279
echo "$as_me: failed program was:" >&5
23280
sed 's/^/| /' conftest.$ac_ext >&5
23282
ac_cv_lib_compat_main=no
23285
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23286
conftest$ac_exeext conftest.$ac_ext
23287
LIBS=$ac_check_lib_save_LIBS
23289
{ echo "$as_me:$LINENO: result: $ac_cv_lib_compat_main" >&5
23290
echo "${ECHO_T}$ac_cv_lib_compat_main" >&6; }
23291
if test $ac_cv_lib_compat_main = yes; then
23292
LIBCOMPAT="-lcompat"
23296
{ echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5
23297
echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6; }
23298
if test "${ac_cv_lib_crypt_crypt+set}" = set; then
23299
echo $ECHO_N "(cached) $ECHO_C" >&6
23301
ac_check_lib_save_LIBS=$LIBS
23302
LIBS="-lcrypt $LIBS"
23303
cat >conftest.$ac_ext <<_ACEOF
23306
cat confdefs.h >>conftest.$ac_ext
23307
cat >>conftest.$ac_ext <<_ACEOF
23308
/* end confdefs.h. */
23310
/* Override any GCC internal prototype to avoid an error.
23311
Use char because int might match the return type of a GCC
23312
builtin and then its argument prototype would still apply. */
23325
rm -f conftest.$ac_objext conftest$ac_exeext
23326
if { (ac_try="$ac_link"
23327
case "(($ac_try" in
23328
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23329
*) ac_try_echo=$ac_try;;
23331
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23332
(eval "$ac_link") 2>conftest.er1
23334
grep -v '^ *+' conftest.er1 >conftest.err
23336
cat conftest.err >&5
23337
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23338
(exit $ac_status); } && {
23339
test -z "$ac_c_werror_flag" ||
23340
test ! -s conftest.err
23341
} && test -s conftest$ac_exeext &&
23342
$as_test_x conftest$ac_exeext; then
23343
ac_cv_lib_crypt_crypt=yes
23345
echo "$as_me: failed program was:" >&5
23346
sed 's/^/| /' conftest.$ac_ext >&5
23348
ac_cv_lib_crypt_crypt=no
23351
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23352
conftest$ac_exeext conftest.$ac_ext
23353
LIBS=$ac_check_lib_save_LIBS
23355
{ echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5
23356
echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6; }
23357
if test $ac_cv_lib_crypt_crypt = yes; then
23358
LIBCRYPT="-lcrypt"; kde_have_crypt=yes
23360
{ echo "$as_me:$LINENO: checking for crypt in -lc" >&5
23361
echo $ECHO_N "checking for crypt in -lc... $ECHO_C" >&6; }
23362
if test "${ac_cv_lib_c_crypt+set}" = set; then
23363
echo $ECHO_N "(cached) $ECHO_C" >&6
23365
ac_check_lib_save_LIBS=$LIBS
23367
cat >conftest.$ac_ext <<_ACEOF
23370
cat confdefs.h >>conftest.$ac_ext
23371
cat >>conftest.$ac_ext <<_ACEOF
23372
/* end confdefs.h. */
23374
/* Override any GCC internal prototype to avoid an error.
23375
Use char because int might match the return type of a GCC
23376
builtin and then its argument prototype would still apply. */
23389
rm -f conftest.$ac_objext conftest$ac_exeext
23390
if { (ac_try="$ac_link"
23391
case "(($ac_try" in
23392
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23393
*) ac_try_echo=$ac_try;;
23395
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23396
(eval "$ac_link") 2>conftest.er1
23398
grep -v '^ *+' conftest.er1 >conftest.err
23400
cat conftest.err >&5
23401
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23402
(exit $ac_status); } && {
23403
test -z "$ac_c_werror_flag" ||
23404
test ! -s conftest.err
23405
} && test -s conftest$ac_exeext &&
23406
$as_test_x conftest$ac_exeext; then
23407
ac_cv_lib_c_crypt=yes
23409
echo "$as_me: failed program was:" >&5
23410
sed 's/^/| /' conftest.$ac_ext >&5
23412
ac_cv_lib_c_crypt=no
23415
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23416
conftest$ac_exeext conftest.$ac_ext
23417
LIBS=$ac_check_lib_save_LIBS
23419
{ echo "$as_me:$LINENO: result: $ac_cv_lib_c_crypt" >&5
23420
echo "${ECHO_T}$ac_cv_lib_c_crypt" >&6; }
23421
if test $ac_cv_lib_c_crypt = yes; then
23425
{ echo "$as_me:$LINENO: WARNING: you have no crypt in either libcrypt or libc.
23426
You should install libcrypt from another source or configure with PAM
23428
echo "$as_me: WARNING: you have no crypt in either libcrypt or libc.
23429
You should install libcrypt from another source or configure with PAM
23438
if test $kde_have_crypt = yes; then
23440
cat >>confdefs.h <<_ACEOF
23441
@%:@define HAVE_CRYPT 1
23446
{ echo "$as_me:$LINENO: checking for socklen_t" >&5
23447
echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6; }
23448
if test "${kde_cv_socklen_t+set}" = set; then
23449
echo $ECHO_N "(cached) $ECHO_C" >&6
23453
ac_cpp='$CXXCPP $CPPFLAGS'
23454
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23455
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23456
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23458
kde_cv_socklen_t=no
23459
cat >conftest.$ac_ext <<_ACEOF
23462
cat confdefs.h >>conftest.$ac_ext
23463
cat >>conftest.$ac_ext <<_ACEOF
23464
/* end confdefs.h. */
23466
#include <sys/types.h>
23467
#include <sys/socket.h>
23474
getpeername(0,0,&len);
23480
rm -f conftest.$ac_objext
23481
if { (ac_try="$ac_compile"
23482
case "(($ac_try" in
23483
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23484
*) ac_try_echo=$ac_try;;
23486
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23487
(eval "$ac_compile") 2>conftest.er1
23489
grep -v '^ *+' conftest.er1 >conftest.err
23491
cat conftest.err >&5
23492
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23493
(exit $ac_status); } && {
23494
test -z "$ac_cxx_werror_flag" ||
23495
test ! -s conftest.err
23496
} && test -s conftest.$ac_objext; then
23498
kde_cv_socklen_t=yes
23499
kde_cv_socklen_t_equiv=socklen_t
23502
echo "$as_me: failed program was:" >&5
23503
sed 's/^/| /' conftest.$ac_ext >&5
23508
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23510
ac_cpp='$CPP $CPPFLAGS'
23511
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23512
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23513
ac_compiler_gnu=$ac_cv_c_compiler_gnu
23518
{ echo "$as_me:$LINENO: result: $kde_cv_socklen_t" >&5
23519
echo "${ECHO_T}$kde_cv_socklen_t" >&6; }
23520
if test $kde_cv_socklen_t = no; then
23521
{ echo "$as_me:$LINENO: checking for socklen_t equivalent for socket functions" >&5
23522
echo $ECHO_N "checking for socklen_t equivalent for socket functions... $ECHO_C" >&6; }
23523
if test "${kde_cv_socklen_t_equiv+set}" = set; then
23524
echo $ECHO_N "(cached) $ECHO_C" >&6
23527
kde_cv_socklen_t_equiv=int
23529
ac_cpp='$CXXCPP $CPPFLAGS'
23530
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23531
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23532
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23534
for t in int size_t unsigned long "unsigned long"; do
23535
cat >conftest.$ac_ext <<_ACEOF
23538
cat confdefs.h >>conftest.$ac_ext
23539
cat >>conftest.$ac_ext <<_ACEOF
23540
/* end confdefs.h. */
23542
#include <sys/types.h>
23543
#include <sys/socket.h>
23550
getpeername(0,0,&len);
23556
rm -f conftest.$ac_objext
23557
if { (ac_try="$ac_compile"
23558
case "(($ac_try" in
23559
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23560
*) ac_try_echo=$ac_try;;
23562
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23563
(eval "$ac_compile") 2>conftest.er1
23565
grep -v '^ *+' conftest.er1 >conftest.err
23567
cat conftest.err >&5
23568
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23569
(exit $ac_status); } && {
23570
test -z "$ac_cxx_werror_flag" ||
23571
test ! -s conftest.err
23572
} && test -s conftest.$ac_objext; then
23574
kde_cv_socklen_t_equiv="$t"
23578
echo "$as_me: failed program was:" >&5
23579
sed 's/^/| /' conftest.$ac_ext >&5
23584
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23587
ac_cpp='$CPP $CPPFLAGS'
23588
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23589
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23590
ac_compiler_gnu=$ac_cv_c_compiler_gnu
23595
{ echo "$as_me:$LINENO: result: $kde_cv_socklen_t_equiv" >&5
23596
echo "${ECHO_T}$kde_cv_socklen_t_equiv" >&6; }
23599
cat >>confdefs.h <<_ACEOF
23600
@%:@define kde_socklen_t $kde_cv_socklen_t_equiv
23604
cat >>confdefs.h <<_ACEOF
23605
@%:@define ksize_t $kde_cv_socklen_t_equiv
23609
{ echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
23610
echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
23611
if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
23612
echo $ECHO_N "(cached) $ECHO_C" >&6
23614
ac_check_lib_save_LIBS=$LIBS
23615
LIBS="-ldnet $LIBS"
23616
cat >conftest.$ac_ext <<_ACEOF
23619
cat confdefs.h >>conftest.$ac_ext
23620
cat >>conftest.$ac_ext <<_ACEOF
23621
/* end confdefs.h. */
23623
/* Override any GCC internal prototype to avoid an error.
23624
Use char because int might match the return type of a GCC
23625
builtin and then its argument prototype would still apply. */
23633
return dnet_ntoa ();
23638
rm -f conftest.$ac_objext conftest$ac_exeext
23639
if { (ac_try="$ac_link"
23640
case "(($ac_try" in
23641
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23642
*) ac_try_echo=$ac_try;;
23644
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23645
(eval "$ac_link") 2>conftest.er1
23647
grep -v '^ *+' conftest.er1 >conftest.err
23649
cat conftest.err >&5
23650
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23651
(exit $ac_status); } && {
23652
test -z "$ac_c_werror_flag" ||
23653
test ! -s conftest.err
23654
} && test -s conftest$ac_exeext &&
23655
$as_test_x conftest$ac_exeext; then
23656
ac_cv_lib_dnet_dnet_ntoa=yes
23658
echo "$as_me: failed program was:" >&5
23659
sed 's/^/| /' conftest.$ac_ext >&5
23661
ac_cv_lib_dnet_dnet_ntoa=no
23664
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23665
conftest$ac_exeext conftest.$ac_ext
23666
LIBS=$ac_check_lib_save_LIBS
23668
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
23669
echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
23670
if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
23671
X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
23674
if test $ac_cv_lib_dnet_dnet_ntoa = no; then
23675
{ echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
23676
echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
23677
if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
23678
echo $ECHO_N "(cached) $ECHO_C" >&6
23680
ac_check_lib_save_LIBS=$LIBS
23681
LIBS="-ldnet_stub $LIBS"
23682
cat >conftest.$ac_ext <<_ACEOF
23685
cat confdefs.h >>conftest.$ac_ext
23686
cat >>conftest.$ac_ext <<_ACEOF
23687
/* end confdefs.h. */
23689
/* Override any GCC internal prototype to avoid an error.
23690
Use char because int might match the return type of a GCC
23691
builtin and then its argument prototype would still apply. */
23699
return dnet_ntoa ();
23704
rm -f conftest.$ac_objext conftest$ac_exeext
23705
if { (ac_try="$ac_link"
23706
case "(($ac_try" in
23707
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23708
*) ac_try_echo=$ac_try;;
23710
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23711
(eval "$ac_link") 2>conftest.er1
23713
grep -v '^ *+' conftest.er1 >conftest.err
23715
cat conftest.err >&5
23716
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23717
(exit $ac_status); } && {
23718
test -z "$ac_c_werror_flag" ||
23719
test ! -s conftest.err
23720
} && test -s conftest$ac_exeext &&
23721
$as_test_x conftest$ac_exeext; then
23722
ac_cv_lib_dnet_stub_dnet_ntoa=yes
23724
echo "$as_me: failed program was:" >&5
23725
sed 's/^/| /' conftest.$ac_ext >&5
23727
ac_cv_lib_dnet_stub_dnet_ntoa=no
23730
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23731
conftest$ac_exeext conftest.$ac_ext
23732
LIBS=$ac_check_lib_save_LIBS
23734
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
23735
echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
23736
if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
23737
X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
23741
{ echo "$as_me:$LINENO: checking for inet_ntoa" >&5
23742
echo $ECHO_N "checking for inet_ntoa... $ECHO_C" >&6; }
23743
if test "${ac_cv_func_inet_ntoa+set}" = set; then
23744
echo $ECHO_N "(cached) $ECHO_C" >&6
23746
cat >conftest.$ac_ext <<_ACEOF
23749
cat confdefs.h >>conftest.$ac_ext
23750
cat >>conftest.$ac_ext <<_ACEOF
23751
/* end confdefs.h. */
23752
/* Define inet_ntoa to an innocuous variant, in case <limits.h> declares inet_ntoa.
23753
For example, HP-UX 11i <limits.h> declares gettimeofday. */
23754
#define inet_ntoa innocuous_inet_ntoa
23756
/* System header to define __stub macros and hopefully few prototypes,
23757
which can conflict with char inet_ntoa (); below.
23758
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23759
<limits.h> exists even on freestanding compilers. */
23762
# include <limits.h>
23764
# include <assert.h>
23769
/* Override any GCC internal prototype to avoid an error.
23770
Use char because int might match the return type of a GCC
23771
builtin and then its argument prototype would still apply. */
23776
/* The GNU C library defines this for functions which it implements
23777
to always fail with ENOSYS. Some functions are actually named
23778
something starting with __ and the normal name is an alias. */
23779
#if defined __stub_inet_ntoa || defined __stub___inet_ntoa
23786
return inet_ntoa ();
23791
rm -f conftest.$ac_objext conftest$ac_exeext
23792
if { (ac_try="$ac_link"
23793
case "(($ac_try" in
23794
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23795
*) ac_try_echo=$ac_try;;
23797
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23798
(eval "$ac_link") 2>conftest.er1
23800
grep -v '^ *+' conftest.er1 >conftest.err
23802
cat conftest.err >&5
23803
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23804
(exit $ac_status); } && {
23805
test -z "$ac_c_werror_flag" ||
23806
test ! -s conftest.err
23807
} && test -s conftest$ac_exeext &&
23808
$as_test_x conftest$ac_exeext; then
23809
ac_cv_func_inet_ntoa=yes
23811
echo "$as_me: failed program was:" >&5
23812
sed 's/^/| /' conftest.$ac_ext >&5
23814
ac_cv_func_inet_ntoa=no
23817
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23818
conftest$ac_exeext conftest.$ac_ext
23820
{ echo "$as_me:$LINENO: result: $ac_cv_func_inet_ntoa" >&5
23821
echo "${ECHO_T}$ac_cv_func_inet_ntoa" >&6; }
23823
if test $ac_cv_func_inet_ntoa = no; then
23824
{ echo "$as_me:$LINENO: checking for inet_ntoa in -lnsl" >&5
23825
echo $ECHO_N "checking for inet_ntoa in -lnsl... $ECHO_C" >&6; }
23826
if test "${ac_cv_lib_nsl_inet_ntoa+set}" = set; then
23827
echo $ECHO_N "(cached) $ECHO_C" >&6
23829
ac_check_lib_save_LIBS=$LIBS
23831
cat >conftest.$ac_ext <<_ACEOF
23834
cat confdefs.h >>conftest.$ac_ext
23835
cat >>conftest.$ac_ext <<_ACEOF
23836
/* end confdefs.h. */
23838
/* Override any GCC internal prototype to avoid an error.
23839
Use char because int might match the return type of a GCC
23840
builtin and then its argument prototype would still apply. */
23848
return inet_ntoa ();
23853
rm -f conftest.$ac_objext conftest$ac_exeext
23854
if { (ac_try="$ac_link"
23855
case "(($ac_try" in
23856
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23857
*) ac_try_echo=$ac_try;;
23859
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23860
(eval "$ac_link") 2>conftest.er1
23862
grep -v '^ *+' conftest.er1 >conftest.err
23864
cat conftest.err >&5
23865
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23866
(exit $ac_status); } && {
23867
test -z "$ac_c_werror_flag" ||
23868
test ! -s conftest.err
23869
} && test -s conftest$ac_exeext &&
23870
$as_test_x conftest$ac_exeext; then
23871
ac_cv_lib_nsl_inet_ntoa=yes
23873
echo "$as_me: failed program was:" >&5
23874
sed 's/^/| /' conftest.$ac_ext >&5
23876
ac_cv_lib_nsl_inet_ntoa=no
23879
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23880
conftest$ac_exeext conftest.$ac_ext
23881
LIBS=$ac_check_lib_save_LIBS
23883
{ echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_ntoa" >&5
23884
echo "${ECHO_T}$ac_cv_lib_nsl_inet_ntoa" >&6; }
23885
if test $ac_cv_lib_nsl_inet_ntoa = yes; then
23886
X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
23890
{ echo "$as_me:$LINENO: checking for connect" >&5
23891
echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
23892
if test "${ac_cv_func_connect+set}" = set; then
23893
echo $ECHO_N "(cached) $ECHO_C" >&6
23895
cat >conftest.$ac_ext <<_ACEOF
23898
cat confdefs.h >>conftest.$ac_ext
23899
cat >>conftest.$ac_ext <<_ACEOF
23900
/* end confdefs.h. */
23901
/* Define connect to an innocuous variant, in case <limits.h> declares connect.
23902
For example, HP-UX 11i <limits.h> declares gettimeofday. */
23903
#define connect innocuous_connect
23905
/* System header to define __stub macros and hopefully few prototypes,
23906
which can conflict with char connect (); below.
23907
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23908
<limits.h> exists even on freestanding compilers. */
23911
# include <limits.h>
23913
# include <assert.h>
23918
/* Override any GCC internal prototype to avoid an error.
23919
Use char because int might match the return type of a GCC
23920
builtin and then its argument prototype would still apply. */
23925
/* The GNU C library defines this for functions which it implements
23926
to always fail with ENOSYS. Some functions are actually named
23927
something starting with __ and the normal name is an alias. */
23928
#if defined __stub_connect || defined __stub___connect
23940
rm -f conftest.$ac_objext conftest$ac_exeext
23941
if { (ac_try="$ac_link"
23942
case "(($ac_try" in
23943
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23944
*) ac_try_echo=$ac_try;;
23946
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23947
(eval "$ac_link") 2>conftest.er1
23949
grep -v '^ *+' conftest.er1 >conftest.err
23951
cat conftest.err >&5
23952
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23953
(exit $ac_status); } && {
23954
test -z "$ac_c_werror_flag" ||
23955
test ! -s conftest.err
23956
} && test -s conftest$ac_exeext &&
23957
$as_test_x conftest$ac_exeext; then
23958
ac_cv_func_connect=yes
23960
echo "$as_me: failed program was:" >&5
23961
sed 's/^/| /' conftest.$ac_ext >&5
23963
ac_cv_func_connect=no
23966
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23967
conftest$ac_exeext conftest.$ac_ext
23969
{ echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
23970
echo "${ECHO_T}$ac_cv_func_connect" >&6; }
23972
if test $ac_cv_func_connect = no; then
23973
{ echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
23974
echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
23975
if test "${ac_cv_lib_socket_connect+set}" = set; then
23976
echo $ECHO_N "(cached) $ECHO_C" >&6
23978
ac_check_lib_save_LIBS=$LIBS
23979
LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
23980
cat >conftest.$ac_ext <<_ACEOF
23983
cat confdefs.h >>conftest.$ac_ext
23984
cat >>conftest.$ac_ext <<_ACEOF
23985
/* end confdefs.h. */
23987
/* Override any GCC internal prototype to avoid an error.
23988
Use char because int might match the return type of a GCC
23989
builtin and then its argument prototype would still apply. */
24002
rm -f conftest.$ac_objext conftest$ac_exeext
24003
if { (ac_try="$ac_link"
24004
case "(($ac_try" in
24005
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24006
*) ac_try_echo=$ac_try;;
24008
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24009
(eval "$ac_link") 2>conftest.er1
24011
grep -v '^ *+' conftest.er1 >conftest.err
24013
cat conftest.err >&5
24014
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24015
(exit $ac_status); } && {
24016
test -z "$ac_c_werror_flag" ||
24017
test ! -s conftest.err
24018
} && test -s conftest$ac_exeext &&
24019
$as_test_x conftest$ac_exeext; then
24020
ac_cv_lib_socket_connect=yes
24022
echo "$as_me: failed program was:" >&5
24023
sed 's/^/| /' conftest.$ac_ext >&5
24025
ac_cv_lib_socket_connect=no
24028
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24029
conftest$ac_exeext conftest.$ac_ext
24030
LIBS=$ac_check_lib_save_LIBS
24032
{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
24033
echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
24034
if test $ac_cv_lib_socket_connect = yes; then
24035
X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
24040
{ echo "$as_me:$LINENO: checking for remove" >&5
24041
echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
24042
if test "${ac_cv_func_remove+set}" = set; then
24043
echo $ECHO_N "(cached) $ECHO_C" >&6
24045
cat >conftest.$ac_ext <<_ACEOF
24048
cat confdefs.h >>conftest.$ac_ext
24049
cat >>conftest.$ac_ext <<_ACEOF
24050
/* end confdefs.h. */
24051
/* Define remove to an innocuous variant, in case <limits.h> declares remove.
24052
For example, HP-UX 11i <limits.h> declares gettimeofday. */
24053
#define remove innocuous_remove
24055
/* System header to define __stub macros and hopefully few prototypes,
24056
which can conflict with char remove (); below.
24057
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24058
<limits.h> exists even on freestanding compilers. */
24061
# include <limits.h>
24063
# include <assert.h>
24068
/* Override any GCC internal prototype to avoid an error.
24069
Use char because int might match the return type of a GCC
24070
builtin and then its argument prototype would still apply. */
24075
/* The GNU C library defines this for functions which it implements
24076
to always fail with ENOSYS. Some functions are actually named
24077
something starting with __ and the normal name is an alias. */
24078
#if defined __stub_remove || defined __stub___remove
24090
rm -f conftest.$ac_objext conftest$ac_exeext
24091
if { (ac_try="$ac_link"
24092
case "(($ac_try" in
24093
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24094
*) ac_try_echo=$ac_try;;
24096
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24097
(eval "$ac_link") 2>conftest.er1
24099
grep -v '^ *+' conftest.er1 >conftest.err
24101
cat conftest.err >&5
24102
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24103
(exit $ac_status); } && {
24104
test -z "$ac_c_werror_flag" ||
24105
test ! -s conftest.err
24106
} && test -s conftest$ac_exeext &&
24107
$as_test_x conftest$ac_exeext; then
24108
ac_cv_func_remove=yes
24110
echo "$as_me: failed program was:" >&5
24111
sed 's/^/| /' conftest.$ac_ext >&5
24113
ac_cv_func_remove=no
24116
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24117
conftest$ac_exeext conftest.$ac_ext
24119
{ echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
24120
echo "${ECHO_T}$ac_cv_func_remove" >&6; }
24122
if test $ac_cv_func_remove = no; then
24123
{ echo "$as_me:$LINENO: checking for remove in -lposix" >&5
24124
echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
24125
if test "${ac_cv_lib_posix_remove+set}" = set; then
24126
echo $ECHO_N "(cached) $ECHO_C" >&6
24128
ac_check_lib_save_LIBS=$LIBS
24129
LIBS="-lposix $LIBS"
24130
cat >conftest.$ac_ext <<_ACEOF
24133
cat confdefs.h >>conftest.$ac_ext
24134
cat >>conftest.$ac_ext <<_ACEOF
24135
/* end confdefs.h. */
24137
/* Override any GCC internal prototype to avoid an error.
24138
Use char because int might match the return type of a GCC
24139
builtin and then its argument prototype would still apply. */
24152
rm -f conftest.$ac_objext conftest$ac_exeext
24153
if { (ac_try="$ac_link"
24154
case "(($ac_try" in
24155
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24156
*) ac_try_echo=$ac_try;;
24158
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24159
(eval "$ac_link") 2>conftest.er1
24161
grep -v '^ *+' conftest.er1 >conftest.err
24163
cat conftest.err >&5
24164
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24165
(exit $ac_status); } && {
24166
test -z "$ac_c_werror_flag" ||
24167
test ! -s conftest.err
24168
} && test -s conftest$ac_exeext &&
24169
$as_test_x conftest$ac_exeext; then
24170
ac_cv_lib_posix_remove=yes
24172
echo "$as_me: failed program was:" >&5
24173
sed 's/^/| /' conftest.$ac_ext >&5
24175
ac_cv_lib_posix_remove=no
24178
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24179
conftest$ac_exeext conftest.$ac_ext
24180
LIBS=$ac_check_lib_save_LIBS
24182
{ echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
24183
echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
24184
if test $ac_cv_lib_posix_remove = yes; then
24185
X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
24190
# BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
24191
{ echo "$as_me:$LINENO: checking for shmat" >&5
24192
echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
24193
if test "${ac_cv_func_shmat+set}" = set; then
24194
echo $ECHO_N "(cached) $ECHO_C" >&6
24196
cat >conftest.$ac_ext <<_ACEOF
24199
cat confdefs.h >>conftest.$ac_ext
24200
cat >>conftest.$ac_ext <<_ACEOF
24201
/* end confdefs.h. */
24202
/* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
24203
For example, HP-UX 11i <limits.h> declares gettimeofday. */
24204
#define shmat innocuous_shmat
24206
/* System header to define __stub macros and hopefully few prototypes,
24207
which can conflict with char shmat (); below.
24208
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24209
<limits.h> exists even on freestanding compilers. */
24212
# include <limits.h>
24214
# include <assert.h>
24219
/* Override any GCC internal prototype to avoid an error.
24220
Use char because int might match the return type of a GCC
24221
builtin and then its argument prototype would still apply. */
24226
/* The GNU C library defines this for functions which it implements
24227
to always fail with ENOSYS. Some functions are actually named
24228
something starting with __ and the normal name is an alias. */
24229
#if defined __stub_shmat || defined __stub___shmat
24241
rm -f conftest.$ac_objext conftest$ac_exeext
24242
if { (ac_try="$ac_link"
24243
case "(($ac_try" in
24244
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24245
*) ac_try_echo=$ac_try;;
24247
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24248
(eval "$ac_link") 2>conftest.er1
24250
grep -v '^ *+' conftest.er1 >conftest.err
24252
cat conftest.err >&5
24253
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24254
(exit $ac_status); } && {
24255
test -z "$ac_c_werror_flag" ||
24256
test ! -s conftest.err
24257
} && test -s conftest$ac_exeext &&
24258
$as_test_x conftest$ac_exeext; then
24259
ac_cv_func_shmat=yes
24261
echo "$as_me: failed program was:" >&5
24262
sed 's/^/| /' conftest.$ac_ext >&5
24264
ac_cv_func_shmat=no
24267
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24268
conftest$ac_exeext conftest.$ac_ext
24270
{ echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
24271
echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
24272
if test $ac_cv_func_shmat = yes; then
24275
{ echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
24276
echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
24277
if test "${ac_cv_lib_ipc_shmat+set}" = set; then
24278
echo $ECHO_N "(cached) $ECHO_C" >&6
24280
ac_check_lib_save_LIBS=$LIBS
24282
cat >conftest.$ac_ext <<_ACEOF
24285
cat confdefs.h >>conftest.$ac_ext
24286
cat >>conftest.$ac_ext <<_ACEOF
24287
/* end confdefs.h. */
24289
/* Override any GCC internal prototype to avoid an error.
24290
Use char because int might match the return type of a GCC
24291
builtin and then its argument prototype would still apply. */
24304
rm -f conftest.$ac_objext conftest$ac_exeext
24305
if { (ac_try="$ac_link"
24306
case "(($ac_try" in
24307
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24308
*) ac_try_echo=$ac_try;;
24310
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24311
(eval "$ac_link") 2>conftest.er1
24313
grep -v '^ *+' conftest.er1 >conftest.err
24315
cat conftest.err >&5
24316
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24317
(exit $ac_status); } && {
24318
test -z "$ac_c_werror_flag" ||
24319
test ! -s conftest.err
24320
} && test -s conftest$ac_exeext &&
24321
$as_test_x conftest$ac_exeext; then
24322
ac_cv_lib_ipc_shmat=yes
24324
echo "$as_me: failed program was:" >&5
24325
sed 's/^/| /' conftest.$ac_ext >&5
24327
ac_cv_lib_ipc_shmat=no
24330
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24331
conftest$ac_exeext conftest.$ac_ext
24332
LIBS=$ac_check_lib_save_LIBS
24334
{ echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
24335
echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
24336
if test $ac_cv_lib_ipc_shmat = yes; then
24337
X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
24343
# more headers that need to be explicitly included on darwin
24346
for ac_header in sys/types.h stdint.h
24348
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24349
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24350
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
24351
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24352
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24353
echo $ECHO_N "(cached) $ECHO_C" >&6
24355
ac_res=`eval echo '${'$as_ac_Header'}'`
24356
{ echo "$as_me:$LINENO: result: $ac_res" >&5
24357
echo "${ECHO_T}$ac_res" >&6; }
24359
# Is the header compilable?
24360
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
24361
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
24362
cat >conftest.$ac_ext <<_ACEOF
24365
cat confdefs.h >>conftest.$ac_ext
24366
cat >>conftest.$ac_ext <<_ACEOF
24367
/* end confdefs.h. */
24368
$ac_includes_default
24369
@%:@include <$ac_header>
24371
rm -f conftest.$ac_objext
24372
if { (ac_try="$ac_compile"
24373
case "(($ac_try" in
24374
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24375
*) ac_try_echo=$ac_try;;
24377
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24378
(eval "$ac_compile") 2>conftest.er1
24380
grep -v '^ *+' conftest.er1 >conftest.err
24382
cat conftest.err >&5
24383
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24384
(exit $ac_status); } && {
24385
test -z "$ac_c_werror_flag" ||
24386
test ! -s conftest.err
24387
} && test -s conftest.$ac_objext; then
24388
ac_header_compiler=yes
24390
echo "$as_me: failed program was:" >&5
24391
sed 's/^/| /' conftest.$ac_ext >&5
24393
ac_header_compiler=no
24396
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24397
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24398
echo "${ECHO_T}$ac_header_compiler" >&6; }
24400
# Is the header present?
24401
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
24402
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
24403
cat >conftest.$ac_ext <<_ACEOF
24406
cat confdefs.h >>conftest.$ac_ext
24407
cat >>conftest.$ac_ext <<_ACEOF
24408
/* end confdefs.h. */
24409
@%:@include <$ac_header>
24411
if { (ac_try="$ac_cpp conftest.$ac_ext"
24412
case "(($ac_try" in
24413
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24414
*) ac_try_echo=$ac_try;;
24416
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24417
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24419
grep -v '^ *+' conftest.er1 >conftest.err
24421
cat conftest.err >&5
24422
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24423
(exit $ac_status); } >/dev/null && {
24424
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
24425
test ! -s conftest.err
24427
ac_header_preproc=yes
24429
echo "$as_me: failed program was:" >&5
24430
sed 's/^/| /' conftest.$ac_ext >&5
24432
ac_header_preproc=no
24435
rm -f conftest.err conftest.$ac_ext
24436
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24437
echo "${ECHO_T}$ac_header_preproc" >&6; }
24439
# So? What about this header?
24440
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24442
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24443
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24444
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24445
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24446
ac_header_preproc=yes
24449
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24450
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24451
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24452
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24453
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24454
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24455
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
24456
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
24457
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24458
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24459
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24460
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24464
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
24465
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24466
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24467
echo $ECHO_N "(cached) $ECHO_C" >&6
24469
eval "$as_ac_Header=\$ac_header_preproc"
24471
ac_res=`eval echo '${'$as_ac_Header'}'`
24472
{ echo "$as_me:$LINENO: result: $ac_res" >&5
24473
echo "${ECHO_T}$ac_res" >&6; }
24476
if test `eval echo '${'$as_ac_Header'}'` = yes; then
24477
cat >>confdefs.h <<_ACEOF
24478
@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24486
# sys/bitypes.h is needed for uint32_t and friends on Tru64
24488
for ac_header in sys/bitypes.h
24490
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24491
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24492
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
24493
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24494
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24495
echo $ECHO_N "(cached) $ECHO_C" >&6
24497
ac_res=`eval echo '${'$as_ac_Header'}'`
24498
{ echo "$as_me:$LINENO: result: $ac_res" >&5
24499
echo "${ECHO_T}$ac_res" >&6; }
24501
# Is the header compilable?
24502
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
24503
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
24504
cat >conftest.$ac_ext <<_ACEOF
24507
cat confdefs.h >>conftest.$ac_ext
24508
cat >>conftest.$ac_ext <<_ACEOF
24509
/* end confdefs.h. */
24510
$ac_includes_default
24511
@%:@include <$ac_header>
24513
rm -f conftest.$ac_objext
24514
if { (ac_try="$ac_compile"
24515
case "(($ac_try" in
24516
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24517
*) ac_try_echo=$ac_try;;
24519
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24520
(eval "$ac_compile") 2>conftest.er1
24522
grep -v '^ *+' conftest.er1 >conftest.err
24524
cat conftest.err >&5
24525
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24526
(exit $ac_status); } && {
24527
test -z "$ac_c_werror_flag" ||
24528
test ! -s conftest.err
24529
} && test -s conftest.$ac_objext; then
24530
ac_header_compiler=yes
24532
echo "$as_me: failed program was:" >&5
24533
sed 's/^/| /' conftest.$ac_ext >&5
24535
ac_header_compiler=no
24538
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24539
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24540
echo "${ECHO_T}$ac_header_compiler" >&6; }
24542
# Is the header present?
24543
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
24544
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
24545
cat >conftest.$ac_ext <<_ACEOF
24548
cat confdefs.h >>conftest.$ac_ext
24549
cat >>conftest.$ac_ext <<_ACEOF
24550
/* end confdefs.h. */
24551
@%:@include <$ac_header>
24553
if { (ac_try="$ac_cpp conftest.$ac_ext"
24554
case "(($ac_try" in
24555
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24556
*) ac_try_echo=$ac_try;;
24558
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24559
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24561
grep -v '^ *+' conftest.er1 >conftest.err
24563
cat conftest.err >&5
24564
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24565
(exit $ac_status); } >/dev/null && {
24566
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
24567
test ! -s conftest.err
24569
ac_header_preproc=yes
24571
echo "$as_me: failed program was:" >&5
24572
sed 's/^/| /' conftest.$ac_ext >&5
24574
ac_header_preproc=no
24577
rm -f conftest.err conftest.$ac_ext
24578
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24579
echo "${ECHO_T}$ac_header_preproc" >&6; }
24581
# So? What about this header?
24582
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24584
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24585
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24586
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24587
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24588
ac_header_preproc=yes
24591
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24592
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24593
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24594
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24595
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24596
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24597
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
24598
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
24599
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24600
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24601
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24602
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24606
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
24607
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24608
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24609
echo $ECHO_N "(cached) $ECHO_C" >&6
24611
eval "$as_ac_Header=\$ac_header_preproc"
24613
ac_res=`eval echo '${'$as_ac_Header'}'`
24614
{ echo "$as_me:$LINENO: result: $ac_res" >&5
24615
echo "${ECHO_T}$ac_res" >&6; }
24618
if test `eval echo '${'$as_ac_Header'}'` = yes; then
24619
cat >>confdefs.h <<_ACEOF
24620
@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24628
# darwin requires a poll emulation library
24629
{ echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
24630
echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
24631
if test "${ac_cv_lib_poll_poll+set}" = set; then
24632
echo $ECHO_N "(cached) $ECHO_C" >&6
24634
ac_check_lib_save_LIBS=$LIBS
24635
LIBS="-lpoll $LIBS"
24636
cat >conftest.$ac_ext <<_ACEOF
24639
cat confdefs.h >>conftest.$ac_ext
24640
cat >>conftest.$ac_ext <<_ACEOF
24641
/* end confdefs.h. */
24643
/* Override any GCC internal prototype to avoid an error.
24644
Use char because int might match the return type of a GCC
24645
builtin and then its argument prototype would still apply. */
24658
rm -f conftest.$ac_objext conftest$ac_exeext
24659
if { (ac_try="$ac_link"
24660
case "(($ac_try" in
24661
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24662
*) ac_try_echo=$ac_try;;
24664
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24665
(eval "$ac_link") 2>conftest.er1
24667
grep -v '^ *+' conftest.er1 >conftest.err
24669
cat conftest.err >&5
24670
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24671
(exit $ac_status); } && {
24672
test -z "$ac_c_werror_flag" ||
24673
test ! -s conftest.err
24674
} && test -s conftest$ac_exeext &&
24675
$as_test_x conftest$ac_exeext; then
24676
ac_cv_lib_poll_poll=yes
24678
echo "$as_me: failed program was:" >&5
24679
sed 's/^/| /' conftest.$ac_ext >&5
24681
ac_cv_lib_poll_poll=no
24684
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24685
conftest$ac_exeext conftest.$ac_ext
24686
LIBS=$ac_check_lib_save_LIBS
24688
{ echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
24689
echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
24690
if test $ac_cv_lib_poll_poll = yes; then
24695
# for some image handling on Mac OS X
24697
for ac_header in Carbon/Carbon.h
24699
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24700
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24701
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
24702
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24703
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24704
echo $ECHO_N "(cached) $ECHO_C" >&6
24706
ac_res=`eval echo '${'$as_ac_Header'}'`
24707
{ echo "$as_me:$LINENO: result: $ac_res" >&5
24708
echo "${ECHO_T}$ac_res" >&6; }
24710
# Is the header compilable?
24711
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
24712
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
24713
cat >conftest.$ac_ext <<_ACEOF
24716
cat confdefs.h >>conftest.$ac_ext
24717
cat >>conftest.$ac_ext <<_ACEOF
24718
/* end confdefs.h. */
24719
$ac_includes_default
24720
@%:@include <$ac_header>
24722
rm -f conftest.$ac_objext
24723
if { (ac_try="$ac_compile"
24724
case "(($ac_try" in
24725
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24726
*) ac_try_echo=$ac_try;;
24728
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24729
(eval "$ac_compile") 2>conftest.er1
24731
grep -v '^ *+' conftest.er1 >conftest.err
24733
cat conftest.err >&5
24734
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24735
(exit $ac_status); } && {
24736
test -z "$ac_c_werror_flag" ||
24737
test ! -s conftest.err
24738
} && test -s conftest.$ac_objext; then
24739
ac_header_compiler=yes
24741
echo "$as_me: failed program was:" >&5
24742
sed 's/^/| /' conftest.$ac_ext >&5
24744
ac_header_compiler=no
24747
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24748
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24749
echo "${ECHO_T}$ac_header_compiler" >&6; }
24751
# Is the header present?
24752
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
24753
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
24754
cat >conftest.$ac_ext <<_ACEOF
24757
cat confdefs.h >>conftest.$ac_ext
24758
cat >>conftest.$ac_ext <<_ACEOF
24759
/* end confdefs.h. */
24760
@%:@include <$ac_header>
24762
if { (ac_try="$ac_cpp conftest.$ac_ext"
24763
case "(($ac_try" in
24764
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24765
*) ac_try_echo=$ac_try;;
24767
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24768
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24770
grep -v '^ *+' conftest.er1 >conftest.err
24772
cat conftest.err >&5
24773
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24774
(exit $ac_status); } >/dev/null && {
24775
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
24776
test ! -s conftest.err
24778
ac_header_preproc=yes
24780
echo "$as_me: failed program was:" >&5
24781
sed 's/^/| /' conftest.$ac_ext >&5
24783
ac_header_preproc=no
24786
rm -f conftest.err conftest.$ac_ext
24787
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24788
echo "${ECHO_T}$ac_header_preproc" >&6; }
24790
# So? What about this header?
24791
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24793
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24794
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24795
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24796
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24797
ac_header_preproc=yes
24800
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24801
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24802
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24803
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24804
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24805
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24806
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
24807
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
24808
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24809
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24810
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24811
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24815
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
24816
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24817
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24818
echo $ECHO_N "(cached) $ECHO_C" >&6
24820
eval "$as_ac_Header=\$ac_header_preproc"
24822
ac_res=`eval echo '${'$as_ac_Header'}'`
24823
{ echo "$as_me:$LINENO: result: $ac_res" >&5
24824
echo "${ECHO_T}$ac_res" >&6; }
24827
if test `eval echo '${'$as_ac_Header'}'` = yes; then
24828
cat >>confdefs.h <<_ACEOF
24829
@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24837
# CoreAudio framework
24838
if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
24839
{ echo "$as_me:$LINENO: checking for CoreAudio/CoreAudio.h" >&5
24840
echo $ECHO_N "checking for CoreAudio/CoreAudio.h... $ECHO_C" >&6; }
24841
if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
24842
echo $ECHO_N "(cached) $ECHO_C" >&6
24844
{ echo "$as_me:$LINENO: result: $ac_cv_header_CoreAudio_CoreAudio_h" >&5
24845
echo "${ECHO_T}$ac_cv_header_CoreAudio_CoreAudio_h" >&6; }
24847
# Is the header compilable?
24848
{ echo "$as_me:$LINENO: checking CoreAudio/CoreAudio.h usability" >&5
24849
echo $ECHO_N "checking CoreAudio/CoreAudio.h usability... $ECHO_C" >&6; }
24850
cat >conftest.$ac_ext <<_ACEOF
24853
cat confdefs.h >>conftest.$ac_ext
24854
cat >>conftest.$ac_ext <<_ACEOF
24855
/* end confdefs.h. */
24856
$ac_includes_default
24857
@%:@include <CoreAudio/CoreAudio.h>
24859
rm -f conftest.$ac_objext
24860
if { (ac_try="$ac_compile"
24861
case "(($ac_try" in
24862
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24863
*) ac_try_echo=$ac_try;;
24865
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24866
(eval "$ac_compile") 2>conftest.er1
24868
grep -v '^ *+' conftest.er1 >conftest.err
24870
cat conftest.err >&5
24871
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24872
(exit $ac_status); } && {
24873
test -z "$ac_c_werror_flag" ||
24874
test ! -s conftest.err
24875
} && test -s conftest.$ac_objext; then
24876
ac_header_compiler=yes
24878
echo "$as_me: failed program was:" >&5
24879
sed 's/^/| /' conftest.$ac_ext >&5
24881
ac_header_compiler=no
24884
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24885
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24886
echo "${ECHO_T}$ac_header_compiler" >&6; }
24888
# Is the header present?
24889
{ echo "$as_me:$LINENO: checking CoreAudio/CoreAudio.h presence" >&5
24890
echo $ECHO_N "checking CoreAudio/CoreAudio.h presence... $ECHO_C" >&6; }
24891
cat >conftest.$ac_ext <<_ACEOF
24894
cat confdefs.h >>conftest.$ac_ext
24895
cat >>conftest.$ac_ext <<_ACEOF
24896
/* end confdefs.h. */
24897
@%:@include <CoreAudio/CoreAudio.h>
24899
if { (ac_try="$ac_cpp conftest.$ac_ext"
24900
case "(($ac_try" in
24901
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24902
*) ac_try_echo=$ac_try;;
24904
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24905
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24907
grep -v '^ *+' conftest.er1 >conftest.err
24909
cat conftest.err >&5
24910
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24911
(exit $ac_status); } >/dev/null && {
24912
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
24913
test ! -s conftest.err
24915
ac_header_preproc=yes
24917
echo "$as_me: failed program was:" >&5
24918
sed 's/^/| /' conftest.$ac_ext >&5
24920
ac_header_preproc=no
24923
rm -f conftest.err conftest.$ac_ext
24924
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24925
echo "${ECHO_T}$ac_header_preproc" >&6; }
24927
# So? What about this header?
24928
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24930
{ echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: accepted by the compiler, rejected by the preprocessor!" >&5
24931
echo "$as_me: WARNING: CoreAudio/CoreAudio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24932
{ echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: proceeding with the compiler's result" >&5
24933
echo "$as_me: WARNING: CoreAudio/CoreAudio.h: proceeding with the compiler's result" >&2;}
24934
ac_header_preproc=yes
24937
{ echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: present but cannot be compiled" >&5
24938
echo "$as_me: WARNING: CoreAudio/CoreAudio.h: present but cannot be compiled" >&2;}
24939
{ echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: check for missing prerequisite headers?" >&5
24940
echo "$as_me: WARNING: CoreAudio/CoreAudio.h: check for missing prerequisite headers?" >&2;}
24941
{ echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: see the Autoconf documentation" >&5
24942
echo "$as_me: WARNING: CoreAudio/CoreAudio.h: see the Autoconf documentation" >&2;}
24943
{ echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: section \"Present But Cannot Be Compiled\"" >&5
24944
echo "$as_me: WARNING: CoreAudio/CoreAudio.h: section \"Present But Cannot Be Compiled\"" >&2;}
24945
{ echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: proceeding with the preprocessor's result" >&5
24946
echo "$as_me: WARNING: CoreAudio/CoreAudio.h: proceeding with the preprocessor's result" >&2;}
24947
{ echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: in the future, the compiler will take precedence" >&5
24948
echo "$as_me: WARNING: CoreAudio/CoreAudio.h: in the future, the compiler will take precedence" >&2;}
24952
{ echo "$as_me:$LINENO: checking for CoreAudio/CoreAudio.h" >&5
24953
echo $ECHO_N "checking for CoreAudio/CoreAudio.h... $ECHO_C" >&6; }
24954
if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
24955
echo $ECHO_N "(cached) $ECHO_C" >&6
24957
ac_cv_header_CoreAudio_CoreAudio_h=$ac_header_preproc
24959
{ echo "$as_me:$LINENO: result: $ac_cv_header_CoreAudio_CoreAudio_h" >&5
24960
echo "${ECHO_T}$ac_cv_header_CoreAudio_CoreAudio_h" >&6; }
24963
if test $ac_cv_header_CoreAudio_CoreAudio_h = yes; then
24966
cat >>confdefs.h <<\_ACEOF
24967
@%:@define HAVE_COREAUDIO 1
24970
FRAMEWORK_COREAUDIO="-Xlinker -framework -Xlinker CoreAudio"
24977
{ echo "$as_me:$LINENO: checking if res_init needs -lresolv" >&5
24978
echo $ECHO_N "checking if res_init needs -lresolv... $ECHO_C" >&6; }
24979
kde_libs_safe="$LIBS"
24980
LIBS="$LIBS $X_EXTRA_LIBS -lresolv"
24981
cat >conftest.$ac_ext <<_ACEOF
24984
cat confdefs.h >>conftest.$ac_ext
24985
cat >>conftest.$ac_ext <<_ACEOF
24986
/* end confdefs.h. */
24988
#include <sys/types.h>
24989
#include <netinet/in.h>
24990
#include <arpa/nameser.h>
24991
#include <resolv.h>
25003
rm -f conftest.$ac_objext conftest$ac_exeext
25004
if { (ac_try="$ac_link"
25005
case "(($ac_try" in
25006
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25007
*) ac_try_echo=$ac_try;;
25009
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25010
(eval "$ac_link") 2>conftest.er1
25012
grep -v '^ *+' conftest.er1 >conftest.err
25014
cat conftest.err >&5
25015
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25016
(exit $ac_status); } && {
25017
test -z "$ac_c_werror_flag" ||
25018
test ! -s conftest.err
25019
} && test -s conftest$ac_exeext &&
25020
$as_test_x conftest$ac_exeext; then
25022
LIBRESOLV="-lresolv"
25023
{ echo "$as_me:$LINENO: result: yes" >&5
25024
echo "${ECHO_T}yes" >&6; }
25026
cat >>confdefs.h <<\_ACEOF
25027
@%:@define HAVE_RES_INIT 1
25032
echo "$as_me: failed program was:" >&5
25033
sed 's/^/| /' conftest.$ac_ext >&5
25035
{ echo "$as_me:$LINENO: result: no" >&5
25036
echo "${ECHO_T}no" >&6; }
25040
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25041
conftest$ac_exeext conftest.$ac_ext
25042
LIBS=$kde_libs_safe
25046
{ echo "$as_me:$LINENO: checking for res_init" >&5
25047
echo $ECHO_N "checking for res_init... $ECHO_C" >&6; }
25048
if test "${kde_cv_func_res_init+set}" = set; then
25049
echo $ECHO_N "(cached) $ECHO_C" >&6
25054
ac_cpp='$CXXCPP $CPPFLAGS'
25055
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25056
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25057
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25059
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
25062
save_CXXFLAGS="$CXXFLAGS"
25063
kde_safe_LIBS="$LIBS"
25064
LIBS="$LIBS $X_EXTRA_LIBS"
25065
if test "$GXX" = "yes"; then
25066
CXXFLAGS="$CXXFLAGS -pedantic-errors"
25068
cat >conftest.$ac_ext <<_ACEOF
25071
cat confdefs.h >>conftest.$ac_ext
25072
cat >>conftest.$ac_ext <<_ACEOF
25073
/* end confdefs.h. */
25076
#include <sys/types.h>
25077
#include <netinet/in.h>
25078
#include <arpa/nameser.h>
25079
#include <resolv.h>
25092
rm -f conftest.$ac_objext
25093
if { (ac_try="$ac_compile"
25094
case "(($ac_try" in
25095
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25096
*) ac_try_echo=$ac_try;;
25098
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25099
(eval "$ac_compile") 2>conftest.er1
25101
grep -v '^ *+' conftest.er1 >conftest.err
25103
cat conftest.err >&5
25104
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25105
(exit $ac_status); } && {
25106
test -z "$ac_cxx_werror_flag" ||
25107
test ! -s conftest.err
25108
} && test -s conftest.$ac_objext; then
25109
kde_cv_func_res_init=yes
25111
echo "$as_me: failed program was:" >&5
25112
sed 's/^/| /' conftest.$ac_ext >&5
25114
kde_cv_func_res_init=no
25117
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25118
CXXFLAGS="$save_CXXFLAGS"
25119
LIBS="$kde_safe_LIBS"
25121
ac_cpp='$CPP $CPPFLAGS'
25122
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25123
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25124
ac_compiler_gnu=$ac_cv_c_compiler_gnu
25130
{ echo "$as_me:$LINENO: result: $kde_cv_func_res_init" >&5
25131
echo "${ECHO_T}$kde_cv_func_res_init" >&6; }
25133
{ echo "$as_me:$LINENO: checking if res_init needs custom prototype" >&5
25134
echo $ECHO_N "checking if res_init needs custom prototype... $ECHO_C" >&6; }
25135
if test "${kde_cv_proto_res_init+set}" = set; then
25136
echo $ECHO_N "(cached) $ECHO_C" >&6
25139
if test "x$kde_cv_func_res_init" = xyes; then
25140
kde_cv_proto_res_init=no
25143
setenv|unsetenv|usleep|random|srandom|seteuid|mkstemps|mkstemp|revoke|vsnprintf|strlcpy|strlcat)
25144
kde_cv_proto_res_init="yes - in libkdefakes"
25147
kde_cv_proto_res_init=unknown
25152
if test "x$kde_cv_proto_res_init" = xunknown; then
25156
ac_cpp='$CXXCPP $CPPFLAGS'
25157
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25158
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25159
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25161
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
25164
kde_safe_libs=$LIBS
25165
LIBS="$LIBS $X_EXTRA_LIBS"
25166
cat >conftest.$ac_ext <<_ACEOF
25169
cat confdefs.h >>conftest.$ac_ext
25170
cat >>conftest.$ac_ext <<_ACEOF
25171
/* end confdefs.h. */
25174
#include <sys/types.h>
25175
#include <netinet/in.h>
25176
#include <arpa/nameser.h>
25177
#include <resolv.h>
25180
extern "C" int res_init(void);
25192
rm -f conftest.$ac_objext conftest$ac_exeext
25193
if { (ac_try="$ac_link"
25194
case "(($ac_try" in
25195
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25196
*) ac_try_echo=$ac_try;;
25198
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25199
(eval "$ac_link") 2>conftest.er1
25201
grep -v '^ *+' conftest.er1 >conftest.err
25203
cat conftest.err >&5
25204
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25205
(exit $ac_status); } && {
25206
test -z "$ac_cxx_werror_flag" ||
25207
test ! -s conftest.err
25208
} && test -s conftest$ac_exeext &&
25209
$as_test_x conftest$ac_exeext; then
25210
kde_cv_func_res_init=yes
25211
kde_cv_proto_res_init=yes
25213
echo "$as_me: failed program was:" >&5
25214
sed 's/^/| /' conftest.$ac_ext >&5
25216
kde_cv_proto_res_init="res_init unavailable"
25220
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25221
conftest$ac_exeext conftest.$ac_ext
25222
LIBS=$kde_safe_libs
25224
ac_cpp='$CPP $CPPFLAGS'
25225
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25226
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25227
ac_compiler_gnu=$ac_cv_c_compiler_gnu
25233
{ echo "$as_me:$LINENO: result: $kde_cv_proto_res_init" >&5
25234
echo "${ECHO_T}$kde_cv_proto_res_init" >&6; }
25236
if test "x$kde_cv_func_res_init" = xyes; then
25238
cat >>confdefs.h <<\_ACEOF
25239
@%:@define HAVE_RES_INIT 1
25244
if test "x$kde_cv_proto_res_init" = xno; then
25246
cat >>confdefs.h <<\_ACEOF
25247
@%:@define HAVE_RES_INIT_PROTO 1
25258
LIBSOCKET="$X_EXTRA_LIBS"
25261
{ echo "$as_me:$LINENO: checking for killpg in -lucb" >&5
25262
echo $ECHO_N "checking for killpg in -lucb... $ECHO_C" >&6; }
25263
if test "${ac_cv_lib_ucb_killpg+set}" = set; then
25264
echo $ECHO_N "(cached) $ECHO_C" >&6
25266
ac_check_lib_save_LIBS=$LIBS
25268
cat >conftest.$ac_ext <<_ACEOF
25271
cat confdefs.h >>conftest.$ac_ext
25272
cat >>conftest.$ac_ext <<_ACEOF
25273
/* end confdefs.h. */
25275
/* Override any GCC internal prototype to avoid an error.
25276
Use char because int might match the return type of a GCC
25277
builtin and then its argument prototype would still apply. */
25290
rm -f conftest.$ac_objext conftest$ac_exeext
25291
if { (ac_try="$ac_link"
25292
case "(($ac_try" in
25293
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25294
*) ac_try_echo=$ac_try;;
25296
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25297
(eval "$ac_link") 2>conftest.er1
25299
grep -v '^ *+' conftest.er1 >conftest.err
25301
cat conftest.err >&5
25302
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25303
(exit $ac_status); } && {
25304
test -z "$ac_c_werror_flag" ||
25305
test ! -s conftest.err
25306
} && test -s conftest$ac_exeext &&
25307
$as_test_x conftest$ac_exeext; then
25308
ac_cv_lib_ucb_killpg=yes
25310
echo "$as_me: failed program was:" >&5
25311
sed 's/^/| /' conftest.$ac_ext >&5
25313
ac_cv_lib_ucb_killpg=no
25316
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25317
conftest$ac_exeext conftest.$ac_ext
25318
LIBS=$ac_check_lib_save_LIBS
25320
{ echo "$as_me:$LINENO: result: $ac_cv_lib_ucb_killpg" >&5
25321
echo "${ECHO_T}$ac_cv_lib_ucb_killpg" >&6; }
25322
if test $ac_cv_lib_ucb_killpg = yes; then
25327
case $host in *-*-lynxos* )
25328
{ echo "$as_me:$LINENO: checking LynxOS header file wrappers" >&5
25329
echo $ECHO_N "checking LynxOS header file wrappers... $ECHO_C" >&6; }
25330
CFLAGS="$CFLAGS -D__NO_INCLUDE_WARN__"
25331
{ echo "$as_me:$LINENO: result: disabled" >&5
25332
echo "${ECHO_T}disabled" >&6; }
25333
{ echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
25334
echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
25335
if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
25336
echo $ECHO_N "(cached) $ECHO_C" >&6
25338
ac_check_lib_save_LIBS=$LIBS
25340
cat >conftest.$ac_ext <<_ACEOF
25343
cat confdefs.h >>conftest.$ac_ext
25344
cat >>conftest.$ac_ext <<_ACEOF
25345
/* end confdefs.h. */
25347
/* Override any GCC internal prototype to avoid an error.
25348
Use char because int might match the return type of a GCC
25349
builtin and then its argument prototype would still apply. */
25353
char gethostbyname ();
25357
return gethostbyname ();
25362
rm -f conftest.$ac_objext conftest$ac_exeext
25363
if { (ac_try="$ac_link"
25364
case "(($ac_try" in
25365
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25366
*) ac_try_echo=$ac_try;;
25368
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25369
(eval "$ac_link") 2>conftest.er1
25371
grep -v '^ *+' conftest.er1 >conftest.err
25373
cat conftest.err >&5
25374
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25375
(exit $ac_status); } && {
25376
test -z "$ac_c_werror_flag" ||
25377
test ! -s conftest.err
25378
} && test -s conftest$ac_exeext &&
25379
$as_test_x conftest$ac_exeext; then
25380
ac_cv_lib_bsd_gethostbyname=yes
25382
echo "$as_me: failed program was:" >&5
25383
sed 's/^/| /' conftest.$ac_ext >&5
25385
ac_cv_lib_bsd_gethostbyname=no
25388
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25389
conftest$ac_exeext conftest.$ac_ext
25390
LIBS=$ac_check_lib_save_LIBS
25392
{ echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
25393
echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
25394
if test $ac_cv_lib_bsd_gethostbyname = yes; then
25400
{ echo "$as_me:$LINENO: checking for int" >&5
25401
echo $ECHO_N "checking for int... $ECHO_C" >&6; }
25402
if test "${ac_cv_type_int+set}" = set; then
25403
echo $ECHO_N "(cached) $ECHO_C" >&6
25405
cat >conftest.$ac_ext <<_ACEOF
25408
cat confdefs.h >>conftest.$ac_ext
25409
cat >>conftest.$ac_ext <<_ACEOF
25410
/* end confdefs.h. */
25411
$ac_includes_default
25412
typedef int ac__type_new_;
25416
if ((ac__type_new_ *) 0)
25418
if (sizeof (ac__type_new_))
25424
rm -f conftest.$ac_objext
25425
if { (ac_try="$ac_compile"
25426
case "(($ac_try" in
25427
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25428
*) ac_try_echo=$ac_try;;
25430
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25431
(eval "$ac_compile") 2>conftest.er1
25433
grep -v '^ *+' conftest.er1 >conftest.err
25435
cat conftest.err >&5
25436
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25437
(exit $ac_status); } && {
25438
test -z "$ac_c_werror_flag" ||
25439
test ! -s conftest.err
25440
} && test -s conftest.$ac_objext; then
25443
echo "$as_me: failed program was:" >&5
25444
sed 's/^/| /' conftest.$ac_ext >&5
25449
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25451
{ echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
25452
echo "${ECHO_T}$ac_cv_type_int" >&6; }
25454
# The cast to long int works around a bug in the HP C Compiler
25455
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25456
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25457
# This bug is HP SR number 8606223364.
25458
{ echo "$as_me:$LINENO: checking size of int" >&5
25459
echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
25460
if test "${ac_cv_sizeof_int+set}" = set; then
25461
echo $ECHO_N "(cached) $ECHO_C" >&6
25463
if test "$cross_compiling" = yes; then
25464
# Depending upon the size, compute the lo and hi bounds.
25465
cat >conftest.$ac_ext <<_ACEOF
25468
cat confdefs.h >>conftest.$ac_ext
25469
cat >>conftest.$ac_ext <<_ACEOF
25470
/* end confdefs.h. */
25471
$ac_includes_default
25472
typedef int ac__type_sizeof_;
25476
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)@:>@;
25477
test_array @<:@0@:>@ = 0
25483
rm -f conftest.$ac_objext
25484
if { (ac_try="$ac_compile"
25485
case "(($ac_try" in
25486
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25487
*) ac_try_echo=$ac_try;;
25489
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25490
(eval "$ac_compile") 2>conftest.er1
25492
grep -v '^ *+' conftest.er1 >conftest.err
25494
cat conftest.err >&5
25495
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25496
(exit $ac_status); } && {
25497
test -z "$ac_c_werror_flag" ||
25498
test ! -s conftest.err
25499
} && test -s conftest.$ac_objext; then
25502
cat >conftest.$ac_ext <<_ACEOF
25505
cat confdefs.h >>conftest.$ac_ext
25506
cat >>conftest.$ac_ext <<_ACEOF
25507
/* end confdefs.h. */
25508
$ac_includes_default
25509
typedef int ac__type_sizeof_;
25513
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
25514
test_array @<:@0@:>@ = 0
25520
rm -f conftest.$ac_objext
25521
if { (ac_try="$ac_compile"
25522
case "(($ac_try" in
25523
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25524
*) ac_try_echo=$ac_try;;
25526
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25527
(eval "$ac_compile") 2>conftest.er1
25529
grep -v '^ *+' conftest.er1 >conftest.err
25531
cat conftest.err >&5
25532
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25533
(exit $ac_status); } && {
25534
test -z "$ac_c_werror_flag" ||
25535
test ! -s conftest.err
25536
} && test -s conftest.$ac_objext; then
25537
ac_hi=$ac_mid; break
25539
echo "$as_me: failed program was:" >&5
25540
sed 's/^/| /' conftest.$ac_ext >&5
25542
ac_lo=`expr $ac_mid + 1`
25543
if test $ac_lo -le $ac_mid; then
25547
ac_mid=`expr 2 '*' $ac_mid + 1`
25550
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25553
echo "$as_me: failed program was:" >&5
25554
sed 's/^/| /' conftest.$ac_ext >&5
25556
cat >conftest.$ac_ext <<_ACEOF
25559
cat confdefs.h >>conftest.$ac_ext
25560
cat >>conftest.$ac_ext <<_ACEOF
25561
/* end confdefs.h. */
25562
$ac_includes_default
25563
typedef int ac__type_sizeof_;
25567
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)@:>@;
25568
test_array @<:@0@:>@ = 0
25574
rm -f conftest.$ac_objext
25575
if { (ac_try="$ac_compile"
25576
case "(($ac_try" in
25577
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25578
*) ac_try_echo=$ac_try;;
25580
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25581
(eval "$ac_compile") 2>conftest.er1
25583
grep -v '^ *+' conftest.er1 >conftest.err
25585
cat conftest.err >&5
25586
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25587
(exit $ac_status); } && {
25588
test -z "$ac_c_werror_flag" ||
25589
test ! -s conftest.err
25590
} && test -s conftest.$ac_objext; then
25593
cat >conftest.$ac_ext <<_ACEOF
25596
cat confdefs.h >>conftest.$ac_ext
25597
cat >>conftest.$ac_ext <<_ACEOF
25598
/* end confdefs.h. */
25599
$ac_includes_default
25600
typedef int ac__type_sizeof_;
25604
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)@:>@;
25605
test_array @<:@0@:>@ = 0
25611
rm -f conftest.$ac_objext
25612
if { (ac_try="$ac_compile"
25613
case "(($ac_try" in
25614
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25615
*) ac_try_echo=$ac_try;;
25617
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25618
(eval "$ac_compile") 2>conftest.er1
25620
grep -v '^ *+' conftest.er1 >conftest.err
25622
cat conftest.err >&5
25623
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25624
(exit $ac_status); } && {
25625
test -z "$ac_c_werror_flag" ||
25626
test ! -s conftest.err
25627
} && test -s conftest.$ac_objext; then
25628
ac_lo=$ac_mid; break
25630
echo "$as_me: failed program was:" >&5
25631
sed 's/^/| /' conftest.$ac_ext >&5
25633
ac_hi=`expr '(' $ac_mid ')' - 1`
25634
if test $ac_mid -le $ac_hi; then
25638
ac_mid=`expr 2 '*' $ac_mid`
25641
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25644
echo "$as_me: failed program was:" >&5
25645
sed 's/^/| /' conftest.$ac_ext >&5
25650
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25653
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25654
# Binary search between lo and hi bounds.
25655
while test "x$ac_lo" != "x$ac_hi"; do
25656
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25657
cat >conftest.$ac_ext <<_ACEOF
25660
cat confdefs.h >>conftest.$ac_ext
25661
cat >>conftest.$ac_ext <<_ACEOF
25662
/* end confdefs.h. */
25663
$ac_includes_default
25664
typedef int ac__type_sizeof_;
25668
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
25669
test_array @<:@0@:>@ = 0
25675
rm -f conftest.$ac_objext
25676
if { (ac_try="$ac_compile"
25677
case "(($ac_try" in
25678
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25679
*) ac_try_echo=$ac_try;;
25681
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25682
(eval "$ac_compile") 2>conftest.er1
25684
grep -v '^ *+' conftest.er1 >conftest.err
25686
cat conftest.err >&5
25687
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25688
(exit $ac_status); } && {
25689
test -z "$ac_c_werror_flag" ||
25690
test ! -s conftest.err
25691
} && test -s conftest.$ac_objext; then
25694
echo "$as_me: failed program was:" >&5
25695
sed 's/^/| /' conftest.$ac_ext >&5
25697
ac_lo=`expr '(' $ac_mid ')' + 1`
25700
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25703
?*) ac_cv_sizeof_int=$ac_lo;;
25704
'') if test "$ac_cv_type_int" = yes; then
25705
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
25706
See \`config.log' for more details." >&5
25707
echo "$as_me: error: cannot compute sizeof (int)
25708
See \`config.log' for more details." >&2;}
25709
{ (exit 77); exit 77; }; }
25715
cat >conftest.$ac_ext <<_ACEOF
25718
cat confdefs.h >>conftest.$ac_ext
25719
cat >>conftest.$ac_ext <<_ACEOF
25720
/* end confdefs.h. */
25721
$ac_includes_default
25722
typedef int ac__type_sizeof_;
25723
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
25724
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25725
@%:@include <stdio.h>
25726
@%:@include <stdlib.h>
25731
FILE *f = fopen ("conftest.val", "w");
25734
if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25736
long int i = longval ();
25737
if (i != ((long int) (sizeof (ac__type_sizeof_))))
25739
fprintf (f, "%ld\n", i);
25743
unsigned long int i = ulongval ();
25744
if (i != ((long int) (sizeof (ac__type_sizeof_))))
25746
fprintf (f, "%lu\n", i);
25748
return ferror (f) || fclose (f) != 0;
25754
rm -f conftest$ac_exeext
25755
if { (ac_try="$ac_link"
25756
case "(($ac_try" in
25757
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25758
*) ac_try_echo=$ac_try;;
25760
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25761
(eval "$ac_link") 2>&5
25763
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25764
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25765
{ (case "(($ac_try" in
25766
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25767
*) ac_try_echo=$ac_try;;
25769
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25770
(eval "$ac_try") 2>&5
25772
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25773
(exit $ac_status); }; }; then
25774
ac_cv_sizeof_int=`cat conftest.val`
25776
echo "$as_me: program exited with status $ac_status" >&5
25777
echo "$as_me: failed program was:" >&5
25778
sed 's/^/| /' conftest.$ac_ext >&5
25780
( exit $ac_status )
25781
if test "$ac_cv_type_int" = yes; then
25782
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
25783
See \`config.log' for more details." >&5
25784
echo "$as_me: error: cannot compute sizeof (int)
25785
See \`config.log' for more details." >&2;}
25786
{ (exit 77); exit 77; }; }
25791
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25795
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
25796
echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
25800
cat >>confdefs.h <<_ACEOF
25801
@%:@define SIZEOF_INT $ac_cv_sizeof_int
25804
{ echo "$as_me:$LINENO: checking for short" >&5
25805
echo $ECHO_N "checking for short... $ECHO_C" >&6; }
25806
if test "${ac_cv_type_short+set}" = set; then
25807
echo $ECHO_N "(cached) $ECHO_C" >&6
25809
cat >conftest.$ac_ext <<_ACEOF
25812
cat confdefs.h >>conftest.$ac_ext
25813
cat >>conftest.$ac_ext <<_ACEOF
25814
/* end confdefs.h. */
25815
$ac_includes_default
25816
typedef short ac__type_new_;
25820
if ((ac__type_new_ *) 0)
25822
if (sizeof (ac__type_new_))
25828
rm -f conftest.$ac_objext
25829
if { (ac_try="$ac_compile"
25830
case "(($ac_try" in
25831
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25832
*) ac_try_echo=$ac_try;;
25834
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25835
(eval "$ac_compile") 2>conftest.er1
25837
grep -v '^ *+' conftest.er1 >conftest.err
25839
cat conftest.err >&5
25840
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25841
(exit $ac_status); } && {
25842
test -z "$ac_c_werror_flag" ||
25843
test ! -s conftest.err
25844
} && test -s conftest.$ac_objext; then
25845
ac_cv_type_short=yes
25847
echo "$as_me: failed program was:" >&5
25848
sed 's/^/| /' conftest.$ac_ext >&5
25850
ac_cv_type_short=no
25853
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25855
{ echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
25856
echo "${ECHO_T}$ac_cv_type_short" >&6; }
25858
# The cast to long int works around a bug in the HP C Compiler
25859
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25860
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25861
# This bug is HP SR number 8606223364.
25862
{ echo "$as_me:$LINENO: checking size of short" >&5
25863
echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
25864
if test "${ac_cv_sizeof_short+set}" = set; then
25865
echo $ECHO_N "(cached) $ECHO_C" >&6
25867
if test "$cross_compiling" = yes; then
25868
# Depending upon the size, compute the lo and hi bounds.
25869
cat >conftest.$ac_ext <<_ACEOF
25872
cat confdefs.h >>conftest.$ac_ext
25873
cat >>conftest.$ac_ext <<_ACEOF
25874
/* end confdefs.h. */
25875
$ac_includes_default
25876
typedef short ac__type_sizeof_;
25880
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)@:>@;
25881
test_array @<:@0@:>@ = 0
25887
rm -f conftest.$ac_objext
25888
if { (ac_try="$ac_compile"
25889
case "(($ac_try" in
25890
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25891
*) ac_try_echo=$ac_try;;
25893
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25894
(eval "$ac_compile") 2>conftest.er1
25896
grep -v '^ *+' conftest.er1 >conftest.err
25898
cat conftest.err >&5
25899
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25900
(exit $ac_status); } && {
25901
test -z "$ac_c_werror_flag" ||
25902
test ! -s conftest.err
25903
} && test -s conftest.$ac_objext; then
25906
cat >conftest.$ac_ext <<_ACEOF
25909
cat confdefs.h >>conftest.$ac_ext
25910
cat >>conftest.$ac_ext <<_ACEOF
25911
/* end confdefs.h. */
25912
$ac_includes_default
25913
typedef short ac__type_sizeof_;
25917
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
25918
test_array @<:@0@:>@ = 0
25924
rm -f conftest.$ac_objext
25925
if { (ac_try="$ac_compile"
25926
case "(($ac_try" in
25927
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25928
*) ac_try_echo=$ac_try;;
25930
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25931
(eval "$ac_compile") 2>conftest.er1
25933
grep -v '^ *+' conftest.er1 >conftest.err
25935
cat conftest.err >&5
25936
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25937
(exit $ac_status); } && {
25938
test -z "$ac_c_werror_flag" ||
25939
test ! -s conftest.err
25940
} && test -s conftest.$ac_objext; then
25941
ac_hi=$ac_mid; break
25943
echo "$as_me: failed program was:" >&5
25944
sed 's/^/| /' conftest.$ac_ext >&5
25946
ac_lo=`expr $ac_mid + 1`
25947
if test $ac_lo -le $ac_mid; then
25951
ac_mid=`expr 2 '*' $ac_mid + 1`
25954
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25957
echo "$as_me: failed program was:" >&5
25958
sed 's/^/| /' conftest.$ac_ext >&5
25960
cat >conftest.$ac_ext <<_ACEOF
25963
cat confdefs.h >>conftest.$ac_ext
25964
cat >>conftest.$ac_ext <<_ACEOF
25965
/* end confdefs.h. */
25966
$ac_includes_default
25967
typedef short ac__type_sizeof_;
25971
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)@:>@;
25972
test_array @<:@0@:>@ = 0
25978
rm -f conftest.$ac_objext
25979
if { (ac_try="$ac_compile"
25980
case "(($ac_try" in
25981
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25982
*) ac_try_echo=$ac_try;;
25984
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25985
(eval "$ac_compile") 2>conftest.er1
25987
grep -v '^ *+' conftest.er1 >conftest.err
25989
cat conftest.err >&5
25990
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25991
(exit $ac_status); } && {
25992
test -z "$ac_c_werror_flag" ||
25993
test ! -s conftest.err
25994
} && test -s conftest.$ac_objext; then
25997
cat >conftest.$ac_ext <<_ACEOF
26000
cat confdefs.h >>conftest.$ac_ext
26001
cat >>conftest.$ac_ext <<_ACEOF
26002
/* end confdefs.h. */
26003
$ac_includes_default
26004
typedef short ac__type_sizeof_;
26008
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)@:>@;
26009
test_array @<:@0@:>@ = 0
26015
rm -f conftest.$ac_objext
26016
if { (ac_try="$ac_compile"
26017
case "(($ac_try" in
26018
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26019
*) ac_try_echo=$ac_try;;
26021
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26022
(eval "$ac_compile") 2>conftest.er1
26024
grep -v '^ *+' conftest.er1 >conftest.err
26026
cat conftest.err >&5
26027
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26028
(exit $ac_status); } && {
26029
test -z "$ac_c_werror_flag" ||
26030
test ! -s conftest.err
26031
} && test -s conftest.$ac_objext; then
26032
ac_lo=$ac_mid; break
26034
echo "$as_me: failed program was:" >&5
26035
sed 's/^/| /' conftest.$ac_ext >&5
26037
ac_hi=`expr '(' $ac_mid ')' - 1`
26038
if test $ac_mid -le $ac_hi; then
26042
ac_mid=`expr 2 '*' $ac_mid`
26045
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26048
echo "$as_me: failed program was:" >&5
26049
sed 's/^/| /' conftest.$ac_ext >&5
26054
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26057
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26058
# Binary search between lo and hi bounds.
26059
while test "x$ac_lo" != "x$ac_hi"; do
26060
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26061
cat >conftest.$ac_ext <<_ACEOF
26064
cat confdefs.h >>conftest.$ac_ext
26065
cat >>conftest.$ac_ext <<_ACEOF
26066
/* end confdefs.h. */
26067
$ac_includes_default
26068
typedef short ac__type_sizeof_;
26072
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
26073
test_array @<:@0@:>@ = 0
26079
rm -f conftest.$ac_objext
26080
if { (ac_try="$ac_compile"
26081
case "(($ac_try" in
26082
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26083
*) ac_try_echo=$ac_try;;
26085
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26086
(eval "$ac_compile") 2>conftest.er1
26088
grep -v '^ *+' conftest.er1 >conftest.err
26090
cat conftest.err >&5
26091
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26092
(exit $ac_status); } && {
26093
test -z "$ac_c_werror_flag" ||
26094
test ! -s conftest.err
26095
} && test -s conftest.$ac_objext; then
26098
echo "$as_me: failed program was:" >&5
26099
sed 's/^/| /' conftest.$ac_ext >&5
26101
ac_lo=`expr '(' $ac_mid ')' + 1`
26104
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26107
?*) ac_cv_sizeof_short=$ac_lo;;
26108
'') if test "$ac_cv_type_short" = yes; then
26109
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
26110
See \`config.log' for more details." >&5
26111
echo "$as_me: error: cannot compute sizeof (short)
26112
See \`config.log' for more details." >&2;}
26113
{ (exit 77); exit 77; }; }
26115
ac_cv_sizeof_short=0
26119
cat >conftest.$ac_ext <<_ACEOF
26122
cat confdefs.h >>conftest.$ac_ext
26123
cat >>conftest.$ac_ext <<_ACEOF
26124
/* end confdefs.h. */
26125
$ac_includes_default
26126
typedef short ac__type_sizeof_;
26127
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
26128
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
26129
@%:@include <stdio.h>
26130
@%:@include <stdlib.h>
26135
FILE *f = fopen ("conftest.val", "w");
26138
if (((long int) (sizeof (ac__type_sizeof_))) < 0)
26140
long int i = longval ();
26141
if (i != ((long int) (sizeof (ac__type_sizeof_))))
26143
fprintf (f, "%ld\n", i);
26147
unsigned long int i = ulongval ();
26148
if (i != ((long int) (sizeof (ac__type_sizeof_))))
26150
fprintf (f, "%lu\n", i);
26152
return ferror (f) || fclose (f) != 0;
26158
rm -f conftest$ac_exeext
26159
if { (ac_try="$ac_link"
26160
case "(($ac_try" in
26161
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26162
*) ac_try_echo=$ac_try;;
26164
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26165
(eval "$ac_link") 2>&5
26167
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26168
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26169
{ (case "(($ac_try" in
26170
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26171
*) ac_try_echo=$ac_try;;
26173
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26174
(eval "$ac_try") 2>&5
26176
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26177
(exit $ac_status); }; }; then
26178
ac_cv_sizeof_short=`cat conftest.val`
26180
echo "$as_me: program exited with status $ac_status" >&5
26181
echo "$as_me: failed program was:" >&5
26182
sed 's/^/| /' conftest.$ac_ext >&5
26184
( exit $ac_status )
26185
if test "$ac_cv_type_short" = yes; then
26186
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
26187
See \`config.log' for more details." >&5
26188
echo "$as_me: error: cannot compute sizeof (short)
26189
See \`config.log' for more details." >&2;}
26190
{ (exit 77); exit 77; }; }
26192
ac_cv_sizeof_short=0
26195
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26199
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
26200
echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
26204
cat >>confdefs.h <<_ACEOF
26205
@%:@define SIZEOF_SHORT $ac_cv_sizeof_short
26208
{ echo "$as_me:$LINENO: checking for long" >&5
26209
echo $ECHO_N "checking for long... $ECHO_C" >&6; }
26210
if test "${ac_cv_type_long+set}" = set; then
26211
echo $ECHO_N "(cached) $ECHO_C" >&6
26213
cat >conftest.$ac_ext <<_ACEOF
26216
cat confdefs.h >>conftest.$ac_ext
26217
cat >>conftest.$ac_ext <<_ACEOF
26218
/* end confdefs.h. */
26219
$ac_includes_default
26220
typedef long ac__type_new_;
26224
if ((ac__type_new_ *) 0)
26226
if (sizeof (ac__type_new_))
26232
rm -f conftest.$ac_objext
26233
if { (ac_try="$ac_compile"
26234
case "(($ac_try" in
26235
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26236
*) ac_try_echo=$ac_try;;
26238
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26239
(eval "$ac_compile") 2>conftest.er1
26241
grep -v '^ *+' conftest.er1 >conftest.err
26243
cat conftest.err >&5
26244
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26245
(exit $ac_status); } && {
26246
test -z "$ac_c_werror_flag" ||
26247
test ! -s conftest.err
26248
} && test -s conftest.$ac_objext; then
26249
ac_cv_type_long=yes
26251
echo "$as_me: failed program was:" >&5
26252
sed 's/^/| /' conftest.$ac_ext >&5
26257
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26259
{ echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
26260
echo "${ECHO_T}$ac_cv_type_long" >&6; }
26262
# The cast to long int works around a bug in the HP C Compiler
26263
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26264
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
26265
# This bug is HP SR number 8606223364.
26266
{ echo "$as_me:$LINENO: checking size of long" >&5
26267
echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
26268
if test "${ac_cv_sizeof_long+set}" = set; then
26269
echo $ECHO_N "(cached) $ECHO_C" >&6
26271
if test "$cross_compiling" = yes; then
26272
# Depending upon the size, compute the lo and hi bounds.
26273
cat >conftest.$ac_ext <<_ACEOF
26276
cat confdefs.h >>conftest.$ac_ext
26277
cat >>conftest.$ac_ext <<_ACEOF
26278
/* end confdefs.h. */
26279
$ac_includes_default
26280
typedef long ac__type_sizeof_;
26284
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)@:>@;
26285
test_array @<:@0@:>@ = 0
26291
rm -f conftest.$ac_objext
26292
if { (ac_try="$ac_compile"
26293
case "(($ac_try" in
26294
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26295
*) ac_try_echo=$ac_try;;
26297
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26298
(eval "$ac_compile") 2>conftest.er1
26300
grep -v '^ *+' conftest.er1 >conftest.err
26302
cat conftest.err >&5
26303
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26304
(exit $ac_status); } && {
26305
test -z "$ac_c_werror_flag" ||
26306
test ! -s conftest.err
26307
} && test -s conftest.$ac_objext; then
26310
cat >conftest.$ac_ext <<_ACEOF
26313
cat confdefs.h >>conftest.$ac_ext
26314
cat >>conftest.$ac_ext <<_ACEOF
26315
/* end confdefs.h. */
26316
$ac_includes_default
26317
typedef long ac__type_sizeof_;
26321
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
26322
test_array @<:@0@:>@ = 0
26328
rm -f conftest.$ac_objext
26329
if { (ac_try="$ac_compile"
26330
case "(($ac_try" in
26331
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26332
*) ac_try_echo=$ac_try;;
26334
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26335
(eval "$ac_compile") 2>conftest.er1
26337
grep -v '^ *+' conftest.er1 >conftest.err
26339
cat conftest.err >&5
26340
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26341
(exit $ac_status); } && {
26342
test -z "$ac_c_werror_flag" ||
26343
test ! -s conftest.err
26344
} && test -s conftest.$ac_objext; then
26345
ac_hi=$ac_mid; break
26347
echo "$as_me: failed program was:" >&5
26348
sed 's/^/| /' conftest.$ac_ext >&5
26350
ac_lo=`expr $ac_mid + 1`
26351
if test $ac_lo -le $ac_mid; then
26355
ac_mid=`expr 2 '*' $ac_mid + 1`
26358
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26361
echo "$as_me: failed program was:" >&5
26362
sed 's/^/| /' conftest.$ac_ext >&5
26364
cat >conftest.$ac_ext <<_ACEOF
26367
cat confdefs.h >>conftest.$ac_ext
26368
cat >>conftest.$ac_ext <<_ACEOF
26369
/* end confdefs.h. */
26370
$ac_includes_default
26371
typedef long ac__type_sizeof_;
26375
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)@:>@;
26376
test_array @<:@0@:>@ = 0
26382
rm -f conftest.$ac_objext
26383
if { (ac_try="$ac_compile"
26384
case "(($ac_try" in
26385
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26386
*) ac_try_echo=$ac_try;;
26388
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26389
(eval "$ac_compile") 2>conftest.er1
26391
grep -v '^ *+' conftest.er1 >conftest.err
26393
cat conftest.err >&5
26394
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26395
(exit $ac_status); } && {
26396
test -z "$ac_c_werror_flag" ||
26397
test ! -s conftest.err
26398
} && test -s conftest.$ac_objext; then
26401
cat >conftest.$ac_ext <<_ACEOF
26404
cat confdefs.h >>conftest.$ac_ext
26405
cat >>conftest.$ac_ext <<_ACEOF
26406
/* end confdefs.h. */
26407
$ac_includes_default
26408
typedef long ac__type_sizeof_;
26412
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)@:>@;
26413
test_array @<:@0@:>@ = 0
26419
rm -f conftest.$ac_objext
26420
if { (ac_try="$ac_compile"
26421
case "(($ac_try" in
26422
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26423
*) ac_try_echo=$ac_try;;
26425
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26426
(eval "$ac_compile") 2>conftest.er1
26428
grep -v '^ *+' conftest.er1 >conftest.err
26430
cat conftest.err >&5
26431
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26432
(exit $ac_status); } && {
26433
test -z "$ac_c_werror_flag" ||
26434
test ! -s conftest.err
26435
} && test -s conftest.$ac_objext; then
26436
ac_lo=$ac_mid; break
26438
echo "$as_me: failed program was:" >&5
26439
sed 's/^/| /' conftest.$ac_ext >&5
26441
ac_hi=`expr '(' $ac_mid ')' - 1`
26442
if test $ac_mid -le $ac_hi; then
26446
ac_mid=`expr 2 '*' $ac_mid`
26449
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26452
echo "$as_me: failed program was:" >&5
26453
sed 's/^/| /' conftest.$ac_ext >&5
26458
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26461
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26462
# Binary search between lo and hi bounds.
26463
while test "x$ac_lo" != "x$ac_hi"; do
26464
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26465
cat >conftest.$ac_ext <<_ACEOF
26468
cat confdefs.h >>conftest.$ac_ext
26469
cat >>conftest.$ac_ext <<_ACEOF
26470
/* end confdefs.h. */
26471
$ac_includes_default
26472
typedef long ac__type_sizeof_;
26476
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
26477
test_array @<:@0@:>@ = 0
26483
rm -f conftest.$ac_objext
26484
if { (ac_try="$ac_compile"
26485
case "(($ac_try" in
26486
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26487
*) ac_try_echo=$ac_try;;
26489
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26490
(eval "$ac_compile") 2>conftest.er1
26492
grep -v '^ *+' conftest.er1 >conftest.err
26494
cat conftest.err >&5
26495
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26496
(exit $ac_status); } && {
26497
test -z "$ac_c_werror_flag" ||
26498
test ! -s conftest.err
26499
} && test -s conftest.$ac_objext; then
26502
echo "$as_me: failed program was:" >&5
26503
sed 's/^/| /' conftest.$ac_ext >&5
26505
ac_lo=`expr '(' $ac_mid ')' + 1`
26508
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26511
?*) ac_cv_sizeof_long=$ac_lo;;
26512
'') if test "$ac_cv_type_long" = yes; then
26513
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
26514
See \`config.log' for more details." >&5
26515
echo "$as_me: error: cannot compute sizeof (long)
26516
See \`config.log' for more details." >&2;}
26517
{ (exit 77); exit 77; }; }
26519
ac_cv_sizeof_long=0
26523
cat >conftest.$ac_ext <<_ACEOF
26526
cat confdefs.h >>conftest.$ac_ext
26527
cat >>conftest.$ac_ext <<_ACEOF
26528
/* end confdefs.h. */
26529
$ac_includes_default
26530
typedef long ac__type_sizeof_;
26531
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
26532
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
26533
@%:@include <stdio.h>
26534
@%:@include <stdlib.h>
26539
FILE *f = fopen ("conftest.val", "w");
26542
if (((long int) (sizeof (ac__type_sizeof_))) < 0)
26544
long int i = longval ();
26545
if (i != ((long int) (sizeof (ac__type_sizeof_))))
26547
fprintf (f, "%ld\n", i);
26551
unsigned long int i = ulongval ();
26552
if (i != ((long int) (sizeof (ac__type_sizeof_))))
26554
fprintf (f, "%lu\n", i);
26556
return ferror (f) || fclose (f) != 0;
26562
rm -f conftest$ac_exeext
26563
if { (ac_try="$ac_link"
26564
case "(($ac_try" in
26565
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26566
*) ac_try_echo=$ac_try;;
26568
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26569
(eval "$ac_link") 2>&5
26571
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26572
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26573
{ (case "(($ac_try" in
26574
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26575
*) ac_try_echo=$ac_try;;
26577
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26578
(eval "$ac_try") 2>&5
26580
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26581
(exit $ac_status); }; }; then
26582
ac_cv_sizeof_long=`cat conftest.val`
26584
echo "$as_me: program exited with status $ac_status" >&5
26585
echo "$as_me: failed program was:" >&5
26586
sed 's/^/| /' conftest.$ac_ext >&5
26588
( exit $ac_status )
26589
if test "$ac_cv_type_long" = yes; then
26590
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
26591
See \`config.log' for more details." >&5
26592
echo "$as_me: error: cannot compute sizeof (long)
26593
See \`config.log' for more details." >&2;}
26594
{ (exit 77); exit 77; }; }
26596
ac_cv_sizeof_long=0
26599
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26603
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
26604
echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
26608
cat >>confdefs.h <<_ACEOF
26609
@%:@define SIZEOF_LONG $ac_cv_sizeof_long
26612
{ echo "$as_me:$LINENO: checking for char *" >&5
26613
echo $ECHO_N "checking for char *... $ECHO_C" >&6; }
26614
if test "${ac_cv_type_char_p+set}" = set; then
26615
echo $ECHO_N "(cached) $ECHO_C" >&6
26617
cat >conftest.$ac_ext <<_ACEOF
26620
cat confdefs.h >>conftest.$ac_ext
26621
cat >>conftest.$ac_ext <<_ACEOF
26622
/* end confdefs.h. */
26623
$ac_includes_default
26624
typedef char * ac__type_new_;
26628
if ((ac__type_new_ *) 0)
26630
if (sizeof (ac__type_new_))
26636
rm -f conftest.$ac_objext
26637
if { (ac_try="$ac_compile"
26638
case "(($ac_try" in
26639
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26640
*) ac_try_echo=$ac_try;;
26642
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26643
(eval "$ac_compile") 2>conftest.er1
26645
grep -v '^ *+' conftest.er1 >conftest.err
26647
cat conftest.err >&5
26648
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26649
(exit $ac_status); } && {
26650
test -z "$ac_c_werror_flag" ||
26651
test ! -s conftest.err
26652
} && test -s conftest.$ac_objext; then
26653
ac_cv_type_char_p=yes
26655
echo "$as_me: failed program was:" >&5
26656
sed 's/^/| /' conftest.$ac_ext >&5
26658
ac_cv_type_char_p=no
26661
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26663
{ echo "$as_me:$LINENO: result: $ac_cv_type_char_p" >&5
26664
echo "${ECHO_T}$ac_cv_type_char_p" >&6; }
26666
# The cast to long int works around a bug in the HP C Compiler
26667
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26668
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
26669
# This bug is HP SR number 8606223364.
26670
{ echo "$as_me:$LINENO: checking size of char *" >&5
26671
echo $ECHO_N "checking size of char *... $ECHO_C" >&6; }
26672
if test "${ac_cv_sizeof_char_p+set}" = set; then
26673
echo $ECHO_N "(cached) $ECHO_C" >&6
26675
if test "$cross_compiling" = yes; then
26676
# Depending upon the size, compute the lo and hi bounds.
26677
cat >conftest.$ac_ext <<_ACEOF
26680
cat confdefs.h >>conftest.$ac_ext
26681
cat >>conftest.$ac_ext <<_ACEOF
26682
/* end confdefs.h. */
26683
$ac_includes_default
26684
typedef char * ac__type_sizeof_;
26688
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)@:>@;
26689
test_array @<:@0@:>@ = 0
26695
rm -f conftest.$ac_objext
26696
if { (ac_try="$ac_compile"
26697
case "(($ac_try" in
26698
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26699
*) ac_try_echo=$ac_try;;
26701
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26702
(eval "$ac_compile") 2>conftest.er1
26704
grep -v '^ *+' conftest.er1 >conftest.err
26706
cat conftest.err >&5
26707
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26708
(exit $ac_status); } && {
26709
test -z "$ac_c_werror_flag" ||
26710
test ! -s conftest.err
26711
} && test -s conftest.$ac_objext; then
26714
cat >conftest.$ac_ext <<_ACEOF
26717
cat confdefs.h >>conftest.$ac_ext
26718
cat >>conftest.$ac_ext <<_ACEOF
26719
/* end confdefs.h. */
26720
$ac_includes_default
26721
typedef char * ac__type_sizeof_;
26725
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
26726
test_array @<:@0@:>@ = 0
26732
rm -f conftest.$ac_objext
26733
if { (ac_try="$ac_compile"
26734
case "(($ac_try" in
26735
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26736
*) ac_try_echo=$ac_try;;
26738
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26739
(eval "$ac_compile") 2>conftest.er1
26741
grep -v '^ *+' conftest.er1 >conftest.err
26743
cat conftest.err >&5
26744
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26745
(exit $ac_status); } && {
26746
test -z "$ac_c_werror_flag" ||
26747
test ! -s conftest.err
26748
} && test -s conftest.$ac_objext; then
26749
ac_hi=$ac_mid; break
26751
echo "$as_me: failed program was:" >&5
26752
sed 's/^/| /' conftest.$ac_ext >&5
26754
ac_lo=`expr $ac_mid + 1`
26755
if test $ac_lo -le $ac_mid; then
26759
ac_mid=`expr 2 '*' $ac_mid + 1`
26762
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26765
echo "$as_me: failed program was:" >&5
26766
sed 's/^/| /' conftest.$ac_ext >&5
26768
cat >conftest.$ac_ext <<_ACEOF
26771
cat confdefs.h >>conftest.$ac_ext
26772
cat >>conftest.$ac_ext <<_ACEOF
26773
/* end confdefs.h. */
26774
$ac_includes_default
26775
typedef char * ac__type_sizeof_;
26779
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)@:>@;
26780
test_array @<:@0@:>@ = 0
26786
rm -f conftest.$ac_objext
26787
if { (ac_try="$ac_compile"
26788
case "(($ac_try" in
26789
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26790
*) ac_try_echo=$ac_try;;
26792
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26793
(eval "$ac_compile") 2>conftest.er1
26795
grep -v '^ *+' conftest.er1 >conftest.err
26797
cat conftest.err >&5
26798
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26799
(exit $ac_status); } && {
26800
test -z "$ac_c_werror_flag" ||
26801
test ! -s conftest.err
26802
} && test -s conftest.$ac_objext; then
26805
cat >conftest.$ac_ext <<_ACEOF
26808
cat confdefs.h >>conftest.$ac_ext
26809
cat >>conftest.$ac_ext <<_ACEOF
26810
/* end confdefs.h. */
26811
$ac_includes_default
26812
typedef char * ac__type_sizeof_;
26816
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)@:>@;
26817
test_array @<:@0@:>@ = 0
26823
rm -f conftest.$ac_objext
26824
if { (ac_try="$ac_compile"
26825
case "(($ac_try" in
26826
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26827
*) ac_try_echo=$ac_try;;
26829
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26830
(eval "$ac_compile") 2>conftest.er1
26832
grep -v '^ *+' conftest.er1 >conftest.err
26834
cat conftest.err >&5
26835
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26836
(exit $ac_status); } && {
26837
test -z "$ac_c_werror_flag" ||
26838
test ! -s conftest.err
26839
} && test -s conftest.$ac_objext; then
26840
ac_lo=$ac_mid; break
26842
echo "$as_me: failed program was:" >&5
26843
sed 's/^/| /' conftest.$ac_ext >&5
26845
ac_hi=`expr '(' $ac_mid ')' - 1`
26846
if test $ac_mid -le $ac_hi; then
26850
ac_mid=`expr 2 '*' $ac_mid`
26853
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26856
echo "$as_me: failed program was:" >&5
26857
sed 's/^/| /' conftest.$ac_ext >&5
26862
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26865
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26866
# Binary search between lo and hi bounds.
26867
while test "x$ac_lo" != "x$ac_hi"; do
26868
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26869
cat >conftest.$ac_ext <<_ACEOF
26872
cat confdefs.h >>conftest.$ac_ext
26873
cat >>conftest.$ac_ext <<_ACEOF
26874
/* end confdefs.h. */
26875
$ac_includes_default
26876
typedef char * ac__type_sizeof_;
26880
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
26881
test_array @<:@0@:>@ = 0
26887
rm -f conftest.$ac_objext
26888
if { (ac_try="$ac_compile"
26889
case "(($ac_try" in
26890
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26891
*) ac_try_echo=$ac_try;;
26893
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26894
(eval "$ac_compile") 2>conftest.er1
26896
grep -v '^ *+' conftest.er1 >conftest.err
26898
cat conftest.err >&5
26899
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26900
(exit $ac_status); } && {
26901
test -z "$ac_c_werror_flag" ||
26902
test ! -s conftest.err
26903
} && test -s conftest.$ac_objext; then
26906
echo "$as_me: failed program was:" >&5
26907
sed 's/^/| /' conftest.$ac_ext >&5
26909
ac_lo=`expr '(' $ac_mid ')' + 1`
26912
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26915
?*) ac_cv_sizeof_char_p=$ac_lo;;
26916
'') if test "$ac_cv_type_char_p" = yes; then
26917
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (char *)
26918
See \`config.log' for more details." >&5
26919
echo "$as_me: error: cannot compute sizeof (char *)
26920
See \`config.log' for more details." >&2;}
26921
{ (exit 77); exit 77; }; }
26923
ac_cv_sizeof_char_p=0
26927
cat >conftest.$ac_ext <<_ACEOF
26930
cat confdefs.h >>conftest.$ac_ext
26931
cat >>conftest.$ac_ext <<_ACEOF
26932
/* end confdefs.h. */
26933
$ac_includes_default
26934
typedef char * ac__type_sizeof_;
26935
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
26936
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
26937
@%:@include <stdio.h>
26938
@%:@include <stdlib.h>
26943
FILE *f = fopen ("conftest.val", "w");
26946
if (((long int) (sizeof (ac__type_sizeof_))) < 0)
26948
long int i = longval ();
26949
if (i != ((long int) (sizeof (ac__type_sizeof_))))
26951
fprintf (f, "%ld\n", i);
26955
unsigned long int i = ulongval ();
26956
if (i != ((long int) (sizeof (ac__type_sizeof_))))
26958
fprintf (f, "%lu\n", i);
26960
return ferror (f) || fclose (f) != 0;
26966
rm -f conftest$ac_exeext
26967
if { (ac_try="$ac_link"
26968
case "(($ac_try" in
26969
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26970
*) ac_try_echo=$ac_try;;
26972
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26973
(eval "$ac_link") 2>&5
26975
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26976
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26977
{ (case "(($ac_try" in
26978
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26979
*) ac_try_echo=$ac_try;;
26981
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26982
(eval "$ac_try") 2>&5
26984
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26985
(exit $ac_status); }; }; then
26986
ac_cv_sizeof_char_p=`cat conftest.val`
26988
echo "$as_me: program exited with status $ac_status" >&5
26989
echo "$as_me: failed program was:" >&5
26990
sed 's/^/| /' conftest.$ac_ext >&5
26992
( exit $ac_status )
26993
if test "$ac_cv_type_char_p" = yes; then
26994
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (char *)
26995
See \`config.log' for more details." >&5
26996
echo "$as_me: error: cannot compute sizeof (char *)
26997
See \`config.log' for more details." >&2;}
26998
{ (exit 77); exit 77; }; }
27000
ac_cv_sizeof_char_p=0
27003
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27007
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_char_p" >&5
27008
echo "${ECHO_T}$ac_cv_sizeof_char_p" >&6; }
27012
cat >>confdefs.h <<_ACEOF
27013
@%:@define SIZEOF_CHAR_P $ac_cv_sizeof_char_p
27018
{ echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
27019
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
27020
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
27021
echo $ECHO_N "(cached) $ECHO_C" >&6
27023
ac_check_lib_save_LIBS=$LIBS
27025
cat >conftest.$ac_ext <<_ACEOF
27028
cat confdefs.h >>conftest.$ac_ext
27029
cat >>conftest.$ac_ext <<_ACEOF
27030
/* end confdefs.h. */
27032
/* Override any GCC internal prototype to avoid an error.
27033
Use char because int might match the return type of a GCC
27034
builtin and then its argument prototype would still apply. */
27047
rm -f conftest.$ac_objext conftest$ac_exeext
27048
if { (ac_try="$ac_link"
27049
case "(($ac_try" in
27050
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27051
*) ac_try_echo=$ac_try;;
27053
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27054
(eval "$ac_link") 2>conftest.er1
27056
grep -v '^ *+' conftest.er1 >conftest.err
27058
cat conftest.err >&5
27059
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27060
(exit $ac_status); } && {
27061
test -z "$ac_c_werror_flag" ||
27062
test ! -s conftest.err
27063
} && test -s conftest$ac_exeext &&
27064
$as_test_x conftest$ac_exeext; then
27065
ac_cv_lib_dl_dlopen=yes
27067
echo "$as_me: failed program was:" >&5
27068
sed 's/^/| /' conftest.$ac_ext >&5
27070
ac_cv_lib_dl_dlopen=no
27073
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27074
conftest$ac_exeext conftest.$ac_ext
27075
LIBS=$ac_check_lib_save_LIBS
27077
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
27078
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
27079
if test $ac_cv_lib_dl_dlopen = yes; then
27082
ac_cv_have_dlfcn=yes
27087
{ echo "$as_me:$LINENO: checking for shl_unload in -ldld" >&5
27088
echo $ECHO_N "checking for shl_unload in -ldld... $ECHO_C" >&6; }
27089
if test "${ac_cv_lib_dld_shl_unload+set}" = set; then
27090
echo $ECHO_N "(cached) $ECHO_C" >&6
27092
ac_check_lib_save_LIBS=$LIBS
27094
cat >conftest.$ac_ext <<_ACEOF
27097
cat confdefs.h >>conftest.$ac_ext
27098
cat >>conftest.$ac_ext <<_ACEOF
27099
/* end confdefs.h. */
27101
/* Override any GCC internal prototype to avoid an error.
27102
Use char because int might match the return type of a GCC
27103
builtin and then its argument prototype would still apply. */
27107
char shl_unload ();
27111
return shl_unload ();
27116
rm -f conftest.$ac_objext conftest$ac_exeext
27117
if { (ac_try="$ac_link"
27118
case "(($ac_try" in
27119
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27120
*) ac_try_echo=$ac_try;;
27122
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27123
(eval "$ac_link") 2>conftest.er1
27125
grep -v '^ *+' conftest.er1 >conftest.err
27127
cat conftest.err >&5
27128
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27129
(exit $ac_status); } && {
27130
test -z "$ac_c_werror_flag" ||
27131
test ! -s conftest.err
27132
} && test -s conftest$ac_exeext &&
27133
$as_test_x conftest$ac_exeext; then
27134
ac_cv_lib_dld_shl_unload=yes
27136
echo "$as_me: failed program was:" >&5
27137
sed 's/^/| /' conftest.$ac_ext >&5
27139
ac_cv_lib_dld_shl_unload=no
27142
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27143
conftest$ac_exeext conftest.$ac_ext
27144
LIBS=$ac_check_lib_save_LIBS
27146
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_unload" >&5
27147
echo "${ECHO_T}$ac_cv_lib_dld_shl_unload" >&6; }
27148
if test $ac_cv_lib_dld_shl_unload = yes; then
27151
ac_cv_have_shload=yes
27161
{ echo "$as_me:$LINENO: checking for size_t" >&5
27162
echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
27163
if test "${ac_cv_type_size_t+set}" = set; then
27164
echo $ECHO_N "(cached) $ECHO_C" >&6
27166
cat >conftest.$ac_ext <<_ACEOF
27169
cat confdefs.h >>conftest.$ac_ext
27170
cat >>conftest.$ac_ext <<_ACEOF
27171
/* end confdefs.h. */
27172
$ac_includes_default
27173
typedef size_t ac__type_new_;
27177
if ((ac__type_new_ *) 0)
27179
if (sizeof (ac__type_new_))
27185
rm -f conftest.$ac_objext
27186
if { (ac_try="$ac_compile"
27187
case "(($ac_try" in
27188
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27189
*) ac_try_echo=$ac_try;;
27191
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27192
(eval "$ac_compile") 2>conftest.er1
27194
grep -v '^ *+' conftest.er1 >conftest.err
27196
cat conftest.err >&5
27197
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27198
(exit $ac_status); } && {
27199
test -z "$ac_c_werror_flag" ||
27200
test ! -s conftest.err
27201
} && test -s conftest.$ac_objext; then
27202
ac_cv_type_size_t=yes
27204
echo "$as_me: failed program was:" >&5
27205
sed 's/^/| /' conftest.$ac_ext >&5
27207
ac_cv_type_size_t=no
27210
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27212
{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
27213
echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
27215
# The cast to long int works around a bug in the HP C Compiler
27216
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27217
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
27218
# This bug is HP SR number 8606223364.
27219
{ echo "$as_me:$LINENO: checking size of size_t" >&5
27220
echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
27221
if test "${ac_cv_sizeof_size_t+set}" = set; then
27222
echo $ECHO_N "(cached) $ECHO_C" >&6
27224
if test "$cross_compiling" = yes; then
27225
# Depending upon the size, compute the lo and hi bounds.
27226
cat >conftest.$ac_ext <<_ACEOF
27229
cat confdefs.h >>conftest.$ac_ext
27230
cat >>conftest.$ac_ext <<_ACEOF
27231
/* end confdefs.h. */
27232
$ac_includes_default
27233
typedef size_t ac__type_sizeof_;
27237
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)@:>@;
27238
test_array @<:@0@:>@ = 0
27244
rm -f conftest.$ac_objext
27245
if { (ac_try="$ac_compile"
27246
case "(($ac_try" in
27247
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27248
*) ac_try_echo=$ac_try;;
27250
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27251
(eval "$ac_compile") 2>conftest.er1
27253
grep -v '^ *+' conftest.er1 >conftest.err
27255
cat conftest.err >&5
27256
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27257
(exit $ac_status); } && {
27258
test -z "$ac_c_werror_flag" ||
27259
test ! -s conftest.err
27260
} && test -s conftest.$ac_objext; then
27263
cat >conftest.$ac_ext <<_ACEOF
27266
cat confdefs.h >>conftest.$ac_ext
27267
cat >>conftest.$ac_ext <<_ACEOF
27268
/* end confdefs.h. */
27269
$ac_includes_default
27270
typedef size_t ac__type_sizeof_;
27274
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
27275
test_array @<:@0@:>@ = 0
27281
rm -f conftest.$ac_objext
27282
if { (ac_try="$ac_compile"
27283
case "(($ac_try" in
27284
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27285
*) ac_try_echo=$ac_try;;
27287
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27288
(eval "$ac_compile") 2>conftest.er1
27290
grep -v '^ *+' conftest.er1 >conftest.err
27292
cat conftest.err >&5
27293
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27294
(exit $ac_status); } && {
27295
test -z "$ac_c_werror_flag" ||
27296
test ! -s conftest.err
27297
} && test -s conftest.$ac_objext; then
27298
ac_hi=$ac_mid; break
27300
echo "$as_me: failed program was:" >&5
27301
sed 's/^/| /' conftest.$ac_ext >&5
27303
ac_lo=`expr $ac_mid + 1`
27304
if test $ac_lo -le $ac_mid; then
27308
ac_mid=`expr 2 '*' $ac_mid + 1`
27311
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27314
echo "$as_me: failed program was:" >&5
27315
sed 's/^/| /' conftest.$ac_ext >&5
27317
cat >conftest.$ac_ext <<_ACEOF
27320
cat confdefs.h >>conftest.$ac_ext
27321
cat >>conftest.$ac_ext <<_ACEOF
27322
/* end confdefs.h. */
27323
$ac_includes_default
27324
typedef size_t ac__type_sizeof_;
27328
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)@:>@;
27329
test_array @<:@0@:>@ = 0
27335
rm -f conftest.$ac_objext
27336
if { (ac_try="$ac_compile"
27337
case "(($ac_try" in
27338
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27339
*) ac_try_echo=$ac_try;;
27341
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27342
(eval "$ac_compile") 2>conftest.er1
27344
grep -v '^ *+' conftest.er1 >conftest.err
27346
cat conftest.err >&5
27347
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27348
(exit $ac_status); } && {
27349
test -z "$ac_c_werror_flag" ||
27350
test ! -s conftest.err
27351
} && test -s conftest.$ac_objext; then
27354
cat >conftest.$ac_ext <<_ACEOF
27357
cat confdefs.h >>conftest.$ac_ext
27358
cat >>conftest.$ac_ext <<_ACEOF
27359
/* end confdefs.h. */
27360
$ac_includes_default
27361
typedef size_t ac__type_sizeof_;
27365
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)@:>@;
27366
test_array @<:@0@:>@ = 0
27372
rm -f conftest.$ac_objext
27373
if { (ac_try="$ac_compile"
27374
case "(($ac_try" in
27375
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27376
*) ac_try_echo=$ac_try;;
27378
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27379
(eval "$ac_compile") 2>conftest.er1
27381
grep -v '^ *+' conftest.er1 >conftest.err
27383
cat conftest.err >&5
27384
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27385
(exit $ac_status); } && {
27386
test -z "$ac_c_werror_flag" ||
27387
test ! -s conftest.err
27388
} && test -s conftest.$ac_objext; then
27389
ac_lo=$ac_mid; break
27391
echo "$as_me: failed program was:" >&5
27392
sed 's/^/| /' conftest.$ac_ext >&5
27394
ac_hi=`expr '(' $ac_mid ')' - 1`
27395
if test $ac_mid -le $ac_hi; then
27399
ac_mid=`expr 2 '*' $ac_mid`
27402
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27405
echo "$as_me: failed program was:" >&5
27406
sed 's/^/| /' conftest.$ac_ext >&5
27411
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27414
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27415
# Binary search between lo and hi bounds.
27416
while test "x$ac_lo" != "x$ac_hi"; do
27417
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27418
cat >conftest.$ac_ext <<_ACEOF
27421
cat confdefs.h >>conftest.$ac_ext
27422
cat >>conftest.$ac_ext <<_ACEOF
27423
/* end confdefs.h. */
27424
$ac_includes_default
27425
typedef size_t ac__type_sizeof_;
27429
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
27430
test_array @<:@0@:>@ = 0
27436
rm -f conftest.$ac_objext
27437
if { (ac_try="$ac_compile"
27438
case "(($ac_try" in
27439
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27440
*) ac_try_echo=$ac_try;;
27442
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27443
(eval "$ac_compile") 2>conftest.er1
27445
grep -v '^ *+' conftest.er1 >conftest.err
27447
cat conftest.err >&5
27448
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27449
(exit $ac_status); } && {
27450
test -z "$ac_c_werror_flag" ||
27451
test ! -s conftest.err
27452
} && test -s conftest.$ac_objext; then
27455
echo "$as_me: failed program was:" >&5
27456
sed 's/^/| /' conftest.$ac_ext >&5
27458
ac_lo=`expr '(' $ac_mid ')' + 1`
27461
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27464
?*) ac_cv_sizeof_size_t=$ac_lo;;
27465
'') if test "$ac_cv_type_size_t" = yes; then
27466
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
27467
See \`config.log' for more details." >&5
27468
echo "$as_me: error: cannot compute sizeof (size_t)
27469
See \`config.log' for more details." >&2;}
27470
{ (exit 77); exit 77; }; }
27472
ac_cv_sizeof_size_t=0
27476
cat >conftest.$ac_ext <<_ACEOF
27479
cat confdefs.h >>conftest.$ac_ext
27480
cat >>conftest.$ac_ext <<_ACEOF
27481
/* end confdefs.h. */
27482
$ac_includes_default
27483
typedef size_t ac__type_sizeof_;
27484
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27485
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27486
@%:@include <stdio.h>
27487
@%:@include <stdlib.h>
27492
FILE *f = fopen ("conftest.val", "w");
27495
if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27497
long int i = longval ();
27498
if (i != ((long int) (sizeof (ac__type_sizeof_))))
27500
fprintf (f, "%ld\n", i);
27504
unsigned long int i = ulongval ();
27505
if (i != ((long int) (sizeof (ac__type_sizeof_))))
27507
fprintf (f, "%lu\n", i);
27509
return ferror (f) || fclose (f) != 0;
27515
rm -f conftest$ac_exeext
27516
if { (ac_try="$ac_link"
27517
case "(($ac_try" in
27518
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27519
*) ac_try_echo=$ac_try;;
27521
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27522
(eval "$ac_link") 2>&5
27524
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27525
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27526
{ (case "(($ac_try" in
27527
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27528
*) ac_try_echo=$ac_try;;
27530
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27531
(eval "$ac_try") 2>&5
27533
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27534
(exit $ac_status); }; }; then
27535
ac_cv_sizeof_size_t=`cat conftest.val`
27537
echo "$as_me: program exited with status $ac_status" >&5
27538
echo "$as_me: failed program was:" >&5
27539
sed 's/^/| /' conftest.$ac_ext >&5
27541
( exit $ac_status )
27542
if test "$ac_cv_type_size_t" = yes; then
27543
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
27544
See \`config.log' for more details." >&5
27545
echo "$as_me: error: cannot compute sizeof (size_t)
27546
See \`config.log' for more details." >&2;}
27547
{ (exit 77); exit 77; }; }
27549
ac_cv_sizeof_size_t=0
27552
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27556
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
27557
echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
27561
cat >>confdefs.h <<_ACEOF
27562
@%:@define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
27566
{ echo "$as_me:$LINENO: checking for unsigned long" >&5
27567
echo $ECHO_N "checking for unsigned long... $ECHO_C" >&6; }
27568
if test "${ac_cv_type_unsigned_long+set}" = set; then
27569
echo $ECHO_N "(cached) $ECHO_C" >&6
27571
cat >conftest.$ac_ext <<_ACEOF
27574
cat confdefs.h >>conftest.$ac_ext
27575
cat >>conftest.$ac_ext <<_ACEOF
27576
/* end confdefs.h. */
27577
$ac_includes_default
27578
typedef unsigned long ac__type_new_;
27582
if ((ac__type_new_ *) 0)
27584
if (sizeof (ac__type_new_))
27590
rm -f conftest.$ac_objext
27591
if { (ac_try="$ac_compile"
27592
case "(($ac_try" in
27593
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27594
*) ac_try_echo=$ac_try;;
27596
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27597
(eval "$ac_compile") 2>conftest.er1
27599
grep -v '^ *+' conftest.er1 >conftest.err
27601
cat conftest.err >&5
27602
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27603
(exit $ac_status); } && {
27604
test -z "$ac_c_werror_flag" ||
27605
test ! -s conftest.err
27606
} && test -s conftest.$ac_objext; then
27607
ac_cv_type_unsigned_long=yes
27609
echo "$as_me: failed program was:" >&5
27610
sed 's/^/| /' conftest.$ac_ext >&5
27612
ac_cv_type_unsigned_long=no
27615
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27617
{ echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long" >&5
27618
echo "${ECHO_T}$ac_cv_type_unsigned_long" >&6; }
27620
# The cast to long int works around a bug in the HP C Compiler
27621
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27622
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
27623
# This bug is HP SR number 8606223364.
27624
{ echo "$as_me:$LINENO: checking size of unsigned long" >&5
27625
echo $ECHO_N "checking size of unsigned long... $ECHO_C" >&6; }
27626
if test "${ac_cv_sizeof_unsigned_long+set}" = set; then
27627
echo $ECHO_N "(cached) $ECHO_C" >&6
27629
if test "$cross_compiling" = yes; then
27630
# Depending upon the size, compute the lo and hi bounds.
27631
cat >conftest.$ac_ext <<_ACEOF
27634
cat confdefs.h >>conftest.$ac_ext
27635
cat >>conftest.$ac_ext <<_ACEOF
27636
/* end confdefs.h. */
27637
$ac_includes_default
27638
typedef unsigned long ac__type_sizeof_;
27642
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)@:>@;
27643
test_array @<:@0@:>@ = 0
27649
rm -f conftest.$ac_objext
27650
if { (ac_try="$ac_compile"
27651
case "(($ac_try" in
27652
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27653
*) ac_try_echo=$ac_try;;
27655
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27656
(eval "$ac_compile") 2>conftest.er1
27658
grep -v '^ *+' conftest.er1 >conftest.err
27660
cat conftest.err >&5
27661
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27662
(exit $ac_status); } && {
27663
test -z "$ac_c_werror_flag" ||
27664
test ! -s conftest.err
27665
} && test -s conftest.$ac_objext; then
27668
cat >conftest.$ac_ext <<_ACEOF
27671
cat confdefs.h >>conftest.$ac_ext
27672
cat >>conftest.$ac_ext <<_ACEOF
27673
/* end confdefs.h. */
27674
$ac_includes_default
27675
typedef unsigned long ac__type_sizeof_;
27679
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
27680
test_array @<:@0@:>@ = 0
27686
rm -f conftest.$ac_objext
27687
if { (ac_try="$ac_compile"
27688
case "(($ac_try" in
27689
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27690
*) ac_try_echo=$ac_try;;
27692
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27693
(eval "$ac_compile") 2>conftest.er1
27695
grep -v '^ *+' conftest.er1 >conftest.err
27697
cat conftest.err >&5
27698
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27699
(exit $ac_status); } && {
27700
test -z "$ac_c_werror_flag" ||
27701
test ! -s conftest.err
27702
} && test -s conftest.$ac_objext; then
27703
ac_hi=$ac_mid; break
27705
echo "$as_me: failed program was:" >&5
27706
sed 's/^/| /' conftest.$ac_ext >&5
27708
ac_lo=`expr $ac_mid + 1`
27709
if test $ac_lo -le $ac_mid; then
27713
ac_mid=`expr 2 '*' $ac_mid + 1`
27716
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27719
echo "$as_me: failed program was:" >&5
27720
sed 's/^/| /' conftest.$ac_ext >&5
27722
cat >conftest.$ac_ext <<_ACEOF
27725
cat confdefs.h >>conftest.$ac_ext
27726
cat >>conftest.$ac_ext <<_ACEOF
27727
/* end confdefs.h. */
27728
$ac_includes_default
27729
typedef unsigned long ac__type_sizeof_;
27733
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)@:>@;
27734
test_array @<:@0@:>@ = 0
27740
rm -f conftest.$ac_objext
27741
if { (ac_try="$ac_compile"
27742
case "(($ac_try" in
27743
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27744
*) ac_try_echo=$ac_try;;
27746
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27747
(eval "$ac_compile") 2>conftest.er1
27749
grep -v '^ *+' conftest.er1 >conftest.err
27751
cat conftest.err >&5
27752
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27753
(exit $ac_status); } && {
27754
test -z "$ac_c_werror_flag" ||
27755
test ! -s conftest.err
27756
} && test -s conftest.$ac_objext; then
27759
cat >conftest.$ac_ext <<_ACEOF
27762
cat confdefs.h >>conftest.$ac_ext
27763
cat >>conftest.$ac_ext <<_ACEOF
27764
/* end confdefs.h. */
27765
$ac_includes_default
27766
typedef unsigned long ac__type_sizeof_;
27770
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)@:>@;
27771
test_array @<:@0@:>@ = 0
27777
rm -f conftest.$ac_objext
27778
if { (ac_try="$ac_compile"
27779
case "(($ac_try" in
27780
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27781
*) ac_try_echo=$ac_try;;
27783
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27784
(eval "$ac_compile") 2>conftest.er1
27786
grep -v '^ *+' conftest.er1 >conftest.err
27788
cat conftest.err >&5
27789
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27790
(exit $ac_status); } && {
27791
test -z "$ac_c_werror_flag" ||
27792
test ! -s conftest.err
27793
} && test -s conftest.$ac_objext; then
27794
ac_lo=$ac_mid; break
27796
echo "$as_me: failed program was:" >&5
27797
sed 's/^/| /' conftest.$ac_ext >&5
27799
ac_hi=`expr '(' $ac_mid ')' - 1`
27800
if test $ac_mid -le $ac_hi; then
27804
ac_mid=`expr 2 '*' $ac_mid`
27807
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27810
echo "$as_me: failed program was:" >&5
27811
sed 's/^/| /' conftest.$ac_ext >&5
27816
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27819
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27820
# Binary search between lo and hi bounds.
27821
while test "x$ac_lo" != "x$ac_hi"; do
27822
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27823
cat >conftest.$ac_ext <<_ACEOF
27826
cat confdefs.h >>conftest.$ac_ext
27827
cat >>conftest.$ac_ext <<_ACEOF
27828
/* end confdefs.h. */
27829
$ac_includes_default
27830
typedef unsigned long ac__type_sizeof_;
27834
static int test_array @<:@1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)@:>@;
27835
test_array @<:@0@:>@ = 0
27841
rm -f conftest.$ac_objext
27842
if { (ac_try="$ac_compile"
27843
case "(($ac_try" in
27844
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27845
*) ac_try_echo=$ac_try;;
27847
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27848
(eval "$ac_compile") 2>conftest.er1
27850
grep -v '^ *+' conftest.er1 >conftest.err
27852
cat conftest.err >&5
27853
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27854
(exit $ac_status); } && {
27855
test -z "$ac_c_werror_flag" ||
27856
test ! -s conftest.err
27857
} && test -s conftest.$ac_objext; then
27860
echo "$as_me: failed program was:" >&5
27861
sed 's/^/| /' conftest.$ac_ext >&5
27863
ac_lo=`expr '(' $ac_mid ')' + 1`
27866
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27869
?*) ac_cv_sizeof_unsigned_long=$ac_lo;;
27870
'') if test "$ac_cv_type_unsigned_long" = yes; then
27871
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long)
27872
See \`config.log' for more details." >&5
27873
echo "$as_me: error: cannot compute sizeof (unsigned long)
27874
See \`config.log' for more details." >&2;}
27875
{ (exit 77); exit 77; }; }
27877
ac_cv_sizeof_unsigned_long=0
27881
cat >conftest.$ac_ext <<_ACEOF
27884
cat confdefs.h >>conftest.$ac_ext
27885
cat >>conftest.$ac_ext <<_ACEOF
27886
/* end confdefs.h. */
27887
$ac_includes_default
27888
typedef unsigned long ac__type_sizeof_;
27889
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27890
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27891
@%:@include <stdio.h>
27892
@%:@include <stdlib.h>
27897
FILE *f = fopen ("conftest.val", "w");
27900
if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27902
long int i = longval ();
27903
if (i != ((long int) (sizeof (ac__type_sizeof_))))
27905
fprintf (f, "%ld\n", i);
27909
unsigned long int i = ulongval ();
27910
if (i != ((long int) (sizeof (ac__type_sizeof_))))
27912
fprintf (f, "%lu\n", i);
27914
return ferror (f) || fclose (f) != 0;
27920
rm -f conftest$ac_exeext
27921
if { (ac_try="$ac_link"
27922
case "(($ac_try" in
27923
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27924
*) ac_try_echo=$ac_try;;
27926
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27927
(eval "$ac_link") 2>&5
27929
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27930
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27931
{ (case "(($ac_try" in
27932
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27933
*) ac_try_echo=$ac_try;;
27935
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27936
(eval "$ac_try") 2>&5
27938
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27939
(exit $ac_status); }; }; then
27940
ac_cv_sizeof_unsigned_long=`cat conftest.val`
27942
echo "$as_me: program exited with status $ac_status" >&5
27943
echo "$as_me: failed program was:" >&5
27944
sed 's/^/| /' conftest.$ac_ext >&5
27946
( exit $ac_status )
27947
if test "$ac_cv_type_unsigned_long" = yes; then
27948
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long)
27949
See \`config.log' for more details." >&5
27950
echo "$as_me: error: cannot compute sizeof (unsigned long)
27951
See \`config.log' for more details." >&2;}
27952
{ (exit 77); exit 77; }; }
27954
ac_cv_sizeof_unsigned_long=0
27957
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27961
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long" >&5
27962
echo "${ECHO_T}$ac_cv_sizeof_unsigned_long" >&6; }
27966
cat >>confdefs.h <<_ACEOF
27967
@%:@define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
27972
{ echo "$as_me:$LINENO: checking sizeof size_t == sizeof unsigned long" >&5
27973
echo $ECHO_N "checking sizeof size_t == sizeof unsigned long... $ECHO_C" >&6; }
27974
cat >conftest.$ac_ext <<_ACEOF
27977
cat confdefs.h >>conftest.$ac_ext
27978
cat >>conftest.$ac_ext <<_ACEOF
27979
/* end confdefs.h. */
27985
#if SIZEOF_SIZE_T != SIZEOF_UNSIGNED_LONG
27993
rm -f conftest.$ac_objext
27994
if { (ac_try="$ac_compile"
27995
case "(($ac_try" in
27996
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27997
*) ac_try_echo=$ac_try;;
27999
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28000
(eval "$ac_compile") 2>conftest.er1
28002
grep -v '^ *+' conftest.er1 >conftest.err
28004
cat conftest.err >&5
28005
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28006
(exit $ac_status); } && {
28007
test -z "$ac_c_werror_flag" ||
28008
test ! -s conftest.err
28009
} && test -s conftest.$ac_objext; then
28010
{ echo "$as_me:$LINENO: result: yes" >&5
28011
echo "${ECHO_T}yes" >&6; }
28013
echo "$as_me: failed program was:" >&5
28014
sed 's/^/| /' conftest.$ac_ext >&5
28017
{ echo "$as_me:$LINENO: result: no" >&5
28018
echo "${ECHO_T}no" >&6; }
28019
{ { echo "$as_me:$LINENO: error:
28020
Apparently on your system our assumption sizeof size_t == sizeof unsigned long
28021
does not apply. Please mail kde-devel@kde.org with a description of your system!
28023
echo "$as_me: error:
28024
Apparently on your system our assumption sizeof size_t == sizeof unsigned long
28025
does not apply. Please mail kde-devel@kde.org with a description of your system!
28027
{ (exit 1); exit 1; }; }
28031
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28034
# darwin needs this to initialize the environment
28036
for ac_header in crt_externs.h
28038
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28039
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28040
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
28041
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28042
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28043
echo $ECHO_N "(cached) $ECHO_C" >&6
28045
ac_res=`eval echo '${'$as_ac_Header'}'`
28046
{ echo "$as_me:$LINENO: result: $ac_res" >&5
28047
echo "${ECHO_T}$ac_res" >&6; }
28049
# Is the header compilable?
28050
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
28051
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
28052
cat >conftest.$ac_ext <<_ACEOF
28055
cat confdefs.h >>conftest.$ac_ext
28056
cat >>conftest.$ac_ext <<_ACEOF
28057
/* end confdefs.h. */
28058
$ac_includes_default
28059
@%:@include <$ac_header>
28061
rm -f conftest.$ac_objext
28062
if { (ac_try="$ac_compile"
28063
case "(($ac_try" in
28064
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28065
*) ac_try_echo=$ac_try;;
28067
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28068
(eval "$ac_compile") 2>conftest.er1
28070
grep -v '^ *+' conftest.er1 >conftest.err
28072
cat conftest.err >&5
28073
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28074
(exit $ac_status); } && {
28075
test -z "$ac_c_werror_flag" ||
28076
test ! -s conftest.err
28077
} && test -s conftest.$ac_objext; then
28078
ac_header_compiler=yes
28080
echo "$as_me: failed program was:" >&5
28081
sed 's/^/| /' conftest.$ac_ext >&5
28083
ac_header_compiler=no
28086
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28087
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28088
echo "${ECHO_T}$ac_header_compiler" >&6; }
28090
# Is the header present?
28091
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
28092
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
28093
cat >conftest.$ac_ext <<_ACEOF
28096
cat confdefs.h >>conftest.$ac_ext
28097
cat >>conftest.$ac_ext <<_ACEOF
28098
/* end confdefs.h. */
28099
@%:@include <$ac_header>
28101
if { (ac_try="$ac_cpp conftest.$ac_ext"
28102
case "(($ac_try" in
28103
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28104
*) ac_try_echo=$ac_try;;
28106
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28107
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28109
grep -v '^ *+' conftest.er1 >conftest.err
28111
cat conftest.err >&5
28112
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28113
(exit $ac_status); } >/dev/null && {
28114
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28115
test ! -s conftest.err
28117
ac_header_preproc=yes
28119
echo "$as_me: failed program was:" >&5
28120
sed 's/^/| /' conftest.$ac_ext >&5
28122
ac_header_preproc=no
28125
rm -f conftest.err conftest.$ac_ext
28126
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28127
echo "${ECHO_T}$ac_header_preproc" >&6; }
28129
# So? What about this header?
28130
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28132
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28133
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28134
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
28135
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
28136
ac_header_preproc=yes
28139
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28140
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28141
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28142
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28143
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
28144
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
28145
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
28146
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
28147
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28148
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28149
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
28150
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
28154
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
28155
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28156
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28157
echo $ECHO_N "(cached) $ECHO_C" >&6
28159
eval "$as_ac_Header=\$ac_header_preproc"
28161
ac_res=`eval echo '${'$as_ac_Header'}'`
28162
{ echo "$as_me:$LINENO: result: $ac_res" >&5
28163
echo "${ECHO_T}$ac_res" >&6; }
28166
if test `eval echo '${'$as_ac_Header'}'` = yes; then
28167
cat >>confdefs.h <<_ACEOF
28168
@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28175
{ echo "$as_me:$LINENO: checking for _NSGetEnviron" >&5
28176
echo $ECHO_N "checking for _NSGetEnviron... $ECHO_C" >&6; }
28177
if test "${ac_cv_func__NSGetEnviron+set}" = set; then
28178
echo $ECHO_N "(cached) $ECHO_C" >&6
28180
cat >conftest.$ac_ext <<_ACEOF
28183
cat confdefs.h >>conftest.$ac_ext
28184
cat >>conftest.$ac_ext <<_ACEOF
28185
/* end confdefs.h. */
28186
/* Define _NSGetEnviron to an innocuous variant, in case <limits.h> declares _NSGetEnviron.
28187
For example, HP-UX 11i <limits.h> declares gettimeofday. */
28188
#define _NSGetEnviron innocuous__NSGetEnviron
28190
/* System header to define __stub macros and hopefully few prototypes,
28191
which can conflict with char _NSGetEnviron (); below.
28192
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28193
<limits.h> exists even on freestanding compilers. */
28196
# include <limits.h>
28198
# include <assert.h>
28201
#undef _NSGetEnviron
28203
/* Override any GCC internal prototype to avoid an error.
28204
Use char because int might match the return type of a GCC
28205
builtin and then its argument prototype would still apply. */
28209
char _NSGetEnviron ();
28210
/* The GNU C library defines this for functions which it implements
28211
to always fail with ENOSYS. Some functions are actually named
28212
something starting with __ and the normal name is an alias. */
28213
#if defined __stub__NSGetEnviron || defined __stub____NSGetEnviron
28220
return _NSGetEnviron ();
28225
rm -f conftest.$ac_objext conftest$ac_exeext
28226
if { (ac_try="$ac_link"
28227
case "(($ac_try" in
28228
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28229
*) ac_try_echo=$ac_try;;
28231
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28232
(eval "$ac_link") 2>conftest.er1
28234
grep -v '^ *+' conftest.er1 >conftest.err
28236
cat conftest.err >&5
28237
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28238
(exit $ac_status); } && {
28239
test -z "$ac_c_werror_flag" ||
28240
test ! -s conftest.err
28241
} && test -s conftest$ac_exeext &&
28242
$as_test_x conftest$ac_exeext; then
28243
ac_cv_func__NSGetEnviron=yes
28245
echo "$as_me: failed program was:" >&5
28246
sed 's/^/| /' conftest.$ac_ext >&5
28248
ac_cv_func__NSGetEnviron=no
28251
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28252
conftest$ac_exeext conftest.$ac_ext
28254
{ echo "$as_me:$LINENO: result: $ac_cv_func__NSGetEnviron" >&5
28255
echo "${ECHO_T}$ac_cv_func__NSGetEnviron" >&6; }
28256
if test $ac_cv_func__NSGetEnviron = yes; then
28258
cat >>confdefs.h <<\_ACEOF
28259
@%:@define HAVE_NSGETENVIRON 1
28273
for ac_func in vsnprintf snprintf
28275
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28276
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
28277
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28278
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28279
echo $ECHO_N "(cached) $ECHO_C" >&6
28281
cat >conftest.$ac_ext <<_ACEOF
28284
cat confdefs.h >>conftest.$ac_ext
28285
cat >>conftest.$ac_ext <<_ACEOF
28286
/* end confdefs.h. */
28287
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28288
For example, HP-UX 11i <limits.h> declares gettimeofday. */
28289
#define $ac_func innocuous_$ac_func
28291
/* System header to define __stub macros and hopefully few prototypes,
28292
which can conflict with char $ac_func (); below.
28293
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28294
<limits.h> exists even on freestanding compilers. */
28297
# include <limits.h>
28299
# include <assert.h>
28304
/* Override any GCC internal prototype to avoid an error.
28305
Use char because int might match the return type of a GCC
28306
builtin and then its argument prototype would still apply. */
28311
/* The GNU C library defines this for functions which it implements
28312
to always fail with ENOSYS. Some functions are actually named
28313
something starting with __ and the normal name is an alias. */
28314
#if defined __stub_$ac_func || defined __stub___$ac_func
28321
return $ac_func ();
28326
rm -f conftest.$ac_objext conftest$ac_exeext
28327
if { (ac_try="$ac_link"
28328
case "(($ac_try" in
28329
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28330
*) ac_try_echo=$ac_try;;
28332
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28333
(eval "$ac_link") 2>conftest.er1
28335
grep -v '^ *+' conftest.er1 >conftest.err
28337
cat conftest.err >&5
28338
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28339
(exit $ac_status); } && {
28340
test -z "$ac_c_werror_flag" ||
28341
test ! -s conftest.err
28342
} && test -s conftest$ac_exeext &&
28343
$as_test_x conftest$ac_exeext; then
28344
eval "$as_ac_var=yes"
28346
echo "$as_me: failed program was:" >&5
28347
sed 's/^/| /' conftest.$ac_ext >&5
28349
eval "$as_ac_var=no"
28352
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28353
conftest$ac_exeext conftest.$ac_ext
28355
ac_res=`eval echo '${'$as_ac_var'}'`
28356
{ echo "$as_me:$LINENO: result: $ac_res" >&5
28357
echo "${ECHO_T}$ac_res" >&6; }
28358
if test `eval echo '${'$as_ac_var'}'` = yes; then
28359
cat >>confdefs.h <<_ACEOF
28360
@%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28374
# Check whether --enable-embedded was given.
28375
if test "${enable_embedded+set}" = set; then
28376
enableval=$enable_embedded; kde_use_qt_emb=$enableval
28383
# Check whether --enable-qtopia was given.
28384
if test "${enable_qtopia+set}" = set; then
28385
enableval=$enable_qtopia; kde_use_qt_emb_palm=$enableval
28387
kde_use_qt_emb_palm=no
28392
# Check whether --enable-mac was given.
28393
if test "${enable_mac+set}" = set; then
28394
enableval=$enable_mac; kde_use_qt_mac=$enableval
28401
# used to disable x11-specific stuff on special platforms
28402
if test "$kde_use_qt_emb" = "no" && test "$kde_use_qt_mac" = "no"; then
28404
include_x11_FALSE='#'
28406
include_x11_TRUE='#'
28411
if test "$kde_use_qt_emb" = "no" && test "$kde_use_qt_mac" = "no"; then
28413
{ echo "$as_me:$LINENO: checking for X" >&5
28414
echo $ECHO_N "checking for X... $ECHO_C" >&6; }
28416
if test "${kde_cv_have_x+set}" = set; then
28417
echo $ECHO_N "(cached) $ECHO_C" >&6
28419
# One or both of the vars are not set, and there is no cached value.
28420
if test "{$x_includes+set}" = set || test "$x_includes" = NONE; then
28423
kde_x_includes=$x_includes
28425
if test "{$x_libraries+set}" = set || test "$x_libraries" = NONE; then
28428
kde_x_libraries=$x_libraries
28431
# below we use the standard autoconf calls
28432
ac_x_libraries=$kde_x_libraries
28433
ac_x_includes=$kde_x_includes
28438
if test "$ac_x_includes" = NO; then
28439
# Guess where to find include files, by looking for this one X11 .h file.
28440
test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h
28442
# First, try using that file with no special directory specified.
28443
cat >conftest.$ac_ext <<_ACEOF
28446
cat confdefs.h >>conftest.$ac_ext
28447
cat >>conftest.$ac_ext <<_ACEOF
28448
/* end confdefs.h. */
28449
#include <$x_direct_test_include>
28451
if { (ac_try="$ac_cpp conftest.$ac_ext"
28452
case "(($ac_try" in
28453
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28454
*) ac_try_echo=$ac_try;;
28456
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28457
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28459
grep -v '^ *+' conftest.er1 >conftest.err
28461
cat conftest.err >&5
28462
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28463
(exit $ac_status); } >/dev/null && {
28464
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28465
test ! -s conftest.err
28467
# We can compile using X headers with no special include directory.
28470
echo "$as_me: failed program was:" >&5
28471
sed 's/^/| /' conftest.$ac_ext >&5
28473
# Look for the header file in a standard set of common directories.
28474
# Check X11 before X11Rn because it is often a symlink to the current release.
28477
/usr/X11R6/include \
28478
/usr/X11R5/include \
28479
/usr/X11R4/include \
28482
/usr/include/X11R6 \
28483
/usr/include/X11R5 \
28484
/usr/include/X11R4 \
28486
/usr/local/X11/include \
28487
/usr/local/X11R6/include \
28488
/usr/local/X11R5/include \
28489
/usr/local/X11R4/include \
28491
/usr/local/include/X11 \
28492
/usr/local/include/X11R6 \
28493
/usr/local/include/X11R5 \
28494
/usr/local/include/X11R4 \
28496
/usr/X386/include \
28497
/usr/x386/include \
28498
/usr/XFree86/include/X11 \
28501
/usr/local/include \
28502
/usr/unsupported/include \
28503
/usr/athena/include \
28504
/usr/local/x11r5/include \
28505
/usr/lpp/Xamples/include \
28507
/usr/openwin/include \
28508
/usr/openwin/share/include \
28511
if test -r "$ac_dir/$x_direct_test_include"; then
28512
ac_x_includes=$ac_dir
28518
rm -f conftest.err conftest.$ac_ext
28519
fi # $ac_x_includes = NO
28521
if test "$ac_x_libraries" = NO; then
28522
# Check for the libraries.
28524
test -z "$x_direct_test_library" && x_direct_test_library=Xt
28525
test -z "$x_direct_test_function" && x_direct_test_function=XtMalloc
28527
# See if we find them without any special options.
28528
# Don't add to $LIBS permanently.
28529
ac_save_LIBS="$LIBS"
28530
LIBS="-l$x_direct_test_library $LIBS"
28531
cat >conftest.$ac_ext <<_ACEOF
28534
cat confdefs.h >>conftest.$ac_ext
28535
cat >>conftest.$ac_ext <<_ACEOF
28536
/* end confdefs.h. */
28537
#include <X11/Intrinsic.h>
28541
${x_direct_test_function}(1)
28546
rm -f conftest.$ac_objext conftest$ac_exeext
28547
if { (ac_try="$ac_link"
28548
case "(($ac_try" in
28549
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28550
*) ac_try_echo=$ac_try;;
28552
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28553
(eval "$ac_link") 2>conftest.er1
28555
grep -v '^ *+' conftest.er1 >conftest.err
28557
cat conftest.err >&5
28558
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28559
(exit $ac_status); } && {
28560
test -z "$ac_c_werror_flag" ||
28561
test ! -s conftest.err
28562
} && test -s conftest$ac_exeext &&
28563
$as_test_x conftest$ac_exeext; then
28564
LIBS="$ac_save_LIBS"
28565
# We can link X programs with no special library path.
28568
echo "$as_me: failed program was:" >&5
28569
sed 's/^/| /' conftest.$ac_ext >&5
28571
LIBS="$ac_save_LIBS"
28572
# First see if replacing the include by lib works.
28573
# Check X11 before X11Rn because it is often a symlink to the current release.
28574
for ac_dir in `echo "$ac_x_includes" | sed s/include/lib${kdelibsuff}/` \
28575
/usr/X11/lib${kdelibsuff} \
28576
/usr/X11R6/lib${kdelibsuff} \
28577
/usr/X11R5/lib${kdelibsuff} \
28578
/usr/X11R4/lib${kdelibsuff} \
28580
/usr/lib${kdelibsuff}/X11 \
28581
/usr/lib${kdelibsuff}/X11R6 \
28582
/usr/lib${kdelibsuff}/X11R5 \
28583
/usr/lib${kdelibsuff}/X11R4 \
28585
/usr/local/X11/lib${kdelibsuff} \
28586
/usr/local/X11R6/lib${kdelibsuff} \
28587
/usr/local/X11R5/lib${kdelibsuff} \
28588
/usr/local/X11R4/lib${kdelibsuff} \
28590
/usr/local/lib${kdelibsuff}/X11 \
28591
/usr/local/lib${kdelibsuff}/X11R6 \
28592
/usr/local/lib${kdelibsuff}/X11R5 \
28593
/usr/local/lib${kdelibsuff}/X11R4 \
28595
/usr/X386/lib${kdelibsuff} \
28596
/usr/x386/lib${kdelibsuff} \
28597
/usr/XFree86/lib${kdelibsuff}/X11 \
28599
/usr/lib${kdelibsuff} \
28600
/usr/local/lib${kdelibsuff} \
28601
/usr/unsupported/lib${kdelibsuff} \
28602
/usr/athena/lib${kdelibsuff} \
28603
/usr/local/x11r5/lib${kdelibsuff} \
28604
/usr/lpp/Xamples/lib${kdelibsuff} \
28605
/lib/usr/lib${kdelibsuff}/X11 \
28607
/usr/openwin/lib${kdelibsuff} \
28608
/usr/openwin/share/lib${kdelibsuff} \
28611
for ac_extension in a so sl; do
28612
if test -r $ac_dir/lib${x_direct_test_library}.$ac_extension; then
28613
ac_x_libraries=$ac_dir
28620
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28621
conftest$ac_exeext conftest.$ac_ext
28622
fi # $ac_x_libraries = NO
28630
rm -f -r conftest.dir
28631
if mkdir conftest.dir; then
28633
cat >Imakefile <<'_ACEOF'
28635
@echo incroot='${INCROOT}'
28637
@echo usrlibdir='${USRLIBDIR}'
28639
@echo libdir='${LIBDIR}'
28641
if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
28642
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
28643
for ac_var in incroot usrlibdir libdir; do
28644
eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
28646
# Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
28647
for ac_extension in a so sl; do
28648
if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
28649
test -f "$ac_im_libdir/libX11.$ac_extension"; then
28650
ac_im_usrlibdir=$ac_im_libdir; break
28653
# Screen out bogus values from the imake configuration. They are
28654
# bogus both because they are the default anyway, and because
28655
# using them would break gcc on systems where it needs fixed includes.
28656
case $ac_im_incroot in
28657
/usr/include) ac_x_includes= ;;
28658
*) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
28660
case $ac_im_usrlibdir in
28661
/usr/lib | /lib) ;;
28662
*) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
28666
rm -f -r conftest.dir
28669
if test -z "$ac_x_includes"; then
28672
if test -z "$ac_x_libraries"; then
28673
ac_x_libraries="/usr/lib${kdelibsuff}"
28676
#from now on we use our own again
28678
# when the user already gave --x-includes, we ignore
28679
# what the standard autoconf macros told us.
28680
if test "$kde_x_includes" = NO; then
28681
kde_x_includes=$ac_x_includes
28684
# for --x-libraries too
28685
if test "$kde_x_libraries" = NO; then
28686
kde_x_libraries=$ac_x_libraries
28689
if test "$kde_x_includes" = NO; then
28690
{ { echo "$as_me:$LINENO: error: Can't find X includes. Please check your installation and add the correct paths!" >&5
28691
echo "$as_me: error: Can't find X includes. Please check your installation and add the correct paths!" >&2;}
28692
{ (exit 1); exit 1; }; }
28695
if test "$kde_x_libraries" = NO; then
28696
{ { echo "$as_me:$LINENO: error: Can't find X libraries. Please check your installation and add the correct paths!" >&5
28697
echo "$as_me: error: Can't find X libraries. Please check your installation and add the correct paths!" >&2;}
28698
{ (exit 1); exit 1; }; }
28701
# Record where we found X for the cache.
28702
kde_cv_have_x="have_x=yes \
28703
kde_x_includes=$kde_x_includes kde_x_libraries=$kde_x_libraries"
28707
eval "$kde_cv_have_x"
28709
if test "$have_x" != yes; then
28710
{ echo "$as_me:$LINENO: result: $have_x" >&5
28711
echo "${ECHO_T}$have_x" >&6; }
28714
{ echo "$as_me:$LINENO: result: libraries $kde_x_libraries, headers $kde_x_includes" >&5
28715
echo "${ECHO_T}libraries $kde_x_libraries, headers $kde_x_includes" >&6; }
28718
if test -z "$kde_x_includes" || test "x$kde_x_includes" = xNONE; then
28720
x_includes="."; else
28721
x_includes=$kde_x_includes
28722
X_INCLUDES="-I$x_includes"
28725
if test -z "$kde_x_libraries" || test "x$kde_x_libraries" = xNONE; then
28727
x_libraries="/usr/lib"; else
28728
x_libraries=$kde_x_libraries
28729
X_LDFLAGS="-L$x_libraries"
28731
all_includes="$X_INCLUDES"
28732
all_libraries="$X_LDFLAGS $LDFLAGS_AS_NEEDED $LDFLAGS_NEW_DTAGS"
28734
# Check for libraries that X11R6 Xt/Xaw programs need.
28735
ac_save_LDFLAGS="$LDFLAGS"
28736
LDFLAGS="$LDFLAGS $X_LDFLAGS"
28737
# SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
28738
# check for ICE first), but we must link in the order -lSM -lICE or
28739
# we get undefined symbols. So assume we have SM if we have ICE.
28740
# These have to be linked with before -lX11, unlike the other
28741
# libraries we check for below, so use a different variable.
28742
# --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
28743
{ echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
28744
echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
28745
if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
28746
echo $ECHO_N "(cached) $ECHO_C" >&6
28748
ac_check_lib_save_LIBS=$LIBS
28749
LIBS="-lICE $X_EXTRA_LIBS $LIBS"
28750
cat >conftest.$ac_ext <<_ACEOF
28753
cat confdefs.h >>conftest.$ac_ext
28754
cat >>conftest.$ac_ext <<_ACEOF
28755
/* end confdefs.h. */
28757
/* Override any GCC internal prototype to avoid an error.
28758
Use char because int might match the return type of a GCC
28759
builtin and then its argument prototype would still apply. */
28763
char IceConnectionNumber ();
28767
return IceConnectionNumber ();
28772
rm -f conftest.$ac_objext conftest$ac_exeext
28773
if { (ac_try="$ac_link"
28774
case "(($ac_try" in
28775
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28776
*) ac_try_echo=$ac_try;;
28778
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28779
(eval "$ac_link") 2>conftest.er1
28781
grep -v '^ *+' conftest.er1 >conftest.err
28783
cat conftest.err >&5
28784
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28785
(exit $ac_status); } && {
28786
test -z "$ac_c_werror_flag" ||
28787
test ! -s conftest.err
28788
} && test -s conftest$ac_exeext &&
28789
$as_test_x conftest$ac_exeext; then
28790
ac_cv_lib_ICE_IceConnectionNumber=yes
28792
echo "$as_me: failed program was:" >&5
28793
sed 's/^/| /' conftest.$ac_ext >&5
28795
ac_cv_lib_ICE_IceConnectionNumber=no
28798
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28799
conftest$ac_exeext conftest.$ac_ext
28800
LIBS=$ac_check_lib_save_LIBS
28802
{ echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
28803
echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
28804
if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
28808
LDFLAGS="$ac_save_LDFLAGS"
28810
LIB_X11='-lX11 $(LIBSOCKET)'
28812
{ echo "$as_me:$LINENO: checking for libXext" >&5
28813
echo $ECHO_N "checking for libXext... $ECHO_C" >&6; }
28814
if test "${kde_cv_have_libXext+set}" = set; then
28815
echo $ECHO_N "(cached) $ECHO_C" >&6
28818
kde_ldflags_safe="$LDFLAGS"
28819
kde_libs_safe="$LIBS"
28821
LDFLAGS="$LDFLAGS $X_LDFLAGS $USER_LDFLAGS"
28822
LIBS="-lXext -lX11 $LIBSOCKET"
28824
cat >conftest.$ac_ext <<_ACEOF
28827
cat confdefs.h >>conftest.$ac_ext
28828
cat >>conftest.$ac_ext <<_ACEOF
28829
/* end confdefs.h. */
28832
#ifdef STDC_HEADERS
28833
# include <stdlib.h>
28840
printf("hello Xext\n");
28846
rm -f conftest.$ac_objext conftest$ac_exeext
28847
if { (ac_try="$ac_link"
28848
case "(($ac_try" in
28849
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28850
*) ac_try_echo=$ac_try;;
28852
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28853
(eval "$ac_link") 2>conftest.er1
28855
grep -v '^ *+' conftest.er1 >conftest.err
28857
cat conftest.err >&5
28858
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28859
(exit $ac_status); } && {
28860
test -z "$ac_c_werror_flag" ||
28861
test ! -s conftest.err
28862
} && test -s conftest$ac_exeext &&
28863
$as_test_x conftest$ac_exeext; then
28864
kde_cv_have_libXext=yes
28866
echo "$as_me: failed program was:" >&5
28867
sed 's/^/| /' conftest.$ac_ext >&5
28869
kde_cv_have_libXext=no
28873
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28874
conftest$ac_exeext conftest.$ac_ext
28876
LDFLAGS=$kde_ldflags_safe
28877
LIBS=$kde_libs_safe
28882
{ echo "$as_me:$LINENO: result: $kde_cv_have_libXext" >&5
28883
echo "${ECHO_T}$kde_cv_have_libXext" >&6; }
28885
if test "$kde_cv_have_libXext" = "no"; then
28886
{ { echo "$as_me:$LINENO: error: We need a working libXext to proceed. Since configure
28887
can't find it itself, we stop here assuming that make wouldn't find
28889
echo "$as_me: error: We need a working libXext to proceed. Since configure
28890
can't find it itself, we stop here assuming that make wouldn't find
28891
them either." >&2;}
28892
{ (exit 1); exit 1; }; }
28898
elif test "$kde_use_qt_emb" = "yes"; then
28900
CXXFLAGS="$CXXFLAGS -fno-rtti"
28901
QTE_NORTTI="-fno-rtti -DQWS"
28911
elif test "$kde_use_qt_mac" = "yes"; then
28912
CXXFLAGS="$CXXFLAGS -DQT_MAC -no-cpp-precomp"
28913
CFLAGS="$CFLAGS -DQT_MAC -no-cpp-precomp"
28939
if test -n "$PTHREAD_LIBS"; then
28940
if test "x$PTHREAD_LIBS" = "x-pthread" ; then
28941
LIBPTHREAD="PTHREAD"
28943
PTHREAD_LIBS_save="$PTHREAD_LIBS"
28944
PTHREAD_LIBS=`echo "$PTHREAD_LIBS_save" | sed -e 's,^-l,,g'`
28945
{ echo "$as_me:$LINENO: checking for pthread_create in $PTHREAD_LIBS" >&5
28946
echo $ECHO_N "checking for pthread_create in $PTHREAD_LIBS... $ECHO_C" >&6; }
28948
kde_save_LDFLAGS="$LDFLAGS"
28949
kde_save_LIBS="$LIBS"
28950
LDFLAGS="$LDFLAGS $all_libraries"
28952
aix*) LDFLAGS="-brtl $LDFLAGS"
28953
test "$GCC" = yes && LDFLAGS="-Wl,$LDFLAGS"
28956
as_ac_Lib=`echo "ac_cv_lib_$PTHREAD_LIBS''_pthread_create" | $as_tr_sh`
28957
{ echo "$as_me:$LINENO: checking for pthread_create in -l$PTHREAD_LIBS" >&5
28958
echo $ECHO_N "checking for pthread_create in -l$PTHREAD_LIBS... $ECHO_C" >&6; }
28959
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
28960
echo $ECHO_N "(cached) $ECHO_C" >&6
28962
ac_check_lib_save_LIBS=$LIBS
28963
LIBS="-l$PTHREAD_LIBS $LIBS"
28964
cat >conftest.$ac_ext <<_ACEOF
28967
cat confdefs.h >>conftest.$ac_ext
28968
cat >>conftest.$ac_ext <<_ACEOF
28969
/* end confdefs.h. */
28971
/* Override any GCC internal prototype to avoid an error.
28972
Use char because int might match the return type of a GCC
28973
builtin and then its argument prototype would still apply. */
28977
char pthread_create ();
28981
return pthread_create ();
28986
rm -f conftest.$ac_objext conftest$ac_exeext
28987
if { (ac_try="$ac_link"
28988
case "(($ac_try" in
28989
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28990
*) ac_try_echo=$ac_try;;
28992
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28993
(eval "$ac_link") 2>conftest.er1
28995
grep -v '^ *+' conftest.er1 >conftest.err
28997
cat conftest.err >&5
28998
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28999
(exit $ac_status); } && {
29000
test -z "$ac_c_werror_flag" ||
29001
test ! -s conftest.err
29002
} && test -s conftest$ac_exeext &&
29003
$as_test_x conftest$ac_exeext; then
29004
eval "$as_ac_Lib=yes"
29006
echo "$as_me: failed program was:" >&5
29007
sed 's/^/| /' conftest.$ac_ext >&5
29009
eval "$as_ac_Lib=no"
29012
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29013
conftest$ac_exeext conftest.$ac_ext
29014
LIBS=$ac_check_lib_save_LIBS
29016
ac_res=`eval echo '${'$as_ac_Lib'}'`
29017
{ echo "$as_me:$LINENO: result: $ac_res" >&5
29018
echo "${ECHO_T}$ac_res" >&6; }
29019
if test `eval echo '${'$as_ac_Lib'}'` = yes; then
29020
LIBPTHREAD="$PTHREAD_LIBS_save"
29023
LDFLAGS="$kde_save_LDFLAGS"
29024
LIBS="$kde_save_LIBS"
29026
PTHREAD_LIBS="$PTHREAD_LIBS_save"
29030
if test -z "$LIBPTHREAD"; then
29031
{ echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
29032
echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
29033
if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
29034
echo $ECHO_N "(cached) $ECHO_C" >&6
29036
ac_check_lib_save_LIBS=$LIBS
29037
LIBS="-lpthread $LIBS"
29038
cat >conftest.$ac_ext <<_ACEOF
29041
cat confdefs.h >>conftest.$ac_ext
29042
cat >>conftest.$ac_ext <<_ACEOF
29043
/* end confdefs.h. */
29045
/* Override any GCC internal prototype to avoid an error.
29046
Use char because int might match the return type of a GCC
29047
builtin and then its argument prototype would still apply. */
29051
char pthread_create ();
29055
return pthread_create ();
29060
rm -f conftest.$ac_objext conftest$ac_exeext
29061
if { (ac_try="$ac_link"
29062
case "(($ac_try" in
29063
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29064
*) ac_try_echo=$ac_try;;
29066
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29067
(eval "$ac_link") 2>conftest.er1
29069
grep -v '^ *+' conftest.er1 >conftest.err
29071
cat conftest.err >&5
29072
echo "$as_me:$LINENO: \$? = $ac_status" >&5
29073
(exit $ac_status); } && {
29074
test -z "$ac_c_werror_flag" ||
29075
test ! -s conftest.err
29076
} && test -s conftest$ac_exeext &&
29077
$as_test_x conftest$ac_exeext; then
29078
ac_cv_lib_pthread_pthread_create=yes
29080
echo "$as_me: failed program was:" >&5
29081
sed 's/^/| /' conftest.$ac_ext >&5
29083
ac_cv_lib_pthread_pthread_create=no
29086
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29087
conftest$ac_exeext conftest.$ac_ext
29088
LIBS=$ac_check_lib_save_LIBS
29090
{ echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
29091
echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
29092
if test $ac_cv_lib_pthread_pthread_create = yes; then
29093
LIBPTHREAD="-lpthread"
29098
if test -z "$LIBPTHREAD" ; then
29099
{ echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
29100
echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
29101
kde_safe_libs=$LIBS
29102
LIBS="$LIBS -lpthread"
29103
cat >conftest.$ac_ext <<_ACEOF
29106
cat confdefs.h >>conftest.$ac_ext
29107
cat >>conftest.$ac_ext <<_ACEOF
29108
/* end confdefs.h. */
29109
#include <pthread.h>
29113
(void)pthread_create(0,0,0,0);
29118
rm -f conftest.$ac_objext conftest$ac_exeext
29119
if { (ac_try="$ac_link"
29120
case "(($ac_try" in
29121
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29122
*) ac_try_echo=$ac_try;;
29124
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29125
(eval "$ac_link") 2>conftest.er1
29127
grep -v '^ *+' conftest.er1 >conftest.err
29129
cat conftest.err >&5
29130
echo "$as_me:$LINENO: \$? = $ac_status" >&5
29131
(exit $ac_status); } && {
29132
test -z "$ac_c_werror_flag" ||
29133
test ! -s conftest.err
29134
} && test -s conftest$ac_exeext &&
29135
$as_test_x conftest$ac_exeext; then
29137
{ echo "$as_me:$LINENO: result: yes" >&5
29138
echo "${ECHO_T}yes" >&6; }
29139
LIBPTHREAD="-lpthread"
29141
echo "$as_me: failed program was:" >&5
29142
sed 's/^/| /' conftest.$ac_ext >&5
29145
{ echo "$as_me:$LINENO: result: no" >&5
29146
echo "${ECHO_T}no" >&6; }
29149
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29150
conftest$ac_exeext conftest.$ac_ext
29151
LIBS=$kde_safe_libs
29154
if test "x$LIBPTHREAD" = "xPTHREAD" ; then
29162
if test -z "$LIBPTHREAD"; then
29164
{ echo "$as_me:$LINENO: checking whether $CXX supports -pthread" >&5
29165
echo $ECHO_N "checking whether $CXX supports -pthread... $ECHO_C" >&6; }
29166
kde_cache=`echo pthread | sed 'y% .=/+-,%____p__%'`
29167
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
29168
echo $ECHO_N "(cached) $ECHO_C" >&6
29173
ac_cpp='$CXXCPP $CPPFLAGS'
29174
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29175
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29176
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29178
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
29181
save_CXXFLAGS="$CXXFLAGS"
29182
CXXFLAGS="$CXXFLAGS -pthread"
29183
cat >conftest.$ac_ext <<_ACEOF
29186
cat confdefs.h >>conftest.$ac_ext
29187
cat >>conftest.$ac_ext <<_ACEOF
29188
/* end confdefs.h. */
29198
rm -f conftest.$ac_objext conftest$ac_exeext
29199
if { (ac_try="$ac_link"
29200
case "(($ac_try" in
29201
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29202
*) ac_try_echo=$ac_try;;
29204
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29205
(eval "$ac_link") 2>conftest.er1
29207
grep -v '^ *+' conftest.er1 >conftest.err
29209
cat conftest.err >&5
29210
echo "$as_me:$LINENO: \$? = $ac_status" >&5
29211
(exit $ac_status); } && {
29212
test -z "$ac_cxx_werror_flag" ||
29213
test ! -s conftest.err
29214
} && test -s conftest$ac_exeext &&
29215
$as_test_x conftest$ac_exeext; then
29216
eval "kde_cv_prog_cxx_$kde_cache=yes"
29218
echo "$as_me: failed program was:" >&5
29219
sed 's/^/| /' conftest.$ac_ext >&5
29224
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29225
conftest$ac_exeext conftest.$ac_ext
29226
CXXFLAGS="$save_CXXFLAGS"
29228
ac_cpp='$CPP $CPPFLAGS'
29229
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29230
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29231
ac_compiler_gnu=$ac_cv_c_compiler_gnu
29236
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
29237
{ echo "$as_me:$LINENO: result: yes" >&5
29238
echo "${ECHO_T}yes" >&6; }
29240
USE_THREADS="-D_THREAD_SAFE -pthread"
29242
{ echo "$as_me:$LINENO: result: no" >&5
29243
echo "${ECHO_T}no" >&6; }
29255
{ echo "$as_me:$LINENO: checking whether $CXX supports -mt" >&5
29256
echo $ECHO_N "checking whether $CXX supports -mt... $ECHO_C" >&6; }
29257
kde_cache=`echo mt | sed 'y% .=/+-,%____p__%'`
29258
if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
29259
echo $ECHO_N "(cached) $ECHO_C" >&6
29264
ac_cpp='$CXXCPP $CPPFLAGS'
29265
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29266
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29267
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29269
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
29272
save_CXXFLAGS="$CXXFLAGS"
29273
CXXFLAGS="$CXXFLAGS -mt"
29274
cat >conftest.$ac_ext <<_ACEOF
29277
cat confdefs.h >>conftest.$ac_ext
29278
cat >>conftest.$ac_ext <<_ACEOF
29279
/* end confdefs.h. */
29289
rm -f conftest.$ac_objext conftest$ac_exeext
29290
if { (ac_try="$ac_link"
29291
case "(($ac_try" in
29292
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29293
*) ac_try_echo=$ac_try;;
29295
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29296
(eval "$ac_link") 2>conftest.er1
29298
grep -v '^ *+' conftest.er1 >conftest.err
29300
cat conftest.err >&5
29301
echo "$as_me:$LINENO: \$? = $ac_status" >&5
29302
(exit $ac_status); } && {
29303
test -z "$ac_cxx_werror_flag" ||
29304
test ! -s conftest.err
29305
} && test -s conftest$ac_exeext &&
29306
$as_test_x conftest$ac_exeext; then
29307
eval "kde_cv_prog_cxx_$kde_cache=yes"
29309
echo "$as_me: failed program was:" >&5
29310
sed 's/^/| /' conftest.$ac_ext >&5
29315
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29316
conftest$ac_exeext conftest.$ac_ext
29317
CXXFLAGS="$save_CXXFLAGS"
29319
ac_cpp='$CPP $CPPFLAGS'
29320
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29321
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29322
ac_compiler_gnu=$ac_cv_c_compiler_gnu
29327
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
29328
{ echo "$as_me:$LINENO: result: yes" >&5
29329
echo "${ECHO_T}yes" >&6; }
29333
{ echo "$as_me:$LINENO: result: no" >&5
29334
echo "${ECHO_T}no" >&6; }
29339
CPPFLAGS="$CPPFLAGS -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS -DSVR4"
29342
CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE $PTHREAD_CFLAGS"
29345
CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE"
29346
LIBPTHREAD="$LIBPTHREAD -lc_r"
29348
linux*) CPPFLAGS="$CPPFLAGS -D_REENTRANT"
29349
if test "$CXX" = "KCC"; then
29350
CXXFLAGS="$CXXFLAGS --thread_safe"
29351
NOOPT_CXXFLAGS="$NOOPT_CXXFLAGS --thread_safe"
29361
{ echo "$as_me:$LINENO: checking for extra includes" >&5
29362
echo $ECHO_N "checking for extra includes... $ECHO_C" >&6; }
29364
# Check whether --with-extra-includes was given.
29365
if test "${with_extra_includes+set}" = set; then
29366
withval=$with_extra_includes; kde_use_extra_includes="$withval"
29368
kde_use_extra_includes=NONE
29372
kde_extra_includes=
29373
if test -n "$kde_use_extra_includes" && \
29374
test "$kde_use_extra_includes" != "NONE"; then
29378
for dir in $kde_use_extra_includes; do
29379
kde_extra_includes="$kde_extra_includes $dir"
29380
USER_INCLUDES="$USER_INCLUDES -I$dir"
29383
kde_use_extra_includes="added"
29385
kde_use_extra_includes="no"
29389
{ echo "$as_me:$LINENO: result: $kde_use_extra_includes" >&5
29390
echo "${ECHO_T}$kde_use_extra_includes" >&6; }
29393
{ echo "$as_me:$LINENO: checking for extra libs" >&5
29394
echo $ECHO_N "checking for extra libs... $ECHO_C" >&6; }
29396
# Check whether --with-extra-libs was given.
29397
if test "${with_extra_libs+set}" = set; then
29398
withval=$with_extra_libs; kde_use_extra_libs=$withval
29400
kde_use_extra_libs=NONE
29404
if test -n "$kde_use_extra_libs" && \
29405
test "$kde_use_extra_libs" != "NONE"; then
29409
for dir in $kde_use_extra_libs; do
29410
kde_extra_libs="$kde_extra_libs $dir"
29411
KDE_EXTRA_RPATH="$KDE_EXTRA_RPATH -R $dir"
29412
USER_LDFLAGS="$USER_LDFLAGS -L$dir"
29415
kde_use_extra_libs="added"
29417
kde_use_extra_libs="no"
29422
{ echo "$as_me:$LINENO: result: $kde_use_extra_libs" >&5
29423
echo "${ECHO_T}$kde_use_extra_libs" >&6; }
29428
{ echo "$as_me:$LINENO: checking for libz" >&5
29429
echo $ECHO_N "checking for libz... $ECHO_C" >&6; }
29430
if test "${ac_cv_lib_z+set}" = set; then
29431
echo $ECHO_N "(cached) $ECHO_C" >&6
29434
kde_save_LIBS="$LIBS"
29435
LIBS="$all_libraries $USER_LDFLAGS -lz $LIBSOCKET"
29436
kde_save_CFLAGS="$CFLAGS"
29437
CFLAGS="$CFLAGS $all_includes $USER_INCLUDES"
29438
cat >conftest.$ac_ext <<_ACEOF
29441
cat confdefs.h >>conftest.$ac_ext
29442
cat >>conftest.$ac_ext <<_ACEOF
29443
/* end confdefs.h. */
29452
gzFile f = (gzFile) 0;
29453
/* this would segfault.. but we only link, don't run */
29454
(void) gzgets(f, buf, sizeof(buf));
29456
return (zlibVersion() == ZLIB_VERSION);
29462
rm -f conftest.$ac_objext conftest$ac_exeext
29463
if { (ac_try="$ac_link"
29464
case "(($ac_try" in
29465
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29466
*) ac_try_echo=$ac_try;;
29468
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29469
(eval "$ac_link") 2>conftest.er1
29471
grep -v '^ *+' conftest.er1 >conftest.err
29473
cat conftest.err >&5
29474
echo "$as_me:$LINENO: \$? = $ac_status" >&5
29475
(exit $ac_status); } && {
29476
test -z "$ac_c_werror_flag" ||
29477
test ! -s conftest.err
29478
} && test -s conftest$ac_exeext &&
29479
$as_test_x conftest$ac_exeext; then
29480
eval "ac_cv_lib_z='-lz'"
29482
echo "$as_me: failed program was:" >&5
29483
sed 's/^/| /' conftest.$ac_ext >&5
29485
eval "ac_cv_lib_z=no"
29488
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29489
conftest$ac_exeext conftest.$ac_ext
29490
LIBS="$kde_save_LIBS"
29491
CFLAGS="$kde_save_CFLAGS"
29494
if test ! "$ac_cv_lib_z" = no; then
29496
cat >>confdefs.h <<_ACEOF
29497
@%:@define HAVE_LIBZ 1
29500
LIBZ="$ac_cv_lib_z"
29501
{ echo "$as_me:$LINENO: result: $ac_cv_lib_z" >&5
29502
echo "${ECHO_T}$ac_cv_lib_z" >&6; }
29504
{ { echo "$as_me:$LINENO: error: not found.
29505
Possibly configure picks up an outdated version
29506
installed by XFree86. Remove it from your system.
29508
Check your installation and look into config.log" >&5
29509
echo "$as_me: error: not found.
29510
Possibly configure picks up an outdated version
29511
installed by XFree86. Remove it from your system.
29513
Check your installation and look into config.log" >&2;}
29514
{ (exit 1); exit 1; }; }
29522
{ echo "$as_me:$LINENO: checking for libpng" >&5
29523
echo $ECHO_N "checking for libpng... $ECHO_C" >&6; }
29524
if test "${ac_cv_lib_png+set}" = set; then
29525
echo $ECHO_N "(cached) $ECHO_C" >&6
29528
kde_save_LIBS="$LIBS"
29529
if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then
29530
LIBS="$LIBS $all_libraries $USER_LDFLAGS -lpng $LIBZ -lm -lX11 $LIBSOCKET"
29532
LIBS="$LIBS $all_libraries $USER_LDFLAGS -lpng $LIBZ -lm"
29534
kde_save_CFLAGS="$CFLAGS"
29535
CFLAGS="$CFLAGS $all_includes $USER_INCLUDES"
29537
cat >conftest.$ac_ext <<_ACEOF
29540
cat confdefs.h >>conftest.$ac_ext
29541
cat >>conftest.$ac_ext <<_ACEOF
29542
/* end confdefs.h. */
29550
png_structp png_ptr = png_create_read_struct( /* image ptr */
29551
PNG_LIBPNG_VER_STRING, 0, 0, 0 );
29552
return( png_ptr != 0 );
29558
rm -f conftest.$ac_objext conftest$ac_exeext
29559
if { (ac_try="$ac_link"
29560
case "(($ac_try" in
29561
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29562
*) ac_try_echo=$ac_try;;
29564
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29565
(eval "$ac_link") 2>conftest.er1
29567
grep -v '^ *+' conftest.er1 >conftest.err
29569
cat conftest.err >&5
29570
echo "$as_me:$LINENO: \$? = $ac_status" >&5
29571
(exit $ac_status); } && {
29572
test -z "$ac_c_werror_flag" ||
29573
test ! -s conftest.err
29574
} && test -s conftest$ac_exeext &&
29575
$as_test_x conftest$ac_exeext; then
29576
eval "ac_cv_lib_png='-lpng $LIBZ -lm'"
29578
echo "$as_me: failed program was:" >&5
29579
sed 's/^/| /' conftest.$ac_ext >&5
29581
eval "ac_cv_lib_png=no"
29585
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29586
conftest$ac_exeext conftest.$ac_ext
29587
LIBS="$kde_save_LIBS"
29588
CFLAGS="$kde_save_CFLAGS"
29591
if eval "test ! \"`echo $ac_cv_lib_png`\" = no"; then
29593
cat >>confdefs.h <<_ACEOF
29594
@%:@define HAVE_LIBPNG 1
29597
LIBPNG="$ac_cv_lib_png"
29599
{ echo "$as_me:$LINENO: result: $ac_cv_lib_png" >&5
29600
echo "${ECHO_T}$ac_cv_lib_png" >&6; }
29602
{ echo "$as_me:$LINENO: result: no" >&5
29603
echo "${ECHO_T}no" >&6; }
29610
{ echo "$as_me:$LINENO: checking for libjpeg6b" >&5
29611
echo $ECHO_N "checking for libjpeg6b... $ECHO_C" >&6; }
29612
if test "${ac_cv_lib_jpeg_6b+set}" = set; then
29613
echo $ECHO_N "(cached) $ECHO_C" >&6
29616
ac_save_LIBS="$LIBS"
29617
LIBS="$all_libraries $USER_LDFLAGS -ljpeg6b -lm"
29618
ac_save_CFLAGS="$CFLAGS"
29619
CFLAGS="$CFLAGS $all_includes $USER_INCLUDES"
29620
cat >conftest.$ac_ext <<_ACEOF
29623
cat confdefs.h >>conftest.$ac_ext
29624
cat >>conftest.$ac_ext <<_ACEOF
29625
/* end confdefs.h. */
29626
/* Override any gcc2 internal prototype to avoid an error. */
29627
struct jpeg_decompress_struct;
29628
typedef struct jpeg_decompress_struct * j_decompress_ptr;
29629
typedef int size_t;
29633
void jpeg_CreateDecompress(j_decompress_ptr cinfo,
29634
int version, size_t structsize);
29638
/* We use char because int might match the return type of a gcc2
29639
builtin and then its argument prototype would still apply. */
29644
jpeg_CreateDecompress(0L, 0, 0);
29649
rm -f conftest.$ac_objext conftest$ac_exeext
29650
if { (ac_try="$ac_link"
29651
case "(($ac_try" in
29652
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29653
*) ac_try_echo=$ac_try;;
29655
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29656
(eval "$ac_link") 2>conftest.er1
29658
grep -v '^ *+' conftest.er1 >conftest.err
29660
cat conftest.err >&5
29661
echo "$as_me:$LINENO: \$? = $ac_status" >&5
29662
(exit $ac_status); } && {
29663
test -z "$ac_c_werror_flag" ||
29664
test ! -s conftest.err
29665
} && test -s conftest$ac_exeext &&
29666
$as_test_x conftest$ac_exeext; then
29667
eval "ac_cv_lib_jpeg_6b=-ljpeg6b"
29669
echo "$as_me: failed program was:" >&5
29670
sed 's/^/| /' conftest.$ac_ext >&5
29672
eval "ac_cv_lib_jpeg_6b=no"
29675
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29676
conftest$ac_exeext conftest.$ac_ext
29677
LIBS="$ac_save_LIBS"
29678
CFLAGS="$ac_save_CFLAGS"
29683
if eval "test ! \"`echo $ac_cv_lib_jpeg_6b`\" = no"; then
29684
LIBJPEG="$ac_cv_lib_jpeg_6b"
29685
{ echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_6b" >&5
29686
echo "${ECHO_T}$ac_cv_lib_jpeg_6b" >&6; }
29688
{ echo "$as_me:$LINENO: result: no" >&5
29689
echo "${ECHO_T}no" >&6; }
29691
{ echo "$as_me:$LINENO: checking for libjpeg" >&5
29692
echo $ECHO_N "checking for libjpeg... $ECHO_C" >&6; }
29693
if test "${ac_cv_lib_jpeg_normal+set}" = set; then
29694
echo $ECHO_N "(cached) $ECHO_C" >&6
29697
ac_save_LIBS="$LIBS"
29698
LIBS="$all_libraries $USER_LDFLAGS -ljpeg -lm"
29699
ac_save_CFLAGS="$CFLAGS"
29700
CFLAGS="$CFLAGS $all_includes $USER_INCLUDES"
29701
cat >conftest.$ac_ext <<_ACEOF
29704
cat confdefs.h >>conftest.$ac_ext
29705
cat >>conftest.$ac_ext <<_ACEOF
29706
/* end confdefs.h. */
29707
/* Override any gcc2 internal prototype to avoid an error. */
29708
struct jpeg_decompress_struct;
29709
typedef struct jpeg_decompress_struct * j_decompress_ptr;
29710
typedef int size_t;
29714
void jpeg_CreateDecompress(j_decompress_ptr cinfo,
29715
int version, size_t structsize);
29719
/* We use char because int might match the return type of a gcc2
29720
builtin and then its argument prototype would still apply. */
29725
jpeg_CreateDecompress(0L, 0, 0);
29730
rm -f conftest.$ac_objext conftest$ac_exeext
29731
if { (ac_try="$ac_link"
29732
case "(($ac_try" in
29733
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29734
*) ac_try_echo=$ac_try;;
29736
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29737
(eval "$ac_link") 2>conftest.er1
29739
grep -v '^ *+' conftest.er1 >conftest.err
29741
cat conftest.err >&5
29742
echo "$as_me:$LINENO: \$? = $ac_status" >&5
29743
(exit $ac_status); } && {
29744
test -z "$ac_c_werror_flag" ||
29745
test ! -s conftest.err
29746
} && test -s conftest$ac_exeext &&
29747
$as_test_x conftest$ac_exeext; then
29748
eval "ac_cv_lib_jpeg_normal=-ljpeg"
29750
echo "$as_me: failed program was:" >&5
29751
sed 's/^/| /' conftest.$ac_ext >&5
29753
eval "ac_cv_lib_jpeg_normal=no"
29756
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29757
conftest$ac_exeext conftest.$ac_ext
29758
LIBS="$ac_save_LIBS"
29759
CFLAGS="$ac_save_CFLAGS"
29764
if eval "test ! \"`echo $ac_cv_lib_jpeg_normal`\" = no"; then
29765
LIBJPEG="$ac_cv_lib_jpeg_normal"
29766
{ echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_normal" >&5
29767
echo "${ECHO_T}$ac_cv_lib_jpeg_normal" >&6; }
29769
{ echo "$as_me:$LINENO: result: no" >&5
29770
echo "${ECHO_T}no" >&6; }
29783
jpeg_incdirs="$includedir /usr/include /usr/local/include $kde_extra_includes"
29786
for i in $jpeg_incdirs;
29788
for j in jpeglib.h;
29790
echo "configure: __oline__: $i/$j" >&5
29791
if test -r "$i/$j"; then
29792
echo "taking that" >&5
29799
test "x$jpeg_incdir" = xNO && jpeg_incdir=
29801
if test -n "$jpeg_incdir" && test -n "$LIBJPEG" ; then
29803
cat >>confdefs.h <<_ACEOF
29804
@%:@define HAVE_LIBJPEG 1
29808
if test -n "$jpeg_incdir" || test -n "$LIBJPEG" ; then
29809
{ echo "$as_me:$LINENO: WARNING:
29810
There is an installation error in jpeg support. You seem to have only one
29811
of either the headers _or_ the libraries installed. You may need to either
29812
provide correct --with-extra-... options, or the development package of
29813
libjpeg6b. You can get a source package of libjpeg from http://www.ijg.org/
29814
Disabling JPEG support.
29816
echo "$as_me: WARNING:
29817
There is an installation error in jpeg support. You seem to have only one
29818
of either the headers _or_ the libraries installed. You may need to either
29819
provide correct --with-extra-... options, or the development package of
29820
libjpeg6b. You can get a source package of libjpeg from http://www.ijg.org/
29821
Disabling JPEG support.
29824
{ echo "$as_me:$LINENO: WARNING: libjpeg not found. disable JPEG support." >&5
29825
echo "$as_me: WARNING: libjpeg not found. disable JPEG support." >&2;}
29837
{ echo "$as_me:$LINENO: checking for perl" >&5
29838
echo $ECHO_N "checking for perl... $ECHO_C" >&6; }
29839
if test -n "$PERL"; then
29840
kde_cv_path="$PERL";
29842
kde_cache=`echo perl | sed 'y%./+-%__p_%'`
29844
if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
29845
echo $ECHO_N "(cached) $ECHO_C" >&6
29852
for dir in $PATH; do
29855
if test -z ""; then dirs="$bindir $exec_prefix/bin $prefix/bin $dirs"
29856
else dirs="$dirs $bindir $exec_prefix/bin $prefix/bin"
29860
for dir in $dirs; do
29861
if test -x "$dir/perl"; then
29864
evalstr="$dir/perl 2>&1 "
29865
if eval $evalstr; then
29866
kde_cv_path="$dir/perl"
29870
kde_cv_path="$dir/perl"
29876
eval "kde_cv_path_$kde_cache=$kde_cv_path"
29882
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
29886
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
29887
{ echo "$as_me:$LINENO: result: not found" >&5
29888
echo "${ECHO_T}not found" >&6; }
29890
{ { echo "$as_me:$LINENO: error: No Perl found in your $PATH.
29891
We need perl to generate some code." >&5
29892
echo "$as_me: error: No Perl found in your $PATH.
29893
We need perl to generate some code." >&2;}
29894
{ (exit 1); exit 1; }; }
29897
{ echo "$as_me:$LINENO: result: $kde_cv_path" >&5
29898
echo "${ECHO_T}$kde_cv_path" >&6; }
29912
# Check whether --enable-mt was given.
29913
if test "${enable_mt+set}" = set; then
29914
enableval=$enable_mt; kde_use_qt_mt=$enableval
29917
if test $kde_qtver = 3; then
29932
if test "x$kde_use_qt_mt" = "xyes"; then
29936
if test -z "$LIBPTHREAD"; then
29937
if test -z "$USE_THREADS"; then
29938
kde_check_threading_default=no
29940
kde_check_threading_default=yes
29943
kde_check_threading_default=yes
29945
# Check whether --enable-threading was given.
29946
if test "${enable_threading+set}" = set; then
29947
enableval=$enable_threading; kde_use_threading=$enableval
29949
kde_use_threading=$kde_check_threading_default
29952
if test "x$kde_use_threading" = "xyes"; then
29954
cat >>confdefs.h <<\_ACEOF
29955
@%:@define HAVE_LIBPTHREAD 1
29960
if test "x$kde_use_threading" = "xyes"; then
29961
CPPFLAGS="$USE_THREADS -DQT_THREAD_SUPPORT $CPPFLAGS"
29962
KDE_MT_LDFLAGS="$USE_THREADS"
29963
KDE_MT_LIBS="$LIBPTHREAD"
29971
kde_qt_was_given=yes
29973
if test -z "$LIBQT_GLOB"; then
29974
if test "x$kde_use_qt_emb" = "xyes"; then
29975
LIBQT_GLOB="libqte.*"
29977
LIBQT_GLOB="libqt.*"
29981
if test -z "$LIBQT"; then
29982
if test "x$kde_use_qt_emb" = "xyes"; then
29988
kde_int_qt="-l$qtlib"
29990
kde_int_qt="$LIBQT"
29994
if test -z "$LIBQPE"; then
29995
if test "x$kde_use_qt_emb" = "xyes"; then
29996
if test "x$kde_use_qt_emb_palm" = "xyes"; then
30007
if test "x$kde_use_qt_mt" = "xyes"; then
30008
LIBQT="-l$qtlib-mt"
30009
kde_int_qt="-l$qtlib-mt"
30010
LIBQT_GLOB="lib$qtlib-mt.*"
30011
USING_QT_MT="using -mt"
30016
if test $kde_qtver != 1; then
30020
LIBQT="$LIBQT $LIBPNG $LIBJPEG"
30023
if test $kde_qtver = 3; then
30025
LIBQT="$LIBQT $LIBDL"
30028
{ echo "$as_me:$LINENO: checking for Qt" >&5
30029
echo $ECHO_N "checking for Qt... $ECHO_C" >&6; }
30031
if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then
30032
LIBQT="$LIBQT $X_PRE_LIBS -lXext -lX11 $LIBSM $LIBSOCKET"
30034
ac_qt_includes=NO ac_qt_libraries=NO ac_qt_bindir=NO
30038
# Check whether --with-qt-dir was given.
30039
if test "${with_qt_dir+set}" = set; then
30040
withval=$with_qt_dir; ac_qt_includes="$withval"/include
30041
ac_qt_libraries="$withval"/lib${kdelibsuff}
30042
ac_qt_bindir="$withval"/bin
30048
# Check whether --with-qt-includes was given.
30049
if test "${with_qt_includes+set}" = set; then
30050
withval=$with_qt_includes;
30051
ac_qt_includes="$withval"
30056
kde_qt_libs_given=no
30059
# Check whether --with-qt-libraries was given.
30060
if test "${with_qt_libraries+set}" = set; then
30061
withval=$with_qt_libraries; ac_qt_libraries="$withval"
30062
kde_qt_libs_given=yes
30067
if test "${ac_cv_have_qt+set}" = set; then
30068
echo $ECHO_N "(cached) $ECHO_C" >&6
30070
#try to guess Qt locations
30073
for dir in $kde_qt_dirs; do
30074
qt_incdirs="$qt_incdirs $dir/include $dir"
30076
qt_incdirs="$QTINC $qt_incdirs /usr/local/qt/include /usr/include/qt /usr/include /usr/X11R6/include/X11/qt /usr/X11R6/include/qt /usr/X11R6/include/qt2 /usr/include/qt3 $x_includes"
30077
if test ! "$ac_qt_includes" = "NO"; then
30078
qt_incdirs="$ac_qt_includes $qt_incdirs"
30081
if test "$kde_qtver" != "1"; then
30082
kde_qt_header=qstyle.h
30084
kde_qt_header=qglobal.h
30089
for i in $qt_incdirs;
30091
for j in $kde_qt_header;
30093
echo "configure: __oline__: $i/$j" >&5
30094
if test -r "$i/$j"; then
30095
echo "taking that" >&5
30102
ac_qt_includes="$qt_incdir"
30105
for dir in $kde_qt_dirs; do
30106
qt_libdirs="$qt_libdirs $dir/lib${kdelibsuff} $dir"
30108
qt_libdirs="$QTLIB $qt_libdirs /usr/X11R6/lib /usr/lib /usr/local/qt/lib $x_libraries"
30109
if test ! "$ac_qt_libraries" = "NO"; then
30110
qt_libdir=$ac_qt_libraries
30112
qt_libdirs="$ac_qt_libraries $qt_libdirs"
30113
# if the Qt was given, the chance is too big that libqt.* doesn't exist
30115
for dir in $qt_libdirs; do
30116
try="ls -1 $dir/${LIBQT_GLOB}"
30117
if test -n "`$try 2> /dev/null`"; then qt_libdir=$dir; break; else echo "tried $dir" >&5 ; fi
30120
for a in $qt_libdir/lib`echo ${kde_int_qt} | sed 's,^-l,,'`_incremental.*; do
30121
if test -e "$a"; then
30122
LIBQT="$LIBQT ${kde_int_qt}_incremental"
30127
ac_qt_libraries="$qt_libdir"
30131
ac_cpp='$CXXCPP $CPPFLAGS'
30132
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30133
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30134
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30136
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
30140
ac_cxxflags_safe="$CXXFLAGS"
30141
ac_ldflags_safe="$LDFLAGS"
30142
ac_libs_safe="$LIBS"
30144
CXXFLAGS="$CXXFLAGS -I$qt_incdir $all_includes"
30145
LDFLAGS="$LDFLAGS -L$qt_libdir $all_libraries $USER_LDFLAGS $KDE_MT_LDFLAGS"
30146
LIBS="$LIBS $LIBQT $KDE_MT_LIBS"
30150
cat > conftest.$ac_ext <<EOF
30151
#include "confdefs.h"
30152
#include <qglobal.h>
30153
#include <qapplication.h>
30155
if test "$kde_qtver" = "2"; then
30156
cat >> conftest.$ac_ext <<EOF
30157
#include <qevent.h>
30158
#include <qstring.h>
30159
#include <qstyle.h>
30162
if test $kde_qtsubver -gt 0; then
30163
cat >> conftest.$ac_ext <<EOF
30164
#if QT_VERSION < 210
30171
if test "$kde_qtver" = "3"; then
30172
cat >> conftest.$ac_ext <<EOF
30173
#include <qcursor.h>
30174
#include <qstylefactory.h>
30175
#include <private/qucomextra_p.h>
30179
echo "#if ! ($kde_qt_verstring)" >> conftest.$ac_ext
30180
cat >> conftest.$ac_ext <<EOF
30186
if test "$kde_qtver" = "2"; then
30187
cat >> conftest.$ac_ext <<EOF
30188
QStringList *t = new QStringList();
30191
if test $kde_qtsubver -gt 0; then
30192
cat >> conftest.$ac_ext <<EOF
30194
s.setLatin1("Elvis is alive", 14);
30198
if test "$kde_qtver" = "3"; then
30199
cat >> conftest.$ac_ext <<EOF
30200
(void)QStyleFactory::create(QString::null);
30201
QCursor c(Qt::WhatsThisCursor);
30204
cat >> conftest.$ac_ext <<EOF
30210
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30211
(eval $ac_link) 2>&5
30213
echo "$as_me:$LINENO: \$? = $ac_status" >&5
30214
(exit $ac_status); } && test -s conftest; then
30217
echo "configure: failed program was:" >&5
30218
cat conftest.$ac_ext >&5
30219
ac_qt_libraries="NO"
30222
CXXFLAGS="$ac_cxxflags_safe"
30223
LDFLAGS="$ac_ldflags_safe"
30224
LIBS="$ac_libs_safe"
30227
ac_cpp='$CPP $CPPFLAGS'
30228
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30229
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30230
ac_compiler_gnu=$ac_cv_c_compiler_gnu
30232
if test "$ac_qt_includes" = NO || test "$ac_qt_libraries" = NO; then
30233
ac_cv_have_qt="have_qt=no"
30236
if test "$ac_qt_includes" = NO; then
30237
if test "$ac_qt_libraries" = NO; then
30238
ac_qt_notfound="(headers and libraries)";
30240
ac_qt_notfound="(headers)";
30243
if test "x$kde_use_qt_mt" = "xyes"; then
30245
Make sure that you have compiled Qt with thread support!"
30246
ac_qt_notfound="(library $qtlib-mt)";
30248
ac_qt_notfound="(library $qtlib)";
30252
{ { echo "$as_me:$LINENO: error: Qt ($kde_qt_minversion) $ac_qt_notfound not found. Please check your installation!
30253
For more details about this problem, look at the end of config.log.$missing_qt_mt" >&5
30254
echo "$as_me: error: Qt ($kde_qt_minversion) $ac_qt_notfound not found. Please check your installation!
30255
For more details about this problem, look at the end of config.log.$missing_qt_mt" >&2;}
30256
{ (exit 1); exit 1; }; }
30264
eval "$ac_cv_have_qt"
30266
if test "$have_qt" != yes; then
30267
{ echo "$as_me:$LINENO: result: $have_qt" >&5
30268
echo "${ECHO_T}$have_qt" >&6; };
30270
ac_cv_have_qt="have_qt=yes \
30271
ac_qt_includes=$ac_qt_includes ac_qt_libraries=$ac_qt_libraries"
30272
{ echo "$as_me:$LINENO: result: libraries $ac_qt_libraries, headers $ac_qt_includes $USING_QT_MT" >&5
30273
echo "${ECHO_T}libraries $ac_qt_libraries, headers $ac_qt_includes $USING_QT_MT" >&6; }
30275
qt_libraries="$ac_qt_libraries"
30276
qt_includes="$ac_qt_includes"
30279
if test ! "$kde_qt_libs_given" = "yes" && test ! "$kde_qtver" = 3; then
30282
{ echo "$as_me:$LINENO: checking if Qt compiles without flags" >&5
30283
echo $ECHO_N "checking if Qt compiles without flags... $ECHO_C" >&6; }
30284
if test "${kde_cv_qt_direct+set}" = set; then
30285
echo $ECHO_N "(cached) $ECHO_C" >&6
30290
ac_cpp='$CXXCPP $CPPFLAGS'
30291
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30292
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30293
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30295
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
30298
ac_LD_LIBRARY_PATH_safe=$LD_LIBRARY_PATH
30299
ac_LIBRARY_PATH="$LIBRARY_PATH"
30300
ac_cxxflags_safe="$CXXFLAGS"
30301
ac_ldflags_safe="$LDFLAGS"
30302
ac_libs_safe="$LIBS"
30304
CXXFLAGS="$CXXFLAGS -I$qt_includes"
30305
LDFLAGS="$LDFLAGS $X_LDFLAGS"
30306
if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then
30307
LIBS="$LIBQT -lXext -lX11 $LIBSOCKET"
30309
LIBS="$LIBQT $LIBSOCKET"
30312
export LD_LIBRARY_PATH
30314
export LIBRARY_PATH
30318
cat > conftest.$ac_ext <<EOF
30319
#include "confdefs.h"
30320
#include <qglobal.h>
30321
#include <qapplication.h>
30323
if test "$kde_qtver" = "2"; then
30324
cat >> conftest.$ac_ext <<EOF
30325
#include <qevent.h>
30326
#include <qstring.h>
30327
#include <qstyle.h>
30330
if test $kde_qtsubver -gt 0; then
30331
cat >> conftest.$ac_ext <<EOF
30332
#if QT_VERSION < 210
30339
if test "$kde_qtver" = "3"; then
30340
cat >> conftest.$ac_ext <<EOF
30341
#include <qcursor.h>
30342
#include <qstylefactory.h>
30343
#include <private/qucomextra_p.h>
30347
echo "#if ! ($kde_qt_verstring)" >> conftest.$ac_ext
30348
cat >> conftest.$ac_ext <<EOF
30354
if test "$kde_qtver" = "2"; then
30355
cat >> conftest.$ac_ext <<EOF
30356
QStringList *t = new QStringList();
30359
if test $kde_qtsubver -gt 0; then
30360
cat >> conftest.$ac_ext <<EOF
30362
s.setLatin1("Elvis is alive", 14);
30366
if test "$kde_qtver" = "3"; then
30367
cat >> conftest.$ac_ext <<EOF
30368
(void)QStyleFactory::create(QString::null);
30369
QCursor c(Qt::WhatsThisCursor);
30372
cat >> conftest.$ac_ext <<EOF
30378
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30379
(eval $ac_link) 2>&5
30381
echo "$as_me:$LINENO: \$? = $ac_status" >&5
30382
(exit $ac_status); } && test -s conftest; then
30383
kde_cv_qt_direct="yes"
30385
kde_cv_qt_direct="no"
30386
echo "configure: failed program was:" >&5
30387
cat conftest.$ac_ext >&5
30391
CXXFLAGS="$ac_cxxflags_safe"
30392
LDFLAGS="$ac_ldflags_safe"
30393
LIBS="$ac_libs_safe"
30395
LD_LIBRARY_PATH="$ac_LD_LIBRARY_PATH_safe"
30396
export LD_LIBRARY_PATH
30397
LIBRARY_PATH="$ac_LIBRARY_PATH"
30398
export LIBRARY_PATH
30400
ac_cpp='$CPP $CPPFLAGS'
30401
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30402
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30403
ac_compiler_gnu=$ac_cv_c_compiler_gnu
30409
if test "$kde_cv_qt_direct" = "yes"; then
30410
{ echo "$as_me:$LINENO: result: yes" >&5
30411
echo "${ECHO_T}yes" >&6; }
30414
{ echo "$as_me:$LINENO: result: no" >&5
30415
echo "${ECHO_T}no" >&6; }
30424
if test "$qt_includes" = "$x_includes" || test -z "$qt_includes"; then
30427
QT_INCLUDES="-I$qt_includes"
30428
all_includes="$QT_INCLUDES $all_includes"
30431
if test "$qt_libraries" = "$x_libraries" || test -z "$qt_libraries"; then
30434
QT_LDFLAGS="-L$qt_libraries"
30435
all_libraries="$QT_LDFLAGS $all_libraries"
30437
test -z "$KDE_MT_LDFLAGS" || all_libraries="$all_libraries $KDE_MT_LDFLAGS"
30444
for dir in $kde_qt_dirs; do
30445
qt_bindirs="$qt_bindirs $dir/bin $dir/src/moc"
30447
qt_bindirs="$qt_bindirs /usr/bin /usr/X11R6/bin /usr/local/qt/bin"
30448
if test ! "$ac_qt_bindir" = "NO"; then
30449
qt_bindirs="$ac_qt_bindir $qt_bindirs"
30453
{ echo "$as_me:$LINENO: checking for moc" >&5
30454
echo $ECHO_N "checking for moc... $ECHO_C" >&6; }
30455
if test -n "$MOC"; then
30456
kde_cv_path="$MOC";
30458
kde_cache=`echo moc | sed 'y%./+-%__p_%'`
30460
if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
30461
echo $ECHO_N "(cached) $ECHO_C" >&6
30468
for dir in $PATH; do
30471
if test -z ""; then dirs="$qt_bindirs $dirs"
30472
else dirs="$dirs $qt_bindirs"
30476
for dir in $dirs; do
30477
if test -x "$dir/moc"; then
30480
evalstr="$dir/moc 2>&1 "
30481
if eval $evalstr; then
30482
kde_cv_path="$dir/moc"
30486
kde_cv_path="$dir/moc"
30492
eval "kde_cv_path_$kde_cache=$kde_cv_path"
30498
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
30502
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
30503
{ echo "$as_me:$LINENO: result: not found" >&5
30504
echo "${ECHO_T}not found" >&6; }
30506
{ { echo "$as_me:$LINENO: error: No Qt meta object compiler (moc) found!
30507
Please check whether you installed Qt correctly.
30508
You need to have a running moc binary.
30509
configure tried to run $ac_cv_path_moc and the test didn't
30510
succeed. If configure shouldn't have tried this one, set
30511
the environment variable MOC to the right one before running
30514
echo "$as_me: error: No Qt meta object compiler (moc) found!
30515
Please check whether you installed Qt correctly.
30516
You need to have a running moc binary.
30517
configure tried to run $ac_cv_path_moc and the test didn't
30518
succeed. If configure shouldn't have tried this one, set
30519
the environment variable MOC to the right one before running
30522
{ (exit 1); exit 1; }; }
30525
{ echo "$as_me:$LINENO: result: $kde_cv_path" >&5
30526
echo "${ECHO_T}$kde_cv_path" >&6; }
30531
if test -z "$UIC_NOT_NEEDED"; then
30533
{ echo "$as_me:$LINENO: checking for uic" >&5
30534
echo $ECHO_N "checking for uic... $ECHO_C" >&6; }
30535
if test -n "$UIC_PATH"; then
30536
kde_cv_path="$UIC_PATH";
30538
kde_cache=`echo uic | sed 'y%./+-%__p_%'`
30540
if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
30541
echo $ECHO_N "(cached) $ECHO_C" >&6
30548
for dir in $PATH; do
30551
if test -z ""; then dirs="$qt_bindirs $dirs"
30552
else dirs="$dirs $qt_bindirs"
30556
for dir in $dirs; do
30557
if test -x "$dir/uic"; then
30560
evalstr="$dir/uic 2>&1 "
30561
if eval $evalstr; then
30562
kde_cv_path="$dir/uic"
30566
kde_cv_path="$dir/uic"
30572
eval "kde_cv_path_$kde_cache=$kde_cv_path"
30578
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
30582
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
30583
{ echo "$as_me:$LINENO: result: not found" >&5
30584
echo "${ECHO_T}not found" >&6; }
30587
{ echo "$as_me:$LINENO: result: $kde_cv_path" >&5
30588
echo "${ECHO_T}$kde_cv_path" >&6; }
30589
UIC_PATH=$kde_cv_path
30593
if test -z "$UIC_PATH" ; then
30595
{ echo "$as_me:$LINENO: WARNING: No Qt ui compiler (uic) found!
30596
Please check whether you installed Qt correctly.
30597
You need to have a running uic binary.
30598
configure tried to run $ac_cv_path_uic and the test didn't
30599
succeed. If configure shouldn't have tried this one, set
30600
the environment variable UIC to the right one before running
30603
echo "$as_me: WARNING: No Qt ui compiler (uic) found!
30604
Please check whether you installed Qt correctly.
30605
You need to have a running uic binary.
30606
configure tried to run $ac_cv_path_uic and the test didn't
30607
succeed. If configure shouldn't have tried this one, set
30608
the environment variable UIC to the right one before running
30616
if test $kde_qtver = 3; then
30618
{ echo "$as_me:$LINENO: checking whether uic supports -L " >&5
30619
echo $ECHO_N "checking whether uic supports -L ... $ECHO_C" >&6; }
30620
kde_cache=`echo L | sed 'y% .=/+-%____p_%'`
30621
if { as_var=kde_cv_prog_uic_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
30622
echo $ECHO_N "(cached) $ECHO_C" >&6
30625
cat >conftest.ui <<EOT
30626
<!DOCTYPE UI><UI version="3" stdsetdef="1"></UI>
30628
ac_uic_testrun="$UIC_PATH -L /nonexistent conftest.ui >/dev/null"
30629
if { (eval echo "$as_me:$LINENO: \"$ac_uic_testrun\"") >&5
30630
(eval $ac_uic_testrun) 2>&5
30632
echo "$as_me:$LINENO: \$? = $ac_status" >&5
30633
(exit $ac_status); }; then
30634
eval "kde_cv_prog_uic_$kde_cache=yes"
30636
eval "kde_cv_prog_uic_$kde_cache=no"
30643
if eval "test \"`echo '$kde_cv_prog_uic_'$kde_cache`\" = yes"; then
30644
{ echo "$as_me:$LINENO: result: yes" >&5
30645
echo "${ECHO_T}yes" >&6; }
30647
ac_uic_supports_libpath=yes
30649
{ echo "$as_me:$LINENO: result: no" >&5
30650
echo "${ECHO_T}no" >&6; }
30652
ac_uic_supports_libpath=no
30656
{ echo "$as_me:$LINENO: checking whether uic supports -nounload " >&5
30657
echo $ECHO_N "checking whether uic supports -nounload ... $ECHO_C" >&6; }
30658
kde_cache=`echo nounload | sed 'y% .=/+-%____p_%'`
30659
if { as_var=kde_cv_prog_uic_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
30660
echo $ECHO_N "(cached) $ECHO_C" >&6
30663
cat >conftest.ui <<EOT
30664
<!DOCTYPE UI><UI version="3" stdsetdef="1"></UI>
30666
ac_uic_testrun="$UIC_PATH -nounload conftest.ui >/dev/null"
30667
if { (eval echo "$as_me:$LINENO: \"$ac_uic_testrun\"") >&5
30668
(eval $ac_uic_testrun) 2>&5
30670
echo "$as_me:$LINENO: \$? = $ac_status" >&5
30671
(exit $ac_status); }; then
30672
eval "kde_cv_prog_uic_$kde_cache=yes"
30674
eval "kde_cv_prog_uic_$kde_cache=no"
30681
if eval "test \"`echo '$kde_cv_prog_uic_'$kde_cache`\" = yes"; then
30682
{ echo "$as_me:$LINENO: result: yes" >&5
30683
echo "${ECHO_T}yes" >&6; }
30685
ac_uic_supports_nounload=yes
30687
{ echo "$as_me:$LINENO: result: no" >&5
30688
echo "${ECHO_T}no" >&6; }
30690
ac_uic_supports_nounload=no
30694
if test x$ac_uic_supports_libpath = xyes; then
30695
UIC="$UIC -L \$(kde_widgetdir)"
30697
if test x$ac_uic_supports_nounload = xyes; then
30698
UIC="$UIC -nounload"
30703
UIC="echo uic not available: "
30710
if test $kde_qtver = 3; then
30718
if test -n "$LIBJPEG"; then
30719
{ echo "$as_me:$LINENO: checking if Qt needs $LIBJPEG" >&5
30720
echo $ECHO_N "checking if Qt needs $LIBJPEG... $ECHO_C" >&6; }
30721
if test "${kde_cv_qt_jpeg+set}" = set; then
30722
echo $ECHO_N "(cached) $ECHO_C" >&6
30727
ac_cpp='$CXXCPP $CPPFLAGS'
30728
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30729
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30730
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30732
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
30735
ac_save_LIBS="$LIBS"
30736
LIBS="$all_libraries $USER_LDFLAGS $LIBQT"
30737
LIBS=`echo $LIBS | sed "s/$LIBJPEG//"`
30738
ac_save_CXXFLAGS="$CXXFLAGS"
30739
CXXFLAGS="$CXXFLAGS $all_includes $USER_INCLUDES"
30740
cat >conftest.$ac_ext <<_ACEOF
30743
cat confdefs.h >>conftest.$ac_ext
30744
cat >>conftest.$ac_ext <<_ACEOF
30745
/* end confdefs.h. */
30746
#include <qapplication.h>
30753
QApplication app(argc, argv);
30758
rm -f conftest.$ac_objext conftest$ac_exeext
30759
if { (ac_try="$ac_link"
30760
case "(($ac_try" in
30761
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30762
*) ac_try_echo=$ac_try;;
30764
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30765
(eval "$ac_link") 2>conftest.er1
30767
grep -v '^ *+' conftest.er1 >conftest.err
30769
cat conftest.err >&5
30770
echo "$as_me:$LINENO: \$? = $ac_status" >&5
30771
(exit $ac_status); } && {
30772
test -z "$ac_cxx_werror_flag" ||
30773
test ! -s conftest.err
30774
} && test -s conftest$ac_exeext &&
30775
$as_test_x conftest$ac_exeext; then
30776
eval "kde_cv_qt_jpeg=no"
30778
echo "$as_me: failed program was:" >&5
30779
sed 's/^/| /' conftest.$ac_ext >&5
30781
eval "kde_cv_qt_jpeg=yes"
30784
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30785
conftest$ac_exeext conftest.$ac_ext
30786
LIBS="$ac_save_LIBS"
30787
CXXFLAGS="$ac_save_CXXFLAGS"
30789
ac_cpp='$CPP $CPPFLAGS'
30790
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30791
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30792
ac_compiler_gnu=$ac_cv_c_compiler_gnu
30799
if eval "test ! \"`echo $kde_cv_qt_jpeg`\" = no"; then
30800
{ echo "$as_me:$LINENO: result: yes" >&5
30801
echo "${ECHO_T}yes" >&6; }
30802
LIBJPEG_QT='$(LIBJPEG)'
30804
{ echo "$as_me:$LINENO: result: no" >&5
30805
echo "${ECHO_T}no" >&6; }
30811
if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then
30812
LIB_QT="$kde_int_qt $LIBJPEG_QT "'$(LIBZ) $(LIBPNG) -lXext $(LIB_X11) $(LIBSM)'
30814
LIB_QT="$kde_int_qt $LIBJPEG_QT "'$(LIBZ) $(LIBPNG)'
30816
test -z "$KDE_MT_LIBS" || LIB_QT="$LIB_QT $KDE_MT_LIBS"
30817
for a in $qt_libdir/lib`echo ${kde_int_qt} | sed 's,^-l,,'`_incremental.*; do
30818
if test -e "$a"; then
30819
LIB_QT="$LIB_QT ${kde_int_qt}_incremental"
30836
{ echo "$as_me:$LINENO: checking for rpath" >&5
30837
echo $ECHO_N "checking for rpath... $ECHO_C" >&6; }
30838
# Check whether --enable-rpath was given.
30839
if test "${enable_rpath+set}" = set; then
30840
enableval=$enable_rpath; USE_RPATH=$enableval
30846
if test -z "$KDE_RPATH" && test "$USE_RPATH" = "yes"; then
30848
KDE_RPATH="-R \$(libdir)"
30850
if test "$kde_libraries" != "$libdir"; then
30851
KDE_RPATH="$KDE_RPATH -R \$(kde_libraries)"
30854
if test -n "$qt_libraries"; then
30855
KDE_RPATH="$KDE_RPATH -R \$(qt_libraries)"
30857
if test -n "$X_LDFLAGS"; then
30858
X_RPATH="-R \$(x_libraries)"
30859
KDE_RPATH="$KDE_RPATH $X_RPATH"
30861
if test -n "$KDE_EXTRA_RPATH"; then
30862
KDE_RPATH="$KDE_RPATH \$(KDE_EXTRA_RPATH)"
30868
{ echo "$as_me:$LINENO: result: $USE_RPATH" >&5
30869
echo "${ECHO_T}$USE_RPATH" >&6; }
30871
{ echo "$as_me:$LINENO: checking for KDE" >&5
30872
echo $ECHO_N "checking for KDE... $ECHO_C" >&6; }
30874
if test "${prefix}" != NONE; then
30875
kde_includes=${includedir}
30878
test "x$exec_prefix" = xNONE && exec_prefix=$prefix
30880
while ac_kde_includes=`eval echo "$tmp"`; test "x$ac_kde_includes" != "x$tmp"; do tmp=$ac_kde_includes; done
30884
kde_libraries=${libdir}
30887
test "x$exec_prefix" = xNONE && exec_prefix=$prefix
30889
while ac_kde_libraries=`eval echo "$tmp"`; test "x$ac_kde_libraries" != "x$tmp"; do tmp=$ac_kde_libraries; done
30900
if test "${ac_cv_have_kde+set}" = set; then
30901
echo $ECHO_N "(cached) $ECHO_C" >&6
30903
#try to guess kde locations
30905
if test "$kde_qtver" = 1; then
30906
kde_check_header="ksock.h"
30907
kde_check_lib="libkdecore.la"
30909
kde_check_header="ksharedptr.h"
30910
kde_check_lib="libkio.la"
30913
if test -z ""; then
30915
kde_incdirs="$kde_libs_prefix/include /usr/lib/kde/include /usr/local/kde/include /usr/local/include /usr/kde/include /usr/include/kde /usr/include /opt/kde3/include /opt/kde/include $x_includes $qt_includes"
30916
test -n "$KDEDIR" && kde_incdirs="$KDEDIR/include $KDEDIR/include/kde $KDEDIR $kde_incdirs"
30917
kde_incdirs="$ac_kde_includes $kde_incdirs"
30920
for i in $kde_incdirs;
30922
for j in $kde_check_header;
30924
echo "configure: __oline__: $i/$j" >&5
30925
if test -r "$i/$j"; then
30926
echo "taking that" >&5
30933
ac_kde_includes="$kde_incdir"
30935
if test -n "$ac_kde_includes" && test ! -r "$ac_kde_includes/$kde_check_header"; then
30936
{ { echo "$as_me:$LINENO: error:
30937
in the prefix, you've chosen, are no KDE headers installed. This will fail.
30938
So, check this please and use another prefix!" >&5
30939
echo "$as_me: error:
30940
in the prefix, you've chosen, are no KDE headers installed. This will fail.
30941
So, check this please and use another prefix!" >&2;}
30942
{ (exit 1); exit 1; }; }
30945
kde_libdirs="$kde_libs_prefix/lib${kdelibsuff} /usr/lib/kde/lib${kdelibsuff} /usr/local/kde/lib${kdelibsuff} /usr/kde/lib${kdelibsuff} /usr/lib${kdelibsuff}/kde /usr/lib${kdelibsuff}/kde3 /usr/lib${kdelibsuff} /usr/X11R6/lib${kdelibsuff} /usr/local/lib${kdelibsuff} /opt/kde3/lib${kdelibsuff} /opt/kde/lib${kdelibsuff} /usr/X11R6/kde/lib${kdelibsuff}"
30946
test -n "$KDEDIR" && kde_libdirs="$KDEDIR/lib${kdelibsuff} $KDEDIR $kde_libdirs"
30947
kde_libdirs="$ac_kde_libraries $libdir $kde_libdirs"
30950
for i in $kde_libdirs;
30952
for j in $kde_check_lib;
30954
echo "configure: __oline__: $i/$j" >&5
30955
if test -r "$i/$j"; then
30956
echo "taking that" >&5
30963
ac_kde_libraries="$kde_libdir"
30968
for i in $kde_libdirs;
30970
for j in "kde3/plugins/designer/kdewidgets.la";
30972
echo "configure: __oline__: $i/$j" >&5
30973
if test -r "$i/$j"; then
30974
echo "taking that" >&5
30982
if test -n "$ac_kde_libraries" && test ! -r "$ac_kde_libraries/$kde_check_lib"; then
30983
{ { echo "$as_me:$LINENO: error:
30984
in the prefix, you've chosen, are no KDE libraries installed. This will fail.
30985
So, check this please and use another prefix!" >&5
30986
echo "$as_me: error:
30987
in the prefix, you've chosen, are no KDE libraries installed. This will fail.
30988
So, check this please and use another prefix!" >&2;}
30989
{ (exit 1); exit 1; }; }
30992
if test -n "$kde_widgetdir" && test ! -r "$kde_widgetdir/kde3/plugins/designer/kdewidgets.la"; then
30993
{ { echo "$as_me:$LINENO: error:
30994
I can't find the designer plugins. These are required and should have been installed
30996
echo "$as_me: error:
30997
I can't find the designer plugins. These are required and should have been installed
30999
{ (exit 1); exit 1; }; }
31002
if test -n "$kde_widgetdir"; then
31003
kde_widgetdir="$kde_widgetdir/kde3/plugins/designer"
31007
if test "$ac_kde_includes" = NO || test "$ac_kde_libraries" = NO || test "$kde_widgetdir" = NO; then
31008
ac_cv_have_kde="have_kde=no"
31010
ac_cv_have_kde="have_kde=yes \
31011
ac_kde_includes=$ac_kde_includes ac_kde_libraries=$ac_kde_libraries"
31015
ac_cv_have_kde="have_kde=no"
31021
eval "$ac_cv_have_kde"
31023
if test "$have_kde" != "yes"; then
31024
if test "${prefix}" = NONE; then
31025
ac_kde_prefix="$ac_default_prefix"
31027
ac_kde_prefix="$prefix"
31029
if test "$exec_prefix" = NONE; then
31030
ac_kde_exec_prefix="$ac_kde_prefix"
31031
{ echo "$as_me:$LINENO: result: will be installed in $ac_kde_prefix" >&5
31032
echo "${ECHO_T}will be installed in $ac_kde_prefix" >&6; }
31034
ac_kde_exec_prefix="$exec_prefix"
31035
{ echo "$as_me:$LINENO: result: will be installed in $ac_kde_prefix and $ac_kde_exec_prefix" >&5
31036
echo "${ECHO_T}will be installed in $ac_kde_prefix and $ac_kde_exec_prefix" >&6; }
31039
kde_libraries="${libdir}"
31040
kde_includes="${includedir}"
31043
ac_cv_have_kde="have_kde=yes \
31044
ac_kde_includes=$ac_kde_includes ac_kde_libraries=$ac_kde_libraries"
31045
{ echo "$as_me:$LINENO: result: libraries $ac_kde_libraries, headers $ac_kde_includes" >&5
31046
echo "${ECHO_T}libraries $ac_kde_libraries, headers $ac_kde_includes" >&6; }
31048
kde_libraries="$ac_kde_libraries"
31049
kde_includes="$ac_kde_includes"
31054
if test "$kde_includes" = "$x_includes" || test "$kde_includes" = "$qt_includes" || test "$kde_includes" = "/usr/include"; then
31057
KDE_INCLUDES="-I$kde_includes"
31058
all_includes="$KDE_INCLUDES $all_includes"
31061
KDE_DEFAULT_CXXFLAGS="-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION"
31063
KDE_LDFLAGS="-L$kde_libraries"
31064
if test ! "$kde_libraries" = "$x_libraries" && test ! "$kde_libraries" = "$qt_libraries" ; then
31065
all_libraries="$KDE_LDFLAGS $all_libraries"
31073
all_libraries="$all_libraries $USER_LDFLAGS"
31074
all_includes="$all_includes $USER_INCLUDES"
31078
if test -z ""; then
31082
if test x$ac_uic_supports_libpath = xyes; then
31084
{ echo "$as_me:$LINENO: checking if UIC has KDE plugins available" >&5
31085
echo $ECHO_N "checking if UIC has KDE plugins available... $ECHO_C" >&6; }
31086
if test "${kde_cv_uic_plugins+set}" = set; then
31087
echo $ECHO_N "(cached) $ECHO_C" >&6
31090
cat > actest.ui << EOF
31091
<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
31092
<class>NewConnectionDialog</class>
31093
<widget class="QDialog">
31094
<widget class="KLineEdit">
31095
<property name="name">
31096
<cstring>testInput</cstring>
31105
kde_cv_uic_plugins=no
31106
kde_line="$UIC_PATH -L $kde_widgetdir"
31107
if test x$ac_uic_supports_nounload = xyes; then
31108
kde_line="$kde_line -nounload"
31110
kde_line="$kde_line -impl actest.h actest.ui > actest.cpp"
31111
if { (eval echo "$as_me:$LINENO: \"$kde_line\"") >&5
31112
(eval $kde_line) 2>&5
31114
echo "$as_me:$LINENO: \$? = $ac_status" >&5
31115
(exit $ac_status); }; then
31116
# if you're trying to debug this check and think it's incorrect,
31117
# better check your installation. The check _is_ correct - your
31118
# installation is not.
31119
if test -f actest.cpp && grep klineedit actest.cpp > /dev/null; then
31120
kde_cv_uic_plugins=yes
31123
rm -f actest.ui actest.cpp
31128
{ echo "$as_me:$LINENO: result: $kde_cv_uic_plugins" >&5
31129
echo "${ECHO_T}$kde_cv_uic_plugins" >&6; }
31130
if test "$kde_cv_uic_plugins" != yes; then
31131
{ { echo "$as_me:$LINENO: error:
31132
you need to install kdelibs first.
31134
If you did install kdelibs, then the Qt version that is picked up by
31135
this configure is not the same version you used to compile kdelibs.
31136
The Qt Plugin installed by kdelibs is *ONLY* loadable if it is the
31137
_same Qt version_, compiled with the _same compiler_ and the same Qt
31138
configuration settings.
31140
echo "$as_me: error:
31141
you need to install kdelibs first.
31143
If you did install kdelibs, then the Qt version that is picked up by
31144
this configure is not the same version you used to compile kdelibs.
31145
The Qt Plugin installed by kdelibs is *ONLY* loadable if it is the
31146
_same Qt version_, compiled with the _same compiler_ and the same Qt
31147
configuration settings.
31149
{ (exit 1); exit 1; }; }
31155
ac_kde_libraries="$kde_libdir"
31161
# Check whether --enable-path-check was given.
31162
if test "${enable_path_check+set}" = set; then
31163
enableval=$enable_path_check;
31164
if test "$enableval" = "no";
31165
then ac_use_path_checking="default"
31166
else ac_use_path_checking=""
31171
if test "$kde_qtver" = 1;
31172
then ac_use_path_checking=""
31173
else ac_use_path_checking="default"
31183
{ echo "$as_me:$LINENO: checking for KDE paths" >&5
31184
echo $ECHO_N "checking for KDE paths... $ECHO_C" >&6; }
31186
kde_cached_paths=yes
31187
if test "${kde_cv_all_paths+set}" = set; then
31188
echo $ECHO_N "(cached) $ECHO_C" >&6
31192
if test "$ac_use_path_checking" = "default"; then
31194
if test -z "$kde_htmldir"; then
31195
kde_htmldir='\${datadir}/doc/HTML'
31197
if test -z "$kde_appsdir"; then
31198
kde_appsdir='\${datadir}/applnk'
31200
if test -z "$kde_icondir"; then
31201
kde_icondir='\${datadir}/icons'
31203
if test -z "$kde_sounddir"; then
31204
kde_sounddir='\${datadir}/sounds'
31206
if test -z "$kde_datadir"; then
31207
kde_datadir='\${datadir}/apps'
31209
if test -z "$kde_locale"; then
31210
kde_locale='\${datadir}/locale'
31212
if test -z "$kde_cgidir"; then
31213
kde_cgidir='\${exec_prefix}/cgi-bin'
31215
if test -z "$kde_confdir"; then
31216
kde_confdir='\${datadir}/config'
31218
if test -z "$kde_kcfgdir"; then
31219
kde_kcfgdir='\${datadir}/config.kcfg'
31221
if test -z "$kde_mimedir"; then
31222
kde_mimedir='\${datadir}/mimelnk'
31224
if test -z "$kde_toolbardir"; then
31225
kde_toolbardir='\${datadir}/toolbar'
31227
if test -z "$kde_wallpaperdir"; then
31228
kde_wallpaperdir='\${datadir}/wallpapers'
31230
if test -z "$kde_templatesdir"; then
31231
kde_templatesdir='\${datadir}/templates'
31233
if test -z "$kde_bindir"; then
31234
kde_bindir='\${exec_prefix}/bin'
31236
if test -z "$kde_servicesdir"; then
31237
kde_servicesdir='\${datadir}/services'
31239
if test -z "$kde_servicetypesdir"; then
31240
kde_servicetypesdir='\${datadir}/servicetypes'
31242
if test -z "$kde_moduledir"; then
31243
if test "$kde_qtver" = "2"; then
31244
kde_moduledir='\${libdir}/kde2'
31246
kde_moduledir='\${libdir}/kde3'
31249
if test -z "$kde_styledir"; then
31250
kde_styledir='\${libdir}/kde3/plugins/styles'
31252
if test -z "$kde_widgetdir"; then
31253
kde_widgetdir='\${libdir}/kde3/plugins/designer'
31255
if test -z "$xdg_appsdir"; then
31256
xdg_appsdir='\${datadir}/applications/kde'
31258
if test -z "$xdg_menudir"; then
31259
xdg_menudir='\${sysconfdir}/xdg/menus'
31261
if test -z "$xdg_directorydir"; then
31262
xdg_directorydir='\${datadir}/desktop-directories'
31266
kde_cv_all_paths="kde_have_all_paths=\"yes\" \
31267
kde_htmldir=\"$kde_htmldir\" \
31268
kde_appsdir=\"$kde_appsdir\" \
31269
kde_icondir=\"$kde_icondir\" \
31270
kde_sounddir=\"$kde_sounddir\" \
31271
kde_datadir=\"$kde_datadir\" \
31272
kde_locale=\"$kde_locale\" \
31273
kde_cgidir=\"$kde_cgidir\" \
31274
kde_confdir=\"$kde_confdir\" \
31275
kde_kcfgdir=\"$kde_kcfgdir\" \
31276
kde_mimedir=\"$kde_mimedir\" \
31277
kde_toolbardir=\"$kde_toolbardir\" \
31278
kde_wallpaperdir=\"$kde_wallpaperdir\" \
31279
kde_templatesdir=\"$kde_templatesdir\" \
31280
kde_bindir=\"$kde_bindir\" \
31281
kde_servicesdir=\"$kde_servicesdir\" \
31282
kde_servicetypesdir=\"$kde_servicetypesdir\" \
31283
kde_moduledir=\"$kde_moduledir\" \
31284
kde_styledir=\"$kde_styledir\" \
31285
kde_widgetdir=\"$kde_widgetdir\" \
31286
xdg_appsdir=\"$xdg_appsdir\" \
31287
xdg_menudir=\"$xdg_menudir\" \
31288
xdg_directorydir=\"$xdg_directorydir\" \
31289
kde_result=defaults"
31294
if test $kde_qtver = 1; then
31295
{ echo "$as_me:$LINENO: result: compiling" >&5
31296
echo "${ECHO_T}compiling" >&6; }
31299
{ echo "$as_me:$LINENO: checking for KDE headers installed" >&5
31300
echo $ECHO_N "checking for KDE headers installed... $ECHO_C" >&6; }
31303
ac_cpp='$CXXCPP $CPPFLAGS'
31304
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31305
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31306
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31308
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
31311
cat > conftest.$ac_ext <<EOF
31312
#ifdef STDC_HEADERS
31313
# include <stdlib.h>
31316
#include "confdefs.h"
31320
printf("kde_htmldir=\\"%s\\"\n", KApplication::kde_htmldir().data());
31321
printf("kde_appsdir=\\"%s\\"\n", KApplication::kde_appsdir().data());
31322
printf("kde_icondir=\\"%s\\"\n", KApplication::kde_icondir().data());
31323
printf("kde_sounddir=\\"%s\\"\n", KApplication::kde_sounddir().data());
31324
printf("kde_datadir=\\"%s\\"\n", KApplication::kde_datadir().data());
31325
printf("kde_locale=\\"%s\\"\n", KApplication::kde_localedir().data());
31326
printf("kde_cgidir=\\"%s\\"\n", KApplication::kde_cgidir().data());
31327
printf("kde_confdir=\\"%s\\"\n", KApplication::kde_configdir().data());
31328
printf("kde_mimedir=\\"%s\\"\n", KApplication::kde_mimedir().data());
31329
printf("kde_toolbardir=\\"%s\\"\n", KApplication::kde_toolbardir().data());
31330
printf("kde_wallpaperdir=\\"%s\\"\n",
31331
KApplication::kde_wallpaperdir().data());
31332
printf("kde_bindir=\\"%s\\"\n", KApplication::kde_bindir().data());
31333
printf("kde_partsdir=\\"%s\\"\n", KApplication::kde_partsdir().data());
31334
printf("kde_servicesdir=\\"/tmp/dummy\\"\n");
31335
printf("kde_servicetypesdir=\\"/tmp/dummy\\"\n");
31336
printf("kde_moduledir=\\"/tmp/dummy\\"\n");
31337
printf("kde_styledir=\\"/tmp/dummy\\"\n");
31338
printf("kde_widgetdir=\\"/tmp/dummy\\"\n");
31339
printf("xdg_appsdir=\\"/tmp/dummy\\"\n");
31340
printf("xdg_menudir=\\"/tmp/dummy\\"\n");
31341
printf("xdg_directorydir=\\"/tmp/dummy\\"\n");
31342
printf("kde_kcfgdir=\\"/tmp/dummy\\"\n");
31347
ac_save_CPPFLAGS=$CPPFLAGS
31348
CPPFLAGS="$all_includes $CPPFLAGS"
31349
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31350
(eval $ac_compile) 2>&5
31352
echo "$as_me:$LINENO: \$? = $ac_status" >&5
31353
(exit $ac_status); }; then
31354
{ echo "$as_me:$LINENO: result: yes" >&5
31355
echo "${ECHO_T}yes" >&6; }
31357
{ { echo "$as_me:$LINENO: error: your system is not able to compile a small KDE application!
31358
Check, if you installed the KDE header files correctly.
31359
For more details about this problem, look at the end of config.log." >&5
31360
echo "$as_me: error: your system is not able to compile a small KDE application!
31361
Check, if you installed the KDE header files correctly.
31362
For more details about this problem, look at the end of config.log." >&2;}
31363
{ (exit 1); exit 1; }; }
31365
CPPFLAGS=$ac_save_CPPFLAGS
31368
ac_cpp='$CPP $CPPFLAGS'
31369
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31370
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31371
ac_compiler_gnu=$ac_cv_c_compiler_gnu
31377
if test -n "$USE_RPATH"; then
31379
if test -n "$kde_libraries"; then
31380
KDE_TEST_RPATH="-R $kde_libraries"
31383
if test -n "$qt_libraries"; then
31384
KDE_TEST_RPATH="$KDE_TEST_RPATH -R $qt_libraries"
31387
if test -n "$x_libraries"; then
31388
KDE_TEST_RPATH="$KDE_TEST_RPATH -R $x_libraries"
31391
KDE_TEST_RPATH="$KDE_TEST_RPATH $KDE_EXTRA_RPATH"
31394
{ echo "$as_me:$LINENO: checking for KDE libraries installed" >&5
31395
echo $ECHO_N "checking for KDE libraries installed... $ECHO_C" >&6; }
31396
ac_link='$LIBTOOL_SHELL --silent --mode=link ${CXX-g++} -o conftest $CXXFLAGS $all_includes $CPPFLAGS $LDFLAGS $all_libraries conftest.$ac_ext $LIBS -lkdecore $LIBQT $KDE_TEST_RPATH 1>&5'
31398
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31399
(eval $ac_link) 2>&5
31401
echo "$as_me:$LINENO: \$? = $ac_status" >&5
31402
(exit $ac_status); } && test -s conftest; then
31403
{ echo "$as_me:$LINENO: result: yes" >&5
31404
echo "${ECHO_T}yes" >&6; }
31406
{ { echo "$as_me:$LINENO: error: your system fails at linking a small KDE application!
31407
Check, if your compiler is installed correctly and if you have used the
31408
same compiler to compile Qt and kdelibs as you did use now.
31409
For more details about this problem, look at the end of config.log." >&5
31410
echo "$as_me: error: your system fails at linking a small KDE application!
31411
Check, if your compiler is installed correctly and if you have used the
31412
same compiler to compile Qt and kdelibs as you did use now.
31413
For more details about this problem, look at the end of config.log." >&2;}
31414
{ (exit 1); exit 1; }; }
31417
if eval `KDEDIR= ./conftest 2>&5`; then
31420
kde_result=problems
31423
KDEDIR= ./conftest 2> /dev/null >&5 # make an echo for config.log
31424
kde_have_all_paths=yes
31427
kde_cv_all_paths="kde_have_all_paths=\"yes\" \
31428
kde_htmldir=\"$kde_htmldir\" \
31429
kde_appsdir=\"$kde_appsdir\" \
31430
kde_icondir=\"$kde_icondir\" \
31431
kde_sounddir=\"$kde_sounddir\" \
31432
kde_datadir=\"$kde_datadir\" \
31433
kde_locale=\"$kde_locale\" \
31434
kde_cgidir=\"$kde_cgidir\" \
31435
kde_confdir=\"$kde_confdir\" \
31436
kde_kcfgdir=\"$kde_kcfgdir\" \
31437
kde_mimedir=\"$kde_mimedir\" \
31438
kde_toolbardir=\"$kde_toolbardir\" \
31439
kde_wallpaperdir=\"$kde_wallpaperdir\" \
31440
kde_templatesdir=\"$kde_templatesdir\" \
31441
kde_bindir=\"$kde_bindir\" \
31442
kde_servicesdir=\"$kde_servicesdir\" \
31443
kde_servicetypesdir=\"$kde_servicetypesdir\" \
31444
kde_moduledir=\"$kde_moduledir\" \
31445
kde_styledir=\"$kde_styledir\" \
31446
kde_widgetdir=\"$kde_widgetdir\" \
31447
xdg_appsdir=\"$xdg_appsdir\" \
31448
xdg_menudir=\"$xdg_menudir\" \
31449
xdg_directorydir=\"$xdg_directorydir\" \
31450
kde_result=$kde_result"
31455
{ { echo "$as_me:$LINENO: error: path checking not yet supported for KDE 2" >&5
31456
echo "$as_me: error: path checking not yet supported for KDE 2" >&2;}
31457
{ (exit 1); exit 1; }; }
31462
kde_cached_paths=no
31466
eval "$kde_cv_all_paths"
31467
if test -z "$kde_htmldir" || test -z "$kde_appsdir" ||
31468
test -z "$kde_icondir" || test -z "$kde_sounddir" ||
31469
test -z "$kde_datadir" || test -z "$kde_locale" ||
31470
test -z "$kde_cgidir" || test -z "$kde_confdir" ||
31471
test -z "$kde_kcfgdir" ||
31472
test -z "$kde_mimedir" || test -z "$kde_toolbardir" ||
31473
test -z "$kde_wallpaperdir" || test -z "$kde_templatesdir" ||
31474
test -z "$kde_bindir" || test -z "$kde_servicesdir" ||
31475
test -z "$kde_servicetypesdir" || test -z "$kde_moduledir" ||
31476
test -z "$kde_styledir" || test -z "kde_widgetdir" ||
31477
test -z "$xdg_appsdir" || test -z "$xdg_menudir" || test -z "$xdg_directorydir" ||
31478
test "x$kde_have_all_paths" != "xyes"; then
31479
kde_have_all_paths=no
31482
if test "$kde_have_all_paths" = "no" && test "$kde_cached_paths" = "yes"; then
31483
# wrong values were cached, may be, we can set better ones
31485
kde_htmldir= kde_appsdir= kde_icondir= kde_sounddir=
31486
kde_datadir= kde_locale= kde_cgidir= kde_confdir= kde_kcfgdir=
31487
kde_mimedir= kde_toolbardir= kde_wallpaperdir= kde_templatesdir=
31488
kde_bindir= kde_servicesdir= kde_servicetypesdir= kde_moduledir=
31489
kde_have_all_paths=
31492
xdg_appsdir = xdg_menudir= xdg_directorydir=
31494
if test "$ac_use_path_checking" = "default"; then
31496
if test -z "$kde_htmldir"; then
31497
kde_htmldir='\${datadir}/doc/HTML'
31499
if test -z "$kde_appsdir"; then
31500
kde_appsdir='\${datadir}/applnk'
31502
if test -z "$kde_icondir"; then
31503
kde_icondir='\${datadir}/icons'
31505
if test -z "$kde_sounddir"; then
31506
kde_sounddir='\${datadir}/sounds'
31508
if test -z "$kde_datadir"; then
31509
kde_datadir='\${datadir}/apps'
31511
if test -z "$kde_locale"; then
31512
kde_locale='\${datadir}/locale'
31514
if test -z "$kde_cgidir"; then
31515
kde_cgidir='\${exec_prefix}/cgi-bin'
31517
if test -z "$kde_confdir"; then
31518
kde_confdir='\${datadir}/config'
31520
if test -z "$kde_kcfgdir"; then
31521
kde_kcfgdir='\${datadir}/config.kcfg'
31523
if test -z "$kde_mimedir"; then
31524
kde_mimedir='\${datadir}/mimelnk'
31526
if test -z "$kde_toolbardir"; then
31527
kde_toolbardir='\${datadir}/toolbar'
31529
if test -z "$kde_wallpaperdir"; then
31530
kde_wallpaperdir='\${datadir}/wallpapers'
31532
if test -z "$kde_templatesdir"; then
31533
kde_templatesdir='\${datadir}/templates'
31535
if test -z "$kde_bindir"; then
31536
kde_bindir='\${exec_prefix}/bin'
31538
if test -z "$kde_servicesdir"; then
31539
kde_servicesdir='\${datadir}/services'
31541
if test -z "$kde_servicetypesdir"; then
31542
kde_servicetypesdir='\${datadir}/servicetypes'
31544
if test -z "$kde_moduledir"; then
31545
if test "$kde_qtver" = "2"; then
31546
kde_moduledir='\${libdir}/kde2'
31548
kde_moduledir='\${libdir}/kde3'
31551
if test -z "$kde_styledir"; then
31552
kde_styledir='\${libdir}/kde3/plugins/styles'
31554
if test -z "$kde_widgetdir"; then
31555
kde_widgetdir='\${libdir}/kde3/plugins/designer'
31557
if test -z "$xdg_appsdir"; then
31558
xdg_appsdir='\${datadir}/applications/kde'
31560
if test -z "$xdg_menudir"; then
31561
xdg_menudir='\${sysconfdir}/xdg/menus'
31563
if test -z "$xdg_directorydir"; then
31564
xdg_directorydir='\${datadir}/desktop-directories'
31568
kde_cv_all_paths="kde_have_all_paths=\"yes\" \
31569
kde_htmldir=\"$kde_htmldir\" \
31570
kde_appsdir=\"$kde_appsdir\" \
31571
kde_icondir=\"$kde_icondir\" \
31572
kde_sounddir=\"$kde_sounddir\" \
31573
kde_datadir=\"$kde_datadir\" \
31574
kde_locale=\"$kde_locale\" \
31575
kde_cgidir=\"$kde_cgidir\" \
31576
kde_confdir=\"$kde_confdir\" \
31577
kde_kcfgdir=\"$kde_kcfgdir\" \
31578
kde_mimedir=\"$kde_mimedir\" \
31579
kde_toolbardir=\"$kde_toolbardir\" \
31580
kde_wallpaperdir=\"$kde_wallpaperdir\" \
31581
kde_templatesdir=\"$kde_templatesdir\" \
31582
kde_bindir=\"$kde_bindir\" \
31583
kde_servicesdir=\"$kde_servicesdir\" \
31584
kde_servicetypesdir=\"$kde_servicetypesdir\" \
31585
kde_moduledir=\"$kde_moduledir\" \
31586
kde_styledir=\"$kde_styledir\" \
31587
kde_widgetdir=\"$kde_widgetdir\" \
31588
xdg_appsdir=\"$xdg_appsdir\" \
31589
xdg_menudir=\"$xdg_menudir\" \
31590
xdg_directorydir=\"$xdg_directorydir\" \
31591
kde_result=defaults"
31596
if test $kde_qtver = 1; then
31597
{ echo "$as_me:$LINENO: result: compiling" >&5
31598
echo "${ECHO_T}compiling" >&6; }
31601
{ echo "$as_me:$LINENO: checking for KDE headers installed" >&5
31602
echo $ECHO_N "checking for KDE headers installed... $ECHO_C" >&6; }
31605
ac_cpp='$CXXCPP $CPPFLAGS'
31606
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31607
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31608
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31610
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
31613
cat > conftest.$ac_ext <<EOF
31614
#ifdef STDC_HEADERS
31615
# include <stdlib.h>
31618
#include "confdefs.h"
31622
printf("kde_htmldir=\\"%s\\"\n", KApplication::kde_htmldir().data());
31623
printf("kde_appsdir=\\"%s\\"\n", KApplication::kde_appsdir().data());
31624
printf("kde_icondir=\\"%s\\"\n", KApplication::kde_icondir().data());
31625
printf("kde_sounddir=\\"%s\\"\n", KApplication::kde_sounddir().data());
31626
printf("kde_datadir=\\"%s\\"\n", KApplication::kde_datadir().data());
31627
printf("kde_locale=\\"%s\\"\n", KApplication::kde_localedir().data());
31628
printf("kde_cgidir=\\"%s\\"\n", KApplication::kde_cgidir().data());
31629
printf("kde_confdir=\\"%s\\"\n", KApplication::kde_configdir().data());
31630
printf("kde_mimedir=\\"%s\\"\n", KApplication::kde_mimedir().data());
31631
printf("kde_toolbardir=\\"%s\\"\n", KApplication::kde_toolbardir().data());
31632
printf("kde_wallpaperdir=\\"%s\\"\n",
31633
KApplication::kde_wallpaperdir().data());
31634
printf("kde_bindir=\\"%s\\"\n", KApplication::kde_bindir().data());
31635
printf("kde_partsdir=\\"%s\\"\n", KApplication::kde_partsdir().data());
31636
printf("kde_servicesdir=\\"/tmp/dummy\\"\n");
31637
printf("kde_servicetypesdir=\\"/tmp/dummy\\"\n");
31638
printf("kde_moduledir=\\"/tmp/dummy\\"\n");
31639
printf("kde_styledir=\\"/tmp/dummy\\"\n");
31640
printf("kde_widgetdir=\\"/tmp/dummy\\"\n");
31641
printf("xdg_appsdir=\\"/tmp/dummy\\"\n");
31642
printf("xdg_menudir=\\"/tmp/dummy\\"\n");
31643
printf("xdg_directorydir=\\"/tmp/dummy\\"\n");
31644
printf("kde_kcfgdir=\\"/tmp/dummy\\"\n");
31649
ac_save_CPPFLAGS=$CPPFLAGS
31650
CPPFLAGS="$all_includes $CPPFLAGS"
31651
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31652
(eval $ac_compile) 2>&5
31654
echo "$as_me:$LINENO: \$? = $ac_status" >&5
31655
(exit $ac_status); }; then
31656
{ echo "$as_me:$LINENO: result: yes" >&5
31657
echo "${ECHO_T}yes" >&6; }
31659
{ { echo "$as_me:$LINENO: error: your system is not able to compile a small KDE application!
31660
Check, if you installed the KDE header files correctly.
31661
For more details about this problem, look at the end of config.log." >&5
31662
echo "$as_me: error: your system is not able to compile a small KDE application!
31663
Check, if you installed the KDE header files correctly.
31664
For more details about this problem, look at the end of config.log." >&2;}
31665
{ (exit 1); exit 1; }; }
31667
CPPFLAGS=$ac_save_CPPFLAGS
31670
ac_cpp='$CPP $CPPFLAGS'
31671
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31672
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31673
ac_compiler_gnu=$ac_cv_c_compiler_gnu
31679
if test -n "$USE_RPATH"; then
31681
if test -n "$kde_libraries"; then
31682
KDE_TEST_RPATH="-R $kde_libraries"
31685
if test -n "$qt_libraries"; then
31686
KDE_TEST_RPATH="$KDE_TEST_RPATH -R $qt_libraries"
31689
if test -n "$x_libraries"; then
31690
KDE_TEST_RPATH="$KDE_TEST_RPATH -R $x_libraries"
31693
KDE_TEST_RPATH="$KDE_TEST_RPATH $KDE_EXTRA_RPATH"
31696
{ echo "$as_me:$LINENO: checking for KDE libraries installed" >&5
31697
echo $ECHO_N "checking for KDE libraries installed... $ECHO_C" >&6; }
31698
ac_link='$LIBTOOL_SHELL --silent --mode=link ${CXX-g++} -o conftest $CXXFLAGS $all_includes $CPPFLAGS $LDFLAGS $all_libraries conftest.$ac_ext $LIBS -lkdecore $LIBQT $KDE_TEST_RPATH 1>&5'
31700
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31701
(eval $ac_link) 2>&5
31703
echo "$as_me:$LINENO: \$? = $ac_status" >&5
31704
(exit $ac_status); } && test -s conftest; then
31705
{ echo "$as_me:$LINENO: result: yes" >&5
31706
echo "${ECHO_T}yes" >&6; }
31708
{ { echo "$as_me:$LINENO: error: your system fails at linking a small KDE application!
31709
Check, if your compiler is installed correctly and if you have used the
31710
same compiler to compile Qt and kdelibs as you did use now.
31711
For more details about this problem, look at the end of config.log." >&5
31712
echo "$as_me: error: your system fails at linking a small KDE application!
31713
Check, if your compiler is installed correctly and if you have used the
31714
same compiler to compile Qt and kdelibs as you did use now.
31715
For more details about this problem, look at the end of config.log." >&2;}
31716
{ (exit 1); exit 1; }; }
31719
if eval `KDEDIR= ./conftest 2>&5`; then
31722
kde_result=problems
31725
KDEDIR= ./conftest 2> /dev/null >&5 # make an echo for config.log
31726
kde_have_all_paths=yes
31729
kde_cv_all_paths="kde_have_all_paths=\"yes\" \
31730
kde_htmldir=\"$kde_htmldir\" \
31731
kde_appsdir=\"$kde_appsdir\" \
31732
kde_icondir=\"$kde_icondir\" \
31733
kde_sounddir=\"$kde_sounddir\" \
31734
kde_datadir=\"$kde_datadir\" \
31735
kde_locale=\"$kde_locale\" \
31736
kde_cgidir=\"$kde_cgidir\" \
31737
kde_confdir=\"$kde_confdir\" \
31738
kde_kcfgdir=\"$kde_kcfgdir\" \
31739
kde_mimedir=\"$kde_mimedir\" \
31740
kde_toolbardir=\"$kde_toolbardir\" \
31741
kde_wallpaperdir=\"$kde_wallpaperdir\" \
31742
kde_templatesdir=\"$kde_templatesdir\" \
31743
kde_bindir=\"$kde_bindir\" \
31744
kde_servicesdir=\"$kde_servicesdir\" \
31745
kde_servicetypesdir=\"$kde_servicetypesdir\" \
31746
kde_moduledir=\"$kde_moduledir\" \
31747
kde_styledir=\"$kde_styledir\" \
31748
kde_widgetdir=\"$kde_widgetdir\" \
31749
xdg_appsdir=\"$xdg_appsdir\" \
31750
xdg_menudir=\"$xdg_menudir\" \
31751
xdg_directorydir=\"$xdg_directorydir\" \
31752
kde_result=$kde_result"
31757
{ { echo "$as_me:$LINENO: error: path checking not yet supported for KDE 2" >&5
31758
echo "$as_me: error: path checking not yet supported for KDE 2" >&2;}
31759
{ (exit 1); exit 1; }; }
31764
eval "$kde_cv_all_paths"
31765
if test -z "$kde_htmldir" || test -z "$kde_appsdir" ||
31766
test -z "$kde_icondir" || test -z "$kde_sounddir" ||
31767
test -z "$kde_datadir" || test -z "$kde_locale" ||
31768
test -z "$kde_cgidir" || test -z "$kde_confdir" ||
31769
test -z "$kde_kcfgdir" ||
31770
test -z "$kde_mimedir" || test -z "$kde_toolbardir" ||
31771
test -z "$kde_wallpaperdir" || test -z "$kde_templatesdir" ||
31772
test -z "$kde_bindir" || test -z "$kde_servicesdir" ||
31773
test -z "$kde_servicetypesdir" || test -z "$kde_moduledir" ||
31774
test -z "$kde_styledir" || test -z "kde_widgetdir" ||
31775
test -z "$xdg_appsdir" || test -z "$xdg_menudir" || test -z "$xdg_directorydir" ||
31776
test "x$kde_have_all_paths" != "xyes"; then
31777
kde_have_all_paths=no
31780
kde_result="$kde_result (cache overridden)"
31782
if test "$kde_have_all_paths" = "no"; then
31783
{ { echo "$as_me:$LINENO: error: configure could not run a little KDE program to test the environment.
31784
Since it had compiled and linked before, it must be a strange problem on your system.
31785
Look at config.log for details. If you are not able to fix this, look at
31786
http://www.kde.org/faq/installation.html or any www.kde.org mirror.
31787
(If you're using an egcs version on Linux, you may update binutils!)
31789
echo "$as_me: error: configure could not run a little KDE program to test the environment.
31790
Since it had compiled and linked before, it must be a strange problem on your system.
31791
Look at config.log for details. If you are not able to fix this, look at
31792
http://www.kde.org/faq/installation.html or any www.kde.org mirror.
31793
(If you're using an egcs version on Linux, you may update binutils!)
31795
{ (exit 1); exit 1; }; }
31798
{ echo "$as_me:$LINENO: result: $kde_result" >&5
31799
echo "${ECHO_T}$kde_result" >&6; }
31806
# Check whether --with-arts was given.
31807
if test "${with_arts+set}" = set; then
31808
withval=$with_arts; build_arts=$withval
31814
if test "$build_arts" '!=' "no"; then
31816
include_ARTS_FALSE='#'
31818
include_ARTS_TRUE='#'
31819
include_ARTS_FALSE=
31822
if test "$build_arts" = "no"; then
31824
cat >>confdefs.h <<\_ACEOF
31825
@%:@define WITHOUT_ARTS 1
31831
kde_default_bindirs="/usr/bin /usr/local/bin /opt/local/bin /usr/X11R6/bin /opt/kde/bin /opt/kde3/bin /usr/kde/bin /usr/local/kde/bin"
31832
test -n "$KDEDIR" && kde_default_bindirs="$KDEDIR/bin $kde_default_bindirs"
31833
if test -n "$KDEDIRS"; then
31836
for dir in $KDEDIRS; do
31837
kde_default_bindirs="$dir/bin $kde_default_bindirs "
31842
kde_default_bindirs="$exec_prefix/bin $prefix/bin $kde_libs_prefix/bin $kde_default_bindirs"
31844
{ echo "$as_me:$LINENO: checking for dcopidl" >&5
31845
echo $ECHO_N "checking for dcopidl... $ECHO_C" >&6; }
31846
if test -n "$DCOPIDL"; then
31847
kde_cv_path="$DCOPIDL";
31849
kde_cache=`echo dcopidl | sed 'y%./+-%__p_%'`
31851
if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
31852
echo $ECHO_N "(cached) $ECHO_C" >&6
31859
for dir in $PATH; do
31862
if test -z ""; then dirs="$kde_default_bindirs $dirs"
31863
else dirs="$dirs $kde_default_bindirs"
31867
for dir in $dirs; do
31868
if test -x "$dir/dcopidl"; then
31871
evalstr="$dir/dcopidl 2>&1 "
31872
if eval $evalstr; then
31873
kde_cv_path="$dir/dcopidl"
31877
kde_cv_path="$dir/dcopidl"
31883
eval "kde_cv_path_$kde_cache=$kde_cv_path"
31889
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
31893
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
31894
{ echo "$as_me:$LINENO: result: not found" >&5
31895
echo "${ECHO_T}not found" >&6; }
31897
{ { echo "$as_me:$LINENO: error: The important program dcopidl was not found!
31898
Please check whether you installed KDE correctly.
31900
echo "$as_me: error: The important program dcopidl was not found!
31901
Please check whether you installed KDE correctly.
31903
{ (exit 1); exit 1; }; }
31906
{ echo "$as_me:$LINENO: result: $kde_cv_path" >&5
31907
echo "${ECHO_T}$kde_cv_path" >&6; }
31908
DCOPIDL=$kde_cv_path
31913
{ echo "$as_me:$LINENO: checking for dcopidl2cpp" >&5
31914
echo $ECHO_N "checking for dcopidl2cpp... $ECHO_C" >&6; }
31915
if test -n "$DCOPIDL2CPP"; then
31916
kde_cv_path="$DCOPIDL2CPP";
31918
kde_cache=`echo dcopidl2cpp | sed 'y%./+-%__p_%'`
31920
if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
31921
echo $ECHO_N "(cached) $ECHO_C" >&6
31928
for dir in $PATH; do
31931
if test -z ""; then dirs="$kde_default_bindirs $dirs"
31932
else dirs="$dirs $kde_default_bindirs"
31936
for dir in $dirs; do
31937
if test -x "$dir/dcopidl2cpp"; then
31940
evalstr="$dir/dcopidl2cpp 2>&1 "
31941
if eval $evalstr; then
31942
kde_cv_path="$dir/dcopidl2cpp"
31946
kde_cv_path="$dir/dcopidl2cpp"
31952
eval "kde_cv_path_$kde_cache=$kde_cv_path"
31958
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
31962
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
31963
{ echo "$as_me:$LINENO: result: not found" >&5
31964
echo "${ECHO_T}not found" >&6; }
31966
{ { echo "$as_me:$LINENO: error: The important program dcopidl2cpp was not found!
31967
Please check whether you installed KDE correctly.
31969
echo "$as_me: error: The important program dcopidl2cpp was not found!
31970
Please check whether you installed KDE correctly.
31972
{ (exit 1); exit 1; }; }
31975
{ echo "$as_me:$LINENO: result: $kde_cv_path" >&5
31976
echo "${ECHO_T}$kde_cv_path" >&6; }
31977
DCOPIDL2CPP=$kde_cv_path
31981
if test "$build_arts" '!=' "no"; then
31983
{ echo "$as_me:$LINENO: checking for mcopidl" >&5
31984
echo $ECHO_N "checking for mcopidl... $ECHO_C" >&6; }
31985
if test -n "$MCOPIDL"; then
31986
kde_cv_path="$MCOPIDL";
31988
kde_cache=`echo mcopidl | sed 'y%./+-%__p_%'`
31990
if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
31991
echo $ECHO_N "(cached) $ECHO_C" >&6
31998
for dir in $PATH; do
32001
if test -z ""; then dirs="$kde_default_bindirs $dirs"
32002
else dirs="$dirs $kde_default_bindirs"
32006
for dir in $dirs; do
32007
if test -x "$dir/mcopidl"; then
32010
evalstr="$dir/mcopidl 2>&1 "
32011
if eval $evalstr; then
32012
kde_cv_path="$dir/mcopidl"
32016
kde_cv_path="$dir/mcopidl"
32022
eval "kde_cv_path_$kde_cache=$kde_cv_path"
32028
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
32032
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
32033
{ echo "$as_me:$LINENO: result: not found" >&5
32034
echo "${ECHO_T}not found" >&6; }
32036
{ { echo "$as_me:$LINENO: error: The important program mcopidl was not found!
32037
Please check whether you installed aRts correctly or use
32038
--without-arts to compile without aRts support (this will remove functionality).
32040
echo "$as_me: error: The important program mcopidl was not found!
32041
Please check whether you installed aRts correctly or use
32042
--without-arts to compile without aRts support (this will remove functionality).
32044
{ (exit 1); exit 1; }; }
32047
{ echo "$as_me:$LINENO: result: $kde_cv_path" >&5
32048
echo "${ECHO_T}$kde_cv_path" >&6; }
32049
MCOPIDL=$kde_cv_path
32054
{ echo "$as_me:$LINENO: checking for artsc-config" >&5
32055
echo $ECHO_N "checking for artsc-config... $ECHO_C" >&6; }
32056
if test -n "$ARTSCCONFIG"; then
32057
kde_cv_path="$ARTSCCONFIG";
32059
kde_cache=`echo artsc-config | sed 'y%./+-%__p_%'`
32061
if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
32062
echo $ECHO_N "(cached) $ECHO_C" >&6
32069
for dir in $PATH; do
32072
if test -z ""; then dirs="$kde_default_bindirs $dirs"
32073
else dirs="$dirs $kde_default_bindirs"
32077
for dir in $dirs; do
32078
if test -x "$dir/artsc-config"; then
32081
evalstr="$dir/artsc-config 2>&1 "
32082
if eval $evalstr; then
32083
kde_cv_path="$dir/artsc-config"
32087
kde_cv_path="$dir/artsc-config"
32093
eval "kde_cv_path_$kde_cache=$kde_cv_path"
32099
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
32103
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
32104
{ echo "$as_me:$LINENO: result: not found" >&5
32105
echo "${ECHO_T}not found" >&6; }
32107
{ { echo "$as_me:$LINENO: error: The important program artsc-config was not found!
32108
Please check whether you installed aRts correctly or use
32109
--without-arts to compile without aRts support (this will remove functionality).
32111
echo "$as_me: error: The important program artsc-config was not found!
32112
Please check whether you installed aRts correctly or use
32113
--without-arts to compile without aRts support (this will remove functionality).
32115
{ (exit 1); exit 1; }; }
32118
{ echo "$as_me:$LINENO: result: $kde_cv_path" >&5
32119
echo "${ECHO_T}$kde_cv_path" >&6; }
32120
ARTSCCONFIG=$kde_cv_path
32126
{ echo "$as_me:$LINENO: checking for meinproc" >&5
32127
echo $ECHO_N "checking for meinproc... $ECHO_C" >&6; }
32128
if test -n "$MEINPROC"; then
32129
kde_cv_path="$MEINPROC";
32131
kde_cache=`echo meinproc | sed 'y%./+-%__p_%'`
32133
if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
32134
echo $ECHO_N "(cached) $ECHO_C" >&6
32141
for dir in $PATH; do
32144
if test -z ""; then dirs="$kde_default_bindirs $dirs"
32145
else dirs="$dirs $kde_default_bindirs"
32149
for dir in $dirs; do
32150
if test -x "$dir/meinproc"; then
32153
evalstr="$dir/meinproc 2>&1 "
32154
if eval $evalstr; then
32155
kde_cv_path="$dir/meinproc"
32159
kde_cv_path="$dir/meinproc"
32165
eval "kde_cv_path_$kde_cache=$kde_cv_path"
32171
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
32175
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
32176
{ echo "$as_me:$LINENO: result: not found" >&5
32177
echo "${ECHO_T}not found" >&6; }
32180
{ echo "$as_me:$LINENO: result: $kde_cv_path" >&5
32181
echo "${ECHO_T}$kde_cv_path" >&6; }
32182
MEINPROC=$kde_cv_path
32189
if test -n "$kde_qtver" && test "$kde_qtver" -lt 3; then
32193
if test "$kde_qtver" = "3"; then
32194
if test "$kde_qtsubver" -le 1; then
32197
if test "$kde_qtsubver" -le 2 -o `$KDECONFIG --version | grep KDE | sed 's/KDE: \(...\).*/\1/'` = 3.2; then
32203
if test -n "$kde32ornewer"; then
32205
{ echo "$as_me:$LINENO: checking for kconfig_compiler" >&5
32206
echo $ECHO_N "checking for kconfig_compiler... $ECHO_C" >&6; }
32207
if test -n "$KCONFIG_COMPILER"; then
32208
kde_cv_path="$KCONFIG_COMPILER";
32210
kde_cache=`echo kconfig_compiler | sed 'y%./+-%__p_%'`
32212
if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
32213
echo $ECHO_N "(cached) $ECHO_C" >&6
32220
for dir in $PATH; do
32223
if test -z ""; then dirs="$kde_default_bindirs $dirs"
32224
else dirs="$dirs $kde_default_bindirs"
32228
for dir in $dirs; do
32229
if test -x "$dir/kconfig_compiler"; then
32232
evalstr="$dir/kconfig_compiler 2>&1 "
32233
if eval $evalstr; then
32234
kde_cv_path="$dir/kconfig_compiler"
32238
kde_cv_path="$dir/kconfig_compiler"
32244
eval "kde_cv_path_$kde_cache=$kde_cv_path"
32250
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
32254
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
32255
{ echo "$as_me:$LINENO: result: not found" >&5
32256
echo "${ECHO_T}not found" >&6; }
32258
{ { echo "$as_me:$LINENO: error: The important program kconfig_compiler was not found!
32259
Please check whether you installed KDE correctly.
32261
echo "$as_me: error: The important program kconfig_compiler was not found!
32262
Please check whether you installed KDE correctly.
32264
{ (exit 1); exit 1; }; }
32267
{ echo "$as_me:$LINENO: result: $kde_cv_path" >&5
32268
echo "${ECHO_T}$kde_cv_path" >&6; }
32269
KCONFIG_COMPILER=$kde_cv_path
32274
{ echo "$as_me:$LINENO: checking for dcopidlng" >&5
32275
echo $ECHO_N "checking for dcopidlng... $ECHO_C" >&6; }
32276
if test -n "$DCOPIDLNG"; then
32277
kde_cv_path="$DCOPIDLNG";
32279
kde_cache=`echo dcopidlng | sed 'y%./+-%__p_%'`
32281
if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
32282
echo $ECHO_N "(cached) $ECHO_C" >&6
32289
for dir in $PATH; do
32292
if test -z ""; then dirs="$kde_default_bindirs $dirs"
32293
else dirs="$dirs $kde_default_bindirs"
32297
for dir in $dirs; do
32298
if test -x "$dir/dcopidlng"; then
32301
evalstr="$dir/dcopidlng 2>&1 "
32302
if eval $evalstr; then
32303
kde_cv_path="$dir/dcopidlng"
32307
kde_cv_path="$dir/dcopidlng"
32313
eval "kde_cv_path_$kde_cache=$kde_cv_path"
32319
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
32323
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
32324
{ echo "$as_me:$LINENO: result: not found" >&5
32325
echo "${ECHO_T}not found" >&6; }
32327
{ { echo "$as_me:$LINENO: error: The important program dcopidlng was not found!
32328
Please check whether you installed KDE correctly.
32330
echo "$as_me: error: The important program dcopidlng was not found!
32331
Please check whether you installed KDE correctly.
32333
{ (exit 1); exit 1; }; }
32336
{ echo "$as_me:$LINENO: result: $kde_cv_path" >&5
32337
echo "${ECHO_T}$kde_cv_path" >&6; }
32338
DCOPIDLNG=$kde_cv_path
32343
if test -n "$kde33ornewer"; then
32345
{ echo "$as_me:$LINENO: checking for makekdewidgets" >&5
32346
echo $ECHO_N "checking for makekdewidgets... $ECHO_C" >&6; }
32347
if test -n "$MAKEKDEWIDGETS"; then
32348
kde_cv_path="$MAKEKDEWIDGETS";
32350
kde_cache=`echo makekdewidgets | sed 'y%./+-%__p_%'`
32352
if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
32353
echo $ECHO_N "(cached) $ECHO_C" >&6
32360
for dir in $PATH; do
32363
if test -z ""; then dirs="$kde_default_bindirs $dirs"
32364
else dirs="$dirs $kde_default_bindirs"
32368
for dir in $dirs; do
32369
if test -x "$dir/makekdewidgets"; then
32372
evalstr="$dir/makekdewidgets 2>&1 "
32373
if eval $evalstr; then
32374
kde_cv_path="$dir/makekdewidgets"
32378
kde_cv_path="$dir/makekdewidgets"
32384
eval "kde_cv_path_$kde_cache=$kde_cv_path"
32390
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
32394
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
32395
{ echo "$as_me:$LINENO: result: not found" >&5
32396
echo "${ECHO_T}not found" >&6; }
32398
{ { echo "$as_me:$LINENO: error: The important program makekdewidgets was not found!
32399
Please check whether you installed KDE correctly.
32401
echo "$as_me: error: The important program makekdewidgets was not found!
32402
Please check whether you installed KDE correctly.
32404
{ (exit 1); exit 1; }; }
32407
{ echo "$as_me:$LINENO: result: $kde_cv_path" >&5
32408
echo "${ECHO_T}$kde_cv_path" >&6; }
32409
MAKEKDEWIDGETS=$kde_cv_path
32416
{ echo "$as_me:$LINENO: checking for xmllint" >&5
32417
echo $ECHO_N "checking for xmllint... $ECHO_C" >&6; }
32418
if test -n "$XMLLINT"; then
32419
kde_cv_path="$XMLLINT";
32421
kde_cache=`echo xmllint | sed 'y%./+-%__p_%'`
32423
if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
32424
echo $ECHO_N "(cached) $ECHO_C" >&6
32431
for dir in $PATH; do
32434
if test -z ""; then dirs="${prefix}/bin ${exec_prefix}/bin $dirs"
32435
else dirs="$dirs ${prefix}/bin ${exec_prefix}/bin"
32439
for dir in $dirs; do
32440
if test -x "$dir/xmllint"; then
32443
evalstr="$dir/xmllint 2>&1 "
32444
if eval $evalstr; then
32445
kde_cv_path="$dir/xmllint"
32449
kde_cv_path="$dir/xmllint"
32455
eval "kde_cv_path_$kde_cache=$kde_cv_path"
32461
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
32465
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
32466
{ echo "$as_me:$LINENO: result: not found" >&5
32467
echo "${ECHO_T}not found" >&6; }
32470
{ echo "$as_me:$LINENO: result: $kde_cv_path" >&5
32471
echo "${ECHO_T}$kde_cv_path" >&6; }
32472
XMLLINT=$kde_cv_path
32477
if test -n "$MEINPROC" -a "$MEINPROC" != "compiled"; then
32478
kde_sharedirs="/usr/share/kde /usr/local/share /usr/share /opt/kde3/share /opt/kde/share $prefix/share"
32479
test -n "$KDEDIR" && kde_sharedirs="$KDEDIR/share $kde_sharedirs"
32481
KDE_XSL_STYLESHEET=NO
32482
for i in $kde_sharedirs;
32484
for j in apps/ksgmltools2/customization/kde-chunk.xsl;
32486
echo "configure: __oline__: $i/$j" >&5
32487
if test -r "$i/$j"; then
32488
echo "taking that" >&5
32489
KDE_XSL_STYLESHEET=$i
32495
if test "$KDE_XSL_STYLESHEET" = "NO"; then
32496
KDE_XSL_STYLESHEET=""
32498
KDE_XSL_STYLESHEET="$KDE_XSL_STYLESHEET/apps/ksgmltools2/customization/kde-chunk.xsl"
32502
DCOP_DEPENDENCIES='$(DCOPIDL)'
32503
if test -n "$kde32ornewer"; then
32504
KCFG_DEPENDENCIES='$(KCONFIG_COMPILER)'
32505
DCOP_DEPENDENCIES='$(DCOPIDL) $(DCOPIDLNG)'
32541
kdeinitdir='$(kde_moduledir)'
32545
if test "$kde_qtver" = 1; then
32546
kde_minidir="$kde_icondir/mini"
32548
# for KDE 1 - this breaks KDE2 apps using minidir, but
32549
# that's the plan ;-/
32550
kde_minidir="/dev/null"
32558
if test $kde_qtver = 3; then
32559
LIB_KDECORE="-lkdecore"
32561
LIB_KDEUI="-lkdeui"
32573
LIB_KHTML="-lkhtml"
32575
LIB_KSPELL="-lkspell"
32577
LIB_KPARTS="-lkparts"
32579
LIB_KDEPRINT="-lkdeprint"
32581
LIB_KUTILS="-lkutils"
32583
LIB_KDEPIM="-lkdepim"
32585
LIB_KIMPROXY="-lkimproxy"
32587
LIB_KNEWSTUFF="-lknewstuff"
32589
LIB_KDNSSD="-lkdnssd"
32591
LIB_KUNITTEST="-lkunittest"
32593
# these are for backward compatibility
32594
LIB_KSYCOCA="-lkio"
32598
elif test $kde_qtver = 2; then
32599
LIB_KDECORE="-lkdecore"
32601
LIB_KDEUI="-lkdeui"
32605
LIB_KSYCOCA="-lksycoca"
32609
LIB_KFILE="-lkfile"
32613
LIB_KHTML="-lkhtml"
32615
LIB_KSPELL="-lkspell"
32617
LIB_KPARTS="-lkparts"
32619
LIB_KDEPRINT="-lkdeprint"
32622
LIB_KDECORE="-lkdecore -lXext $(LIB_QT)"
32624
LIB_KDEUI="-lkdeui $(LIB_KDECORE)"
32626
LIB_KFM="-lkfm $(LIB_KDECORE)"
32628
LIB_KFILE="-lkfile $(LIB_KFM) $(LIB_KDEUI)"
32630
LIB_KAB="-lkab $(LIB_KIMGIO) $(LIB_KDECORE)"
32638
{ echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
32639
echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
32640
if test "${ac_cv_c_bigendian+set}" = set; then
32641
echo $ECHO_N "(cached) $ECHO_C" >&6
32643
# See if sys/param.h defines the BYTE_ORDER macro.
32644
cat >conftest.$ac_ext <<_ACEOF
32647
cat confdefs.h >>conftest.$ac_ext
32648
cat >>conftest.$ac_ext <<_ACEOF
32649
/* end confdefs.h. */
32650
#include <sys/types.h>
32651
#include <sys/param.h>
32656
#if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
32657
&& BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
32658
bogus endian macros
32665
rm -f conftest.$ac_objext
32666
if { (ac_try="$ac_compile"
32667
case "(($ac_try" in
32668
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32669
*) ac_try_echo=$ac_try;;
32671
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32672
(eval "$ac_compile") 2>conftest.er1
32674
grep -v '^ *+' conftest.er1 >conftest.err
32676
cat conftest.err >&5
32677
echo "$as_me:$LINENO: \$? = $ac_status" >&5
32678
(exit $ac_status); } && {
32679
test -z "$ac_c_werror_flag" ||
32680
test ! -s conftest.err
32681
} && test -s conftest.$ac_objext; then
32682
# It does; now see whether it defined to BIG_ENDIAN or not.
32683
cat >conftest.$ac_ext <<_ACEOF
32686
cat confdefs.h >>conftest.$ac_ext
32687
cat >>conftest.$ac_ext <<_ACEOF
32688
/* end confdefs.h. */
32689
#include <sys/types.h>
32690
#include <sys/param.h>
32695
#if BYTE_ORDER != BIG_ENDIAN
32703
rm -f conftest.$ac_objext
32704
if { (ac_try="$ac_compile"
32705
case "(($ac_try" in
32706
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32707
*) ac_try_echo=$ac_try;;
32709
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32710
(eval "$ac_compile") 2>conftest.er1
32712
grep -v '^ *+' conftest.er1 >conftest.err
32714
cat conftest.err >&5
32715
echo "$as_me:$LINENO: \$? = $ac_status" >&5
32716
(exit $ac_status); } && {
32717
test -z "$ac_c_werror_flag" ||
32718
test ! -s conftest.err
32719
} && test -s conftest.$ac_objext; then
32720
ac_cv_c_bigendian=yes
32722
echo "$as_me: failed program was:" >&5
32723
sed 's/^/| /' conftest.$ac_ext >&5
32725
ac_cv_c_bigendian=no
32728
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32730
echo "$as_me: failed program was:" >&5
32731
sed 's/^/| /' conftest.$ac_ext >&5
32733
# It does not; compile a test program.
32734
if test "$cross_compiling" = yes; then
32735
# try to guess the endianness by grepping values into an object file
32736
ac_cv_c_bigendian=unknown
32737
cat >conftest.$ac_ext <<_ACEOF
32740
cat confdefs.h >>conftest.$ac_ext
32741
cat >>conftest.$ac_ext <<_ACEOF
32742
/* end confdefs.h. */
32743
short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
32744
short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
32745
void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
32746
short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
32747
short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
32748
void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
32752
_ascii (); _ebcdic ();
32757
rm -f conftest.$ac_objext
32758
if { (ac_try="$ac_compile"
32759
case "(($ac_try" in
32760
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32761
*) ac_try_echo=$ac_try;;
32763
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32764
(eval "$ac_compile") 2>conftest.er1
32766
grep -v '^ *+' conftest.er1 >conftest.err
32768
cat conftest.err >&5
32769
echo "$as_me:$LINENO: \$? = $ac_status" >&5
32770
(exit $ac_status); } && {
32771
test -z "$ac_c_werror_flag" ||
32772
test ! -s conftest.err
32773
} && test -s conftest.$ac_objext; then
32774
if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
32775
ac_cv_c_bigendian=yes
32777
if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
32778
if test "$ac_cv_c_bigendian" = unknown; then
32779
ac_cv_c_bigendian=no
32781
# finding both strings is unlikely to happen, but who knows?
32782
ac_cv_c_bigendian=unknown
32786
echo "$as_me: failed program was:" >&5
32787
sed 's/^/| /' conftest.$ac_ext >&5
32792
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32794
cat >conftest.$ac_ext <<_ACEOF
32797
cat confdefs.h >>conftest.$ac_ext
32798
cat >>conftest.$ac_ext <<_ACEOF
32799
/* end confdefs.h. */
32800
$ac_includes_default
32805
/* Are we little or big endian? From Harbison&Steele. */
32809
char c[sizeof (long int)];
32812
return u.c[sizeof (long int) - 1] == 1;
32818
rm -f conftest$ac_exeext
32819
if { (ac_try="$ac_link"
32820
case "(($ac_try" in
32821
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32822
*) ac_try_echo=$ac_try;;
32824
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32825
(eval "$ac_link") 2>&5
32827
echo "$as_me:$LINENO: \$? = $ac_status" >&5
32828
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
32829
{ (case "(($ac_try" in
32830
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32831
*) ac_try_echo=$ac_try;;
32833
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32834
(eval "$ac_try") 2>&5
32836
echo "$as_me:$LINENO: \$? = $ac_status" >&5
32837
(exit $ac_status); }; }; then
32838
ac_cv_c_bigendian=no
32840
echo "$as_me: program exited with status $ac_status" >&5
32841
echo "$as_me: failed program was:" >&5
32842
sed 's/^/| /' conftest.$ac_ext >&5
32844
( exit $ac_status )
32845
ac_cv_c_bigendian=yes
32847
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32853
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32855
{ echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
32856
echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
32857
case $ac_cv_c_bigendian in
32860
cat >>confdefs.h <<\_ACEOF
32861
@%:@define WORDS_BIGENDIAN 1
32867
{ { echo "$as_me:$LINENO: error: unknown endianness
32868
presetting ac_cv_c_bigendian=no (or yes) will help" >&5
32869
echo "$as_me: error: unknown endianness
32870
presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
32871
{ (exit 1); exit 1; }; } ;;
32875
{ echo "$as_me:$LINENO: checking for MAXPATHLEN" >&5
32876
echo $ECHO_N "checking for MAXPATHLEN... $ECHO_C" >&6; }
32877
if test "${ac_cv_maxpathlen+set}" = set; then
32878
echo $ECHO_N "(cached) $ECHO_C" >&6
32881
cat > conftest.$ac_ext <<EOF
32882
#ifdef STDC_HEADERS
32883
# include <stdlib.h>
32886
#include <sys/param.h>
32888
#define MAXPATHLEN 1024
32891
KDE_HELLO MAXPATHLEN
32895
ac_try="$ac_cpp conftest.$ac_ext 2>/dev/null | grep '^KDE_HELLO' >conftest.out"
32897
if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32898
(eval $ac_try) 2>&5
32900
echo "$as_me:$LINENO: \$? = $ac_status" >&5
32901
(exit $ac_status); } && test -s conftest.out; then
32902
ac_cv_maxpathlen=`sed 's#KDE_HELLO ##' conftest.out`
32904
ac_cv_maxpathlen=1024
32912
{ echo "$as_me:$LINENO: result: $ac_cv_maxpathlen" >&5
32913
echo "${ECHO_T}$ac_cv_maxpathlen" >&6; }
32915
cat >>confdefs.h <<_ACEOF
32916
@%:@define KDEMAXPATHLEN $ac_cv_maxpathlen
32923
DO_NOT_COMPILE="$DO_NOT_COMPILE CVS debian bsd-port admin"
32926
if test ! -s $srcdir/subdirs; then
32927
files=`cd $srcdir && ls -1`
32928
dirs=`for i in $files; do if test -d $i; then echo $i; fi; done`
32930
echo $i >> $srcdir/subdirs
32935
if test -s $srcdir/inst-apps; then
32936
ac_topsubdirs="`cat $srcdir/inst-apps`"
32937
elif test -s $srcdir/subdirs; then
32938
ac_topsubdirs="`cat $srcdir/subdirs`"
32941
for i in $ac_topsubdirs; do
32942
{ echo "$as_me:$LINENO: checking if $i should be compiled" >&5
32943
echo $ECHO_N "checking if $i should be compiled... $ECHO_C" >&6; }
32944
if test -d $srcdir/$i; then
32946
for j in $DO_NOT_COMPILE; do
32947
if test $i = $j; then
32954
{ echo "$as_me:$LINENO: result: $install_it" >&5
32955
echo "${ECHO_T}$install_it" >&6; }
32956
vari=`echo $i | sed -e 's,[-+.@],_,g'`
32957
if test $install_it = "yes"; then
32958
TOPSUBDIRS="$TOPSUBDIRS $i"
32959
eval "$vari""_SUBDIR_included=yes"
32961
eval "$vari""_SUBDIR_included=no"
32967
ac_config_files="$ac_config_files Makefile"
32969
ac_config_files="$ac_config_files doc/Makefile"
32971
ac_config_files="$ac_config_files doc/en/Makefile"
32973
ac_config_files="$ac_config_files po/Makefile"
32975
ac_config_files="$ac_config_files src/Makefile"
32977
ac_config_files="$ac_config_files src/pics/Makefile"
32979
ac_config_files="$ac_config_files src/pics/128x128/Makefile"
32981
ac_config_files="$ac_config_files src/pics/16x16/Makefile"
32983
ac_config_files="$ac_config_files src/pics/22x22/Makefile"
32985
ac_config_files="$ac_config_files src/pics/32x32/Makefile"
32987
ac_config_files="$ac_config_files src/pics/48x48/Makefile"
32989
ac_config_files="$ac_config_files src/pics/64x64/Makefile"
32991
ac_config_files="$ac_config_files src/servicemenus/Makefile"
32993
cat >confcache <<\_ACEOF
32994
# This file is a shell script that caches the results of configure
32995
# tests run on this system so they can be shared between configure
32996
# scripts and configure runs, see configure's option --config-cache.
32997
# It is not useful on other systems. If it contains results you don't
32998
# want to keep, you may remove or edit it.
33000
# config.status only pays attention to the cache file if you give it
33001
# the --recheck option to rerun configure.
33003
# `ac_cv_env_foo' variables (set or unset) will be overridden when
33004
# loading this file, other *unset* `ac_cv_foo' will be assigned the
33005
# following values.
33009
# The following way of writing the cache mishandles newlines in values,
33010
# but we know of no workaround that is simple, portable, and efficient.
33011
# So, we kill variables containing newlines.
33012
# Ultrix sh set writes to stderr and can't be redirected directly,
33013
# and sets the high bit in the cache file unless we assign to the vars.
33015
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
33016
eval ac_val=\$$ac_var
33020
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
33021
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
33024
_ | IFS | as_nl) ;; #(
33025
*) $as_unset $ac_var ;;
33031
case $as_nl`(ac_space=' '; set) 2>&1` in #(
33032
*${as_nl}ac_space=\ *)
33033
# `set' does not quote correctly, so add quotes (double-quote
33034
# substitution turns \\\\ into \\, and sed turns \\ into \).
33037
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
33040
# `set' quotes correctly as required by POSIX, so do not add quotes.
33041
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
33050
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
33052
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
33054
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
33055
if test -w "$cache_file"; then
33056
test "x$cache_file" != "x/dev/null" &&
33057
{ echo "$as_me:$LINENO: updating cache $cache_file" >&5
33058
echo "$as_me: updating cache $cache_file" >&6;}
33059
cat confcache >$cache_file
33061
{ echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
33062
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
33067
test "x$prefix" = xNONE && prefix=$ac_default_prefix
33068
# Let make expand exec_prefix.
33069
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
33071
DEFS=-DHAVE_CONFIG_H
33075
for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
33076
# 1. Remove the extension, and $U if already installed.
33077
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
33078
ac_i=`echo "$ac_i" | sed "$ac_script"`
33079
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
33080
# will be set to the directory where LIBOBJS objects are built.
33081
ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
33082
ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
33084
LIB@&t@OBJS=$ac_libobjs
33086
LTLIBOBJS=$ac_ltlibobjs
33089
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
33090
{ { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
33091
Usually this means the macro was only invoked conditionally." >&5
33092
echo "$as_me: error: conditional \"AMDEP\" was never defined.
33093
Usually this means the macro was only invoked conditionally." >&2;}
33094
{ (exit 1); exit 1; }; }
33096
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
33097
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
33098
Usually this means the macro was only invoked conditionally." >&5
33099
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
33100
Usually this means the macro was only invoked conditionally." >&2;}
33101
{ (exit 1); exit 1; }; }
33103
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
33104
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
33105
Usually this means the macro was only invoked conditionally." >&5
33106
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
33107
Usually this means the macro was only invoked conditionally." >&2;}
33108
{ (exit 1); exit 1; }; }
33110
if test -z "${unsermake_enable_pch_TRUE}" && test -z "${unsermake_enable_pch_FALSE}"; then
33111
{ { echo "$as_me:$LINENO: error: conditional \"unsermake_enable_pch\" was never defined.
33112
Usually this means the macro was only invoked conditionally." >&5
33113
echo "$as_me: error: conditional \"unsermake_enable_pch\" was never defined.
33114
Usually this means the macro was only invoked conditionally." >&2;}
33115
{ (exit 1); exit 1; }; }
33117
if test -z "${include_x11_TRUE}" && test -z "${include_x11_FALSE}"; then
33118
{ { echo "$as_me:$LINENO: error: conditional \"include_x11\" was never defined.
33119
Usually this means the macro was only invoked conditionally." >&5
33120
echo "$as_me: error: conditional \"include_x11\" was never defined.
33121
Usually this means the macro was only invoked conditionally." >&2;}
33122
{ (exit 1); exit 1; }; }
33124
if test -z "${include_ARTS_TRUE}" && test -z "${include_ARTS_FALSE}"; then
33125
{ { echo "$as_me:$LINENO: error: conditional \"include_ARTS\" was never defined.
33126
Usually this means the macro was only invoked conditionally." >&5
33127
echo "$as_me: error: conditional \"include_ARTS\" was never defined.
33128
Usually this means the macro was only invoked conditionally." >&2;}
33129
{ (exit 1); exit 1; }; }
33132
: ${CONFIG_STATUS=./config.status}
33133
ac_clean_files_save=$ac_clean_files
33134
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
33135
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
33136
echo "$as_me: creating $CONFIG_STATUS" >&6;}
33137
cat >$CONFIG_STATUS <<_ACEOF
33139
# Generated by $as_me.
33140
# Run this file to recreate the current configuration.
33141
# Compiler output produced by configure, useful for debugging
33142
# configure, is in config.log if it exists.
33145
ac_cs_recheck=false
33147
SHELL=\${CONFIG_SHELL-$SHELL}
33150
cat >>$CONFIG_STATUS <<\_ACEOF
33151
## --------------------- ##
33152
## M4sh Initialization. ##
33153
## --------------------- ##
33155
# Be more Bourne compatible
33156
DUALCASE=1; export DUALCASE # for MKS sh
33157
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
33160
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
33161
# is contrary to our usage. Disable this feature.
33162
alias -g '${1+"$@"}'='"$@"'
33163
setopt NO_GLOB_SUBST
33165
case `(set -o) 2>/dev/null` in
33166
*posix*) set -o posix ;;
33175
# Avoid depending upon Character Ranges.
33176
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
33177
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
33178
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
33179
as_cr_digits='0123456789'
33180
as_cr_alnum=$as_cr_Letters$as_cr_digits
33182
# The user is always right.
33183
if test "${PATH_SEPARATOR+set}" != set; then
33184
echo "#! /bin/sh" >conf$$.sh
33185
echo "exit 0" >>conf$$.sh
33187
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
33195
# Support unset when possible.
33196
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
33204
# We need space, tab and new line, in precisely that order. Quoting is
33205
# there to prevent editors from complaining about space-tab.
33206
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
33207
# splitting by setting IFS to empty value.)
33212
# Find who we are. Look in the path if we contain no directory separator.
33214
*[\\/]* ) as_myself=$0 ;;
33215
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33216
for as_dir in $PATH
33219
test -z "$as_dir" && as_dir=.
33220
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
33226
# We did not find ourselves, most probably we were run as `sh COMMAND'
33227
# in which case we are not to be found in the path.
33228
if test "x$as_myself" = x; then
33231
if test ! -f "$as_myself"; then
33232
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
33233
{ (exit 1); exit 1; }
33236
# Work around bugs in pre-3.0 UWIN ksh.
33237
for as_var in ENV MAIL MAILPATH
33238
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
33246
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
33247
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
33248
LC_TELEPHONE LC_TIME
33250
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
33251
eval $as_var=C; export $as_var
33253
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
33257
# Required to use basename.
33258
if expr a : '\(a\)' >/dev/null 2>&1 &&
33259
test "X`expr 00001 : '.*\(...\)'`" = X001; then
33265
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
33266
as_basename=basename
33272
# Name of the executable.
33273
as_me=`$as_basename -- "$0" ||
33274
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
33275
X"$0" : 'X\(//\)$' \| \
33276
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
33278
sed '/^.*\/\([^/][^/]*\)\/*$/{
33297
as_lineno_1=$LINENO
33298
as_lineno_2=$LINENO
33299
test "x$as_lineno_1" != "x$as_lineno_2" &&
33300
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
33302
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
33303
# uniformly replaced by the line number. The first 'sed' inserts a
33304
# line-number line after each line using $LINENO; the second 'sed'
33305
# does the real work. The second script uses 'N' to pair each
33306
# line-number line with the line containing $LINENO, and appends
33307
# trailing '-' during substitution so that $LINENO is not a special
33308
# case at line end.
33309
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
33310
# scripts with optimization help from Paolo Bonzini. Blame Lee
33311
# E. McMahon (1931-1989) for sed's syntax. :-)
33323
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
33326
' >$as_me.lineno &&
33327
chmod +x "$as_me.lineno" ||
33328
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
33329
{ (exit 1); exit 1; }; }
33331
# Don't try to exec as it changes $[0], causing all sort of problems
33332
# (the dirname of $[0] is not the place where we might find the
33333
# original and so on. Autoconf is especially sensitive to this).
33334
. "./$as_me.lineno"
33335
# Exit status is that of the last command.
33340
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
33346
ECHO_C= ECHO_N= ECHO_T=
33347
case `echo -n x` in
33349
case `echo 'x\c'` in
33350
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
33357
if expr a : '\(a\)' >/dev/null 2>&1 &&
33358
test "X`expr 00001 : '.*\(...\)'`" = X001; then
33364
rm -f conf$$ conf$$.exe conf$$.file
33365
if test -d conf$$.dir; then
33366
rm -f conf$$.dir/conf$$.file
33372
if ln -s conf$$.file conf$$ 2>/dev/null; then
33374
# ... but there are two gotchas:
33375
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
33376
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
33377
# In both cases, we have to default to `cp -p'.
33378
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
33380
elif ln conf$$.file conf$$ 2>/dev/null; then
33385
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
33386
rmdir conf$$.dir 2>/dev/null
33388
if mkdir -p . 2>/dev/null; then
33391
test -d ./-p && rmdir ./-p
33395
if test -x / >/dev/null 2>&1; then
33396
as_test_x='test -x'
33398
if ls -dL / >/dev/null 2>&1; then
33405
if test -d "$1"; then
33411
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
33412
???[sx]*):;;*)false;;esac;fi
33416
as_executable_p=$as_test_x
33418
# Sed expression to map a string onto a valid CPP name.
33419
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
33421
# Sed expression to map a string onto a valid variable name.
33422
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
33427
# Save the log message, to keep $[0] and so on meaningful, and to
33428
# report actual input values of CONFIG_FILES etc. instead of their
33429
# values after options handling.
33431
This file was extended by $as_me, which was
33432
generated by GNU Autoconf 2.61. Invocation command line was
33434
CONFIG_FILES = $CONFIG_FILES
33435
CONFIG_HEADERS = $CONFIG_HEADERS
33436
CONFIG_LINKS = $CONFIG_LINKS
33437
CONFIG_COMMANDS = $CONFIG_COMMANDS
33440
on `(hostname || uname -n) 2>/dev/null | sed 1q`
33445
cat >>$CONFIG_STATUS <<_ACEOF
33446
# Files that config.status was made for.
33447
config_files="$ac_config_files"
33448
config_headers="$ac_config_headers"
33449
config_commands="$ac_config_commands"
33453
cat >>$CONFIG_STATUS <<\_ACEOF
33455
\`$as_me' instantiates files from templates according to the
33456
current configuration.
33458
Usage: $0 [OPTIONS] [FILE]...
33460
-h, --help print this help, then exit
33461
-V, --version print version number and configuration settings, then exit
33462
-q, --quiet do not print progress messages
33463
-d, --debug don't remove temporary files
33464
--recheck update $as_me by reconfiguring in the same conditions
33465
--file=FILE[:TEMPLATE]
33466
instantiate the configuration file FILE
33467
--header=FILE[:TEMPLATE]
33468
instantiate the configuration header FILE
33470
Configuration files:
33473
Configuration headers:
33476
Configuration commands:
33479
Report bugs to <bug-autoconf@gnu.org>."
33482
cat >>$CONFIG_STATUS <<_ACEOF
33485
configured by $0, generated by GNU Autoconf 2.61,
33486
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
33488
Copyright (C) 2006 Free Software Foundation, Inc.
33489
This config.status script is free software; the Free Software Foundation
33490
gives unlimited permission to copy, distribute and modify it."
33498
cat >>$CONFIG_STATUS <<\_ACEOF
33499
# If no file are specified by the user, then we need to provide default
33500
# value. By we need to know if files were specified by the user.
33506
ac_option=`expr "X$1" : 'X\([^=]*\)='`
33507
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
33518
# Handling of the options.
33519
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
33521
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
33522
echo "$ac_cs_version"; exit ;;
33523
--debug | --debu | --deb | --de | --d | -d )
33525
--file | --fil | --fi | --f )
33527
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
33528
ac_need_defaults=false;;
33529
--header | --heade | --head | --hea )
33531
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
33532
ac_need_defaults=false;;
33534
# Conflict between --help and --header
33535
{ echo "$as_me: error: ambiguous option: $1
33536
Try \`$0 --help' for more information." >&2
33537
{ (exit 1); exit 1; }; };;
33538
--help | --hel | -h )
33539
echo "$ac_cs_usage"; exit ;;
33540
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
33541
| -silent | --silent | --silen | --sile | --sil | --si | --s)
33544
# This is an error.
33545
-*) { echo "$as_me: error: unrecognized option: $1
33546
Try \`$0 --help' for more information." >&2
33547
{ (exit 1); exit 1; }; } ;;
33549
*) ac_config_targets="$ac_config_targets $1"
33550
ac_need_defaults=false ;;
33556
ac_configure_extra_args=
33558
if $ac_cs_silent; then
33560
ac_configure_extra_args="$ac_configure_extra_args --silent"
33564
cat >>$CONFIG_STATUS <<_ACEOF
33565
if \$ac_cs_recheck; then
33566
echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
33567
CONFIG_SHELL=$SHELL
33568
export CONFIG_SHELL
33569
exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
33573
cat >>$CONFIG_STATUS <<\_ACEOF
33577
sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
33578
@%:@@%:@ Running $as_me. @%:@@%:@
33584
cat >>$CONFIG_STATUS <<_ACEOF
33588
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
33592
cat >>$CONFIG_STATUS <<\_ACEOF
33594
# Handling of arguments.
33595
for ac_config_target in $ac_config_targets
33597
case $ac_config_target in
33598
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
33599
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
33600
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
33601
"doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
33602
"doc/en/Makefile") CONFIG_FILES="$CONFIG_FILES doc/en/Makefile" ;;
33603
"po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
33604
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
33605
"src/pics/Makefile") CONFIG_FILES="$CONFIG_FILES src/pics/Makefile" ;;
33606
"src/pics/128x128/Makefile") CONFIG_FILES="$CONFIG_FILES src/pics/128x128/Makefile" ;;
33607
"src/pics/16x16/Makefile") CONFIG_FILES="$CONFIG_FILES src/pics/16x16/Makefile" ;;
33608
"src/pics/22x22/Makefile") CONFIG_FILES="$CONFIG_FILES src/pics/22x22/Makefile" ;;
33609
"src/pics/32x32/Makefile") CONFIG_FILES="$CONFIG_FILES src/pics/32x32/Makefile" ;;
33610
"src/pics/48x48/Makefile") CONFIG_FILES="$CONFIG_FILES src/pics/48x48/Makefile" ;;
33611
"src/pics/64x64/Makefile") CONFIG_FILES="$CONFIG_FILES src/pics/64x64/Makefile" ;;
33612
"src/servicemenus/Makefile") CONFIG_FILES="$CONFIG_FILES src/servicemenus/Makefile" ;;
33614
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
33615
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
33616
{ (exit 1); exit 1; }; };;
33621
# If the user did not use the arguments to specify the items to instantiate,
33622
# then the envvar interface is used. Set only those that are not.
33623
# We use the long form for the default assignment because of an extremely
33624
# bizarre bug on SunOS 4.1.3.
33625
if $ac_need_defaults; then
33626
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
33627
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
33628
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
33631
# Have a temporary directory for convenience. Make it in the build tree
33632
# simply because there is no reason against having it here, and in addition,
33633
# creating and moving files from /tmp can sometimes cause problems.
33634
# Hook for its removal unless debugging.
33635
# Note that there is a small window in which the directory will not be cleaned:
33636
# after its creation but before its name has been assigned to `$tmp'.
33640
trap 'exit_status=$?
33641
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
33643
trap '{ (exit 1); exit 1; }' 1 2 13 15
33645
# Create a (secure) tmp directory for tmp files.
33648
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
33649
test -n "$tmp" && test -d "$tmp"
33652
tmp=./conf$$-$RANDOM
33653
(umask 077 && mkdir "$tmp")
33656
echo "$me: cannot create a temporary directory in ." >&2
33657
{ (exit 1); exit 1; }
33661
# Set up the sed scripts for CONFIG_FILES section.
33664
# No need to generate the scripts if there are no CONFIG_FILES.
33665
# This happens for instance when ./config.status config.h
33666
if test -n "$CONFIG_FILES"; then
33673
for ac_last_try in false false false false false :; do
33674
cat >conf$$subs.sed <<_ACEOF
33675
SHELL!$SHELL$ac_delim
33676
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
33677
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
33678
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
33679
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
33680
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
33681
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
33682
exec_prefix!$exec_prefix$ac_delim
33683
prefix!$prefix$ac_delim
33684
program_transform_name!$program_transform_name$ac_delim
33685
bindir!$bindir$ac_delim
33686
sbindir!$sbindir$ac_delim
33687
libexecdir!$libexecdir$ac_delim
33688
datarootdir!$datarootdir$ac_delim
33689
datadir!$datadir$ac_delim
33690
sysconfdir!$sysconfdir$ac_delim
33691
sharedstatedir!$sharedstatedir$ac_delim
33692
localstatedir!$localstatedir$ac_delim
33693
includedir!$includedir$ac_delim
33694
oldincludedir!$oldincludedir$ac_delim
33695
docdir!$docdir$ac_delim
33696
infodir!$infodir$ac_delim
33697
htmldir!$htmldir$ac_delim
33698
dvidir!$dvidir$ac_delim
33699
pdfdir!$pdfdir$ac_delim
33700
psdir!$psdir$ac_delim
33701
libdir!$libdir$ac_delim
33702
localedir!$localedir$ac_delim
33703
mandir!$mandir$ac_delim
33704
DEFS!$DEFS$ac_delim
33705
ECHO_C!$ECHO_C$ac_delim
33706
ECHO_N!$ECHO_N$ac_delim
33707
ECHO_T!$ECHO_T$ac_delim
33708
LIBS!$LIBS$ac_delim
33709
build_alias!$build_alias$ac_delim
33710
host_alias!$host_alias$ac_delim
33711
target_alias!$target_alias$ac_delim
33712
build!$build$ac_delim
33713
build_cpu!$build_cpu$ac_delim
33714
build_vendor!$build_vendor$ac_delim
33715
build_os!$build_os$ac_delim
33716
host!$host$ac_delim
33717
host_cpu!$host_cpu$ac_delim
33718
host_vendor!$host_vendor$ac_delim
33719
host_os!$host_os$ac_delim
33720
target!$target$ac_delim
33721
target_cpu!$target_cpu$ac_delim
33722
target_vendor!$target_vendor$ac_delim
33723
target_os!$target_os$ac_delim
33724
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
33725
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
33726
INSTALL_DATA!$INSTALL_DATA$ac_delim
33727
am__isrc!$am__isrc$ac_delim
33728
CYGPATH_W!$CYGPATH_W$ac_delim
33729
PACKAGE!$PACKAGE$ac_delim
33730
VERSION!$VERSION$ac_delim
33731
ACLOCAL!$ACLOCAL$ac_delim
33732
AUTOCONF!$AUTOCONF$ac_delim
33733
AUTOMAKE!$AUTOMAKE$ac_delim
33734
AUTOHEADER!$AUTOHEADER$ac_delim
33735
MAKEINFO!$MAKEINFO$ac_delim
33736
install_sh!$install_sh$ac_delim
33737
STRIP!$STRIP$ac_delim
33738
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
33739
mkdir_p!$mkdir_p$ac_delim
33741
SET_MAKE!$SET_MAKE$ac_delim
33742
am__leading_dot!$am__leading_dot$ac_delim
33743
AMTAR!$AMTAR$ac_delim
33744
am__tar!$am__tar$ac_delim
33745
am__untar!$am__untar$ac_delim
33746
KDECONFIG!$KDECONFIG$ac_delim
33747
kde_libs_prefix!$kde_libs_prefix$ac_delim
33748
kde_libs_htmldir!$kde_libs_htmldir$ac_delim
33749
CONF_FILES!$CONF_FILES$ac_delim
33751
CFLAGS!$CFLAGS$ac_delim
33752
LDFLAGS!$LDFLAGS$ac_delim
33753
CPPFLAGS!$CPPFLAGS$ac_delim
33754
ac_ct_CC!$ac_ct_CC$ac_delim
33755
EXEEXT!$EXEEXT$ac_delim
33756
OBJEXT!$OBJEXT$ac_delim
33757
DEPDIR!$DEPDIR$ac_delim
33758
am__include!$am__include$ac_delim
33759
am__quote!$am__quote$ac_delim
33760
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
33761
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
33762
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
33763
CCDEPMODE!$CCDEPMODE$ac_delim
33764
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
33765
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
33768
CXXFLAGS!$CXXFLAGS$ac_delim
33769
ac_ct_CXX!$ac_ct_CXX$ac_delim
33770
CXXDEPMODE!$CXXDEPMODE$ac_delim
33771
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
33774
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
33776
elif $ac_last_try; then
33777
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
33778
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
33779
{ (exit 1); exit 1; }; }
33781
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
33785
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
33786
if test -n "$ac_eof"; then
33787
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
33788
ac_eof=`expr $ac_eof + 1`
33791
cat >>$CONFIG_STATUS <<_ACEOF
33792
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
33793
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
33796
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
33797
s/^/s,@/; s/!/@,|#_!!_#|/
33800
s/'"$ac_delim"'$/,g/; t
33802
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
33803
' >>$CONFIG_STATUS <conf$$subs.sed
33804
rm -f conf$$subs.sed
33805
cat >>$CONFIG_STATUS <<_ACEOF
33811
for ac_last_try in false false false false false :; do
33812
cat >conf$$subs.sed <<_ACEOF
33813
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
33814
WOVERLOADED_VIRTUAL!$WOVERLOADED_VIRTUAL$ac_delim
33815
HAVE_GCC_VISIBILITY!$HAVE_GCC_VISIBILITY$ac_delim
33816
unsermake_enable_pch_TRUE!$unsermake_enable_pch_TRUE$ac_delim
33817
unsermake_enable_pch_FALSE!$unsermake_enable_pch_FALSE$ac_delim
33818
USE_EXCEPTIONS!$USE_EXCEPTIONS$ac_delim
33819
USE_RTTI!$USE_RTTI$ac_delim
33820
CXXCPP!$CXXCPP$ac_delim
33821
NOOPT_CXXFLAGS!$NOOPT_CXXFLAGS$ac_delim
33822
NOOPT_CFLAGS!$NOOPT_CFLAGS$ac_delim
33823
ENABLE_PERMISSIVE_FLAG!$ENABLE_PERMISSIVE_FLAG$ac_delim
33824
LDFLAGS_AS_NEEDED!$LDFLAGS_AS_NEEDED$ac_delim
33825
LDFLAGS_NEW_DTAGS!$LDFLAGS_NEW_DTAGS$ac_delim
33826
KDE_USE_FINAL_TRUE!$KDE_USE_FINAL_TRUE$ac_delim
33827
KDE_USE_FINAL_FALSE!$KDE_USE_FINAL_FALSE$ac_delim
33828
KDE_USE_CLOSURE_TRUE!$KDE_USE_CLOSURE_TRUE$ac_delim
33829
KDE_USE_CLOSURE_FALSE!$KDE_USE_CLOSURE_FALSE$ac_delim
33830
KDE_NO_UNDEFINED!$KDE_NO_UNDEFINED$ac_delim
33831
KDE_USE_NMCHECK_TRUE!$KDE_USE_NMCHECK_TRUE$ac_delim
33832
KDE_USE_NMCHECK_FALSE!$KDE_USE_NMCHECK_FALSE$ac_delim
33833
GREP!$GREP$ac_delim
33834
EGREP!$EGREP$ac_delim
33835
LN_S!$LN_S$ac_delim
33836
ECHO!$ECHO$ac_delim
33838
RANLIB!$RANLIB$ac_delim
33840
FFLAGS!$FFLAGS$ac_delim
33841
ac_ct_F77!$ac_ct_F77$ac_delim
33842
LIBTOOL!$LIBTOOL$ac_delim
33843
KDE_PLUGIN!$KDE_PLUGIN$ac_delim
33844
MSGFMT!$MSGFMT$ac_delim
33845
GMSGFMT!$GMSGFMT$ac_delim
33846
XGETTEXT!$XGETTEXT$ac_delim
33847
LIBUTIL!$LIBUTIL$ac_delim
33848
LIBCOMPAT!$LIBCOMPAT$ac_delim
33849
LIBCRYPT!$LIBCRYPT$ac_delim
33850
LIBRESOLV!$LIBRESOLV$ac_delim
33851
LIB_POLL!$LIB_POLL$ac_delim
33852
FRAMEWORK_COREAUDIO!$FRAMEWORK_COREAUDIO$ac_delim
33853
LIBSOCKET!$LIBSOCKET$ac_delim
33854
X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
33855
LIBUCB!$LIBUCB$ac_delim
33856
LIBDL!$LIBDL$ac_delim
33857
include_x11_TRUE!$include_x11_TRUE$ac_delim
33858
include_x11_FALSE!$include_x11_FALSE$ac_delim
33859
XMKMF!$XMKMF$ac_delim
33860
X_PRE_LIBS!$X_PRE_LIBS$ac_delim
33861
LIB_X11!$LIB_X11$ac_delim
33862
LIB_XRENDER!$LIB_XRENDER$ac_delim
33863
LIBSM!$LIBSM$ac_delim
33864
X_INCLUDES!$X_INCLUDES$ac_delim
33865
X_LDFLAGS!$X_LDFLAGS$ac_delim
33866
x_includes!$x_includes$ac_delim
33867
x_libraries!$x_libraries$ac_delim
33868
QTE_NORTTI!$QTE_NORTTI$ac_delim
33869
LIB_XEXT!$LIB_XEXT$ac_delim
33870
LIBPTHREAD!$LIBPTHREAD$ac_delim
33871
USE_THREADS!$USE_THREADS$ac_delim
33872
KDE_MT_LDFLAGS!$KDE_MT_LDFLAGS$ac_delim
33873
KDE_MT_LIBS!$KDE_MT_LIBS$ac_delim
33874
USER_INCLUDES!$USER_INCLUDES$ac_delim
33875
USER_LDFLAGS!$USER_LDFLAGS$ac_delim
33876
LIBZ!$LIBZ$ac_delim
33877
LIBPNG!$LIBPNG$ac_delim
33878
LIBJPEG!$LIBJPEG$ac_delim
33879
qt_libraries!$qt_libraries$ac_delim
33880
qt_includes!$qt_includes$ac_delim
33881
QT_INCLUDES!$QT_INCLUDES$ac_delim
33882
QT_LDFLAGS!$QT_LDFLAGS$ac_delim
33883
PERL!$PERL$ac_delim
33886
UIC_TR!$UIC_TR$ac_delim
33887
LIB_QT!$LIB_QT$ac_delim
33888
LIB_QPE!$LIB_QPE$ac_delim
33889
kde_qtver!$kde_qtver$ac_delim
33890
KDE_EXTRA_RPATH!$KDE_EXTRA_RPATH$ac_delim
33891
KDE_RPATH!$KDE_RPATH$ac_delim
33892
X_RPATH!$X_RPATH$ac_delim
33893
kde_libraries!$kde_libraries$ac_delim
33894
kde_includes!$kde_includes$ac_delim
33895
KDE_LDFLAGS!$KDE_LDFLAGS$ac_delim
33896
KDE_INCLUDES!$KDE_INCLUDES$ac_delim
33897
all_includes!$all_includes$ac_delim
33898
all_libraries!$all_libraries$ac_delim
33899
AUTODIRS!$AUTODIRS$ac_delim
33900
include_ARTS_TRUE!$include_ARTS_TRUE$ac_delim
33901
include_ARTS_FALSE!$include_ARTS_FALSE$ac_delim
33902
MAKEKDEWIDGETS!$MAKEKDEWIDGETS$ac_delim
33903
KCONFIG_COMPILER!$KCONFIG_COMPILER$ac_delim
33904
KCFG_DEPENDENCIES!$KCFG_DEPENDENCIES$ac_delim
33905
DCOPIDLNG!$DCOPIDLNG$ac_delim
33906
DCOPIDL!$DCOPIDL$ac_delim
33907
DCOPIDL2CPP!$DCOPIDL2CPP$ac_delim
33908
DCOP_DEPENDENCIES!$DCOP_DEPENDENCIES$ac_delim
33909
MCOPIDL!$MCOPIDL$ac_delim
33912
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
33914
elif $ac_last_try; then
33915
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
33916
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
33917
{ (exit 1); exit 1; }; }
33919
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
33923
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
33924
if test -n "$ac_eof"; then
33925
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
33926
ac_eof=`expr $ac_eof + 1`
33929
cat >>$CONFIG_STATUS <<_ACEOF
33930
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
33931
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
33934
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
33935
s/^/s,@/; s/!/@,|#_!!_#|/
33938
s/'"$ac_delim"'$/,g/; t
33940
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
33941
' >>$CONFIG_STATUS <conf$$subs.sed
33942
rm -f conf$$subs.sed
33943
cat >>$CONFIG_STATUS <<_ACEOF
33949
for ac_last_try in false false false false false :; do
33950
cat >conf$$subs.sed <<_ACEOF
33951
ARTSCCONFIG!$ARTSCCONFIG$ac_delim
33952
MEINPROC!$MEINPROC$ac_delim
33953
KDE_XSL_STYLESHEET!$KDE_XSL_STYLESHEET$ac_delim
33954
XMLLINT!$XMLLINT$ac_delim
33955
kde_htmldir!$kde_htmldir$ac_delim
33956
kde_appsdir!$kde_appsdir$ac_delim
33957
kde_icondir!$kde_icondir$ac_delim
33958
kde_sounddir!$kde_sounddir$ac_delim
33959
kde_datadir!$kde_datadir$ac_delim
33960
kde_locale!$kde_locale$ac_delim
33961
kde_confdir!$kde_confdir$ac_delim
33962
kde_kcfgdir!$kde_kcfgdir$ac_delim
33963
kde_mimedir!$kde_mimedir$ac_delim
33964
kde_wallpaperdir!$kde_wallpaperdir$ac_delim
33965
kde_bindir!$kde_bindir$ac_delim
33966
xdg_appsdir!$xdg_appsdir$ac_delim
33967
xdg_menudir!$xdg_menudir$ac_delim
33968
xdg_directorydir!$xdg_directorydir$ac_delim
33969
kde_templatesdir!$kde_templatesdir$ac_delim
33970
kde_servicesdir!$kde_servicesdir$ac_delim
33971
kde_servicetypesdir!$kde_servicetypesdir$ac_delim
33972
kde_moduledir!$kde_moduledir$ac_delim
33973
kdeinitdir!$kdeinitdir$ac_delim
33974
kde_styledir!$kde_styledir$ac_delim
33975
kde_widgetdir!$kde_widgetdir$ac_delim
33976
LIB_KDECORE!$LIB_KDECORE$ac_delim
33977
LIB_KDEUI!$LIB_KDEUI$ac_delim
33978
LIB_KIO!$LIB_KIO$ac_delim
33979
LIB_KJS!$LIB_KJS$ac_delim
33980
LIB_SMB!$LIB_SMB$ac_delim
33981
LIB_KAB!$LIB_KAB$ac_delim
33982
LIB_KABC!$LIB_KABC$ac_delim
33983
LIB_KHTML!$LIB_KHTML$ac_delim
33984
LIB_KSPELL!$LIB_KSPELL$ac_delim
33985
LIB_KPARTS!$LIB_KPARTS$ac_delim
33986
LIB_KDEPRINT!$LIB_KDEPRINT$ac_delim
33987
LIB_KUTILS!$LIB_KUTILS$ac_delim
33988
LIB_KDEPIM!$LIB_KDEPIM$ac_delim
33989
LIB_KIMPROXY!$LIB_KIMPROXY$ac_delim
33990
LIB_KNEWSTUFF!$LIB_KNEWSTUFF$ac_delim
33991
LIB_KDNSSD!$LIB_KDNSSD$ac_delim
33992
LIB_KUNITTEST!$LIB_KUNITTEST$ac_delim
33993
LIB_KSYCOCA!$LIB_KSYCOCA$ac_delim
33994
LIB_KFILE!$LIB_KFILE$ac_delim
33995
LIB_KFM!$LIB_KFM$ac_delim
33996
TOPSUBDIRS!$TOPSUBDIRS$ac_delim
33997
LIB@&t@OBJS!$LIB@&t@OBJS$ac_delim
33998
LTLIBOBJS!$LTLIBOBJS$ac_delim
34001
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 48; then
34003
elif $ac_last_try; then
34004
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
34005
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
34006
{ (exit 1); exit 1; }; }
34008
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
34012
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
34013
if test -n "$ac_eof"; then
34014
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
34015
ac_eof=`expr $ac_eof + 1`
34018
cat >>$CONFIG_STATUS <<_ACEOF
34019
cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
34020
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
34023
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
34024
s/^/s,@/; s/!/@,|#_!!_#|/
34027
s/'"$ac_delim"'$/,g/; t
34029
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
34030
' >>$CONFIG_STATUS <conf$$subs.sed
34031
rm -f conf$$subs.sed
34032
cat >>$CONFIG_STATUS <<_ACEOF
34039
# VPATH may cause trouble with some makes, so we remove $(srcdir),
34040
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
34041
# trailing colons and then remove the whole line if VPATH becomes empty
34042
# (actually we leave an empty line to preserve line numbers).
34043
if test "x$srcdir" = x.; then
34044
ac_vpsub='/^[ ]*VPATH[ ]*=/{
34045
s/:*\$(srcdir):*/:/
34046
s/:*\${srcdir}:*/:/
34048
s/^\([^=]*=[ ]*\):*/\1/
34054
cat >>$CONFIG_STATUS <<\_ACEOF
34055
fi # test -n "$CONFIG_FILES"
34058
for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
34061
:[FHLC]) ac_mode=$ac_tag; continue;;
34063
case $ac_mode$ac_tag in
34065
:L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
34066
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
34067
{ (exit 1); exit 1; }; };;
34068
:[FH]-) ac_tag=-:-;;
34069
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
34086
-) ac_f="$tmp/stdin";;
34087
*) # Look for the file first in the build tree, then in the source tree
34088
# (if the path is not absolute). The absolute path cannot be DOS-style,
34089
# because $ac_f cannot contain `:'.
34093
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
34095
{ { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
34096
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
34097
{ (exit 1); exit 1; }; };;
34099
ac_file_inputs="$ac_file_inputs $ac_f"
34102
# Let's still pretend it is `configure' which instantiates (i.e., don't
34103
# use $as_me), people would be surprised to read:
34104
# /* config.h. Generated by config.status. */
34105
configure_input="Generated from "`IFS=:
34106
echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
34107
if test x"$ac_file" != x-; then
34108
configure_input="$ac_file. $configure_input"
34109
{ echo "$as_me:$LINENO: creating $ac_file" >&5
34110
echo "$as_me: creating $ac_file" >&6;}
34114
*:-:* | *:-) cat >"$tmp/stdin";;
34119
ac_dir=`$as_dirname -- "$ac_file" ||
34120
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34121
X"$ac_file" : 'X\(//\)[^/]' \| \
34122
X"$ac_file" : 'X\(//\)$' \| \
34123
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
34125
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34129
/^X\(\/\/\)[^/].*/{
34144
-*) as_dir=./$as_dir;;
34146
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
34150
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
34151
*) as_qdir=$as_dir;;
34153
as_dirs="'$as_qdir' $as_dirs"
34154
as_dir=`$as_dirname -- "$as_dir" ||
34155
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34156
X"$as_dir" : 'X\(//\)[^/]' \| \
34157
X"$as_dir" : 'X\(//\)$' \| \
34158
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
34160
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34164
/^X\(\/\/\)[^/].*/{
34177
test -d "$as_dir" && break
34179
test -z "$as_dirs" || eval "mkdir $as_dirs"
34180
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
34181
echo "$as_me: error: cannot create directory $as_dir" >&2;}
34182
{ (exit 1); exit 1; }; }; }
34186
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
34188
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
34189
# A ".." for each directory in $ac_dir_suffix.
34190
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
34191
case $ac_top_builddir_sub in
34192
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
34193
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
34196
ac_abs_top_builddir=$ac_pwd
34197
ac_abs_builddir=$ac_pwd$ac_dir_suffix
34198
# for backward compatibility:
34199
ac_top_builddir=$ac_top_build_prefix
34202
.) # We are building in place.
34204
ac_top_srcdir=$ac_top_builddir_sub
34205
ac_abs_top_srcdir=$ac_pwd ;;
34206
[\\/]* | ?:[\\/]* ) # Absolute name.
34207
ac_srcdir=$srcdir$ac_dir_suffix;
34208
ac_top_srcdir=$srcdir
34209
ac_abs_top_srcdir=$srcdir ;;
34210
*) # Relative name.
34211
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
34212
ac_top_srcdir=$ac_top_build_prefix$srcdir
34213
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
34215
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
34225
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
34226
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
34228
ac_MKDIR_P=$MKDIR_P
34230
[\\/$]* | ?:[\\/]* ) ;;
34231
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
34235
cat >>$CONFIG_STATUS <<\_ACEOF
34236
# If the template does not know about datarootdir, expand it.
34237
# FIXME: This hack should be removed a few years after 2.60.
34238
ac_datarootdir_hack=; ac_datarootdir_seen=
34240
case `sed -n '/datarootdir/ {
34249
' $ac_file_inputs` in
34250
*datarootdir*) ac_datarootdir_seen=yes;;
34251
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
34252
{ echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
34253
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
34255
cat >>$CONFIG_STATUS <<_ACEOF
34256
ac_datarootdir_hack='
34257
s&@datadir@&$datadir&g
34258
s&@docdir@&$docdir&g
34259
s&@infodir@&$infodir&g
34260
s&@localedir@&$localedir&g
34261
s&@mandir@&$mandir&g
34262
s&\\\${datarootdir}&$datarootdir&g' ;;
34266
# Neutralize VPATH when `$srcdir' = `.'.
34267
# Shell code in configure.ac might set extrasub.
34268
# FIXME: do we really want to maintain this feature?
34269
cat >>$CONFIG_STATUS <<_ACEOF
34273
cat >>$CONFIG_STATUS <<\_ACEOF
34275
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
34276
s&@configure_input@&$configure_input&;t t
34277
s&@top_builddir@&$ac_top_builddir_sub&;t t
34278
s&@srcdir@&$ac_srcdir&;t t
34279
s&@abs_srcdir@&$ac_abs_srcdir&;t t
34280
s&@top_srcdir@&$ac_top_srcdir&;t t
34281
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
34282
s&@builddir@&$ac_builddir&;t t
34283
s&@abs_builddir@&$ac_abs_builddir&;t t
34284
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
34285
s&@INSTALL@&$ac_INSTALL&;t t
34286
s&@MKDIR_P@&$ac_MKDIR_P&;t t
34287
$ac_datarootdir_hack
34288
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" | sed -f "$tmp/subs-3.sed" >$tmp/out
34290
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
34291
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
34292
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
34293
{ echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
34294
which seems to be undefined. Please make sure it is defined." >&5
34295
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
34296
which seems to be undefined. Please make sure it is defined." >&2;}
34300
-) cat "$tmp/out"; rm -f "$tmp/out";;
34301
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
34310
# Transform confdefs.h into a sed script `conftest.defines', that
34311
# substitutes the proper values into config.h.in to produce config.h.
34312
rm -f conftest.defines conftest.tail
34313
# First, append a space to every undef/define line, to ease matching.
34314
echo 's/$/ /' >conftest.defines
34315
# Then, protect against being on the right side of a sed subst, or in
34316
# an unquoted here document, in config.status. If some macros were
34317
# called several times there might be several #defines for the same
34318
# symbol, which is useless. But do not sort them, since the last
34319
# AC_DEFINE must be honored.
34320
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
34321
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
34322
# NAME is the cpp macro being defined, VALUE is the value it is being given.
34323
# PARAMS is the parameter list in the macro definition--in most cases, it's
34324
# just an empty string.
34325
ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
34326
ac_dB='\\)[ (].*,\\1define\\2'
34334
s/^[ ]*#[ ]*define[ ][ ]*//
34339
s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
34340
s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
34341
' >>conftest.defines
34343
# Remove the space that was appended to ease matching.
34344
# Then replace #undef with comments. This is necessary, for
34345
# example, in the case of _POSIX_SOURCE, which is predefined and required
34346
# on some systems where configure will not decide to define it.
34347
# (The regexp can be short, since the line contains either #define or #undef.)
34349
s,^[ #]*u.*,/* & */,' >>conftest.defines
34351
# Break up conftest.defines:
34352
ac_max_sed_lines=50
34354
# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
34355
# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
34356
# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
34358
ac_in='$ac_file_inputs'
34359
ac_out='"$tmp/out1"'
34360
ac_nxt='"$tmp/out2"'
34364
# Write a here document:
34365
cat >>$CONFIG_STATUS <<_ACEOF
34366
# First, check the format of the line:
34367
cat >"\$tmp/defines.sed" <<\\CEOF
34368
/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
34369
/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
34373
sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
34375
sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
34376
ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
34377
sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
34378
grep . conftest.tail >/dev/null || break
34379
rm -f conftest.defines
34380
mv conftest.tail conftest.defines
34382
rm -f conftest.defines conftest.tail
34384
echo "ac_result=$ac_in" >>$CONFIG_STATUS
34385
cat >>$CONFIG_STATUS <<\_ACEOF
34386
if test x"$ac_file" != x-; then
34387
echo "/* $configure_input */" >"$tmp/config.h"
34388
cat "$ac_result" >>"$tmp/config.h"
34389
if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
34390
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
34391
echo "$as_me: $ac_file is unchanged" >&6;}
34394
mv "$tmp/config.h" $ac_file
34397
echo "/* $configure_input */"
34401
# Compute $ac_file's index in $config_headers.
34403
for _am_header in $config_headers :; do
34404
case $_am_header in
34405
$ac_file | $ac_file:* )
34408
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
34411
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
34412
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34413
X$ac_file : 'X\(//\)[^/]' \| \
34414
X$ac_file : 'X\(//\)$' \| \
34415
X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
34417
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34421
/^X\(\/\/\)[^/].*/{
34433
s/.*/./; q'`/stamp-h$_am_stamp_count
34436
:C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
34437
echo "$as_me: executing $ac_file commands" >&6;}
34442
case $ac_file$ac_mode in
34443
"depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
34444
# Strip MF so we end up with the name of the file.
34445
mf=`echo "$mf" | sed -e 's/:.*$//'`
34446
# Check whether this is an Automake generated Makefile or not.
34447
# We used to match only the files named `Makefile.in', but
34448
# some people rename them; so instead we look at the file content.
34449
# Grep'ing the first line is not enough: some people post-process
34450
# each Makefile.in and add a new line on top of each file to say so.
34451
# Grep'ing the whole file is not good either: AIX grep has a line
34452
# limit of 2048, but all sed's we know have understand at least 4000.
34453
if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
34454
dirpart=`$as_dirname -- "$mf" ||
34455
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34456
X"$mf" : 'X\(//\)[^/]' \| \
34457
X"$mf" : 'X\(//\)$' \| \
34458
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
34460
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34464
/^X\(\/\/\)[^/].*/{
34480
# Extract the definition of DEPDIR, am__include, and am__quote
34481
# from the Makefile without running `make'.
34482
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
34483
test -z "$DEPDIR" && continue
34484
am__include=`sed -n 's/^am__include = //p' < "$mf"`
34485
test -z "am__include" && continue
34486
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
34487
# When using ansi2knr, U may be empty or an underscore; expand it
34488
U=`sed -n 's/^U = //p' < "$mf"`
34489
# Find all dependency output files, they are included files with
34490
# $(DEPDIR) in their names. We invoke sed twice because it is the
34491
# simplest approach to changing $(DEPDIR) to its actual value in the
34493
for file in `sed -n "
34494
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
34495
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
34496
# Make sure the directory exists.
34497
test -f "$dirpart/$file" && continue
34498
fdir=`$as_dirname -- "$file" ||
34499
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34500
X"$file" : 'X\(//\)[^/]' \| \
34501
X"$file" : 'X\(//\)$' \| \
34502
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
34504
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34508
/^X\(\/\/\)[^/].*/{
34521
{ as_dir=$dirpart/$fdir
34523
-*) as_dir=./$as_dir;;
34525
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
34529
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
34530
*) as_qdir=$as_dir;;
34532
as_dirs="'$as_qdir' $as_dirs"
34533
as_dir=`$as_dirname -- "$as_dir" ||
34534
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34535
X"$as_dir" : 'X\(//\)[^/]' \| \
34536
X"$as_dir" : 'X\(//\)$' \| \
34537
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
34539
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34543
/^X\(\/\/\)[^/].*/{
34556
test -d "$as_dir" && break
34558
test -z "$as_dirs" || eval "mkdir $as_dirs"
34559
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
34560
echo "$as_me: error: cannot create directory $as_dir" >&2;}
34561
{ (exit 1); exit 1; }; }; }
34562
# echo "creating $dirpart/$file"
34563
echo '# dummy' > "$dirpart/$file"
34572
{ (exit 0); exit 0; }
34574
chmod +x $CONFIG_STATUS
34575
ac_clean_files=$ac_clean_files_save
34578
# configure is writing to config.log, and then calls config.status.
34579
# config.status does its own redirection, appending to config.log.
34580
# Unfortunately, on DOS this fails, as config.log is still kept open
34581
# by configure, so config.status won't be able to write to it; its
34582
# output is simply discarded. So we exec the FD to /dev/null,
34583
# effectively closing config.log, so it can be properly (re)opened and
34584
# appended to by config.status. When coming back to configure, we
34585
# need to make the FD available again.
34586
if test "$no_create" != yes; then
34588
ac_config_status_args=
34589
test "$silent" = yes &&
34590
ac_config_status_args="$ac_config_status_args --quiet"
34592
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
34594
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
34595
# would make configure fail if this is the last instruction.
34596
$ac_cs_success || { (exit 1); exit 1; }
34599
# Check if KDE_SET_PREFIX was called, and --prefix was passed to configure
34600
if test -n "$kde_libs_prefix" -a -n "$given_prefix"; then
34601
# And if so, warn when they don't match
34602
if test "$kde_libs_prefix" != "$given_prefix"; then
34603
# And if kde doesn't know about the prefix yet
34604
echo ":"`kde-config --path exe`":" | grep ":$given_prefix/bin/:" 2>&1 >/dev/null
34605
if test $? -ne 0; then
34607
echo "Warning: you chose to install this package in $given_prefix,"
34608
echo "but KDE was found in $kde_libs_prefix."
34609
echo "For this to work, you will need to tell KDE about the new prefix, by ensuring"
34610
echo "that KDEDIRS contains it, e.g. export KDEDIRS=$given_prefix:$kde_libs_prefix"
34611
echo "Then restart KDE."
34617
if test x$GXX = "xyes" -a x$kde_have_gcc_visibility = "xyes" -a x$kde_cv_val_qt_gcc_visibility_patched = "xno"; then
34619
echo "Your GCC supports symbol visibility, but the patch for Qt supporting visibility"
34620
echo "was not included. Therefore, GCC symbol visibility support remains disabled."
34622
echo "For better performance, consider including the Qt visibility supporting patch"
34625
echo "http://bugs.kde.org/show_bug.cgi?id=109386"
34627
echo "and recompile all of Qt and KDE. Note, this is entirely optional and"
34628
echo "everything will continue to work just fine without it."
34632
if test "$all_tests" = "bad"; then
34633
if test ! "$cache_file" = "/dev/null"; then
34635
echo "Please remove the file $cache_file after changing your setup"
34636
echo "so that configure will find the changes next time."
34641
echo "Good - your configure finished. Start make now"