2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.59.
5
# Copyright (C) 2003 Free Software Foundation, Inc.
6
# This configure script is free software; the Free Software Foundation
7
# gives unlimited permission to copy, distribute and modify it.
8
## --------------------- ##
9
## M4sh Initialization. ##
10
## --------------------- ##
12
# Be Bourne compatible
13
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17
# is contrary to our usage. Disable this feature.
18
alias -g '${1+"$@"}'='"$@"'
19
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22
DUALCASE=1; export DUALCASE # for MKS sh
24
# Support unset when possible.
25
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
32
# Work around bugs in pre-3.0 UWIN ksh.
33
$as_unset ENV MAIL MAILPATH
40
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45
eval $as_var=C; export $as_var
51
# Required to use basename.
52
if expr a : '\(a\)' >/dev/null 2>&1; then
58
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
65
# Name of the executable.
66
as_me=`$as_basename "$0" ||
67
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68
X"$0" : 'X\(//\)$' \| \
69
X"$0" : 'X\(/\)$' \| \
70
. : '\(.\)' 2>/dev/null ||
72
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73
/^X\/\(\/\/\)$/{ s//\1/; q; }
74
/^X\/\(\/\).*/{ s//\1/; q; }
78
# PATH needs CR, and LINENO needs CR and PATH.
79
# Avoid depending upon Character Ranges.
80
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83
as_cr_digits='0123456789'
84
as_cr_alnum=$as_cr_Letters$as_cr_digits
86
# The user is always right.
87
if test "${PATH_SEPARATOR+set}" != set; then
88
echo "#! /bin/sh" >conf$$.sh
89
echo "exit 0" >>conf$$.sh
91
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
102
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103
test "x$as_lineno_1" != "x$as_lineno_2" &&
104
test "x$as_lineno_3" = "x$as_lineno_2" || {
105
# Find who we are. Look in the path if we contain no path at all
108
*[\\/]* ) as_myself=$0 ;;
109
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113
test -z "$as_dir" && as_dir=.
114
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
119
# We did not find ourselves, most probably we were run as `sh COMMAND'
120
# in which case we are not to be found in the path.
121
if test "x$as_myself" = x; then
124
if test ! -f "$as_myself"; then
125
{ echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126
{ (exit 1); exit 1; }; }
128
case $CONFIG_SHELL in
130
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134
test -z "$as_dir" && as_dir=.
135
for as_base in sh bash ksh sh5; do
138
if ("$as_dir/$as_base" -c '
141
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142
test "x$as_lineno_1" != "x$as_lineno_2" &&
143
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146
CONFIG_SHELL=$as_dir/$as_base
148
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157
# uniformly replaced by the line number. The first 'sed' inserts a
158
# line-number line before each line; the second 'sed' does the real
159
# work. The second script uses 'N' to pair each line-number line
160
# with the numbered line, and appends trailing '-' during
161
# substitution so that $LINENO is not a special case at line end.
162
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164
sed '=' <$as_myself |
169
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172
s,^['$as_cr_digits']*\n,,
174
chmod +x $as_me.lineno ||
175
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176
{ (exit 1); exit 1; }; }
178
# Don't try to exec as it changes $[0], causing all sort of problems
179
# (the dirname of $[0] is not the place where we might find the
180
# original and so on. Autoconf is especially sensible to this).
182
# Exit status is that of the last command.
187
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188
*c*,-n*) ECHO_N= ECHO_C='
190
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
194
if expr a : '\(a\)' >/dev/null 2>&1; then
200
rm -f conf$$ conf$$.exe conf$$.file
202
if ln -s conf$$.file conf$$ 2>/dev/null; then
203
# We could just check for DJGPP; but this test a) works b) is more generic
204
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205
if test -f conf$$.exe; then
206
# Don't use ln at all; we don't have any links
211
elif ln conf$$.file conf$$ 2>/dev/null; then
216
rm -f conf$$ conf$$.exe conf$$.file
218
if mkdir -p . 2>/dev/null; then
221
test -d ./-p && rmdir ./-p
225
as_executable_p="test -f"
227
# Sed expression to map a string onto a valid CPP name.
228
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230
# Sed expression to map a string onto a valid variable name.
231
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235
# We need space, tab and new line, in precisely that order.
245
# Check that we are running under the correct shell.
246
SHELL=${CONFIG_SHELL-/bin/sh}
250
# Remove one level of quotation (which was required for Make).
251
ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
256
if test "X$1" = X--no-reexec; then
257
# Discard the --no-reexec flag, and continue.
259
elif test "X$1" = X--fallback-echo; then
260
# Avoid inline document here, it may be left over
262
elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
263
# Yippee, $echo works!
266
# Restart under the correct shell.
267
exec $SHELL "$0" --no-reexec ${1+"$@"}
270
if test "X$1" = X--fallback-echo; then
271
# used as fallback echo
279
# The HP-UX ksh and POSIX shell print the target directory to stdout
281
if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
283
if test -z "$ECHO"; then
284
if test "X${echo_test_string+set}" != Xset; then
285
# find a string as large as possible, as long as the shell can cope with it
286
for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
287
# expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
288
if (echo_test_string="`eval $cmd`") 2>/dev/null &&
289
echo_test_string="`eval $cmd`" &&
290
(test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
297
if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
298
echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
299
test "X$echo_testing_string" = "X$echo_test_string"; then
302
# The Solaris, AIX, and Digital Unix default echo programs unquote
303
# backslashes. This makes it impossible to quote backslashes using
304
# echo "$something" | sed 's/\\/\\\\/g'
306
# So, first we look for a working echo in the user's PATH.
308
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
309
for dir in $PATH /usr/ucb; do
311
if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
312
test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
313
echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
314
test "X$echo_testing_string" = "X$echo_test_string"; then
321
if test "X$echo" = Xecho; then
322
# We didn't find a better echo, so look for alternatives.
323
if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
324
echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
325
test "X$echo_testing_string" = "X$echo_test_string"; then
326
# This shell has a builtin print -r that does the trick.
328
elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
329
test "X$CONFIG_SHELL" != X/bin/ksh; then
330
# If we have ksh, try running configure again with it.
331
ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
332
export ORIGINAL_CONFIG_SHELL
333
CONFIG_SHELL=/bin/ksh
335
exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
339
if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
340
echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
341
test "X$echo_testing_string" = "X$echo_test_string"; then
344
elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
345
test "X$echo_testing_string" = 'X\t' &&
346
echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
347
test "X$echo_testing_string" = "X$echo_test_string"; then
348
CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
350
SHELL="$CONFIG_SHELL"
352
echo="$CONFIG_SHELL $0 --fallback-echo"
353
elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
354
test "X$echo_testing_string" = 'X\t' &&
355
echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
356
test "X$echo_testing_string" = "X$echo_test_string"; then
357
echo="$CONFIG_SHELL $0 --fallback-echo"
359
# maybe with a smaller string...
362
for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
363
if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
370
if test "$prev" != 'sed 50q "$0"'; then
371
echo_test_string=`eval $prev`
372
export echo_test_string
373
exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
375
# Oops. We lost completely, so just stick with echo.
384
# Copy echo and quote the copy suitably for passing to libtool from
385
# the Makefile, instead of quoting the original, which is used later.
387
if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
388
ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
394
tagnames=${tagnames+${tagnames},}CXX
396
tagnames=${tagnames+${tagnames},}F77
399
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
400
# so uname gets run too.
401
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
408
ac_default_prefix=/usr/local
409
ac_config_libobj_dir=.
414
SHELL=${CONFIG_SHELL-/bin/sh}
416
# Maximum number of lines to put in a shell here document.
417
# This variable seems obsolete. It should probably be removed, and
418
# only ac_max_sed_lines should be used.
419
: ${ac_max_here_lines=38}
421
# Identity of this package.
428
ac_unique_file="acinclude.m4"
429
ac_default_prefix=${KDEDIR:-the kde prefix}
430
# Factoring default headers for most tests.
431
ac_includes_default="\
434
# include <sys/types.h>
437
# include <sys/stat.h>
448
# if !STDC_HEADERS && HAVE_MEMORY_H
454
# include <strings.h>
457
# include <inttypes.h>
467
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar KDECONFIG kde_libs_prefix kde_libs_htmldir CONF_FILES CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE WOVERLOADED_VIRTUAL USE_EXCEPTIONS USE_RTTI CXXCPP NOOPT_CXXFLAGS NOOPT_CFLAGS ENABLE_PERMISSIVE_FLAG KDE_USE_FINAL_TRUE KDE_USE_FINAL_FALSE KDE_USE_CLOSURE_TRUE KDE_USE_CLOSURE_FALSE KDE_NO_UNDEFINED KDE_USE_NMCHECK_TRUE KDE_USE_NMCHECK_FALSE EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB F77 FFLAGS ac_ct_F77 LIBTOOL KDE_PLUGIN MSGFMT GMSGFMT XGETTEXT LIBUTIL LIBCOMPAT LIBCRYPT LIBRESOLV LIB_POLL FRAMEWORK_COREAUDIO LIBSOCKET X_EXTRA_LIBS LIBUCB LIBDL X_PRE_LIBS LIB_X11 LIB_XRENDER LIBSM X_INCLUDES X_LDFLAGS x_includes x_libraries QTE_NORTTI LIB_XEXT LIBPTHREAD USE_THREADS KDE_MT_LDFLAGS KDE_MT_LIBS USER_INCLUDES USER_LDFLAGS LIBZ LIBPNG LIBJPEG qt_libraries qt_includes QT_INCLUDES QT_LDFLAGS PERL MOC UIC UIC_TR LIB_QT LIB_QPE kde_qtver KDE_EXTRA_RPATH KDE_RPATH X_RPATH kde_libraries kde_includes KDE_LDFLAGS KDE_INCLUDES all_includes all_libraries AUTODIRS include_ARTS_TRUE include_ARTS_FALSE KCONFIG_COMPILER KCFG_DEPENDENCIES DCOPIDLNG DCOPIDL DCOPIDL2CPP DCOP_DEPENDENCIES MCOPIDL ARTSCCONFIG MEINPROC KDE_XSL_STYLESHEET XMLLINT kde_htmldir kde_appsdir kde_icondir kde_sounddir kde_datadir kde_locale kde_confdir kde_kcfgdir kde_mimedir kde_wallpaperdir kde_bindir xdg_appsdir xdg_menudir xdg_directorydir kde_templatesdir kde_servicesdir kde_servicetypesdir kde_moduledir kdeinitdir kde_styledir kde_widgetdir LIB_KDECORE LIB_KDEUI LIB_KIO LIB_SMB LIB_KAB LIB_KABC LIB_KHTML LIB_KSPELL LIB_KPARTS LIB_KDEPRINT LIB_KUTILS LIB_KDEPIM LIB_KSYCOCA LIB_KFILE LIB_KFM TOPSUBDIRS LIBOBJS LTLIBOBJS'
470
# Initialize some variables set by options.
472
ac_init_version=false
473
# The variables have the same names as the options, with
474
# dashes changed to underlines.
482
program_transform_name=s,x,x,
490
# Installation directory options.
491
# These are left unexpanded so users can "make install exec_prefix=/foo"
492
# and all the variables that are supposed to be based on exec_prefix
493
# by default will actually change.
494
# Use braces instead of parens because sh, perl, etc. also accept them.
495
bindir='${exec_prefix}/bin'
496
sbindir='${exec_prefix}/sbin'
497
libexecdir='${exec_prefix}/libexec'
498
datadir='${prefix}/share'
499
sysconfdir='${prefix}/etc'
500
sharedstatedir='${prefix}/com'
501
localstatedir='${prefix}/var'
502
libdir='${exec_prefix}/lib'
503
includedir='${prefix}/include'
504
oldincludedir='/usr/include'
505
infodir='${prefix}/info'
506
mandir='${prefix}/man'
511
# If the previous option needs an argument, assign it.
512
if test -n "$ac_prev"; then
513
eval "$ac_prev=\$ac_option"
518
ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
520
# Accept the important Cygnus configure options, so we can diagnose typos.
524
-bindir | --bindir | --bindi | --bind | --bin | --bi)
526
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
529
-build | --build | --buil | --bui | --bu)
530
ac_prev=build_alias ;;
531
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
532
build_alias=$ac_optarg ;;
534
-cache-file | --cache-file | --cache-fil | --cache-fi \
535
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
536
ac_prev=cache_file ;;
537
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
538
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
539
cache_file=$ac_optarg ;;
542
cache_file=config.cache ;;
544
-datadir | --datadir | --datadi | --datad | --data | --dat | --da)
546
-datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
548
datadir=$ac_optarg ;;
550
-disable-* | --disable-*)
551
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
552
# Reject names that are not valid shell variable names.
553
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
554
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
555
{ (exit 1); exit 1; }; }
556
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
557
eval "enable_$ac_feature=no" ;;
559
-enable-* | --enable-*)
560
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
561
# Reject names that are not valid shell variable names.
562
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
563
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
564
{ (exit 1); exit 1; }; }
565
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
567
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
570
eval "enable_$ac_feature='$ac_optarg'" ;;
572
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
573
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
574
| --exec | --exe | --ex)
575
ac_prev=exec_prefix ;;
576
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
577
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
578
| --exec=* | --exe=* | --ex=*)
579
exec_prefix=$ac_optarg ;;
581
-gas | --gas | --ga | --g)
582
# Obsolete; use --with-gas.
585
-help | --help | --hel | --he | -h)
587
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
588
ac_init_help=recursive ;;
589
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
590
ac_init_help=short ;;
592
-host | --host | --hos | --ho)
593
ac_prev=host_alias ;;
594
-host=* | --host=* | --hos=* | --ho=*)
595
host_alias=$ac_optarg ;;
597
-includedir | --includedir | --includedi | --included | --include \
598
| --includ | --inclu | --incl | --inc)
599
ac_prev=includedir ;;
600
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
601
| --includ=* | --inclu=* | --incl=* | --inc=*)
602
includedir=$ac_optarg ;;
604
-infodir | --infodir | --infodi | --infod | --info | --inf)
606
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
607
infodir=$ac_optarg ;;
609
-libdir | --libdir | --libdi | --libd)
611
-libdir=* | --libdir=* | --libdi=* | --libd=*)
614
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
615
| --libexe | --libex | --libe)
616
ac_prev=libexecdir ;;
617
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
618
| --libexe=* | --libex=* | --libe=*)
619
libexecdir=$ac_optarg ;;
621
-localstatedir | --localstatedir | --localstatedi | --localstated \
622
| --localstate | --localstat | --localsta | --localst \
623
| --locals | --local | --loca | --loc | --lo)
624
ac_prev=localstatedir ;;
625
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
626
| --localstate=* | --localstat=* | --localsta=* | --localst=* \
627
| --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
628
localstatedir=$ac_optarg ;;
630
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
632
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
636
# Obsolete; use --without-fp.
639
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
640
| --no-cr | --no-c | -n)
643
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
644
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
647
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
648
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
649
| --oldin | --oldi | --old | --ol | --o)
650
ac_prev=oldincludedir ;;
651
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
652
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
653
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
654
oldincludedir=$ac_optarg ;;
656
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
658
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
661
-program-prefix | --program-prefix | --program-prefi | --program-pref \
662
| --program-pre | --program-pr | --program-p)
663
ac_prev=program_prefix ;;
664
-program-prefix=* | --program-prefix=* | --program-prefi=* \
665
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
666
program_prefix=$ac_optarg ;;
668
-program-suffix | --program-suffix | --program-suffi | --program-suff \
669
| --program-suf | --program-su | --program-s)
670
ac_prev=program_suffix ;;
671
-program-suffix=* | --program-suffix=* | --program-suffi=* \
672
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
673
program_suffix=$ac_optarg ;;
675
-program-transform-name | --program-transform-name \
676
| --program-transform-nam | --program-transform-na \
677
| --program-transform-n | --program-transform- \
678
| --program-transform | --program-transfor \
679
| --program-transfo | --program-transf \
680
| --program-trans | --program-tran \
681
| --progr-tra | --program-tr | --program-t)
682
ac_prev=program_transform_name ;;
683
-program-transform-name=* | --program-transform-name=* \
684
| --program-transform-nam=* | --program-transform-na=* \
685
| --program-transform-n=* | --program-transform-=* \
686
| --program-transform=* | --program-transfor=* \
687
| --program-transfo=* | --program-transf=* \
688
| --program-trans=* | --program-tran=* \
689
| --progr-tra=* | --program-tr=* | --program-t=*)
690
program_transform_name=$ac_optarg ;;
692
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
693
| -silent | --silent | --silen | --sile | --sil)
696
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
698
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
700
sbindir=$ac_optarg ;;
702
-sharedstatedir | --sharedstatedir | --sharedstatedi \
703
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
704
| --sharedst | --shareds | --shared | --share | --shar \
706
ac_prev=sharedstatedir ;;
707
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
708
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
709
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
711
sharedstatedir=$ac_optarg ;;
713
-site | --site | --sit)
715
-site=* | --site=* | --sit=*)
718
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
720
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
723
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
724
| --syscon | --sysco | --sysc | --sys | --sy)
725
ac_prev=sysconfdir ;;
726
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
727
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
728
sysconfdir=$ac_optarg ;;
730
-target | --target | --targe | --targ | --tar | --ta | --t)
731
ac_prev=target_alias ;;
732
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
733
target_alias=$ac_optarg ;;
735
-v | -verbose | --verbose | --verbos | --verbo | --verb)
738
-version | --version | --versio | --versi | --vers | -V)
742
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
743
# Reject names that are not valid shell variable names.
744
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
745
{ echo "$as_me: error: invalid package name: $ac_package" >&2
746
{ (exit 1); exit 1; }; }
747
ac_package=`echo $ac_package| sed 's/-/_/g'`
749
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
752
eval "with_$ac_package='$ac_optarg'" ;;
754
-without-* | --without-*)
755
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
756
# Reject names that are not valid shell variable names.
757
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
758
{ echo "$as_me: error: invalid package name: $ac_package" >&2
759
{ (exit 1); exit 1; }; }
760
ac_package=`echo $ac_package | sed 's/-/_/g'`
761
eval "with_$ac_package=no" ;;
764
# Obsolete; use --with-x.
767
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
768
| --x-incl | --x-inc | --x-in | --x-i)
769
ac_prev=x_includes ;;
770
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
771
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
772
x_includes=$ac_optarg ;;
774
-x-libraries | --x-libraries | --x-librarie | --x-librari \
775
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
776
ac_prev=x_libraries ;;
777
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
778
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
779
x_libraries=$ac_optarg ;;
781
-*) { echo "$as_me: error: unrecognized option: $ac_option
782
Try \`$0 --help' for more information." >&2
783
{ (exit 1); exit 1; }; }
787
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
788
# Reject names that are not valid shell variable names.
789
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
790
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2
791
{ (exit 1); exit 1; }; }
792
ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
793
eval "$ac_envvar='$ac_optarg'"
797
# FIXME: should be removed in autoconf 3.0.
798
echo "$as_me: WARNING: you should use --build, --host, --target" >&2
799
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
800
echo "$as_me: WARNING: invalid host type: $ac_option" >&2
801
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
807
if test -n "$ac_prev"; then
808
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
809
{ echo "$as_me: error: missing argument to $ac_option" >&2
810
{ (exit 1); exit 1; }; }
813
# Be sure to have absolute paths.
814
for ac_var in exec_prefix prefix
816
eval ac_val=$`echo $ac_var`
818
[\\/$]* | ?:[\\/]* | NONE | '' ) ;;
819
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
820
{ (exit 1); exit 1; }; };;
824
# Be sure to have absolute paths.
825
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
826
localstatedir libdir includedir oldincludedir infodir mandir
828
eval ac_val=$`echo $ac_var`
830
[\\/$]* | ?:[\\/]* ) ;;
831
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
832
{ (exit 1); exit 1; }; };;
836
# There might be people who depend on the old broken behavior: `$host'
837
# used to hold the argument of --host etc.
838
# FIXME: To remove some day.
843
# FIXME: To remove some day.
844
if test "x$host_alias" != x; then
845
if test "x$build_alias" = x; then
846
cross_compiling=maybe
847
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
848
If a cross compiler is detected then cross compile mode will be used." >&2
849
elif test "x$build_alias" != "x$host_alias"; then
855
test -n "$host_alias" && ac_tool_prefix=$host_alias-
857
test "$silent" = yes && exec 6>/dev/null
860
# Find the source files, if location was not specified.
861
if test -z "$srcdir"; then
862
ac_srcdir_defaulted=yes
863
# Try the directory containing this script, then its parent.
864
ac_confdir=`(dirname "$0") 2>/dev/null ||
865
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
866
X"$0" : 'X\(//\)[^/]' \| \
867
X"$0" : 'X\(//\)$' \| \
868
X"$0" : 'X\(/\)' \| \
869
. : '\(.\)' 2>/dev/null ||
871
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
872
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
873
/^X\(\/\/\)$/{ s//\1/; q; }
874
/^X\(\/\).*/{ s//\1/; q; }
877
if test ! -r $srcdir/$ac_unique_file; then
881
ac_srcdir_defaulted=no
883
if test ! -r $srcdir/$ac_unique_file; then
884
if test "$ac_srcdir_defaulted" = yes; then
885
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
886
{ (exit 1); exit 1; }; }
888
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
889
{ (exit 1); exit 1; }; }
892
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
893
{ echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
894
{ (exit 1); exit 1; }; }
895
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
896
ac_env_build_alias_set=${build_alias+set}
897
ac_env_build_alias_value=$build_alias
898
ac_cv_env_build_alias_set=${build_alias+set}
899
ac_cv_env_build_alias_value=$build_alias
900
ac_env_host_alias_set=${host_alias+set}
901
ac_env_host_alias_value=$host_alias
902
ac_cv_env_host_alias_set=${host_alias+set}
903
ac_cv_env_host_alias_value=$host_alias
904
ac_env_target_alias_set=${target_alias+set}
905
ac_env_target_alias_value=$target_alias
906
ac_cv_env_target_alias_set=${target_alias+set}
907
ac_cv_env_target_alias_value=$target_alias
908
ac_env_CC_set=${CC+set}
910
ac_cv_env_CC_set=${CC+set}
911
ac_cv_env_CC_value=$CC
912
ac_env_CFLAGS_set=${CFLAGS+set}
913
ac_env_CFLAGS_value=$CFLAGS
914
ac_cv_env_CFLAGS_set=${CFLAGS+set}
915
ac_cv_env_CFLAGS_value=$CFLAGS
916
ac_env_LDFLAGS_set=${LDFLAGS+set}
917
ac_env_LDFLAGS_value=$LDFLAGS
918
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
919
ac_cv_env_LDFLAGS_value=$LDFLAGS
920
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
921
ac_env_CPPFLAGS_value=$CPPFLAGS
922
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
923
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
924
ac_env_CPP_set=${CPP+set}
925
ac_env_CPP_value=$CPP
926
ac_cv_env_CPP_set=${CPP+set}
927
ac_cv_env_CPP_value=$CPP
928
ac_env_CXX_set=${CXX+set}
929
ac_env_CXX_value=$CXX
930
ac_cv_env_CXX_set=${CXX+set}
931
ac_cv_env_CXX_value=$CXX
932
ac_env_CXXFLAGS_set=${CXXFLAGS+set}
933
ac_env_CXXFLAGS_value=$CXXFLAGS
934
ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
935
ac_cv_env_CXXFLAGS_value=$CXXFLAGS
936
ac_env_CXXCPP_set=${CXXCPP+set}
937
ac_env_CXXCPP_value=$CXXCPP
938
ac_cv_env_CXXCPP_set=${CXXCPP+set}
939
ac_cv_env_CXXCPP_value=$CXXCPP
940
ac_env_F77_set=${F77+set}
941
ac_env_F77_value=$F77
942
ac_cv_env_F77_set=${F77+set}
943
ac_cv_env_F77_value=$F77
944
ac_env_FFLAGS_set=${FFLAGS+set}
945
ac_env_FFLAGS_value=$FFLAGS
946
ac_cv_env_FFLAGS_set=${FFLAGS+set}
947
ac_cv_env_FFLAGS_value=$FFLAGS
950
# Report the --help message.
952
if test "$ac_init_help" = "long"; then
953
# Omit some internal or obsolete options to make the list less imposing.
954
# This message is too long to be a string in the A/UX 3.1 sh.
956
\`configure' configures this package to adapt to many kinds of systems.
958
Usage: $0 [OPTION]... [VAR=VALUE]...
960
To assign environment variables (e.g., CC, CFLAGS...), specify them as
961
VAR=VALUE. See below for descriptions of some of the useful variables.
963
Defaults for the options are specified in brackets.
966
-h, --help display this help and exit
967
--help=short display options specific to this package
968
--help=recursive display the short help of all the included packages
969
-V, --version display version information and exit
970
-q, --quiet, --silent do not print \`checking...' messages
971
--cache-file=FILE cache test results in FILE [disabled]
972
-C, --config-cache alias for \`--cache-file=config.cache'
973
-n, --no-create do not create output files
974
--srcdir=DIR find the sources in DIR [configure dir or \`..']
979
Installation directories:
980
--prefix=PREFIX install architecture-independent files in PREFIX
982
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
985
By default, \`make install' will install all the files in
986
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
987
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
988
for instance \`--prefix=\$HOME'.
990
For better control, use the options below.
992
Fine tuning of the installation directories:
993
--bindir=DIR user executables [EPREFIX/bin]
994
--sbindir=DIR system admin executables [EPREFIX/sbin]
995
--libexecdir=DIR program executables [EPREFIX/libexec]
996
--datadir=DIR read-only architecture-independent data [PREFIX/share]
997
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
998
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
999
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1000
--libdir=DIR object code libraries [EPREFIX/lib]
1001
--includedir=DIR C header files [PREFIX/include]
1002
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1003
--infodir=DIR info documentation [PREFIX/info]
1004
--mandir=DIR man documentation [PREFIX/man]
1010
--program-prefix=PREFIX prepend PREFIX to installed program names
1011
--program-suffix=SUFFIX append SUFFIX to installed program names
1012
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1015
--build=BUILD configure for building on BUILD [guessed]
1016
--host=HOST cross-compile to build programs to run on HOST [BUILD]
1017
--target=TARGET configure for building compilers for TARGET [HOST]
1021
if test -n "$ac_init_help"; then
1026
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1027
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1028
--disable-fast-perl disable fast Makefile generation (needs perl)
1029
--enable-debug=ARG enables debug symbols (yes|no|full) default=no
1030
--disable-debug disables debug output and debug symbols default=no
1031
--enable-strict compiles with strict compiler options (may not
1033
--disable-warnings disables compilation with -Wall and similiar
1034
--enable-profile creates profiling infos default=no
1035
--disable-dependency-tracking speeds up one-time build
1036
--enable-dependency-tracking do not reject slow dependency extractors
1037
--enable-pch enables precompiled header support (currently only
1039
--enable-final build size optimized apps (experimental - needs lots
1041
--enable-closure delay template instantiation
1042
--enable-nmcheck enable automatic namespace cleanness check
1043
--enable-shared[=PKGS]
1044
build shared libraries [default=yes]
1045
--enable-static[=PKGS]
1046
build static libraries [default=no]
1047
--enable-libsuffix /lib directory suffix (64,32,none=default)
1048
--enable-fast-install[=PKGS]
1049
optimize for fast installation [default=yes]
1050
--disable-libtool-lock avoid locking (might break parallel builds)
1051
--enable-embedded link to Qt-embedded, don't use X
1052
--enable-qtopia link to Qt-embedded, link to the Qtopia Environment
1053
--enable-mac link to Qt/Mac (don't use X)
1054
--disable-mt link to non-threaded Qt (deprecated)
1055
--disable-threading disables threading even if libpthread found
1056
--disable-rpath do not use the rpath feature of ld
1057
--disable-path-check don't try to find out, where to install
1060
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1061
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1062
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
1063
--with-pic try to use only PIC/non-PIC objects [default=use
1066
include additional configurations [automatic]
1067
--with-extra-includes=DIR
1068
adds non standard include paths
1069
--with-extra-libs=DIR adds non standard library paths
1070
--with-qt-dir=DIR where the root of Qt is installed
1071
--with-qt-includes=DIR where the Qt includes are.
1072
--with-qt-libraries=DIR where the Qt library is installed.
1073
--without-arts build without aRts default=no
1075
Some influential environment variables:
1076
CC C compiler command
1077
CFLAGS C compiler flags
1078
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1079
nonstandard directory <lib dir>
1080
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1081
headers in a nonstandard directory <include dir>
1083
CXX C++ compiler command
1084
CXXFLAGS C++ compiler flags
1085
CXXCPP C++ preprocessor
1086
F77 Fortran 77 compiler command
1087
FFLAGS Fortran 77 compiler flags
1089
Use these variables to override the choices made by `configure' or to help
1090
it to find libraries and programs with nonstandard names/locations.
1095
if test "$ac_init_help" = "recursive"; then
1096
# If there are subdirs, report their specific --help.
1098
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1099
test -d $ac_dir || continue
1102
if test "$ac_dir" != .; then
1103
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1104
# A "../" for each directory in $ac_dir_suffix.
1105
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1107
ac_dir_suffix= ac_top_builddir=
1111
.) # No --srcdir option. We are building in place.
1113
if test -z "$ac_top_builddir"; then
1116
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1118
[\\/]* | ?:[\\/]* ) # Absolute path.
1119
ac_srcdir=$srcdir$ac_dir_suffix;
1120
ac_top_srcdir=$srcdir ;;
1122
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1123
ac_top_srcdir=$ac_top_builddir$srcdir ;;
1126
# Do not use `cd foo && pwd` to compute absolute paths, because
1127
# the directories may not exist.
1129
.) ac_abs_builddir="$ac_dir";;
1132
.) ac_abs_builddir=`pwd`;;
1133
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1134
*) ac_abs_builddir=`pwd`/"$ac_dir";;
1137
case $ac_abs_builddir in
1138
.) ac_abs_top_builddir=${ac_top_builddir}.;;
1140
case ${ac_top_builddir}. in
1141
.) ac_abs_top_builddir=$ac_abs_builddir;;
1142
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1143
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1146
case $ac_abs_builddir in
1147
.) ac_abs_srcdir=$ac_srcdir;;
1150
.) ac_abs_srcdir=$ac_abs_builddir;;
1151
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1152
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1155
case $ac_abs_builddir in
1156
.) ac_abs_top_srcdir=$ac_top_srcdir;;
1158
case $ac_top_srcdir in
1159
.) ac_abs_top_srcdir=$ac_abs_builddir;;
1160
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1161
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1166
# Check for guested configure; otherwise get Cygnus style configure.
1167
if test -f $ac_srcdir/configure.gnu; then
1169
$SHELL $ac_srcdir/configure.gnu --help=recursive
1170
elif test -f $ac_srcdir/configure; then
1172
$SHELL $ac_srcdir/configure --help=recursive
1173
elif test -f $ac_srcdir/configure.ac ||
1174
test -f $ac_srcdir/configure.in; then
1176
$ac_configure --help
1178
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1184
test -n "$ac_init_help" && exit 0
1185
if $ac_init_version; then
1188
Copyright (C) 2003 Free Software Foundation, Inc.
1189
This configure script is free software; the Free Software Foundation
1190
gives unlimited permission to copy, distribute and modify it.
1196
This file contains any messages produced by compilers while
1197
running configure, to aid debugging if configure makes a mistake.
1199
It was created by $as_me, which was
1200
generated by GNU Autoconf 2.59. Invocation command line was
1211
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1212
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1213
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1214
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1215
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1217
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1218
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1220
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1221
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1222
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1223
hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1224
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1225
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1226
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1230
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1234
test -z "$as_dir" && as_dir=.
1235
echo "PATH: $as_dir"
1250
# Keep a trace of the command line.
1251
# Strip out --no-create and --no-recursion so they do not pile up.
1252
# Strip out --silent because we don't want to record it for future runs.
1253
# Also quote any args containing shell meta-characters.
1254
# Make two passes to allow for proper duplicate-argument suppression.
1259
ac_must_keep_next=false
1265
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1266
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1267
| -silent | --silent | --silen | --sile | --sil)
1269
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1270
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1273
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1275
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1276
if test $ac_must_keep_next = true; then
1277
ac_must_keep_next=false # Got value, back to normal.
1280
*=* | --config-cache | -C | -disable-* | --disable-* \
1281
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1282
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1283
| -with-* | --with-* | -without-* | --without-* | --x)
1284
case "$ac_configure_args0 " in
1285
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1288
-* ) ac_must_keep_next=true ;;
1291
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1292
# Get rid of the leading space.
1298
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1299
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1301
# When interrupted or exit'd, cleanup temporary files, and complete
1302
# config.log. We remove comments because anyway the quotes in there
1303
# would cause problems or look ugly.
1304
# WARNING: Be sure not to use single quotes in there, as some shells,
1305
# such as our DU 5.0 friend, will then `close' the trap.
1306
trap 'exit_status=$?
1307
# Save into config.log some information that might help in debugging.
1312
## ---------------- ##
1313
## Cache variables. ##
1314
## ---------------- ##
1317
# The following way of writing the cache mishandles newlines in values,
1320
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1323
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1324
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1328
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1335
## ----------------- ##
1336
## Output variables. ##
1337
## ----------------- ##
1340
for ac_var in $ac_subst_vars
1342
eval ac_val=$`echo $ac_var`
1343
echo "$ac_var='"'"'$ac_val'"'"'"
1347
if test -n "$ac_subst_files"; then
1354
for ac_var in $ac_subst_files
1356
eval ac_val=$`echo $ac_var`
1357
echo "$ac_var='"'"'$ac_val'"'"'"
1362
if test -s confdefs.h; then
1369
sed "/^$/d" confdefs.h | sort
1372
test "$ac_signal" != 0 &&
1373
echo "$as_me: caught signal $ac_signal"
1374
echo "$as_me: exit $exit_status"
1376
rm -f core *.core &&
1377
rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1380
for ac_signal in 1 2 13 15; do
1381
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1385
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1386
rm -rf conftest* confdefs.h
1387
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1390
# Predefined preprocessor variables.
1392
cat >>confdefs.h <<_ACEOF
1393
#define PACKAGE_NAME "$PACKAGE_NAME"
1397
cat >>confdefs.h <<_ACEOF
1398
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1402
cat >>confdefs.h <<_ACEOF
1403
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1407
cat >>confdefs.h <<_ACEOF
1408
#define PACKAGE_STRING "$PACKAGE_STRING"
1412
cat >>confdefs.h <<_ACEOF
1413
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1417
# Let the site file select an alternate cache file if it wants to.
1418
# Prefer explicitly selected file to automatically selected ones.
1419
if test -z "$CONFIG_SITE"; then
1420
if test "x$prefix" != xNONE; then
1421
CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1423
CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1426
for ac_site_file in $CONFIG_SITE; do
1427
if test -r "$ac_site_file"; then
1428
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1429
echo "$as_me: loading site script $ac_site_file" >&6;}
1430
sed 's/^/| /' "$ac_site_file" >&5
1435
if test -r "$cache_file"; then
1436
# Some versions of bash will fail to source /dev/null (special
1437
# files actually), so we avoid doing that.
1438
if test -f "$cache_file"; then
1439
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
1440
echo "$as_me: loading cache $cache_file" >&6;}
1442
[\\/]* | ?:[\\/]* ) . $cache_file;;
1443
*) . ./$cache_file;;
1447
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
1448
echo "$as_me: creating cache $cache_file" >&6;}
1452
# Check that the precious variables saved in the cache have kept the same
1454
ac_cache_corrupted=false
1455
for ac_var in `(set) 2>&1 |
1456
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1457
eval ac_old_set=\$ac_cv_env_${ac_var}_set
1458
eval ac_new_set=\$ac_env_${ac_var}_set
1459
eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1460
eval ac_new_val="\$ac_env_${ac_var}_value"
1461
case $ac_old_set,$ac_new_set in
1463
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1464
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1465
ac_cache_corrupted=: ;;
1467
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1468
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1469
ac_cache_corrupted=: ;;
1472
if test "x$ac_old_val" != "x$ac_new_val"; then
1473
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1474
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1475
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1476
echo "$as_me: former value: $ac_old_val" >&2;}
1477
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1478
echo "$as_me: current value: $ac_new_val" >&2;}
1479
ac_cache_corrupted=:
1482
# Pass precious variables to config.status.
1483
if test "$ac_new_set" = set; then
1485
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1486
ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1487
*) ac_arg=$ac_var=$ac_new_val ;;
1489
case " $ac_configure_args " in
1490
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1491
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1495
if $ac_cache_corrupted; then
1496
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1497
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1498
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1499
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1500
{ (exit 1); exit 1; }; }
1504
ac_cpp='$CPP $CPPFLAGS'
1505
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1506
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1507
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1528
for ac_dir in admin $srcdir/admin; do
1529
if test -f $ac_dir/install-sh; then
1531
ac_install_sh="$ac_aux_dir/install-sh -c"
1533
elif test -f $ac_dir/install.sh; then
1535
ac_install_sh="$ac_aux_dir/install.sh -c"
1537
elif test -f $ac_dir/shtool; then
1539
ac_install_sh="$ac_aux_dir/shtool install -c"
1543
if test -z "$ac_aux_dir"; then
1544
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in admin $srcdir/admin" >&5
1545
echo "$as_me: error: cannot find install-sh or install.sh in admin $srcdir/admin" >&2;}
1546
{ (exit 1); exit 1; }; }
1548
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1549
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1550
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1555
# Make sure we can run config.sub.
1556
$ac_config_sub sun4 >/dev/null 2>&1 ||
1557
{ { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1558
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1559
{ (exit 1); exit 1; }; }
1561
echo "$as_me:$LINENO: checking build system type" >&5
1562
echo $ECHO_N "checking build system type... $ECHO_C" >&6
1563
if test "${ac_cv_build+set}" = set; then
1564
echo $ECHO_N "(cached) $ECHO_C" >&6
1566
ac_cv_build_alias=$build_alias
1567
test -z "$ac_cv_build_alias" &&
1568
ac_cv_build_alias=`$ac_config_guess`
1569
test -z "$ac_cv_build_alias" &&
1570
{ { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1571
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1572
{ (exit 1); exit 1; }; }
1573
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1574
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1575
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1576
{ (exit 1); exit 1; }; }
1579
echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1580
echo "${ECHO_T}$ac_cv_build" >&6
1582
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1583
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1584
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1587
echo "$as_me:$LINENO: checking host system type" >&5
1588
echo $ECHO_N "checking host system type... $ECHO_C" >&6
1589
if test "${ac_cv_host+set}" = set; then
1590
echo $ECHO_N "(cached) $ECHO_C" >&6
1592
ac_cv_host_alias=$host_alias
1593
test -z "$ac_cv_host_alias" &&
1594
ac_cv_host_alias=$ac_cv_build_alias
1595
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1596
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1597
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1598
{ (exit 1); exit 1; }; }
1601
echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1602
echo "${ECHO_T}$ac_cv_host" >&6
1604
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1605
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1606
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1609
echo "$as_me:$LINENO: checking target system type" >&5
1610
echo $ECHO_N "checking target system type... $ECHO_C" >&6
1611
if test "${ac_cv_target+set}" = set; then
1612
echo $ECHO_N "(cached) $ECHO_C" >&6
1614
ac_cv_target_alias=$target_alias
1615
test "x$ac_cv_target_alias" = "x" &&
1616
ac_cv_target_alias=$ac_cv_host_alias
1617
ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1618
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1619
echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1620
{ (exit 1); exit 1; }; }
1623
echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1624
echo "${ECHO_T}$ac_cv_target" >&6
1625
target=$ac_cv_target
1626
target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1627
target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1628
target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1631
# The aliases save the names the user supplied, while $host etc.
1632
# will get canonicalized.
1633
test -n "$target_alias" &&
1634
test "$program_prefix$program_suffix$program_transform_name" = \
1636
program_prefix=${target_alias}-
1637
test "$program_prefix" != NONE &&
1638
program_transform_name="s,^,$program_prefix,;$program_transform_name"
1639
# Use a double $ so make ignores it.
1640
test "$program_suffix" != NONE &&
1641
program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1642
# Double any \ or $. echo might interpret backslashes.
1643
# By default was `s,x,x', remove it if useless.
1644
cat <<\_ACEOF >conftest.sed
1645
s/[\\$]/&&/g;s/;s,x,x,$//
1647
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1651
am__api_version="1.9"
1654
test -n "$INSTALL" && kde_save_INSTALL_given=$INSTALL
1655
test -n "$INSTALL_PROGRAM" && kde_save_INSTALL_PROGRAM_given=$INSTALL_PROGRAM
1656
test -n "$INSTALL_SCRIPT" && kde_save_INSTALL_SCRIPT_given=$INSTALL_SCRIPT
1657
# Find a good install program. We prefer a C program (faster),
1658
# so one script is as good as another. But avoid the broken or
1659
# incompatible versions:
1660
# SysV /etc/install, /usr/sbin/install
1661
# SunOS /usr/etc/install
1662
# IRIX /sbin/install
1664
# AmigaOS /C/install, which installs bootblocks on floppy discs
1665
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1666
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1667
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1668
# OS/2's system install, which has a completely different semantic
1669
# ./install, which can be erroneously created by make from ./install.sh.
1670
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1671
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1672
if test -z "$INSTALL"; then
1673
if test "${ac_cv_path_install+set}" = set; then
1674
echo $ECHO_N "(cached) $ECHO_C" >&6
1676
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1680
test -z "$as_dir" && as_dir=.
1681
# Account for people who put trailing slashes in PATH elements.
1683
./ | .// | /cC/* | \
1684
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1685
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1688
# OSF1 and SCO ODT 3.0 have their own names for install.
1689
# Don't use installbsd from OSF since it installs stuff as root
1691
for ac_prog in ginstall scoinst install; do
1692
for ac_exec_ext in '' $ac_executable_extensions; do
1693
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1694
if test $ac_prog = install &&
1695
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1696
# AIX install. It has an incompatible calling convention.
1698
elif test $ac_prog = install &&
1699
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1700
# program-specific install script used by HP pwplus--don't use.
1703
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1715
if test "${ac_cv_path_install+set}" = set; then
1716
INSTALL=$ac_cv_path_install
1718
# As a last resort, use the slow shell script. We don't cache a
1719
# path for INSTALL within a source directory, because that will
1720
# break other packages using the cache if that directory is
1721
# removed, or if the path is relative.
1722
INSTALL=$ac_install_sh
1725
echo "$as_me:$LINENO: result: $INSTALL" >&5
1726
echo "${ECHO_T}$INSTALL" >&6
1728
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1729
# It thinks the first close brace ends the variable substitution.
1730
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1732
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1734
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1737
if test -z "$kde_save_INSTALL_given" ; then
1738
# OK, user hasn't given any INSTALL, autoconf found one for us
1739
# now we test, if it supports the -p flag
1740
echo "$as_me:$LINENO: checking for -p flag to install" >&5
1741
echo $ECHO_N "checking for -p flag to install... $ECHO_C" >&6
1742
rm -f confinst.$$.* > /dev/null 2>&1
1743
echo "Testtest" > confinst.$$.orig
1745
if ${INSTALL} -p confinst.$$.orig confinst.$$.new > /dev/null 2>&1 ; then
1746
if test -f confinst.$$.new ; then
1747
# OK, -p seems to do no harm to install
1748
INSTALL="${INSTALL} -p"
1753
echo "$as_me:$LINENO: result: $ac_res" >&5
1754
echo "${ECHO_T}$ac_res" >&6
1757
if test -z "$kde_save_INSTALL_PROGRAM_given" ; then
1758
INSTALL_PROGRAM='${INSTALL} $(INSTALL_STRIP_FLAG)'
1760
if test -z "$kde_save_INSTALL_SCRIPT_given" ; then
1761
INSTALL_SCRIPT='${INSTALL}'
1764
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1765
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1768
echo timestamp > conftest.file
1769
# Do `set' in a subshell so we don't clobber the current shell's
1770
# arguments. Must try -L first in case configure is actually a
1771
# symlink; some systems play weird games with the mod time of symlinks
1772
# (eg FreeBSD returns the mod time of the symlink's containing
1775
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1776
if test "$*" = "X"; then
1778
set X `ls -t $srcdir/configure conftest.file`
1781
if test "$*" != "X $srcdir/configure conftest.file" \
1782
&& test "$*" != "X conftest.file $srcdir/configure"; then
1784
# If neither matched, then we have a broken ls. This can happen
1785
# if, for instance, CONFIG_SHELL is bash and it inherits a
1786
# broken ls alias from the environment. This has actually
1787
# happened. Such a system could not be considered "sane".
1788
{ { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1789
alias in your environment" >&5
1790
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1791
alias in your environment" >&2;}
1792
{ (exit 1); exit 1; }; }
1795
test "$2" = conftest.file
1801
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1802
Check your system clock" >&5
1803
echo "$as_me: error: newly created file is older than distributed files!
1804
Check your system clock" >&2;}
1805
{ (exit 1); exit 1; }; }
1807
echo "$as_me:$LINENO: result: yes" >&5
1808
echo "${ECHO_T}yes" >&6
1809
# expand $ac_aux_dir to an absolute path
1810
am_aux_dir=`cd $ac_aux_dir && pwd`
1812
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1813
# Use eval to expand $SHELL
1814
if eval "$MISSING --run true"; then
1815
am_missing_run="$MISSING --run "
1818
{ echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1819
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1822
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1823
# We used to keeping the `.' as first argument, in order to
1824
# allow $(mkdir_p) to be used without argument. As in
1825
# $(mkdir_p) $(somedir)
1826
# where $(somedir) is conditionally defined. However this is wrong
1828
# 1. if the package is installed by a user who cannot write `.'
1829
# make install will fail,
1830
# 2. the above comment should most certainly read
1831
# $(mkdir_p) $(DESTDIR)$(somedir)
1832
# so it does not work when $(somedir) is undefined and
1833
# $(DESTDIR) is not.
1834
# To support the latter case, we have to write
1835
# test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1836
# so the `.' trick is pointless.
1837
mkdir_p='mkdir -p --'
1839
# On NextStep and OpenStep, the `mkdir' command does not
1840
# recognize any option. It will interpret all options as
1841
# directories to create, and then abort because `.' already
1843
for d in ./-p ./--version;
1845
test -d $d && rmdir $d
1847
# $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1848
if test -f "$ac_aux_dir/mkinstalldirs"; then
1849
mkdir_p='$(mkinstalldirs)'
1851
mkdir_p='$(install_sh) -d'
1855
for ac_prog in gawk mawk nawk awk
1857
# Extract the first word of "$ac_prog", so it can be a program name with args.
1858
set dummy $ac_prog; ac_word=$2
1859
echo "$as_me:$LINENO: checking for $ac_word" >&5
1860
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1861
if test "${ac_cv_prog_AWK+set}" = set; then
1862
echo $ECHO_N "(cached) $ECHO_C" >&6
1864
if test -n "$AWK"; then
1865
ac_cv_prog_AWK="$AWK" # Let the user override the test.
1867
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1871
test -z "$as_dir" && as_dir=.
1872
for ac_exec_ext in '' $ac_executable_extensions; do
1873
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1874
ac_cv_prog_AWK="$ac_prog"
1875
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1884
if test -n "$AWK"; then
1885
echo "$as_me:$LINENO: result: $AWK" >&5
1886
echo "${ECHO_T}$AWK" >&6
1888
echo "$as_me:$LINENO: result: no" >&5
1889
echo "${ECHO_T}no" >&6
1892
test -n "$AWK" && break
1895
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1896
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1897
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1898
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1899
echo $ECHO_N "(cached) $ECHO_C" >&6
1901
cat >conftest.make <<\_ACEOF
1903
@echo 'ac_maketemp="$(MAKE)"'
1905
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1906
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1907
if test -n "$ac_maketemp"; then
1908
eval ac_cv_prog_make_${ac_make}_set=yes
1910
eval ac_cv_prog_make_${ac_make}_set=no
1914
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1915
echo "$as_me:$LINENO: result: yes" >&5
1916
echo "${ECHO_T}yes" >&6
1919
echo "$as_me:$LINENO: result: no" >&5
1920
echo "${ECHO_T}no" >&6
1921
SET_MAKE="MAKE=${MAKE-make}"
1924
rm -rf .tst 2>/dev/null
1925
mkdir .tst 2>/dev/null
1926
if test -d .tst; then
1931
rmdir .tst 2>/dev/null
1933
# test to see if srcdir already configured
1934
if test "`cd $srcdir && pwd`" != "`pwd`" &&
1935
test -f $srcdir/config.status; then
1936
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1937
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1938
{ (exit 1); exit 1; }; }
1941
# test whether we have cygpath
1942
if test -z "$CYGPATH_W"; then
1943
if (cygpath --version) >/dev/null 2>/dev/null; then
1944
CYGPATH_W='cygpath -w'
1951
# Define the identity of the package.
1956
cat >>confdefs.h <<_ACEOF
1957
#define PACKAGE "$PACKAGE"
1961
cat >>confdefs.h <<_ACEOF
1962
#define VERSION "$VERSION"
1965
# Some tools Automake needs.
1967
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1970
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1973
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1976
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1979
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1981
install_sh=${install_sh-"$am_aux_dir/install-sh"}
1983
# Installed binaries are usually stripped using `strip' when the user
1984
# run `make install-strip'. However `strip' might not be the right
1985
# tool to use in cross-compilation environments, therefore Automake
1986
# will honor the `STRIP' environment variable to overrule this program.
1987
if test "$cross_compiling" != no; then
1988
if test -n "$ac_tool_prefix"; then
1989
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1990
set dummy ${ac_tool_prefix}strip; ac_word=$2
1991
echo "$as_me:$LINENO: checking for $ac_word" >&5
1992
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1993
if test "${ac_cv_prog_STRIP+set}" = set; then
1994
echo $ECHO_N "(cached) $ECHO_C" >&6
1996
if test -n "$STRIP"; then
1997
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1999
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2003
test -z "$as_dir" && as_dir=.
2004
for ac_exec_ext in '' $ac_executable_extensions; do
2005
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2006
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2007
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2015
STRIP=$ac_cv_prog_STRIP
2016
if test -n "$STRIP"; then
2017
echo "$as_me:$LINENO: result: $STRIP" >&5
2018
echo "${ECHO_T}$STRIP" >&6
2020
echo "$as_me:$LINENO: result: no" >&5
2021
echo "${ECHO_T}no" >&6
2025
if test -z "$ac_cv_prog_STRIP"; then
2027
# Extract the first word of "strip", so it can be a program name with args.
2028
set dummy strip; ac_word=$2
2029
echo "$as_me:$LINENO: checking for $ac_word" >&5
2030
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2031
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2032
echo $ECHO_N "(cached) $ECHO_C" >&6
2034
if test -n "$ac_ct_STRIP"; then
2035
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2037
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2041
test -z "$as_dir" && as_dir=.
2042
for ac_exec_ext in '' $ac_executable_extensions; do
2043
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2044
ac_cv_prog_ac_ct_STRIP="strip"
2045
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2051
test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2054
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2055
if test -n "$ac_ct_STRIP"; then
2056
echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2057
echo "${ECHO_T}$ac_ct_STRIP" >&6
2059
echo "$as_me:$LINENO: result: no" >&5
2060
echo "${ECHO_T}no" >&6
2065
STRIP="$ac_cv_prog_STRIP"
2069
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2071
# We need awk for the "check" target. The system "awk" is bad on
2073
# Always define AMTAR for backward compatibility.
2075
AMTAR=${AMTAR-"${am_missing_run}tar"}
2077
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2088
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"
2089
test -n "$KDEDIR" && kde_default_bindirs="$KDEDIR/bin $kde_default_bindirs"
2090
if test -n "$KDEDIRS"; then
2093
for dir in $KDEDIRS; do
2094
kde_default_bindirs="$dir/bin $kde_default_bindirs "
2099
if test "x$prefix" = "xNONE"; then
2101
echo "$as_me:$LINENO: checking for kde-config" >&5
2102
echo $ECHO_N "checking for kde-config... $ECHO_C" >&6
2103
if test -n "$KDECONFIG"; then
2104
kde_cv_path="$KDECONFIG";
2106
kde_cache=`echo kde-config | sed 'y%./+-%__p_%'`
2108
if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
2109
echo $ECHO_N "(cached) $ECHO_C" >&6
2116
for dir in $PATH; do
2119
if test -z "prepend"; then dirs="$kde_default_bindirs $dirs"
2120
else dirs="$dirs $kde_default_bindirs"
2124
for dir in $dirs; do
2125
if test -x "$dir/kde-config"; then
2128
evalstr="$dir/kde-config 2>&1 "
2129
if eval $evalstr; then
2130
kde_cv_path="$dir/kde-config"
2134
kde_cv_path="$dir/kde-config"
2140
eval "kde_cv_path_$kde_cache=$kde_cv_path"
2146
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
2150
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
2151
echo "$as_me:$LINENO: result: not found" >&5
2152
echo "${ECHO_T}not found" >&6
2154
{ { echo "$as_me:$LINENO: error: The important program kde-config was not found!
2155
Please check whether you installed KDE correctly.
2157
echo "$as_me: error: The important program kde-config was not found!
2158
Please check whether you installed KDE correctly.
2160
{ (exit 1); exit 1; }; }
2163
echo "$as_me:$LINENO: result: $kde_cv_path" >&5
2164
echo "${ECHO_T}$kde_cv_path" >&6
2165
KDECONFIG=$kde_cv_path
2170
kde_save_PATH="$PATH"
2171
PATH="$exec_prefix/bin:$prefix/bin:$PATH"
2173
echo "$as_me:$LINENO: checking for kde-config" >&5
2174
echo $ECHO_N "checking for kde-config... $ECHO_C" >&6
2175
if test -n "$KDECONFIG"; then
2176
kde_cv_path="$KDECONFIG";
2178
kde_cache=`echo kde-config | sed 'y%./+-%__p_%'`
2180
if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
2181
echo $ECHO_N "(cached) $ECHO_C" >&6
2188
for dir in $PATH; do
2191
if test -z "prepend"; then dirs="$kde_default_bindirs $dirs"
2192
else dirs="$dirs $kde_default_bindirs"
2196
for dir in $dirs; do
2197
if test -x "$dir/kde-config"; then
2200
evalstr="$dir/kde-config 2>&1 "
2201
if eval $evalstr; then
2202
kde_cv_path="$dir/kde-config"
2206
kde_cv_path="$dir/kde-config"
2212
eval "kde_cv_path_$kde_cache=$kde_cv_path"
2218
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
2222
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
2223
echo "$as_me:$LINENO: result: not found" >&5
2224
echo "${ECHO_T}not found" >&6
2226
{ { echo "$as_me:$LINENO: error: The important program kde-config was not found!
2227
Please check whether you installed KDE correctly.
2229
echo "$as_me: error: The important program kde-config was not found!
2230
Please check whether you installed KDE correctly.
2232
{ (exit 1); exit 1; }; }
2235
echo "$as_me:$LINENO: result: $kde_cv_path" >&5
2236
echo "${ECHO_T}$kde_cv_path" >&6
2237
KDECONFIG=$kde_cv_path
2241
PATH="$kde_save_PATH"
2244
kde_libs_prefix=`$KDECONFIG --prefix`
2245
if test -z "$kde_libs_prefix" || test ! -x "$kde_libs_prefix"; then
2246
{ { echo "$as_me:$LINENO: error: $KDECONFIG --prefix outputed the non existant prefix '$kde_libs_prefix' for kdelibs.
2247
This means it has been moved since you installed it.
2248
This won't work. Please recompile kdelibs for the new prefix.
2250
echo "$as_me: error: $KDECONFIG --prefix outputed the non existant prefix '$kde_libs_prefix' for kdelibs.
2251
This means it has been moved since you installed it.
2252
This won't work. Please recompile kdelibs for the new prefix.
2254
{ (exit 1); exit 1; }; }
2256
kde_libs_htmldir=`$KDECONFIG --install html --expandvars`
2257
kde_libs_suffix=`$KDECONFIG --libsuffix`
2259
echo "$as_me:$LINENO: checking where to install" >&5
2260
echo $ECHO_N "checking where to install... $ECHO_C" >&6
2261
if test "x$prefix" = "xNONE"; then
2262
prefix=$kde_libs_prefix
2263
echo "$as_me:$LINENO: result: $prefix (as returned by kde-config)" >&5
2264
echo "${ECHO_T}$prefix (as returned by kde-config)" >&6
2266
given_prefix=$prefix
2267
echo "$as_me:$LINENO: result: $prefix (as requested)" >&5
2268
echo "${ECHO_T}$prefix (as requested)" >&6
2271
# And delete superfluous '/' to make compares easier
2272
prefix=`echo "$prefix" | sed 's,//*,/,g' | sed -e 's,/$,,'`
2273
exec_prefix=`echo "$exec_prefix" | sed 's,//*,/,g' | sed -e 's,/$,,'`
2274
given_prefix=`echo "$given_prefix" | sed 's,//*,/,g' | sed -e 's,/$,,'`
2281
# Check whether --enable-fast-perl or --disable-fast-perl was given.
2282
if test "${enable_fast_perl+set}" = set; then
2283
enableval="$enable_fast_perl"
2284
with_fast_perl=$enableval
2291
if test -f $srcdir/configure.files ; then
2292
val=`sed -e 's%^%\$(top_srcdir)/%' $srcdir/configure.files`
2295
if test -n "$val" ; then
2297
CONF_FILES="$CONF_FILES $i"
2304
ac_config_headers="$ac_config_headers config.h"
2306
DEPDIR="${am__leading_dot}deps"
2308
ac_config_commands="$ac_config_commands depfiles"
2311
am_make=${MAKE-make}
2312
cat > confinc << 'END'
2317
# If we don't find an include directive, just comment out the code.
2318
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2319
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2323
# First try GNU make style include.
2324
echo "include confinc" > confmf
2325
# We grep out `Entering directory' and `Leaving directory'
2326
# messages which can occur if `w' ends up in MAKEFLAGS.
2327
# In particular we don't look at `^make:' because GNU make might
2328
# be invoked under some other name (usually "gmake"), in which
2329
# case it prints its new name instead of `make'.
2330
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2335
# Now try BSD make style include.
2336
if test "$am__include" = "#"; then
2337
echo '.include "confinc"' > confmf
2338
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2339
am__include=.include
2346
echo "$as_me:$LINENO: result: $_am_result" >&5
2347
echo "${ECHO_T}$_am_result" >&6
2348
rm -f confinc confmf
2350
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2351
if test "${enable_dependency_tracking+set}" = set; then
2352
enableval="$enable_dependency_tracking"
2355
if test "x$enable_dependency_tracking" != xno; then
2356
am_depcomp="$ac_aux_dir/depcomp"
2361
if test "x$enable_dependency_tracking" != xno; then
2374
# Check whether --enable-debug or --disable-debug was given.
2375
if test "${enable_debug+set}" = set; then
2376
enableval="$enable_debug"
2380
kde_use_debug_code="yes"
2381
kde_use_debug_define=no
2384
kde_use_debug_code="full"
2385
kde_use_debug_define=no
2388
kde_use_debug_code="no"
2389
kde_use_debug_define=yes
2394
kde_use_debug_code="no"
2395
kde_use_debug_define=no
2399
# Check whether --enable-dummyoption or --disable-dummyoption was given.
2400
if test "${enable_dummyoption+set}" = set; then
2401
enableval="$enable_dummyoption"
2405
# Check whether --enable-strict or --disable-strict was given.
2406
if test "${enable_strict+set}" = set; then
2407
enableval="$enable_strict"
2409
if test $enableval = "no"; then
2410
kde_use_strict_options="no"
2412
kde_use_strict_options="yes"
2416
kde_use_strict_options="no"
2419
# Check whether --enable-warnings or --disable-warnings was given.
2420
if test "${enable_warnings+set}" = set; then
2421
enableval="$enable_warnings"
2423
if test $enableval = "no"; then
2424
kde_use_warnings="no"
2426
kde_use_warnings="yes"
2430
kde_use_warnings="yes"
2433
if test "$kde_use_debug_code" != "no"; then
2434
kde_use_warnings=yes
2437
# Check whether --enable-profile or --disable-profile was given.
2438
if test "${enable_profile+set}" = set; then
2439
enableval="$enable_profile"
2440
kde_use_profiling=$enableval
2442
kde_use_profiling="no"
2449
ac_cpp='$CPP $CPPFLAGS'
2450
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2451
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2452
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2453
if test -n "$ac_tool_prefix"; then
2454
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2455
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2456
echo "$as_me:$LINENO: checking for $ac_word" >&5
2457
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2458
if test "${ac_cv_prog_CC+set}" = set; then
2459
echo $ECHO_N "(cached) $ECHO_C" >&6
2461
if test -n "$CC"; then
2462
ac_cv_prog_CC="$CC" # Let the user override the test.
2464
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2468
test -z "$as_dir" && as_dir=.
2469
for ac_exec_ext in '' $ac_executable_extensions; do
2470
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2471
ac_cv_prog_CC="${ac_tool_prefix}gcc"
2472
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2481
if test -n "$CC"; then
2482
echo "$as_me:$LINENO: result: $CC" >&5
2483
echo "${ECHO_T}$CC" >&6
2485
echo "$as_me:$LINENO: result: no" >&5
2486
echo "${ECHO_T}no" >&6
2490
if test -z "$ac_cv_prog_CC"; then
2492
# Extract the first word of "gcc", so it can be a program name with args.
2493
set dummy gcc; ac_word=$2
2494
echo "$as_me:$LINENO: checking for $ac_word" >&5
2495
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2496
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2497
echo $ECHO_N "(cached) $ECHO_C" >&6
2499
if test -n "$ac_ct_CC"; then
2500
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2502
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2506
test -z "$as_dir" && as_dir=.
2507
for ac_exec_ext in '' $ac_executable_extensions; do
2508
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2509
ac_cv_prog_ac_ct_CC="gcc"
2510
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2518
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2519
if test -n "$ac_ct_CC"; then
2520
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2521
echo "${ECHO_T}$ac_ct_CC" >&6
2523
echo "$as_me:$LINENO: result: no" >&5
2524
echo "${ECHO_T}no" >&6
2532
if test -z "$CC"; then
2533
if test -n "$ac_tool_prefix"; then
2534
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2535
set dummy ${ac_tool_prefix}cc; ac_word=$2
2536
echo "$as_me:$LINENO: checking for $ac_word" >&5
2537
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2538
if test "${ac_cv_prog_CC+set}" = set; then
2539
echo $ECHO_N "(cached) $ECHO_C" >&6
2541
if test -n "$CC"; then
2542
ac_cv_prog_CC="$CC" # Let the user override the test.
2544
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2548
test -z "$as_dir" && as_dir=.
2549
for ac_exec_ext in '' $ac_executable_extensions; do
2550
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2551
ac_cv_prog_CC="${ac_tool_prefix}cc"
2552
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2561
if test -n "$CC"; then
2562
echo "$as_me:$LINENO: result: $CC" >&5
2563
echo "${ECHO_T}$CC" >&6
2565
echo "$as_me:$LINENO: result: no" >&5
2566
echo "${ECHO_T}no" >&6
2570
if test -z "$ac_cv_prog_CC"; then
2572
# Extract the first word of "cc", so it can be a program name with args.
2573
set dummy cc; ac_word=$2
2574
echo "$as_me:$LINENO: checking for $ac_word" >&5
2575
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2576
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2577
echo $ECHO_N "(cached) $ECHO_C" >&6
2579
if test -n "$ac_ct_CC"; then
2580
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2582
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2586
test -z "$as_dir" && as_dir=.
2587
for ac_exec_ext in '' $ac_executable_extensions; do
2588
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2589
ac_cv_prog_ac_ct_CC="cc"
2590
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2598
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2599
if test -n "$ac_ct_CC"; then
2600
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2601
echo "${ECHO_T}$ac_ct_CC" >&6
2603
echo "$as_me:$LINENO: result: no" >&5
2604
echo "${ECHO_T}no" >&6
2613
if test -z "$CC"; then
2614
# Extract the first word of "cc", so it can be a program name with args.
2615
set dummy cc; ac_word=$2
2616
echo "$as_me:$LINENO: checking for $ac_word" >&5
2617
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2618
if test "${ac_cv_prog_CC+set}" = set; then
2619
echo $ECHO_N "(cached) $ECHO_C" >&6
2621
if test -n "$CC"; then
2622
ac_cv_prog_CC="$CC" # Let the user override the test.
2625
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2629
test -z "$as_dir" && as_dir=.
2630
for ac_exec_ext in '' $ac_executable_extensions; do
2631
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2632
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2633
ac_prog_rejected=yes
2637
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2643
if test $ac_prog_rejected = yes; then
2644
# We found a bogon in the path, so make sure we never use it.
2645
set dummy $ac_cv_prog_CC
2647
if test $# != 0; then
2648
# We chose a different compiler from the bogus one.
2649
# However, it has the same basename, so the bogon will be chosen
2650
# first if we set CC to just the basename; use the full file name.
2652
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2658
if test -n "$CC"; then
2659
echo "$as_me:$LINENO: result: $CC" >&5
2660
echo "${ECHO_T}$CC" >&6
2662
echo "$as_me:$LINENO: result: no" >&5
2663
echo "${ECHO_T}no" >&6
2667
if test -z "$CC"; then
2668
if test -n "$ac_tool_prefix"; then
2671
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2672
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2673
echo "$as_me:$LINENO: checking for $ac_word" >&5
2674
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2675
if test "${ac_cv_prog_CC+set}" = set; then
2676
echo $ECHO_N "(cached) $ECHO_C" >&6
2678
if test -n "$CC"; then
2679
ac_cv_prog_CC="$CC" # Let the user override the test.
2681
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2685
test -z "$as_dir" && as_dir=.
2686
for ac_exec_ext in '' $ac_executable_extensions; do
2687
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2688
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2689
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2698
if test -n "$CC"; then
2699
echo "$as_me:$LINENO: result: $CC" >&5
2700
echo "${ECHO_T}$CC" >&6
2702
echo "$as_me:$LINENO: result: no" >&5
2703
echo "${ECHO_T}no" >&6
2706
test -n "$CC" && break
2709
if test -z "$CC"; then
2713
# Extract the first word of "$ac_prog", so it can be a program name with args.
2714
set dummy $ac_prog; ac_word=$2
2715
echo "$as_me:$LINENO: checking for $ac_word" >&5
2716
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2717
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2718
echo $ECHO_N "(cached) $ECHO_C" >&6
2720
if test -n "$ac_ct_CC"; then
2721
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2723
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2727
test -z "$as_dir" && as_dir=.
2728
for ac_exec_ext in '' $ac_executable_extensions; do
2729
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2730
ac_cv_prog_ac_ct_CC="$ac_prog"
2731
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2739
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2740
if test -n "$ac_ct_CC"; then
2741
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2742
echo "${ECHO_T}$ac_ct_CC" >&6
2744
echo "$as_me:$LINENO: result: no" >&5
2745
echo "${ECHO_T}no" >&6
2748
test -n "$ac_ct_CC" && break
2757
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2758
See \`config.log' for more details." >&5
2759
echo "$as_me: error: no acceptable C compiler found in \$PATH
2760
See \`config.log' for more details." >&2;}
2761
{ (exit 1); exit 1; }; }
2763
# Provide some information about the compiler.
2764
echo "$as_me:$LINENO:" \
2765
"checking for C compiler version" >&5
2766
ac_compiler=`set X $ac_compile; echo $2`
2767
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2768
(eval $ac_compiler --version </dev/null >&5) 2>&5
2770
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2771
(exit $ac_status); }
2772
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2773
(eval $ac_compiler -v </dev/null >&5) 2>&5
2775
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2776
(exit $ac_status); }
2777
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2778
(eval $ac_compiler -V </dev/null >&5) 2>&5
2780
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2781
(exit $ac_status); }
2783
cat >conftest.$ac_ext <<_ACEOF
2786
cat confdefs.h >>conftest.$ac_ext
2787
cat >>conftest.$ac_ext <<_ACEOF
2788
/* end confdefs.h. */
2798
ac_clean_files_save=$ac_clean_files
2799
ac_clean_files="$ac_clean_files a.out a.exe b.out"
2800
# Try to create an executable without -o first, disregard a.out.
2801
# It will help us diagnose broken compilers, and finding out an intuition
2803
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2804
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2805
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2806
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2807
(eval $ac_link_default) 2>&5
2809
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2810
(exit $ac_status); }; then
2811
# Find the output, starting from the most likely. This scheme is
2812
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2815
# Be careful to initialize this variable, since it used to be cached.
2816
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2818
# b.out is created by i960 compilers.
2819
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2821
test -f "$ac_file" || continue
2823
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2826
# This is the source file.
2829
# We found the default executable, but exeext='' is most
2833
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2834
# FIXME: I believe we export ac_cv_exeext for Libtool,
2835
# but it would be cool to find out if it's true. Does anybody
2836
# maintain Libtool? --akim.
2844
echo "$as_me: failed program was:" >&5
2845
sed 's/^/| /' conftest.$ac_ext >&5
2847
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2848
See \`config.log' for more details." >&5
2849
echo "$as_me: error: C compiler cannot create executables
2850
See \`config.log' for more details." >&2;}
2851
{ (exit 77); exit 77; }; }
2854
ac_exeext=$ac_cv_exeext
2855
echo "$as_me:$LINENO: result: $ac_file" >&5
2856
echo "${ECHO_T}$ac_file" >&6
2858
# Check the compiler produces executables we can run. If not, either
2859
# the compiler is broken, or we cross compile.
2860
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2861
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2862
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2863
# If not cross compiling, check that we can run a simple program.
2864
if test "$cross_compiling" != yes; then
2865
if { ac_try='./$ac_file'
2866
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2869
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2870
(exit $ac_status); }; }; then
2873
if test "$cross_compiling" = maybe; then
2876
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2877
If you meant to cross compile, use \`--host'.
2878
See \`config.log' for more details." >&5
2879
echo "$as_me: error: cannot run C compiled programs.
2880
If you meant to cross compile, use \`--host'.
2881
See \`config.log' for more details." >&2;}
2882
{ (exit 1); exit 1; }; }
2886
echo "$as_me:$LINENO: result: yes" >&5
2887
echo "${ECHO_T}yes" >&6
2889
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2890
ac_clean_files=$ac_clean_files_save
2891
# Check the compiler produces executables we can run. If not, either
2892
# the compiler is broken, or we cross compile.
2893
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2894
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2895
echo "$as_me:$LINENO: result: $cross_compiling" >&5
2896
echo "${ECHO_T}$cross_compiling" >&6
2898
echo "$as_me:$LINENO: checking for suffix of executables" >&5
2899
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2900
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2901
(eval $ac_link) 2>&5
2903
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2904
(exit $ac_status); }; then
2905
# If both `conftest.exe' and `conftest' are `present' (well, observable)
2906
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2907
# work properly (i.e., refer to `conftest.exe'), while it won't with
2909
for ac_file in conftest.exe conftest conftest.*; do
2910
test -f "$ac_file" || continue
2912
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2913
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2920
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2921
See \`config.log' for more details." >&5
2922
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2923
See \`config.log' for more details." >&2;}
2924
{ (exit 1); exit 1; }; }
2927
rm -f conftest$ac_cv_exeext
2928
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2929
echo "${ECHO_T}$ac_cv_exeext" >&6
2931
rm -f conftest.$ac_ext
2932
EXEEXT=$ac_cv_exeext
2934
echo "$as_me:$LINENO: checking for suffix of object files" >&5
2935
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2936
if test "${ac_cv_objext+set}" = set; then
2937
echo $ECHO_N "(cached) $ECHO_C" >&6
2939
cat >conftest.$ac_ext <<_ACEOF
2942
cat confdefs.h >>conftest.$ac_ext
2943
cat >>conftest.$ac_ext <<_ACEOF
2944
/* end confdefs.h. */
2954
rm -f conftest.o conftest.obj
2955
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2956
(eval $ac_compile) 2>&5
2958
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2959
(exit $ac_status); }; then
2960
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2962
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2963
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2968
echo "$as_me: failed program was:" >&5
2969
sed 's/^/| /' conftest.$ac_ext >&5
2971
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2972
See \`config.log' for more details." >&5
2973
echo "$as_me: error: cannot compute suffix of object files: cannot compile
2974
See \`config.log' for more details." >&2;}
2975
{ (exit 1); exit 1; }; }
2978
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2980
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2981
echo "${ECHO_T}$ac_cv_objext" >&6
2982
OBJEXT=$ac_cv_objext
2984
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2985
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2986
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2987
echo $ECHO_N "(cached) $ECHO_C" >&6
2989
cat >conftest.$ac_ext <<_ACEOF
2992
cat confdefs.h >>conftest.$ac_ext
2993
cat >>conftest.$ac_ext <<_ACEOF
2994
/* end confdefs.h. */
3007
rm -f conftest.$ac_objext
3008
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3009
(eval $ac_compile) 2>conftest.er1
3011
grep -v '^ *+' conftest.er1 >conftest.err
3013
cat conftest.err >&5
3014
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3015
(exit $ac_status); } &&
3016
{ ac_try='test -z "$ac_c_werror_flag"
3017
|| test ! -s conftest.err'
3018
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3021
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3022
(exit $ac_status); }; } &&
3023
{ ac_try='test -s conftest.$ac_objext'
3024
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3027
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3028
(exit $ac_status); }; }; then
3031
echo "$as_me: failed program was:" >&5
3032
sed 's/^/| /' conftest.$ac_ext >&5
3036
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3037
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3040
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3041
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3042
GCC=`test $ac_compiler_gnu = yes && echo yes`
3043
ac_test_CFLAGS=${CFLAGS+set}
3044
ac_save_CFLAGS=$CFLAGS
3046
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3047
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3048
if test "${ac_cv_prog_cc_g+set}" = set; then
3049
echo $ECHO_N "(cached) $ECHO_C" >&6
3051
cat >conftest.$ac_ext <<_ACEOF
3054
cat confdefs.h >>conftest.$ac_ext
3055
cat >>conftest.$ac_ext <<_ACEOF
3056
/* end confdefs.h. */
3066
rm -f conftest.$ac_objext
3067
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3068
(eval $ac_compile) 2>conftest.er1
3070
grep -v '^ *+' conftest.er1 >conftest.err
3072
cat conftest.err >&5
3073
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3074
(exit $ac_status); } &&
3075
{ ac_try='test -z "$ac_c_werror_flag"
3076
|| test ! -s conftest.err'
3077
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3080
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3081
(exit $ac_status); }; } &&
3082
{ ac_try='test -s conftest.$ac_objext'
3083
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3086
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3087
(exit $ac_status); }; }; then
3090
echo "$as_me: failed program was:" >&5
3091
sed 's/^/| /' conftest.$ac_ext >&5
3095
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3097
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3098
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3099
if test "$ac_test_CFLAGS" = set; then
3100
CFLAGS=$ac_save_CFLAGS
3101
elif test $ac_cv_prog_cc_g = yes; then
3102
if test "$GCC" = yes; then
3108
if test "$GCC" = yes; then
3114
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3115
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3116
if test "${ac_cv_prog_cc_stdc+set}" = set; then
3117
echo $ECHO_N "(cached) $ECHO_C" >&6
3119
ac_cv_prog_cc_stdc=no
3121
cat >conftest.$ac_ext <<_ACEOF
3124
cat confdefs.h >>conftest.$ac_ext
3125
cat >>conftest.$ac_ext <<_ACEOF
3126
/* end confdefs.h. */
3129
#include <sys/types.h>
3130
#include <sys/stat.h>
3131
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3132
struct buf { int x; };
3133
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3134
static char *e (p, i)
3140
static char *f (char * (*g) (char **, int), char **p, ...)
3145
s = g (p, va_arg (v,int));
3150
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3151
function prototypes and stuff, but not '\xHH' hex character constants.
3152
These don't provoke an error unfortunately, instead are silently treated
3153
as 'x'. The following induces an error, until -std1 is added to get
3154
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3155
array size at least. It's necessary to write '\x00'==0 to get something
3156
that's true only with -std1. */
3157
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3159
int test (int i, double x);
3160
struct s1 {int (*f) (int a);};
3161
struct s2 {int (*f) (double a);};
3162
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3168
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3173
# Don't try gcc -ansi; that turns off useful extensions and
3174
# breaks some systems' header files.
3175
# AIX -qlanglvl=ansi
3176
# Ultrix and OSF/1 -std1
3177
# HP-UX 10.20 and later -Ae
3178
# HP-UX older versions -Aa -D_HPUX_SOURCE
3179
# SVR4 -Xc -D__EXTENSIONS__
3180
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3182
CC="$ac_save_CC $ac_arg"
3183
rm -f conftest.$ac_objext
3184
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3185
(eval $ac_compile) 2>conftest.er1
3187
grep -v '^ *+' conftest.er1 >conftest.err
3189
cat conftest.err >&5
3190
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3191
(exit $ac_status); } &&
3192
{ ac_try='test -z "$ac_c_werror_flag"
3193
|| test ! -s conftest.err'
3194
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3197
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3198
(exit $ac_status); }; } &&
3199
{ ac_try='test -s conftest.$ac_objext'
3200
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3203
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3204
(exit $ac_status); }; }; then
3205
ac_cv_prog_cc_stdc=$ac_arg
3208
echo "$as_me: failed program was:" >&5
3209
sed 's/^/| /' conftest.$ac_ext >&5
3212
rm -f conftest.err conftest.$ac_objext
3214
rm -f conftest.$ac_ext conftest.$ac_objext
3219
case "x$ac_cv_prog_cc_stdc" in
3221
echo "$as_me:$LINENO: result: none needed" >&5
3222
echo "${ECHO_T}none needed" >&6 ;;
3224
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3225
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3226
CC="$CC $ac_cv_prog_cc_stdc" ;;
3229
# Some people use a C++ compiler to compile C. Since we use `exit',
3230
# in C++ we need to declare it. In case someone uses the same compiler
3231
# for both compiling C and C++ we need to have the C++ compiler decide
3232
# the declaration of exit, since it's the most demanding environment.
3233
cat >conftest.$ac_ext <<_ACEOF
3238
rm -f conftest.$ac_objext
3239
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3240
(eval $ac_compile) 2>conftest.er1
3242
grep -v '^ *+' conftest.er1 >conftest.err
3244
cat conftest.err >&5
3245
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3246
(exit $ac_status); } &&
3247
{ ac_try='test -z "$ac_c_werror_flag"
3248
|| test ! -s conftest.err'
3249
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3252
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3253
(exit $ac_status); }; } &&
3254
{ ac_try='test -s conftest.$ac_objext'
3255
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3258
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3259
(exit $ac_status); }; }; then
3260
for ac_declaration in \
3262
'extern "C" void std::exit (int) throw (); using std::exit;' \
3263
'extern "C" void std::exit (int); using std::exit;' \
3264
'extern "C" void exit (int) throw ();' \
3265
'extern "C" void exit (int);' \
3268
cat >conftest.$ac_ext <<_ACEOF
3271
cat confdefs.h >>conftest.$ac_ext
3272
cat >>conftest.$ac_ext <<_ACEOF
3273
/* end confdefs.h. */
3284
rm -f conftest.$ac_objext
3285
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3286
(eval $ac_compile) 2>conftest.er1
3288
grep -v '^ *+' conftest.er1 >conftest.err
3290
cat conftest.err >&5
3291
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3292
(exit $ac_status); } &&
3293
{ ac_try='test -z "$ac_c_werror_flag"
3294
|| test ! -s conftest.err'
3295
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3298
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3299
(exit $ac_status); }; } &&
3300
{ ac_try='test -s conftest.$ac_objext'
3301
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3304
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3305
(exit $ac_status); }; }; then
3308
echo "$as_me: failed program was:" >&5
3309
sed 's/^/| /' conftest.$ac_ext >&5
3313
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3314
cat >conftest.$ac_ext <<_ACEOF
3317
cat confdefs.h >>conftest.$ac_ext
3318
cat >>conftest.$ac_ext <<_ACEOF
3319
/* end confdefs.h. */
3329
rm -f conftest.$ac_objext
3330
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3331
(eval $ac_compile) 2>conftest.er1
3333
grep -v '^ *+' conftest.er1 >conftest.err
3335
cat conftest.err >&5
3336
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3337
(exit $ac_status); } &&
3338
{ ac_try='test -z "$ac_c_werror_flag"
3339
|| test ! -s conftest.err'
3340
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3343
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3344
(exit $ac_status); }; } &&
3345
{ ac_try='test -s conftest.$ac_objext'
3346
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3349
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3350
(exit $ac_status); }; }; then
3353
echo "$as_me: failed program was:" >&5
3354
sed 's/^/| /' conftest.$ac_ext >&5
3357
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3360
if test -n "$ac_declaration"; then
3361
echo '#ifdef __cplusplus' >>confdefs.h
3362
echo $ac_declaration >>confdefs.h
3363
echo '#endif' >>confdefs.h
3367
echo "$as_me: failed program was:" >&5
3368
sed 's/^/| /' conftest.$ac_ext >&5
3371
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3373
ac_cpp='$CPP $CPPFLAGS'
3374
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3375
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3376
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3378
depcc="$CC" am_compiler_list=
3380
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3381
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3382
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3383
echo $ECHO_N "(cached) $ECHO_C" >&6
3385
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3386
# We make a subdir and do the tests there. Otherwise we can end up
3387
# making bogus files that we don't know about and never remove. For
3388
# instance it was reported that on HP-UX the gcc test will end up
3389
# making a dummy file named `D' -- because `-MD' means `put the output
3392
# Copy depcomp to subdir because otherwise we won't find it if we're
3393
# using a relative directory.
3394
cp "$am_depcomp" conftest.dir
3396
# We will build objects and dependencies in a subdirectory because
3397
# it helps to detect inapplicable dependency modes. For instance
3398
# both Tru64's cc and ICC support -MD to output dependencies as a
3399
# side effect of compilation, but ICC will put the dependencies in
3400
# the current directory while Tru64 will put them in the object
3404
am_cv_CC_dependencies_compiler_type=none
3405
if test "$am_compiler_list" = ""; then
3406
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3408
for depmode in $am_compiler_list; do
3409
# Setup a source with many dependencies, because some compilers
3410
# like to wrap large dependency lists on column 80 (with \), and
3411
# we should not choose a depcomp mode which is confused by this.
3413
# We need to recreate these files for each test, as the compiler may
3414
# overwrite some of them when testing with obscure command lines.
3415
# This happens at least with the AIX C compiler.
3417
for i in 1 2 3 4 5 6; do
3418
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3419
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3420
# Solaris 8's {/usr,}/bin/sh.
3421
touch sub/conftst$i.h
3423
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3427
# after this tag, mechanisms are not by side-effect, so they'll
3428
# only be used when explicitly requested
3429
if test "x$enable_dependency_tracking" = xyes; then
3437
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3438
# mode. It turns out that the SunPro C++ compiler does not properly
3439
# handle `-M -o', and we need to detect this.
3440
if depmode=$depmode \
3441
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3442
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3443
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3444
>/dev/null 2>conftest.err &&
3445
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3446
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3447
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3448
# icc doesn't choke on unknown options, it will just issue warnings
3449
# or remarks (even with -Werror). So we grep stderr for any message
3450
# that says an option was ignored or not supported.
3451
# When given -MP, icc 7.0 and 7.1 complain thusly:
3452
# icc: Command line warning: ignoring option '-M'; no argument required
3453
# The diagnosis changed in icc 8.0:
3454
# icc: Command line remark: option '-MP' not supported
3455
if (grep 'ignoring option' conftest.err ||
3456
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3457
am_cv_CC_dependencies_compiler_type=$depmode
3466
am_cv_CC_dependencies_compiler_type=none
3470
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3471
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3472
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3477
test "x$enable_dependency_tracking" != xno \
3478
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3480
am__fastdepCC_FALSE='#'
3482
am__fastdepCC_TRUE='#'
3483
am__fastdepCC_FALSE=
3489
ac_cpp='$CPP $CPPFLAGS'
3490
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3491
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3492
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3493
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3494
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3495
# On Suns, sometimes $CPP names a directory.
3496
if test -n "$CPP" && test -d "$CPP"; then
3499
if test -z "$CPP"; then
3500
if test "${ac_cv_prog_CPP+set}" = set; then
3501
echo $ECHO_N "(cached) $ECHO_C" >&6
3503
# Double quotes because CPP needs to be expanded
3504
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3507
for ac_c_preproc_warn_flag in '' yes
3509
# Use a header file that comes with gcc, so configuring glibc
3510
# with a fresh cross-compiler works.
3511
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3512
# <limits.h> exists even on freestanding compilers.
3513
# On the NeXT, cc -E runs the code through the compiler's parser,
3514
# not just through cpp. "Syntax error" is here to catch this case.
3515
cat >conftest.$ac_ext <<_ACEOF
3518
cat confdefs.h >>conftest.$ac_ext
3519
cat >>conftest.$ac_ext <<_ACEOF
3520
/* end confdefs.h. */
3522
# include <limits.h>
3524
# include <assert.h>
3528
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3529
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3531
grep -v '^ *+' conftest.er1 >conftest.err
3533
cat conftest.err >&5
3534
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3535
(exit $ac_status); } >/dev/null; then
3536
if test -s conftest.err; then
3537
ac_cpp_err=$ac_c_preproc_warn_flag
3538
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3545
if test -z "$ac_cpp_err"; then
3548
echo "$as_me: failed program was:" >&5
3549
sed 's/^/| /' conftest.$ac_ext >&5
3551
# Broken: fails on valid input.
3554
rm -f conftest.err conftest.$ac_ext
3556
# OK, works on sane cases. Now check whether non-existent headers
3557
# can be detected and how.
3558
cat >conftest.$ac_ext <<_ACEOF
3561
cat confdefs.h >>conftest.$ac_ext
3562
cat >>conftest.$ac_ext <<_ACEOF
3563
/* end confdefs.h. */
3564
#include <ac_nonexistent.h>
3566
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3567
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3569
grep -v '^ *+' conftest.er1 >conftest.err
3571
cat conftest.err >&5
3572
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3573
(exit $ac_status); } >/dev/null; then
3574
if test -s conftest.err; then
3575
ac_cpp_err=$ac_c_preproc_warn_flag
3576
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3583
if test -z "$ac_cpp_err"; then
3584
# Broken: success on invalid input.
3587
echo "$as_me: failed program was:" >&5
3588
sed 's/^/| /' conftest.$ac_ext >&5
3590
# Passes both tests.
3594
rm -f conftest.err conftest.$ac_ext
3597
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3598
rm -f conftest.err conftest.$ac_ext
3599
if $ac_preproc_ok; then
3611
echo "$as_me:$LINENO: result: $CPP" >&5
3612
echo "${ECHO_T}$CPP" >&6
3614
for ac_c_preproc_warn_flag in '' yes
3616
# Use a header file that comes with gcc, so configuring glibc
3617
# with a fresh cross-compiler works.
3618
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3619
# <limits.h> exists even on freestanding compilers.
3620
# On the NeXT, cc -E runs the code through the compiler's parser,
3621
# not just through cpp. "Syntax error" is here to catch this case.
3622
cat >conftest.$ac_ext <<_ACEOF
3625
cat confdefs.h >>conftest.$ac_ext
3626
cat >>conftest.$ac_ext <<_ACEOF
3627
/* end confdefs.h. */
3629
# include <limits.h>
3631
# include <assert.h>
3635
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3636
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3638
grep -v '^ *+' conftest.er1 >conftest.err
3640
cat conftest.err >&5
3641
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3642
(exit $ac_status); } >/dev/null; then
3643
if test -s conftest.err; then
3644
ac_cpp_err=$ac_c_preproc_warn_flag
3645
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3652
if test -z "$ac_cpp_err"; then
3655
echo "$as_me: failed program was:" >&5
3656
sed 's/^/| /' conftest.$ac_ext >&5
3658
# Broken: fails on valid input.
3661
rm -f conftest.err conftest.$ac_ext
3663
# OK, works on sane cases. Now check whether non-existent headers
3664
# can be detected and how.
3665
cat >conftest.$ac_ext <<_ACEOF
3668
cat confdefs.h >>conftest.$ac_ext
3669
cat >>conftest.$ac_ext <<_ACEOF
3670
/* end confdefs.h. */
3671
#include <ac_nonexistent.h>
3673
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3674
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3676
grep -v '^ *+' conftest.er1 >conftest.err
3678
cat conftest.err >&5
3679
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3680
(exit $ac_status); } >/dev/null; then
3681
if test -s conftest.err; then
3682
ac_cpp_err=$ac_c_preproc_warn_flag
3683
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3690
if test -z "$ac_cpp_err"; then
3691
# Broken: success on invalid input.
3694
echo "$as_me: failed program was:" >&5
3695
sed 's/^/| /' conftest.$ac_ext >&5
3697
# Passes both tests.
3701
rm -f conftest.err conftest.$ac_ext
3704
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3705
rm -f conftest.err conftest.$ac_ext
3706
if $ac_preproc_ok; then
3709
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3710
See \`config.log' for more details." >&5
3711
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3712
See \`config.log' for more details." >&2;}
3713
{ (exit 1); exit 1; }; }
3717
ac_cpp='$CPP $CPPFLAGS'
3718
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3719
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3720
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3723
if test "$GCC" = "yes"; then
3724
if test "$kde_use_debug_code" != "no"; then
3725
if test $kde_use_debug_code = "full"; then
3726
CFLAGS="-g3 -fno-inline $CFLAGS"
3728
CFLAGS="-g -O2 $CFLAGS"
3731
CFLAGS="-O2 $CFLAGS"
3735
if test "$kde_use_debug_define" = "yes"; then
3736
CFLAGS="-DNDEBUG $CFLAGS"
3741
*-*-sysv4.2uw*) CFLAGS="-D_UNIXWARE $CFLAGS";;
3742
*-*-sysv5uw7*) CFLAGS="-D_UNIXWARE7 $CFLAGS";;
3745
if test -z "$LDFLAGS" && test "$kde_use_debug_code" = "no" && test "$GCC" = "yes"; then
3749
CXXFLAGS=" $CXXFLAGS"
3752
ac_cpp='$CXXCPP $CPPFLAGS'
3753
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3754
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3755
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3756
if test -n "$ac_tool_prefix"; then
3757
for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3759
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3760
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3761
echo "$as_me:$LINENO: checking for $ac_word" >&5
3762
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3763
if test "${ac_cv_prog_CXX+set}" = set; then
3764
echo $ECHO_N "(cached) $ECHO_C" >&6
3766
if test -n "$CXX"; then
3767
ac_cv_prog_CXX="$CXX" # Let the user override the test.
3769
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3773
test -z "$as_dir" && as_dir=.
3774
for ac_exec_ext in '' $ac_executable_extensions; do
3775
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3776
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3777
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3786
if test -n "$CXX"; then
3787
echo "$as_me:$LINENO: result: $CXX" >&5
3788
echo "${ECHO_T}$CXX" >&6
3790
echo "$as_me:$LINENO: result: no" >&5
3791
echo "${ECHO_T}no" >&6
3794
test -n "$CXX" && break
3797
if test -z "$CXX"; then
3799
for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3801
# Extract the first word of "$ac_prog", so it can be a program name with args.
3802
set dummy $ac_prog; ac_word=$2
3803
echo "$as_me:$LINENO: checking for $ac_word" >&5
3804
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3805
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3806
echo $ECHO_N "(cached) $ECHO_C" >&6
3808
if test -n "$ac_ct_CXX"; then
3809
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3811
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3815
test -z "$as_dir" && as_dir=.
3816
for ac_exec_ext in '' $ac_executable_extensions; do
3817
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3818
ac_cv_prog_ac_ct_CXX="$ac_prog"
3819
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3827
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3828
if test -n "$ac_ct_CXX"; then
3829
echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3830
echo "${ECHO_T}$ac_ct_CXX" >&6
3832
echo "$as_me:$LINENO: result: no" >&5
3833
echo "${ECHO_T}no" >&6
3836
test -n "$ac_ct_CXX" && break
3838
test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3844
# Provide some information about the compiler.
3845
echo "$as_me:$LINENO:" \
3846
"checking for C++ compiler version" >&5
3847
ac_compiler=`set X $ac_compile; echo $2`
3848
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3849
(eval $ac_compiler --version </dev/null >&5) 2>&5
3851
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3852
(exit $ac_status); }
3853
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3854
(eval $ac_compiler -v </dev/null >&5) 2>&5
3856
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3857
(exit $ac_status); }
3858
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3859
(eval $ac_compiler -V </dev/null >&5) 2>&5
3861
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3862
(exit $ac_status); }
3864
echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3865
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3866
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3867
echo $ECHO_N "(cached) $ECHO_C" >&6
3869
cat >conftest.$ac_ext <<_ACEOF
3872
cat confdefs.h >>conftest.$ac_ext
3873
cat >>conftest.$ac_ext <<_ACEOF
3874
/* end confdefs.h. */
3887
rm -f conftest.$ac_objext
3888
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3889
(eval $ac_compile) 2>conftest.er1
3891
grep -v '^ *+' conftest.er1 >conftest.err
3893
cat conftest.err >&5
3894
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3895
(exit $ac_status); } &&
3896
{ ac_try='test -z "$ac_cxx_werror_flag"
3897
|| test ! -s conftest.err'
3898
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3901
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3902
(exit $ac_status); }; } &&
3903
{ ac_try='test -s conftest.$ac_objext'
3904
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3907
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3908
(exit $ac_status); }; }; then
3911
echo "$as_me: failed program was:" >&5
3912
sed 's/^/| /' conftest.$ac_ext >&5
3916
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3917
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3920
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3921
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3922
GXX=`test $ac_compiler_gnu = yes && echo yes`
3923
ac_test_CXXFLAGS=${CXXFLAGS+set}
3924
ac_save_CXXFLAGS=$CXXFLAGS
3926
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3927
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3928
if test "${ac_cv_prog_cxx_g+set}" = set; then
3929
echo $ECHO_N "(cached) $ECHO_C" >&6
3931
cat >conftest.$ac_ext <<_ACEOF
3934
cat confdefs.h >>conftest.$ac_ext
3935
cat >>conftest.$ac_ext <<_ACEOF
3936
/* end confdefs.h. */
3946
rm -f conftest.$ac_objext
3947
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3948
(eval $ac_compile) 2>conftest.er1
3950
grep -v '^ *+' conftest.er1 >conftest.err
3952
cat conftest.err >&5
3953
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3954
(exit $ac_status); } &&
3955
{ ac_try='test -z "$ac_cxx_werror_flag"
3956
|| test ! -s conftest.err'
3957
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3960
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3961
(exit $ac_status); }; } &&
3962
{ ac_try='test -s conftest.$ac_objext'
3963
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3966
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3967
(exit $ac_status); }; }; then
3968
ac_cv_prog_cxx_g=yes
3970
echo "$as_me: failed program was:" >&5
3971
sed 's/^/| /' conftest.$ac_ext >&5
3975
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3977
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3978
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3979
if test "$ac_test_CXXFLAGS" = set; then
3980
CXXFLAGS=$ac_save_CXXFLAGS
3981
elif test $ac_cv_prog_cxx_g = yes; then
3982
if test "$GXX" = yes; then
3988
if test "$GXX" = yes; then
3994
for ac_declaration in \
3996
'extern "C" void std::exit (int) throw (); using std::exit;' \
3997
'extern "C" void std::exit (int); using std::exit;' \
3998
'extern "C" void exit (int) throw ();' \
3999
'extern "C" void exit (int);' \
4002
cat >conftest.$ac_ext <<_ACEOF
4005
cat confdefs.h >>conftest.$ac_ext
4006
cat >>conftest.$ac_ext <<_ACEOF
4007
/* end confdefs.h. */
4018
rm -f conftest.$ac_objext
4019
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4020
(eval $ac_compile) 2>conftest.er1
4022
grep -v '^ *+' conftest.er1 >conftest.err
4024
cat conftest.err >&5
4025
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4026
(exit $ac_status); } &&
4027
{ ac_try='test -z "$ac_cxx_werror_flag"
4028
|| test ! -s conftest.err'
4029
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4032
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4033
(exit $ac_status); }; } &&
4034
{ ac_try='test -s conftest.$ac_objext'
4035
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4038
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4039
(exit $ac_status); }; }; then
4042
echo "$as_me: failed program was:" >&5
4043
sed 's/^/| /' conftest.$ac_ext >&5
4047
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4048
cat >conftest.$ac_ext <<_ACEOF
4051
cat confdefs.h >>conftest.$ac_ext
4052
cat >>conftest.$ac_ext <<_ACEOF
4053
/* end confdefs.h. */
4063
rm -f conftest.$ac_objext
4064
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4065
(eval $ac_compile) 2>conftest.er1
4067
grep -v '^ *+' conftest.er1 >conftest.err
4069
cat conftest.err >&5
4070
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4071
(exit $ac_status); } &&
4072
{ ac_try='test -z "$ac_cxx_werror_flag"
4073
|| test ! -s conftest.err'
4074
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4077
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4078
(exit $ac_status); }; } &&
4079
{ ac_try='test -s conftest.$ac_objext'
4080
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4083
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4084
(exit $ac_status); }; }; then
4087
echo "$as_me: failed program was:" >&5
4088
sed 's/^/| /' conftest.$ac_ext >&5
4091
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4094
if test -n "$ac_declaration"; then
4095
echo '#ifdef __cplusplus' >>confdefs.h
4096
echo $ac_declaration >>confdefs.h
4097
echo '#endif' >>confdefs.h
4101
ac_cpp='$CPP $CPPFLAGS'
4102
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4103
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4104
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4106
depcc="$CXX" am_compiler_list=
4108
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4109
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
4110
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
4111
echo $ECHO_N "(cached) $ECHO_C" >&6
4113
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4114
# We make a subdir and do the tests there. Otherwise we can end up
4115
# making bogus files that we don't know about and never remove. For
4116
# instance it was reported that on HP-UX the gcc test will end up
4117
# making a dummy file named `D' -- because `-MD' means `put the output
4120
# Copy depcomp to subdir because otherwise we won't find it if we're
4121
# using a relative directory.
4122
cp "$am_depcomp" conftest.dir
4124
# We will build objects and dependencies in a subdirectory because
4125
# it helps to detect inapplicable dependency modes. For instance
4126
# both Tru64's cc and ICC support -MD to output dependencies as a
4127
# side effect of compilation, but ICC will put the dependencies in
4128
# the current directory while Tru64 will put them in the object
4132
am_cv_CXX_dependencies_compiler_type=none
4133
if test "$am_compiler_list" = ""; then
4134
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4136
for depmode in $am_compiler_list; do
4137
# Setup a source with many dependencies, because some compilers
4138
# like to wrap large dependency lists on column 80 (with \), and
4139
# we should not choose a depcomp mode which is confused by this.
4141
# We need to recreate these files for each test, as the compiler may
4142
# overwrite some of them when testing with obscure command lines.
4143
# This happens at least with the AIX C compiler.
4145
for i in 1 2 3 4 5 6; do
4146
echo '#include "conftst'$i'.h"' >> sub/conftest.c
4147
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4148
# Solaris 8's {/usr,}/bin/sh.
4149
touch sub/conftst$i.h
4151
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4155
# after this tag, mechanisms are not by side-effect, so they'll
4156
# only be used when explicitly requested
4157
if test "x$enable_dependency_tracking" = xyes; then
4165
# We check with `-c' and `-o' for the sake of the "dashmstdout"
4166
# mode. It turns out that the SunPro C++ compiler does not properly
4167
# handle `-M -o', and we need to detect this.
4168
if depmode=$depmode \
4169
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4170
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4171
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4172
>/dev/null 2>conftest.err &&
4173
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4174
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4175
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4176
# icc doesn't choke on unknown options, it will just issue warnings
4177
# or remarks (even with -Werror). So we grep stderr for any message
4178
# that says an option was ignored or not supported.
4179
# When given -MP, icc 7.0 and 7.1 complain thusly:
4180
# icc: Command line warning: ignoring option '-M'; no argument required
4181
# The diagnosis changed in icc 8.0:
4182
# icc: Command line remark: option '-MP' not supported
4183
if (grep 'ignoring option' conftest.err ||
4184
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4185
am_cv_CXX_dependencies_compiler_type=$depmode
4194
am_cv_CXX_dependencies_compiler_type=none
4198
echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
4199
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
4200
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4205
test "x$enable_dependency_tracking" != xno \
4206
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4207
am__fastdepCXX_TRUE=
4208
am__fastdepCXX_FALSE='#'
4210
am__fastdepCXX_TRUE='#'
4211
am__fastdepCXX_FALSE=
4216
if test "$GXX" = "yes" || test "$CXX" = "KCC"; then
4217
if test "$kde_use_debug_code" != "no"; then
4218
if test "$CXX" = "KCC"; then
4219
CXXFLAGS="+K0 -Wall -pedantic -W -Wpointer-arith -Wwrite-strings $CXXFLAGS"
4221
if test "$kde_use_debug_code" = "full"; then
4222
CXXFLAGS="-g3 -fno-inline $CXXFLAGS"
4224
CXXFLAGS="-g -O2 $CXXFLAGS"
4228
echo "$as_me:$LINENO: checking whether $CXX supports -fno-builtin" >&5
4229
echo $ECHO_N "checking whether $CXX supports -fno-builtin... $ECHO_C" >&6
4230
kde_cache=`echo fno-builtin | sed 'y% .=/+-,%____p__%'`
4231
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
4232
echo $ECHO_N "(cached) $ECHO_C" >&6
4239
ac_cpp='$CXXCPP $CPPFLAGS'
4240
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4241
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4242
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4244
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4248
save_CXXFLAGS="$CXXFLAGS"
4249
CXXFLAGS="$CXXFLAGS -fno-builtin"
4250
cat >conftest.$ac_ext <<_ACEOF
4253
cat confdefs.h >>conftest.$ac_ext
4254
cat >>conftest.$ac_ext <<_ACEOF
4255
/* end confdefs.h. */
4265
rm -f conftest.$ac_objext conftest$ac_exeext
4266
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4267
(eval $ac_link) 2>conftest.er1
4269
grep -v '^ *+' conftest.er1 >conftest.err
4271
cat conftest.err >&5
4272
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4273
(exit $ac_status); } &&
4274
{ ac_try='test -z "$ac_cxx_werror_flag"
4275
|| test ! -s conftest.err'
4276
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4279
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4280
(exit $ac_status); }; } &&
4281
{ ac_try='test -s conftest$ac_exeext'
4282
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4285
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4286
(exit $ac_status); }; }; then
4287
eval "kde_cv_prog_cxx_$kde_cache=yes"
4289
echo "$as_me: failed program was:" >&5
4290
sed 's/^/| /' conftest.$ac_ext >&5
4293
rm -f conftest.err conftest.$ac_objext \
4294
conftest$ac_exeext conftest.$ac_ext
4295
CXXFLAGS="$save_CXXFLAGS"
4297
ac_cpp='$CPP $CPPFLAGS'
4298
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4299
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4300
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4305
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
4306
echo "$as_me:$LINENO: result: yes" >&5
4307
echo "${ECHO_T}yes" >&6
4309
CXXFLAGS="-fno-builtin $CXXFLAGS"
4311
echo "$as_me:$LINENO: result: no" >&5
4312
echo "${ECHO_T}no" >&6
4319
echo "$as_me:$LINENO: checking whether $CXX supports -Woverloaded-virtual" >&5
4320
echo $ECHO_N "checking whether $CXX supports -Woverloaded-virtual... $ECHO_C" >&6
4321
kde_cache=`echo Woverloaded-virtual | sed 'y% .=/+-,%____p__%'`
4322
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
4323
echo $ECHO_N "(cached) $ECHO_C" >&6
4329
ac_cpp='$CXXCPP $CPPFLAGS'
4330
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4331
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4332
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4334
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4337
save_CXXFLAGS="$CXXFLAGS"
4338
CXXFLAGS="$CXXFLAGS -Woverloaded-virtual"
4339
cat >conftest.$ac_ext <<_ACEOF
4342
cat confdefs.h >>conftest.$ac_ext
4343
cat >>conftest.$ac_ext <<_ACEOF
4344
/* end confdefs.h. */
4354
rm -f conftest.$ac_objext conftest$ac_exeext
4355
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4356
(eval $ac_link) 2>conftest.er1
4358
grep -v '^ *+' conftest.er1 >conftest.err
4360
cat conftest.err >&5
4361
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4362
(exit $ac_status); } &&
4363
{ ac_try='test -z "$ac_cxx_werror_flag"
4364
|| test ! -s conftest.err'
4365
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4368
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4369
(exit $ac_status); }; } &&
4370
{ ac_try='test -s conftest$ac_exeext'
4371
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4374
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4375
(exit $ac_status); }; }; then
4376
eval "kde_cv_prog_cxx_$kde_cache=yes"
4378
echo "$as_me: failed program was:" >&5
4379
sed 's/^/| /' conftest.$ac_ext >&5
4382
rm -f conftest.err conftest.$ac_objext \
4383
conftest$ac_exeext conftest.$ac_ext
4384
CXXFLAGS="$save_CXXFLAGS"
4386
ac_cpp='$CPP $CPPFLAGS'
4387
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4388
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4389
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4394
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
4395
echo "$as_me:$LINENO: result: yes" >&5
4396
echo "${ECHO_T}yes" >&6
4398
WOVERLOADED_VIRTUAL="-Woverloaded-virtual"
4400
echo "$as_me:$LINENO: result: no" >&5
4401
echo "${ECHO_T}no" >&6
4403
WOVERLOADED_VRITUAL=""
4408
if test "$CXX" = "KCC"; then
4409
CXXFLAGS="+K3 $CXXFLAGS"
4411
CXXFLAGS="-O2 $CXXFLAGS"
4416
if test "$kde_use_debug_define" = "yes"; then
4417
CXXFLAGS="-DNDEBUG -DNO_DEBUG $CXXFLAGS"
4420
if test "$kde_use_profiling" = "yes"; then
4422
echo "$as_me:$LINENO: checking whether $CXX supports -pg" >&5
4423
echo $ECHO_N "checking whether $CXX supports -pg... $ECHO_C" >&6
4424
kde_cache=`echo pg | sed 'y% .=/+-,%____p__%'`
4425
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
4426
echo $ECHO_N "(cached) $ECHO_C" >&6
4432
ac_cpp='$CXXCPP $CPPFLAGS'
4433
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4434
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4435
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4437
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4440
save_CXXFLAGS="$CXXFLAGS"
4441
CXXFLAGS="$CXXFLAGS -pg"
4442
cat >conftest.$ac_ext <<_ACEOF
4445
cat confdefs.h >>conftest.$ac_ext
4446
cat >>conftest.$ac_ext <<_ACEOF
4447
/* end confdefs.h. */
4457
rm -f conftest.$ac_objext conftest$ac_exeext
4458
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4459
(eval $ac_link) 2>conftest.er1
4461
grep -v '^ *+' conftest.er1 >conftest.err
4463
cat conftest.err >&5
4464
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4465
(exit $ac_status); } &&
4466
{ ac_try='test -z "$ac_cxx_werror_flag"
4467
|| test ! -s conftest.err'
4468
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4471
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4472
(exit $ac_status); }; } &&
4473
{ ac_try='test -s conftest$ac_exeext'
4474
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4477
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4478
(exit $ac_status); }; }; then
4479
eval "kde_cv_prog_cxx_$kde_cache=yes"
4481
echo "$as_me: failed program was:" >&5
4482
sed 's/^/| /' conftest.$ac_ext >&5
4485
rm -f conftest.err conftest.$ac_objext \
4486
conftest$ac_exeext conftest.$ac_ext
4487
CXXFLAGS="$save_CXXFLAGS"
4489
ac_cpp='$CPP $CPPFLAGS'
4490
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4491
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4492
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4497
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
4498
echo "$as_me:$LINENO: result: yes" >&5
4499
echo "${ECHO_T}yes" >&6
4502
CFLAGS="-pg $CFLAGS"
4503
CXXFLAGS="-pg $CXXFLAGS"
4506
echo "$as_me:$LINENO: result: no" >&5
4507
echo "${ECHO_T}no" >&6
4514
if test "$kde_use_warnings" = "yes"; then
4515
if test "$GCC" = "yes"; then
4516
CXXFLAGS="-Wall -W -Wpointer-arith -Wwrite-strings $CXXFLAGS"
4519
CFLAGS="-ansi -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE $CFLAGS"
4520
CXXFLAGS="-ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts $CXXFLAGS"
4522
echo "$as_me:$LINENO: checking whether $CXX supports -Wmissing-format-attribute" >&5
4523
echo $ECHO_N "checking whether $CXX supports -Wmissing-format-attribute... $ECHO_C" >&6
4524
kde_cache=`echo Wmissing-format-attribute | sed 'y% .=/+-,%____p__%'`
4525
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
4526
echo $ECHO_N "(cached) $ECHO_C" >&6
4532
ac_cpp='$CXXCPP $CPPFLAGS'
4533
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4534
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4535
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4537
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4540
save_CXXFLAGS="$CXXFLAGS"
4541
CXXFLAGS="$CXXFLAGS -Wmissing-format-attribute"
4542
cat >conftest.$ac_ext <<_ACEOF
4545
cat confdefs.h >>conftest.$ac_ext
4546
cat >>conftest.$ac_ext <<_ACEOF
4547
/* end confdefs.h. */
4557
rm -f conftest.$ac_objext conftest$ac_exeext
4558
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4559
(eval $ac_link) 2>conftest.er1
4561
grep -v '^ *+' conftest.er1 >conftest.err
4563
cat conftest.err >&5
4564
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4565
(exit $ac_status); } &&
4566
{ ac_try='test -z "$ac_cxx_werror_flag"
4567
|| test ! -s conftest.err'
4568
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4571
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4572
(exit $ac_status); }; } &&
4573
{ ac_try='test -s conftest$ac_exeext'
4574
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4577
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4578
(exit $ac_status); }; }; then
4579
eval "kde_cv_prog_cxx_$kde_cache=yes"
4581
echo "$as_me: failed program was:" >&5
4582
sed 's/^/| /' conftest.$ac_ext >&5
4585
rm -f conftest.err conftest.$ac_objext \
4586
conftest$ac_exeext conftest.$ac_ext
4587
CXXFLAGS="$save_CXXFLAGS"
4589
ac_cpp='$CPP $CPPFLAGS'
4590
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4591
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4592
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4597
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
4598
echo "$as_me:$LINENO: result: yes" >&5
4599
echo "${ECHO_T}yes" >&6
4601
CXXFLAGS="$CXXFLAGS -Wformat-security -Wmissing-format-attribute"
4603
echo "$as_me:$LINENO: result: no" >&5
4604
echo "${ECHO_T}no" >&6
4610
echo "$as_me:$LINENO: checking whether $CC supports -Wmissing-format-attribute" >&5
4611
echo $ECHO_N "checking whether $CC supports -Wmissing-format-attribute... $ECHO_C" >&6
4612
kde_cache=`echo Wmissing-format-attribute | sed 'y% .=/+-,%____p__%'`
4613
if eval "test \"\${kde_cv_prog_cc_$kde_cache+set}\" = set"; then
4614
echo $ECHO_N "(cached) $ECHO_C" >&6
4620
ac_cpp='$CPP $CPPFLAGS'
4621
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4622
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4623
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4625
save_CFLAGS="$CFLAGS"
4626
CFLAGS="$CFLAGS -Wmissing-format-attribute"
4627
cat >conftest.$ac_ext <<_ACEOF
4630
cat confdefs.h >>conftest.$ac_ext
4631
cat >>conftest.$ac_ext <<_ACEOF
4632
/* end confdefs.h. */
4642
rm -f conftest.$ac_objext conftest$ac_exeext
4643
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4644
(eval $ac_link) 2>conftest.er1
4646
grep -v '^ *+' conftest.er1 >conftest.err
4648
cat conftest.err >&5
4649
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4650
(exit $ac_status); } &&
4651
{ ac_try='test -z "$ac_c_werror_flag"
4652
|| test ! -s conftest.err'
4653
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4656
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4657
(exit $ac_status); }; } &&
4658
{ ac_try='test -s conftest$ac_exeext'
4659
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4662
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4663
(exit $ac_status); }; }; then
4664
eval "kde_cv_prog_cc_$kde_cache=yes"
4666
echo "$as_me: failed program was:" >&5
4667
sed 's/^/| /' conftest.$ac_ext >&5
4670
rm -f conftest.err conftest.$ac_objext \
4671
conftest$ac_exeext conftest.$ac_ext
4672
CFLAGS="$save_CFLAGS"
4674
ac_cpp='$CPP $CPPFLAGS'
4675
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4676
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4677
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4682
if eval "test \"`echo '$kde_cv_prog_cc_'$kde_cache`\" = yes"; then
4683
echo "$as_me:$LINENO: result: yes" >&5
4684
echo "${ECHO_T}yes" >&6
4686
CFLAGS="$CFLAGS -Wformat-security -Wmissing-format-attribute"
4688
echo "$as_me:$LINENO: result: no" >&5
4689
echo "${ECHO_T}no" >&6
4697
echo "$as_me:$LINENO: checking whether $CXX supports -Wundef" >&5
4698
echo $ECHO_N "checking whether $CXX supports -Wundef... $ECHO_C" >&6
4699
kde_cache=`echo Wundef | sed 'y% .=/+-,%____p__%'`
4700
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
4701
echo $ECHO_N "(cached) $ECHO_C" >&6
4707
ac_cpp='$CXXCPP $CPPFLAGS'
4708
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4709
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4710
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4712
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4715
save_CXXFLAGS="$CXXFLAGS"
4716
CXXFLAGS="$CXXFLAGS -Wundef"
4717
cat >conftest.$ac_ext <<_ACEOF
4720
cat confdefs.h >>conftest.$ac_ext
4721
cat >>conftest.$ac_ext <<_ACEOF
4722
/* end confdefs.h. */
4732
rm -f conftest.$ac_objext conftest$ac_exeext
4733
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4734
(eval $ac_link) 2>conftest.er1
4736
grep -v '^ *+' conftest.er1 >conftest.err
4738
cat conftest.err >&5
4739
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4740
(exit $ac_status); } &&
4741
{ ac_try='test -z "$ac_cxx_werror_flag"
4742
|| test ! -s conftest.err'
4743
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4746
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4747
(exit $ac_status); }; } &&
4748
{ ac_try='test -s conftest$ac_exeext'
4749
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4752
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4753
(exit $ac_status); }; }; then
4754
eval "kde_cv_prog_cxx_$kde_cache=yes"
4756
echo "$as_me: failed program was:" >&5
4757
sed 's/^/| /' conftest.$ac_ext >&5
4760
rm -f conftest.err conftest.$ac_objext \
4761
conftest$ac_exeext conftest.$ac_ext
4762
CXXFLAGS="$save_CXXFLAGS"
4764
ac_cpp='$CPP $CPPFLAGS'
4765
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4766
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4767
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4772
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
4773
echo "$as_me:$LINENO: result: yes" >&5
4774
echo "${ECHO_T}yes" >&6
4776
CXXFLAGS="-Wundef $CXXFLAGS"
4778
echo "$as_me:$LINENO: result: no" >&5
4779
echo "${ECHO_T}no" >&6
4785
echo "$as_me:$LINENO: checking whether $CXX supports -Wno-long-long" >&5
4786
echo $ECHO_N "checking whether $CXX supports -Wno-long-long... $ECHO_C" >&6
4787
kde_cache=`echo Wno-long-long | sed 'y% .=/+-,%____p__%'`
4788
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
4789
echo $ECHO_N "(cached) $ECHO_C" >&6
4795
ac_cpp='$CXXCPP $CPPFLAGS'
4796
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4797
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4798
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4800
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4803
save_CXXFLAGS="$CXXFLAGS"
4804
CXXFLAGS="$CXXFLAGS -Wno-long-long"
4805
cat >conftest.$ac_ext <<_ACEOF
4808
cat confdefs.h >>conftest.$ac_ext
4809
cat >>conftest.$ac_ext <<_ACEOF
4810
/* end confdefs.h. */
4820
rm -f conftest.$ac_objext conftest$ac_exeext
4821
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4822
(eval $ac_link) 2>conftest.er1
4824
grep -v '^ *+' conftest.er1 >conftest.err
4826
cat conftest.err >&5
4827
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4828
(exit $ac_status); } &&
4829
{ ac_try='test -z "$ac_cxx_werror_flag"
4830
|| test ! -s conftest.err'
4831
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4834
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4835
(exit $ac_status); }; } &&
4836
{ ac_try='test -s conftest$ac_exeext'
4837
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4840
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4841
(exit $ac_status); }; }; then
4842
eval "kde_cv_prog_cxx_$kde_cache=yes"
4844
echo "$as_me: failed program was:" >&5
4845
sed 's/^/| /' conftest.$ac_ext >&5
4848
rm -f conftest.err conftest.$ac_objext \
4849
conftest$ac_exeext conftest.$ac_ext
4850
CXXFLAGS="$save_CXXFLAGS"
4852
ac_cpp='$CPP $CPPFLAGS'
4853
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4854
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4855
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4860
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
4861
echo "$as_me:$LINENO: result: yes" >&5
4862
echo "${ECHO_T}yes" >&6
4864
CXXFLAGS="-Wno-long-long $CXXFLAGS"
4866
echo "$as_me:$LINENO: result: no" >&5
4867
echo "${ECHO_T}no" >&6
4873
echo "$as_me:$LINENO: checking whether $CXX supports -Wnon-virtual-dtor" >&5
4874
echo $ECHO_N "checking whether $CXX supports -Wnon-virtual-dtor... $ECHO_C" >&6
4875
kde_cache=`echo Wnon-virtual-dtor | sed 'y% .=/+-,%____p__%'`
4876
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
4877
echo $ECHO_N "(cached) $ECHO_C" >&6
4883
ac_cpp='$CXXCPP $CPPFLAGS'
4884
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4885
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4886
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4888
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4891
save_CXXFLAGS="$CXXFLAGS"
4892
CXXFLAGS="$CXXFLAGS -Wnon-virtual-dtor"
4893
cat >conftest.$ac_ext <<_ACEOF
4896
cat confdefs.h >>conftest.$ac_ext
4897
cat >>conftest.$ac_ext <<_ACEOF
4898
/* end confdefs.h. */
4908
rm -f conftest.$ac_objext conftest$ac_exeext
4909
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4910
(eval $ac_link) 2>conftest.er1
4912
grep -v '^ *+' conftest.er1 >conftest.err
4914
cat conftest.err >&5
4915
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4916
(exit $ac_status); } &&
4917
{ ac_try='test -z "$ac_cxx_werror_flag"
4918
|| test ! -s conftest.err'
4919
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4922
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4923
(exit $ac_status); }; } &&
4924
{ ac_try='test -s conftest$ac_exeext'
4925
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4928
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4929
(exit $ac_status); }; }; then
4930
eval "kde_cv_prog_cxx_$kde_cache=yes"
4932
echo "$as_me: failed program was:" >&5
4933
sed 's/^/| /' conftest.$ac_ext >&5
4936
rm -f conftest.err conftest.$ac_objext \
4937
conftest$ac_exeext conftest.$ac_ext
4938
CXXFLAGS="$save_CXXFLAGS"
4940
ac_cpp='$CPP $CPPFLAGS'
4941
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4942
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4943
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4948
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
4949
echo "$as_me:$LINENO: result: yes" >&5
4950
echo "${ECHO_T}yes" >&6
4952
CXXFLAGS="-Wnon-virtual-dtor $CXXFLAGS"
4954
echo "$as_me:$LINENO: result: no" >&5
4955
echo "${ECHO_T}no" >&6
4963
if test "$GXX" = "yes" && test "$kde_use_strict_options" = "yes"; then
4964
CXXFLAGS="-Wcast-qual -Wshadow -Wcast-align $CXXFLAGS"
4967
if test "$GXX" = "yes"; then
4969
echo "$as_me:$LINENO: checking whether $CXX supports -fno-exceptions" >&5
4970
echo $ECHO_N "checking whether $CXX supports -fno-exceptions... $ECHO_C" >&6
4971
kde_cache=`echo fno-exceptions | sed 'y% .=/+-,%____p__%'`
4972
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
4973
echo $ECHO_N "(cached) $ECHO_C" >&6
4979
ac_cpp='$CXXCPP $CPPFLAGS'
4980
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4981
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4982
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4984
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4987
save_CXXFLAGS="$CXXFLAGS"
4988
CXXFLAGS="$CXXFLAGS -fno-exceptions"
4989
cat >conftest.$ac_ext <<_ACEOF
4992
cat confdefs.h >>conftest.$ac_ext
4993
cat >>conftest.$ac_ext <<_ACEOF
4994
/* end confdefs.h. */
5004
rm -f conftest.$ac_objext conftest$ac_exeext
5005
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5006
(eval $ac_link) 2>conftest.er1
5008
grep -v '^ *+' conftest.er1 >conftest.err
5010
cat conftest.err >&5
5011
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5012
(exit $ac_status); } &&
5013
{ ac_try='test -z "$ac_cxx_werror_flag"
5014
|| test ! -s conftest.err'
5015
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5018
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5019
(exit $ac_status); }; } &&
5020
{ ac_try='test -s conftest$ac_exeext'
5021
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5024
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5025
(exit $ac_status); }; }; then
5026
eval "kde_cv_prog_cxx_$kde_cache=yes"
5028
echo "$as_me: failed program was:" >&5
5029
sed 's/^/| /' conftest.$ac_ext >&5
5032
rm -f conftest.err conftest.$ac_objext \
5033
conftest$ac_exeext conftest.$ac_ext
5034
CXXFLAGS="$save_CXXFLAGS"
5036
ac_cpp='$CPP $CPPFLAGS'
5037
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5038
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5039
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5044
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5045
echo "$as_me:$LINENO: result: yes" >&5
5046
echo "${ECHO_T}yes" >&6
5048
CXXFLAGS="$CXXFLAGS -fno-exceptions"
5050
echo "$as_me:$LINENO: result: no" >&5
5051
echo "${ECHO_T}no" >&6
5057
echo "$as_me:$LINENO: checking whether $CXX supports -fno-check-new" >&5
5058
echo $ECHO_N "checking whether $CXX supports -fno-check-new... $ECHO_C" >&6
5059
kde_cache=`echo fno-check-new | sed 'y% .=/+-,%____p__%'`
5060
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
5061
echo $ECHO_N "(cached) $ECHO_C" >&6
5067
ac_cpp='$CXXCPP $CPPFLAGS'
5068
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5069
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5070
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5072
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5075
save_CXXFLAGS="$CXXFLAGS"
5076
CXXFLAGS="$CXXFLAGS -fno-check-new"
5077
cat >conftest.$ac_ext <<_ACEOF
5080
cat confdefs.h >>conftest.$ac_ext
5081
cat >>conftest.$ac_ext <<_ACEOF
5082
/* end confdefs.h. */
5092
rm -f conftest.$ac_objext conftest$ac_exeext
5093
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5094
(eval $ac_link) 2>conftest.er1
5096
grep -v '^ *+' conftest.er1 >conftest.err
5098
cat conftest.err >&5
5099
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5100
(exit $ac_status); } &&
5101
{ ac_try='test -z "$ac_cxx_werror_flag"
5102
|| test ! -s conftest.err'
5103
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5106
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5107
(exit $ac_status); }; } &&
5108
{ ac_try='test -s conftest$ac_exeext'
5109
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5112
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5113
(exit $ac_status); }; }; then
5114
eval "kde_cv_prog_cxx_$kde_cache=yes"
5116
echo "$as_me: failed program was:" >&5
5117
sed 's/^/| /' conftest.$ac_ext >&5
5120
rm -f conftest.err conftest.$ac_objext \
5121
conftest$ac_exeext conftest.$ac_ext
5122
CXXFLAGS="$save_CXXFLAGS"
5124
ac_cpp='$CPP $CPPFLAGS'
5125
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5126
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5127
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5132
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5133
echo "$as_me:$LINENO: result: yes" >&5
5134
echo "${ECHO_T}yes" >&6
5136
CXXFLAGS="$CXXFLAGS -fno-check-new"
5138
echo "$as_me:$LINENO: result: no" >&5
5139
echo "${ECHO_T}no" >&6
5145
echo "$as_me:$LINENO: checking whether $CXX supports -fno-common" >&5
5146
echo $ECHO_N "checking whether $CXX supports -fno-common... $ECHO_C" >&6
5147
kde_cache=`echo fno-common | sed 'y% .=/+-,%____p__%'`
5148
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
5149
echo $ECHO_N "(cached) $ECHO_C" >&6
5155
ac_cpp='$CXXCPP $CPPFLAGS'
5156
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5157
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5158
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5160
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5163
save_CXXFLAGS="$CXXFLAGS"
5164
CXXFLAGS="$CXXFLAGS -fno-common"
5165
cat >conftest.$ac_ext <<_ACEOF
5168
cat confdefs.h >>conftest.$ac_ext
5169
cat >>conftest.$ac_ext <<_ACEOF
5170
/* end confdefs.h. */
5180
rm -f conftest.$ac_objext conftest$ac_exeext
5181
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5182
(eval $ac_link) 2>conftest.er1
5184
grep -v '^ *+' conftest.er1 >conftest.err
5186
cat conftest.err >&5
5187
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5188
(exit $ac_status); } &&
5189
{ ac_try='test -z "$ac_cxx_werror_flag"
5190
|| test ! -s conftest.err'
5191
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5194
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5195
(exit $ac_status); }; } &&
5196
{ ac_try='test -s conftest$ac_exeext'
5197
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5200
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5201
(exit $ac_status); }; }; then
5202
eval "kde_cv_prog_cxx_$kde_cache=yes"
5204
echo "$as_me: failed program was:" >&5
5205
sed 's/^/| /' conftest.$ac_ext >&5
5208
rm -f conftest.err conftest.$ac_objext \
5209
conftest$ac_exeext conftest.$ac_ext
5210
CXXFLAGS="$save_CXXFLAGS"
5212
ac_cpp='$CPP $CPPFLAGS'
5213
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5214
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5215
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5220
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5221
echo "$as_me:$LINENO: result: yes" >&5
5222
echo "${ECHO_T}yes" >&6
5224
CXXFLAGS="$CXXFLAGS -fno-common"
5226
echo "$as_me:$LINENO: result: no" >&5
5227
echo "${ECHO_T}no" >&6
5233
echo "$as_me:$LINENO: checking whether $CXX supports -fexceptions" >&5
5234
echo $ECHO_N "checking whether $CXX supports -fexceptions... $ECHO_C" >&6
5235
kde_cache=`echo fexceptions | sed 'y% .=/+-,%____p__%'`
5236
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
5237
echo $ECHO_N "(cached) $ECHO_C" >&6
5243
ac_cpp='$CXXCPP $CPPFLAGS'
5244
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5245
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5246
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5248
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5251
save_CXXFLAGS="$CXXFLAGS"
5252
CXXFLAGS="$CXXFLAGS -fexceptions"
5253
cat >conftest.$ac_ext <<_ACEOF
5256
cat confdefs.h >>conftest.$ac_ext
5257
cat >>conftest.$ac_ext <<_ACEOF
5258
/* end confdefs.h. */
5268
rm -f conftest.$ac_objext conftest$ac_exeext
5269
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5270
(eval $ac_link) 2>conftest.er1
5272
grep -v '^ *+' conftest.er1 >conftest.err
5274
cat conftest.err >&5
5275
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5276
(exit $ac_status); } &&
5277
{ ac_try='test -z "$ac_cxx_werror_flag"
5278
|| test ! -s conftest.err'
5279
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5282
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5283
(exit $ac_status); }; } &&
5284
{ ac_try='test -s conftest$ac_exeext'
5285
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5288
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5289
(exit $ac_status); }; }; then
5290
eval "kde_cv_prog_cxx_$kde_cache=yes"
5292
echo "$as_me: failed program was:" >&5
5293
sed 's/^/| /' conftest.$ac_ext >&5
5296
rm -f conftest.err conftest.$ac_objext \
5297
conftest$ac_exeext conftest.$ac_ext
5298
CXXFLAGS="$save_CXXFLAGS"
5300
ac_cpp='$CPP $CPPFLAGS'
5301
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5302
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5303
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5308
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5309
echo "$as_me:$LINENO: result: yes" >&5
5310
echo "${ECHO_T}yes" >&6
5312
USE_EXCEPTIONS="-fexceptions"
5314
echo "$as_me:$LINENO: result: no" >&5
5315
echo "${ECHO_T}no" >&6
5320
ENABLE_PERMISSIVE_FLAG="-fpermissive"
5322
if test "$CXX" = "KCC"; then
5324
# Check whether --enable-pch or --disable-pch was given.
5325
if test "${enable_pch+set}" = set; then
5326
enableval="$enable_pch"
5328
kde_use_pch=$enableval
5334
if test "$kde_use_pch" = "yes"; then
5336
echo "$as_me:$LINENO: checking whether $CXX supports --pch" >&5
5337
echo $ECHO_N "checking whether $CXX supports --pch... $ECHO_C" >&6
5338
kde_cache=`echo -pch | sed 'y% .=/+-,%____p__%'`
5339
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
5340
echo $ECHO_N "(cached) $ECHO_C" >&6
5346
ac_cpp='$CXXCPP $CPPFLAGS'
5347
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5348
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5349
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5351
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5354
save_CXXFLAGS="$CXXFLAGS"
5355
CXXFLAGS="$CXXFLAGS --pch"
5356
cat >conftest.$ac_ext <<_ACEOF
5359
cat confdefs.h >>conftest.$ac_ext
5360
cat >>conftest.$ac_ext <<_ACEOF
5361
/* end confdefs.h. */
5371
rm -f conftest.$ac_objext conftest$ac_exeext
5372
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5373
(eval $ac_link) 2>conftest.er1
5375
grep -v '^ *+' conftest.er1 >conftest.err
5377
cat conftest.err >&5
5378
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5379
(exit $ac_status); } &&
5380
{ ac_try='test -z "$ac_cxx_werror_flag"
5381
|| test ! -s conftest.err'
5382
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5385
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5386
(exit $ac_status); }; } &&
5387
{ ac_try='test -s conftest$ac_exeext'
5388
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5391
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5392
(exit $ac_status); }; }; then
5393
eval "kde_cv_prog_cxx_$kde_cache=yes"
5395
echo "$as_me: failed program was:" >&5
5396
sed 's/^/| /' conftest.$ac_ext >&5
5399
rm -f conftest.err conftest.$ac_objext \
5400
conftest$ac_exeext conftest.$ac_ext
5401
CXXFLAGS="$save_CXXFLAGS"
5403
ac_cpp='$CPP $CPPFLAGS'
5404
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5405
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5406
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5411
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5412
echo "$as_me:$LINENO: result: yes" >&5
5413
echo "${ECHO_T}yes" >&6
5415
CXXFLAGS="$CXXFLAGS --pch"
5417
echo "$as_me:$LINENO: result: no" >&5
5418
echo "${ECHO_T}no" >&6
5425
echo "$as_me:$LINENO: checking whether $CXX supports --inline_keyword_space_time=6" >&5
5426
echo $ECHO_N "checking whether $CXX supports --inline_keyword_space_time=6... $ECHO_C" >&6
5427
kde_cache=`echo -inline_keyword_space_time=6 | sed 'y% .=/+-,%____p__%'`
5428
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
5429
echo $ECHO_N "(cached) $ECHO_C" >&6
5435
ac_cpp='$CXXCPP $CPPFLAGS'
5436
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5437
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5438
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5440
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5443
save_CXXFLAGS="$CXXFLAGS"
5444
CXXFLAGS="$CXXFLAGS --inline_keyword_space_time=6"
5445
cat >conftest.$ac_ext <<_ACEOF
5448
cat confdefs.h >>conftest.$ac_ext
5449
cat >>conftest.$ac_ext <<_ACEOF
5450
/* end confdefs.h. */
5460
rm -f conftest.$ac_objext conftest$ac_exeext
5461
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5462
(eval $ac_link) 2>conftest.er1
5464
grep -v '^ *+' conftest.er1 >conftest.err
5466
cat conftest.err >&5
5467
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5468
(exit $ac_status); } &&
5469
{ ac_try='test -z "$ac_cxx_werror_flag"
5470
|| test ! -s conftest.err'
5471
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5474
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5475
(exit $ac_status); }; } &&
5476
{ ac_try='test -s conftest$ac_exeext'
5477
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5480
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5481
(exit $ac_status); }; }; then
5482
eval "kde_cv_prog_cxx_$kde_cache=yes"
5484
echo "$as_me: failed program was:" >&5
5485
sed 's/^/| /' conftest.$ac_ext >&5
5488
rm -f conftest.err conftest.$ac_objext \
5489
conftest$ac_exeext conftest.$ac_ext
5490
CXXFLAGS="$save_CXXFLAGS"
5492
ac_cpp='$CPP $CPPFLAGS'
5493
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5494
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5495
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5500
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5501
echo "$as_me:$LINENO: result: yes" >&5
5502
echo "${ECHO_T}yes" >&6
5504
CXXFLAGS="$CXXFLAGS --inline_keyword_space_time=6"
5506
echo "$as_me:$LINENO: result: no" >&5
5507
echo "${ECHO_T}no" >&6
5513
echo "$as_me:$LINENO: checking whether $CXX supports --inline_auto_space_time=2" >&5
5514
echo $ECHO_N "checking whether $CXX supports --inline_auto_space_time=2... $ECHO_C" >&6
5515
kde_cache=`echo -inline_auto_space_time=2 | sed 'y% .=/+-,%____p__%'`
5516
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
5517
echo $ECHO_N "(cached) $ECHO_C" >&6
5523
ac_cpp='$CXXCPP $CPPFLAGS'
5524
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5525
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5526
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5528
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5531
save_CXXFLAGS="$CXXFLAGS"
5532
CXXFLAGS="$CXXFLAGS --inline_auto_space_time=2"
5533
cat >conftest.$ac_ext <<_ACEOF
5536
cat confdefs.h >>conftest.$ac_ext
5537
cat >>conftest.$ac_ext <<_ACEOF
5538
/* end confdefs.h. */
5548
rm -f conftest.$ac_objext conftest$ac_exeext
5549
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5550
(eval $ac_link) 2>conftest.er1
5552
grep -v '^ *+' conftest.er1 >conftest.err
5554
cat conftest.err >&5
5555
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5556
(exit $ac_status); } &&
5557
{ ac_try='test -z "$ac_cxx_werror_flag"
5558
|| test ! -s conftest.err'
5559
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5562
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5563
(exit $ac_status); }; } &&
5564
{ ac_try='test -s conftest$ac_exeext'
5565
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5568
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5569
(exit $ac_status); }; }; then
5570
eval "kde_cv_prog_cxx_$kde_cache=yes"
5572
echo "$as_me: failed program was:" >&5
5573
sed 's/^/| /' conftest.$ac_ext >&5
5576
rm -f conftest.err conftest.$ac_objext \
5577
conftest$ac_exeext conftest.$ac_ext
5578
CXXFLAGS="$save_CXXFLAGS"
5580
ac_cpp='$CPP $CPPFLAGS'
5581
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5582
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5583
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5588
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5589
echo "$as_me:$LINENO: result: yes" >&5
5590
echo "${ECHO_T}yes" >&6
5592
CXXFLAGS="$CXXFLAGS --inline_auto_space_time=2"
5594
echo "$as_me:$LINENO: result: no" >&5
5595
echo "${ECHO_T}no" >&6
5601
echo "$as_me:$LINENO: checking whether $CXX supports --inline_implicit_space_time=2.0" >&5
5602
echo $ECHO_N "checking whether $CXX supports --inline_implicit_space_time=2.0... $ECHO_C" >&6
5603
kde_cache=`echo -inline_implicit_space_time=2.0 | sed 'y% .=/+-,%____p__%'`
5604
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
5605
echo $ECHO_N "(cached) $ECHO_C" >&6
5611
ac_cpp='$CXXCPP $CPPFLAGS'
5612
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5613
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5614
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5616
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5619
save_CXXFLAGS="$CXXFLAGS"
5620
CXXFLAGS="$CXXFLAGS --inline_implicit_space_time=2.0"
5621
cat >conftest.$ac_ext <<_ACEOF
5624
cat confdefs.h >>conftest.$ac_ext
5625
cat >>conftest.$ac_ext <<_ACEOF
5626
/* end confdefs.h. */
5636
rm -f conftest.$ac_objext conftest$ac_exeext
5637
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5638
(eval $ac_link) 2>conftest.er1
5640
grep -v '^ *+' conftest.er1 >conftest.err
5642
cat conftest.err >&5
5643
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5644
(exit $ac_status); } &&
5645
{ ac_try='test -z "$ac_cxx_werror_flag"
5646
|| test ! -s conftest.err'
5647
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5650
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5651
(exit $ac_status); }; } &&
5652
{ ac_try='test -s conftest$ac_exeext'
5653
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5656
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5657
(exit $ac_status); }; }; then
5658
eval "kde_cv_prog_cxx_$kde_cache=yes"
5660
echo "$as_me: failed program was:" >&5
5661
sed 's/^/| /' conftest.$ac_ext >&5
5664
rm -f conftest.err conftest.$ac_objext \
5665
conftest$ac_exeext conftest.$ac_ext
5666
CXXFLAGS="$save_CXXFLAGS"
5668
ac_cpp='$CPP $CPPFLAGS'
5669
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5670
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5671
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5676
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5677
echo "$as_me:$LINENO: result: yes" >&5
5678
echo "${ECHO_T}yes" >&6
5680
CXXFLAGS="$CXXFLAGS --inline_implicit_space_time=2.0"
5682
echo "$as_me:$LINENO: result: no" >&5
5683
echo "${ECHO_T}no" >&6
5689
echo "$as_me:$LINENO: checking whether $CXX supports --inline_generated_space_time=2.0" >&5
5690
echo $ECHO_N "checking whether $CXX supports --inline_generated_space_time=2.0... $ECHO_C" >&6
5691
kde_cache=`echo -inline_generated_space_time=2.0 | sed 'y% .=/+-,%____p__%'`
5692
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
5693
echo $ECHO_N "(cached) $ECHO_C" >&6
5699
ac_cpp='$CXXCPP $CPPFLAGS'
5700
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5701
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5702
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5704
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5707
save_CXXFLAGS="$CXXFLAGS"
5708
CXXFLAGS="$CXXFLAGS --inline_generated_space_time=2.0"
5709
cat >conftest.$ac_ext <<_ACEOF
5712
cat confdefs.h >>conftest.$ac_ext
5713
cat >>conftest.$ac_ext <<_ACEOF
5714
/* end confdefs.h. */
5724
rm -f conftest.$ac_objext conftest$ac_exeext
5725
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&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
{ ac_try='test -z "$ac_cxx_werror_flag"
5734
|| test ! -s conftest.err'
5735
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5738
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5739
(exit $ac_status); }; } &&
5740
{ ac_try='test -s conftest$ac_exeext'
5741
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5744
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5745
(exit $ac_status); }; }; then
5746
eval "kde_cv_prog_cxx_$kde_cache=yes"
5748
echo "$as_me: failed program was:" >&5
5749
sed 's/^/| /' conftest.$ac_ext >&5
5752
rm -f conftest.err conftest.$ac_objext \
5753
conftest$ac_exeext conftest.$ac_ext
5754
CXXFLAGS="$save_CXXFLAGS"
5756
ac_cpp='$CPP $CPPFLAGS'
5757
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5758
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5759
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5764
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5765
echo "$as_me:$LINENO: result: yes" >&5
5766
echo "${ECHO_T}yes" >&6
5768
CXXFLAGS="$CXXFLAGS --inline_generated_space_time=2.0"
5770
echo "$as_me:$LINENO: result: no" >&5
5771
echo "${ECHO_T}no" >&6
5777
echo "$as_me:$LINENO: checking whether $CXX supports --one_per" >&5
5778
echo $ECHO_N "checking whether $CXX supports --one_per... $ECHO_C" >&6
5779
kde_cache=`echo -one_per | sed 'y% .=/+-,%____p__%'`
5780
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
5781
echo $ECHO_N "(cached) $ECHO_C" >&6
5787
ac_cpp='$CXXCPP $CPPFLAGS'
5788
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5789
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5790
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5792
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5795
save_CXXFLAGS="$CXXFLAGS"
5796
CXXFLAGS="$CXXFLAGS --one_per"
5797
cat >conftest.$ac_ext <<_ACEOF
5800
cat confdefs.h >>conftest.$ac_ext
5801
cat >>conftest.$ac_ext <<_ACEOF
5802
/* end confdefs.h. */
5812
rm -f conftest.$ac_objext conftest$ac_exeext
5813
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5814
(eval $ac_link) 2>conftest.er1
5816
grep -v '^ *+' conftest.er1 >conftest.err
5818
cat conftest.err >&5
5819
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5820
(exit $ac_status); } &&
5821
{ ac_try='test -z "$ac_cxx_werror_flag"
5822
|| test ! -s conftest.err'
5823
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5826
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5827
(exit $ac_status); }; } &&
5828
{ ac_try='test -s conftest$ac_exeext'
5829
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5832
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5833
(exit $ac_status); }; }; then
5834
eval "kde_cv_prog_cxx_$kde_cache=yes"
5836
echo "$as_me: failed program was:" >&5
5837
sed 's/^/| /' conftest.$ac_ext >&5
5840
rm -f conftest.err conftest.$ac_objext \
5841
conftest$ac_exeext conftest.$ac_ext
5842
CXXFLAGS="$save_CXXFLAGS"
5844
ac_cpp='$CPP $CPPFLAGS'
5845
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5846
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5847
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5852
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5853
echo "$as_me:$LINENO: result: yes" >&5
5854
echo "${ECHO_T}yes" >&6
5856
CXXFLAGS="$CXXFLAGS --one_per"
5858
echo "$as_me:$LINENO: result: no" >&5
5859
echo "${ECHO_T}no" >&6
5870
*-*-irix*) test "$GXX" = yes && CXXFLAGS="-D_LANGUAGE_C_PLUS_PLUS -D__LANGUAGE_C_PLUS_PLUS $CXXFLAGS" ;;
5871
*-*-sysv4.2uw*) CXXFLAGS="-D_UNIXWARE $CXXFLAGS";;
5872
*-*-sysv5uw7*) CXXFLAGS="-D_UNIXWARE7 $CXXFLAGS";;
5874
if test "$GXX" = yes; then
5875
libstdcpp=`$CXX -print-file-name=libstdc++.so`
5876
if test ! -f $libstdcpp; then
5877
{ { 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
5878
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;}
5879
{ (exit 1); exit 1; }; }
5885
if test "x$kde_use_qt_emb" != "xyes"; then
5887
__forbid=" -fno-rtti -rpath "
5888
if test -n "$__val"; then
5894
*" $i "*) { echo "$as_me:$LINENO: WARNING: found forbidden $i in CXX, removing it" >&5
5895
echo "$as_me: WARNING: found forbidden $i in CXX, removing it" >&2;} ;;
5896
*) # Careful to not add spaces, where there were none, because otherwise
5897
# libtool gets confused, if we change e.g. CXX
5898
if test -z "$__new" ; then __new=$i ; else __new="$__new $i" ; fi ;;
5906
__forbid=" -fno-rtti -rpath "
5907
if test -n "$__val"; then
5913
*" $i "*) { echo "$as_me:$LINENO: WARNING: found forbidden $i in CXXFLAGS, removing it" >&5
5914
echo "$as_me: WARNING: found forbidden $i in CXXFLAGS, removing it" >&2;} ;;
5915
*) # Careful to not add spaces, where there were none, because otherwise
5916
# libtool gets confused, if we change e.g. CXX
5917
if test -z "$__new" ; then __new=$i ; else __new="$__new $i" ; fi ;;
5927
if test -n "$__val"; then
5933
*" $i "*) { echo "$as_me:$LINENO: WARNING: found forbidden $i in CXX, removing it" >&5
5934
echo "$as_me: WARNING: found forbidden $i in CXX, removing it" >&2;} ;;
5935
*) # Careful to not add spaces, where there were none, because otherwise
5936
# libtool gets confused, if we change e.g. CXX
5937
if test -z "$__new" ; then __new=$i ; else __new="$__new $i" ; fi ;;
5946
if test -n "$__val"; then
5952
*" $i "*) { echo "$as_me:$LINENO: WARNING: found forbidden $i in CXXFLAGS, removing it" >&5
5953
echo "$as_me: WARNING: found forbidden $i in CXXFLAGS, removing it" >&2;} ;;
5954
*) # Careful to not add spaces, where there were none, because otherwise
5955
# libtool gets confused, if we change e.g. CXX
5956
if test -z "$__new" ; then __new=$i ; else __new="$__new $i" ; fi ;;
5967
ac_cpp='$CXXCPP $CPPFLAGS'
5968
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5969
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5970
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5971
echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5972
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
5973
if test -z "$CXXCPP"; then
5974
if test "${ac_cv_prog_CXXCPP+set}" = set; then
5975
echo $ECHO_N "(cached) $ECHO_C" >&6
5977
# Double quotes because CXXCPP needs to be expanded
5978
for CXXCPP in "$CXX -E" "/lib/cpp"
5981
for ac_cxx_preproc_warn_flag in '' yes
5983
# Use a header file that comes with gcc, so configuring glibc
5984
# with a fresh cross-compiler works.
5985
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5986
# <limits.h> exists even on freestanding compilers.
5987
# On the NeXT, cc -E runs the code through the compiler's parser,
5988
# not just through cpp. "Syntax error" is here to catch this case.
5989
cat >conftest.$ac_ext <<_ACEOF
5992
cat confdefs.h >>conftest.$ac_ext
5993
cat >>conftest.$ac_ext <<_ACEOF
5994
/* end confdefs.h. */
5996
# include <limits.h>
5998
# include <assert.h>
6002
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6003
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6005
grep -v '^ *+' conftest.er1 >conftest.err
6007
cat conftest.err >&5
6008
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6009
(exit $ac_status); } >/dev/null; then
6010
if test -s conftest.err; then
6011
ac_cpp_err=$ac_cxx_preproc_warn_flag
6012
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6019
if test -z "$ac_cpp_err"; then
6022
echo "$as_me: failed program was:" >&5
6023
sed 's/^/| /' conftest.$ac_ext >&5
6025
# Broken: fails on valid input.
6028
rm -f conftest.err conftest.$ac_ext
6030
# OK, works on sane cases. Now check whether non-existent headers
6031
# can be detected and how.
6032
cat >conftest.$ac_ext <<_ACEOF
6035
cat confdefs.h >>conftest.$ac_ext
6036
cat >>conftest.$ac_ext <<_ACEOF
6037
/* end confdefs.h. */
6038
#include <ac_nonexistent.h>
6040
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6041
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6043
grep -v '^ *+' conftest.er1 >conftest.err
6045
cat conftest.err >&5
6046
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6047
(exit $ac_status); } >/dev/null; then
6048
if test -s conftest.err; then
6049
ac_cpp_err=$ac_cxx_preproc_warn_flag
6050
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6057
if test -z "$ac_cpp_err"; then
6058
# Broken: success on invalid input.
6061
echo "$as_me: failed program was:" >&5
6062
sed 's/^/| /' conftest.$ac_ext >&5
6064
# Passes both tests.
6068
rm -f conftest.err conftest.$ac_ext
6071
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6072
rm -f conftest.err conftest.$ac_ext
6073
if $ac_preproc_ok; then
6078
ac_cv_prog_CXXCPP=$CXXCPP
6081
CXXCPP=$ac_cv_prog_CXXCPP
6083
ac_cv_prog_CXXCPP=$CXXCPP
6085
echo "$as_me:$LINENO: result: $CXXCPP" >&5
6086
echo "${ECHO_T}$CXXCPP" >&6
6088
for ac_cxx_preproc_warn_flag in '' yes
6090
# Use a header file that comes with gcc, so configuring glibc
6091
# with a fresh cross-compiler works.
6092
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6093
# <limits.h> exists even on freestanding compilers.
6094
# On the NeXT, cc -E runs the code through the compiler's parser,
6095
# not just through cpp. "Syntax error" is here to catch this case.
6096
cat >conftest.$ac_ext <<_ACEOF
6099
cat confdefs.h >>conftest.$ac_ext
6100
cat >>conftest.$ac_ext <<_ACEOF
6101
/* end confdefs.h. */
6103
# include <limits.h>
6105
# include <assert.h>
6109
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6110
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6112
grep -v '^ *+' conftest.er1 >conftest.err
6114
cat conftest.err >&5
6115
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6116
(exit $ac_status); } >/dev/null; then
6117
if test -s conftest.err; then
6118
ac_cpp_err=$ac_cxx_preproc_warn_flag
6119
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6126
if test -z "$ac_cpp_err"; then
6129
echo "$as_me: failed program was:" >&5
6130
sed 's/^/| /' conftest.$ac_ext >&5
6132
# Broken: fails on valid input.
6135
rm -f conftest.err conftest.$ac_ext
6137
# OK, works on sane cases. Now check whether non-existent headers
6138
# can be detected and how.
6139
cat >conftest.$ac_ext <<_ACEOF
6142
cat confdefs.h >>conftest.$ac_ext
6143
cat >>conftest.$ac_ext <<_ACEOF
6144
/* end confdefs.h. */
6145
#include <ac_nonexistent.h>
6147
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6148
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6150
grep -v '^ *+' conftest.er1 >conftest.err
6152
cat conftest.err >&5
6153
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6154
(exit $ac_status); } >/dev/null; then
6155
if test -s conftest.err; then
6156
ac_cpp_err=$ac_cxx_preproc_warn_flag
6157
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6164
if test -z "$ac_cpp_err"; then
6165
# Broken: success on invalid input.
6168
echo "$as_me: failed program was:" >&5
6169
sed 's/^/| /' conftest.$ac_ext >&5
6171
# Passes both tests.
6175
rm -f conftest.err conftest.$ac_ext
6178
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6179
rm -f conftest.err conftest.$ac_ext
6180
if $ac_preproc_ok; then
6183
{ { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6184
See \`config.log' for more details." >&5
6185
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6186
See \`config.log' for more details." >&2;}
6187
{ (exit 1); exit 1; }; }
6191
ac_cpp='$CPP $CPPFLAGS'
6192
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6193
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6194
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6197
if test "$GCC" = yes; then
6201
echo "$as_me:$LINENO: checking whether $CXX supports -O0" >&5
6202
echo $ECHO_N "checking whether $CXX supports -O0... $ECHO_C" >&6
6203
kde_cache=`echo O0 | sed 'y% .=/+-,%____p__%'`
6204
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
6205
echo $ECHO_N "(cached) $ECHO_C" >&6
6211
ac_cpp='$CXXCPP $CPPFLAGS'
6212
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6213
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6214
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6216
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6219
save_CXXFLAGS="$CXXFLAGS"
6220
CXXFLAGS="$CXXFLAGS -O0"
6221
cat >conftest.$ac_ext <<_ACEOF
6224
cat confdefs.h >>conftest.$ac_ext
6225
cat >>conftest.$ac_ext <<_ACEOF
6226
/* end confdefs.h. */
6236
rm -f conftest.$ac_objext conftest$ac_exeext
6237
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6238
(eval $ac_link) 2>conftest.er1
6240
grep -v '^ *+' conftest.er1 >conftest.err
6242
cat conftest.err >&5
6243
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6244
(exit $ac_status); } &&
6245
{ ac_try='test -z "$ac_cxx_werror_flag"
6246
|| test ! -s conftest.err'
6247
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6250
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6251
(exit $ac_status); }; } &&
6252
{ ac_try='test -s conftest$ac_exeext'
6253
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6256
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6257
(exit $ac_status); }; }; then
6258
eval "kde_cv_prog_cxx_$kde_cache=yes"
6260
echo "$as_me: failed program was:" >&5
6261
sed 's/^/| /' conftest.$ac_ext >&5
6264
rm -f conftest.err conftest.$ac_objext \
6265
conftest$ac_exeext conftest.$ac_ext
6266
CXXFLAGS="$save_CXXFLAGS"
6268
ac_cpp='$CPP $CPPFLAGS'
6269
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6270
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6271
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6276
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6277
echo "$as_me:$LINENO: result: yes" >&5
6278
echo "${ECHO_T}yes" >&6
6282
echo "$as_me:$LINENO: result: no" >&5
6283
echo "${ECHO_T}no" >&6
6294
# Check whether --enable-final or --disable-final was given.
6295
if test "${enable_final+set}" = set; then
6296
enableval="$enable_final"
6297
kde_use_final=$enableval
6302
if test "x$kde_use_final" = "xyes"; then
6303
KDE_USE_FINAL_TRUE=""
6304
KDE_USE_FINAL_FALSE="#"
6306
KDE_USE_FINAL_TRUE="#"
6307
KDE_USE_FINAL_FALSE=""
6313
# Check whether --enable-closure or --disable-closure was given.
6314
if test "${enable_closure+set}" = set; then
6315
enableval="$enable_closure"
6316
kde_use_closure=$enableval
6322
if test "x$kde_use_closure" = "xyes"; then
6323
KDE_USE_CLOSURE_TRUE=""
6324
KDE_USE_CLOSURE_FALSE="#"
6325
# CXXFLAGS="$CXXFLAGS $REPO"
6327
KDE_USE_CLOSURE_TRUE="#"
6328
KDE_USE_CLOSURE_FALSE=""
6333
echo "$as_me:$LINENO: checking whether $CXX supports -Wl,--no-undefined" >&5
6334
echo $ECHO_N "checking whether $CXX supports -Wl,--no-undefined... $ECHO_C" >&6
6335
kde_cache=`echo Wl,--no-undefined | sed 'y% .=/+-,%____p__%'`
6336
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
6337
echo $ECHO_N "(cached) $ECHO_C" >&6
6343
ac_cpp='$CXXCPP $CPPFLAGS'
6344
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6345
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6346
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6348
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6351
save_CXXFLAGS="$CXXFLAGS"
6352
CXXFLAGS="$CXXFLAGS -Wl,--no-undefined"
6353
cat >conftest.$ac_ext <<_ACEOF
6356
cat confdefs.h >>conftest.$ac_ext
6357
cat >>conftest.$ac_ext <<_ACEOF
6358
/* end confdefs.h. */
6368
rm -f conftest.$ac_objext conftest$ac_exeext
6369
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6370
(eval $ac_link) 2>conftest.er1
6372
grep -v '^ *+' conftest.er1 >conftest.err
6374
cat conftest.err >&5
6375
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6376
(exit $ac_status); } &&
6377
{ ac_try='test -z "$ac_cxx_werror_flag"
6378
|| test ! -s conftest.err'
6379
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6382
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6383
(exit $ac_status); }; } &&
6384
{ ac_try='test -s conftest$ac_exeext'
6385
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6388
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6389
(exit $ac_status); }; }; then
6390
eval "kde_cv_prog_cxx_$kde_cache=yes"
6392
echo "$as_me: failed program was:" >&5
6393
sed 's/^/| /' conftest.$ac_ext >&5
6396
rm -f conftest.err conftest.$ac_objext \
6397
conftest$ac_exeext conftest.$ac_ext
6398
CXXFLAGS="$save_CXXFLAGS"
6400
ac_cpp='$CPP $CPPFLAGS'
6401
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6402
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6403
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6408
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6409
echo "$as_me:$LINENO: result: yes" >&5
6410
echo "${ECHO_T}yes" >&6
6413
echo "$as_me:$LINENO: checking whether $CXX supports -Wl,--allow-shlib-undefined" >&5
6414
echo $ECHO_N "checking whether $CXX supports -Wl,--allow-shlib-undefined... $ECHO_C" >&6
6415
kde_cache=`echo Wl,--allow-shlib-undefined | sed 'y% .=/+-,%____p__%'`
6416
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
6417
echo $ECHO_N "(cached) $ECHO_C" >&6
6423
ac_cpp='$CXXCPP $CPPFLAGS'
6424
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6425
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6426
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6428
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6431
save_CXXFLAGS="$CXXFLAGS"
6432
CXXFLAGS="$CXXFLAGS -Wl,--allow-shlib-undefined"
6433
cat >conftest.$ac_ext <<_ACEOF
6436
cat confdefs.h >>conftest.$ac_ext
6437
cat >>conftest.$ac_ext <<_ACEOF
6438
/* end confdefs.h. */
6448
rm -f conftest.$ac_objext conftest$ac_exeext
6449
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6450
(eval $ac_link) 2>conftest.er1
6452
grep -v '^ *+' conftest.er1 >conftest.err
6454
cat conftest.err >&5
6455
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6456
(exit $ac_status); } &&
6457
{ ac_try='test -z "$ac_cxx_werror_flag"
6458
|| test ! -s conftest.err'
6459
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6462
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6463
(exit $ac_status); }; } &&
6464
{ ac_try='test -s conftest$ac_exeext'
6465
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6468
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6469
(exit $ac_status); }; }; then
6470
eval "kde_cv_prog_cxx_$kde_cache=yes"
6472
echo "$as_me: failed program was:" >&5
6473
sed 's/^/| /' conftest.$ac_ext >&5
6476
rm -f conftest.err conftest.$ac_objext \
6477
conftest$ac_exeext conftest.$ac_ext
6478
CXXFLAGS="$save_CXXFLAGS"
6480
ac_cpp='$CPP $CPPFLAGS'
6481
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6482
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6483
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6488
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6489
echo "$as_me:$LINENO: result: yes" >&5
6490
echo "${ECHO_T}yes" >&6
6492
KDE_NO_UNDEFINED="-Wl,--no-undefined -Wl,--allow-shlib-undefined"
6494
echo "$as_me:$LINENO: result: no" >&5
6495
echo "${ECHO_T}no" >&6
6501
echo "$as_me:$LINENO: result: no" >&5
6502
echo "${ECHO_T}no" >&6
6515
# Check whether --enable-nmcheck or --disable-nmcheck was given.
6516
if test "${enable_nmcheck+set}" = set; then
6517
enableval="$enable_nmcheck"
6518
kde_use_nmcheck=$enableval
6523
if test "$kde_use_nmcheck" = "yes"; then
6524
KDE_USE_NMCHECK_TRUE=""
6525
KDE_USE_NMCHECK_FALSE="#"
6527
KDE_USE_NMCHECK_TRUE="#"
6528
KDE_USE_NMCHECK_FALSE=""
6536
# Check whether --enable-shared or --disable-shared was given.
6537
if test "${enable_shared+set}" = set; then
6538
enableval="$enable_shared"
6539
p=${PACKAGE-default}
6541
yes) enable_shared=yes ;;
6542
no) enable_shared=no ;;
6545
# Look at the argument we got. We use all the common list separators.
6546
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6547
for pkg in $enableval; do
6549
if test "X$pkg" = "X$p"; then
6560
# Check whether --enable-static or --disable-static was given.
6561
if test "${enable_static+set}" = set; then
6562
enableval="$enable_static"
6563
p=${PACKAGE-default}
6565
yes) enable_static=yes ;;
6566
no) enable_static=no ;;
6569
# Look at the argument we got. We use all the common list separators.
6570
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6571
for pkg in $enableval; do
6573
if test "X$pkg" = "X$p"; then
6587
kdelibsuff="$kde_libs_suffix"
6588
if test -z "$kdelibsuff"; then
6591
# Check whether --enable-libsuffix or --disable-libsuffix was given.
6592
if test "${enable_libsuffix+set}" = set; then
6593
enableval="$enable_libsuffix"
6594
kdelibsuff=$enableval
6596
# TODO: add an auto case that compiles a little C app to check
6597
# where the glibc is
6598
if test "$kdelibsuff" = "no"; then
6601
if test -z "$kdelibsuff"; then
6602
echo "$as_me:$LINENO: result: not using lib directory suffix" >&5
6603
echo "${ECHO_T}not using lib directory suffix" >&6
6605
cat >>confdefs.h <<\_ACEOF
6606
#define KDELIBSUFF ""
6610
if test "$libdir" = '${exec_prefix}/lib'; then
6611
libdir="$libdir${kdelibsuff}"
6615
cat >>confdefs.h <<_ACEOF
6616
#define KDELIBSUFF "${kdelibsuff}"
6619
echo "$as_me:$LINENO: result: using lib directory suffix $kdelibsuff" >&5
6620
echo "${ECHO_T}using lib directory suffix $kdelibsuff" >&6
6623
# Check whether --enable-fast-install or --disable-fast-install was given.
6624
if test "${enable_fast_install+set}" = set; then
6625
enableval="$enable_fast_install"
6626
p=${PACKAGE-default}
6628
yes) enable_fast_install=yes ;;
6629
no) enable_fast_install=no ;;
6631
enable_fast_install=no
6632
# Look at the argument we got. We use all the common list separators.
6633
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6634
for pkg in $enableval; do
6636
if test "X$pkg" = "X$p"; then
6637
enable_fast_install=yes
6644
enable_fast_install=yes
6647
echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
6648
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
6649
if test "${lt_cv_path_SED+set}" = set; then
6650
echo $ECHO_N "(cached) $ECHO_C" >&6
6652
# Loop through the user's path and test for sed and gsed.
6653
# Then use that list of sed's as ones to test for truncation.
6654
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6658
test -z "$as_dir" && as_dir=.
6659
for lt_ac_prog in sed gsed; do
6660
for ac_exec_ext in '' $ac_executable_extensions; do
6661
if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
6662
lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
6669
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
6670
# along with /bin/sed that truncates output.
6671
for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
6672
test ! -f $lt_ac_sed && break
6673
cat /dev/null > conftest.in
6675
echo $ECHO_N "0123456789$ECHO_C" >conftest.in
6676
# Check for GNU sed and select it if it is found.
6677
if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
6678
lt_cv_path_SED=$lt_ac_sed
6682
cat conftest.in conftest.in >conftest.tmp
6683
mv conftest.tmp conftest.in
6684
cp conftest.in conftest.nl
6686
$lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
6687
cmp -s conftest.out conftest.nl || break
6688
# 10000 chars as input seems more than enough
6689
test $lt_ac_count -gt 10 && break
6690
lt_ac_count=`expr $lt_ac_count + 1`
6691
if test $lt_ac_count -gt $lt_ac_max; then
6692
lt_ac_max=$lt_ac_count
6693
lt_cv_path_SED=$lt_ac_sed
6701
echo "$as_me:$LINENO: result: $SED" >&5
6702
echo "${ECHO_T}$SED" >&6
6704
echo "$as_me:$LINENO: checking for egrep" >&5
6705
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
6706
if test "${ac_cv_prog_egrep+set}" = set; then
6707
echo $ECHO_N "(cached) $ECHO_C" >&6
6709
if echo a | (grep -E '(a|b)') >/dev/null 2>&1
6710
then ac_cv_prog_egrep='grep -E'
6711
else ac_cv_prog_egrep='egrep'
6714
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
6715
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
6716
EGREP=$ac_cv_prog_egrep
6720
# Check whether --with-gnu-ld or --without-gnu-ld was given.
6721
if test "${with_gnu_ld+set}" = set; then
6722
withval="$with_gnu_ld"
6723
test "$withval" = no || with_gnu_ld=yes
6728
if test "$GCC" = yes; then
6729
# Check if gcc -print-prog-name=ld gives a path.
6730
echo "$as_me:$LINENO: checking for ld used by $CC" >&5
6731
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
6734
# gcc leaves a trailing carriage return which upsets mingw
6735
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6737
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6740
# Accept absolute paths.
6742
re_direlt='/[^/][^/]*/\.\./'
6743
# Canonicalize the pathname of ld
6744
ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
6745
while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
6746
ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
6748
test -z "$LD" && LD="$ac_prog"
6751
# If it fails, then pretend we aren't using GCC.
6755
# If it is relative, then search for the first ld in PATH.
6759
elif test "$with_gnu_ld" = yes; then
6760
echo "$as_me:$LINENO: checking for GNU ld" >&5
6761
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
6763
echo "$as_me:$LINENO: checking for non-GNU ld" >&5
6764
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
6766
if test "${lt_cv_path_LD+set}" = set; then
6767
echo $ECHO_N "(cached) $ECHO_C" >&6
6769
if test -z "$LD"; then
6770
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6771
for ac_dir in $PATH; do
6773
test -z "$ac_dir" && ac_dir=.
6774
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6775
lt_cv_path_LD="$ac_dir/$ac_prog"
6776
# Check to see if the program is GNU ld. I'd rather use --version,
6777
# but apparently some GNU ld's only accept -v.
6778
# Break only if it was the GNU/non-GNU ld that we prefer.
6779
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6780
*GNU* | *'with BFD'*)
6781
test "$with_gnu_ld" != no && break
6784
test "$with_gnu_ld" != yes && break
6791
lt_cv_path_LD="$LD" # Let the user override the test with a path.
6796
if test -n "$LD"; then
6797
echo "$as_me:$LINENO: result: $LD" >&5
6798
echo "${ECHO_T}$LD" >&6
6800
echo "$as_me:$LINENO: result: no" >&5
6801
echo "${ECHO_T}no" >&6
6803
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
6804
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
6805
{ (exit 1); exit 1; }; }
6806
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
6807
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
6808
if test "${lt_cv_prog_gnu_ld+set}" = set; then
6809
echo $ECHO_N "(cached) $ECHO_C" >&6
6811
# I'd rather use --version here, but apparently some GNU ld's only accept -v.
6812
case `$LD -v 2>&1 </dev/null` in
6813
*GNU* | *'with BFD'*)
6814
lt_cv_prog_gnu_ld=yes
6817
lt_cv_prog_gnu_ld=no
6821
echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
6822
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
6823
with_gnu_ld=$lt_cv_prog_gnu_ld
6826
echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
6827
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
6828
if test "${lt_cv_ld_reload_flag+set}" = set; then
6829
echo $ECHO_N "(cached) $ECHO_C" >&6
6831
lt_cv_ld_reload_flag='-r'
6833
echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
6834
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
6835
reload_flag=$lt_cv_ld_reload_flag
6836
case $reload_flag in
6838
*) reload_flag=" $reload_flag" ;;
6840
reload_cmds='$LD$reload_flag -o $output$reload_objs'
6842
echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
6843
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
6844
if test "${lt_cv_path_NM+set}" = set; then
6845
echo $ECHO_N "(cached) $ECHO_C" >&6
6847
if test -n "$NM"; then
6848
# Let the user override the test.
6851
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6852
for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
6854
test -z "$ac_dir" && ac_dir=.
6855
tmp_nm="$ac_dir/${ac_tool_prefix}nm"
6856
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6857
# Check to see if the nm accepts a BSD-compat flag.
6858
# Adding the `sed 1q' prevents false positives on HP-UX, which says:
6859
# nm: unknown option "B" ignored
6860
# Tru64's nm complains that /dev/null is an invalid object file
6861
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6862
*/dev/null* | *'Invalid file or object type'*)
6863
lt_cv_path_NM="$tmp_nm -B"
6867
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6869
lt_cv_path_NM="$tmp_nm -p"
6873
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6874
continue # so that we can try to find one that supports BSD flags
6881
test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
6884
echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
6885
echo "${ECHO_T}$lt_cv_path_NM" >&6
6888
echo "$as_me:$LINENO: checking whether ln -s works" >&5
6889
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
6891
if test "$LN_S" = "ln -s"; then
6892
echo "$as_me:$LINENO: result: yes" >&5
6893
echo "${ECHO_T}yes" >&6
6895
echo "$as_me:$LINENO: result: no, using $LN_S" >&5
6896
echo "${ECHO_T}no, using $LN_S" >&6
6899
echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
6900
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
6901
if test "${lt_cv_deplibs_check_method+set}" = set; then
6902
echo $ECHO_N "(cached) $ECHO_C" >&6
6904
lt_cv_file_magic_cmd='$MAGIC_CMD'
6905
lt_cv_file_magic_test_file=
6906
lt_cv_deplibs_check_method='unknown'
6907
# Need to set the preceding variable on all platforms that support
6908
# interlibrary dependencies.
6909
# 'none' -- dependencies not supported.
6910
# `unknown' -- same as none, but documents that we really don't know.
6911
# 'pass_all' -- all dependencies passed with no checks.
6912
# 'test_compile' -- check by making test program.
6913
# 'file_magic [[regex]]' -- check by looking for files in library path
6914
# which responds to the $file_magic_cmd with a given extended regex.
6915
# If you have `file' or equivalent on your system and you're not sure
6916
# whether `pass_all' will *always* work, you probably want this one.
6920
lt_cv_deplibs_check_method=pass_all
6924
lt_cv_deplibs_check_method=pass_all
6928
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6929
lt_cv_file_magic_cmd='/usr/bin/file -L'
6930
lt_cv_file_magic_test_file=/shlib/libc.so
6934
lt_cv_deplibs_check_method=pass_all
6938
# win32_libid is a shell function defined in ltmain.sh
6939
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6940
lt_cv_file_magic_cmd='win32_libid'
6943
darwin* | rhapsody*)
6944
# this will be overwritten by pass_all, but leave it in just in case
6945
lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
6946
lt_cv_file_magic_cmd='/usr/bin/file -L'
6948
rhapsody* | darwin1.[012])
6949
lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System`
6952
lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
6955
lt_cv_deplibs_check_method=pass_all
6959
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
6962
# Not sure whether the presence of OpenBSD here was a mistake.
6963
# Let's accept both of them until this is cleared up.
6964
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
6965
lt_cv_file_magic_cmd=/usr/bin/file
6966
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6970
lt_cv_deplibs_check_method=pass_all
6975
lt_cv_deplibs_check_method=pass_all
6978
hpux10.20* | hpux11*)
6979
lt_cv_file_magic_cmd=/usr/bin/file
6982
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6983
lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6986
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]'
6987
lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6990
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6991
lt_cv_file_magic_test_file=/usr/lib/libc.sl
6996
irix5* | irix6* | nonstopux*)
6998
irix5* | nonstopux*)
6999
# this will be overridden with pass_all, but let us keep it just in case
7000
lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
7004
*-32|*"-32 ") libmagic=32-bit;;
7005
*-n32|*"-n32 ") libmagic=N32;;
7006
*-64|*"-64 ") libmagic=64-bit;;
7007
*) libmagic=never-match;;
7009
# this will be overridden with pass_all, but let us keep it just in case
7010
lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
7013
lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
7014
lt_cv_deplibs_check_method=pass_all
7017
# This must be Linux ELF.
7020
alpha* | hppa* | i*86 | ia64* | m68* | mips* | powerpc* | sparc* | s390* | sh* | x86_64* )
7021
lt_cv_deplibs_check_method=pass_all ;;
7022
# the debian people say, arm and glibc 2.3.1 works for them with pass_all
7024
lt_cv_deplibs_check_method=pass_all ;;
7026
# glibc up to 2.1.1 does not perform some relocations on ARM
7027
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
7029
lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
7033
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
7034
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7036
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7041
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7042
lt_cv_file_magic_cmd=/usr/bin/file
7043
lt_cv_file_magic_test_file=/usr/lib/libnls.so
7047
lt_cv_deplibs_check_method=unknown
7051
lt_cv_file_magic_cmd=/usr/bin/file
7052
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7053
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7054
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
7056
lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
7060
osf3* | osf4* | osf5*)
7061
# this will be overridden with pass_all, but let us keep it just in case
7062
lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
7063
lt_cv_file_magic_test_file=/shlib/libc.so
7064
lt_cv_deplibs_check_method=pass_all
7068
lt_cv_deplibs_check_method=pass_all
7072
lt_cv_deplibs_check_method=pass_all
7073
lt_cv_file_magic_test_file=/lib/libc.so
7076
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
7077
case $host_vendor in
7079
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]'
7080
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7083
lt_cv_deplibs_check_method=pass_all
7086
lt_cv_file_magic_cmd='/bin/file'
7087
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7090
lt_cv_file_magic_cmd='/bin/file'
7091
lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7092
lt_cv_file_magic_test_file=/lib/libc.so
7095
lt_cv_deplibs_check_method=pass_all
7100
sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
7101
lt_cv_deplibs_check_method=pass_all
7106
echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
7107
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
7108
file_magic_cmd=$lt_cv_file_magic_cmd
7109
deplibs_check_method=$lt_cv_deplibs_check_method
7110
test -z "$deplibs_check_method" && deplibs_check_method=unknown
7113
# If no C compiler was specified, use CC.
7116
# Allow CC to be a program name with arguments.
7119
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
7120
if test "${enable_libtool_lock+set}" = set; then
7121
enableval="$enable_libtool_lock"
7124
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7126
# Some flags need to be propagated to the compiler or linker for good
7130
# Find out which ABI we are using.
7131
echo 'int i;' > conftest.$ac_ext
7132
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7133
(eval $ac_compile) 2>&5
7135
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7136
(exit $ac_status); }; then
7137
case `/usr/bin/file conftest.$ac_objext` in
7149
# Find out which ABI we are using.
7150
echo '#line 7150 "configure"' > conftest.$ac_ext
7151
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7152
(eval $ac_compile) 2>&5
7154
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7155
(exit $ac_status); }; then
7156
if test "$lt_cv_prog_gnu_ld" = yes; then
7157
case `/usr/bin/file conftest.$ac_objext` in
7159
LD="${LD-ld} -melf32bsmip"
7162
LD="${LD-ld} -melf32bmipn32"
7165
LD="${LD-ld} -melf64bmip"
7169
case `/usr/bin/file conftest.$ac_objext` in
7185
x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
7186
# Find out which ABI we are using.
7187
echo 'int i;' > conftest.$ac_ext
7188
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7189
(eval $ac_compile) 2>&5
7191
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7192
(exit $ac_status); }; then
7193
case "`/usr/bin/file conftest.o`" in
7198
LD="${LD-ld} -m elf_i386"
7201
LD="${LD-ld} -m elf32ppclinux"
7204
LD="${LD-ld} -m elf_s390"
7207
LD="${LD-ld} -m elf32_sparc"
7215
LD="${LD-ld} -m elf_x86_64"
7217
ppc*-*linux*|powerpc*-*linux*)
7218
LD="${LD-ld} -m elf64ppc"
7221
LD="${LD-ld} -m elf64_s390"
7224
LD="${LD-ld} -m elf64_sparc"
7234
# On SCO OpenServer 5, we need -belf to get full-featured binaries.
7235
SAVE_CFLAGS="$CFLAGS"
7236
CFLAGS="$CFLAGS -belf"
7237
echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
7238
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
7239
if test "${lt_cv_cc_needs_belf+set}" = set; then
7240
echo $ECHO_N "(cached) $ECHO_C" >&6
7243
ac_cpp='$CPP $CPPFLAGS'
7244
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7245
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7246
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7248
cat >conftest.$ac_ext <<_ACEOF
7251
cat confdefs.h >>conftest.$ac_ext
7252
cat >>conftest.$ac_ext <<_ACEOF
7253
/* end confdefs.h. */
7263
rm -f conftest.$ac_objext conftest$ac_exeext
7264
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7265
(eval $ac_link) 2>conftest.er1
7267
grep -v '^ *+' conftest.er1 >conftest.err
7269
cat conftest.err >&5
7270
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7271
(exit $ac_status); } &&
7272
{ ac_try='test -z "$ac_c_werror_flag"
7273
|| test ! -s conftest.err'
7274
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7277
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7278
(exit $ac_status); }; } &&
7279
{ ac_try='test -s conftest$ac_exeext'
7280
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7283
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7284
(exit $ac_status); }; }; then
7285
lt_cv_cc_needs_belf=yes
7287
echo "$as_me: failed program was:" >&5
7288
sed 's/^/| /' conftest.$ac_ext >&5
7290
lt_cv_cc_needs_belf=no
7292
rm -f conftest.err conftest.$ac_objext \
7293
conftest$ac_exeext conftest.$ac_ext
7295
ac_cpp='$CPP $CPPFLAGS'
7296
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7297
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7298
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7301
echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
7302
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
7303
if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7304
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7305
CFLAGS="$SAVE_CFLAGS"
7311
need_locks="$enable_libtool_lock"
7315
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7316
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
7317
if test "${ac_cv_header_stdc+set}" = set; then
7318
echo $ECHO_N "(cached) $ECHO_C" >&6
7320
cat >conftest.$ac_ext <<_ACEOF
7323
cat confdefs.h >>conftest.$ac_ext
7324
cat >>conftest.$ac_ext <<_ACEOF
7325
/* end confdefs.h. */
7339
rm -f conftest.$ac_objext
7340
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7341
(eval $ac_compile) 2>conftest.er1
7343
grep -v '^ *+' conftest.er1 >conftest.err
7345
cat conftest.err >&5
7346
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7347
(exit $ac_status); } &&
7348
{ ac_try='test -z "$ac_c_werror_flag"
7349
|| test ! -s conftest.err'
7350
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7353
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7354
(exit $ac_status); }; } &&
7355
{ ac_try='test -s conftest.$ac_objext'
7356
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7359
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7360
(exit $ac_status); }; }; then
7361
ac_cv_header_stdc=yes
7363
echo "$as_me: failed program was:" >&5
7364
sed 's/^/| /' conftest.$ac_ext >&5
7366
ac_cv_header_stdc=no
7368
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7370
if test $ac_cv_header_stdc = yes; then
7371
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7372
cat >conftest.$ac_ext <<_ACEOF
7375
cat confdefs.h >>conftest.$ac_ext
7376
cat >>conftest.$ac_ext <<_ACEOF
7377
/* end confdefs.h. */
7381
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7382
$EGREP "memchr" >/dev/null 2>&1; then
7385
ac_cv_header_stdc=no
7391
if test $ac_cv_header_stdc = yes; then
7392
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7393
cat >conftest.$ac_ext <<_ACEOF
7396
cat confdefs.h >>conftest.$ac_ext
7397
cat >>conftest.$ac_ext <<_ACEOF
7398
/* end confdefs.h. */
7402
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7403
$EGREP "free" >/dev/null 2>&1; then
7406
ac_cv_header_stdc=no
7412
if test $ac_cv_header_stdc = yes; then
7413
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7414
if test "$cross_compiling" = yes; then
7417
cat >conftest.$ac_ext <<_ACEOF
7420
cat confdefs.h >>conftest.$ac_ext
7421
cat >>conftest.$ac_ext <<_ACEOF
7422
/* end confdefs.h. */
7424
#if ((' ' & 0x0FF) == 0x020)
7425
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7426
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7428
# define ISLOWER(c) \
7429
(('a' <= (c) && (c) <= 'i') \
7430
|| ('j' <= (c) && (c) <= 'r') \
7431
|| ('s' <= (c) && (c) <= 'z'))
7432
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7435
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7440
for (i = 0; i < 256; i++)
7441
if (XOR (islower (i), ISLOWER (i))
7442
|| toupper (i) != TOUPPER (i))
7447
rm -f conftest$ac_exeext
7448
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7449
(eval $ac_link) 2>&5
7451
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7452
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7453
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7456
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7457
(exit $ac_status); }; }; then
7460
echo "$as_me: program exited with status $ac_status" >&5
7461
echo "$as_me: failed program was:" >&5
7462
sed 's/^/| /' conftest.$ac_ext >&5
7465
ac_cv_header_stdc=no
7467
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7471
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7472
echo "${ECHO_T}$ac_cv_header_stdc" >&6
7473
if test $ac_cv_header_stdc = yes; then
7475
cat >>confdefs.h <<\_ACEOF
7476
#define STDC_HEADERS 1
7481
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7491
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7492
inttypes.h stdint.h unistd.h
7494
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7495
echo "$as_me:$LINENO: checking for $ac_header" >&5
7496
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7497
if eval "test \"\${$as_ac_Header+set}\" = set"; then
7498
echo $ECHO_N "(cached) $ECHO_C" >&6
7500
cat >conftest.$ac_ext <<_ACEOF
7503
cat confdefs.h >>conftest.$ac_ext
7504
cat >>conftest.$ac_ext <<_ACEOF
7505
/* end confdefs.h. */
7506
$ac_includes_default
7508
#include <$ac_header>
7510
rm -f conftest.$ac_objext
7511
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7512
(eval $ac_compile) 2>conftest.er1
7514
grep -v '^ *+' conftest.er1 >conftest.err
7516
cat conftest.err >&5
7517
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7518
(exit $ac_status); } &&
7519
{ ac_try='test -z "$ac_c_werror_flag"
7520
|| test ! -s conftest.err'
7521
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7524
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7525
(exit $ac_status); }; } &&
7526
{ ac_try='test -s conftest.$ac_objext'
7527
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7530
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7531
(exit $ac_status); }; }; then
7532
eval "$as_ac_Header=yes"
7534
echo "$as_me: failed program was:" >&5
7535
sed 's/^/| /' conftest.$ac_ext >&5
7537
eval "$as_ac_Header=no"
7539
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7541
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7542
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7543
if test `eval echo '${'$as_ac_Header'}'` = yes; then
7544
cat >>confdefs.h <<_ACEOF
7545
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7554
for ac_header in dlfcn.h
7556
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7557
if eval "test \"\${$as_ac_Header+set}\" = set"; then
7558
echo "$as_me:$LINENO: checking for $ac_header" >&5
7559
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7560
if eval "test \"\${$as_ac_Header+set}\" = set"; then
7561
echo $ECHO_N "(cached) $ECHO_C" >&6
7563
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7564
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7566
# Is the header compilable?
7567
echo "$as_me:$LINENO: checking $ac_header usability" >&5
7568
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7569
cat >conftest.$ac_ext <<_ACEOF
7572
cat confdefs.h >>conftest.$ac_ext
7573
cat >>conftest.$ac_ext <<_ACEOF
7574
/* end confdefs.h. */
7575
$ac_includes_default
7576
#include <$ac_header>
7578
rm -f conftest.$ac_objext
7579
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7580
(eval $ac_compile) 2>conftest.er1
7582
grep -v '^ *+' conftest.er1 >conftest.err
7584
cat conftest.err >&5
7585
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7586
(exit $ac_status); } &&
7587
{ ac_try='test -z "$ac_c_werror_flag"
7588
|| test ! -s conftest.err'
7589
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7592
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7593
(exit $ac_status); }; } &&
7594
{ ac_try='test -s conftest.$ac_objext'
7595
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7598
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7599
(exit $ac_status); }; }; then
7600
ac_header_compiler=yes
7602
echo "$as_me: failed program was:" >&5
7603
sed 's/^/| /' conftest.$ac_ext >&5
7605
ac_header_compiler=no
7607
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7608
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7609
echo "${ECHO_T}$ac_header_compiler" >&6
7611
# Is the header present?
7612
echo "$as_me:$LINENO: checking $ac_header presence" >&5
7613
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7614
cat >conftest.$ac_ext <<_ACEOF
7617
cat confdefs.h >>conftest.$ac_ext
7618
cat >>conftest.$ac_ext <<_ACEOF
7619
/* end confdefs.h. */
7620
#include <$ac_header>
7622
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7623
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7625
grep -v '^ *+' conftest.er1 >conftest.err
7627
cat conftest.err >&5
7628
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7629
(exit $ac_status); } >/dev/null; then
7630
if test -s conftest.err; then
7631
ac_cpp_err=$ac_c_preproc_warn_flag
7632
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7639
if test -z "$ac_cpp_err"; then
7640
ac_header_preproc=yes
7642
echo "$as_me: failed program was:" >&5
7643
sed 's/^/| /' conftest.$ac_ext >&5
7645
ac_header_preproc=no
7647
rm -f conftest.err conftest.$ac_ext
7648
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7649
echo "${ECHO_T}$ac_header_preproc" >&6
7651
# So? What about this header?
7652
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7654
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7655
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7656
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7657
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7658
ac_header_preproc=yes
7661
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7662
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7663
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7664
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7665
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7666
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7667
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7668
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7669
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7670
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7671
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7672
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7675
## ------------------------------------------ ##
7676
## Report this to the AC_PACKAGE_NAME lists. ##
7677
## ------------------------------------------ ##
7680
sed "s/^/$as_me: WARNING: /" >&2
7683
echo "$as_me:$LINENO: checking for $ac_header" >&5
7684
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7685
if eval "test \"\${$as_ac_Header+set}\" = set"; then
7686
echo $ECHO_N "(cached) $ECHO_C" >&6
7688
eval "$as_ac_Header=\$ac_header_preproc"
7690
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7691
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7694
if test `eval echo '${'$as_ac_Header'}'` = yes; then
7695
cat >>confdefs.h <<_ACEOF
7696
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7704
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
7705
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7706
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
7707
if test -n "$ac_tool_prefix"; then
7708
for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
7710
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7711
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7712
echo "$as_me:$LINENO: checking for $ac_word" >&5
7713
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7714
if test "${ac_cv_prog_F77+set}" = set; then
7715
echo $ECHO_N "(cached) $ECHO_C" >&6
7717
if test -n "$F77"; then
7718
ac_cv_prog_F77="$F77" # Let the user override the test.
7720
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7724
test -z "$as_dir" && as_dir=.
7725
for ac_exec_ext in '' $ac_executable_extensions; do
7726
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7727
ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
7728
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7737
if test -n "$F77"; then
7738
echo "$as_me:$LINENO: result: $F77" >&5
7739
echo "${ECHO_T}$F77" >&6
7741
echo "$as_me:$LINENO: result: no" >&5
7742
echo "${ECHO_T}no" >&6
7745
test -n "$F77" && break
7748
if test -z "$F77"; then
7750
for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
7752
# Extract the first word of "$ac_prog", so it can be a program name with args.
7753
set dummy $ac_prog; ac_word=$2
7754
echo "$as_me:$LINENO: checking for $ac_word" >&5
7755
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7756
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
7757
echo $ECHO_N "(cached) $ECHO_C" >&6
7759
if test -n "$ac_ct_F77"; then
7760
ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
7762
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7766
test -z "$as_dir" && as_dir=.
7767
for ac_exec_ext in '' $ac_executable_extensions; do
7768
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7769
ac_cv_prog_ac_ct_F77="$ac_prog"
7770
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7778
ac_ct_F77=$ac_cv_prog_ac_ct_F77
7779
if test -n "$ac_ct_F77"; then
7780
echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
7781
echo "${ECHO_T}$ac_ct_F77" >&6
7783
echo "$as_me:$LINENO: result: no" >&5
7784
echo "${ECHO_T}no" >&6
7787
test -n "$ac_ct_F77" && break
7794
# Provide some information about the compiler.
7795
echo "$as_me:7795:" \
7796
"checking for Fortran 77 compiler version" >&5
7797
ac_compiler=`set X $ac_compile; echo $2`
7798
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
7799
(eval $ac_compiler --version </dev/null >&5) 2>&5
7801
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7802
(exit $ac_status); }
7803
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
7804
(eval $ac_compiler -v </dev/null >&5) 2>&5
7806
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7807
(exit $ac_status); }
7808
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
7809
(eval $ac_compiler -V </dev/null >&5) 2>&5
7811
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7812
(exit $ac_status); }
7815
# If we don't use `.F' as extension, the preprocessor is not run on the
7816
# input file. (Note that this only needs to work for GNU compilers.)
7819
echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
7820
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
7821
if test "${ac_cv_f77_compiler_gnu+set}" = set; then
7822
echo $ECHO_N "(cached) $ECHO_C" >&6
7824
cat >conftest.$ac_ext <<_ACEOF
7832
rm -f conftest.$ac_objext
7833
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7834
(eval $ac_compile) 2>conftest.er1
7836
grep -v '^ *+' conftest.er1 >conftest.err
7838
cat conftest.err >&5
7839
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7840
(exit $ac_status); } &&
7841
{ ac_try='test -z "$ac_f77_werror_flag"
7842
|| test ! -s conftest.err'
7843
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7846
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7847
(exit $ac_status); }; } &&
7848
{ ac_try='test -s conftest.$ac_objext'
7849
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7852
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7853
(exit $ac_status); }; }; then
7856
echo "$as_me: failed program was:" >&5
7857
sed 's/^/| /' conftest.$ac_ext >&5
7861
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7862
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
7865
echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
7866
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
7868
ac_test_FFLAGS=${FFLAGS+set}
7869
ac_save_FFLAGS=$FFLAGS
7871
echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
7872
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
7873
if test "${ac_cv_prog_f77_g+set}" = set; then
7874
echo $ECHO_N "(cached) $ECHO_C" >&6
7877
cat >conftest.$ac_ext <<_ACEOF
7882
rm -f conftest.$ac_objext
7883
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7884
(eval $ac_compile) 2>conftest.er1
7886
grep -v '^ *+' conftest.er1 >conftest.err
7888
cat conftest.err >&5
7889
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7890
(exit $ac_status); } &&
7891
{ ac_try='test -z "$ac_f77_werror_flag"
7892
|| test ! -s conftest.err'
7893
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7896
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7897
(exit $ac_status); }; } &&
7898
{ ac_try='test -s conftest.$ac_objext'
7899
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7902
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7903
(exit $ac_status); }; }; then
7904
ac_cv_prog_f77_g=yes
7906
echo "$as_me: failed program was:" >&5
7907
sed 's/^/| /' conftest.$ac_ext >&5
7911
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7914
echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
7915
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
7916
if test "$ac_test_FFLAGS" = set; then
7917
FFLAGS=$ac_save_FFLAGS
7918
elif test $ac_cv_prog_f77_g = yes; then
7919
if test "x$ac_cv_f77_compiler_gnu" = xyes; then
7925
if test "x$ac_cv_f77_compiler_gnu" = xyes; then
7932
G77=`test $ac_compiler_gnu = yes && echo yes`
7934
ac_cpp='$CPP $CPPFLAGS'
7935
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7936
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7937
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7941
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
7943
# find the maximum length of command line arguments
7944
echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
7945
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
7946
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
7947
echo $ECHO_N "(cached) $ECHO_C" >&6
7954
# On DJGPP, this test can blow up pretty badly due to problems in libc
7955
# (any single argument exceeding 2000 bytes causes a buffer overrun
7956
# during glob expansion). Even if it were fixed, the result of this
7957
# check would be larger than it should be.
7958
lt_cv_sys_max_cmd_len=12288; # 12K is about right
7962
# Under GNU Hurd, this test is not required because there is
7963
# no limit to the length of command line arguments.
7964
# Libtool will interpret -1 as no limit whatsoever
7965
lt_cv_sys_max_cmd_len=-1;
7969
# On Win9x/ME, this test blows up -- it succeeds, but takes
7970
# about 5 minutes as the teststring grows exponentially.
7971
# Worse, since 9x/ME are not pre-emptively multitasking,
7972
# you end up with a "frozen" computer, even though with patience
7973
# the test eventually succeeds (with a max line length of 256k).
7974
# Instead, let's just punt: use the minimum linelength reported by
7975
# all of the supported platforms: 8192 (on NT/2K/XP).
7976
lt_cv_sys_max_cmd_len=8192;
7980
# If test is not a shell built-in, we'll probably end up computing a
7981
# maximum length that is only half of the actual maximum length, but
7983
while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \
7984
= "XX$testring") >/dev/null 2>&1 &&
7985
new_result=`expr "X$testring" : ".*" 2>&1` &&
7986
lt_cv_sys_max_cmd_len=$new_result &&
7987
test $i != 17 # 1/2 MB should be enough
7990
testring=$testring$testring
7993
# Add a significant safety factor because C++ compilers can tack on massive
7994
# amounts of additional arguments before passing them to the linker.
7995
# It appears as though 1/2 is a usable value.
7996
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
8002
if test -n $lt_cv_sys_max_cmd_len ; then
8003
echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
8004
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
8006
echo "$as_me:$LINENO: result: none" >&5
8007
echo "${ECHO_T}none" >&6
8013
# Check for command to grab the raw symbol name followed by C symbol from nm.
8014
echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
8015
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
8016
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
8017
echo $ECHO_N "(cached) $ECHO_C" >&6
8020
# These are sane defaults that work on at least a few old systems.
8021
# [They come from Ultrix. What could be older than Ultrix?!! ;)]
8023
# Character class describing NM global symbol codes.
8024
symcode='[BCDEGRST]'
8026
# Regexp to match symbols that can be accessed directly from C.
8027
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
8029
# Transform the above into a raw symbol and a C symbol.
8030
symxfrm='\1 \2\3 \3'
8032
# Transform an extracted symbol line into a proper C declaration
8033
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
8035
# Transform an extracted symbol line into symbol name and symbol address
8036
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'"
8038
# Define system-specific variables.
8043
cygwin* | mingw* | pw32*)
8044
symcode='[ABCDGISTW]'
8046
hpux*) # Its linker distinguishes data from code symbols
8047
if test "$host_cpu" = ia64; then
8048
symcode='[ABCDEGRST]'
8050
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8051
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'"
8054
symcode='[BCDEGRST]'
8057
symcode='[BCDEGQRST]'
8067
# Handle CRLF in mingw tool chain
8071
opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8075
# If we're using GNU nm, then use its standard symbol codes.
8076
case `$NM -V 2>&1` in
8077
*GNU* | *'with BFD'*)
8078
symcode='[ABCDGISTW]' ;;
8081
# Try without a prefix undercore, then with it.
8082
for ac_symprfx in "" "_"; do
8084
# Write the raw and C identifiers.
8085
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
8087
# Check to see that the pipe works correctly.
8091
cat > conftest.$ac_ext <<EOF
8096
void nm_test_func(){}
8100
int main(){nm_test_var='a';nm_test_func();return(0);}
8103
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8104
(eval $ac_compile) 2>&5
8106
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8107
(exit $ac_status); }; then
8108
# Now try to grab the symbols.
8110
if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
8111
(eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
8113
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8114
(exit $ac_status); } && test -s "$nlist"; then
8115
# Try sorting and uniquifying the output.
8116
if sort "$nlist" | uniq > "$nlist"T; then
8117
mv -f "$nlist"T "$nlist"
8122
# Make sure that we snagged all the symbols we need.
8123
if grep ' nm_test_var$' "$nlist" >/dev/null; then
8124
if grep ' nm_test_func$' "$nlist" >/dev/null; then
8125
cat <<EOF > conftest.$ac_ext
8131
# Now generate the symbol file.
8132
eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
8134
cat <<EOF >> conftest.$ac_ext
8135
#if defined (__STDC__) && __STDC__
8136
# define lt_ptr_t void *
8138
# define lt_ptr_t char *
8142
/* The mapping between symbol names and symbols. */
8147
lt_preloaded_symbols[] =
8150
$SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
8151
cat <<\EOF >> conftest.$ac_ext
8159
# Now try linking the two files.
8160
mv conftest.$ac_objext conftstm.$ac_objext
8161
lt_save_LIBS="$LIBS"
8162
lt_save_CFLAGS="$CFLAGS"
8163
LIBS="conftstm.$ac_objext"
8164
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8165
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8166
(eval $ac_link) 2>&5
8168
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8169
(exit $ac_status); } && test -s conftest${ac_exeext}; then
8172
LIBS="$lt_save_LIBS"
8173
CFLAGS="$lt_save_CFLAGS"
8175
echo "cannot find nm_test_func in $nlist" >&5
8178
echo "cannot find nm_test_var in $nlist" >&5
8181
echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8184
echo "$progname: failed program was:" >&5
8185
cat conftest.$ac_ext >&5
8187
rm -f conftest* conftst*
8189
# Do not use the global_symbol_pipe unless it works.
8190
if test "$pipe_works" = yes; then
8193
lt_cv_sys_global_symbol_pipe=
8199
if test -z "$lt_cv_sys_global_symbol_pipe"; then
8200
lt_cv_sys_global_symbol_to_cdecl=
8202
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8203
echo "$as_me:$LINENO: result: failed" >&5
8204
echo "${ECHO_T}failed" >&6
8206
echo "$as_me:$LINENO: result: ok" >&5
8207
echo "${ECHO_T}ok" >&6
8210
echo "$as_me:$LINENO: checking for objdir" >&5
8211
echo $ECHO_N "checking for objdir... $ECHO_C" >&6
8212
if test "${lt_cv_objdir+set}" = set; then
8213
echo $ECHO_N "(cached) $ECHO_C" >&6
8215
rm -f .libs 2>/dev/null
8216
mkdir .libs 2>/dev/null
8217
if test -d .libs; then
8220
# MS-DOS does not allow filenames that begin with a dot.
8223
rmdir .libs 2>/dev/null
8225
echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
8226
echo "${ECHO_T}$lt_cv_objdir" >&6
8227
objdir=$lt_cv_objdir
8235
# AIX sometimes has problems with the GCC collect2 program. For some
8236
# reason, if we set the COLLECT_NAMES environment variable, the problems
8237
# vanish in a puff of smoke.
8238
if test "X${COLLECT_NAMES+set}" != Xset; then
8240
export COLLECT_NAMES
8245
# Sed substitution that helps us do robust quoting. It backslashifies
8246
# metacharacters that are still active within double-quoted strings.
8247
Xsed='sed -e s/^X//'
8248
sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
8250
# Same as above, but do not quote variable references.
8251
double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
8253
# Sed substitution to delay expansion of an escaped shell variable in a
8254
# double_quote_subst'ed string.
8255
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
8257
# Sed substitution to avoid accidental globbing in evaled expressions
8258
no_glob_subst='s/\*/\\\*/g'
8264
default_ofile=libtool
8265
can_build_shared=yes
8267
# All known linkers require a `.a' archive for static linking (except M$VC,
8268
# which needs '.lib').
8270
ltmain="$ac_aux_dir/ltmain.sh"
8271
ofile="$default_ofile"
8272
with_gnu_ld="$lt_cv_prog_gnu_ld"
8274
if test -n "$ac_tool_prefix"; then
8275
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8276
set dummy ${ac_tool_prefix}ar; ac_word=$2
8277
echo "$as_me:$LINENO: checking for $ac_word" >&5
8278
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8279
if test "${ac_cv_prog_AR+set}" = set; then
8280
echo $ECHO_N "(cached) $ECHO_C" >&6
8282
if test -n "$AR"; then
8283
ac_cv_prog_AR="$AR" # Let the user override the test.
8285
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8289
test -z "$as_dir" && as_dir=.
8290
for ac_exec_ext in '' $ac_executable_extensions; do
8291
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8292
ac_cv_prog_AR="${ac_tool_prefix}ar"
8293
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8302
if test -n "$AR"; then
8303
echo "$as_me:$LINENO: result: $AR" >&5
8304
echo "${ECHO_T}$AR" >&6
8306
echo "$as_me:$LINENO: result: no" >&5
8307
echo "${ECHO_T}no" >&6
8311
if test -z "$ac_cv_prog_AR"; then
8313
# Extract the first word of "ar", so it can be a program name with args.
8314
set dummy ar; ac_word=$2
8315
echo "$as_me:$LINENO: checking for $ac_word" >&5
8316
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8317
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
8318
echo $ECHO_N "(cached) $ECHO_C" >&6
8320
if test -n "$ac_ct_AR"; then
8321
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
8323
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8327
test -z "$as_dir" && as_dir=.
8328
for ac_exec_ext in '' $ac_executable_extensions; do
8329
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8330
ac_cv_prog_ac_ct_AR="ar"
8331
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8337
test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
8340
ac_ct_AR=$ac_cv_prog_ac_ct_AR
8341
if test -n "$ac_ct_AR"; then
8342
echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
8343
echo "${ECHO_T}$ac_ct_AR" >&6
8345
echo "$as_me:$LINENO: result: no" >&5
8346
echo "${ECHO_T}no" >&6
8354
if test -n "$ac_tool_prefix"; then
8355
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8356
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
8357
echo "$as_me:$LINENO: checking for $ac_word" >&5
8358
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8359
if test "${ac_cv_prog_RANLIB+set}" = set; then
8360
echo $ECHO_N "(cached) $ECHO_C" >&6
8362
if test -n "$RANLIB"; then
8363
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8365
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8369
test -z "$as_dir" && as_dir=.
8370
for ac_exec_ext in '' $ac_executable_extensions; do
8371
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8372
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
8373
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8381
RANLIB=$ac_cv_prog_RANLIB
8382
if test -n "$RANLIB"; then
8383
echo "$as_me:$LINENO: result: $RANLIB" >&5
8384
echo "${ECHO_T}$RANLIB" >&6
8386
echo "$as_me:$LINENO: result: no" >&5
8387
echo "${ECHO_T}no" >&6
8391
if test -z "$ac_cv_prog_RANLIB"; then
8392
ac_ct_RANLIB=$RANLIB
8393
# Extract the first word of "ranlib", so it can be a program name with args.
8394
set dummy ranlib; ac_word=$2
8395
echo "$as_me:$LINENO: checking for $ac_word" >&5
8396
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8397
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
8398
echo $ECHO_N "(cached) $ECHO_C" >&6
8400
if test -n "$ac_ct_RANLIB"; then
8401
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
8403
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8407
test -z "$as_dir" && as_dir=.
8408
for ac_exec_ext in '' $ac_executable_extensions; do
8409
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8410
ac_cv_prog_ac_ct_RANLIB="ranlib"
8411
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8417
test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
8420
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
8421
if test -n "$ac_ct_RANLIB"; then
8422
echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
8423
echo "${ECHO_T}$ac_ct_RANLIB" >&6
8425
echo "$as_me:$LINENO: result: no" >&5
8426
echo "${ECHO_T}no" >&6
8429
RANLIB=$ac_ct_RANLIB
8431
RANLIB="$ac_cv_prog_RANLIB"
8434
if test -n "$ac_tool_prefix"; then
8435
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
8436
set dummy ${ac_tool_prefix}strip; ac_word=$2
8437
echo "$as_me:$LINENO: checking for $ac_word" >&5
8438
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8439
if test "${ac_cv_prog_STRIP+set}" = set; then
8440
echo $ECHO_N "(cached) $ECHO_C" >&6
8442
if test -n "$STRIP"; then
8443
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8445
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8449
test -z "$as_dir" && as_dir=.
8450
for ac_exec_ext in '' $ac_executable_extensions; do
8451
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8452
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
8453
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8461
STRIP=$ac_cv_prog_STRIP
8462
if test -n "$STRIP"; then
8463
echo "$as_me:$LINENO: result: $STRIP" >&5
8464
echo "${ECHO_T}$STRIP" >&6
8466
echo "$as_me:$LINENO: result: no" >&5
8467
echo "${ECHO_T}no" >&6
8471
if test -z "$ac_cv_prog_STRIP"; then
8473
# Extract the first word of "strip", so it can be a program name with args.
8474
set dummy strip; ac_word=$2
8475
echo "$as_me:$LINENO: checking for $ac_word" >&5
8476
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8477
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
8478
echo $ECHO_N "(cached) $ECHO_C" >&6
8480
if test -n "$ac_ct_STRIP"; then
8481
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
8483
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8487
test -z "$as_dir" && as_dir=.
8488
for ac_exec_ext in '' $ac_executable_extensions; do
8489
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8490
ac_cv_prog_ac_ct_STRIP="strip"
8491
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8497
test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
8500
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
8501
if test -n "$ac_ct_STRIP"; then
8502
echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
8503
echo "${ECHO_T}$ac_ct_STRIP" >&6
8505
echo "$as_me:$LINENO: result: no" >&5
8506
echo "${ECHO_T}no" >&6
8511
STRIP="$ac_cv_prog_STRIP"
8516
old_CFLAGS="$CFLAGS"
8518
# Set sane defaults for various variables
8519
test -z "$AR" && AR=ar
8520
test -z "$AR_FLAGS" && AR_FLAGS=cru
8521
test -z "$AS" && AS=as
8522
test -z "$CC" && CC=cc
8523
test -z "$LTCC" && LTCC=$CC
8524
test -z "$DLLTOOL" && DLLTOOL=dlltool
8525
test -z "$LD" && LD=ld
8526
test -z "$LN_S" && LN_S="ln -s"
8527
test -z "$MAGIC_CMD" && MAGIC_CMD=file
8528
test -z "$NM" && NM=nm
8529
test -z "$SED" && SED=sed
8530
test -z "$OBJDUMP" && OBJDUMP=objdump
8531
test -z "$RANLIB" && RANLIB=:
8532
test -z "$STRIP" && STRIP=:
8533
test -z "$ac_objext" && ac_objext=o
8535
# Determine commands to create old-style static archives.
8536
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
8537
old_postinstall_cmds='chmod 644 $oldlib'
8538
old_postuninstall_cmds=
8540
if test -n "$RANLIB"; then
8543
old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
8546
old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
8549
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
8552
# Only perform the check for file, if the check method requires it
8553
case $deplibs_check_method in
8555
if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8556
echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
8557
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
8558
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8559
echo $ECHO_N "(cached) $ECHO_C" >&6
8563
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8566
lt_save_MAGIC_CMD="$MAGIC_CMD"
8567
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8568
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8569
for ac_dir in $ac_dummy; do
8571
test -z "$ac_dir" && ac_dir=.
8572
if test -f $ac_dir/${ac_tool_prefix}file; then
8573
lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8574
if test -n "$file_magic_test_file"; then
8575
case $deplibs_check_method in
8577
file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
8578
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8579
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8580
$EGREP "$file_magic_regex" > /dev/null; then
8585
*** Warning: the command libtool uses to detect shared libraries,
8586
*** $file_magic_cmd, produces output that libtool cannot recognize.
8587
*** The result is that libtool may fail to recognize shared libraries
8588
*** as such. This will affect the creation of libtool libraries that
8589
*** depend on shared libraries, but programs linked with such libtool
8590
*** libraries will work regardless of this problem. Nevertheless, you
8591
*** may want to report the problem to your system manager and/or to
8592
*** bug-libtool@gnu.org
8602
MAGIC_CMD="$lt_save_MAGIC_CMD"
8607
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8608
if test -n "$MAGIC_CMD"; then
8609
echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8610
echo "${ECHO_T}$MAGIC_CMD" >&6
8612
echo "$as_me:$LINENO: result: no" >&5
8613
echo "${ECHO_T}no" >&6
8616
if test -z "$lt_cv_path_MAGIC_CMD"; then
8617
if test -n "$ac_tool_prefix"; then
8618
echo "$as_me:$LINENO: checking for file" >&5
8619
echo $ECHO_N "checking for file... $ECHO_C" >&6
8620
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8621
echo $ECHO_N "(cached) $ECHO_C" >&6
8625
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8628
lt_save_MAGIC_CMD="$MAGIC_CMD"
8629
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8630
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8631
for ac_dir in $ac_dummy; do
8633
test -z "$ac_dir" && ac_dir=.
8634
if test -f $ac_dir/file; then
8635
lt_cv_path_MAGIC_CMD="$ac_dir/file"
8636
if test -n "$file_magic_test_file"; then
8637
case $deplibs_check_method in
8639
file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
8640
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8641
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8642
$EGREP "$file_magic_regex" > /dev/null; then
8647
*** Warning: the command libtool uses to detect shared libraries,
8648
*** $file_magic_cmd, produces output that libtool cannot recognize.
8649
*** The result is that libtool may fail to recognize shared libraries
8650
*** as such. This will affect the creation of libtool libraries that
8651
*** depend on shared libraries, but programs linked with such libtool
8652
*** libraries will work regardless of this problem. Nevertheless, you
8653
*** may want to report the problem to your system manager and/or to
8654
*** bug-libtool@gnu.org
8664
MAGIC_CMD="$lt_save_MAGIC_CMD"
8669
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8670
if test -n "$MAGIC_CMD"; then
8671
echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8672
echo "${ECHO_T}$MAGIC_CMD" >&6
8674
echo "$as_me:$LINENO: result: no" >&5
8675
echo "${ECHO_T}no" >&6
8690
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
8691
if test "${enable_libtool_lock+set}" = set; then
8692
enableval="$enable_libtool_lock"
8695
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8698
# Check whether --with-pic or --without-pic was given.
8699
if test "${with_pic+set}" = set; then
8705
test -z "$pic_mode" && pic_mode=default
8707
# Use C for the default configuration in the libtool script
8711
ac_cpp='$CPP $CPPFLAGS'
8712
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8713
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8714
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8717
# Source file extension for C test sources.
8720
# Object file extension for compiled C test sources.
8724
# Code to be used in simple compile tests
8725
lt_simple_compile_test_code="int some_variable = 0;\n"
8727
# Code to be used in simple link tests
8728
lt_simple_link_test_code='int main(){return(0);}\n'
8731
# If no C compiler was specified, use CC.
8734
# Allow CC to be a program name with arguments.
8739
# Check for any special shared library compilation flags.
8742
if test "$GCC" = no; then
8745
lt_prog_cc_shlib='-belf'
8749
if test -n "$lt_prog_cc_shlib"; then
8750
{ echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
8751
echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
8752
if echo "$old_CC $old_CFLAGS " | grep "[ ]$lt_prog_cc_shlib[ ]" >/dev/null; then :
8754
{ echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
8755
echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
8756
lt_cv_prog_cc_can_build_shared=no
8762
# Check to make sure the static flag actually works.
8764
echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
8765
echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
8766
if test "${lt_prog_compiler_static_works+set}" = set; then
8767
echo $ECHO_N "(cached) $ECHO_C" >&6
8769
lt_prog_compiler_static_works=no
8770
save_LDFLAGS="$LDFLAGS"
8771
LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
8772
printf "$lt_simple_link_test_code" > conftest.$ac_ext
8773
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8774
# The compiler can only warn and ignore the option if not recognized
8775
# So say no if there are warnings
8776
if test -s conftest.err; then
8777
# Append any errors to the config.log.
8778
cat conftest.err 1>&5
8780
lt_prog_compiler_static_works=yes
8784
LDFLAGS="$save_LDFLAGS"
8787
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
8788
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
8790
if test x"$lt_prog_compiler_static_works" = xyes; then
8793
lt_prog_compiler_static=
8799
## There is no encapsulation within the following macros, do not change
8800
## the running order or otherwise move them around unless you know exactly
8801
## what you are doing...
8803
lt_prog_compiler_no_builtin_flag=
8805
if test "$GCC" = yes; then
8806
lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8809
echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8810
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
8811
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
8812
echo $ECHO_N "(cached) $ECHO_C" >&6
8814
lt_cv_prog_compiler_rtti_exceptions=no
8815
ac_outfile=conftest.$ac_objext
8816
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
8817
lt_compiler_flag="-fno-rtti -fno-exceptions"
8818
# Insert the option either (1) after the last *FLAGS variable, or
8819
# (2) before a word containing "conftest.", or (3) at the end.
8820
# Note that $ac_compile itself does not contain backslashes and begins
8821
# with a dollar sign (not a hyphen), so the echo should work correctly.
8822
# The option is referenced via a variable to avoid confusing sed.
8823
lt_compile=`echo "$ac_compile" | $SED \
8824
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
8825
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8826
-e 's:$: $lt_compiler_flag:'`
8827
(eval echo "\"\$as_me:8827: $lt_compile\"" >&5)
8828
(eval "$lt_compile" 2>conftest.err)
8830
cat conftest.err >&5
8831
echo "$as_me:8831: \$? = $ac_status" >&5
8832
if (exit $ac_status) && test -s "$ac_outfile"; then
8833
# The compiler can only warn and ignore the option if not recognized
8834
# So say no if there are warnings
8835
if test ! -s conftest.err; then
8836
lt_cv_prog_compiler_rtti_exceptions=yes
8842
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8843
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
8845
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8846
lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8853
lt_prog_compiler_wl=
8854
lt_prog_compiler_pic=
8855
lt_prog_compiler_static=
8857
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
8858
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
8860
if test "$GCC" = yes; then
8861
lt_prog_compiler_wl='-Wl,'
8862
lt_prog_compiler_static='-static'
8866
# All AIX code is PIC.
8867
if test "$host_cpu" = ia64; then
8868
# AIX 5 now supports IA64 processor
8869
lt_prog_compiler_static='-Bstatic'
8874
# FIXME: we need at least 68020 code to build shared libraries, but
8875
# adding the `-m68020' flag to GCC prevents building anything better,
8877
lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8880
beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8881
# PIC is the default for these OSes.
8884
mingw* | pw32* | os2*)
8885
# This hack is so that the source file can tell whether it is being
8886
# built for inclusion in a dll (and should export symbols for example).
8887
lt_prog_compiler_pic='-DDLL_EXPORT'
8890
darwin* | rhapsody*)
8891
# PIC is the default on this platform
8892
# Common symbols not allowed in MH_DYLIB files
8893
lt_prog_compiler_pic='-fno-common'
8897
# Just because we use GCC doesn't mean we suddenly get shared libraries
8898
# on systems that don't support them.
8899
lt_prog_compiler_can_build_shared=no
8904
if test -d /usr/nec; then
8905
lt_prog_compiler_pic=-Kconform_pic
8910
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8917
lt_prog_compiler_pic='-fPIC'
8923
lt_prog_compiler_pic='-fPIC'
8927
# PORTME Check for flag to pass linker flags through the system compiler.
8930
lt_prog_compiler_wl='-Wl,'
8931
if test "$host_cpu" = ia64; then
8932
# AIX 5 now supports IA64 processor
8933
lt_prog_compiler_static='-Bstatic'
8935
lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8939
mingw* | pw32* | os2*)
8940
# This hack is so that the source file can tell whether it is being
8941
# built for inclusion in a dll (and should export symbols for example).
8942
lt_prog_compiler_pic='-DDLL_EXPORT'
8945
hpux9* | hpux10* | hpux11*)
8946
lt_prog_compiler_wl='-Wl,'
8947
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8954
lt_prog_compiler_pic='+Z'
8957
# Is there a better lt_prog_compiler_static that works with the bundled CC?
8958
lt_prog_compiler_static='${wl}-a ${wl}archive'
8961
irix5* | irix6* | nonstopux*)
8962
lt_prog_compiler_wl='-Wl,'
8963
# PIC (with -KPIC) is the default.
8964
lt_prog_compiler_static='-non_shared'
8968
lt_prog_compiler_pic='-KPIC'
8969
lt_prog_compiler_static='-Bstatic'
8975
lt_prog_compiler_wl='-Wl,'
8976
lt_prog_compiler_pic='-KPIC'
8977
lt_prog_compiler_static='-static'
8980
lt_prog_compiler_wl='-Wl,'
8981
# All Alpha code is PIC.
8982
lt_prog_compiler_static='-non_shared'
8987
osf3* | osf4* | osf5*)
8988
lt_prog_compiler_wl='-Wl,'
8989
# All OSF/1 code is PIC.
8990
lt_prog_compiler_static='-non_shared'
8994
lt_prog_compiler_pic='-Kpic'
8995
lt_prog_compiler_static='-dn'
8999
lt_prog_compiler_wl='-Wl,'
9000
lt_prog_compiler_pic='-KPIC'
9001
lt_prog_compiler_static='-Bstatic'
9005
lt_prog_compiler_wl='-Qoption ld '
9006
lt_prog_compiler_pic='-PIC'
9007
lt_prog_compiler_static='-Bstatic'
9010
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9011
lt_prog_compiler_wl='-Wl,'
9012
lt_prog_compiler_pic='-KPIC'
9013
lt_prog_compiler_static='-Bstatic'
9017
if test -d /usr/nec ;then
9018
lt_prog_compiler_pic='-Kconform_pic'
9019
lt_prog_compiler_static='-Bstatic'
9024
lt_prog_compiler_pic='-pic'
9025
lt_prog_compiler_static='-Bstatic'
9029
lt_prog_compiler_can_build_shared=no
9034
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
9035
echo "${ECHO_T}$lt_prog_compiler_pic" >&6
9038
# Check to make sure the PIC flag actually works.
9040
if test -n "$lt_prog_compiler_pic"; then
9042
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9043
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
9044
if test "${lt_prog_compiler_pic_works+set}" = set; then
9045
echo $ECHO_N "(cached) $ECHO_C" >&6
9047
lt_prog_compiler_pic_works=no
9048
ac_outfile=conftest.$ac_objext
9049
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
9050
lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9051
# Insert the option either (1) after the last *FLAGS variable, or
9052
# (2) before a word containing "conftest.", or (3) at the end.
9053
# Note that $ac_compile itself does not contain backslashes and begins
9054
# with a dollar sign (not a hyphen), so the echo should work correctly.
9055
# The option is referenced via a variable to avoid confusing sed.
9056
lt_compile=`echo "$ac_compile" | $SED \
9057
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
9058
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9059
-e 's:$: $lt_compiler_flag:'`
9060
(eval echo "\"\$as_me:9060: $lt_compile\"" >&5)
9061
(eval "$lt_compile" 2>conftest.err)
9063
cat conftest.err >&5
9064
echo "$as_me:9064: \$? = $ac_status" >&5
9065
if (exit $ac_status) && test -s "$ac_outfile"; then
9066
# The compiler can only warn and ignore the option if not recognized
9067
# So say no if there are warnings
9068
if test ! -s conftest.err; then
9069
lt_prog_compiler_pic_works=yes
9075
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
9076
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
9078
if test x"$lt_prog_compiler_pic_works" = xyes; then
9079
case $lt_prog_compiler_pic in
9081
*) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9084
lt_prog_compiler_pic=
9085
lt_prog_compiler_can_build_shared=no
9090
# For platforms which do not support PIC, -DPIC is meaningless:
9092
lt_prog_compiler_pic=
9095
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9099
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9100
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
9101
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9102
echo $ECHO_N "(cached) $ECHO_C" >&6
9104
lt_cv_prog_compiler_c_o=no
9105
$rm -r conftest 2>/dev/null
9109
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
9111
# According to Tom Tromey, Ian Lance Taylor reported there are C compilers
9112
# that will create temporary files in the current directory regardless of
9113
# the output directory. Thus, making CWD read-only will cause this test
9114
# to fail, enabling locking or at least warning the user not to do parallel
9118
lt_compiler_flag="-o out/conftest2.$ac_objext"
9119
# Insert the option either (1) after the last *FLAGS variable, or
9120
# (2) before a word containing "conftest.", or (3) at the end.
9121
# Note that $ac_compile itself does not contain backslashes and begins
9122
# with a dollar sign (not a hyphen), so the echo should work correctly.
9123
lt_compile=`echo "$ac_compile" | $SED \
9124
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
9125
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9126
-e 's:$: $lt_compiler_flag:'`
9127
(eval echo "\"\$as_me:9127: $lt_compile\"" >&5)
9128
(eval "$lt_compile" 2>out/conftest.err)
9130
cat out/conftest.err >&5
9131
echo "$as_me:9131: \$? = $ac_status" >&5
9132
if (exit $ac_status) && test -s out/conftest2.$ac_objext
9134
# The compiler can only warn and ignore the option if not recognized
9135
# So say no if there are warnings
9136
if test ! -s out/conftest.err; then
9137
lt_cv_prog_compiler_c_o=yes
9148
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9149
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
9152
hard_links="nottested"
9153
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9154
# do not overwrite the value of need_locks provided by the user
9155
echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
9156
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
9159
ln conftest.a conftest.b 2>/dev/null && hard_links=no
9161
ln conftest.a conftest.b 2>&5 || hard_links=no
9162
ln conftest.a conftest.b 2>/dev/null && hard_links=no
9163
echo "$as_me:$LINENO: result: $hard_links" >&5
9164
echo "${ECHO_T}$hard_links" >&6
9165
if test "$hard_links" = no; then
9166
{ echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9167
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9174
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9175
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
9178
allow_undefined_flag=
9179
enable_shared_with_static_runtimes=no
9181
archive_expsym_cmds=
9182
old_archive_From_new_cmds=
9183
old_archive_from_expsyms_cmds=
9184
export_dynamic_flag_spec=
9185
whole_archive_flag_spec=
9186
thread_safe_flag_spec=
9187
hardcode_libdir_flag_spec=
9188
hardcode_libdir_flag_spec_ld=
9189
hardcode_libdir_separator=
9192
hardcode_shlibpath_var=unsupported
9193
link_all_deplibs=unknown
9194
hardcode_automatic=no
9197
always_export_symbols=no
9198
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9199
# include_expsyms should be a list of space-separated symbols to be *always*
9200
# included in the symbol list
9202
# exclude_expsyms can be an extended regexp of symbols to exclude
9203
# it will be wrapped by ` (' and `)$', so one must not match beginning or
9204
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9205
# as well as any symbol that contains `d'.
9206
exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
9207
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9208
# platforms (ab)use it in PIC code, but their linkers get confused if
9209
# the symbol is explicitly referenced. Since portable code cannot
9210
# rely on this symbol name, it's probably fine to never include it in
9211
# preloaded symbol tables.
9212
extract_expsyms_cmds=
9215
cygwin* | mingw* | pw32*)
9216
# FIXME: the MSVC++ port hasn't been tested in a loooong time
9217
# When not using gcc, we currently assume that we are using
9218
# Microsoft Visual C++.
9219
if test "$GCC" != yes; then
9229
if test "$with_gnu_ld" = yes; then
9230
# If archive_cmds runs LD, not CC, wlarc should be empty
9233
# See if GNU ld supports shared libraries.
9235
aix3* | aix4* | aix5*)
9236
# On AIX/PPC, the GNU linker is very broken
9237
if test "$host_cpu" != ia64; then
9241
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
9242
*** to be unable to reliably create shared libraries on AIX.
9243
*** Therefore, libtool is disabling shared libraries support. If you
9244
*** really care for shared libraries, you may want to modify your PATH
9245
*** so that a non-GNU linker is found, and then restart.
9252
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)'
9253
hardcode_libdir_flag_spec='-L$libdir'
9254
hardcode_minus_L=yes
9256
# Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
9257
# that the semantics of dynamic libraries on AmigaOS, at least up
9258
# to version 4, is to share data among multiple programs linked
9259
# with the same dynamic library. Since this doesn't match the
9260
# behavior of shared libraries on other platforms, we can't use
9266
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
9267
allow_undefined_flag=unsupported
9268
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9269
# support --undefined. This deserves some investigation. FIXME
9270
archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9276
cygwin* | mingw* | pw32*)
9277
# _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9278
# as there is no search path for DLLs.
9279
hardcode_libdir_flag_spec='-L$libdir'
9280
allow_undefined_flag=no
9281
always_export_symbols=no
9282
enable_shared_with_static_runtimes=yes
9283
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
9285
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
9286
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
9287
# If the export-symbols file already is a .def file (1st line
9288
# is EXPORTS), use it as is; otherwise, prepend...
9289
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9290
cp $export_symbols $output_objdir/$soname.def;
9292
echo EXPORTS > $output_objdir/$soname.def;
9293
cat $export_symbols >> $output_objdir/$soname.def;
9295
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
9302
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
9303
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9306
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9307
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9312
if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
9316
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9317
*** create shared libraries on Solaris systems. Therefore, libtool
9318
*** is disabling shared libraries support. We urge you to upgrade GNU
9319
*** binutils to release 2.9.1 or newer. Another option is to modify
9320
*** your PATH or compiler configuration so that the native linker is
9321
*** used, and then restart.
9324
elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
9325
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9326
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9333
archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9336
hardcode_shlibpath_var=no
9340
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
9341
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9342
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9349
if test "$ld_shlibs" = yes; then
9350
runpath_var=LD_RUN_PATH
9351
hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
9352
export_dynamic_flag_spec='${wl}--export-dynamic'
9353
# ancient GNU ld didn't support --whole-archive et. al.
9354
if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
9355
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9357
whole_archive_flag_spec=
9361
# PORTME fill in a description of your system's linker (not GNU ld)
9364
allow_undefined_flag=unsupported
9365
always_export_symbols=yes
9366
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'
9367
# Note: this linker hardcodes the directories in LIBPATH if there
9368
# are no directories specified by -L.
9369
hardcode_minus_L=yes
9370
if test "$GCC" = yes && test -z "$link_static_flag"; then
9371
# Neither direct hardcoding nor static linking is supported with a
9373
hardcode_direct=unsupported
9378
if test "$host_cpu" = ia64; then
9379
# On IA64, the linker does run time linking by default, so we don't
9380
# have to do anything special.
9381
aix_use_runtimelinking=no
9382
exp_sym_flag='-Bexport'
9385
# If we're using GNU nm, then we don't want the "-C" option.
9386
# -C means demangle to AIX nm, but means don't demangle with GNU nm
9387
if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
9388
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'
9390
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'
9393
# KDE requires run time linking. Make it the default.
9394
aix_use_runtimelinking=yes
9395
exp_sym_flag='-bexport'
9396
no_entry_flag='-bnoentry'
9399
# When large executables or shared objects are built, AIX ld can
9400
# have problems creating the table of contents. If linking a library
9401
# or program results in "error TOC overflow" add -mminimal-toc to
9402
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9403
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9407
hardcode_libdir_separator=':'
9408
link_all_deplibs=yes
9410
if test "$GCC" = yes; then
9411
case $host_os in aix4.012|aix4.012.*)
9412
# We only want to do this on AIX 4.2 and lower, the check
9413
# below for broken collect2 doesn't work under 4.3+
9414
collect2name=`${CC} -print-prog-name=collect2`
9415
if test -f "$collect2name" && \
9416
strings "$collect2name" | grep resolve_lib_name >/dev/null
9418
# We have reworked collect2
9421
# We have old collect2
9422
hardcode_direct=unsupported
9423
# It fails to find uninstalled libraries when the uninstalled
9424
# path is not listed in the libpath. Setting hardcode_minus_L
9425
# to unsupported forces relinking
9426
hardcode_minus_L=yes
9427
hardcode_libdir_flag_spec='-L$libdir'
9428
hardcode_libdir_separator=
9431
shared_flag='-shared'
9434
if test "$host_cpu" = ia64; then
9435
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9436
# chokes on -Wl,-G. The following line is correct:
9439
if test "$aix_use_runtimelinking" = yes; then
9440
shared_flag='-qmkshrobj ${wl}-G'
9442
shared_flag='-qmkshrobj'
9447
# Let the compiler handle the export list.
9448
always_export_symbols=no
9449
if test "$aix_use_runtimelinking" = yes; then
9450
# Warning - without using the other runtime loading flags (-brtl),
9451
# -berok will link without error, but may produce a broken library.
9452
allow_undefined_flag='-berok'
9453
# Determine the default libpath from the value encoded in an empty executable.
9454
cat >conftest.$ac_ext <<_ACEOF
9457
cat confdefs.h >>conftest.$ac_ext
9458
cat >>conftest.$ac_ext <<_ACEOF
9459
/* end confdefs.h. */
9469
rm -f conftest.$ac_objext conftest$ac_exeext
9470
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9471
(eval $ac_link) 2>conftest.er1
9473
grep -v '^ *+' conftest.er1 >conftest.err
9475
cat conftest.err >&5
9476
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9477
(exit $ac_status); } &&
9478
{ ac_try='test -z "$ac_c_werror_flag"
9479
|| test ! -s conftest.err'
9480
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9483
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9484
(exit $ac_status); }; } &&
9485
{ ac_try='test -s conftest$ac_exeext'
9486
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9489
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9490
(exit $ac_status); }; }; then
9492
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9494
# Check for a 64-bit object if we didn't find anything.
9495
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; }
9498
echo "$as_me: failed program was:" >&5
9499
sed 's/^/| /' conftest.$ac_ext >&5
9502
rm -f conftest.err conftest.$ac_objext \
9503
conftest$ac_exeext conftest.$ac_ext
9504
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9506
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9507
archive_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '" $shared_flag"
9508
archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9510
if test "$host_cpu" = ia64; then
9511
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9512
allow_undefined_flag="-z nodefs"
9513
archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
9515
# Determine the default libpath from the value encoded in an empty executable.
9516
cat >conftest.$ac_ext <<_ACEOF
9519
cat confdefs.h >>conftest.$ac_ext
9520
cat >>conftest.$ac_ext <<_ACEOF
9521
/* end confdefs.h. */
9531
rm -f conftest.$ac_objext conftest$ac_exeext
9532
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9533
(eval $ac_link) 2>conftest.er1
9535
grep -v '^ *+' conftest.er1 >conftest.err
9537
cat conftest.err >&5
9538
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9539
(exit $ac_status); } &&
9540
{ ac_try='test -z "$ac_c_werror_flag"
9541
|| test ! -s conftest.err'
9542
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9545
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9546
(exit $ac_status); }; } &&
9547
{ ac_try='test -s conftest$ac_exeext'
9548
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9551
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9552
(exit $ac_status); }; }; then
9554
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9556
# Check for a 64-bit object if we didn't find anything.
9557
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; }
9560
echo "$as_me: failed program was:" >&5
9561
sed 's/^/| /' conftest.$ac_ext >&5
9564
rm -f conftest.err conftest.$ac_objext \
9565
conftest$ac_exeext conftest.$ac_ext
9566
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9568
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9569
# Warning - without using the other run time loading flags,
9570
# -berok will link without error, but may produce a broken library.
9571
no_undefined_flag=' ${wl}-bernotok'
9572
allow_undefined_flag=' ${wl}-berok'
9573
# -bexpall does not export symbols beginning with underscore (_)
9574
always_export_symbols=yes
9575
# Exported symbols can be pulled into shared objects from archives
9576
whole_archive_flag_spec=' '
9577
archive_cmds_need_lc=yes
9578
# This is similar to how AIX traditionally builds it's shared libraries.
9579
archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9585
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)'
9586
hardcode_libdir_flag_spec='-L$libdir'
9587
hardcode_minus_L=yes
9588
# see comment about different semantics on the GNU ld section
9593
export_dynamic_flag_spec=-rdynamic
9596
cygwin* | mingw* | pw32*)
9597
# When not using gcc, we currently assume that we are using
9598
# Microsoft Visual C++.
9599
# hardcode_libdir_flag_spec is actually meaningless, as there is
9600
# no search path for DLLs.
9601
hardcode_libdir_flag_spec=' '
9602
allow_undefined_flag=no
9603
# Tell ltmain to make .lib files, not .a files.
9605
# Tell ltmain to make .dll files, not .so files.
9607
# FIXME: Setting linknames here is a bad hack.
9608
archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
9609
# The linker will automatically build a .lib file if we build a DLL.
9610
old_archive_From_new_cmds='true'
9611
# FIXME: Should let the user specify the lib program.
9612
old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
9613
fix_srcfile_path='`cygpath -w "$srcfile"`'
9614
enable_shared_with_static_runtimes=yes
9617
darwin* | rhapsody*)
9618
if test "$GXX" = yes ; then
9619
archive_cmds_need_lc=no
9621
rhapsody* | darwin1.[012])
9622
allow_undefined_flag='-undefined suppress'
9625
test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress'
9628
lt_int_apple_cc_single_mod=no
9629
output_verbose_link_cmd='echo'
9630
if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
9631
lt_int_apple_cc_single_mod=yes
9633
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
9634
archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
9636
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 $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
9638
module_cmds='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9639
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
9640
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
9641
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 $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
9643
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 $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
9645
module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
9647
hardcode_automatic=yes
9648
hardcode_shlibpath_var=unsupported
9649
whole_archive_flag_spec='-all_load $convenience'
9650
link_all_deplibs=yes
9657
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9658
hardcode_libdir_flag_spec='-L$libdir'
9659
hardcode_shlibpath_var=no
9666
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9667
# support. Future versions do this automatically, but an explicit c++rt0.o
9668
# does not break anything, and helps significantly (at the cost of a little
9671
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9672
hardcode_libdir_flag_spec='-R$libdir'
9674
hardcode_shlibpath_var=no
9677
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
9679
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9681
hardcode_minus_L=yes
9682
hardcode_shlibpath_var=no
9685
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9687
archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9688
hardcode_libdir_flag_spec='-R$libdir'
9690
hardcode_shlibpath_var=no
9694
if test "$GCC" = yes; then
9695
archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9697
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'
9699
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9700
hardcode_libdir_separator=:
9703
# hardcode_minus_L: Not really in the search PATH,
9704
# but as the default location of the library.
9705
hardcode_minus_L=yes
9706
export_dynamic_flag_spec='${wl}-E'
9710
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9713
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9716
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9722
archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
9725
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9729
if test "$with_gnu_ld" = no; then
9732
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9733
hardcode_libdir_flag_spec_ld='+b $libdir'
9734
hardcode_libdir_separator=:
9736
hardcode_shlibpath_var=no
9739
hardcode_libdir_flag_spec='-L$libdir'
9741
hardcode_shlibpath_var=no
9743
# hardcode_minus_L: Not really in the search PATH,
9744
# but as the default location of the library.
9745
hardcode_minus_L=yes
9748
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9749
hardcode_libdir_separator=:
9751
export_dynamic_flag_spec='${wl}-E'
9753
# hardcode_minus_L: Not really in the search PATH,
9754
# but as the default location of the library.
9755
hardcode_minus_L=yes
9761
irix5* | irix6* | nonstopux*)
9762
if test "$GCC" = yes; then
9763
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9765
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'
9766
hardcode_libdir_flag_spec_ld='-rpath $libdir'
9768
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9769
hardcode_libdir_separator=:
9770
link_all_deplibs=yes
9774
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
9775
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9777
archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9779
hardcode_libdir_flag_spec='-R$libdir'
9781
hardcode_shlibpath_var=no
9785
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9787
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9788
hardcode_libdir_separator=:
9789
hardcode_shlibpath_var=no
9794
hardcode_shlibpath_var=no
9795
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9796
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9797
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9798
export_dynamic_flag_spec='${wl}-E'
9801
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9802
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9803
hardcode_libdir_flag_spec='-R$libdir'
9806
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9807
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9814
hardcode_libdir_flag_spec='-L$libdir'
9815
hardcode_minus_L=yes
9816
allow_undefined_flag=unsupported
9817
archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
9818
old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9822
if test "$GCC" = yes; then
9823
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9824
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9826
allow_undefined_flag=' -expect_unresolved \*'
9827
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'
9829
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9830
hardcode_libdir_separator=:
9833
osf4* | osf5*) # as osf3* with the addition of -msym flag
9834
if test "$GCC" = yes; then
9835
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9836
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${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'
9837
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9839
allow_undefined_flag=' -expect_unresolved \*'
9840
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'
9841
archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
9842
$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'
9844
# Both c and cxx compiler support -rpath directly
9845
hardcode_libdir_flag_spec='-rpath $libdir'
9847
hardcode_libdir_separator=:
9851
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9852
hardcode_shlibpath_var=no
9853
export_dynamic_flag_spec='${wl}-Bexport'
9854
runpath_var=LD_RUN_PATH
9855
hardcode_runpath_var=yes
9859
no_undefined_flag=' -z text'
9860
if test "$GCC" = yes; then
9861
archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9862
archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
9863
$CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
9865
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9866
archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
9867
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
9869
hardcode_libdir_flag_spec='-R$libdir'
9870
hardcode_shlibpath_var=no
9872
solaris2.[0-5] | solaris2.[0-5].*) ;;
9873
*) # Supported since Solaris 2.6 (maybe 2.5.1?)
9874
whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
9876
link_all_deplibs=yes
9880
if test "x$host_vendor" = xsequent; then
9881
# Use $CC to link under sequent, because it throws in some extra .o
9882
# files that make .init and .fini sections work.
9883
archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9885
archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9887
hardcode_libdir_flag_spec='-L$libdir'
9889
hardcode_minus_L=yes
9890
hardcode_shlibpath_var=no
9894
case $host_vendor in
9896
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9897
hardcode_direct=yes # is this really true???
9900
## LD is ld it makes a PLAMLIB
9901
## CC just makes a GrossModule.
9902
archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9903
reload_cmds='$CC -r -o $output$reload_objs'
9907
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9908
hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9911
runpath_var='LD_RUN_PATH'
9912
hardcode_shlibpath_var=no
9916
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9917
hardcode_shlibpath_var=no
9918
export_dynamic_flag_spec='-Bexport'
9922
if test -d /usr/nec; then
9923
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9924
hardcode_shlibpath_var=no
9925
runpath_var=LD_RUN_PATH
9926
hardcode_runpath_var=yes
9932
archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9935
hardcode_shlibpath_var=no
9936
hardcode_runpath_var=yes
9937
runpath_var=LD_RUN_PATH
9940
sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
9941
no_undefined_flag='${wl}-z ${wl}text'
9942
if test "$GCC" = yes; then
9943
archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9945
archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9947
runpath_var='LD_RUN_PATH'
9948
hardcode_shlibpath_var=no
9952
no_undefined_flag=' -z text'
9953
# $CC -shared without GNU ld will not create a library from C++
9954
# object files and a static libstdc++, better avoid it by now
9955
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9956
archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
9957
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
9958
hardcode_libdir_flag_spec=
9959
hardcode_shlibpath_var=no
9960
runpath_var='LD_RUN_PATH'
9964
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9965
hardcode_libdir_flag_spec='-L$libdir'
9966
hardcode_shlibpath_var=no
9975
echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9976
echo "${ECHO_T}$ld_shlibs" >&6
9977
test "$ld_shlibs" = no && can_build_shared=no
9979
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9980
if test "$GCC" = yes; then
9981
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9985
# Do we need to explicitly link libc?
9987
case "x$archive_cmds_need_lc" in
9989
# Assume -lc should be added
9990
archive_cmds_need_lc=yes
9992
if test "$enable_shared" = yes && test "$GCC" = yes; then
9993
case $archive_cmds in
9995
# FIXME: we may have to deal with multi-command sequences.
9998
# Test whether the compiler implicitly links with -lc since on some
9999
# systems, -lgcc has to come before -lc. If gcc already passes -lc
10000
# to ld, don't add -lc before -lgcc.
10001
echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10002
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
10004
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10006
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10007
(eval $ac_compile) 2>&5
10009
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10010
(exit $ac_status); } 2>conftest.err; then
10013
libobjs=conftest.$ac_objext
10015
wl=$lt_prog_compiler_wl
10021
lt_save_allow_undefined_flag=$allow_undefined_flag
10022
allow_undefined_flag=
10023
if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
10024
(eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
10026
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10027
(exit $ac_status); }
10029
archive_cmds_need_lc=no
10031
archive_cmds_need_lc=yes
10033
allow_undefined_flag=$lt_save_allow_undefined_flag
10035
cat conftest.err 1>&5
10038
echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
10039
echo "${ECHO_T}$archive_cmds_need_lc" >&6
10046
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
10047
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
10048
library_names_spec=
10049
libname_spec='lib$name'
10053
postuninstall_cmds=
10057
shlibpath_overrides_runpath=unknown
10059
dynamic_linker="$host_os ld.so"
10060
sys_lib_dlsearch_path_spec="/lib /usr/lib"
10061
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10062
need_lib_prefix=unknown
10063
hardcode_into_libs=no
10065
# when you set need_version to no, make sure it does not cause -set_version
10066
# flags to be left without arguments
10067
need_version=unknown
10072
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10073
shlibpath_var=LIBPATH
10075
# AIX 3 has no versioning support, so we append a major version to the name.
10076
soname_spec='${libname}${release}${shared_ext}$major'
10083
hardcode_into_libs=yes
10084
if test "$host_cpu" = ia64; then
10085
# AIX 5 supports IA64
10086
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10087
shlibpath_var=LD_LIBRARY_PATH
10089
# With GCC up to 2.95.x, collect2 would create an import file
10090
# for dependence libraries. The import file would start with
10091
# the line `#! .'. This would cause the generated library to
10092
# depend on `.', always an invalid library. This was fixed in
10093
# development snapshots of GCC prior to 3.0.
10095
aix4 | aix4.[01] | aix4.[01].*)
10096
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10098
echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
10101
can_build_shared=no
10105
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10106
# soname into executable. Probably we can add versioning support to
10107
# collect2, so additional links can be useful in future.
10108
if test "$aix_use_runtimelinking" = yes; then
10109
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
10110
# instead of lib<name>.a to let people know that these are not
10111
# typical AIX shared libraries.
10112
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10114
# We preserve .a as extension for shared libraries through AIX4.2
10115
# and later when we are not doing run time linking.
10116
library_names_spec='${libname}${release}.a $libname.a'
10117
soname_spec='${libname}${release}${shared_ext}$major'
10119
shlibpath_var=LIBPATH
10124
library_names_spec='$libname.ixlibrary $libname.a'
10125
# Create ${libname}_ixlibrary.a entries in /sys/libs.
10126
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'
10130
library_names_spec='${libname}${shared_ext}'
10131
dynamic_linker="$host_os ld.so"
10132
shlibpath_var=LIBRARY_PATH
10138
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10139
soname_spec='${libname}${release}${shared_ext}$major'
10140
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10141
shlibpath_var=LD_LIBRARY_PATH
10142
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10143
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10144
# the default ld.so.conf also contains /usr/contrib/lib and
10145
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10146
# libtool to hard-code these into programs
10149
cygwin* | mingw* | pw32*)
10150
version_type=windows
10155
case $GCC,$host_os in
10156
yes,cygwin* | yes,mingw* | yes,pw32*)
10157
library_names_spec='$libname.dll.a'
10158
# DLL is installed to $(libdir)/../bin by postinstall_cmds
10159
postinstall_cmds='base_file=`basename \${file}`~
10160
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
10161
dldir=$destdir/`dirname \$dlpath`~
10162
test -d \$dldir || mkdir -p \$dldir~
10163
$install_prog $dir/$dlname \$dldir/$dlname'
10164
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10165
dlpath=$dir/\$dldll~
10167
shlibpath_overrides_runpath=yes
10171
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
10172
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10173
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10176
# MinGW DLLs use traditional 'lib' prefix
10177
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10178
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10179
if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
10180
# It is most probably a Windows format PATH printed by
10181
# mingw gcc, but we are running on Cygwin. Gcc prints its search
10182
# path with ; separators, and with drive letters. We can handle the
10183
# drive letters (cygwin fileutils understands them), so leave them,
10184
# especially as we might pass files found there to a mingw objdump,
10185
# which wouldn't understand a cygwinified path. Ahh.
10186
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10188
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10192
# pw32 DLLs use 'pw' prefix rather than 'lib'
10193
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
10199
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10202
dynamic_linker='Win32 ld.exe'
10203
# FIXME: first we should search . and the directory the executable is in
10207
darwin* | rhapsody*)
10208
dynamic_linker="$host_os dyld"
10209
version_type=darwin
10212
library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10213
soname_spec='${libname}${release}${major}$shared_ext'
10214
shlibpath_overrides_runpath=yes
10215
shlibpath_var=DYLD_LIBRARY_PATH
10216
shrext='$(test .$module = .yes && echo .so || echo .dylib)'
10217
# Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
10218
if test "$GCC" = yes; then
10219
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"`
10221
sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
10223
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10230
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10231
soname_spec='${libname}${release}${shared_ext}$major'
10232
shlibpath_var=LD_LIBRARY_PATH
10243
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10244
soname_spec='${libname}${release}${shared_ext}$major'
10245
shlibpath_var=LD_LIBRARY_PATH
10246
shlibpath_overrides_runpath=no
10247
hardcode_into_libs=yes
10248
dynamic_linker='GNU ld.so'
10252
objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
10253
version_type=freebsd-$objformat
10254
case $version_type in
10256
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10261
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10265
shlibpath_var=LD_LIBRARY_PATH
10268
shlibpath_overrides_runpath=yes
10270
freebsd3.01* | freebsdelf3.01*)
10271
shlibpath_overrides_runpath=yes
10272
hardcode_into_libs=yes
10275
shlibpath_overrides_runpath=no
10276
hardcode_into_libs=yes
10285
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10286
soname_spec='${libname}${release}${shared_ext}$major'
10287
shlibpath_var=LD_LIBRARY_PATH
10288
hardcode_into_libs=yes
10291
hpux9* | hpux10* | hpux11*)
10292
# Give a soname corresponding to the major version so that dld.sl refuses to
10293
# link against other versions.
10297
case "$host_cpu" in
10300
hardcode_into_libs=yes
10301
dynamic_linker="$host_os dld.so"
10302
shlibpath_var=LD_LIBRARY_PATH
10303
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10304
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10305
soname_spec='${libname}${release}${shared_ext}$major'
10306
if test "X$HPUX_IA64_MODE" = X32; then
10307
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10309
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10311
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10315
hardcode_into_libs=yes
10316
dynamic_linker="$host_os dld.sl"
10317
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10318
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10319
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10320
soname_spec='${libname}${release}${shared_ext}$major'
10321
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10322
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10326
dynamic_linker="$host_os dld.sl"
10327
shlibpath_var=SHLIB_PATH
10328
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10329
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10330
soname_spec='${libname}${release}${shared_ext}$major'
10333
# HP-UX runs *really* slowly unless shared libraries are mode 555.
10334
postinstall_cmds='chmod 555 $lib'
10337
irix5* | irix6* | nonstopux*)
10339
nonstopux*) version_type=nonstopux ;;
10341
if test "$lt_cv_prog_gnu_ld" = yes; then
10349
soname_spec='${libname}${release}${shared_ext}$major'
10350
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10352
irix5* | nonstopux*)
10353
libsuff= shlibsuff=
10356
case $LD in # libtool.m4 will add one of these switches to LD
10357
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10358
libsuff= shlibsuff= libmagic=32-bit;;
10359
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10360
libsuff=32 shlibsuff=N32 libmagic=N32;;
10361
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10362
libsuff=64 shlibsuff=64 libmagic=64-bit;;
10363
*) libsuff= shlibsuff= libmagic=never-match;;
10367
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10368
shlibpath_overrides_runpath=no
10369
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10370
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10371
hardcode_into_libs=yes
10374
# No shared lib support for Linux oldld, aout, or coff.
10375
linux*oldld* | linux*aout* | linux*coff*)
10379
# This must be Linux ELF.
10384
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10385
soname_spec='${libname}${release}${shared_ext}$major'
10386
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10388
if test "x$LINUX_64_MODE" = x64; then
10389
# Some platforms are per default 64-bit, so there's no /lib64
10390
if test -d /lib64; then
10394
shlibpath_var=LD_LIBRARY_PATH
10395
shlibpath_overrides_runpath=no
10396
sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
10397
sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
10398
# This implies no fast_install, which is unacceptable.
10399
# Some rework will be needed to allow for fast_install
10400
# before this can be enabled.
10401
hardcode_into_libs=yes
10403
# We used to test for /lib/ld.so.1 and disable shared libraries on
10404
# powerpc, because MkLinux only supported shared libraries with the
10405
# GNU dynamic linker. Since this was broken with cross compilers,
10406
# most powerpc-linux boxes support dynamic linking these days and
10407
# people can always --disable-shared, the test was removed, and we
10408
# assume the GNU/Linux dynamic linker is in use.
10409
dynamic_linker='GNU/Linux ld.so'
10416
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10417
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10418
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10419
dynamic_linker='NetBSD (a.out) ld.so'
10421
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
10422
soname_spec='${libname}${release}${shared_ext}$major'
10423
dynamic_linker='NetBSD ld.elf_so'
10425
shlibpath_var=LD_LIBRARY_PATH
10426
shlibpath_overrides_runpath=yes
10427
hardcode_into_libs=yes
10432
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10433
shlibpath_var=LD_LIBRARY_PATH
10434
shlibpath_overrides_runpath=yes
10441
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10442
soname_spec='${libname}${release}${shared_ext}$major'
10443
shlibpath_var=LD_LIBRARY_PATH
10444
shlibpath_overrides_runpath=yes
10451
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10452
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10453
shlibpath_var=LD_LIBRARY_PATH
10454
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10456
openbsd2.[89] | openbsd2.[89].*)
10457
shlibpath_overrides_runpath=no
10460
shlibpath_overrides_runpath=yes
10464
shlibpath_overrides_runpath=yes
10469
libname_spec='$name'
10472
library_names_spec='$libname${shared_ext} $libname.a'
10473
dynamic_linker='OS/2 ld.exe'
10474
shlibpath_var=LIBPATH
10477
osf3* | osf4* | osf5*)
10481
soname_spec='${libname}${release}${shared_ext}$major'
10482
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10483
shlibpath_var=LD_LIBRARY_PATH
10484
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10485
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10490
soname_spec='${libname}${release}${shared_ext}$major'
10491
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10492
shlibpath_var=LD_LIBRARY_PATH
10499
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10500
soname_spec='${libname}${release}${shared_ext}$major'
10501
shlibpath_var=LD_LIBRARY_PATH
10502
shlibpath_overrides_runpath=yes
10503
hardcode_into_libs=yes
10504
# ldd complains unless libraries are executable
10505
postinstall_cmds='chmod +x $lib'
10510
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10511
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10512
shlibpath_var=LD_LIBRARY_PATH
10513
shlibpath_overrides_runpath=yes
10514
if test "$with_gnu_ld" = yes; then
10520
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10522
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10523
soname_spec='${libname}${release}${shared_ext}$major'
10524
shlibpath_var=LD_LIBRARY_PATH
10525
case $host_vendor in
10527
shlibpath_overrides_runpath=no
10529
export_dynamic_flag_spec='${wl}-Blargedynsym'
10530
runpath_var=LD_RUN_PATH
10538
shlibpath_overrides_runpath=no
10539
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10545
if test -d /usr/nec ;then
10547
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10548
soname_spec='$libname${shared_ext}.$major'
10549
shlibpath_var=LD_LIBRARY_PATH
10555
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10556
soname_spec='${libname}${release}${shared_ext}$major'
10557
shlibpath_var=LD_LIBRARY_PATH
10564
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10565
echo "${ECHO_T}$dynamic_linker" >&6
10566
test "$dynamic_linker" = no && can_build_shared=no
10568
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10569
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
10571
if test -n "$hardcode_libdir_flag_spec" || \
10572
test -n "$runpath_var " || \
10573
test "X$hardcode_automatic"="Xyes" ; then
10575
# We can hardcode non-existant directories.
10576
if test "$hardcode_direct" != no &&
10577
# If the only mechanism to avoid hardcoding is shlibpath_var, we
10578
# have to relink, otherwise we might link with an installed library
10579
# when we should be linking with a yet-to-be-installed one
10580
## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
10581
test "$hardcode_minus_L" != no; then
10582
# Linking always hardcodes the temporary library directory.
10583
hardcode_action=relink
10585
# We can link without hardcoding, and we can hardcode nonexisting dirs.
10586
hardcode_action=immediate
10589
# We cannot hardcode anything, or else we can only hardcode existing
10591
hardcode_action=unsupported
10593
echo "$as_me:$LINENO: result: $hardcode_action" >&5
10594
echo "${ECHO_T}$hardcode_action" >&6
10596
if test "$hardcode_action" = relink; then
10597
# Fast installation is not supported
10598
enable_fast_install=no
10599
elif test "$shlibpath_overrides_runpath" = yes ||
10600
test "$enable_shared" = no; then
10601
# Fast installation is not necessary
10602
enable_fast_install=needless
10607
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10608
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
10609
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
10610
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10611
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10612
echo "$as_me:$LINENO: result: yes" >&5
10613
echo "${ECHO_T}yes" >&6
10615
# FIXME - insert some real tests, host_os isn't really good enough
10618
if test -n "$STRIP" ; then
10619
striplib="$STRIP -x"
10620
echo "$as_me:$LINENO: result: yes" >&5
10621
echo "${ECHO_T}yes" >&6
10623
echo "$as_me:$LINENO: result: no" >&5
10624
echo "${ECHO_T}no" >&6
10628
echo "$as_me:$LINENO: result: no" >&5
10629
echo "${ECHO_T}no" >&6
10634
if test "x$enable_dlopen" != xyes; then
10635
enable_dlopen=unknown
10636
enable_dlopen_self=unknown
10637
enable_dlopen_self_static=unknown
10644
lt_cv_dlopen="load_add_on"
10646
lt_cv_dlopen_self=yes
10650
lt_cv_dlopen="LoadLibrary"
10655
lt_cv_dlopen="dlopen"
10660
# if libdl is installed we need to link against it
10661
echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10662
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10663
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10664
echo $ECHO_N "(cached) $ECHO_C" >&6
10666
ac_check_lib_save_LIBS=$LIBS
10668
cat >conftest.$ac_ext <<_ACEOF
10671
cat confdefs.h >>conftest.$ac_ext
10672
cat >>conftest.$ac_ext <<_ACEOF
10673
/* end confdefs.h. */
10675
/* Override any gcc2 internal prototype to avoid an error. */
10679
/* We use char because int might match the return type of a gcc2
10680
builtin and then its argument prototype would still apply. */
10690
rm -f conftest.$ac_objext conftest$ac_exeext
10691
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10692
(eval $ac_link) 2>conftest.er1
10694
grep -v '^ *+' conftest.er1 >conftest.err
10696
cat conftest.err >&5
10697
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10698
(exit $ac_status); } &&
10699
{ ac_try='test -z "$ac_c_werror_flag"
10700
|| test ! -s conftest.err'
10701
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10702
(eval $ac_try) 2>&5
10704
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10705
(exit $ac_status); }; } &&
10706
{ ac_try='test -s conftest$ac_exeext'
10707
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10708
(eval $ac_try) 2>&5
10710
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10711
(exit $ac_status); }; }; then
10712
ac_cv_lib_dl_dlopen=yes
10714
echo "$as_me: failed program was:" >&5
10715
sed 's/^/| /' conftest.$ac_ext >&5
10717
ac_cv_lib_dl_dlopen=no
10719
rm -f conftest.err conftest.$ac_objext \
10720
conftest$ac_exeext conftest.$ac_ext
10721
LIBS=$ac_check_lib_save_LIBS
10723
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10724
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10725
if test $ac_cv_lib_dl_dlopen = yes; then
10726
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10729
lt_cv_dlopen="dyld"
10731
lt_cv_dlopen_self=yes
10738
echo "$as_me:$LINENO: checking for shl_load" >&5
10739
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
10740
if test "${ac_cv_func_shl_load+set}" = set; then
10741
echo $ECHO_N "(cached) $ECHO_C" >&6
10743
cat >conftest.$ac_ext <<_ACEOF
10746
cat confdefs.h >>conftest.$ac_ext
10747
cat >>conftest.$ac_ext <<_ACEOF
10748
/* end confdefs.h. */
10749
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10750
For example, HP-UX 11i <limits.h> declares gettimeofday. */
10751
#define shl_load innocuous_shl_load
10753
/* System header to define __stub macros and hopefully few prototypes,
10754
which can conflict with char shl_load (); below.
10755
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10756
<limits.h> exists even on freestanding compilers. */
10759
# include <limits.h>
10761
# include <assert.h>
10766
/* Override any gcc2 internal prototype to avoid an error. */
10771
/* We use char because int might match the return type of a gcc2
10772
builtin and then its argument prototype would still apply. */
10774
/* The GNU C library defines this for functions which it implements
10775
to always fail with ENOSYS. Some functions are actually named
10776
something starting with __ and the normal name is an alias. */
10777
#if defined (__stub_shl_load) || defined (__stub___shl_load)
10780
char (*f) () = shl_load;
10789
return f != shl_load;
10794
rm -f conftest.$ac_objext conftest$ac_exeext
10795
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10796
(eval $ac_link) 2>conftest.er1
10798
grep -v '^ *+' conftest.er1 >conftest.err
10800
cat conftest.err >&5
10801
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10802
(exit $ac_status); } &&
10803
{ ac_try='test -z "$ac_c_werror_flag"
10804
|| test ! -s conftest.err'
10805
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10806
(eval $ac_try) 2>&5
10808
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10809
(exit $ac_status); }; } &&
10810
{ ac_try='test -s conftest$ac_exeext'
10811
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10812
(eval $ac_try) 2>&5
10814
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10815
(exit $ac_status); }; }; then
10816
ac_cv_func_shl_load=yes
10818
echo "$as_me: failed program was:" >&5
10819
sed 's/^/| /' conftest.$ac_ext >&5
10821
ac_cv_func_shl_load=no
10823
rm -f conftest.err conftest.$ac_objext \
10824
conftest$ac_exeext conftest.$ac_ext
10826
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10827
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
10828
if test $ac_cv_func_shl_load = yes; then
10829
lt_cv_dlopen="shl_load"
10831
echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10832
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
10833
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10834
echo $ECHO_N "(cached) $ECHO_C" >&6
10836
ac_check_lib_save_LIBS=$LIBS
10838
cat >conftest.$ac_ext <<_ACEOF
10841
cat confdefs.h >>conftest.$ac_ext
10842
cat >>conftest.$ac_ext <<_ACEOF
10843
/* end confdefs.h. */
10845
/* Override any gcc2 internal prototype to avoid an error. */
10849
/* We use char because int might match the return type of a gcc2
10850
builtin and then its argument prototype would still apply. */
10860
rm -f conftest.$ac_objext conftest$ac_exeext
10861
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10862
(eval $ac_link) 2>conftest.er1
10864
grep -v '^ *+' conftest.er1 >conftest.err
10866
cat conftest.err >&5
10867
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10868
(exit $ac_status); } &&
10869
{ ac_try='test -z "$ac_c_werror_flag"
10870
|| test ! -s conftest.err'
10871
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10872
(eval $ac_try) 2>&5
10874
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10875
(exit $ac_status); }; } &&
10876
{ ac_try='test -s conftest$ac_exeext'
10877
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10878
(eval $ac_try) 2>&5
10880
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10881
(exit $ac_status); }; }; then
10882
ac_cv_lib_dld_shl_load=yes
10884
echo "$as_me: failed program was:" >&5
10885
sed 's/^/| /' conftest.$ac_ext >&5
10887
ac_cv_lib_dld_shl_load=no
10889
rm -f conftest.err conftest.$ac_objext \
10890
conftest$ac_exeext conftest.$ac_ext
10891
LIBS=$ac_check_lib_save_LIBS
10893
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10894
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
10895
if test $ac_cv_lib_dld_shl_load = yes; then
10896
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
10898
echo "$as_me:$LINENO: checking for dlopen" >&5
10899
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
10900
if test "${ac_cv_func_dlopen+set}" = set; then
10901
echo $ECHO_N "(cached) $ECHO_C" >&6
10903
cat >conftest.$ac_ext <<_ACEOF
10906
cat confdefs.h >>conftest.$ac_ext
10907
cat >>conftest.$ac_ext <<_ACEOF
10908
/* end confdefs.h. */
10909
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10910
For example, HP-UX 11i <limits.h> declares gettimeofday. */
10911
#define dlopen innocuous_dlopen
10913
/* System header to define __stub macros and hopefully few prototypes,
10914
which can conflict with char dlopen (); below.
10915
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10916
<limits.h> exists even on freestanding compilers. */
10919
# include <limits.h>
10921
# include <assert.h>
10926
/* Override any gcc2 internal prototype to avoid an error. */
10931
/* We use char because int might match the return type of a gcc2
10932
builtin and then its argument prototype would still apply. */
10934
/* The GNU C library defines this for functions which it implements
10935
to always fail with ENOSYS. Some functions are actually named
10936
something starting with __ and the normal name is an alias. */
10937
#if defined (__stub_dlopen) || defined (__stub___dlopen)
10940
char (*f) () = dlopen;
10949
return f != dlopen;
10954
rm -f conftest.$ac_objext conftest$ac_exeext
10955
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10956
(eval $ac_link) 2>conftest.er1
10958
grep -v '^ *+' conftest.er1 >conftest.err
10960
cat conftest.err >&5
10961
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10962
(exit $ac_status); } &&
10963
{ ac_try='test -z "$ac_c_werror_flag"
10964
|| test ! -s conftest.err'
10965
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10966
(eval $ac_try) 2>&5
10968
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10969
(exit $ac_status); }; } &&
10970
{ ac_try='test -s conftest$ac_exeext'
10971
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10972
(eval $ac_try) 2>&5
10974
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10975
(exit $ac_status); }; }; then
10976
ac_cv_func_dlopen=yes
10978
echo "$as_me: failed program was:" >&5
10979
sed 's/^/| /' conftest.$ac_ext >&5
10981
ac_cv_func_dlopen=no
10983
rm -f conftest.err conftest.$ac_objext \
10984
conftest$ac_exeext conftest.$ac_ext
10986
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10987
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
10988
if test $ac_cv_func_dlopen = yes; then
10989
lt_cv_dlopen="dlopen"
10991
echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10992
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10993
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10994
echo $ECHO_N "(cached) $ECHO_C" >&6
10996
ac_check_lib_save_LIBS=$LIBS
10998
cat >conftest.$ac_ext <<_ACEOF
11001
cat confdefs.h >>conftest.$ac_ext
11002
cat >>conftest.$ac_ext <<_ACEOF
11003
/* end confdefs.h. */
11005
/* Override any gcc2 internal prototype to avoid an error. */
11009
/* We use char because int might match the return type of a gcc2
11010
builtin and then its argument prototype would still apply. */
11020
rm -f conftest.$ac_objext conftest$ac_exeext
11021
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11022
(eval $ac_link) 2>conftest.er1
11024
grep -v '^ *+' conftest.er1 >conftest.err
11026
cat conftest.err >&5
11027
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11028
(exit $ac_status); } &&
11029
{ ac_try='test -z "$ac_c_werror_flag"
11030
|| test ! -s conftest.err'
11031
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11032
(eval $ac_try) 2>&5
11034
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11035
(exit $ac_status); }; } &&
11036
{ ac_try='test -s conftest$ac_exeext'
11037
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11038
(eval $ac_try) 2>&5
11040
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11041
(exit $ac_status); }; }; then
11042
ac_cv_lib_dl_dlopen=yes
11044
echo "$as_me: failed program was:" >&5
11045
sed 's/^/| /' conftest.$ac_ext >&5
11047
ac_cv_lib_dl_dlopen=no
11049
rm -f conftest.err conftest.$ac_objext \
11050
conftest$ac_exeext conftest.$ac_ext
11051
LIBS=$ac_check_lib_save_LIBS
11053
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11054
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11055
if test $ac_cv_lib_dl_dlopen = yes; then
11056
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11058
echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11059
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
11060
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11061
echo $ECHO_N "(cached) $ECHO_C" >&6
11063
ac_check_lib_save_LIBS=$LIBS
11064
LIBS="-lsvld $LIBS"
11065
cat >conftest.$ac_ext <<_ACEOF
11068
cat confdefs.h >>conftest.$ac_ext
11069
cat >>conftest.$ac_ext <<_ACEOF
11070
/* end confdefs.h. */
11072
/* Override any gcc2 internal prototype to avoid an error. */
11076
/* We use char because int might match the return type of a gcc2
11077
builtin and then its argument prototype would still apply. */
11087
rm -f conftest.$ac_objext conftest$ac_exeext
11088
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11089
(eval $ac_link) 2>conftest.er1
11091
grep -v '^ *+' conftest.er1 >conftest.err
11093
cat conftest.err >&5
11094
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11095
(exit $ac_status); } &&
11096
{ ac_try='test -z "$ac_c_werror_flag"
11097
|| test ! -s conftest.err'
11098
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11099
(eval $ac_try) 2>&5
11101
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11102
(exit $ac_status); }; } &&
11103
{ ac_try='test -s conftest$ac_exeext'
11104
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11105
(eval $ac_try) 2>&5
11107
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11108
(exit $ac_status); }; }; then
11109
ac_cv_lib_svld_dlopen=yes
11111
echo "$as_me: failed program was:" >&5
11112
sed 's/^/| /' conftest.$ac_ext >&5
11114
ac_cv_lib_svld_dlopen=no
11116
rm -f conftest.err conftest.$ac_objext \
11117
conftest$ac_exeext conftest.$ac_ext
11118
LIBS=$ac_check_lib_save_LIBS
11120
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11121
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
11122
if test $ac_cv_lib_svld_dlopen = yes; then
11123
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11125
echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11126
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
11127
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11128
echo $ECHO_N "(cached) $ECHO_C" >&6
11130
ac_check_lib_save_LIBS=$LIBS
11132
cat >conftest.$ac_ext <<_ACEOF
11135
cat confdefs.h >>conftest.$ac_ext
11136
cat >>conftest.$ac_ext <<_ACEOF
11137
/* end confdefs.h. */
11139
/* Override any gcc2 internal prototype to avoid an error. */
11143
/* We use char because int might match the return type of a gcc2
11144
builtin and then its argument prototype would still apply. */
11154
rm -f conftest.$ac_objext conftest$ac_exeext
11155
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11156
(eval $ac_link) 2>conftest.er1
11158
grep -v '^ *+' conftest.er1 >conftest.err
11160
cat conftest.err >&5
11161
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11162
(exit $ac_status); } &&
11163
{ ac_try='test -z "$ac_c_werror_flag"
11164
|| test ! -s conftest.err'
11165
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11166
(eval $ac_try) 2>&5
11168
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11169
(exit $ac_status); }; } &&
11170
{ ac_try='test -s conftest$ac_exeext'
11171
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11172
(eval $ac_try) 2>&5
11174
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11175
(exit $ac_status); }; }; then
11176
ac_cv_lib_dld_dld_link=yes
11178
echo "$as_me: failed program was:" >&5
11179
sed 's/^/| /' conftest.$ac_ext >&5
11181
ac_cv_lib_dld_dld_link=no
11183
rm -f conftest.err conftest.$ac_objext \
11184
conftest$ac_exeext conftest.$ac_ext
11185
LIBS=$ac_check_lib_save_LIBS
11187
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11188
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
11189
if test $ac_cv_lib_dld_dld_link = yes; then
11190
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
11211
if test "x$lt_cv_dlopen" != xno; then
11217
case $lt_cv_dlopen in
11219
save_CPPFLAGS="$CPPFLAGS"
11220
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11222
save_LDFLAGS="$LDFLAGS"
11223
eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11226
LIBS="$lt_cv_dlopen_libs $LIBS"
11228
echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
11229
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
11230
if test "${lt_cv_dlopen_self+set}" = set; then
11231
echo $ECHO_N "(cached) $ECHO_C" >&6
11233
if test "$cross_compiling" = yes; then :
11234
lt_cv_dlopen_self=cross
11236
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11237
lt_status=$lt_dlunknown
11238
cat > conftest.$ac_ext <<EOF
11239
#line 11239 "configure"
11240
#include "confdefs.h"
11249
# define LT_DLGLOBAL RTLD_GLOBAL
11252
# define LT_DLGLOBAL DL_GLOBAL
11254
# define LT_DLGLOBAL 0
11258
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11259
find out it does not work in some platform. */
11260
#ifndef LT_DLLAZY_OR_NOW
11262
# define LT_DLLAZY_OR_NOW RTLD_LAZY
11265
# define LT_DLLAZY_OR_NOW DL_LAZY
11268
# define LT_DLLAZY_OR_NOW RTLD_NOW
11271
# define LT_DLLAZY_OR_NOW DL_NOW
11273
# define LT_DLLAZY_OR_NOW 0
11281
extern "C" void exit (int);
11284
void fnord() { int i=42;}
11287
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11288
int status = $lt_dlunknown;
11292
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11293
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11294
/* dlclose (self); */
11300
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11301
(eval $ac_link) 2>&5
11303
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11304
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11305
(./conftest; exit; ) 2>/dev/null
11307
case x$lt_status in
11308
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11309
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11310
x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
11313
# compilation failed
11314
lt_cv_dlopen_self=no
11321
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
11322
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
11324
if test "x$lt_cv_dlopen_self" = xyes; then
11325
LDFLAGS="$LDFLAGS $link_static_flag"
11326
echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
11327
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
11328
if test "${lt_cv_dlopen_self_static+set}" = set; then
11329
echo $ECHO_N "(cached) $ECHO_C" >&6
11331
if test "$cross_compiling" = yes; then :
11332
lt_cv_dlopen_self_static=cross
11334
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11335
lt_status=$lt_dlunknown
11336
cat > conftest.$ac_ext <<EOF
11337
#line 11337 "configure"
11338
#include "confdefs.h"
11347
# define LT_DLGLOBAL RTLD_GLOBAL
11350
# define LT_DLGLOBAL DL_GLOBAL
11352
# define LT_DLGLOBAL 0
11356
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11357
find out it does not work in some platform. */
11358
#ifndef LT_DLLAZY_OR_NOW
11360
# define LT_DLLAZY_OR_NOW RTLD_LAZY
11363
# define LT_DLLAZY_OR_NOW DL_LAZY
11366
# define LT_DLLAZY_OR_NOW RTLD_NOW
11369
# define LT_DLLAZY_OR_NOW DL_NOW
11371
# define LT_DLLAZY_OR_NOW 0
11379
extern "C" void exit (int);
11382
void fnord() { int i=42;}
11385
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11386
int status = $lt_dlunknown;
11390
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11391
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11392
/* dlclose (self); */
11398
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11399
(eval $ac_link) 2>&5
11401
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11402
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11403
(./conftest; exit; ) 2>/dev/null
11405
case x$lt_status in
11406
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11407
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11408
x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
11411
# compilation failed
11412
lt_cv_dlopen_self_static=no
11419
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11420
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
11423
CPPFLAGS="$save_CPPFLAGS"
11424
LDFLAGS="$save_LDFLAGS"
11429
case $lt_cv_dlopen_self in
11430
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11431
*) enable_dlopen_self=unknown ;;
11434
case $lt_cv_dlopen_self_static in
11435
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11436
*) enable_dlopen_self_static=unknown ;;
11441
# Report which librarie types wil actually be built
11442
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11443
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
11444
echo "$as_me:$LINENO: result: $can_build_shared" >&5
11445
echo "${ECHO_T}$can_build_shared" >&6
11447
echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11448
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
11449
test "$can_build_shared" = "no" && enable_shared=no
11451
# On AIX, shared libraries and static libraries use the same namespace, and
11452
# are all built from PIC.
11455
test "$enable_shared" = yes && enable_static=no
11456
if test -n "$RANLIB"; then
11457
archive_cmds="$archive_cmds~\$RANLIB \$lib"
11458
postinstall_cmds='$RANLIB $lib'
11463
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11464
test "$enable_shared" = yes && enable_static=no
11467
darwin* | rhapsody*)
11468
if test "$GCC" = yes; then
11469
archive_cmds_need_lc=no
11471
rhapsody* | darwin1.[012])
11472
allow_undefined_flag='-undefined suppress'
11475
test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress'
11478
output_verbose_link_cmd='echo'
11479
archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
11480
module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11481
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
11482
archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11483
module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11485
hardcode_automatic=yes
11486
hardcode_shlibpath_var=unsupported
11487
whole_archive_flag_spec='-all_load $convenience'
11488
link_all_deplibs=yes
11494
echo "$as_me:$LINENO: result: $enable_shared" >&5
11495
echo "${ECHO_T}$enable_shared" >&6
11497
echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11498
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
11499
# Make sure either enable_shared or enable_static is yes.
11500
test "$enable_shared" = yes || enable_static=yes
11501
echo "$as_me:$LINENO: result: $enable_static" >&5
11502
echo "${ECHO_T}$enable_static" >&6
11504
# The else clause should only fire when bootstrapping the
11505
# libtool distribution, otherwise you forgot to ship ltmain.sh
11506
# with your package, and you will get complaints that there are
11507
# no rules to generate ltmain.sh.
11508
if test -f "$ltmain"; then
11509
# See if we are running on zsh, and set the options which allow our commands through
11510
# without removal of \ escapes.
11511
if test -n "${ZSH_VERSION+set}" ; then
11512
setopt NO_GLOB_SUBST
11514
# Now quote all the things that may contain metacharacters while being
11515
# careful not to overquote the AC_SUBSTed values. We take copies of the
11516
# variables and quote the copies for generation of the libtool script.
11517
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
11518
libname_spec library_names_spec soname_spec extract_expsyms_cmds \
11519
old_striplib striplib file_magic_cmd finish_cmds finish_eval \
11520
deplibs_check_method reload_flag reload_cmds need_locks \
11521
lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
11522
lt_cv_sys_global_symbol_to_c_name_address \
11523
sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
11524
old_postinstall_cmds old_postuninstall_cmds \
11528
lt_prog_compiler_wl \
11529
lt_prog_compiler_pic \
11530
lt_prog_compiler_static \
11531
lt_prog_compiler_no_builtin_flag \
11532
export_dynamic_flag_spec \
11533
thread_safe_flag_spec \
11534
whole_archive_flag_spec \
11535
enable_shared_with_static_runtimes \
11537
old_archive_from_new_cmds \
11542
compiler_lib_search_path \
11544
archive_expsym_cmds \
11546
postuninstall_cmds \
11547
old_archive_from_expsyms_cmds \
11548
allow_undefined_flag \
11549
no_undefined_flag \
11550
export_symbols_cmds \
11551
hardcode_libdir_flag_spec \
11552
hardcode_libdir_flag_spec_ld \
11553
hardcode_libdir_separator \
11554
hardcode_automatic \
11556
module_expsym_cmds \
11557
lt_cv_prog_compiler_c_o \
11559
include_expsyms; do
11562
old_archive_cmds | \
11563
old_archive_from_new_cmds | \
11565
archive_expsym_cmds | \
11567
module_expsym_cmds | \
11568
old_archive_from_expsyms_cmds | \
11569
export_symbols_cmds | \
11570
extract_expsyms_cmds | reload_cmds | finish_cmds | \
11571
postinstall_cmds | postuninstall_cmds | \
11572
old_postinstall_cmds | old_postuninstall_cmds | \
11573
sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
11574
# Double-quote double-evaled strings.
11575
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
11578
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
11584
*'\$0 --fallback-echo"')
11585
lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
11589
cfgfile="${ofile}T"
11590
trap "$rm \"$cfgfile\"; exit 1" 1 2 15
11592
{ echo "$as_me:$LINENO: creating $ofile" >&5
11593
echo "$as_me: creating $ofile" >&6;}
11595
cat <<__EOF__ >> "$cfgfile"
11598
# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
11599
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
11600
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
11602
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
11603
# Free Software Foundation, Inc.
11605
# This file is part of GNU Libtool:
11606
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
11608
# This program is free software; you can redistribute it and/or modify
11609
# it under the terms of the GNU General Public License as published by
11610
# the Free Software Foundation; either version 2 of the License, or
11611
# (at your option) any later version.
11613
# This program is distributed in the hope that it will be useful, but
11614
# WITHOUT ANY WARRANTY; without even the implied warranty of
11615
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11616
# General Public License for more details.
11618
# You should have received a copy of the GNU General Public License
11619
# along with this program; if not, write to the Free Software
11620
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
11622
# As a special exception to the GNU General Public License, if you
11623
# distribute this file as part of a program that contains a
11624
# configuration script generated by Autoconf, you may include it under
11625
# the same distribution terms that you use for the rest of that program.
11627
# A sed program that does not truncate output.
11630
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
11631
Xsed="$SED -e s/^X//"
11633
# The HP-UX ksh and POSIX shell print the target directory to stdout
11634
# if CDPATH is set.
11635
if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
11637
# The names of the tagged configurations supported by this script.
11640
# ### BEGIN LIBTOOL CONFIG
11642
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
11644
# Shell to use when invoking shell scripts.
11647
# Whether or not to build shared libraries.
11648
build_libtool_libs=$enable_shared
11650
# Whether or not to build static libraries.
11651
build_old_libs=$enable_static
11653
# Whether or not to add -lc for building shared libraries.
11654
build_libtool_need_lc=$archive_cmds_need_lc
11656
# Whether or not to disallow shared libs when runtime libs are static
11657
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
11659
# Whether or not to optimize for fast installation.
11660
fast_install=$enable_fast_install
11663
host_alias=$host_alias
11666
# An echo program that does not interpret backslashes.
11671
AR_FLAGS=$lt_AR_FLAGS
11676
# A language-specific compiler.
11679
# Is the compiler the GNU C compiler?
11685
# The linker used to build libraries.
11688
# Whether we need hard or soft links.
11691
# A BSD-compatible nm program.
11694
# A symbol stripping program
11697
# Used to examine libraries when file_magic_cmd begins "file"
11698
MAGIC_CMD=$MAGIC_CMD
11700
# Used on cygwin: DLL creation program.
11703
# Used on cygwin: object dumper.
11706
# Used on cygwin: assembler.
11709
# The name of the directory that contains temporary libtool files.
11712
# How to create reloadable object files.
11713
reload_flag=$lt_reload_flag
11714
reload_cmds=$lt_reload_cmds
11716
# How to pass a linker flag through the compiler.
11717
wl=$lt_lt_prog_compiler_wl
11719
# Object file suffix (normally "o").
11720
objext="$ac_objext"
11722
# Old archive suffix (normally "a").
11725
# Shared library suffix (normally ".so").
11728
# Executable file suffix (normally "").
11731
# Additional compiler flags for building library objects.
11732
pic_flag=$lt_lt_prog_compiler_pic
11735
# What is the maximum length of a command?
11736
max_cmd_len=$lt_cv_sys_max_cmd_len
11738
# Does compiler simultaneously support -c and -o options?
11739
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
11741
# Must we lock files when doing compilation ?
11742
need_locks=$lt_need_locks
11744
# Do we need the lib prefix for modules?
11745
need_lib_prefix=$need_lib_prefix
11747
# Do we need a version for libraries?
11748
need_version=$need_version
11750
# Whether dlopen is supported.
11751
dlopen_support=$enable_dlopen
11753
# Whether dlopen of programs is supported.
11754
dlopen_self=$enable_dlopen_self
11756
# Whether dlopen of statically linked programs is supported.
11757
dlopen_self_static=$enable_dlopen_self_static
11759
# Compiler flag to prevent dynamic linking.
11760
link_static_flag=$lt_lt_prog_compiler_static
11762
# Compiler flag to turn off builtin functions.
11763
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
11765
# Compiler flag to allow reflexive dlopens.
11766
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
11768
# Compiler flag to generate shared objects directly from archives.
11769
whole_archive_flag_spec=$lt_whole_archive_flag_spec
11771
# Compiler flag to generate thread-safe objects.
11772
thread_safe_flag_spec=$lt_thread_safe_flag_spec
11774
# Library versioning type.
11775
version_type=$version_type
11777
# Format of library name prefix.
11778
libname_spec=$lt_libname_spec
11780
# List of archive names. First name is the real one, the rest are links.
11781
# The last name is the one that the linker finds with -lNAME.
11782
library_names_spec=$lt_library_names_spec
11784
# The coded name of the library, if different from the real name.
11785
soname_spec=$lt_soname_spec
11787
# Commands used to build and install an old-style archive.
11789
old_archive_cmds=$lt_old_archive_cmds
11790
old_postinstall_cmds=$lt_old_postinstall_cmds
11791
old_postuninstall_cmds=$lt_old_postuninstall_cmds
11793
# Create an old-style archive from a shared archive.
11794
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
11796
# Create a temporary old-style archive to link instead of a shared archive.
11797
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
11799
# Commands used to build and install a shared archive.
11800
archive_cmds=$lt_archive_cmds
11801
archive_expsym_cmds=$lt_archive_expsym_cmds
11802
postinstall_cmds=$lt_postinstall_cmds
11803
postuninstall_cmds=$lt_postuninstall_cmds
11805
# Commands used to build a loadable module (assumed same as above if empty)
11806
module_cmds=$lt_module_cmds
11807
module_expsym_cmds=$lt_module_expsym_cmds
11809
# Commands to strip libraries.
11810
old_striplib=$lt_old_striplib
11811
striplib=$lt_striplib
11813
# Dependencies to place before the objects being linked to create a
11815
predep_objects=$lt_predep_objects
11817
# Dependencies to place after the objects being linked to create a
11819
postdep_objects=$lt_postdep_objects
11821
# Dependencies to place before the objects being linked to create a
11823
predeps=$lt_predeps
11825
# Dependencies to place after the objects being linked to create a
11827
postdeps=$lt_postdeps
11829
# The library search path used internally by the compiler when linking
11830
# a shared library.
11831
compiler_lib_search_path=$lt_compiler_lib_search_path
11833
# Method to check whether dependent libraries are shared objects.
11834
deplibs_check_method=$lt_deplibs_check_method
11836
# Command to use when deplibs_check_method == file_magic.
11837
file_magic_cmd=$lt_file_magic_cmd
11839
# Flag that allows shared libraries with undefined symbols to be built.
11840
allow_undefined_flag=$lt_allow_undefined_flag
11842
# Flag that forces no undefined symbols.
11843
no_undefined_flag=$lt_no_undefined_flag
11845
# Commands used to finish a libtool library installation in a directory.
11846
finish_cmds=$lt_finish_cmds
11848
# Same as above, but a single script fragment to be evaled but not shown.
11849
finish_eval=$lt_finish_eval
11851
# Take the output of nm and produce a listing of raw symbols and C names.
11852
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
11854
# Transform the output of nm in a proper C declaration
11855
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
11857
# Transform the output of nm in a C name address pair
11858
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
11860
# This is the shared library runtime path variable.
11861
runpath_var=$runpath_var
11863
# This is the shared library path variable.
11864
shlibpath_var=$shlibpath_var
11866
# Is shlibpath searched before the hard-coded library search path?
11867
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
11869
# How to hardcode a shared library path into an executable.
11870
hardcode_action=$hardcode_action
11872
# Whether we should hardcode library paths into libraries.
11873
hardcode_into_libs=$hardcode_into_libs
11875
# Flag to hardcode \$libdir into a binary during linking.
11876
# This must work even if \$libdir does not exist.
11877
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
11879
# If ld is used when linking, flag to hardcode \$libdir into
11880
# a binary during linking. This must work even if \$libdir does
11882
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
11884
# Whether we need a single -rpath flag with a separated argument.
11885
hardcode_libdir_separator=$lt_hardcode_libdir_separator
11887
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
11888
# resulting binary.
11889
hardcode_direct=$hardcode_direct
11891
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
11892
# resulting binary.
11893
hardcode_minus_L=$hardcode_minus_L
11895
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
11896
# the resulting binary.
11897
hardcode_shlibpath_var=$hardcode_shlibpath_var
11899
# Set to yes if building a shared library automatically hardcodes DIR into the library
11900
# and all subsequent libraries and executables linked against it.
11901
hardcode_automatic=$hardcode_automatic
11903
# Variables whose values should be saved in libtool wrapper scripts and
11904
# restored at relink time.
11905
variables_saved_for_relink="$variables_saved_for_relink"
11907
# Whether libtool must link a program against all its dependency libraries.
11908
link_all_deplibs=$link_all_deplibs
11910
# Compile-time system search path for libraries
11911
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
11913
# Run-time system search path for libraries
11914
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
11916
# Fix the shell variable \$srcfile for the compiler.
11917
fix_srcfile_path="$fix_srcfile_path"
11919
# Set to yes if exported symbols are required.
11920
always_export_symbols=$always_export_symbols
11922
# The commands to list exported symbols.
11923
export_symbols_cmds=$lt_export_symbols_cmds
11925
# The commands to extract the exported symbol list from a shared archive.
11926
extract_expsyms_cmds=$lt_extract_expsyms_cmds
11928
# Symbols that should not be listed in the preloaded symbols.
11929
exclude_expsyms=$lt_exclude_expsyms
11931
# Symbols that must always be exported.
11932
include_expsyms=$lt_include_expsyms
11934
# ### END LIBTOOL CONFIG
11941
cat <<\EOF >> "$cfgfile"
11943
# AIX sometimes has problems with the GCC collect2 program. For some
11944
# reason, if we set the COLLECT_NAMES environment variable, the problems
11945
# vanish in a puff of smoke.
11946
if test "X${COLLECT_NAMES+set}" != Xset; then
11948
export COLLECT_NAMES
11954
# We use sed instead of cat because bash on DJGPP gets confused if
11955
# if finds mixed CR/LF and LF-only lines. Since sed operates in
11956
# text mode, it properly converts lines to CR/LF. This bash problem
11957
# is reportedly fixed, but why not run on old versions too?
11958
sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
11960
mv -f "$cfgfile" "$ofile" || \
11961
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
11965
# If there is no Makefile yet, we rely on a make rule to execute
11966
# `config.status --recheck' to rerun these tests and create the
11967
# libtool script then.
11968
test -f Makefile && make "$ltmain"
11973
ac_cpp='$CPP $CPPFLAGS'
11974
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11975
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11976
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11981
# Check whether --with-tags or --without-tags was given.
11982
if test "${with_tags+set}" = set; then
11983
withval="$with_tags"
11984
tagnames="$withval"
11987
if test -f "$ltmain" && test -n "$tagnames"; then
11988
if test ! -f "${ofile}"; then
11989
{ echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
11990
echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
11993
if test -z "$LTCC"; then
11994
eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
11995
if test -z "$LTCC"; then
11996
{ echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
11997
echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
11999
{ echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
12000
echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
12004
# Extract list of available tagged configurations in $ofile.
12005
# Note that this assumes the entire list is on one line.
12006
available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
12008
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
12009
for tagname in $tagnames; do
12011
# Check whether tagname contains only valid characters
12012
case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
12014
*) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
12015
echo "$as_me: error: invalid tag name: $tagname" >&2;}
12016
{ (exit 1); exit 1; }; }
12020
if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
12022
{ { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
12023
echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
12024
{ (exit 1); exit 1; }; }
12027
# Update the list of available tags.
12028
if test -n "$tagname"; then
12029
echo appending configuration tag \"$tagname\" to $ofile
12033
if test -n "$CXX" && test "X$CXX" != "Xno"; then
12035
ac_cpp='$CXXCPP $CPPFLAGS'
12036
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12037
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12038
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12043
archive_cmds_need_lc_CXX=no
12044
allow_undefined_flag_CXX=
12045
always_export_symbols_CXX=no
12046
archive_expsym_cmds_CXX=
12047
export_dynamic_flag_spec_CXX=
12048
hardcode_direct_CXX=no
12049
hardcode_libdir_flag_spec_CXX=
12050
hardcode_libdir_flag_spec_ld_CXX=
12051
hardcode_libdir_separator_CXX=
12052
hardcode_minus_L_CXX=no
12053
hardcode_automatic_CXX=no
12055
module_expsym_cmds_CXX=
12056
link_all_deplibs_CXX=unknown
12057
old_archive_cmds_CXX=$old_archive_cmds
12058
no_undefined_flag_CXX=
12059
whole_archive_flag_spec_CXX=
12060
enable_shared_with_static_runtimes_CXX=no
12062
# Dependencies to place before and after the object being linked:
12063
predep_objects_CXX=
12064
postdep_objects_CXX=
12067
compiler_lib_search_path_CXX=
12069
# Source file extension for C++ test sources.
12072
# Object file extension for compiled C++ test sources.
12076
# Code to be used in simple compile tests
12077
lt_simple_compile_test_code="int some_variable = 0;\n"
12079
# Code to be used in simple link tests
12080
lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
12082
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
12084
# If no C compiler was specified, use CC.
12087
# Allow CC to be a program name with arguments.
12091
# Allow CC to be a program name with arguments.
12096
lt_save_with_gnu_ld=$with_gnu_ld
12097
lt_save_path_LD=$lt_cv_path_LD
12098
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12099
lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12101
unset lt_cv_prog_gnu_ld
12103
if test -n "${lt_cv_path_LDCXX+set}"; then
12104
lt_cv_path_LD=$lt_cv_path_LDCXX
12106
unset lt_cv_path_LD
12108
test -z "${LDCXX+set}" || LD=$LDCXX
12112
cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
12114
# We don't want -fno-exception wen compiling C++ code, so set the
12115
# no_builtin_flag separately
12116
if test "$GXX" = yes; then
12117
lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12119
lt_prog_compiler_no_builtin_flag_CXX=
12122
if test "$GXX" = yes; then
12123
# Set up default GNU C++ configuration
12126
# Check whether --with-gnu-ld or --without-gnu-ld was given.
12127
if test "${with_gnu_ld+set}" = set; then
12128
withval="$with_gnu_ld"
12129
test "$withval" = no || with_gnu_ld=yes
12134
if test "$GCC" = yes; then
12135
# Check if gcc -print-prog-name=ld gives a path.
12136
echo "$as_me:$LINENO: checking for ld used by $CC" >&5
12137
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
12140
# gcc leaves a trailing carriage return which upsets mingw
12141
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12143
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12146
# Accept absolute paths.
12148
re_direlt='/[^/][^/]*/\.\./'
12149
# Canonicalize the pathname of ld
12150
ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
12151
while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
12152
ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
12154
test -z "$LD" && LD="$ac_prog"
12157
# If it fails, then pretend we aren't using GCC.
12161
# If it is relative, then search for the first ld in PATH.
12162
with_gnu_ld=unknown
12165
elif test "$with_gnu_ld" = yes; then
12166
echo "$as_me:$LINENO: checking for GNU ld" >&5
12167
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
12169
echo "$as_me:$LINENO: checking for non-GNU ld" >&5
12170
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
12172
if test "${lt_cv_path_LD+set}" = set; then
12173
echo $ECHO_N "(cached) $ECHO_C" >&6
12175
if test -z "$LD"; then
12176
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12177
for ac_dir in $PATH; do
12179
test -z "$ac_dir" && ac_dir=.
12180
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12181
lt_cv_path_LD="$ac_dir/$ac_prog"
12182
# Check to see if the program is GNU ld. I'd rather use --version,
12183
# but apparently some GNU ld's only accept -v.
12184
# Break only if it was the GNU/non-GNU ld that we prefer.
12185
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12186
*GNU* | *'with BFD'*)
12187
test "$with_gnu_ld" != no && break
12190
test "$with_gnu_ld" != yes && break
12197
lt_cv_path_LD="$LD" # Let the user override the test with a path.
12201
LD="$lt_cv_path_LD"
12202
if test -n "$LD"; then
12203
echo "$as_me:$LINENO: result: $LD" >&5
12204
echo "${ECHO_T}$LD" >&6
12206
echo "$as_me:$LINENO: result: no" >&5
12207
echo "${ECHO_T}no" >&6
12209
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
12210
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
12211
{ (exit 1); exit 1; }; }
12212
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
12213
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
12214
if test "${lt_cv_prog_gnu_ld+set}" = set; then
12215
echo $ECHO_N "(cached) $ECHO_C" >&6
12217
# I'd rather use --version here, but apparently some GNU ld's only accept -v.
12218
case `$LD -v 2>&1 </dev/null` in
12219
*GNU* | *'with BFD'*)
12220
lt_cv_prog_gnu_ld=yes
12223
lt_cv_prog_gnu_ld=no
12227
echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
12228
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
12229
with_gnu_ld=$lt_cv_prog_gnu_ld
12233
# Check if GNU C++ uses GNU ld as the underlying linker, since the
12234
# archiving commands below assume that GNU ld is being used.
12235
if test "$with_gnu_ld" = yes; then
12236
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12237
archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12239
hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12240
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12242
# If archive_cmds runs LD, not CC, wlarc should be empty
12243
# XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12244
# investigate it a little bit more. (MM)
12247
# ancient GNU ld didn't support --whole-archive et. al.
12248
if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
12249
grep 'no-whole-archive' > /dev/null; then
12250
whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12252
whole_archive_flag_spec_CXX=
12258
# A generic and very simple default shared library creation
12259
# command for GNU C++ for the case where it uses the native
12260
# linker, instead of GNU ld. If possible, this setting should
12261
# overridden to take advantage of the native linker features on
12262
# the platform it is being used on.
12263
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12266
# Commands to make compiler produce verbose output that lists
12267
# what "hidden" libraries, object files and flags are used when
12268
# linking a shared library.
12269
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12277
# PORTME: fill in a description of your system's C++ link characteristics
12278
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12279
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
12283
# FIXME: insert proper C++ library support
12287
if test "$host_cpu" = ia64; then
12288
# On IA64, the linker does run time linking by default, so we don't
12289
# have to do anything special.
12290
aix_use_runtimelinking=no
12291
exp_sym_flag='-Bexport'
12294
# KDE requires run time linking. Make it the default.
12295
aix_use_runtimelinking=yes
12296
exp_sym_flag='-bexport'
12297
no_entry_flag='-bnoentry'
12300
# When large executables or shared objects are built, AIX ld can
12301
# have problems creating the table of contents. If linking a library
12302
# or program results in "error TOC overflow" add -mminimal-toc to
12303
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12304
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12306
archive_cmds_CXX=''
12307
hardcode_direct_CXX=yes
12308
hardcode_libdir_separator_CXX=':'
12309
link_all_deplibs_CXX=yes
12311
if test "$GXX" = yes; then
12312
case $host_os in aix4.012|aix4.012.*)
12313
# We only want to do this on AIX 4.2 and lower, the check
12314
# below for broken collect2 doesn't work under 4.3+
12315
collect2name=`${CC} -print-prog-name=collect2`
12316
if test -f "$collect2name" && \
12317
strings "$collect2name" | grep resolve_lib_name >/dev/null
12319
# We have reworked collect2
12320
hardcode_direct_CXX=yes
12322
# We have old collect2
12323
hardcode_direct_CXX=unsupported
12324
# It fails to find uninstalled libraries when the uninstalled
12325
# path is not listed in the libpath. Setting hardcode_minus_L
12326
# to unsupported forces relinking
12327
hardcode_minus_L_CXX=yes
12328
hardcode_libdir_flag_spec_CXX='-L$libdir'
12329
hardcode_libdir_separator_CXX=
12332
shared_flag='-shared'
12335
if test "$host_cpu" = ia64; then
12336
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12337
# chokes on -Wl,-G. The following line is correct:
12340
if test "$aix_use_runtimelinking" = yes; then
12341
shared_flag='-qmkshrobj ${wl}-G'
12343
shared_flag='-qmkshrobj'
12348
# Let the compiler handle the export list.
12349
always_export_symbols_CXX=no
12350
if test "$aix_use_runtimelinking" = yes; then
12351
# Warning - without using the other runtime loading flags (-brtl),
12352
# -berok will link without error, but may produce a broken library.
12353
allow_undefined_flag_CXX='-berok'
12354
# Determine the default libpath from the value encoded in an empty executable.
12355
cat >conftest.$ac_ext <<_ACEOF
12358
cat confdefs.h >>conftest.$ac_ext
12359
cat >>conftest.$ac_ext <<_ACEOF
12360
/* end confdefs.h. */
12370
rm -f conftest.$ac_objext conftest$ac_exeext
12371
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12372
(eval $ac_link) 2>conftest.er1
12374
grep -v '^ *+' conftest.er1 >conftest.err
12376
cat conftest.err >&5
12377
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12378
(exit $ac_status); } &&
12379
{ ac_try='test -z "$ac_cxx_werror_flag"
12380
|| test ! -s conftest.err'
12381
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12382
(eval $ac_try) 2>&5
12384
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12385
(exit $ac_status); }; } &&
12386
{ ac_try='test -s conftest$ac_exeext'
12387
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12388
(eval $ac_try) 2>&5
12390
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12391
(exit $ac_status); }; }; then
12393
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
12395
# Check for a 64-bit object if we didn't find anything.
12396
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; }
12399
echo "$as_me: failed program was:" >&5
12400
sed 's/^/| /' conftest.$ac_ext >&5
12403
rm -f conftest.err conftest.$ac_objext \
12404
conftest$ac_exeext conftest.$ac_ext
12405
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12407
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12409
archive_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '" $shared_flag"
12410
archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
12412
if test "$host_cpu" = ia64; then
12413
hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12414
allow_undefined_flag_CXX="-z nodefs"
12415
archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
12417
# Determine the default libpath from the value encoded in an empty executable.
12418
cat >conftest.$ac_ext <<_ACEOF
12421
cat confdefs.h >>conftest.$ac_ext
12422
cat >>conftest.$ac_ext <<_ACEOF
12423
/* end confdefs.h. */
12433
rm -f conftest.$ac_objext conftest$ac_exeext
12434
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12435
(eval $ac_link) 2>conftest.er1
12437
grep -v '^ *+' conftest.er1 >conftest.err
12439
cat conftest.err >&5
12440
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12441
(exit $ac_status); } &&
12442
{ ac_try='test -z "$ac_cxx_werror_flag"
12443
|| test ! -s conftest.err'
12444
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12445
(eval $ac_try) 2>&5
12447
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12448
(exit $ac_status); }; } &&
12449
{ ac_try='test -s conftest$ac_exeext'
12450
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12451
(eval $ac_try) 2>&5
12453
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12454
(exit $ac_status); }; }; then
12456
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
12458
# Check for a 64-bit object if we didn't find anything.
12459
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; }
12462
echo "$as_me: failed program was:" >&5
12463
sed 's/^/| /' conftest.$ac_ext >&5
12466
rm -f conftest.err conftest.$ac_objext \
12467
conftest$ac_exeext conftest.$ac_ext
12468
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12470
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12471
# Warning - without using the other run time loading flags,
12472
# -berok will link without error, but may produce a broken library.
12473
no_undefined_flag_CXX=' ${wl}-bernotok'
12474
allow_undefined_flag_CXX=' ${wl}-berok'
12475
# -bexpall does not export symbols beginning with underscore (_)
12476
always_export_symbols_CXX=yes
12477
# Exported symbols can be pulled into shared objects from archives
12478
whole_archive_flag_spec_CXX=' '
12479
archive_cmds_need_lc_CXX=yes
12480
# This is similar to how AIX traditionally builds it's shared libraries.
12481
archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
12486
case $cc_basename in
12488
# FIXME: insert proper C++ library support
12494
cygwin* | mingw* | pw32*)
12495
# _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12496
# as there is no search path for DLLs.
12497
hardcode_libdir_flag_spec_CXX='-L$libdir'
12498
allow_undefined_flag_CXX=no
12499
always_export_symbols_CXX=no
12500
enable_shared_with_static_runtimes_CXX=yes
12502
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
12503
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
12504
# If the export-symbols file already is a .def file (1st line
12505
# is EXPORTS), use it as is; otherwise, prepend...
12506
archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12507
cp $export_symbols $output_objdir/$soname.def;
12509
echo EXPORTS > $output_objdir/$soname.def;
12510
cat $export_symbols >> $output_objdir/$soname.def;
12512
$CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
12518
darwin* | rhapsody*)
12519
if test "$GXX" = yes; then
12520
archive_cmds_need_lc_CXX=no
12522
rhapsody* | darwin1.[012])
12523
allow_undefined_flag_CXX='-undefined suppress'
12526
test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
12529
lt_int_apple_cc_single_mod=no
12530
output_verbose_link_cmd='echo'
12531
if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
12532
lt_int_apple_cc_single_mod=yes
12534
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
12535
archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
12537
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 $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
12539
module_cmds_CXX='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12541
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
12542
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
12543
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 $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12545
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 $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12547
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 $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12548
hardcode_direct_CXX=no
12549
hardcode_automatic_CXX=yes
12550
hardcode_shlibpath_var_CXX=unsupported
12551
whole_archive_flag_spec_CXX='-all_load $convenience'
12552
link_all_deplibs_CXX=yes
12559
case $cc_basename in
12561
# FIXME: insert proper C++ library support
12565
# Green Hills C++ Compiler
12566
# FIXME: insert proper C++ library support
12570
# FIXME: insert proper C++ library support
12576
# C++ shared libraries reported to be fairly broken before switch to ELF
12580
archive_cmds_need_lc_CXX=no
12583
# FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12590
hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12591
hardcode_libdir_separator_CXX=:
12592
export_dynamic_flag_spec_CXX='${wl}-E'
12593
hardcode_direct_CXX=yes
12594
hardcode_minus_L_CXX=yes # Not in the search PATH,
12595
# but as the default
12596
# location of the library.
12598
case $cc_basename in
12600
# FIXME: insert proper C++ library support
12604
archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12605
# Commands to make compiler produce verbose output that lists
12606
# what "hidden" libraries, object files and flags are used when
12607
# linking a shared library.
12609
# There doesn't appear to be a way to prevent this compiler from
12610
# explicitly linking system object files so we need to strip them
12611
# from the output so that they don't get included in the library
12613
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'
12616
if test "$GXX" = yes; then
12617
archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12619
# FIXME: insert proper C++ library support
12626
if test $with_gnu_ld = no; then
12627
case "$host_cpu" in
12629
hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12630
hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
12631
hardcode_libdir_separator_CXX=:
12634
hardcode_libdir_flag_spec_CXX='-L$libdir'
12637
hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12638
hardcode_libdir_separator_CXX=:
12639
export_dynamic_flag_spec_CXX='${wl}-E'
12643
case "$host_cpu" in
12645
hardcode_direct_CXX=no
12646
hardcode_shlibpath_var_CXX=no
12649
hardcode_direct_CXX=no
12650
hardcode_shlibpath_var_CXX=no
12651
hardcode_minus_L_CXX=yes # Not in the search PATH,
12652
# but as the default
12653
# location of the library.
12656
hardcode_direct_CXX=yes
12657
hardcode_minus_L_CXX=yes # Not in the search PATH,
12658
# but as the default
12659
# location of the library.
12663
case $cc_basename in
12665
# FIXME: insert proper C++ library support
12669
case "$host_cpu" in
12671
archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
12674
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12677
# Commands to make compiler produce verbose output that lists
12678
# what "hidden" libraries, object files and flags are used when
12679
# linking a shared library.
12681
# There doesn't appear to be a way to prevent this compiler from
12682
# explicitly linking system object files so we need to strip them
12683
# from the output so that they don't get included in the library
12685
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'
12688
if test "$GXX" = yes; then
12689
if test $with_gnu_ld = no; then
12690
case "$host_cpu" in
12692
archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
12695
archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12700
# FIXME: insert proper C++ library support
12707
case $cc_basename in
12710
archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
12712
# Archives containing C++ object files must be created using
12713
# "CC -ar", where "CC" is the IRIX C++ compiler. This is
12714
# necessary to make sure instantiated templates are included
12716
old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12719
if test "$GXX" = yes; then
12720
if test "$with_gnu_ld" = no; then
12721
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
12723
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
12726
link_all_deplibs_CXX=yes
12729
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12730
hardcode_libdir_separator_CXX=:
12733
case $cc_basename in
12735
# Kuck and Associates, Inc. (KAI) C++ Compiler
12737
# KCC will only create a shared library if the output file
12738
# ends with ".so" (or ".sl" for HP-UX), so rename the library
12739
# to its proper name (with version) after linking.
12740
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 $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12741
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 $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
12742
# Commands to make compiler produce verbose output that lists
12743
# what "hidden" libraries, object files and flags are used when
12744
# linking a shared library.
12746
# There doesn't appear to be a way to prevent this compiler from
12747
# explicitly linking system object files so we need to strip them
12748
# from the output so that they don't get included in the library
12750
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'
12752
hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
12753
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12755
# Archives containing C++ object files must be created using
12756
# "CC -Bstatic", where "CC" is the KAI C++ compiler.
12757
old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12762
archive_cmds_need_lc_CXX=no
12763
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12764
archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12765
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12766
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12767
whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12771
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12772
archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
12774
runpath_var=LD_RUN_PATH
12775
hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12776
hardcode_libdir_separator_CXX=:
12778
# Commands to make compiler produce verbose output that lists
12779
# what "hidden" libraries, object files and flags are used when
12780
# linking a shared library.
12782
# There doesn't appear to be a way to prevent this compiler from
12783
# explicitly linking system object files so we need to strip them
12784
# from the output so that they don't get included in the library
12786
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'
12791
# FIXME: insert proper C++ library support
12795
# FIXME: insert proper C++ library support
12799
case $cc_basename in
12801
# FIXME: insert proper C++ library support
12805
# FIXME: insert proper C++ library support
12811
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
12812
archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12814
hardcode_libdir_flag_spec_CXX='-R$libdir'
12815
hardcode_direct_CXX=yes
12816
hardcode_shlibpath_var_CXX=no
12818
# Workaround some broken pre-1.5 toolchains
12819
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12822
case $cc_basename in
12824
# Kuck and Associates, Inc. (KAI) C++ Compiler
12826
# KCC will only create a shared library if the output file
12827
# ends with ".so" (or ".sl" for HP-UX), so rename the library
12828
# to its proper name (with version) after linking.
12829
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 $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12831
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12832
hardcode_libdir_separator_CXX=:
12834
# Archives containing C++ object files must be created using
12835
# "CC -Bstatic", where "CC" is the KAI C++ compiler.
12836
old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12840
# Rational C++ 2.4.1
12841
# FIXME: insert proper C++ library support
12845
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12846
archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
12848
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12849
hardcode_libdir_separator_CXX=:
12851
# Commands to make compiler produce verbose output that lists
12852
# what "hidden" libraries, object files and flags are used when
12853
# linking a shared library.
12855
# There doesn't appear to be a way to prevent this compiler from
12856
# explicitly linking system object files so we need to strip them
12857
# from the output so that they don't get included in the library
12859
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'
12862
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12863
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12864
archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
12866
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12867
hardcode_libdir_separator_CXX=:
12869
# Commands to make compiler produce verbose output that lists
12870
# what "hidden" libraries, object files and flags are used when
12871
# linking a shared library.
12872
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12875
# FIXME: insert proper C++ library support
12882
case $cc_basename in
12884
# Kuck and Associates, Inc. (KAI) C++ Compiler
12886
# KCC will only create a shared library if the output file
12887
# ends with ".so" (or ".sl" for HP-UX), so rename the library
12888
# to its proper name (with version) after linking.
12889
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 $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12891
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12892
hardcode_libdir_separator_CXX=:
12894
# Archives containing C++ object files must be created using
12895
# the KAI C++ compiler.
12896
old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
12899
# Rational C++ 2.4.1
12900
# FIXME: insert proper C++ library support
12904
allow_undefined_flag_CXX=' -expect_unresolved \*'
12905
archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
12906
archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12907
echo "-hidden">> $lib.exp~
12908
$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry $objdir/so_locations -o $lib~
12911
hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12912
hardcode_libdir_separator_CXX=:
12914
# Commands to make compiler produce verbose output that lists
12915
# what "hidden" libraries, object files and flags are used when
12916
# linking a shared library.
12918
# There doesn't appear to be a way to prevent this compiler from
12919
# explicitly linking system object files so we need to strip them
12920
# from the output so that they don't get included in the library
12922
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'
12925
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12926
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12927
archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
12929
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12930
hardcode_libdir_separator_CXX=:
12932
# Commands to make compiler produce verbose output that lists
12933
# what "hidden" libraries, object files and flags are used when
12934
# linking a shared library.
12935
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12938
# FIXME: insert proper C++ library support
12945
# FIXME: insert proper C++ library support
12949
archive_cmds_need_lc_CXX=no
12950
case $cc_basename in
12952
# FIXME: insert proper C++ library support
12956
# FIXME: insert proper C++ library support
12962
case $cc_basename in
12965
# FIXME: insert proper C++ library support
12970
# FIXME: insert proper C++ library support
12974
# FIXME: insert proper C++ library support
12980
case $cc_basename in
12982
# Sun C++ 4.2, 5.x and Centerline C++
12983
no_undefined_flag_CXX=' -zdefs'
12984
archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12985
archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12986
$CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12988
hardcode_libdir_flag_spec_CXX='-R$libdir'
12989
hardcode_shlibpath_var_CXX=no
12991
solaris2.0-5 | solaris2.0-5.*) ;;
12993
# The C++ compiler is used as linker so we must use $wl
12994
# flag to pass the commands to the underlying system
12996
# Supported since Solaris 2.6 (maybe 2.5.1?)
12997
whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13000
link_all_deplibs_CXX=yes
13002
# Commands to make compiler produce verbose output that lists
13003
# what "hidden" libraries, object files and flags are used when
13004
# linking a shared library.
13006
# There doesn't appear to be a way to prevent this compiler from
13007
# explicitly linking system object files so we need to strip them
13008
# from the output so that they don't get included in the library
13010
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'
13012
# Archives containing C++ object files must be created using
13013
# "CC -xar", where "CC" is the Sun C++ compiler. This is
13014
# necessary to make sure instantiated templates are included
13016
old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13019
# Green Hills C++ Compiler
13020
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13022
# The C++ compiler must be used to create the archive.
13023
old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13026
# GNU C++ compiler with Solaris linker
13027
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13028
no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13029
if $CC --version | grep -v '^2\.7' > /dev/null; then
13030
archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13031
archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13032
$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
13034
# Commands to make compiler produce verbose output that lists
13035
# what "hidden" libraries, object files and flags are used when
13036
# linking a shared library.
13037
output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
13039
# g++ 2.7 appears to require `-G' NOT `-shared' on this
13041
archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13042
archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13043
$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
13045
# Commands to make compiler produce verbose output that lists
13046
# what "hidden" libraries, object files and flags are used when
13047
# linking a shared library.
13048
output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
13051
hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13056
sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
13057
archive_cmds_need_lc_CXX=no
13060
case $cc_basename in
13062
# NonStop-UX NCC 3.20
13063
# FIXME: insert proper C++ library support
13067
# FIXME: insert proper C++ library support
13073
# FIXME: insert proper C++ library support
13077
# FIXME: insert proper C++ library support
13081
echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13082
echo "${ECHO_T}$ld_shlibs_CXX" >&6
13083
test "$ld_shlibs_CXX" = no && can_build_shared=no
13089
## There is no encapsulation within the following macros, do not change
13090
## the running order or otherwise move them around unless you know exactly
13091
## what you are doing...
13093
cat > conftest.$ac_ext <<EOF
13097
Foo (void) { a = 0; }
13103
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13104
(eval $ac_compile) 2>&5
13106
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13107
(exit $ac_status); }; then
13108
# Parse the compiler output and extract the necessary
13109
# objects, libraries and library flags.
13111
# Sentinel used to keep track of whether or not we are before
13112
# the conftest object file.
13113
pre_test_object_deps_done=no
13115
# The `*' in the case matches for architectures that use `case' in
13116
# $output_verbose_cmd can trigger glob expansion during the loop
13117
# eval without this substitution.
13118
output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
13120
for p in `eval $output_verbose_link_cmd`; do
13124
# Some compilers place space between "-{L,R}" and the path.
13125
# Remove the space.
13126
if test $p = "-L" \
13127
|| test $p = "-R"; then
13134
if test "$pre_test_object_deps_done" = no; then
13137
# Internal compiler library paths should come after those
13138
# provided the user. The postdeps already come after the
13139
# user supplied libs so there is no need to process them.
13140
if test -z "$compiler_lib_search_path_CXX"; then
13141
compiler_lib_search_path_CXX="${prev}${p}"
13143
compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13146
# The "-l" case would never come before the object being
13147
# linked, so don't bother handling this case.
13150
if test -z "$postdeps_CXX"; then
13151
postdeps_CXX="${prev}${p}"
13153
postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13158
*.$objext|*.$libext)
13159
# This assumes that the test object file only shows up
13160
# once in the compiler output.
13161
if test "$p" = "conftest.$objext"; then
13162
pre_test_object_deps_done=yes
13166
if test "$pre_test_object_deps_done" = no; then
13167
if test -z "$predep_objects_CXX"; then
13168
predep_objects_CXX="$p"
13170
predep_objects_CXX="$predep_objects_CXX $p"
13173
if test -z "$postdep_objects_CXX"; then
13174
postdep_objects_CXX="$p"
13176
postdep_objects_CXX="$postdep_objects_CXX $p"
13181
*) ;; # Ignore the rest.
13189
echo "libtool.m4: error: problem compiling CXX test program"
13192
$rm -f confest.$objext
13194
case " $postdeps_CXX " in
13195
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
13198
lt_prog_compiler_wl_CXX=
13199
lt_prog_compiler_pic_CXX=
13200
lt_prog_compiler_static_CXX=
13202
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13203
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
13205
# C++ specific cases for pic, static, wl, etc.
13206
if test "$GXX" = yes; then
13207
lt_prog_compiler_wl_CXX='-Wl,'
13208
lt_prog_compiler_static_CXX='-static'
13212
# All AIX code is PIC.
13213
if test "$host_cpu" = ia64; then
13214
# AIX 5 now supports IA64 processor
13215
lt_prog_compiler_static_CXX='-Bstatic'
13219
# FIXME: we need at least 68020 code to build shared libraries, but
13220
# adding the `-m68020' flag to GCC prevents building anything better,
13222
lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13224
beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13225
# PIC is the default for these OSes.
13227
mingw* | os2* | pw32*)
13228
# This hack is so that the source file can tell whether it is being
13229
# built for inclusion in a dll (and should export symbols for example).
13230
lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13232
darwin* | rhapsody*)
13233
# PIC is the default on this platform
13234
# Common symbols not allowed in MH_DYLIB files
13235
lt_prog_compiler_pic_CXX='-fno-common'
13238
# DJGPP does not support shared libraries at all
13239
lt_prog_compiler_pic_CXX=
13242
if test -d /usr/nec; then
13243
lt_prog_compiler_pic_CXX=-Kconform_pic
13247
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13248
# not for PA HP-UX.
13249
case "$host_cpu" in
13253
lt_prog_compiler_pic_CXX='-fPIC'
13258
lt_prog_compiler_pic_CXX='-fPIC'
13264
# All AIX code is PIC.
13265
if test "$host_cpu" = ia64; then
13266
# AIX 5 now supports IA64 processor
13267
lt_prog_compiler_static_CXX='-Bstatic'
13269
lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13273
case $cc_basename in
13275
# Green Hills C++ Compiler
13276
# _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"
13281
case $cc_basename in
13283
lt_prog_compiler_pic_CXX='-KPIC'
13286
# Green Hills C++ Compiler
13287
lt_prog_compiler_pic_CXX='-pic'
13294
# FreeBSD uses GNU C++
13296
hpux9* | hpux10* | hpux11*)
13297
case $cc_basename in
13299
lt_prog_compiler_wl_CXX='-Wl,'
13300
lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
13301
if test "$host_cpu" != ia64; then
13302
lt_prog_compiler_pic_CXX='+Z'
13306
lt_prog_compiler_wl_CXX='-Wl,'
13307
lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
13308
case "$host_cpu" in
13313
lt_prog_compiler_pic_CXX='+Z'
13321
irix5* | irix6* | nonstopux*)
13322
case $cc_basename in
13324
lt_prog_compiler_wl_CXX='-Wl,'
13325
lt_prog_compiler_static_CXX='-non_shared'
13326
# CC pic flag -KPIC is the default.
13333
case $cc_basename in
13336
lt_prog_compiler_wl_CXX='--backend -Wl,'
13337
lt_prog_compiler_pic_CXX='-fPIC'
13341
lt_prog_compiler_wl_CXX='-Wl,'
13342
lt_prog_compiler_pic_CXX='-KPIC'
13343
lt_prog_compiler_static_CXX='-static'
13347
# Make sure the PIC flag is empty. It appears that all Alpha
13348
# Linux and Compaq Tru64 Unix objects are PIC.
13349
lt_prog_compiler_pic_CXX=
13350
lt_prog_compiler_static_CXX='-non_shared'
13361
case $cc_basename in
13363
lt_prog_compiler_pic_CXX='-W c,exportall'
13371
osf3* | osf4* | osf5*)
13372
case $cc_basename in
13374
lt_prog_compiler_wl_CXX='--backend -Wl,'
13377
# Rational C++ 2.4.1
13378
lt_prog_compiler_pic_CXX='-pic'
13381
# Digital/Compaq C++
13382
lt_prog_compiler_wl_CXX='-Wl,'
13383
# Make sure the PIC flag is empty. It appears that all Alpha
13384
# Linux and Compaq Tru64 Unix objects are PIC.
13385
lt_prog_compiler_pic_CXX=
13386
lt_prog_compiler_static_CXX='-non_shared'
13395
case $cc_basename in
13397
lt_prog_compiler_pic_CXX='-fPIC'
13404
case $cc_basename in
13406
# Sun C++ 4.2, 5.x and Centerline C++
13407
lt_prog_compiler_pic_CXX='-KPIC'
13408
lt_prog_compiler_static_CXX='-Bstatic'
13409
lt_prog_compiler_wl_CXX='-Qoption ld '
13412
# Green Hills C++ Compiler
13413
lt_prog_compiler_pic_CXX='-PIC'
13420
case $cc_basename in
13423
lt_prog_compiler_pic_CXX='-pic'
13424
lt_prog_compiler_static_CXX='-Bstatic'
13428
lt_prog_compiler_pic_CXX='-pic'
13435
case $cc_basename in
13437
# NonStop-UX NCC 3.20
13438
lt_prog_compiler_pic_CXX='-KPIC'
13449
lt_prog_compiler_can_build_shared_CXX=no
13454
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
13455
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
13458
# Check to make sure the PIC flag actually works.
13460
if test -n "$lt_prog_compiler_pic_CXX"; then
13462
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13463
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
13464
if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
13465
echo $ECHO_N "(cached) $ECHO_C" >&6
13467
lt_prog_compiler_pic_works_CXX=no
13468
ac_outfile=conftest.$ac_objext
13469
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13470
lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13471
# Insert the option either (1) after the last *FLAGS variable, or
13472
# (2) before a word containing "conftest.", or (3) at the end.
13473
# Note that $ac_compile itself does not contain backslashes and begins
13474
# with a dollar sign (not a hyphen), so the echo should work correctly.
13475
# The option is referenced via a variable to avoid confusing sed.
13476
lt_compile=`echo "$ac_compile" | $SED \
13477
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13478
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13479
-e 's:$: $lt_compiler_flag:'`
13480
(eval echo "\"\$as_me:13480: $lt_compile\"" >&5)
13481
(eval "$lt_compile" 2>conftest.err)
13483
cat conftest.err >&5
13484
echo "$as_me:13484: \$? = $ac_status" >&5
13485
if (exit $ac_status) && test -s "$ac_outfile"; then
13486
# The compiler can only warn and ignore the option if not recognized
13487
# So say no if there are warnings
13488
if test ! -s conftest.err; then
13489
lt_prog_compiler_pic_works_CXX=yes
13495
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
13496
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
13498
if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
13499
case $lt_prog_compiler_pic_CXX in
13501
*) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13504
lt_prog_compiler_pic_CXX=
13505
lt_prog_compiler_can_build_shared_CXX=no
13510
# For platforms which do not support PIC, -DPIC is meaningless:
13512
lt_prog_compiler_pic_CXX=
13515
lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13519
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13520
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13521
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
13522
echo $ECHO_N "(cached) $ECHO_C" >&6
13524
lt_cv_prog_compiler_c_o_CXX=no
13525
$rm -r conftest 2>/dev/null
13529
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13531
# According to Tom Tromey, Ian Lance Taylor reported there are C compilers
13532
# that will create temporary files in the current directory regardless of
13533
# the output directory. Thus, making CWD read-only will cause this test
13534
# to fail, enabling locking or at least warning the user not to do parallel
13538
lt_compiler_flag="-o out/conftest2.$ac_objext"
13539
# Insert the option either (1) after the last *FLAGS variable, or
13540
# (2) before a word containing "conftest.", or (3) at the end.
13541
# Note that $ac_compile itself does not contain backslashes and begins
13542
# with a dollar sign (not a hyphen), so the echo should work correctly.
13543
lt_compile=`echo "$ac_compile" | $SED \
13544
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13545
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13546
-e 's:$: $lt_compiler_flag:'`
13547
(eval echo "\"\$as_me:13547: $lt_compile\"" >&5)
13548
(eval "$lt_compile" 2>out/conftest.err)
13550
cat out/conftest.err >&5
13551
echo "$as_me:13551: \$? = $ac_status" >&5
13552
if (exit $ac_status) && test -s out/conftest2.$ac_objext
13554
# The compiler can only warn and ignore the option if not recognized
13555
# So say no if there are warnings
13556
if test ! -s out/conftest.err; then
13557
lt_cv_prog_compiler_c_o_CXX=yes
13561
$rm conftest* out/*
13568
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13569
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
13572
hard_links="nottested"
13573
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13574
# do not overwrite the value of need_locks provided by the user
13575
echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13576
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13579
ln conftest.a conftest.b 2>/dev/null && hard_links=no
13581
ln conftest.a conftest.b 2>&5 || hard_links=no
13582
ln conftest.a conftest.b 2>/dev/null && hard_links=no
13583
echo "$as_me:$LINENO: result: $hard_links" >&5
13584
echo "${ECHO_T}$hard_links" >&6
13585
if test "$hard_links" = no; then
13586
{ echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13587
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13594
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13595
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13597
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13600
# If we're using GNU nm, then we don't want the "-C" option.
13601
# -C means demangle to AIX nm, but means don't demangle with GNU nm
13602
if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
13603
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'
13605
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'
13609
export_symbols_cmds_CXX="$ltdll_cmds"
13612
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
13615
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13619
echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13620
echo "${ECHO_T}$ld_shlibs_CXX" >&6
13621
test "$ld_shlibs_CXX" = no && can_build_shared=no
13623
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13624
if test "$GCC" = yes; then
13625
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13629
# Do we need to explicitly link libc?
13631
case "x$archive_cmds_need_lc_CXX" in
13633
# Assume -lc should be added
13634
archive_cmds_need_lc_CXX=yes
13636
if test "$enable_shared" = yes && test "$GCC" = yes; then
13637
case $archive_cmds_CXX in
13639
# FIXME: we may have to deal with multi-command sequences.
13642
# Test whether the compiler implicitly links with -lc since on some
13643
# systems, -lgcc has to come before -lc. If gcc already passes -lc
13644
# to ld, don't add -lc before -lgcc.
13645
echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13646
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
13648
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13650
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13651
(eval $ac_compile) 2>&5
13653
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13654
(exit $ac_status); } 2>conftest.err; then
13657
libobjs=conftest.$ac_objext
13659
wl=$lt_prog_compiler_wl_CXX
13665
lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
13666
allow_undefined_flag_CXX=
13667
if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
13668
(eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
13670
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13671
(exit $ac_status); }
13673
archive_cmds_need_lc_CXX=no
13675
archive_cmds_need_lc_CXX=yes
13677
allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
13679
cat conftest.err 1>&5
13682
echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
13683
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
13690
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13691
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
13692
library_names_spec=
13693
libname_spec='lib$name'
13697
postuninstall_cmds=
13701
shlibpath_overrides_runpath=unknown
13703
dynamic_linker="$host_os ld.so"
13704
sys_lib_dlsearch_path_spec="/lib /usr/lib"
13705
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
13706
need_lib_prefix=unknown
13707
hardcode_into_libs=no
13709
# when you set need_version to no, make sure it does not cause -set_version
13710
# flags to be left without arguments
13711
need_version=unknown
13716
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13717
shlibpath_var=LIBPATH
13719
# AIX 3 has no versioning support, so we append a major version to the name.
13720
soname_spec='${libname}${release}${shared_ext}$major'
13727
hardcode_into_libs=yes
13728
if test "$host_cpu" = ia64; then
13729
# AIX 5 supports IA64
13730
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13731
shlibpath_var=LD_LIBRARY_PATH
13733
# With GCC up to 2.95.x, collect2 would create an import file
13734
# for dependence libraries. The import file would start with
13735
# the line `#! .'. This would cause the generated library to
13736
# depend on `.', always an invalid library. This was fixed in
13737
# development snapshots of GCC prior to 3.0.
13739
aix4 | aix4.[01] | aix4.[01].*)
13740
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13742
echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
13745
can_build_shared=no
13749
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13750
# soname into executable. Probably we can add versioning support to
13751
# collect2, so additional links can be useful in future.
13752
if test "$aix_use_runtimelinking" = yes; then
13753
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
13754
# instead of lib<name>.a to let people know that these are not
13755
# typical AIX shared libraries.
13756
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13758
# We preserve .a as extension for shared libraries through AIX4.2
13759
# and later when we are not doing run time linking.
13760
library_names_spec='${libname}${release}.a $libname.a'
13761
soname_spec='${libname}${release}${shared_ext}$major'
13763
shlibpath_var=LIBPATH
13768
library_names_spec='$libname.ixlibrary $libname.a'
13769
# Create ${libname}_ixlibrary.a entries in /sys/libs.
13770
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'
13774
library_names_spec='${libname}${shared_ext}'
13775
dynamic_linker="$host_os ld.so"
13776
shlibpath_var=LIBRARY_PATH
13782
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13783
soname_spec='${libname}${release}${shared_ext}$major'
13784
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13785
shlibpath_var=LD_LIBRARY_PATH
13786
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13787
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13788
# the default ld.so.conf also contains /usr/contrib/lib and
13789
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13790
# libtool to hard-code these into programs
13793
cygwin* | mingw* | pw32*)
13794
version_type=windows
13799
case $GCC,$host_os in
13800
yes,cygwin* | yes,mingw* | yes,pw32*)
13801
library_names_spec='$libname.dll.a'
13802
# DLL is installed to $(libdir)/../bin by postinstall_cmds
13803
postinstall_cmds='base_file=`basename \${file}`~
13804
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
13805
dldir=$destdir/`dirname \$dlpath`~
13806
test -d \$dldir || mkdir -p \$dldir~
13807
$install_prog $dir/$dlname \$dldir/$dlname'
13808
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13809
dlpath=$dir/\$dldll~
13811
shlibpath_overrides_runpath=yes
13815
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
13816
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13817
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
13820
# MinGW DLLs use traditional 'lib' prefix
13821
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13822
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13823
if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
13824
# It is most probably a Windows format PATH printed by
13825
# mingw gcc, but we are running on Cygwin. Gcc prints its search
13826
# path with ; separators, and with drive letters. We can handle the
13827
# drive letters (cygwin fileutils understands them), so leave them,
13828
# especially as we might pass files found there to a mingw objdump,
13829
# which wouldn't understand a cygwinified path. Ahh.
13830
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13832
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13836
# pw32 DLLs use 'pw' prefix rather than 'lib'
13837
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
13843
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13846
dynamic_linker='Win32 ld.exe'
13847
# FIXME: first we should search . and the directory the executable is in
13851
darwin* | rhapsody*)
13852
dynamic_linker="$host_os dyld"
13853
version_type=darwin
13856
library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13857
soname_spec='${libname}${release}${major}$shared_ext'
13858
shlibpath_overrides_runpath=yes
13859
shlibpath_var=DYLD_LIBRARY_PATH
13860
shrext='$(test .$module = .yes && echo .so || echo .dylib)'
13861
# Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
13862
if test "$GCC" = yes; then
13863
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"`
13865
sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
13867
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13874
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13875
soname_spec='${libname}${release}${shared_ext}$major'
13876
shlibpath_var=LD_LIBRARY_PATH
13887
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13888
soname_spec='${libname}${release}${shared_ext}$major'
13889
shlibpath_var=LD_LIBRARY_PATH
13890
shlibpath_overrides_runpath=no
13891
hardcode_into_libs=yes
13892
dynamic_linker='GNU ld.so'
13896
objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
13897
version_type=freebsd-$objformat
13898
case $version_type in
13900
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13905
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13909
shlibpath_var=LD_LIBRARY_PATH
13912
shlibpath_overrides_runpath=yes
13914
freebsd3.01* | freebsdelf3.01*)
13915
shlibpath_overrides_runpath=yes
13916
hardcode_into_libs=yes
13919
shlibpath_overrides_runpath=no
13920
hardcode_into_libs=yes
13929
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13930
soname_spec='${libname}${release}${shared_ext}$major'
13931
shlibpath_var=LD_LIBRARY_PATH
13932
hardcode_into_libs=yes
13935
hpux9* | hpux10* | hpux11*)
13936
# Give a soname corresponding to the major version so that dld.sl refuses to
13937
# link against other versions.
13941
case "$host_cpu" in
13944
hardcode_into_libs=yes
13945
dynamic_linker="$host_os dld.so"
13946
shlibpath_var=LD_LIBRARY_PATH
13947
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13948
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13949
soname_spec='${libname}${release}${shared_ext}$major'
13950
if test "X$HPUX_IA64_MODE" = X32; then
13951
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13953
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13955
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13959
hardcode_into_libs=yes
13960
dynamic_linker="$host_os dld.sl"
13961
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13962
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13963
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13964
soname_spec='${libname}${release}${shared_ext}$major'
13965
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13966
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13970
dynamic_linker="$host_os dld.sl"
13971
shlibpath_var=SHLIB_PATH
13972
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13973
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13974
soname_spec='${libname}${release}${shared_ext}$major'
13977
# HP-UX runs *really* slowly unless shared libraries are mode 555.
13978
postinstall_cmds='chmod 555 $lib'
13981
irix5* | irix6* | nonstopux*)
13983
nonstopux*) version_type=nonstopux ;;
13985
if test "$lt_cv_prog_gnu_ld" = yes; then
13993
soname_spec='${libname}${release}${shared_ext}$major'
13994
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13996
irix5* | nonstopux*)
13997
libsuff= shlibsuff=
14000
case $LD in # libtool.m4 will add one of these switches to LD
14001
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14002
libsuff= shlibsuff= libmagic=32-bit;;
14003
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14004
libsuff=32 shlibsuff=N32 libmagic=N32;;
14005
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14006
libsuff=64 shlibsuff=64 libmagic=64-bit;;
14007
*) libsuff= shlibsuff= libmagic=never-match;;
14011
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14012
shlibpath_overrides_runpath=no
14013
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14014
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14015
hardcode_into_libs=yes
14018
# No shared lib support for Linux oldld, aout, or coff.
14019
linux*oldld* | linux*aout* | linux*coff*)
14023
# This must be Linux ELF.
14028
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14029
soname_spec='${libname}${release}${shared_ext}$major'
14030
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14032
if test "x$LINUX_64_MODE" = x64; then
14033
# Some platforms are per default 64-bit, so there's no /lib64
14034
if test -d /lib64; then
14038
shlibpath_var=LD_LIBRARY_PATH
14039
shlibpath_overrides_runpath=no
14040
sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
14041
sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
14042
# This implies no fast_install, which is unacceptable.
14043
# Some rework will be needed to allow for fast_install
14044
# before this can be enabled.
14045
hardcode_into_libs=yes
14047
# We used to test for /lib/ld.so.1 and disable shared libraries on
14048
# powerpc, because MkLinux only supported shared libraries with the
14049
# GNU dynamic linker. Since this was broken with cross compilers,
14050
# most powerpc-linux boxes support dynamic linking these days and
14051
# people can always --disable-shared, the test was removed, and we
14052
# assume the GNU/Linux dynamic linker is in use.
14053
dynamic_linker='GNU/Linux ld.so'
14060
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14061
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14062
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14063
dynamic_linker='NetBSD (a.out) ld.so'
14065
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
14066
soname_spec='${libname}${release}${shared_ext}$major'
14067
dynamic_linker='NetBSD ld.elf_so'
14069
shlibpath_var=LD_LIBRARY_PATH
14070
shlibpath_overrides_runpath=yes
14071
hardcode_into_libs=yes
14076
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14077
shlibpath_var=LD_LIBRARY_PATH
14078
shlibpath_overrides_runpath=yes
14085
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14086
soname_spec='${libname}${release}${shared_ext}$major'
14087
shlibpath_var=LD_LIBRARY_PATH
14088
shlibpath_overrides_runpath=yes
14095
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14096
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14097
shlibpath_var=LD_LIBRARY_PATH
14098
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14100
openbsd2.[89] | openbsd2.[89].*)
14101
shlibpath_overrides_runpath=no
14104
shlibpath_overrides_runpath=yes
14108
shlibpath_overrides_runpath=yes
14113
libname_spec='$name'
14116
library_names_spec='$libname${shared_ext} $libname.a'
14117
dynamic_linker='OS/2 ld.exe'
14118
shlibpath_var=LIBPATH
14121
osf3* | osf4* | osf5*)
14125
soname_spec='${libname}${release}${shared_ext}$major'
14126
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14127
shlibpath_var=LD_LIBRARY_PATH
14128
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14129
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14134
soname_spec='${libname}${release}${shared_ext}$major'
14135
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14136
shlibpath_var=LD_LIBRARY_PATH
14143
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14144
soname_spec='${libname}${release}${shared_ext}$major'
14145
shlibpath_var=LD_LIBRARY_PATH
14146
shlibpath_overrides_runpath=yes
14147
hardcode_into_libs=yes
14148
# ldd complains unless libraries are executable
14149
postinstall_cmds='chmod +x $lib'
14154
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14155
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14156
shlibpath_var=LD_LIBRARY_PATH
14157
shlibpath_overrides_runpath=yes
14158
if test "$with_gnu_ld" = yes; then
14164
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
14166
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14167
soname_spec='${libname}${release}${shared_ext}$major'
14168
shlibpath_var=LD_LIBRARY_PATH
14169
case $host_vendor in
14171
shlibpath_overrides_runpath=no
14173
export_dynamic_flag_spec='${wl}-Blargedynsym'
14174
runpath_var=LD_RUN_PATH
14182
shlibpath_overrides_runpath=no
14183
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14189
if test -d /usr/nec ;then
14191
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14192
soname_spec='$libname${shared_ext}.$major'
14193
shlibpath_var=LD_LIBRARY_PATH
14199
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14200
soname_spec='${libname}${release}${shared_ext}$major'
14201
shlibpath_var=LD_LIBRARY_PATH
14208
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14209
echo "${ECHO_T}$dynamic_linker" >&6
14210
test "$dynamic_linker" = no && can_build_shared=no
14212
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14213
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
14214
hardcode_action_CXX=
14215
if test -n "$hardcode_libdir_flag_spec_CXX" || \
14216
test -n "$runpath_var CXX" || \
14217
test "X$hardcode_automatic_CXX"="Xyes" ; then
14219
# We can hardcode non-existant directories.
14220
if test "$hardcode_direct_CXX" != no &&
14221
# If the only mechanism to avoid hardcoding is shlibpath_var, we
14222
# have to relink, otherwise we might link with an installed library
14223
# when we should be linking with a yet-to-be-installed one
14224
## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14225
test "$hardcode_minus_L_CXX" != no; then
14226
# Linking always hardcodes the temporary library directory.
14227
hardcode_action_CXX=relink
14229
# We can link without hardcoding, and we can hardcode nonexisting dirs.
14230
hardcode_action_CXX=immediate
14233
# We cannot hardcode anything, or else we can only hardcode existing
14235
hardcode_action_CXX=unsupported
14237
echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
14238
echo "${ECHO_T}$hardcode_action_CXX" >&6
14240
if test "$hardcode_action_CXX" = relink; then
14241
# Fast installation is not supported
14242
enable_fast_install=no
14243
elif test "$shlibpath_overrides_runpath" = yes ||
14244
test "$enable_shared" = no; then
14245
# Fast installation is not necessary
14246
enable_fast_install=needless
14251
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
14252
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
14253
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
14254
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
14255
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
14256
echo "$as_me:$LINENO: result: yes" >&5
14257
echo "${ECHO_T}yes" >&6
14259
# FIXME - insert some real tests, host_os isn't really good enough
14262
if test -n "$STRIP" ; then
14263
striplib="$STRIP -x"
14264
echo "$as_me:$LINENO: result: yes" >&5
14265
echo "${ECHO_T}yes" >&6
14267
echo "$as_me:$LINENO: result: no" >&5
14268
echo "${ECHO_T}no" >&6
14272
echo "$as_me:$LINENO: result: no" >&5
14273
echo "${ECHO_T}no" >&6
14278
if test "x$enable_dlopen" != xyes; then
14279
enable_dlopen=unknown
14280
enable_dlopen_self=unknown
14281
enable_dlopen_self_static=unknown
14288
lt_cv_dlopen="load_add_on"
14290
lt_cv_dlopen_self=yes
14294
lt_cv_dlopen="LoadLibrary"
14299
lt_cv_dlopen="dlopen"
14304
# if libdl is installed we need to link against it
14305
echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
14306
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
14307
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
14308
echo $ECHO_N "(cached) $ECHO_C" >&6
14310
ac_check_lib_save_LIBS=$LIBS
14312
cat >conftest.$ac_ext <<_ACEOF
14315
cat confdefs.h >>conftest.$ac_ext
14316
cat >>conftest.$ac_ext <<_ACEOF
14317
/* end confdefs.h. */
14319
/* Override any gcc2 internal prototype to avoid an error. */
14323
/* We use char because int might match the return type of a gcc2
14324
builtin and then its argument prototype would still apply. */
14334
rm -f conftest.$ac_objext conftest$ac_exeext
14335
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14336
(eval $ac_link) 2>conftest.er1
14338
grep -v '^ *+' conftest.er1 >conftest.err
14340
cat conftest.err >&5
14341
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14342
(exit $ac_status); } &&
14343
{ ac_try='test -z "$ac_cxx_werror_flag"
14344
|| test ! -s conftest.err'
14345
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14346
(eval $ac_try) 2>&5
14348
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14349
(exit $ac_status); }; } &&
14350
{ ac_try='test -s conftest$ac_exeext'
14351
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14352
(eval $ac_try) 2>&5
14354
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14355
(exit $ac_status); }; }; then
14356
ac_cv_lib_dl_dlopen=yes
14358
echo "$as_me: failed program was:" >&5
14359
sed 's/^/| /' conftest.$ac_ext >&5
14361
ac_cv_lib_dl_dlopen=no
14363
rm -f conftest.err conftest.$ac_objext \
14364
conftest$ac_exeext conftest.$ac_ext
14365
LIBS=$ac_check_lib_save_LIBS
14367
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
14368
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
14369
if test $ac_cv_lib_dl_dlopen = yes; then
14370
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
14373
lt_cv_dlopen="dyld"
14375
lt_cv_dlopen_self=yes
14382
echo "$as_me:$LINENO: checking for shl_load" >&5
14383
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
14384
if test "${ac_cv_func_shl_load+set}" = set; then
14385
echo $ECHO_N "(cached) $ECHO_C" >&6
14387
cat >conftest.$ac_ext <<_ACEOF
14390
cat confdefs.h >>conftest.$ac_ext
14391
cat >>conftest.$ac_ext <<_ACEOF
14392
/* end confdefs.h. */
14393
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
14394
For example, HP-UX 11i <limits.h> declares gettimeofday. */
14395
#define shl_load innocuous_shl_load
14397
/* System header to define __stub macros and hopefully few prototypes,
14398
which can conflict with char shl_load (); below.
14399
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14400
<limits.h> exists even on freestanding compilers. */
14403
# include <limits.h>
14405
# include <assert.h>
14410
/* Override any gcc2 internal prototype to avoid an error. */
14415
/* We use char because int might match the return type of a gcc2
14416
builtin and then its argument prototype would still apply. */
14418
/* The GNU C library defines this for functions which it implements
14419
to always fail with ENOSYS. Some functions are actually named
14420
something starting with __ and the normal name is an alias. */
14421
#if defined (__stub_shl_load) || defined (__stub___shl_load)
14424
char (*f) () = shl_load;
14433
return f != shl_load;
14438
rm -f conftest.$ac_objext conftest$ac_exeext
14439
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14440
(eval $ac_link) 2>conftest.er1
14442
grep -v '^ *+' conftest.er1 >conftest.err
14444
cat conftest.err >&5
14445
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14446
(exit $ac_status); } &&
14447
{ ac_try='test -z "$ac_cxx_werror_flag"
14448
|| test ! -s conftest.err'
14449
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14450
(eval $ac_try) 2>&5
14452
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14453
(exit $ac_status); }; } &&
14454
{ ac_try='test -s conftest$ac_exeext'
14455
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14456
(eval $ac_try) 2>&5
14458
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14459
(exit $ac_status); }; }; then
14460
ac_cv_func_shl_load=yes
14462
echo "$as_me: failed program was:" >&5
14463
sed 's/^/| /' conftest.$ac_ext >&5
14465
ac_cv_func_shl_load=no
14467
rm -f conftest.err conftest.$ac_objext \
14468
conftest$ac_exeext conftest.$ac_ext
14470
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
14471
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
14472
if test $ac_cv_func_shl_load = yes; then
14473
lt_cv_dlopen="shl_load"
14475
echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
14476
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
14477
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
14478
echo $ECHO_N "(cached) $ECHO_C" >&6
14480
ac_check_lib_save_LIBS=$LIBS
14482
cat >conftest.$ac_ext <<_ACEOF
14485
cat confdefs.h >>conftest.$ac_ext
14486
cat >>conftest.$ac_ext <<_ACEOF
14487
/* end confdefs.h. */
14489
/* Override any gcc2 internal prototype to avoid an error. */
14493
/* We use char because int might match the return type of a gcc2
14494
builtin and then its argument prototype would still apply. */
14504
rm -f conftest.$ac_objext conftest$ac_exeext
14505
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14506
(eval $ac_link) 2>conftest.er1
14508
grep -v '^ *+' conftest.er1 >conftest.err
14510
cat conftest.err >&5
14511
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14512
(exit $ac_status); } &&
14513
{ ac_try='test -z "$ac_cxx_werror_flag"
14514
|| test ! -s conftest.err'
14515
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14516
(eval $ac_try) 2>&5
14518
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14519
(exit $ac_status); }; } &&
14520
{ ac_try='test -s conftest$ac_exeext'
14521
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14522
(eval $ac_try) 2>&5
14524
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14525
(exit $ac_status); }; }; then
14526
ac_cv_lib_dld_shl_load=yes
14528
echo "$as_me: failed program was:" >&5
14529
sed 's/^/| /' conftest.$ac_ext >&5
14531
ac_cv_lib_dld_shl_load=no
14533
rm -f conftest.err conftest.$ac_objext \
14534
conftest$ac_exeext conftest.$ac_ext
14535
LIBS=$ac_check_lib_save_LIBS
14537
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
14538
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
14539
if test $ac_cv_lib_dld_shl_load = yes; then
14540
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
14542
echo "$as_me:$LINENO: checking for dlopen" >&5
14543
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
14544
if test "${ac_cv_func_dlopen+set}" = set; then
14545
echo $ECHO_N "(cached) $ECHO_C" >&6
14547
cat >conftest.$ac_ext <<_ACEOF
14550
cat confdefs.h >>conftest.$ac_ext
14551
cat >>conftest.$ac_ext <<_ACEOF
14552
/* end confdefs.h. */
14553
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
14554
For example, HP-UX 11i <limits.h> declares gettimeofday. */
14555
#define dlopen innocuous_dlopen
14557
/* System header to define __stub macros and hopefully few prototypes,
14558
which can conflict with char dlopen (); below.
14559
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14560
<limits.h> exists even on freestanding compilers. */
14563
# include <limits.h>
14565
# include <assert.h>
14570
/* Override any gcc2 internal prototype to avoid an error. */
14575
/* We use char because int might match the return type of a gcc2
14576
builtin and then its argument prototype would still apply. */
14578
/* The GNU C library defines this for functions which it implements
14579
to always fail with ENOSYS. Some functions are actually named
14580
something starting with __ and the normal name is an alias. */
14581
#if defined (__stub_dlopen) || defined (__stub___dlopen)
14584
char (*f) () = dlopen;
14593
return f != dlopen;
14598
rm -f conftest.$ac_objext conftest$ac_exeext
14599
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14600
(eval $ac_link) 2>conftest.er1
14602
grep -v '^ *+' conftest.er1 >conftest.err
14604
cat conftest.err >&5
14605
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14606
(exit $ac_status); } &&
14607
{ ac_try='test -z "$ac_cxx_werror_flag"
14608
|| test ! -s conftest.err'
14609
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14610
(eval $ac_try) 2>&5
14612
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14613
(exit $ac_status); }; } &&
14614
{ ac_try='test -s conftest$ac_exeext'
14615
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14616
(eval $ac_try) 2>&5
14618
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14619
(exit $ac_status); }; }; then
14620
ac_cv_func_dlopen=yes
14622
echo "$as_me: failed program was:" >&5
14623
sed 's/^/| /' conftest.$ac_ext >&5
14625
ac_cv_func_dlopen=no
14627
rm -f conftest.err conftest.$ac_objext \
14628
conftest$ac_exeext conftest.$ac_ext
14630
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
14631
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
14632
if test $ac_cv_func_dlopen = yes; then
14633
lt_cv_dlopen="dlopen"
14635
echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
14636
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
14637
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
14638
echo $ECHO_N "(cached) $ECHO_C" >&6
14640
ac_check_lib_save_LIBS=$LIBS
14642
cat >conftest.$ac_ext <<_ACEOF
14645
cat confdefs.h >>conftest.$ac_ext
14646
cat >>conftest.$ac_ext <<_ACEOF
14647
/* end confdefs.h. */
14649
/* Override any gcc2 internal prototype to avoid an error. */
14653
/* We use char because int might match the return type of a gcc2
14654
builtin and then its argument prototype would still apply. */
14664
rm -f conftest.$ac_objext conftest$ac_exeext
14665
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14666
(eval $ac_link) 2>conftest.er1
14668
grep -v '^ *+' conftest.er1 >conftest.err
14670
cat conftest.err >&5
14671
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14672
(exit $ac_status); } &&
14673
{ ac_try='test -z "$ac_cxx_werror_flag"
14674
|| test ! -s conftest.err'
14675
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14676
(eval $ac_try) 2>&5
14678
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14679
(exit $ac_status); }; } &&
14680
{ ac_try='test -s conftest$ac_exeext'
14681
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14682
(eval $ac_try) 2>&5
14684
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14685
(exit $ac_status); }; }; then
14686
ac_cv_lib_dl_dlopen=yes
14688
echo "$as_me: failed program was:" >&5
14689
sed 's/^/| /' conftest.$ac_ext >&5
14691
ac_cv_lib_dl_dlopen=no
14693
rm -f conftest.err conftest.$ac_objext \
14694
conftest$ac_exeext conftest.$ac_ext
14695
LIBS=$ac_check_lib_save_LIBS
14697
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
14698
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
14699
if test $ac_cv_lib_dl_dlopen = yes; then
14700
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
14702
echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
14703
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
14704
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
14705
echo $ECHO_N "(cached) $ECHO_C" >&6
14707
ac_check_lib_save_LIBS=$LIBS
14708
LIBS="-lsvld $LIBS"
14709
cat >conftest.$ac_ext <<_ACEOF
14712
cat confdefs.h >>conftest.$ac_ext
14713
cat >>conftest.$ac_ext <<_ACEOF
14714
/* end confdefs.h. */
14716
/* Override any gcc2 internal prototype to avoid an error. */
14720
/* We use char because int might match the return type of a gcc2
14721
builtin and then its argument prototype would still apply. */
14731
rm -f conftest.$ac_objext conftest$ac_exeext
14732
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14733
(eval $ac_link) 2>conftest.er1
14735
grep -v '^ *+' conftest.er1 >conftest.err
14737
cat conftest.err >&5
14738
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14739
(exit $ac_status); } &&
14740
{ ac_try='test -z "$ac_cxx_werror_flag"
14741
|| test ! -s conftest.err'
14742
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14743
(eval $ac_try) 2>&5
14745
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14746
(exit $ac_status); }; } &&
14747
{ ac_try='test -s conftest$ac_exeext'
14748
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14749
(eval $ac_try) 2>&5
14751
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14752
(exit $ac_status); }; }; then
14753
ac_cv_lib_svld_dlopen=yes
14755
echo "$as_me: failed program was:" >&5
14756
sed 's/^/| /' conftest.$ac_ext >&5
14758
ac_cv_lib_svld_dlopen=no
14760
rm -f conftest.err conftest.$ac_objext \
14761
conftest$ac_exeext conftest.$ac_ext
14762
LIBS=$ac_check_lib_save_LIBS
14764
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
14765
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
14766
if test $ac_cv_lib_svld_dlopen = yes; then
14767
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
14769
echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
14770
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
14771
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
14772
echo $ECHO_N "(cached) $ECHO_C" >&6
14774
ac_check_lib_save_LIBS=$LIBS
14776
cat >conftest.$ac_ext <<_ACEOF
14779
cat confdefs.h >>conftest.$ac_ext
14780
cat >>conftest.$ac_ext <<_ACEOF
14781
/* end confdefs.h. */
14783
/* Override any gcc2 internal prototype to avoid an error. */
14787
/* We use char because int might match the return type of a gcc2
14788
builtin and then its argument prototype would still apply. */
14798
rm -f conftest.$ac_objext conftest$ac_exeext
14799
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14800
(eval $ac_link) 2>conftest.er1
14802
grep -v '^ *+' conftest.er1 >conftest.err
14804
cat conftest.err >&5
14805
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14806
(exit $ac_status); } &&
14807
{ ac_try='test -z "$ac_cxx_werror_flag"
14808
|| test ! -s conftest.err'
14809
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14810
(eval $ac_try) 2>&5
14812
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14813
(exit $ac_status); }; } &&
14814
{ ac_try='test -s conftest$ac_exeext'
14815
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14816
(eval $ac_try) 2>&5
14818
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14819
(exit $ac_status); }; }; then
14820
ac_cv_lib_dld_dld_link=yes
14822
echo "$as_me: failed program was:" >&5
14823
sed 's/^/| /' conftest.$ac_ext >&5
14825
ac_cv_lib_dld_dld_link=no
14827
rm -f conftest.err conftest.$ac_objext \
14828
conftest$ac_exeext conftest.$ac_ext
14829
LIBS=$ac_check_lib_save_LIBS
14831
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
14832
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
14833
if test $ac_cv_lib_dld_dld_link = yes; then
14834
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
14855
if test "x$lt_cv_dlopen" != xno; then
14861
case $lt_cv_dlopen in
14863
save_CPPFLAGS="$CPPFLAGS"
14864
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
14866
save_LDFLAGS="$LDFLAGS"
14867
eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
14870
LIBS="$lt_cv_dlopen_libs $LIBS"
14872
echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
14873
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
14874
if test "${lt_cv_dlopen_self+set}" = set; then
14875
echo $ECHO_N "(cached) $ECHO_C" >&6
14877
if test "$cross_compiling" = yes; then :
14878
lt_cv_dlopen_self=cross
14880
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14881
lt_status=$lt_dlunknown
14882
cat > conftest.$ac_ext <<EOF
14883
#line 14883 "configure"
14884
#include "confdefs.h"
14893
# define LT_DLGLOBAL RTLD_GLOBAL
14896
# define LT_DLGLOBAL DL_GLOBAL
14898
# define LT_DLGLOBAL 0
14902
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14903
find out it does not work in some platform. */
14904
#ifndef LT_DLLAZY_OR_NOW
14906
# define LT_DLLAZY_OR_NOW RTLD_LAZY
14909
# define LT_DLLAZY_OR_NOW DL_LAZY
14912
# define LT_DLLAZY_OR_NOW RTLD_NOW
14915
# define LT_DLLAZY_OR_NOW DL_NOW
14917
# define LT_DLLAZY_OR_NOW 0
14925
extern "C" void exit (int);
14928
void fnord() { int i=42;}
14931
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14932
int status = $lt_dlunknown;
14936
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
14937
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14938
/* dlclose (self); */
14944
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14945
(eval $ac_link) 2>&5
14947
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14948
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
14949
(./conftest; exit; ) 2>/dev/null
14951
case x$lt_status in
14952
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
14953
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
14954
x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
14957
# compilation failed
14958
lt_cv_dlopen_self=no
14965
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
14966
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
14968
if test "x$lt_cv_dlopen_self" = xyes; then
14969
LDFLAGS="$LDFLAGS $link_static_flag"
14970
echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
14971
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
14972
if test "${lt_cv_dlopen_self_static+set}" = set; then
14973
echo $ECHO_N "(cached) $ECHO_C" >&6
14975
if test "$cross_compiling" = yes; then :
14976
lt_cv_dlopen_self_static=cross
14978
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14979
lt_status=$lt_dlunknown
14980
cat > conftest.$ac_ext <<EOF
14981
#line 14981 "configure"
14982
#include "confdefs.h"
14991
# define LT_DLGLOBAL RTLD_GLOBAL
14994
# define LT_DLGLOBAL DL_GLOBAL
14996
# define LT_DLGLOBAL 0
15000
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
15001
find out it does not work in some platform. */
15002
#ifndef LT_DLLAZY_OR_NOW
15004
# define LT_DLLAZY_OR_NOW RTLD_LAZY
15007
# define LT_DLLAZY_OR_NOW DL_LAZY
15010
# define LT_DLLAZY_OR_NOW RTLD_NOW
15013
# define LT_DLLAZY_OR_NOW DL_NOW
15015
# define LT_DLLAZY_OR_NOW 0
15023
extern "C" void exit (int);
15026
void fnord() { int i=42;}
15029
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
15030
int status = $lt_dlunknown;
15034
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
15035
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
15036
/* dlclose (self); */
15042
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15043
(eval $ac_link) 2>&5
15045
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15046
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
15047
(./conftest; exit; ) 2>/dev/null
15049
case x$lt_status in
15050
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
15051
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
15052
x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
15055
# compilation failed
15056
lt_cv_dlopen_self_static=no
15063
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
15064
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
15067
CPPFLAGS="$save_CPPFLAGS"
15068
LDFLAGS="$save_LDFLAGS"
15073
case $lt_cv_dlopen_self in
15074
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
15075
*) enable_dlopen_self=unknown ;;
15078
case $lt_cv_dlopen_self_static in
15079
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
15080
*) enable_dlopen_self_static=unknown ;;
15085
# The else clause should only fire when bootstrapping the
15086
# libtool distribution, otherwise you forgot to ship ltmain.sh
15087
# with your package, and you will get complaints that there are
15088
# no rules to generate ltmain.sh.
15089
if test -f "$ltmain"; then
15090
# See if we are running on zsh, and set the options which allow our commands through
15091
# without removal of \ escapes.
15092
if test -n "${ZSH_VERSION+set}" ; then
15093
setopt NO_GLOB_SUBST
15095
# Now quote all the things that may contain metacharacters while being
15096
# careful not to overquote the AC_SUBSTed values. We take copies of the
15097
# variables and quote the copies for generation of the libtool script.
15098
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
15099
libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15100
old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15101
deplibs_check_method reload_flag reload_cmds need_locks \
15102
lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
15103
lt_cv_sys_global_symbol_to_c_name_address \
15104
sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
15105
old_postinstall_cmds old_postuninstall_cmds \
15109
lt_prog_compiler_wl_CXX \
15110
lt_prog_compiler_pic_CXX \
15111
lt_prog_compiler_static_CXX \
15112
lt_prog_compiler_no_builtin_flag_CXX \
15113
export_dynamic_flag_spec_CXX \
15114
thread_safe_flag_spec_CXX \
15115
whole_archive_flag_spec_CXX \
15116
enable_shared_with_static_runtimes_CXX \
15117
old_archive_cmds_CXX \
15118
old_archive_from_new_cmds_CXX \
15119
predep_objects_CXX \
15120
postdep_objects_CXX \
15123
compiler_lib_search_path_CXX \
15125
archive_expsym_cmds_CXX \
15126
postinstall_cmds_CXX \
15127
postuninstall_cmds_CXX \
15128
old_archive_from_expsyms_cmds_CXX \
15129
allow_undefined_flag_CXX \
15130
no_undefined_flag_CXX \
15131
export_symbols_cmds_CXX \
15132
hardcode_libdir_flag_spec_CXX \
15133
hardcode_libdir_flag_spec_ld_CXX \
15134
hardcode_libdir_separator_CXX \
15135
hardcode_automatic_CXX \
15137
module_expsym_cmds_CXX \
15138
lt_cv_prog_compiler_c_o_CXX \
15139
exclude_expsyms_CXX \
15140
include_expsyms_CXX; do
15143
old_archive_cmds_CXX | \
15144
old_archive_from_new_cmds_CXX | \
15145
archive_cmds_CXX | \
15146
archive_expsym_cmds_CXX | \
15147
module_cmds_CXX | \
15148
module_expsym_cmds_CXX | \
15149
old_archive_from_expsyms_cmds_CXX | \
15150
export_symbols_cmds_CXX | \
15151
extract_expsyms_cmds | reload_cmds | finish_cmds | \
15152
postinstall_cmds | postuninstall_cmds | \
15153
old_postinstall_cmds | old_postuninstall_cmds | \
15154
sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
15155
# Double-quote double-evaled strings.
15156
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
15159
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
15165
*'\$0 --fallback-echo"')
15166
lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
15172
cat <<__EOF__ >> "$cfgfile"
15173
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
15175
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15177
# Shell to use when invoking shell scripts.
15180
# Whether or not to build shared libraries.
15181
build_libtool_libs=$enable_shared
15183
# Whether or not to build static libraries.
15184
build_old_libs=$enable_static
15186
# Whether or not to add -lc for building shared libraries.
15187
build_libtool_need_lc=$archive_cmds_need_lc_CXX
15189
# Whether or not to disallow shared libs when runtime libs are static
15190
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
15192
# Whether or not to optimize for fast installation.
15193
fast_install=$enable_fast_install
15196
host_alias=$host_alias
15199
# An echo program that does not interpret backslashes.
15204
AR_FLAGS=$lt_AR_FLAGS
15209
# A language-specific compiler.
15210
CC=$lt_compiler_CXX
15212
# Is the compiler the GNU C compiler?
15218
# The linker used to build libraries.
15221
# Whether we need hard or soft links.
15224
# A BSD-compatible nm program.
15227
# A symbol stripping program
15230
# Used to examine libraries when file_magic_cmd begins "file"
15231
MAGIC_CMD=$MAGIC_CMD
15233
# Used on cygwin: DLL creation program.
15236
# Used on cygwin: object dumper.
15239
# Used on cygwin: assembler.
15242
# The name of the directory that contains temporary libtool files.
15245
# How to create reloadable object files.
15246
reload_flag=$lt_reload_flag
15247
reload_cmds=$lt_reload_cmds
15249
# How to pass a linker flag through the compiler.
15250
wl=$lt_lt_prog_compiler_wl_CXX
15252
# Object file suffix (normally "o").
15253
objext="$ac_objext"
15255
# Old archive suffix (normally "a").
15258
# Shared library suffix (normally ".so").
15261
# Executable file suffix (normally "").
15264
# Additional compiler flags for building library objects.
15265
pic_flag=$lt_lt_prog_compiler_pic_CXX
15268
# What is the maximum length of a command?
15269
max_cmd_len=$lt_cv_sys_max_cmd_len
15271
# Does compiler simultaneously support -c and -o options?
15272
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
15274
# Must we lock files when doing compilation ?
15275
need_locks=$lt_need_locks
15277
# Do we need the lib prefix for modules?
15278
need_lib_prefix=$need_lib_prefix
15280
# Do we need a version for libraries?
15281
need_version=$need_version
15283
# Whether dlopen is supported.
15284
dlopen_support=$enable_dlopen
15286
# Whether dlopen of programs is supported.
15287
dlopen_self=$enable_dlopen_self
15289
# Whether dlopen of statically linked programs is supported.
15290
dlopen_self_static=$enable_dlopen_self_static
15292
# Compiler flag to prevent dynamic linking.
15293
link_static_flag=$lt_lt_prog_compiler_static_CXX
15295
# Compiler flag to turn off builtin functions.
15296
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
15298
# Compiler flag to allow reflexive dlopens.
15299
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
15301
# Compiler flag to generate shared objects directly from archives.
15302
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
15304
# Compiler flag to generate thread-safe objects.
15305
thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
15307
# Library versioning type.
15308
version_type=$version_type
15310
# Format of library name prefix.
15311
libname_spec=$lt_libname_spec
15313
# List of archive names. First name is the real one, the rest are links.
15314
# The last name is the one that the linker finds with -lNAME.
15315
library_names_spec=$lt_library_names_spec
15317
# The coded name of the library, if different from the real name.
15318
soname_spec=$lt_soname_spec
15320
# Commands used to build and install an old-style archive.
15322
old_archive_cmds=$lt_old_archive_cmds_CXX
15323
old_postinstall_cmds=$lt_old_postinstall_cmds
15324
old_postuninstall_cmds=$lt_old_postuninstall_cmds
15326
# Create an old-style archive from a shared archive.
15327
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
15329
# Create a temporary old-style archive to link instead of a shared archive.
15330
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
15332
# Commands used to build and install a shared archive.
15333
archive_cmds=$lt_archive_cmds_CXX
15334
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
15335
postinstall_cmds=$lt_postinstall_cmds
15336
postuninstall_cmds=$lt_postuninstall_cmds
15338
# Commands used to build a loadable module (assumed same as above if empty)
15339
module_cmds=$lt_module_cmds_CXX
15340
module_expsym_cmds=$lt_module_expsym_cmds_CXX
15342
# Commands to strip libraries.
15343
old_striplib=$lt_old_striplib
15344
striplib=$lt_striplib
15346
# Dependencies to place before the objects being linked to create a
15348
predep_objects=$lt_predep_objects_CXX
15350
# Dependencies to place after the objects being linked to create a
15352
postdep_objects=$lt_postdep_objects_CXX
15354
# Dependencies to place before the objects being linked to create a
15356
predeps=$lt_predeps_CXX
15358
# Dependencies to place after the objects being linked to create a
15360
postdeps=$lt_postdeps_CXX
15362
# The library search path used internally by the compiler when linking
15363
# a shared library.
15364
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
15366
# Method to check whether dependent libraries are shared objects.
15367
deplibs_check_method=$lt_deplibs_check_method
15369
# Command to use when deplibs_check_method == file_magic.
15370
file_magic_cmd=$lt_file_magic_cmd
15372
# Flag that allows shared libraries with undefined symbols to be built.
15373
allow_undefined_flag=$lt_allow_undefined_flag_CXX
15375
# Flag that forces no undefined symbols.
15376
no_undefined_flag=$lt_no_undefined_flag_CXX
15378
# Commands used to finish a libtool library installation in a directory.
15379
finish_cmds=$lt_finish_cmds
15381
# Same as above, but a single script fragment to be evaled but not shown.
15382
finish_eval=$lt_finish_eval
15384
# Take the output of nm and produce a listing of raw symbols and C names.
15385
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15387
# Transform the output of nm in a proper C declaration
15388
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15390
# Transform the output of nm in a C name address pair
15391
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15393
# This is the shared library runtime path variable.
15394
runpath_var=$runpath_var
15396
# This is the shared library path variable.
15397
shlibpath_var=$shlibpath_var
15399
# Is shlibpath searched before the hard-coded library search path?
15400
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15402
# How to hardcode a shared library path into an executable.
15403
hardcode_action=$hardcode_action_CXX
15405
# Whether we should hardcode library paths into libraries.
15406
hardcode_into_libs=$hardcode_into_libs
15408
# Flag to hardcode \$libdir into a binary during linking.
15409
# This must work even if \$libdir does not exist.
15410
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
15412
# If ld is used when linking, flag to hardcode \$libdir into
15413
# a binary during linking. This must work even if \$libdir does
15415
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
15417
# Whether we need a single -rpath flag with a separated argument.
15418
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
15420
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
15421
# resulting binary.
15422
hardcode_direct=$hardcode_direct_CXX
15424
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
15425
# resulting binary.
15426
hardcode_minus_L=$hardcode_minus_L_CXX
15428
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
15429
# the resulting binary.
15430
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
15432
# Set to yes if building a shared library automatically hardcodes DIR into the library
15433
# and all subsequent libraries and executables linked against it.
15434
hardcode_automatic=$hardcode_automatic_CXX
15436
# Variables whose values should be saved in libtool wrapper scripts and
15437
# restored at relink time.
15438
variables_saved_for_relink="$variables_saved_for_relink"
15440
# Whether libtool must link a program against all its dependency libraries.
15441
link_all_deplibs=$link_all_deplibs_CXX
15443
# Compile-time system search path for libraries
15444
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15446
# Run-time system search path for libraries
15447
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15449
# Fix the shell variable \$srcfile for the compiler.
15450
fix_srcfile_path="$fix_srcfile_path_CXX"
15452
# Set to yes if exported symbols are required.
15453
always_export_symbols=$always_export_symbols_CXX
15455
# The commands to list exported symbols.
15456
export_symbols_cmds=$lt_export_symbols_cmds_CXX
15458
# The commands to extract the exported symbol list from a shared archive.
15459
extract_expsyms_cmds=$lt_extract_expsyms_cmds
15461
# Symbols that should not be listed in the preloaded symbols.
15462
exclude_expsyms=$lt_exclude_expsyms_CXX
15464
# Symbols that must always be exported.
15465
include_expsyms=$lt_include_expsyms_CXX
15467
# ### END LIBTOOL TAG CONFIG: $tagname
15473
# If there is no Makefile yet, we rely on a make rule to execute
15474
# `config.status --recheck' to rerun these tests and create the
15475
# libtool script then.
15476
test -f Makefile && make "$ltmain"
15481
ac_cpp='$CPP $CPPFLAGS'
15482
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15483
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15484
ac_compiler_gnu=$ac_cv_c_compiler_gnu
15490
with_gnu_ldcxx=$with_gnu_ld
15491
with_gnu_ld=$lt_save_with_gnu_ld
15492
lt_cv_path_LDCXX=$lt_cv_path_LD
15493
lt_cv_path_LD=$lt_save_path_LD
15494
lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15495
lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15503
if test -n "$F77" && test "X$F77" != "Xno"; then
15506
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
15507
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15508
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
15511
archive_cmds_need_lc_F77=no
15512
allow_undefined_flag_F77=
15513
always_export_symbols_F77=no
15514
archive_expsym_cmds_F77=
15515
export_dynamic_flag_spec_F77=
15516
hardcode_direct_F77=no
15517
hardcode_libdir_flag_spec_F77=
15518
hardcode_libdir_flag_spec_ld_F77=
15519
hardcode_libdir_separator_F77=
15520
hardcode_minus_L_F77=no
15521
hardcode_automatic_F77=no
15523
module_expsym_cmds_F77=
15524
link_all_deplibs_F77=unknown
15525
old_archive_cmds_F77=$old_archive_cmds
15526
no_undefined_flag_F77=
15527
whole_archive_flag_spec_F77=
15528
enable_shared_with_static_runtimes_F77=no
15530
# Source file extension for f77 test sources.
15533
# Object file extension for compiled f77 test sources.
15537
# Code to be used in simple compile tests
15538
lt_simple_compile_test_code=" subroutine t\n return\n end\n"
15540
# Code to be used in simple link tests
15541
lt_simple_link_test_code=" program t\n end\n"
15543
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
15545
# If no C compiler was specified, use CC.
15548
# Allow CC to be a program name with arguments.
15552
# Allow CC to be a program name with arguments.
15557
cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
15559
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
15560
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
15561
echo "$as_me:$LINENO: result: $can_build_shared" >&5
15562
echo "${ECHO_T}$can_build_shared" >&6
15564
echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
15565
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
15566
test "$can_build_shared" = "no" && enable_shared=no
15568
# On AIX, shared libraries and static libraries use the same namespace, and
15569
# are all built from PIC.
15572
test "$enable_shared" = yes && enable_static=no
15573
if test -n "$RANLIB"; then
15574
archive_cmds="$archive_cmds~\$RANLIB \$lib"
15575
postinstall_cmds='$RANLIB $lib'
15579
test "$enable_shared" = yes && enable_static=no
15582
echo "$as_me:$LINENO: result: $enable_shared" >&5
15583
echo "${ECHO_T}$enable_shared" >&6
15585
echo "$as_me:$LINENO: checking whether to build static libraries" >&5
15586
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
15587
# Make sure either enable_shared or enable_static is yes.
15588
test "$enable_shared" = yes || enable_static=yes
15589
echo "$as_me:$LINENO: result: $enable_static" >&5
15590
echo "${ECHO_T}$enable_static" >&6
15592
test "$ld_shlibs_F77" = no && can_build_shared=no
15597
lt_prog_compiler_wl_F77=
15598
lt_prog_compiler_pic_F77=
15599
lt_prog_compiler_static_F77=
15601
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15602
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
15604
if test "$GCC" = yes; then
15605
lt_prog_compiler_wl_F77='-Wl,'
15606
lt_prog_compiler_static_F77='-static'
15610
# All AIX code is PIC.
15611
if test "$host_cpu" = ia64; then
15612
# AIX 5 now supports IA64 processor
15613
lt_prog_compiler_static_F77='-Bstatic'
15618
# FIXME: we need at least 68020 code to build shared libraries, but
15619
# adding the `-m68020' flag to GCC prevents building anything better,
15621
lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
15624
beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15625
# PIC is the default for these OSes.
15628
mingw* | pw32* | os2*)
15629
# This hack is so that the source file can tell whether it is being
15630
# built for inclusion in a dll (and should export symbols for example).
15631
lt_prog_compiler_pic_F77='-DDLL_EXPORT'
15634
darwin* | rhapsody*)
15635
# PIC is the default on this platform
15636
# Common symbols not allowed in MH_DYLIB files
15637
lt_prog_compiler_pic_F77='-fno-common'
15641
# Just because we use GCC doesn't mean we suddenly get shared libraries
15642
# on systems that don't support them.
15643
lt_prog_compiler_can_build_shared_F77=no
15648
if test -d /usr/nec; then
15649
lt_prog_compiler_pic_F77=-Kconform_pic
15654
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15655
# not for PA HP-UX.
15656
case "$host_cpu" in
15661
lt_prog_compiler_pic_F77='-fPIC'
15667
lt_prog_compiler_pic_F77='-fPIC'
15671
# PORTME Check for flag to pass linker flags through the system compiler.
15674
lt_prog_compiler_wl_F77='-Wl,'
15675
if test "$host_cpu" = ia64; then
15676
# AIX 5 now supports IA64 processor
15677
lt_prog_compiler_static_F77='-Bstatic'
15679
lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
15683
mingw* | pw32* | os2*)
15684
# This hack is so that the source file can tell whether it is being
15685
# built for inclusion in a dll (and should export symbols for example).
15686
lt_prog_compiler_pic_F77='-DDLL_EXPORT'
15689
hpux9* | hpux10* | hpux11*)
15690
lt_prog_compiler_wl_F77='-Wl,'
15691
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15692
# not for PA HP-UX.
15693
case "$host_cpu" in
15698
lt_prog_compiler_pic_F77='+Z'
15701
# Is there a better lt_prog_compiler_static that works with the bundled CC?
15702
lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
15705
irix5* | irix6* | nonstopux*)
15706
lt_prog_compiler_wl_F77='-Wl,'
15707
# PIC (with -KPIC) is the default.
15708
lt_prog_compiler_static_F77='-non_shared'
15712
lt_prog_compiler_pic_F77='-KPIC'
15713
lt_prog_compiler_static_F77='-Bstatic'
15719
lt_prog_compiler_wl_F77='-Wl,'
15720
lt_prog_compiler_pic_F77='-KPIC'
15721
lt_prog_compiler_static_F77='-static'
15724
lt_prog_compiler_wl_F77='-Wl,'
15725
# All Alpha code is PIC.
15726
lt_prog_compiler_static_F77='-non_shared'
15731
osf3* | osf4* | osf5*)
15732
lt_prog_compiler_wl_F77='-Wl,'
15733
# All OSF/1 code is PIC.
15734
lt_prog_compiler_static_F77='-non_shared'
15738
lt_prog_compiler_pic_F77='-Kpic'
15739
lt_prog_compiler_static_F77='-dn'
15743
lt_prog_compiler_wl_F77='-Wl,'
15744
lt_prog_compiler_pic_F77='-KPIC'
15745
lt_prog_compiler_static_F77='-Bstatic'
15749
lt_prog_compiler_wl_F77='-Qoption ld '
15750
lt_prog_compiler_pic_F77='-PIC'
15751
lt_prog_compiler_static_F77='-Bstatic'
15754
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
15755
lt_prog_compiler_wl_F77='-Wl,'
15756
lt_prog_compiler_pic_F77='-KPIC'
15757
lt_prog_compiler_static_F77='-Bstatic'
15761
if test -d /usr/nec ;then
15762
lt_prog_compiler_pic_F77='-Kconform_pic'
15763
lt_prog_compiler_static_F77='-Bstatic'
15768
lt_prog_compiler_pic_F77='-pic'
15769
lt_prog_compiler_static_F77='-Bstatic'
15773
lt_prog_compiler_can_build_shared_F77=no
15778
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
15779
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
15782
# Check to make sure the PIC flag actually works.
15784
if test -n "$lt_prog_compiler_pic_F77"; then
15786
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
15787
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
15788
if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
15789
echo $ECHO_N "(cached) $ECHO_C" >&6
15791
lt_prog_compiler_pic_works_F77=no
15792
ac_outfile=conftest.$ac_objext
15793
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15794
lt_compiler_flag="$lt_prog_compiler_pic_F77"
15795
# Insert the option either (1) after the last *FLAGS variable, or
15796
# (2) before a word containing "conftest.", or (3) at the end.
15797
# Note that $ac_compile itself does not contain backslashes and begins
15798
# with a dollar sign (not a hyphen), so the echo should work correctly.
15799
# The option is referenced via a variable to avoid confusing sed.
15800
lt_compile=`echo "$ac_compile" | $SED \
15801
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15802
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15803
-e 's:$: $lt_compiler_flag:'`
15804
(eval echo "\"\$as_me:15804: $lt_compile\"" >&5)
15805
(eval "$lt_compile" 2>conftest.err)
15807
cat conftest.err >&5
15808
echo "$as_me:15808: \$? = $ac_status" >&5
15809
if (exit $ac_status) && test -s "$ac_outfile"; then
15810
# The compiler can only warn and ignore the option if not recognized
15811
# So say no if there are warnings
15812
if test ! -s conftest.err; then
15813
lt_prog_compiler_pic_works_F77=yes
15819
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
15820
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
15822
if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
15823
case $lt_prog_compiler_pic_F77 in
15825
*) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
15828
lt_prog_compiler_pic_F77=
15829
lt_prog_compiler_can_build_shared_F77=no
15834
# For platforms which do not support PIC, -DPIC is meaningless:
15836
lt_prog_compiler_pic_F77=
15839
lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
15843
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15844
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
15845
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
15846
echo $ECHO_N "(cached) $ECHO_C" >&6
15848
lt_cv_prog_compiler_c_o_F77=no
15849
$rm -r conftest 2>/dev/null
15853
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15855
# According to Tom Tromey, Ian Lance Taylor reported there are C compilers
15856
# that will create temporary files in the current directory regardless of
15857
# the output directory. Thus, making CWD read-only will cause this test
15858
# to fail, enabling locking or at least warning the user not to do parallel
15862
lt_compiler_flag="-o out/conftest2.$ac_objext"
15863
# Insert the option either (1) after the last *FLAGS variable, or
15864
# (2) before a word containing "conftest.", or (3) at the end.
15865
# Note that $ac_compile itself does not contain backslashes and begins
15866
# with a dollar sign (not a hyphen), so the echo should work correctly.
15867
lt_compile=`echo "$ac_compile" | $SED \
15868
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15869
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15870
-e 's:$: $lt_compiler_flag:'`
15871
(eval echo "\"\$as_me:15871: $lt_compile\"" >&5)
15872
(eval "$lt_compile" 2>out/conftest.err)
15874
cat out/conftest.err >&5
15875
echo "$as_me:15875: \$? = $ac_status" >&5
15876
if (exit $ac_status) && test -s out/conftest2.$ac_objext
15878
# The compiler can only warn and ignore the option if not recognized
15879
# So say no if there are warnings
15880
if test ! -s out/conftest.err; then
15881
lt_cv_prog_compiler_c_o_F77=yes
15885
$rm conftest* out/*
15892
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
15893
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
15896
hard_links="nottested"
15897
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
15898
# do not overwrite the value of need_locks provided by the user
15899
echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15900
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
15903
ln conftest.a conftest.b 2>/dev/null && hard_links=no
15905
ln conftest.a conftest.b 2>&5 || hard_links=no
15906
ln conftest.a conftest.b 2>/dev/null && hard_links=no
15907
echo "$as_me:$LINENO: result: $hard_links" >&5
15908
echo "${ECHO_T}$hard_links" >&6
15909
if test "$hard_links" = no; then
15910
{ echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15911
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15918
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15919
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
15922
allow_undefined_flag_F77=
15923
enable_shared_with_static_runtimes_F77=no
15925
archive_expsym_cmds_F77=
15926
old_archive_From_new_cmds_F77=
15927
old_archive_from_expsyms_cmds_F77=
15928
export_dynamic_flag_spec_F77=
15929
whole_archive_flag_spec_F77=
15930
thread_safe_flag_spec_F77=
15931
hardcode_libdir_flag_spec_F77=
15932
hardcode_libdir_flag_spec_ld_F77=
15933
hardcode_libdir_separator_F77=
15934
hardcode_direct_F77=no
15935
hardcode_minus_L_F77=no
15936
hardcode_shlibpath_var_F77=unsupported
15937
link_all_deplibs_F77=unknown
15938
hardcode_automatic_F77=no
15940
module_expsym_cmds_F77=
15941
always_export_symbols_F77=no
15942
export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15943
# include_expsyms should be a list of space-separated symbols to be *always*
15944
# included in the symbol list
15945
include_expsyms_F77=
15946
# exclude_expsyms can be an extended regexp of symbols to exclude
15947
# it will be wrapped by ` (' and `)$', so one must not match beginning or
15948
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15949
# as well as any symbol that contains `d'.
15950
exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
15951
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15952
# platforms (ab)use it in PIC code, but their linkers get confused if
15953
# the symbol is explicitly referenced. Since portable code cannot
15954
# rely on this symbol name, it's probably fine to never include it in
15955
# preloaded symbol tables.
15956
extract_expsyms_cmds=
15959
cygwin* | mingw* | pw32*)
15960
# FIXME: the MSVC++ port hasn't been tested in a loooong time
15961
# When not using gcc, we currently assume that we are using
15962
# Microsoft Visual C++.
15963
if test "$GCC" != yes; then
15973
if test "$with_gnu_ld" = yes; then
15974
# If archive_cmds runs LD, not CC, wlarc should be empty
15977
# See if GNU ld supports shared libraries.
15979
aix3* | aix4* | aix5*)
15980
# On AIX/PPC, the GNU linker is very broken
15981
if test "$host_cpu" != ia64; then
15985
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
15986
*** to be unable to reliably create shared libraries on AIX.
15987
*** Therefore, libtool is disabling shared libraries support. If you
15988
*** really care for shared libraries, you may want to modify your PATH
15989
*** so that a non-GNU linker is found, and then restart.
15996
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)'
15997
hardcode_libdir_flag_spec_F77='-L$libdir'
15998
hardcode_minus_L_F77=yes
16000
# Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
16001
# that the semantics of dynamic libraries on AmigaOS, at least up
16002
# to version 4, is to share data among multiple programs linked
16003
# with the same dynamic library. Since this doesn't match the
16004
# behavior of shared libraries on other platforms, we can't use
16010
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16011
allow_undefined_flag_F77=unsupported
16012
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16013
# support --undefined. This deserves some investigation. FIXME
16014
archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16020
cygwin* | mingw* | pw32*)
16021
# _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
16022
# as there is no search path for DLLs.
16023
hardcode_libdir_flag_spec_F77='-L$libdir'
16024
allow_undefined_flag_F77=no
16025
always_export_symbols_F77=no
16026
enable_shared_with_static_runtimes_F77=yes
16027
export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
16029
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
16030
archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
16031
# If the export-symbols file already is a .def file (1st line
16032
# is EXPORTS), use it as is; otherwise, prepend...
16033
archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16034
cp $export_symbols $output_objdir/$soname.def;
16036
echo EXPORTS > $output_objdir/$soname.def;
16037
cat $export_symbols >> $output_objdir/$soname.def;
16039
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
16046
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16047
archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16050
archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16051
archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16056
if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
16060
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
16061
*** create shared libraries on Solaris systems. Therefore, libtool
16062
*** is disabling shared libraries support. We urge you to upgrade GNU
16063
*** binutils to release 2.9.1 or newer. Another option is to modify
16064
*** your PATH or compiler configuration so that the native linker is
16065
*** used, and then restart.
16068
elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16069
archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16070
archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16077
archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16079
hardcode_direct_F77=yes
16080
hardcode_shlibpath_var_F77=no
16084
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16085
archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16086
archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16093
if test "$ld_shlibs_F77" = yes; then
16094
runpath_var=LD_RUN_PATH
16095
hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
16096
export_dynamic_flag_spec_F77='${wl}--export-dynamic'
16097
# ancient GNU ld didn't support --whole-archive et. al.
16098
if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
16099
whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16101
whole_archive_flag_spec_F77=
16105
# PORTME fill in a description of your system's linker (not GNU ld)
16108
allow_undefined_flag_F77=unsupported
16109
always_export_symbols_F77=yes
16110
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'
16111
# Note: this linker hardcodes the directories in LIBPATH if there
16112
# are no directories specified by -L.
16113
hardcode_minus_L_F77=yes
16114
if test "$GCC" = yes && test -z "$link_static_flag"; then
16115
# Neither direct hardcoding nor static linking is supported with a
16117
hardcode_direct_F77=unsupported
16122
if test "$host_cpu" = ia64; then
16123
# On IA64, the linker does run time linking by default, so we don't
16124
# have to do anything special.
16125
aix_use_runtimelinking=no
16126
exp_sym_flag='-Bexport'
16129
# If we're using GNU nm, then we don't want the "-C" option.
16130
# -C means demangle to AIX nm, but means don't demangle with GNU nm
16131
if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
16132
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'
16134
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'
16137
# KDE requires run time linking. Make it the default.
16138
aix_use_runtimelinking=yes
16139
exp_sym_flag='-bexport'
16140
no_entry_flag='-bnoentry'
16143
# When large executables or shared objects are built, AIX ld can
16144
# have problems creating the table of contents. If linking a library
16145
# or program results in "error TOC overflow" add -mminimal-toc to
16146
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
16147
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
16149
archive_cmds_F77=''
16150
hardcode_direct_F77=yes
16151
hardcode_libdir_separator_F77=':'
16152
link_all_deplibs_F77=yes
16154
if test "$GCC" = yes; then
16155
case $host_os in aix4.012|aix4.012.*)
16156
# We only want to do this on AIX 4.2 and lower, the check
16157
# below for broken collect2 doesn't work under 4.3+
16158
collect2name=`${CC} -print-prog-name=collect2`
16159
if test -f "$collect2name" && \
16160
strings "$collect2name" | grep resolve_lib_name >/dev/null
16162
# We have reworked collect2
16163
hardcode_direct_F77=yes
16165
# We have old collect2
16166
hardcode_direct_F77=unsupported
16167
# It fails to find uninstalled libraries when the uninstalled
16168
# path is not listed in the libpath. Setting hardcode_minus_L
16169
# to unsupported forces relinking
16170
hardcode_minus_L_F77=yes
16171
hardcode_libdir_flag_spec_F77='-L$libdir'
16172
hardcode_libdir_separator_F77=
16175
shared_flag='-shared'
16178
if test "$host_cpu" = ia64; then
16179
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
16180
# chokes on -Wl,-G. The following line is correct:
16183
if test "$aix_use_runtimelinking" = yes; then
16184
shared_flag='-qmkshrobj ${wl}-G'
16186
shared_flag='-qmkshrobj'
16191
# Let the compiler handle the export list.
16192
always_export_symbols_F77=no
16193
if test "$aix_use_runtimelinking" = yes; then
16194
# Warning - without using the other runtime loading flags (-brtl),
16195
# -berok will link without error, but may produce a broken library.
16196
allow_undefined_flag_F77='-berok'
16197
# Determine the default libpath from the value encoded in an empty executable.
16198
cat >conftest.$ac_ext <<_ACEOF
16203
rm -f conftest.$ac_objext conftest$ac_exeext
16204
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16205
(eval $ac_link) 2>conftest.er1
16207
grep -v '^ *+' conftest.er1 >conftest.err
16209
cat conftest.err >&5
16210
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16211
(exit $ac_status); } &&
16212
{ ac_try='test -z "$ac_f77_werror_flag"
16213
|| test ! -s conftest.err'
16214
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16215
(eval $ac_try) 2>&5
16217
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16218
(exit $ac_status); }; } &&
16219
{ ac_try='test -s conftest$ac_exeext'
16220
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16221
(eval $ac_try) 2>&5
16223
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16224
(exit $ac_status); }; }; then
16226
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16228
# Check for a 64-bit object if we didn't find anything.
16229
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; }
16232
echo "$as_me: failed program was:" >&5
16233
sed 's/^/| /' conftest.$ac_ext >&5
16236
rm -f conftest.err conftest.$ac_objext \
16237
conftest$ac_exeext conftest.$ac_ext
16238
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16240
hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
16241
archive_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '" $shared_flag"
16242
archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
16244
if test "$host_cpu" = ia64; then
16245
hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
16246
allow_undefined_flag_F77="-z nodefs"
16247
archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
16249
# Determine the default libpath from the value encoded in an empty executable.
16250
cat >conftest.$ac_ext <<_ACEOF
16255
rm -f conftest.$ac_objext conftest$ac_exeext
16256
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16257
(eval $ac_link) 2>conftest.er1
16259
grep -v '^ *+' conftest.er1 >conftest.err
16261
cat conftest.err >&5
16262
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16263
(exit $ac_status); } &&
16264
{ ac_try='test -z "$ac_f77_werror_flag"
16265
|| test ! -s conftest.err'
16266
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16267
(eval $ac_try) 2>&5
16269
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16270
(exit $ac_status); }; } &&
16271
{ ac_try='test -s conftest$ac_exeext'
16272
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16273
(eval $ac_try) 2>&5
16275
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16276
(exit $ac_status); }; }; then
16278
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16280
# Check for a 64-bit object if we didn't find anything.
16281
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; }
16284
echo "$as_me: failed program was:" >&5
16285
sed 's/^/| /' conftest.$ac_ext >&5
16288
rm -f conftest.err conftest.$ac_objext \
16289
conftest$ac_exeext conftest.$ac_ext
16290
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16292
hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
16293
# Warning - without using the other run time loading flags,
16294
# -berok will link without error, but may produce a broken library.
16295
no_undefined_flag_F77=' ${wl}-bernotok'
16296
allow_undefined_flag_F77=' ${wl}-berok'
16297
# -bexpall does not export symbols beginning with underscore (_)
16298
always_export_symbols_F77=yes
16299
# Exported symbols can be pulled into shared objects from archives
16300
whole_archive_flag_spec_F77=' '
16301
archive_cmds_need_lc_F77=yes
16302
# This is similar to how AIX traditionally builds it's shared libraries.
16303
archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
16309
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)'
16310
hardcode_libdir_flag_spec_F77='-L$libdir'
16311
hardcode_minus_L_F77=yes
16312
# see comment about different semantics on the GNU ld section
16317
export_dynamic_flag_spec_F77=-rdynamic
16320
cygwin* | mingw* | pw32*)
16321
# When not using gcc, we currently assume that we are using
16322
# Microsoft Visual C++.
16323
# hardcode_libdir_flag_spec is actually meaningless, as there is
16324
# no search path for DLLs.
16325
hardcode_libdir_flag_spec_F77=' '
16326
allow_undefined_flag_F77=no
16327
# Tell ltmain to make .lib files, not .a files.
16329
# Tell ltmain to make .dll files, not .so files.
16331
# FIXME: Setting linknames here is a bad hack.
16332
archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
16333
# The linker will automatically build a .lib file if we build a DLL.
16334
old_archive_From_new_cmds_F77='true'
16335
# FIXME: Should let the user specify the lib program.
16336
old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
16337
fix_srcfile_path='`cygpath -w "$srcfile"`'
16338
enable_shared_with_static_runtimes_F77=yes
16341
darwin* | rhapsody*)
16342
if test "$GXX" = yes ; then
16343
archive_cmds_need_lc_F77=no
16345
rhapsody* | darwin1.[012])
16346
allow_undefined_flag_F77='-undefined suppress'
16349
test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_F77='-flat_namespace -undefined suppress'
16352
lt_int_apple_cc_single_mod=no
16353
output_verbose_link_cmd='echo'
16354
if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
16355
lt_int_apple_cc_single_mod=yes
16357
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
16358
archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16360
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 $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16362
module_cmds_F77='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16363
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
16364
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
16365
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 $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16367
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 $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16369
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 $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16370
hardcode_direct_F77=no
16371
hardcode_automatic_F77=yes
16372
hardcode_shlibpath_var_F77=unsupported
16373
whole_archive_flag_spec_F77='-all_load $convenience'
16374
link_all_deplibs_F77=yes
16381
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16382
hardcode_libdir_flag_spec_F77='-L$libdir'
16383
hardcode_shlibpath_var_F77=no
16390
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
16391
# support. Future versions do this automatically, but an explicit c++rt0.o
16392
# does not break anything, and helps significantly (at the cost of a little
16395
archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
16396
hardcode_libdir_flag_spec_F77='-R$libdir'
16397
hardcode_direct_F77=yes
16398
hardcode_shlibpath_var_F77=no
16401
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
16403
archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16404
hardcode_direct_F77=yes
16405
hardcode_minus_L_F77=yes
16406
hardcode_shlibpath_var_F77=no
16409
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16411
archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16412
hardcode_libdir_flag_spec_F77='-R$libdir'
16413
hardcode_direct_F77=yes
16414
hardcode_shlibpath_var_F77=no
16418
if test "$GCC" = yes; then
16419
archive_cmds_F77='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
16421
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'
16423
hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
16424
hardcode_libdir_separator_F77=:
16425
hardcode_direct_F77=yes
16427
# hardcode_minus_L: Not really in the search PATH,
16428
# but as the default location of the library.
16429
hardcode_minus_L_F77=yes
16430
export_dynamic_flag_spec_F77='${wl}-E'
16434
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
16435
case "$host_cpu" in
16437
archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16440
archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16444
case "$host_cpu" in
16446
archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
16449
archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
16453
if test "$with_gnu_ld" = no; then
16454
case "$host_cpu" in
16456
hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
16457
hardcode_libdir_flag_spec_ld_F77='+b $libdir'
16458
hardcode_libdir_separator_F77=:
16459
hardcode_direct_F77=no
16460
hardcode_shlibpath_var_F77=no
16463
hardcode_libdir_flag_spec_F77='-L$libdir'
16464
hardcode_direct_F77=no
16465
hardcode_shlibpath_var_F77=no
16467
# hardcode_minus_L: Not really in the search PATH,
16468
# but as the default location of the library.
16469
hardcode_minus_L_F77=yes
16472
hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
16473
hardcode_libdir_separator_F77=:
16474
hardcode_direct_F77=yes
16475
export_dynamic_flag_spec_F77='${wl}-E'
16477
# hardcode_minus_L: Not really in the search PATH,
16478
# but as the default location of the library.
16479
hardcode_minus_L_F77=yes
16485
irix5* | irix6* | nonstopux*)
16486
if test "$GCC" = yes; then
16487
archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
16489
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'
16490
hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
16492
hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
16493
hardcode_libdir_separator_F77=:
16494
link_all_deplibs_F77=yes
16498
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16499
archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
16501
archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
16503
hardcode_libdir_flag_spec_F77='-R$libdir'
16504
hardcode_direct_F77=yes
16505
hardcode_shlibpath_var_F77=no
16509
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16510
hardcode_direct_F77=yes
16511
hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
16512
hardcode_libdir_separator_F77=:
16513
hardcode_shlibpath_var_F77=no
16517
hardcode_direct_F77=yes
16518
hardcode_shlibpath_var_F77=no
16519
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16520
archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16521
hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
16522
export_dynamic_flag_spec_F77='${wl}-E'
16525
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
16526
archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16527
hardcode_libdir_flag_spec_F77='-R$libdir'
16530
archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16531
hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
16538
hardcode_libdir_flag_spec_F77='-L$libdir'
16539
hardcode_minus_L_F77=yes
16540
allow_undefined_flag_F77=unsupported
16541
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 $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
16542
old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16546
if test "$GCC" = yes; then
16547
allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
16548
archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
16550
allow_undefined_flag_F77=' -expect_unresolved \*'
16551
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'
16553
hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
16554
hardcode_libdir_separator_F77=:
16557
osf4* | osf5*) # as osf3* with the addition of -msym flag
16558
if test "$GCC" = yes; then
16559
allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
16560
archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${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'
16561
hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
16563
allow_undefined_flag_F77=' -expect_unresolved \*'
16564
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'
16565
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~
16566
$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'
16568
# Both c and cxx compiler support -rpath directly
16569
hardcode_libdir_flag_spec_F77='-rpath $libdir'
16571
hardcode_libdir_separator_F77=:
16575
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16576
hardcode_shlibpath_var_F77=no
16577
export_dynamic_flag_spec_F77='${wl}-Bexport'
16578
runpath_var=LD_RUN_PATH
16579
hardcode_runpath_var=yes
16583
no_undefined_flag_F77=' -z text'
16584
if test "$GCC" = yes; then
16585
archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16586
archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16587
$CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16589
archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16590
archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16591
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16593
hardcode_libdir_flag_spec_F77='-R$libdir'
16594
hardcode_shlibpath_var_F77=no
16596
solaris2.[0-5] | solaris2.[0-5].*) ;;
16597
*) # Supported since Solaris 2.6 (maybe 2.5.1?)
16598
whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
16600
link_all_deplibs_F77=yes
16604
if test "x$host_vendor" = xsequent; then
16605
# Use $CC to link under sequent, because it throws in some extra .o
16606
# files that make .init and .fini sections work.
16607
archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16609
archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16611
hardcode_libdir_flag_spec_F77='-L$libdir'
16612
hardcode_direct_F77=yes
16613
hardcode_minus_L_F77=yes
16614
hardcode_shlibpath_var_F77=no
16618
case $host_vendor in
16620
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16621
hardcode_direct_F77=yes # is this really true???
16624
## LD is ld it makes a PLAMLIB
16625
## CC just makes a GrossModule.
16626
archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16627
reload_cmds_F77='$CC -r -o $output$reload_objs'
16628
hardcode_direct_F77=no
16631
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16632
hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
16635
runpath_var='LD_RUN_PATH'
16636
hardcode_shlibpath_var_F77=no
16640
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16641
hardcode_shlibpath_var_F77=no
16642
export_dynamic_flag_spec_F77='-Bexport'
16646
if test -d /usr/nec; then
16647
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16648
hardcode_shlibpath_var_F77=no
16649
runpath_var=LD_RUN_PATH
16650
hardcode_runpath_var=yes
16656
archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16657
hardcode_direct_F77=yes
16658
hardcode_minus_L_F77=no
16659
hardcode_shlibpath_var_F77=no
16660
hardcode_runpath_var=yes
16661
runpath_var=LD_RUN_PATH
16664
sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
16665
no_undefined_flag_F77='${wl}-z ${wl}text'
16666
if test "$GCC" = yes; then
16667
archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16669
archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16671
runpath_var='LD_RUN_PATH'
16672
hardcode_shlibpath_var_F77=no
16676
no_undefined_flag_F77=' -z text'
16677
# $CC -shared without GNU ld will not create a library from C++
16678
# object files and a static libstdc++, better avoid it by now
16679
archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16680
archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16681
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16682
hardcode_libdir_flag_spec_F77=
16683
hardcode_shlibpath_var_F77=no
16684
runpath_var='LD_RUN_PATH'
16688
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16689
hardcode_libdir_flag_spec_F77='-L$libdir'
16690
hardcode_shlibpath_var_F77=no
16699
echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
16700
echo "${ECHO_T}$ld_shlibs_F77" >&6
16701
test "$ld_shlibs_F77" = no && can_build_shared=no
16703
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16704
if test "$GCC" = yes; then
16705
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16709
# Do we need to explicitly link libc?
16711
case "x$archive_cmds_need_lc_F77" in
16713
# Assume -lc should be added
16714
archive_cmds_need_lc_F77=yes
16716
if test "$enable_shared" = yes && test "$GCC" = yes; then
16717
case $archive_cmds_F77 in
16719
# FIXME: we may have to deal with multi-command sequences.
16722
# Test whether the compiler implicitly links with -lc since on some
16723
# systems, -lgcc has to come before -lc. If gcc already passes -lc
16724
# to ld, don't add -lc before -lgcc.
16725
echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16726
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
16728
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16730
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16731
(eval $ac_compile) 2>&5
16733
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16734
(exit $ac_status); } 2>conftest.err; then
16737
libobjs=conftest.$ac_objext
16739
wl=$lt_prog_compiler_wl_F77
16745
lt_save_allow_undefined_flag=$allow_undefined_flag_F77
16746
allow_undefined_flag_F77=
16747
if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16748
(eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
16750
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16751
(exit $ac_status); }
16753
archive_cmds_need_lc_F77=no
16755
archive_cmds_need_lc_F77=yes
16757
allow_undefined_flag_F77=$lt_save_allow_undefined_flag
16759
cat conftest.err 1>&5
16762
echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
16763
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
16770
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16771
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
16772
library_names_spec=
16773
libname_spec='lib$name'
16777
postuninstall_cmds=
16781
shlibpath_overrides_runpath=unknown
16783
dynamic_linker="$host_os ld.so"
16784
sys_lib_dlsearch_path_spec="/lib /usr/lib"
16785
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16786
need_lib_prefix=unknown
16787
hardcode_into_libs=no
16789
# when you set need_version to no, make sure it does not cause -set_version
16790
# flags to be left without arguments
16791
need_version=unknown
16796
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16797
shlibpath_var=LIBPATH
16799
# AIX 3 has no versioning support, so we append a major version to the name.
16800
soname_spec='${libname}${release}${shared_ext}$major'
16807
hardcode_into_libs=yes
16808
if test "$host_cpu" = ia64; then
16809
# AIX 5 supports IA64
16810
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16811
shlibpath_var=LD_LIBRARY_PATH
16813
# With GCC up to 2.95.x, collect2 would create an import file
16814
# for dependence libraries. The import file would start with
16815
# the line `#! .'. This would cause the generated library to
16816
# depend on `.', always an invalid library. This was fixed in
16817
# development snapshots of GCC prior to 3.0.
16819
aix4 | aix4.[01] | aix4.[01].*)
16820
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16822
echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
16825
can_build_shared=no
16829
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16830
# soname into executable. Probably we can add versioning support to
16831
# collect2, so additional links can be useful in future.
16832
if test "$aix_use_runtimelinking" = yes; then
16833
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
16834
# instead of lib<name>.a to let people know that these are not
16835
# typical AIX shared libraries.
16836
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16838
# We preserve .a as extension for shared libraries through AIX4.2
16839
# and later when we are not doing run time linking.
16840
library_names_spec='${libname}${release}.a $libname.a'
16841
soname_spec='${libname}${release}${shared_ext}$major'
16843
shlibpath_var=LIBPATH
16848
library_names_spec='$libname.ixlibrary $libname.a'
16849
# Create ${libname}_ixlibrary.a entries in /sys/libs.
16850
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'
16854
library_names_spec='${libname}${shared_ext}'
16855
dynamic_linker="$host_os ld.so"
16856
shlibpath_var=LIBRARY_PATH
16862
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16863
soname_spec='${libname}${release}${shared_ext}$major'
16864
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16865
shlibpath_var=LD_LIBRARY_PATH
16866
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16867
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16868
# the default ld.so.conf also contains /usr/contrib/lib and
16869
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16870
# libtool to hard-code these into programs
16873
cygwin* | mingw* | pw32*)
16874
version_type=windows
16879
case $GCC,$host_os in
16880
yes,cygwin* | yes,mingw* | yes,pw32*)
16881
library_names_spec='$libname.dll.a'
16882
# DLL is installed to $(libdir)/../bin by postinstall_cmds
16883
postinstall_cmds='base_file=`basename \${file}`~
16884
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16885
dldir=$destdir/`dirname \$dlpath`~
16886
test -d \$dldir || mkdir -p \$dldir~
16887
$install_prog $dir/$dlname \$dldir/$dlname'
16888
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16889
dlpath=$dir/\$dldll~
16891
shlibpath_overrides_runpath=yes
16895
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
16896
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16897
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
16900
# MinGW DLLs use traditional 'lib' prefix
16901
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16902
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16903
if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
16904
# It is most probably a Windows format PATH printed by
16905
# mingw gcc, but we are running on Cygwin. Gcc prints its search
16906
# path with ; separators, and with drive letters. We can handle the
16907
# drive letters (cygwin fileutils understands them), so leave them,
16908
# especially as we might pass files found there to a mingw objdump,
16909
# which wouldn't understand a cygwinified path. Ahh.
16910
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16912
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16916
# pw32 DLLs use 'pw' prefix rather than 'lib'
16917
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
16923
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16926
dynamic_linker='Win32 ld.exe'
16927
# FIXME: first we should search . and the directory the executable is in
16931
darwin* | rhapsody*)
16932
dynamic_linker="$host_os dyld"
16933
version_type=darwin
16936
library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16937
soname_spec='${libname}${release}${major}$shared_ext'
16938
shlibpath_overrides_runpath=yes
16939
shlibpath_var=DYLD_LIBRARY_PATH
16940
shrext='$(test .$module = .yes && echo .so || echo .dylib)'
16941
# Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
16942
if test "$GCC" = yes; then
16943
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"`
16945
sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
16947
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16954
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16955
soname_spec='${libname}${release}${shared_ext}$major'
16956
shlibpath_var=LD_LIBRARY_PATH
16967
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16968
soname_spec='${libname}${release}${shared_ext}$major'
16969
shlibpath_var=LD_LIBRARY_PATH
16970
shlibpath_overrides_runpath=no
16971
hardcode_into_libs=yes
16972
dynamic_linker='GNU ld.so'
16976
objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
16977
version_type=freebsd-$objformat
16978
case $version_type in
16980
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16985
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16989
shlibpath_var=LD_LIBRARY_PATH
16992
shlibpath_overrides_runpath=yes
16994
freebsd3.01* | freebsdelf3.01*)
16995
shlibpath_overrides_runpath=yes
16996
hardcode_into_libs=yes
16999
shlibpath_overrides_runpath=no
17000
hardcode_into_libs=yes
17009
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17010
soname_spec='${libname}${release}${shared_ext}$major'
17011
shlibpath_var=LD_LIBRARY_PATH
17012
hardcode_into_libs=yes
17015
hpux9* | hpux10* | hpux11*)
17016
# Give a soname corresponding to the major version so that dld.sl refuses to
17017
# link against other versions.
17021
case "$host_cpu" in
17024
hardcode_into_libs=yes
17025
dynamic_linker="$host_os dld.so"
17026
shlibpath_var=LD_LIBRARY_PATH
17027
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17028
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17029
soname_spec='${libname}${release}${shared_ext}$major'
17030
if test "X$HPUX_IA64_MODE" = X32; then
17031
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17033
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
17035
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17039
hardcode_into_libs=yes
17040
dynamic_linker="$host_os dld.sl"
17041
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
17042
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17043
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17044
soname_spec='${libname}${release}${shared_ext}$major'
17045
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17046
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17050
dynamic_linker="$host_os dld.sl"
17051
shlibpath_var=SHLIB_PATH
17052
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
17053
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17054
soname_spec='${libname}${release}${shared_ext}$major'
17057
# HP-UX runs *really* slowly unless shared libraries are mode 555.
17058
postinstall_cmds='chmod 555 $lib'
17061
irix5* | irix6* | nonstopux*)
17063
nonstopux*) version_type=nonstopux ;;
17065
if test "$lt_cv_prog_gnu_ld" = yes; then
17073
soname_spec='${libname}${release}${shared_ext}$major'
17074
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17076
irix5* | nonstopux*)
17077
libsuff= shlibsuff=
17080
case $LD in # libtool.m4 will add one of these switches to LD
17081
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
17082
libsuff= shlibsuff= libmagic=32-bit;;
17083
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
17084
libsuff=32 shlibsuff=N32 libmagic=N32;;
17085
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
17086
libsuff=64 shlibsuff=64 libmagic=64-bit;;
17087
*) libsuff= shlibsuff= libmagic=never-match;;
17091
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
17092
shlibpath_overrides_runpath=no
17093
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17094
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
17095
hardcode_into_libs=yes
17098
# No shared lib support for Linux oldld, aout, or coff.
17099
linux*oldld* | linux*aout* | linux*coff*)
17103
# This must be Linux ELF.
17108
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17109
soname_spec='${libname}${release}${shared_ext}$major'
17110
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17112
if test "x$LINUX_64_MODE" = x64; then
17113
# Some platforms are per default 64-bit, so there's no /lib64
17114
if test -d /lib64; then
17118
shlibpath_var=LD_LIBRARY_PATH
17119
shlibpath_overrides_runpath=no
17120
sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
17121
sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
17122
# This implies no fast_install, which is unacceptable.
17123
# Some rework will be needed to allow for fast_install
17124
# before this can be enabled.
17125
hardcode_into_libs=yes
17127
# We used to test for /lib/ld.so.1 and disable shared libraries on
17128
# powerpc, because MkLinux only supported shared libraries with the
17129
# GNU dynamic linker. Since this was broken with cross compilers,
17130
# most powerpc-linux boxes support dynamic linking these days and
17131
# people can always --disable-shared, the test was removed, and we
17132
# assume the GNU/Linux dynamic linker is in use.
17133
dynamic_linker='GNU/Linux ld.so'
17140
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17141
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17142
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17143
dynamic_linker='NetBSD (a.out) ld.so'
17145
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
17146
soname_spec='${libname}${release}${shared_ext}$major'
17147
dynamic_linker='NetBSD ld.elf_so'
17149
shlibpath_var=LD_LIBRARY_PATH
17150
shlibpath_overrides_runpath=yes
17151
hardcode_into_libs=yes
17156
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17157
shlibpath_var=LD_LIBRARY_PATH
17158
shlibpath_overrides_runpath=yes
17165
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17166
soname_spec='${libname}${release}${shared_ext}$major'
17167
shlibpath_var=LD_LIBRARY_PATH
17168
shlibpath_overrides_runpath=yes
17175
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17176
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17177
shlibpath_var=LD_LIBRARY_PATH
17178
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17180
openbsd2.[89] | openbsd2.[89].*)
17181
shlibpath_overrides_runpath=no
17184
shlibpath_overrides_runpath=yes
17188
shlibpath_overrides_runpath=yes
17193
libname_spec='$name'
17196
library_names_spec='$libname${shared_ext} $libname.a'
17197
dynamic_linker='OS/2 ld.exe'
17198
shlibpath_var=LIBPATH
17201
osf3* | osf4* | osf5*)
17205
soname_spec='${libname}${release}${shared_ext}$major'
17206
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17207
shlibpath_var=LD_LIBRARY_PATH
17208
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17209
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
17214
soname_spec='${libname}${release}${shared_ext}$major'
17215
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17216
shlibpath_var=LD_LIBRARY_PATH
17223
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17224
soname_spec='${libname}${release}${shared_ext}$major'
17225
shlibpath_var=LD_LIBRARY_PATH
17226
shlibpath_overrides_runpath=yes
17227
hardcode_into_libs=yes
17228
# ldd complains unless libraries are executable
17229
postinstall_cmds='chmod +x $lib'
17234
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17235
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17236
shlibpath_var=LD_LIBRARY_PATH
17237
shlibpath_overrides_runpath=yes
17238
if test "$with_gnu_ld" = yes; then
17244
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
17246
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17247
soname_spec='${libname}${release}${shared_ext}$major'
17248
shlibpath_var=LD_LIBRARY_PATH
17249
case $host_vendor in
17251
shlibpath_overrides_runpath=no
17253
export_dynamic_flag_spec='${wl}-Blargedynsym'
17254
runpath_var=LD_RUN_PATH
17262
shlibpath_overrides_runpath=no
17263
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
17269
if test -d /usr/nec ;then
17271
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17272
soname_spec='$libname${shared_ext}.$major'
17273
shlibpath_var=LD_LIBRARY_PATH
17279
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17280
soname_spec='${libname}${release}${shared_ext}$major'
17281
shlibpath_var=LD_LIBRARY_PATH
17288
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17289
echo "${ECHO_T}$dynamic_linker" >&6
17290
test "$dynamic_linker" = no && can_build_shared=no
17292
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17293
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
17294
hardcode_action_F77=
17295
if test -n "$hardcode_libdir_flag_spec_F77" || \
17296
test -n "$runpath_var F77" || \
17297
test "X$hardcode_automatic_F77"="Xyes" ; then
17299
# We can hardcode non-existant directories.
17300
if test "$hardcode_direct_F77" != no &&
17301
# If the only mechanism to avoid hardcoding is shlibpath_var, we
17302
# have to relink, otherwise we might link with an installed library
17303
# when we should be linking with a yet-to-be-installed one
17304
## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
17305
test "$hardcode_minus_L_F77" != no; then
17306
# Linking always hardcodes the temporary library directory.
17307
hardcode_action_F77=relink
17309
# We can link without hardcoding, and we can hardcode nonexisting dirs.
17310
hardcode_action_F77=immediate
17313
# We cannot hardcode anything, or else we can only hardcode existing
17315
hardcode_action_F77=unsupported
17317
echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
17318
echo "${ECHO_T}$hardcode_action_F77" >&6
17320
if test "$hardcode_action_F77" = relink; then
17321
# Fast installation is not supported
17322
enable_fast_install=no
17323
elif test "$shlibpath_overrides_runpath" = yes ||
17324
test "$enable_shared" = no; then
17325
# Fast installation is not necessary
17326
enable_fast_install=needless
17331
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
17332
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
17333
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
17334
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
17335
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
17336
echo "$as_me:$LINENO: result: yes" >&5
17337
echo "${ECHO_T}yes" >&6
17339
# FIXME - insert some real tests, host_os isn't really good enough
17342
if test -n "$STRIP" ; then
17343
striplib="$STRIP -x"
17344
echo "$as_me:$LINENO: result: yes" >&5
17345
echo "${ECHO_T}yes" >&6
17347
echo "$as_me:$LINENO: result: no" >&5
17348
echo "${ECHO_T}no" >&6
17352
echo "$as_me:$LINENO: result: no" >&5
17353
echo "${ECHO_T}no" >&6
17360
# The else clause should only fire when bootstrapping the
17361
# libtool distribution, otherwise you forgot to ship ltmain.sh
17362
# with your package, and you will get complaints that there are
17363
# no rules to generate ltmain.sh.
17364
if test -f "$ltmain"; then
17365
# See if we are running on zsh, and set the options which allow our commands through
17366
# without removal of \ escapes.
17367
if test -n "${ZSH_VERSION+set}" ; then
17368
setopt NO_GLOB_SUBST
17370
# Now quote all the things that may contain metacharacters while being
17371
# careful not to overquote the AC_SUBSTed values. We take copies of the
17372
# variables and quote the copies for generation of the libtool script.
17373
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
17374
libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17375
old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17376
deplibs_check_method reload_flag reload_cmds need_locks \
17377
lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17378
lt_cv_sys_global_symbol_to_c_name_address \
17379
sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17380
old_postinstall_cmds old_postuninstall_cmds \
17384
lt_prog_compiler_wl_F77 \
17385
lt_prog_compiler_pic_F77 \
17386
lt_prog_compiler_static_F77 \
17387
lt_prog_compiler_no_builtin_flag_F77 \
17388
export_dynamic_flag_spec_F77 \
17389
thread_safe_flag_spec_F77 \
17390
whole_archive_flag_spec_F77 \
17391
enable_shared_with_static_runtimes_F77 \
17392
old_archive_cmds_F77 \
17393
old_archive_from_new_cmds_F77 \
17394
predep_objects_F77 \
17395
postdep_objects_F77 \
17398
compiler_lib_search_path_F77 \
17400
archive_expsym_cmds_F77 \
17401
postinstall_cmds_F77 \
17402
postuninstall_cmds_F77 \
17403
old_archive_from_expsyms_cmds_F77 \
17404
allow_undefined_flag_F77 \
17405
no_undefined_flag_F77 \
17406
export_symbols_cmds_F77 \
17407
hardcode_libdir_flag_spec_F77 \
17408
hardcode_libdir_flag_spec_ld_F77 \
17409
hardcode_libdir_separator_F77 \
17410
hardcode_automatic_F77 \
17412
module_expsym_cmds_F77 \
17413
lt_cv_prog_compiler_c_o_F77 \
17414
exclude_expsyms_F77 \
17415
include_expsyms_F77; do
17418
old_archive_cmds_F77 | \
17419
old_archive_from_new_cmds_F77 | \
17420
archive_cmds_F77 | \
17421
archive_expsym_cmds_F77 | \
17422
module_cmds_F77 | \
17423
module_expsym_cmds_F77 | \
17424
old_archive_from_expsyms_cmds_F77 | \
17425
export_symbols_cmds_F77 | \
17426
extract_expsyms_cmds | reload_cmds | finish_cmds | \
17427
postinstall_cmds | postuninstall_cmds | \
17428
old_postinstall_cmds | old_postuninstall_cmds | \
17429
sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
17430
# Double-quote double-evaled strings.
17431
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17434
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17440
*'\$0 --fallback-echo"')
17441
lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17447
cat <<__EOF__ >> "$cfgfile"
17448
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
17450
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17452
# Shell to use when invoking shell scripts.
17455
# Whether or not to build shared libraries.
17456
build_libtool_libs=$enable_shared
17458
# Whether or not to build static libraries.
17459
build_old_libs=$enable_static
17461
# Whether or not to add -lc for building shared libraries.
17462
build_libtool_need_lc=$archive_cmds_need_lc_F77
17464
# Whether or not to disallow shared libs when runtime libs are static
17465
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
17467
# Whether or not to optimize for fast installation.
17468
fast_install=$enable_fast_install
17471
host_alias=$host_alias
17474
# An echo program that does not interpret backslashes.
17479
AR_FLAGS=$lt_AR_FLAGS
17484
# A language-specific compiler.
17485
CC=$lt_compiler_F77
17487
# Is the compiler the GNU C compiler?
17493
# The linker used to build libraries.
17496
# Whether we need hard or soft links.
17499
# A BSD-compatible nm program.
17502
# A symbol stripping program
17505
# Used to examine libraries when file_magic_cmd begins "file"
17506
MAGIC_CMD=$MAGIC_CMD
17508
# Used on cygwin: DLL creation program.
17511
# Used on cygwin: object dumper.
17514
# Used on cygwin: assembler.
17517
# The name of the directory that contains temporary libtool files.
17520
# How to create reloadable object files.
17521
reload_flag=$lt_reload_flag
17522
reload_cmds=$lt_reload_cmds
17524
# How to pass a linker flag through the compiler.
17525
wl=$lt_lt_prog_compiler_wl_F77
17527
# Object file suffix (normally "o").
17528
objext="$ac_objext"
17530
# Old archive suffix (normally "a").
17533
# Shared library suffix (normally ".so").
17536
# Executable file suffix (normally "").
17539
# Additional compiler flags for building library objects.
17540
pic_flag=$lt_lt_prog_compiler_pic_F77
17543
# What is the maximum length of a command?
17544
max_cmd_len=$lt_cv_sys_max_cmd_len
17546
# Does compiler simultaneously support -c and -o options?
17547
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
17549
# Must we lock files when doing compilation ?
17550
need_locks=$lt_need_locks
17552
# Do we need the lib prefix for modules?
17553
need_lib_prefix=$need_lib_prefix
17555
# Do we need a version for libraries?
17556
need_version=$need_version
17558
# Whether dlopen is supported.
17559
dlopen_support=$enable_dlopen
17561
# Whether dlopen of programs is supported.
17562
dlopen_self=$enable_dlopen_self
17564
# Whether dlopen of statically linked programs is supported.
17565
dlopen_self_static=$enable_dlopen_self_static
17567
# Compiler flag to prevent dynamic linking.
17568
link_static_flag=$lt_lt_prog_compiler_static_F77
17570
# Compiler flag to turn off builtin functions.
17571
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
17573
# Compiler flag to allow reflexive dlopens.
17574
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
17576
# Compiler flag to generate shared objects directly from archives.
17577
whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
17579
# Compiler flag to generate thread-safe objects.
17580
thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
17582
# Library versioning type.
17583
version_type=$version_type
17585
# Format of library name prefix.
17586
libname_spec=$lt_libname_spec
17588
# List of archive names. First name is the real one, the rest are links.
17589
# The last name is the one that the linker finds with -lNAME.
17590
library_names_spec=$lt_library_names_spec
17592
# The coded name of the library, if different from the real name.
17593
soname_spec=$lt_soname_spec
17595
# Commands used to build and install an old-style archive.
17597
old_archive_cmds=$lt_old_archive_cmds_F77
17598
old_postinstall_cmds=$lt_old_postinstall_cmds
17599
old_postuninstall_cmds=$lt_old_postuninstall_cmds
17601
# Create an old-style archive from a shared archive.
17602
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
17604
# Create a temporary old-style archive to link instead of a shared archive.
17605
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
17607
# Commands used to build and install a shared archive.
17608
archive_cmds=$lt_archive_cmds_F77
17609
archive_expsym_cmds=$lt_archive_expsym_cmds_F77
17610
postinstall_cmds=$lt_postinstall_cmds
17611
postuninstall_cmds=$lt_postuninstall_cmds
17613
# Commands used to build a loadable module (assumed same as above if empty)
17614
module_cmds=$lt_module_cmds_F77
17615
module_expsym_cmds=$lt_module_expsym_cmds_F77
17617
# Commands to strip libraries.
17618
old_striplib=$lt_old_striplib
17619
striplib=$lt_striplib
17621
# Dependencies to place before the objects being linked to create a
17623
predep_objects=$lt_predep_objects_F77
17625
# Dependencies to place after the objects being linked to create a
17627
postdep_objects=$lt_postdep_objects_F77
17629
# Dependencies to place before the objects being linked to create a
17631
predeps=$lt_predeps_F77
17633
# Dependencies to place after the objects being linked to create a
17635
postdeps=$lt_postdeps_F77
17637
# The library search path used internally by the compiler when linking
17638
# a shared library.
17639
compiler_lib_search_path=$lt_compiler_lib_search_path_F77
17641
# Method to check whether dependent libraries are shared objects.
17642
deplibs_check_method=$lt_deplibs_check_method
17644
# Command to use when deplibs_check_method == file_magic.
17645
file_magic_cmd=$lt_file_magic_cmd
17647
# Flag that allows shared libraries with undefined symbols to be built.
17648
allow_undefined_flag=$lt_allow_undefined_flag_F77
17650
# Flag that forces no undefined symbols.
17651
no_undefined_flag=$lt_no_undefined_flag_F77
17653
# Commands used to finish a libtool library installation in a directory.
17654
finish_cmds=$lt_finish_cmds
17656
# Same as above, but a single script fragment to be evaled but not shown.
17657
finish_eval=$lt_finish_eval
17659
# Take the output of nm and produce a listing of raw symbols and C names.
17660
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17662
# Transform the output of nm in a proper C declaration
17663
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17665
# Transform the output of nm in a C name address pair
17666
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17668
# This is the shared library runtime path variable.
17669
runpath_var=$runpath_var
17671
# This is the shared library path variable.
17672
shlibpath_var=$shlibpath_var
17674
# Is shlibpath searched before the hard-coded library search path?
17675
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17677
# How to hardcode a shared library path into an executable.
17678
hardcode_action=$hardcode_action_F77
17680
# Whether we should hardcode library paths into libraries.
17681
hardcode_into_libs=$hardcode_into_libs
17683
# Flag to hardcode \$libdir into a binary during linking.
17684
# This must work even if \$libdir does not exist.
17685
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
17687
# If ld is used when linking, flag to hardcode \$libdir into
17688
# a binary during linking. This must work even if \$libdir does
17690
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
17692
# Whether we need a single -rpath flag with a separated argument.
17693
hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
17695
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
17696
# resulting binary.
17697
hardcode_direct=$hardcode_direct_F77
17699
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
17700
# resulting binary.
17701
hardcode_minus_L=$hardcode_minus_L_F77
17703
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
17704
# the resulting binary.
17705
hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
17707
# Set to yes if building a shared library automatically hardcodes DIR into the library
17708
# and all subsequent libraries and executables linked against it.
17709
hardcode_automatic=$hardcode_automatic_F77
17711
# Variables whose values should be saved in libtool wrapper scripts and
17712
# restored at relink time.
17713
variables_saved_for_relink="$variables_saved_for_relink"
17715
# Whether libtool must link a program against all its dependency libraries.
17716
link_all_deplibs=$link_all_deplibs_F77
17718
# Compile-time system search path for libraries
17719
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17721
# Run-time system search path for libraries
17722
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17724
# Fix the shell variable \$srcfile for the compiler.
17725
fix_srcfile_path="$fix_srcfile_path_F77"
17727
# Set to yes if exported symbols are required.
17728
always_export_symbols=$always_export_symbols_F77
17730
# The commands to list exported symbols.
17731
export_symbols_cmds=$lt_export_symbols_cmds_F77
17733
# The commands to extract the exported symbol list from a shared archive.
17734
extract_expsyms_cmds=$lt_extract_expsyms_cmds
17736
# Symbols that should not be listed in the preloaded symbols.
17737
exclude_expsyms=$lt_exclude_expsyms_F77
17739
# Symbols that must always be exported.
17740
include_expsyms=$lt_include_expsyms_F77
17742
# ### END LIBTOOL TAG CONFIG: $tagname
17748
# If there is no Makefile yet, we rely on a make rule to execute
17749
# `config.status --recheck' to rerun these tests and create the
17750
# libtool script then.
17751
test -f Makefile && make "$ltmain"
17756
ac_cpp='$CPP $CPPFLAGS'
17757
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17758
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17759
ac_compiler_gnu=$ac_cv_c_compiler_gnu
17769
if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
17773
# Source file extension for Java test sources.
17776
# Object file extension for compiled Java test sources.
17780
# Code to be used in simple compile tests
17781
lt_simple_compile_test_code="class foo {}\n"
17783
# Code to be used in simple link tests
17784
lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n'
17786
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
17788
# If no C compiler was specified, use CC.
17791
# Allow CC to be a program name with arguments.
17795
# Allow CC to be a program name with arguments.
17801
# GCJ did not exist at the time GCC didn't implicitly link libc in.
17802
archive_cmds_need_lc_GCJ=no
17805
## There is no encapsulation within the following macros, do not change
17806
## the running order or otherwise move them around unless you know exactly
17807
## what you are doing...
17809
lt_prog_compiler_no_builtin_flag_GCJ=
17811
if test "$GCC" = yes; then
17812
lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
17815
echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
17816
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
17817
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
17818
echo $ECHO_N "(cached) $ECHO_C" >&6
17820
lt_cv_prog_compiler_rtti_exceptions=no
17821
ac_outfile=conftest.$ac_objext
17822
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
17823
lt_compiler_flag="-fno-rtti -fno-exceptions"
17824
# Insert the option either (1) after the last *FLAGS variable, or
17825
# (2) before a word containing "conftest.", or (3) at the end.
17826
# Note that $ac_compile itself does not contain backslashes and begins
17827
# with a dollar sign (not a hyphen), so the echo should work correctly.
17828
# The option is referenced via a variable to avoid confusing sed.
17829
lt_compile=`echo "$ac_compile" | $SED \
17830
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
17831
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17832
-e 's:$: $lt_compiler_flag:'`
17833
(eval echo "\"\$as_me:17833: $lt_compile\"" >&5)
17834
(eval "$lt_compile" 2>conftest.err)
17836
cat conftest.err >&5
17837
echo "$as_me:17837: \$? = $ac_status" >&5
17838
if (exit $ac_status) && test -s "$ac_outfile"; then
17839
# The compiler can only warn and ignore the option if not recognized
17840
# So say no if there are warnings
17841
if test ! -s conftest.err; then
17842
lt_cv_prog_compiler_rtti_exceptions=yes
17848
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
17849
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
17851
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
17852
lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
17859
lt_prog_compiler_wl_GCJ=
17860
lt_prog_compiler_pic_GCJ=
17861
lt_prog_compiler_static_GCJ=
17863
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
17864
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
17866
if test "$GCC" = yes; then
17867
lt_prog_compiler_wl_GCJ='-Wl,'
17868
lt_prog_compiler_static_GCJ='-static'
17872
# All AIX code is PIC.
17873
if test "$host_cpu" = ia64; then
17874
# AIX 5 now supports IA64 processor
17875
lt_prog_compiler_static_GCJ='-Bstatic'
17880
# FIXME: we need at least 68020 code to build shared libraries, but
17881
# adding the `-m68020' flag to GCC prevents building anything better,
17883
lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
17886
beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
17887
# PIC is the default for these OSes.
17890
mingw* | pw32* | os2*)
17891
# This hack is so that the source file can tell whether it is being
17892
# built for inclusion in a dll (and should export symbols for example).
17893
lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
17896
darwin* | rhapsody*)
17897
# PIC is the default on this platform
17898
# Common symbols not allowed in MH_DYLIB files
17899
lt_prog_compiler_pic_GCJ='-fno-common'
17903
# Just because we use GCC doesn't mean we suddenly get shared libraries
17904
# on systems that don't support them.
17905
lt_prog_compiler_can_build_shared_GCJ=no
17910
if test -d /usr/nec; then
17911
lt_prog_compiler_pic_GCJ=-Kconform_pic
17916
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17917
# not for PA HP-UX.
17918
case "$host_cpu" in
17923
lt_prog_compiler_pic_GCJ='-fPIC'
17929
lt_prog_compiler_pic_GCJ='-fPIC'
17933
# PORTME Check for flag to pass linker flags through the system compiler.
17936
lt_prog_compiler_wl_GCJ='-Wl,'
17937
if test "$host_cpu" = ia64; then
17938
# AIX 5 now supports IA64 processor
17939
lt_prog_compiler_static_GCJ='-Bstatic'
17941
lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
17945
mingw* | pw32* | os2*)
17946
# This hack is so that the source file can tell whether it is being
17947
# built for inclusion in a dll (and should export symbols for example).
17948
lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
17951
hpux9* | hpux10* | hpux11*)
17952
lt_prog_compiler_wl_GCJ='-Wl,'
17953
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17954
# not for PA HP-UX.
17955
case "$host_cpu" in
17960
lt_prog_compiler_pic_GCJ='+Z'
17963
# Is there a better lt_prog_compiler_static that works with the bundled CC?
17964
lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
17967
irix5* | irix6* | nonstopux*)
17968
lt_prog_compiler_wl_GCJ='-Wl,'
17969
# PIC (with -KPIC) is the default.
17970
lt_prog_compiler_static_GCJ='-non_shared'
17974
lt_prog_compiler_pic_GCJ='-KPIC'
17975
lt_prog_compiler_static_GCJ='-Bstatic'
17981
lt_prog_compiler_wl_GCJ='-Wl,'
17982
lt_prog_compiler_pic_GCJ='-KPIC'
17983
lt_prog_compiler_static_GCJ='-static'
17986
lt_prog_compiler_wl_GCJ='-Wl,'
17987
# All Alpha code is PIC.
17988
lt_prog_compiler_static_GCJ='-non_shared'
17993
osf3* | osf4* | osf5*)
17994
lt_prog_compiler_wl_GCJ='-Wl,'
17995
# All OSF/1 code is PIC.
17996
lt_prog_compiler_static_GCJ='-non_shared'
18000
lt_prog_compiler_pic_GCJ='-Kpic'
18001
lt_prog_compiler_static_GCJ='-dn'
18005
lt_prog_compiler_wl_GCJ='-Wl,'
18006
lt_prog_compiler_pic_GCJ='-KPIC'
18007
lt_prog_compiler_static_GCJ='-Bstatic'
18011
lt_prog_compiler_wl_GCJ='-Qoption ld '
18012
lt_prog_compiler_pic_GCJ='-PIC'
18013
lt_prog_compiler_static_GCJ='-Bstatic'
18016
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
18017
lt_prog_compiler_wl_GCJ='-Wl,'
18018
lt_prog_compiler_pic_GCJ='-KPIC'
18019
lt_prog_compiler_static_GCJ='-Bstatic'
18023
if test -d /usr/nec ;then
18024
lt_prog_compiler_pic_GCJ='-Kconform_pic'
18025
lt_prog_compiler_static_GCJ='-Bstatic'
18030
lt_prog_compiler_pic_GCJ='-pic'
18031
lt_prog_compiler_static_GCJ='-Bstatic'
18035
lt_prog_compiler_can_build_shared_GCJ=no
18040
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
18041
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
18044
# Check to make sure the PIC flag actually works.
18046
if test -n "$lt_prog_compiler_pic_GCJ"; then
18048
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
18049
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
18050
if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
18051
echo $ECHO_N "(cached) $ECHO_C" >&6
18053
lt_prog_compiler_pic_works_GCJ=no
18054
ac_outfile=conftest.$ac_objext
18055
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
18056
lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
18057
# Insert the option either (1) after the last *FLAGS variable, or
18058
# (2) before a word containing "conftest.", or (3) at the end.
18059
# Note that $ac_compile itself does not contain backslashes and begins
18060
# with a dollar sign (not a hyphen), so the echo should work correctly.
18061
# The option is referenced via a variable to avoid confusing sed.
18062
lt_compile=`echo "$ac_compile" | $SED \
18063
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
18064
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18065
-e 's:$: $lt_compiler_flag:'`
18066
(eval echo "\"\$as_me:18066: $lt_compile\"" >&5)
18067
(eval "$lt_compile" 2>conftest.err)
18069
cat conftest.err >&5
18070
echo "$as_me:18070: \$? = $ac_status" >&5
18071
if (exit $ac_status) && test -s "$ac_outfile"; then
18072
# The compiler can only warn and ignore the option if not recognized
18073
# So say no if there are warnings
18074
if test ! -s conftest.err; then
18075
lt_prog_compiler_pic_works_GCJ=yes
18081
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
18082
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
18084
if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
18085
case $lt_prog_compiler_pic_GCJ in
18087
*) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
18090
lt_prog_compiler_pic_GCJ=
18091
lt_prog_compiler_can_build_shared_GCJ=no
18096
# For platforms which do not support PIC, -DPIC is meaningless:
18098
lt_prog_compiler_pic_GCJ=
18101
lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
18105
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
18106
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
18107
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
18108
echo $ECHO_N "(cached) $ECHO_C" >&6
18110
lt_cv_prog_compiler_c_o_GCJ=no
18111
$rm -r conftest 2>/dev/null
18115
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
18117
# According to Tom Tromey, Ian Lance Taylor reported there are C compilers
18118
# that will create temporary files in the current directory regardless of
18119
# the output directory. Thus, making CWD read-only will cause this test
18120
# to fail, enabling locking or at least warning the user not to do parallel
18124
lt_compiler_flag="-o out/conftest2.$ac_objext"
18125
# Insert the option either (1) after the last *FLAGS variable, or
18126
# (2) before a word containing "conftest.", or (3) at the end.
18127
# Note that $ac_compile itself does not contain backslashes and begins
18128
# with a dollar sign (not a hyphen), so the echo should work correctly.
18129
lt_compile=`echo "$ac_compile" | $SED \
18130
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
18131
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18132
-e 's:$: $lt_compiler_flag:'`
18133
(eval echo "\"\$as_me:18133: $lt_compile\"" >&5)
18134
(eval "$lt_compile" 2>out/conftest.err)
18136
cat out/conftest.err >&5
18137
echo "$as_me:18137: \$? = $ac_status" >&5
18138
if (exit $ac_status) && test -s out/conftest2.$ac_objext
18140
# The compiler can only warn and ignore the option if not recognized
18141
# So say no if there are warnings
18142
if test ! -s out/conftest.err; then
18143
lt_cv_prog_compiler_c_o_GCJ=yes
18147
$rm conftest* out/*
18154
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
18155
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
18158
hard_links="nottested"
18159
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
18160
# do not overwrite the value of need_locks provided by the user
18161
echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
18162
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
18165
ln conftest.a conftest.b 2>/dev/null && hard_links=no
18167
ln conftest.a conftest.b 2>&5 || hard_links=no
18168
ln conftest.a conftest.b 2>/dev/null && hard_links=no
18169
echo "$as_me:$LINENO: result: $hard_links" >&5
18170
echo "${ECHO_T}$hard_links" >&6
18171
if test "$hard_links" = no; then
18172
{ echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
18173
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
18180
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
18181
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
18184
allow_undefined_flag_GCJ=
18185
enable_shared_with_static_runtimes_GCJ=no
18187
archive_expsym_cmds_GCJ=
18188
old_archive_From_new_cmds_GCJ=
18189
old_archive_from_expsyms_cmds_GCJ=
18190
export_dynamic_flag_spec_GCJ=
18191
whole_archive_flag_spec_GCJ=
18192
thread_safe_flag_spec_GCJ=
18193
hardcode_libdir_flag_spec_GCJ=
18194
hardcode_libdir_flag_spec_ld_GCJ=
18195
hardcode_libdir_separator_GCJ=
18196
hardcode_direct_GCJ=no
18197
hardcode_minus_L_GCJ=no
18198
hardcode_shlibpath_var_GCJ=unsupported
18199
link_all_deplibs_GCJ=unknown
18200
hardcode_automatic_GCJ=no
18202
module_expsym_cmds_GCJ=
18203
always_export_symbols_GCJ=no
18204
export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
18205
# include_expsyms should be a list of space-separated symbols to be *always*
18206
# included in the symbol list
18207
include_expsyms_GCJ=
18208
# exclude_expsyms can be an extended regexp of symbols to exclude
18209
# it will be wrapped by ` (' and `)$', so one must not match beginning or
18210
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
18211
# as well as any symbol that contains `d'.
18212
exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
18213
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
18214
# platforms (ab)use it in PIC code, but their linkers get confused if
18215
# the symbol is explicitly referenced. Since portable code cannot
18216
# rely on this symbol name, it's probably fine to never include it in
18217
# preloaded symbol tables.
18218
extract_expsyms_cmds=
18221
cygwin* | mingw* | pw32*)
18222
# FIXME: the MSVC++ port hasn't been tested in a loooong time
18223
# When not using gcc, we currently assume that we are using
18224
# Microsoft Visual C++.
18225
if test "$GCC" != yes; then
18235
if test "$with_gnu_ld" = yes; then
18236
# If archive_cmds runs LD, not CC, wlarc should be empty
18239
# See if GNU ld supports shared libraries.
18241
aix3* | aix4* | aix5*)
18242
# On AIX/PPC, the GNU linker is very broken
18243
if test "$host_cpu" != ia64; then
18247
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
18248
*** to be unable to reliably create shared libraries on AIX.
18249
*** Therefore, libtool is disabling shared libraries support. If you
18250
*** really care for shared libraries, you may want to modify your PATH
18251
*** so that a non-GNU linker is found, and then restart.
18258
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)'
18259
hardcode_libdir_flag_spec_GCJ='-L$libdir'
18260
hardcode_minus_L_GCJ=yes
18262
# Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
18263
# that the semantics of dynamic libraries on AmigaOS, at least up
18264
# to version 4, is to share data among multiple programs linked
18265
# with the same dynamic library. Since this doesn't match the
18266
# behavior of shared libraries on other platforms, we can't use
18272
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18273
allow_undefined_flag_GCJ=unsupported
18274
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
18275
# support --undefined. This deserves some investigation. FIXME
18276
archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18282
cygwin* | mingw* | pw32*)
18283
# _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
18284
# as there is no search path for DLLs.
18285
hardcode_libdir_flag_spec_GCJ='-L$libdir'
18286
allow_undefined_flag_GCJ=no
18287
always_export_symbols_GCJ=no
18288
enable_shared_with_static_runtimes_GCJ=yes
18289
export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
18291
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
18292
archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
18293
# If the export-symbols file already is a .def file (1st line
18294
# is EXPORTS), use it as is; otherwise, prepend...
18295
archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
18296
cp $export_symbols $output_objdir/$soname.def;
18298
echo EXPORTS > $output_objdir/$soname.def;
18299
cat $export_symbols >> $output_objdir/$soname.def;
18301
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
18308
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18309
archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
18312
archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18313
archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18318
if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
18322
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
18323
*** create shared libraries on Solaris systems. Therefore, libtool
18324
*** is disabling shared libraries support. We urge you to upgrade GNU
18325
*** binutils to release 2.9.1 or newer. Another option is to modify
18326
*** your PATH or compiler configuration so that the native linker is
18327
*** used, and then restart.
18330
elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18331
archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18332
archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18339
archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18341
hardcode_direct_GCJ=yes
18342
hardcode_shlibpath_var_GCJ=no
18346
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18347
archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18348
archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18355
if test "$ld_shlibs_GCJ" = yes; then
18356
runpath_var=LD_RUN_PATH
18357
hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
18358
export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
18359
# ancient GNU ld didn't support --whole-archive et. al.
18360
if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
18361
whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
18363
whole_archive_flag_spec_GCJ=
18367
# PORTME fill in a description of your system's linker (not GNU ld)
18370
allow_undefined_flag_GCJ=unsupported
18371
always_export_symbols_GCJ=yes
18372
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'
18373
# Note: this linker hardcodes the directories in LIBPATH if there
18374
# are no directories specified by -L.
18375
hardcode_minus_L_GCJ=yes
18376
if test "$GCC" = yes && test -z "$link_static_flag"; then
18377
# Neither direct hardcoding nor static linking is supported with a
18379
hardcode_direct_GCJ=unsupported
18384
if test "$host_cpu" = ia64; then
18385
# On IA64, the linker does run time linking by default, so we don't
18386
# have to do anything special.
18387
aix_use_runtimelinking=no
18388
exp_sym_flag='-Bexport'
18391
# If we're using GNU nm, then we don't want the "-C" option.
18392
# -C means demangle to AIX nm, but means don't demangle with GNU nm
18393
if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
18394
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'
18396
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'
18399
# KDE requires run time linking. Make it the default.
18400
aix_use_runtimelinking=yes
18401
exp_sym_flag='-bexport'
18402
no_entry_flag='-bnoentry'
18405
# When large executables or shared objects are built, AIX ld can
18406
# have problems creating the table of contents. If linking a library
18407
# or program results in "error TOC overflow" add -mminimal-toc to
18408
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
18409
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
18411
archive_cmds_GCJ=''
18412
hardcode_direct_GCJ=yes
18413
hardcode_libdir_separator_GCJ=':'
18414
link_all_deplibs_GCJ=yes
18416
if test "$GCC" = yes; then
18417
case $host_os in aix4.012|aix4.012.*)
18418
# We only want to do this on AIX 4.2 and lower, the check
18419
# below for broken collect2 doesn't work under 4.3+
18420
collect2name=`${CC} -print-prog-name=collect2`
18421
if test -f "$collect2name" && \
18422
strings "$collect2name" | grep resolve_lib_name >/dev/null
18424
# We have reworked collect2
18425
hardcode_direct_GCJ=yes
18427
# We have old collect2
18428
hardcode_direct_GCJ=unsupported
18429
# It fails to find uninstalled libraries when the uninstalled
18430
# path is not listed in the libpath. Setting hardcode_minus_L
18431
# to unsupported forces relinking
18432
hardcode_minus_L_GCJ=yes
18433
hardcode_libdir_flag_spec_GCJ='-L$libdir'
18434
hardcode_libdir_separator_GCJ=
18437
shared_flag='-shared'
18440
if test "$host_cpu" = ia64; then
18441
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
18442
# chokes on -Wl,-G. The following line is correct:
18445
if test "$aix_use_runtimelinking" = yes; then
18446
shared_flag='-qmkshrobj ${wl}-G'
18448
shared_flag='-qmkshrobj'
18453
# Let the compiler handle the export list.
18454
always_export_symbols_GCJ=no
18455
if test "$aix_use_runtimelinking" = yes; then
18456
# Warning - without using the other runtime loading flags (-brtl),
18457
# -berok will link without error, but may produce a broken library.
18458
allow_undefined_flag_GCJ='-berok'
18459
# Determine the default libpath from the value encoded in an empty executable.
18460
cat >conftest.$ac_ext <<_ACEOF
18463
cat confdefs.h >>conftest.$ac_ext
18464
cat >>conftest.$ac_ext <<_ACEOF
18465
/* end confdefs.h. */
18475
rm -f conftest.$ac_objext conftest$ac_exeext
18476
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18477
(eval $ac_link) 2>conftest.er1
18479
grep -v '^ *+' conftest.er1 >conftest.err
18481
cat conftest.err >&5
18482
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18483
(exit $ac_status); } &&
18484
{ ac_try='test -z "$ac_c_werror_flag"
18485
|| test ! -s conftest.err'
18486
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18487
(eval $ac_try) 2>&5
18489
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18490
(exit $ac_status); }; } &&
18491
{ ac_try='test -s conftest$ac_exeext'
18492
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18493
(eval $ac_try) 2>&5
18495
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18496
(exit $ac_status); }; }; then
18498
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
18500
# Check for a 64-bit object if we didn't find anything.
18501
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; }
18504
echo "$as_me: failed program was:" >&5
18505
sed 's/^/| /' conftest.$ac_ext >&5
18508
rm -f conftest.err conftest.$ac_objext \
18509
conftest$ac_exeext conftest.$ac_ext
18510
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18512
hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
18513
archive_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '" $shared_flag"
18514
archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
18516
if test "$host_cpu" = ia64; then
18517
hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
18518
allow_undefined_flag_GCJ="-z nodefs"
18519
archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
18521
# Determine the default libpath from the value encoded in an empty executable.
18522
cat >conftest.$ac_ext <<_ACEOF
18525
cat confdefs.h >>conftest.$ac_ext
18526
cat >>conftest.$ac_ext <<_ACEOF
18527
/* end confdefs.h. */
18537
rm -f conftest.$ac_objext conftest$ac_exeext
18538
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18539
(eval $ac_link) 2>conftest.er1
18541
grep -v '^ *+' conftest.er1 >conftest.err
18543
cat conftest.err >&5
18544
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18545
(exit $ac_status); } &&
18546
{ ac_try='test -z "$ac_c_werror_flag"
18547
|| test ! -s conftest.err'
18548
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18549
(eval $ac_try) 2>&5
18551
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18552
(exit $ac_status); }; } &&
18553
{ ac_try='test -s conftest$ac_exeext'
18554
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18555
(eval $ac_try) 2>&5
18557
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18558
(exit $ac_status); }; }; then
18560
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
18562
# Check for a 64-bit object if we didn't find anything.
18563
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; }
18566
echo "$as_me: failed program was:" >&5
18567
sed 's/^/| /' conftest.$ac_ext >&5
18570
rm -f conftest.err conftest.$ac_objext \
18571
conftest$ac_exeext conftest.$ac_ext
18572
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18574
hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
18575
# Warning - without using the other run time loading flags,
18576
# -berok will link without error, but may produce a broken library.
18577
no_undefined_flag_GCJ=' ${wl}-bernotok'
18578
allow_undefined_flag_GCJ=' ${wl}-berok'
18579
# -bexpall does not export symbols beginning with underscore (_)
18580
always_export_symbols_GCJ=yes
18581
# Exported symbols can be pulled into shared objects from archives
18582
whole_archive_flag_spec_GCJ=' '
18583
archive_cmds_need_lc_GCJ=yes
18584
# This is similar to how AIX traditionally builds it's shared libraries.
18585
archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
18591
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)'
18592
hardcode_libdir_flag_spec_GCJ='-L$libdir'
18593
hardcode_minus_L_GCJ=yes
18594
# see comment about different semantics on the GNU ld section
18599
export_dynamic_flag_spec_GCJ=-rdynamic
18602
cygwin* | mingw* | pw32*)
18603
# When not using gcc, we currently assume that we are using
18604
# Microsoft Visual C++.
18605
# hardcode_libdir_flag_spec is actually meaningless, as there is
18606
# no search path for DLLs.
18607
hardcode_libdir_flag_spec_GCJ=' '
18608
allow_undefined_flag_GCJ=no
18609
# Tell ltmain to make .lib files, not .a files.
18611
# Tell ltmain to make .dll files, not .so files.
18613
# FIXME: Setting linknames here is a bad hack.
18614
archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
18615
# The linker will automatically build a .lib file if we build a DLL.
18616
old_archive_From_new_cmds_GCJ='true'
18617
# FIXME: Should let the user specify the lib program.
18618
old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
18619
fix_srcfile_path='`cygpath -w "$srcfile"`'
18620
enable_shared_with_static_runtimes_GCJ=yes
18623
darwin* | rhapsody*)
18624
if test "$GXX" = yes ; then
18625
archive_cmds_need_lc_GCJ=no
18627
rhapsody* | darwin1.[012])
18628
allow_undefined_flag_GCJ='-undefined suppress'
18631
test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
18634
lt_int_apple_cc_single_mod=no
18635
output_verbose_link_cmd='echo'
18636
if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
18637
lt_int_apple_cc_single_mod=yes
18639
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
18640
archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
18642
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 $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
18644
module_cmds_GCJ='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18645
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
18646
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
18647
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 $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18649
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 $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18651
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 $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18652
hardcode_direct_GCJ=no
18653
hardcode_automatic_GCJ=yes
18654
hardcode_shlibpath_var_GCJ=unsupported
18655
whole_archive_flag_spec_GCJ='-all_load $convenience'
18656
link_all_deplibs_GCJ=yes
18663
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18664
hardcode_libdir_flag_spec_GCJ='-L$libdir'
18665
hardcode_shlibpath_var_GCJ=no
18672
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
18673
# support. Future versions do this automatically, but an explicit c++rt0.o
18674
# does not break anything, and helps significantly (at the cost of a little
18677
archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
18678
hardcode_libdir_flag_spec_GCJ='-R$libdir'
18679
hardcode_direct_GCJ=yes
18680
hardcode_shlibpath_var_GCJ=no
18683
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
18685
archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18686
hardcode_direct_GCJ=yes
18687
hardcode_minus_L_GCJ=yes
18688
hardcode_shlibpath_var_GCJ=no
18691
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
18693
archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
18694
hardcode_libdir_flag_spec_GCJ='-R$libdir'
18695
hardcode_direct_GCJ=yes
18696
hardcode_shlibpath_var_GCJ=no
18700
if test "$GCC" = yes; then
18701
archive_cmds_GCJ='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
18703
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'
18705
hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
18706
hardcode_libdir_separator_GCJ=:
18707
hardcode_direct_GCJ=yes
18709
# hardcode_minus_L: Not really in the search PATH,
18710
# but as the default location of the library.
18711
hardcode_minus_L_GCJ=yes
18712
export_dynamic_flag_spec_GCJ='${wl}-E'
18716
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
18717
case "$host_cpu" in
18719
archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18722
archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18726
case "$host_cpu" in
18728
archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
18731
archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
18735
if test "$with_gnu_ld" = no; then
18736
case "$host_cpu" in
18738
hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
18739
hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
18740
hardcode_libdir_separator_GCJ=:
18741
hardcode_direct_GCJ=no
18742
hardcode_shlibpath_var_GCJ=no
18745
hardcode_libdir_flag_spec_GCJ='-L$libdir'
18746
hardcode_direct_GCJ=no
18747
hardcode_shlibpath_var_GCJ=no
18749
# hardcode_minus_L: Not really in the search PATH,
18750
# but as the default location of the library.
18751
hardcode_minus_L_GCJ=yes
18754
hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
18755
hardcode_libdir_separator_GCJ=:
18756
hardcode_direct_GCJ=yes
18757
export_dynamic_flag_spec_GCJ='${wl}-E'
18759
# hardcode_minus_L: Not really in the search PATH,
18760
# but as the default location of the library.
18761
hardcode_minus_L_GCJ=yes
18767
irix5* | irix6* | nonstopux*)
18768
if test "$GCC" = yes; then
18769
archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18771
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'
18772
hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
18774
hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18775
hardcode_libdir_separator_GCJ=:
18776
link_all_deplibs_GCJ=yes
18780
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18781
archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
18783
archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
18785
hardcode_libdir_flag_spec_GCJ='-R$libdir'
18786
hardcode_direct_GCJ=yes
18787
hardcode_shlibpath_var_GCJ=no
18791
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18792
hardcode_direct_GCJ=yes
18793
hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18794
hardcode_libdir_separator_GCJ=:
18795
hardcode_shlibpath_var_GCJ=no
18799
hardcode_direct_GCJ=yes
18800
hardcode_shlibpath_var_GCJ=no
18801
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18802
archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18803
hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
18804
export_dynamic_flag_spec_GCJ='${wl}-E'
18807
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
18808
archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18809
hardcode_libdir_flag_spec_GCJ='-R$libdir'
18812
archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18813
hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
18820
hardcode_libdir_flag_spec_GCJ='-L$libdir'
18821
hardcode_minus_L_GCJ=yes
18822
allow_undefined_flag_GCJ=unsupported
18823
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 $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
18824
old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
18828
if test "$GCC" = yes; then
18829
allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
18830
archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18832
allow_undefined_flag_GCJ=' -expect_unresolved \*'
18833
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'
18835
hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18836
hardcode_libdir_separator_GCJ=:
18839
osf4* | osf5*) # as osf3* with the addition of -msym flag
18840
if test "$GCC" = yes; then
18841
allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
18842
archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${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'
18843
hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18845
allow_undefined_flag_GCJ=' -expect_unresolved \*'
18846
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'
18847
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~
18848
$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'
18850
# Both c and cxx compiler support -rpath directly
18851
hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
18853
hardcode_libdir_separator_GCJ=:
18857
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18858
hardcode_shlibpath_var_GCJ=no
18859
export_dynamic_flag_spec_GCJ='${wl}-Bexport'
18860
runpath_var=LD_RUN_PATH
18861
hardcode_runpath_var=yes
18865
no_undefined_flag_GCJ=' -z text'
18866
if test "$GCC" = yes; then
18867
archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18868
archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18869
$CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
18871
archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
18872
archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18873
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
18875
hardcode_libdir_flag_spec_GCJ='-R$libdir'
18876
hardcode_shlibpath_var_GCJ=no
18878
solaris2.[0-5] | solaris2.[0-5].*) ;;
18879
*) # Supported since Solaris 2.6 (maybe 2.5.1?)
18880
whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
18882
link_all_deplibs_GCJ=yes
18886
if test "x$host_vendor" = xsequent; then
18887
# Use $CC to link under sequent, because it throws in some extra .o
18888
# files that make .init and .fini sections work.
18889
archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
18891
archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
18893
hardcode_libdir_flag_spec_GCJ='-L$libdir'
18894
hardcode_direct_GCJ=yes
18895
hardcode_minus_L_GCJ=yes
18896
hardcode_shlibpath_var_GCJ=no
18900
case $host_vendor in
18902
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18903
hardcode_direct_GCJ=yes # is this really true???
18906
## LD is ld it makes a PLAMLIB
18907
## CC just makes a GrossModule.
18908
archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
18909
reload_cmds_GCJ='$CC -r -o $output$reload_objs'
18910
hardcode_direct_GCJ=no
18913
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18914
hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
18917
runpath_var='LD_RUN_PATH'
18918
hardcode_shlibpath_var_GCJ=no
18922
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18923
hardcode_shlibpath_var_GCJ=no
18924
export_dynamic_flag_spec_GCJ='-Bexport'
18928
if test -d /usr/nec; then
18929
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18930
hardcode_shlibpath_var_GCJ=no
18931
runpath_var=LD_RUN_PATH
18932
hardcode_runpath_var=yes
18938
archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
18939
hardcode_direct_GCJ=yes
18940
hardcode_minus_L_GCJ=no
18941
hardcode_shlibpath_var_GCJ=no
18942
hardcode_runpath_var=yes
18943
runpath_var=LD_RUN_PATH
18946
sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
18947
no_undefined_flag_GCJ='${wl}-z ${wl}text'
18948
if test "$GCC" = yes; then
18949
archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18951
archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18953
runpath_var='LD_RUN_PATH'
18954
hardcode_shlibpath_var_GCJ=no
18958
no_undefined_flag_GCJ=' -z text'
18959
# $CC -shared without GNU ld will not create a library from C++
18960
# object files and a static libstdc++, better avoid it by now
18961
archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
18962
archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18963
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
18964
hardcode_libdir_flag_spec_GCJ=
18965
hardcode_shlibpath_var_GCJ=no
18966
runpath_var='LD_RUN_PATH'
18970
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18971
hardcode_libdir_flag_spec_GCJ='-L$libdir'
18972
hardcode_shlibpath_var_GCJ=no
18981
echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
18982
echo "${ECHO_T}$ld_shlibs_GCJ" >&6
18983
test "$ld_shlibs_GCJ" = no && can_build_shared=no
18985
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
18986
if test "$GCC" = yes; then
18987
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18991
# Do we need to explicitly link libc?
18993
case "x$archive_cmds_need_lc_GCJ" in
18995
# Assume -lc should be added
18996
archive_cmds_need_lc_GCJ=yes
18998
if test "$enable_shared" = yes && test "$GCC" = yes; then
18999
case $archive_cmds_GCJ in
19001
# FIXME: we may have to deal with multi-command sequences.
19004
# Test whether the compiler implicitly links with -lc since on some
19005
# systems, -lgcc has to come before -lc. If gcc already passes -lc
19006
# to ld, don't add -lc before -lgcc.
19007
echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
19008
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
19010
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
19012
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19013
(eval $ac_compile) 2>&5
19015
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19016
(exit $ac_status); } 2>conftest.err; then
19019
libobjs=conftest.$ac_objext
19021
wl=$lt_prog_compiler_wl_GCJ
19027
lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
19028
allow_undefined_flag_GCJ=
19029
if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
19030
(eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
19032
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19033
(exit $ac_status); }
19035
archive_cmds_need_lc_GCJ=no
19037
archive_cmds_need_lc_GCJ=yes
19039
allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
19041
cat conftest.err 1>&5
19044
echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
19045
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
19052
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
19053
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
19054
library_names_spec=
19055
libname_spec='lib$name'
19059
postuninstall_cmds=
19063
shlibpath_overrides_runpath=unknown
19065
dynamic_linker="$host_os ld.so"
19066
sys_lib_dlsearch_path_spec="/lib /usr/lib"
19067
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
19068
need_lib_prefix=unknown
19069
hardcode_into_libs=no
19071
# when you set need_version to no, make sure it does not cause -set_version
19072
# flags to be left without arguments
19073
need_version=unknown
19078
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
19079
shlibpath_var=LIBPATH
19081
# AIX 3 has no versioning support, so we append a major version to the name.
19082
soname_spec='${libname}${release}${shared_ext}$major'
19089
hardcode_into_libs=yes
19090
if test "$host_cpu" = ia64; then
19091
# AIX 5 supports IA64
19092
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
19093
shlibpath_var=LD_LIBRARY_PATH
19095
# With GCC up to 2.95.x, collect2 would create an import file
19096
# for dependence libraries. The import file would start with
19097
# the line `#! .'. This would cause the generated library to
19098
# depend on `.', always an invalid library. This was fixed in
19099
# development snapshots of GCC prior to 3.0.
19101
aix4 | aix4.[01] | aix4.[01].*)
19102
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
19104
echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
19107
can_build_shared=no
19111
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
19112
# soname into executable. Probably we can add versioning support to
19113
# collect2, so additional links can be useful in future.
19114
if test "$aix_use_runtimelinking" = yes; then
19115
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
19116
# instead of lib<name>.a to let people know that these are not
19117
# typical AIX shared libraries.
19118
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19120
# We preserve .a as extension for shared libraries through AIX4.2
19121
# and later when we are not doing run time linking.
19122
library_names_spec='${libname}${release}.a $libname.a'
19123
soname_spec='${libname}${release}${shared_ext}$major'
19125
shlibpath_var=LIBPATH
19130
library_names_spec='$libname.ixlibrary $libname.a'
19131
# Create ${libname}_ixlibrary.a entries in /sys/libs.
19132
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'
19136
library_names_spec='${libname}${shared_ext}'
19137
dynamic_linker="$host_os ld.so"
19138
shlibpath_var=LIBRARY_PATH
19144
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19145
soname_spec='${libname}${release}${shared_ext}$major'
19146
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
19147
shlibpath_var=LD_LIBRARY_PATH
19148
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
19149
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
19150
# the default ld.so.conf also contains /usr/contrib/lib and
19151
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
19152
# libtool to hard-code these into programs
19155
cygwin* | mingw* | pw32*)
19156
version_type=windows
19161
case $GCC,$host_os in
19162
yes,cygwin* | yes,mingw* | yes,pw32*)
19163
library_names_spec='$libname.dll.a'
19164
# DLL is installed to $(libdir)/../bin by postinstall_cmds
19165
postinstall_cmds='base_file=`basename \${file}`~
19166
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
19167
dldir=$destdir/`dirname \$dlpath`~
19168
test -d \$dldir || mkdir -p \$dldir~
19169
$install_prog $dir/$dlname \$dldir/$dlname'
19170
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
19171
dlpath=$dir/\$dldll~
19173
shlibpath_overrides_runpath=yes
19177
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
19178
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19179
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
19182
# MinGW DLLs use traditional 'lib' prefix
19183
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19184
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
19185
if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
19186
# It is most probably a Windows format PATH printed by
19187
# mingw gcc, but we are running on Cygwin. Gcc prints its search
19188
# path with ; separators, and with drive letters. We can handle the
19189
# drive letters (cygwin fileutils understands them), so leave them,
19190
# especially as we might pass files found there to a mingw objdump,
19191
# which wouldn't understand a cygwinified path. Ahh.
19192
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
19194
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
19198
# pw32 DLLs use 'pw' prefix rather than 'lib'
19199
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
19205
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
19208
dynamic_linker='Win32 ld.exe'
19209
# FIXME: first we should search . and the directory the executable is in
19213
darwin* | rhapsody*)
19214
dynamic_linker="$host_os dyld"
19215
version_type=darwin
19218
library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
19219
soname_spec='${libname}${release}${major}$shared_ext'
19220
shlibpath_overrides_runpath=yes
19221
shlibpath_var=DYLD_LIBRARY_PATH
19222
shrext='$(test .$module = .yes && echo .so || echo .dylib)'
19223
# Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
19224
if test "$GCC" = yes; then
19225
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"`
19227
sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
19229
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
19236
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
19237
soname_spec='${libname}${release}${shared_ext}$major'
19238
shlibpath_var=LD_LIBRARY_PATH
19249
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19250
soname_spec='${libname}${release}${shared_ext}$major'
19251
shlibpath_var=LD_LIBRARY_PATH
19252
shlibpath_overrides_runpath=no
19253
hardcode_into_libs=yes
19254
dynamic_linker='GNU ld.so'
19258
objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
19259
version_type=freebsd-$objformat
19260
case $version_type in
19262
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19267
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
19271
shlibpath_var=LD_LIBRARY_PATH
19274
shlibpath_overrides_runpath=yes
19276
freebsd3.01* | freebsdelf3.01*)
19277
shlibpath_overrides_runpath=yes
19278
hardcode_into_libs=yes
19281
shlibpath_overrides_runpath=no
19282
hardcode_into_libs=yes
19291
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
19292
soname_spec='${libname}${release}${shared_ext}$major'
19293
shlibpath_var=LD_LIBRARY_PATH
19294
hardcode_into_libs=yes
19297
hpux9* | hpux10* | hpux11*)
19298
# Give a soname corresponding to the major version so that dld.sl refuses to
19299
# link against other versions.
19303
case "$host_cpu" in
19306
hardcode_into_libs=yes
19307
dynamic_linker="$host_os dld.so"
19308
shlibpath_var=LD_LIBRARY_PATH
19309
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
19310
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19311
soname_spec='${libname}${release}${shared_ext}$major'
19312
if test "X$HPUX_IA64_MODE" = X32; then
19313
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
19315
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
19317
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
19321
hardcode_into_libs=yes
19322
dynamic_linker="$host_os dld.sl"
19323
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
19324
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
19325
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19326
soname_spec='${libname}${release}${shared_ext}$major'
19327
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
19328
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
19332
dynamic_linker="$host_os dld.sl"
19333
shlibpath_var=SHLIB_PATH
19334
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
19335
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19336
soname_spec='${libname}${release}${shared_ext}$major'
19339
# HP-UX runs *really* slowly unless shared libraries are mode 555.
19340
postinstall_cmds='chmod 555 $lib'
19343
irix5* | irix6* | nonstopux*)
19345
nonstopux*) version_type=nonstopux ;;
19347
if test "$lt_cv_prog_gnu_ld" = yes; then
19355
soname_spec='${libname}${release}${shared_ext}$major'
19356
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
19358
irix5* | nonstopux*)
19359
libsuff= shlibsuff=
19362
case $LD in # libtool.m4 will add one of these switches to LD
19363
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
19364
libsuff= shlibsuff= libmagic=32-bit;;
19365
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
19366
libsuff=32 shlibsuff=N32 libmagic=N32;;
19367
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
19368
libsuff=64 shlibsuff=64 libmagic=64-bit;;
19369
*) libsuff= shlibsuff= libmagic=never-match;;
19373
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
19374
shlibpath_overrides_runpath=no
19375
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
19376
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
19377
hardcode_into_libs=yes
19380
# No shared lib support for Linux oldld, aout, or coff.
19381
linux*oldld* | linux*aout* | linux*coff*)
19385
# This must be Linux ELF.
19390
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19391
soname_spec='${libname}${release}${shared_ext}$major'
19392
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
19394
if test "x$LINUX_64_MODE" = x64; then
19395
# Some platforms are per default 64-bit, so there's no /lib64
19396
if test -d /lib64; then
19400
shlibpath_var=LD_LIBRARY_PATH
19401
shlibpath_overrides_runpath=no
19402
sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
19403
sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
19404
# This implies no fast_install, which is unacceptable.
19405
# Some rework will be needed to allow for fast_install
19406
# before this can be enabled.
19407
hardcode_into_libs=yes
19409
# We used to test for /lib/ld.so.1 and disable shared libraries on
19410
# powerpc, because MkLinux only supported shared libraries with the
19411
# GNU dynamic linker. Since this was broken with cross compilers,
19412
# most powerpc-linux boxes support dynamic linking these days and
19413
# people can always --disable-shared, the test was removed, and we
19414
# assume the GNU/Linux dynamic linker is in use.
19415
dynamic_linker='GNU/Linux ld.so'
19422
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
19423
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19424
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19425
dynamic_linker='NetBSD (a.out) ld.so'
19427
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
19428
soname_spec='${libname}${release}${shared_ext}$major'
19429
dynamic_linker='NetBSD ld.elf_so'
19431
shlibpath_var=LD_LIBRARY_PATH
19432
shlibpath_overrides_runpath=yes
19433
hardcode_into_libs=yes
19438
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19439
shlibpath_var=LD_LIBRARY_PATH
19440
shlibpath_overrides_runpath=yes
19447
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19448
soname_spec='${libname}${release}${shared_ext}$major'
19449
shlibpath_var=LD_LIBRARY_PATH
19450
shlibpath_overrides_runpath=yes
19457
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19458
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19459
shlibpath_var=LD_LIBRARY_PATH
19460
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19462
openbsd2.[89] | openbsd2.[89].*)
19463
shlibpath_overrides_runpath=no
19466
shlibpath_overrides_runpath=yes
19470
shlibpath_overrides_runpath=yes
19475
libname_spec='$name'
19478
library_names_spec='$libname${shared_ext} $libname.a'
19479
dynamic_linker='OS/2 ld.exe'
19480
shlibpath_var=LIBPATH
19483
osf3* | osf4* | osf5*)
19487
soname_spec='${libname}${release}${shared_ext}$major'
19488
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19489
shlibpath_var=LD_LIBRARY_PATH
19490
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
19491
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
19496
soname_spec='${libname}${release}${shared_ext}$major'
19497
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19498
shlibpath_var=LD_LIBRARY_PATH
19505
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19506
soname_spec='${libname}${release}${shared_ext}$major'
19507
shlibpath_var=LD_LIBRARY_PATH
19508
shlibpath_overrides_runpath=yes
19509
hardcode_into_libs=yes
19510
# ldd complains unless libraries are executable
19511
postinstall_cmds='chmod +x $lib'
19516
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19517
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
19518
shlibpath_var=LD_LIBRARY_PATH
19519
shlibpath_overrides_runpath=yes
19520
if test "$with_gnu_ld" = yes; then
19526
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
19528
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19529
soname_spec='${libname}${release}${shared_ext}$major'
19530
shlibpath_var=LD_LIBRARY_PATH
19531
case $host_vendor in
19533
shlibpath_overrides_runpath=no
19535
export_dynamic_flag_spec='${wl}-Blargedynsym'
19536
runpath_var=LD_RUN_PATH
19544
shlibpath_overrides_runpath=no
19545
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
19551
if test -d /usr/nec ;then
19553
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
19554
soname_spec='$libname${shared_ext}.$major'
19555
shlibpath_var=LD_LIBRARY_PATH
19561
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19562
soname_spec='${libname}${release}${shared_ext}$major'
19563
shlibpath_var=LD_LIBRARY_PATH
19570
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
19571
echo "${ECHO_T}$dynamic_linker" >&6
19572
test "$dynamic_linker" = no && can_build_shared=no
19574
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
19575
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
19576
hardcode_action_GCJ=
19577
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
19578
test -n "$runpath_var GCJ" || \
19579
test "X$hardcode_automatic_GCJ"="Xyes" ; then
19581
# We can hardcode non-existant directories.
19582
if test "$hardcode_direct_GCJ" != no &&
19583
# If the only mechanism to avoid hardcoding is shlibpath_var, we
19584
# have to relink, otherwise we might link with an installed library
19585
# when we should be linking with a yet-to-be-installed one
19586
## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
19587
test "$hardcode_minus_L_GCJ" != no; then
19588
# Linking always hardcodes the temporary library directory.
19589
hardcode_action_GCJ=relink
19591
# We can link without hardcoding, and we can hardcode nonexisting dirs.
19592
hardcode_action_GCJ=immediate
19595
# We cannot hardcode anything, or else we can only hardcode existing
19597
hardcode_action_GCJ=unsupported
19599
echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
19600
echo "${ECHO_T}$hardcode_action_GCJ" >&6
19602
if test "$hardcode_action_GCJ" = relink; then
19603
# Fast installation is not supported
19604
enable_fast_install=no
19605
elif test "$shlibpath_overrides_runpath" = yes ||
19606
test "$enable_shared" = no; then
19607
# Fast installation is not necessary
19608
enable_fast_install=needless
19613
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
19614
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
19615
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
19616
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
19617
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
19618
echo "$as_me:$LINENO: result: yes" >&5
19619
echo "${ECHO_T}yes" >&6
19621
# FIXME - insert some real tests, host_os isn't really good enough
19624
if test -n "$STRIP" ; then
19625
striplib="$STRIP -x"
19626
echo "$as_me:$LINENO: result: yes" >&5
19627
echo "${ECHO_T}yes" >&6
19629
echo "$as_me:$LINENO: result: no" >&5
19630
echo "${ECHO_T}no" >&6
19634
echo "$as_me:$LINENO: result: no" >&5
19635
echo "${ECHO_T}no" >&6
19640
if test "x$enable_dlopen" != xyes; then
19641
enable_dlopen=unknown
19642
enable_dlopen_self=unknown
19643
enable_dlopen_self_static=unknown
19650
lt_cv_dlopen="load_add_on"
19652
lt_cv_dlopen_self=yes
19656
lt_cv_dlopen="LoadLibrary"
19661
lt_cv_dlopen="dlopen"
19666
# if libdl is installed we need to link against it
19667
echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
19668
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
19669
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
19670
echo $ECHO_N "(cached) $ECHO_C" >&6
19672
ac_check_lib_save_LIBS=$LIBS
19674
cat >conftest.$ac_ext <<_ACEOF
19677
cat confdefs.h >>conftest.$ac_ext
19678
cat >>conftest.$ac_ext <<_ACEOF
19679
/* end confdefs.h. */
19681
/* Override any gcc2 internal prototype to avoid an error. */
19685
/* We use char because int might match the return type of a gcc2
19686
builtin and then its argument prototype would still apply. */
19696
rm -f conftest.$ac_objext conftest$ac_exeext
19697
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19698
(eval $ac_link) 2>conftest.er1
19700
grep -v '^ *+' conftest.er1 >conftest.err
19702
cat conftest.err >&5
19703
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19704
(exit $ac_status); } &&
19705
{ ac_try='test -z "$ac_c_werror_flag"
19706
|| test ! -s conftest.err'
19707
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19708
(eval $ac_try) 2>&5
19710
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19711
(exit $ac_status); }; } &&
19712
{ ac_try='test -s conftest$ac_exeext'
19713
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19714
(eval $ac_try) 2>&5
19716
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19717
(exit $ac_status); }; }; then
19718
ac_cv_lib_dl_dlopen=yes
19720
echo "$as_me: failed program was:" >&5
19721
sed 's/^/| /' conftest.$ac_ext >&5
19723
ac_cv_lib_dl_dlopen=no
19725
rm -f conftest.err conftest.$ac_objext \
19726
conftest$ac_exeext conftest.$ac_ext
19727
LIBS=$ac_check_lib_save_LIBS
19729
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
19730
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
19731
if test $ac_cv_lib_dl_dlopen = yes; then
19732
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
19735
lt_cv_dlopen="dyld"
19737
lt_cv_dlopen_self=yes
19744
echo "$as_me:$LINENO: checking for shl_load" >&5
19745
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
19746
if test "${ac_cv_func_shl_load+set}" = set; then
19747
echo $ECHO_N "(cached) $ECHO_C" >&6
19749
cat >conftest.$ac_ext <<_ACEOF
19752
cat confdefs.h >>conftest.$ac_ext
19753
cat >>conftest.$ac_ext <<_ACEOF
19754
/* end confdefs.h. */
19755
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
19756
For example, HP-UX 11i <limits.h> declares gettimeofday. */
19757
#define shl_load innocuous_shl_load
19759
/* System header to define __stub macros and hopefully few prototypes,
19760
which can conflict with char shl_load (); below.
19761
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19762
<limits.h> exists even on freestanding compilers. */
19765
# include <limits.h>
19767
# include <assert.h>
19772
/* Override any gcc2 internal prototype to avoid an error. */
19777
/* We use char because int might match the return type of a gcc2
19778
builtin and then its argument prototype would still apply. */
19780
/* The GNU C library defines this for functions which it implements
19781
to always fail with ENOSYS. Some functions are actually named
19782
something starting with __ and the normal name is an alias. */
19783
#if defined (__stub_shl_load) || defined (__stub___shl_load)
19786
char (*f) () = shl_load;
19795
return f != shl_load;
19800
rm -f conftest.$ac_objext conftest$ac_exeext
19801
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19802
(eval $ac_link) 2>conftest.er1
19804
grep -v '^ *+' conftest.er1 >conftest.err
19806
cat conftest.err >&5
19807
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19808
(exit $ac_status); } &&
19809
{ ac_try='test -z "$ac_c_werror_flag"
19810
|| test ! -s conftest.err'
19811
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19812
(eval $ac_try) 2>&5
19814
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19815
(exit $ac_status); }; } &&
19816
{ ac_try='test -s conftest$ac_exeext'
19817
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19818
(eval $ac_try) 2>&5
19820
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19821
(exit $ac_status); }; }; then
19822
ac_cv_func_shl_load=yes
19824
echo "$as_me: failed program was:" >&5
19825
sed 's/^/| /' conftest.$ac_ext >&5
19827
ac_cv_func_shl_load=no
19829
rm -f conftest.err conftest.$ac_objext \
19830
conftest$ac_exeext conftest.$ac_ext
19832
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
19833
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
19834
if test $ac_cv_func_shl_load = yes; then
19835
lt_cv_dlopen="shl_load"
19837
echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
19838
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
19839
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
19840
echo $ECHO_N "(cached) $ECHO_C" >&6
19842
ac_check_lib_save_LIBS=$LIBS
19844
cat >conftest.$ac_ext <<_ACEOF
19847
cat confdefs.h >>conftest.$ac_ext
19848
cat >>conftest.$ac_ext <<_ACEOF
19849
/* end confdefs.h. */
19851
/* Override any gcc2 internal prototype to avoid an error. */
19855
/* We use char because int might match the return type of a gcc2
19856
builtin and then its argument prototype would still apply. */
19866
rm -f conftest.$ac_objext conftest$ac_exeext
19867
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19868
(eval $ac_link) 2>conftest.er1
19870
grep -v '^ *+' conftest.er1 >conftest.err
19872
cat conftest.err >&5
19873
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19874
(exit $ac_status); } &&
19875
{ ac_try='test -z "$ac_c_werror_flag"
19876
|| test ! -s conftest.err'
19877
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19878
(eval $ac_try) 2>&5
19880
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19881
(exit $ac_status); }; } &&
19882
{ ac_try='test -s conftest$ac_exeext'
19883
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19884
(eval $ac_try) 2>&5
19886
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19887
(exit $ac_status); }; }; then
19888
ac_cv_lib_dld_shl_load=yes
19890
echo "$as_me: failed program was:" >&5
19891
sed 's/^/| /' conftest.$ac_ext >&5
19893
ac_cv_lib_dld_shl_load=no
19895
rm -f conftest.err conftest.$ac_objext \
19896
conftest$ac_exeext conftest.$ac_ext
19897
LIBS=$ac_check_lib_save_LIBS
19899
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
19900
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
19901
if test $ac_cv_lib_dld_shl_load = yes; then
19902
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
19904
echo "$as_me:$LINENO: checking for dlopen" >&5
19905
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
19906
if test "${ac_cv_func_dlopen+set}" = set; then
19907
echo $ECHO_N "(cached) $ECHO_C" >&6
19909
cat >conftest.$ac_ext <<_ACEOF
19912
cat confdefs.h >>conftest.$ac_ext
19913
cat >>conftest.$ac_ext <<_ACEOF
19914
/* end confdefs.h. */
19915
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
19916
For example, HP-UX 11i <limits.h> declares gettimeofday. */
19917
#define dlopen innocuous_dlopen
19919
/* System header to define __stub macros and hopefully few prototypes,
19920
which can conflict with char dlopen (); below.
19921
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19922
<limits.h> exists even on freestanding compilers. */
19925
# include <limits.h>
19927
# include <assert.h>
19932
/* Override any gcc2 internal prototype to avoid an error. */
19937
/* We use char because int might match the return type of a gcc2
19938
builtin and then its argument prototype would still apply. */
19940
/* The GNU C library defines this for functions which it implements
19941
to always fail with ENOSYS. Some functions are actually named
19942
something starting with __ and the normal name is an alias. */
19943
#if defined (__stub_dlopen) || defined (__stub___dlopen)
19946
char (*f) () = dlopen;
19955
return f != dlopen;
19960
rm -f conftest.$ac_objext conftest$ac_exeext
19961
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19962
(eval $ac_link) 2>conftest.er1
19964
grep -v '^ *+' conftest.er1 >conftest.err
19966
cat conftest.err >&5
19967
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19968
(exit $ac_status); } &&
19969
{ ac_try='test -z "$ac_c_werror_flag"
19970
|| test ! -s conftest.err'
19971
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19972
(eval $ac_try) 2>&5
19974
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19975
(exit $ac_status); }; } &&
19976
{ ac_try='test -s conftest$ac_exeext'
19977
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19978
(eval $ac_try) 2>&5
19980
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19981
(exit $ac_status); }; }; then
19982
ac_cv_func_dlopen=yes
19984
echo "$as_me: failed program was:" >&5
19985
sed 's/^/| /' conftest.$ac_ext >&5
19987
ac_cv_func_dlopen=no
19989
rm -f conftest.err conftest.$ac_objext \
19990
conftest$ac_exeext conftest.$ac_ext
19992
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
19993
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
19994
if test $ac_cv_func_dlopen = yes; then
19995
lt_cv_dlopen="dlopen"
19997
echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
19998
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
19999
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
20000
echo $ECHO_N "(cached) $ECHO_C" >&6
20002
ac_check_lib_save_LIBS=$LIBS
20004
cat >conftest.$ac_ext <<_ACEOF
20007
cat confdefs.h >>conftest.$ac_ext
20008
cat >>conftest.$ac_ext <<_ACEOF
20009
/* end confdefs.h. */
20011
/* Override any gcc2 internal prototype to avoid an error. */
20015
/* We use char because int might match the return type of a gcc2
20016
builtin and then its argument prototype would still apply. */
20026
rm -f conftest.$ac_objext conftest$ac_exeext
20027
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20028
(eval $ac_link) 2>conftest.er1
20030
grep -v '^ *+' conftest.er1 >conftest.err
20032
cat conftest.err >&5
20033
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20034
(exit $ac_status); } &&
20035
{ ac_try='test -z "$ac_c_werror_flag"
20036
|| test ! -s conftest.err'
20037
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20038
(eval $ac_try) 2>&5
20040
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20041
(exit $ac_status); }; } &&
20042
{ ac_try='test -s conftest$ac_exeext'
20043
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20044
(eval $ac_try) 2>&5
20046
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20047
(exit $ac_status); }; }; then
20048
ac_cv_lib_dl_dlopen=yes
20050
echo "$as_me: failed program was:" >&5
20051
sed 's/^/| /' conftest.$ac_ext >&5
20053
ac_cv_lib_dl_dlopen=no
20055
rm -f conftest.err conftest.$ac_objext \
20056
conftest$ac_exeext conftest.$ac_ext
20057
LIBS=$ac_check_lib_save_LIBS
20059
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
20060
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
20061
if test $ac_cv_lib_dl_dlopen = yes; then
20062
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
20064
echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
20065
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
20066
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
20067
echo $ECHO_N "(cached) $ECHO_C" >&6
20069
ac_check_lib_save_LIBS=$LIBS
20070
LIBS="-lsvld $LIBS"
20071
cat >conftest.$ac_ext <<_ACEOF
20074
cat confdefs.h >>conftest.$ac_ext
20075
cat >>conftest.$ac_ext <<_ACEOF
20076
/* end confdefs.h. */
20078
/* Override any gcc2 internal prototype to avoid an error. */
20082
/* We use char because int might match the return type of a gcc2
20083
builtin and then its argument prototype would still apply. */
20093
rm -f conftest.$ac_objext conftest$ac_exeext
20094
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20095
(eval $ac_link) 2>conftest.er1
20097
grep -v '^ *+' conftest.er1 >conftest.err
20099
cat conftest.err >&5
20100
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20101
(exit $ac_status); } &&
20102
{ ac_try='test -z "$ac_c_werror_flag"
20103
|| test ! -s conftest.err'
20104
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20105
(eval $ac_try) 2>&5
20107
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20108
(exit $ac_status); }; } &&
20109
{ ac_try='test -s conftest$ac_exeext'
20110
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20111
(eval $ac_try) 2>&5
20113
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20114
(exit $ac_status); }; }; then
20115
ac_cv_lib_svld_dlopen=yes
20117
echo "$as_me: failed program was:" >&5
20118
sed 's/^/| /' conftest.$ac_ext >&5
20120
ac_cv_lib_svld_dlopen=no
20122
rm -f conftest.err conftest.$ac_objext \
20123
conftest$ac_exeext conftest.$ac_ext
20124
LIBS=$ac_check_lib_save_LIBS
20126
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
20127
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
20128
if test $ac_cv_lib_svld_dlopen = yes; then
20129
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
20131
echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
20132
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
20133
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
20134
echo $ECHO_N "(cached) $ECHO_C" >&6
20136
ac_check_lib_save_LIBS=$LIBS
20138
cat >conftest.$ac_ext <<_ACEOF
20141
cat confdefs.h >>conftest.$ac_ext
20142
cat >>conftest.$ac_ext <<_ACEOF
20143
/* end confdefs.h. */
20145
/* Override any gcc2 internal prototype to avoid an error. */
20149
/* We use char because int might match the return type of a gcc2
20150
builtin and then its argument prototype would still apply. */
20160
rm -f conftest.$ac_objext conftest$ac_exeext
20161
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20162
(eval $ac_link) 2>conftest.er1
20164
grep -v '^ *+' conftest.er1 >conftest.err
20166
cat conftest.err >&5
20167
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20168
(exit $ac_status); } &&
20169
{ ac_try='test -z "$ac_c_werror_flag"
20170
|| test ! -s conftest.err'
20171
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20172
(eval $ac_try) 2>&5
20174
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20175
(exit $ac_status); }; } &&
20176
{ ac_try='test -s conftest$ac_exeext'
20177
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20178
(eval $ac_try) 2>&5
20180
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20181
(exit $ac_status); }; }; then
20182
ac_cv_lib_dld_dld_link=yes
20184
echo "$as_me: failed program was:" >&5
20185
sed 's/^/| /' conftest.$ac_ext >&5
20187
ac_cv_lib_dld_dld_link=no
20189
rm -f conftest.err conftest.$ac_objext \
20190
conftest$ac_exeext conftest.$ac_ext
20191
LIBS=$ac_check_lib_save_LIBS
20193
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
20194
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
20195
if test $ac_cv_lib_dld_dld_link = yes; then
20196
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
20217
if test "x$lt_cv_dlopen" != xno; then
20223
case $lt_cv_dlopen in
20225
save_CPPFLAGS="$CPPFLAGS"
20226
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
20228
save_LDFLAGS="$LDFLAGS"
20229
eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
20232
LIBS="$lt_cv_dlopen_libs $LIBS"
20234
echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
20235
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
20236
if test "${lt_cv_dlopen_self+set}" = set; then
20237
echo $ECHO_N "(cached) $ECHO_C" >&6
20239
if test "$cross_compiling" = yes; then :
20240
lt_cv_dlopen_self=cross
20242
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
20243
lt_status=$lt_dlunknown
20244
cat > conftest.$ac_ext <<EOF
20245
#line 20245 "configure"
20246
#include "confdefs.h"
20255
# define LT_DLGLOBAL RTLD_GLOBAL
20258
# define LT_DLGLOBAL DL_GLOBAL
20260
# define LT_DLGLOBAL 0
20264
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
20265
find out it does not work in some platform. */
20266
#ifndef LT_DLLAZY_OR_NOW
20268
# define LT_DLLAZY_OR_NOW RTLD_LAZY
20271
# define LT_DLLAZY_OR_NOW DL_LAZY
20274
# define LT_DLLAZY_OR_NOW RTLD_NOW
20277
# define LT_DLLAZY_OR_NOW DL_NOW
20279
# define LT_DLLAZY_OR_NOW 0
20287
extern "C" void exit (int);
20290
void fnord() { int i=42;}
20293
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
20294
int status = $lt_dlunknown;
20298
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
20299
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
20300
/* dlclose (self); */
20306
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20307
(eval $ac_link) 2>&5
20309
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20310
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
20311
(./conftest; exit; ) 2>/dev/null
20313
case x$lt_status in
20314
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
20315
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
20316
x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
20319
# compilation failed
20320
lt_cv_dlopen_self=no
20327
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
20328
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
20330
if test "x$lt_cv_dlopen_self" = xyes; then
20331
LDFLAGS="$LDFLAGS $link_static_flag"
20332
echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
20333
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
20334
if test "${lt_cv_dlopen_self_static+set}" = set; then
20335
echo $ECHO_N "(cached) $ECHO_C" >&6
20337
if test "$cross_compiling" = yes; then :
20338
lt_cv_dlopen_self_static=cross
20340
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
20341
lt_status=$lt_dlunknown
20342
cat > conftest.$ac_ext <<EOF
20343
#line 20343 "configure"
20344
#include "confdefs.h"
20353
# define LT_DLGLOBAL RTLD_GLOBAL
20356
# define LT_DLGLOBAL DL_GLOBAL
20358
# define LT_DLGLOBAL 0
20362
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
20363
find out it does not work in some platform. */
20364
#ifndef LT_DLLAZY_OR_NOW
20366
# define LT_DLLAZY_OR_NOW RTLD_LAZY
20369
# define LT_DLLAZY_OR_NOW DL_LAZY
20372
# define LT_DLLAZY_OR_NOW RTLD_NOW
20375
# define LT_DLLAZY_OR_NOW DL_NOW
20377
# define LT_DLLAZY_OR_NOW 0
20385
extern "C" void exit (int);
20388
void fnord() { int i=42;}
20391
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
20392
int status = $lt_dlunknown;
20396
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
20397
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
20398
/* dlclose (self); */
20404
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20405
(eval $ac_link) 2>&5
20407
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20408
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
20409
(./conftest; exit; ) 2>/dev/null
20411
case x$lt_status in
20412
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
20413
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
20414
x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
20417
# compilation failed
20418
lt_cv_dlopen_self_static=no
20425
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
20426
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
20429
CPPFLAGS="$save_CPPFLAGS"
20430
LDFLAGS="$save_LDFLAGS"
20435
case $lt_cv_dlopen_self in
20436
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
20437
*) enable_dlopen_self=unknown ;;
20440
case $lt_cv_dlopen_self_static in
20441
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
20442
*) enable_dlopen_self_static=unknown ;;
20447
# The else clause should only fire when bootstrapping the
20448
# libtool distribution, otherwise you forgot to ship ltmain.sh
20449
# with your package, and you will get complaints that there are
20450
# no rules to generate ltmain.sh.
20451
if test -f "$ltmain"; then
20452
# See if we are running on zsh, and set the options which allow our commands through
20453
# without removal of \ escapes.
20454
if test -n "${ZSH_VERSION+set}" ; then
20455
setopt NO_GLOB_SUBST
20457
# Now quote all the things that may contain metacharacters while being
20458
# careful not to overquote the AC_SUBSTed values. We take copies of the
20459
# variables and quote the copies for generation of the libtool script.
20460
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
20461
libname_spec library_names_spec soname_spec extract_expsyms_cmds \
20462
old_striplib striplib file_magic_cmd finish_cmds finish_eval \
20463
deplibs_check_method reload_flag reload_cmds need_locks \
20464
lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
20465
lt_cv_sys_global_symbol_to_c_name_address \
20466
sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
20467
old_postinstall_cmds old_postuninstall_cmds \
20471
lt_prog_compiler_wl_GCJ \
20472
lt_prog_compiler_pic_GCJ \
20473
lt_prog_compiler_static_GCJ \
20474
lt_prog_compiler_no_builtin_flag_GCJ \
20475
export_dynamic_flag_spec_GCJ \
20476
thread_safe_flag_spec_GCJ \
20477
whole_archive_flag_spec_GCJ \
20478
enable_shared_with_static_runtimes_GCJ \
20479
old_archive_cmds_GCJ \
20480
old_archive_from_new_cmds_GCJ \
20481
predep_objects_GCJ \
20482
postdep_objects_GCJ \
20485
compiler_lib_search_path_GCJ \
20487
archive_expsym_cmds_GCJ \
20488
postinstall_cmds_GCJ \
20489
postuninstall_cmds_GCJ \
20490
old_archive_from_expsyms_cmds_GCJ \
20491
allow_undefined_flag_GCJ \
20492
no_undefined_flag_GCJ \
20493
export_symbols_cmds_GCJ \
20494
hardcode_libdir_flag_spec_GCJ \
20495
hardcode_libdir_flag_spec_ld_GCJ \
20496
hardcode_libdir_separator_GCJ \
20497
hardcode_automatic_GCJ \
20499
module_expsym_cmds_GCJ \
20500
lt_cv_prog_compiler_c_o_GCJ \
20501
exclude_expsyms_GCJ \
20502
include_expsyms_GCJ; do
20505
old_archive_cmds_GCJ | \
20506
old_archive_from_new_cmds_GCJ | \
20507
archive_cmds_GCJ | \
20508
archive_expsym_cmds_GCJ | \
20509
module_cmds_GCJ | \
20510
module_expsym_cmds_GCJ | \
20511
old_archive_from_expsyms_cmds_GCJ | \
20512
export_symbols_cmds_GCJ | \
20513
extract_expsyms_cmds | reload_cmds | finish_cmds | \
20514
postinstall_cmds | postuninstall_cmds | \
20515
old_postinstall_cmds | old_postuninstall_cmds | \
20516
sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
20517
# Double-quote double-evaled strings.
20518
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
20521
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
20527
*'\$0 --fallback-echo"')
20528
lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
20534
cat <<__EOF__ >> "$cfgfile"
20535
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
20537
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20539
# Shell to use when invoking shell scripts.
20542
# Whether or not to build shared libraries.
20543
build_libtool_libs=$enable_shared
20545
# Whether or not to build static libraries.
20546
build_old_libs=$enable_static
20548
# Whether or not to add -lc for building shared libraries.
20549
build_libtool_need_lc=$archive_cmds_need_lc_GCJ
20551
# Whether or not to disallow shared libs when runtime libs are static
20552
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
20554
# Whether or not to optimize for fast installation.
20555
fast_install=$enable_fast_install
20558
host_alias=$host_alias
20561
# An echo program that does not interpret backslashes.
20566
AR_FLAGS=$lt_AR_FLAGS
20571
# A language-specific compiler.
20572
CC=$lt_compiler_GCJ
20574
# Is the compiler the GNU C compiler?
20580
# The linker used to build libraries.
20583
# Whether we need hard or soft links.
20586
# A BSD-compatible nm program.
20589
# A symbol stripping program
20592
# Used to examine libraries when file_magic_cmd begins "file"
20593
MAGIC_CMD=$MAGIC_CMD
20595
# Used on cygwin: DLL creation program.
20598
# Used on cygwin: object dumper.
20601
# Used on cygwin: assembler.
20604
# The name of the directory that contains temporary libtool files.
20607
# How to create reloadable object files.
20608
reload_flag=$lt_reload_flag
20609
reload_cmds=$lt_reload_cmds
20611
# How to pass a linker flag through the compiler.
20612
wl=$lt_lt_prog_compiler_wl_GCJ
20614
# Object file suffix (normally "o").
20615
objext="$ac_objext"
20617
# Old archive suffix (normally "a").
20620
# Shared library suffix (normally ".so").
20623
# Executable file suffix (normally "").
20626
# Additional compiler flags for building library objects.
20627
pic_flag=$lt_lt_prog_compiler_pic_GCJ
20630
# What is the maximum length of a command?
20631
max_cmd_len=$lt_cv_sys_max_cmd_len
20633
# Does compiler simultaneously support -c and -o options?
20634
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
20636
# Must we lock files when doing compilation ?
20637
need_locks=$lt_need_locks
20639
# Do we need the lib prefix for modules?
20640
need_lib_prefix=$need_lib_prefix
20642
# Do we need a version for libraries?
20643
need_version=$need_version
20645
# Whether dlopen is supported.
20646
dlopen_support=$enable_dlopen
20648
# Whether dlopen of programs is supported.
20649
dlopen_self=$enable_dlopen_self
20651
# Whether dlopen of statically linked programs is supported.
20652
dlopen_self_static=$enable_dlopen_self_static
20654
# Compiler flag to prevent dynamic linking.
20655
link_static_flag=$lt_lt_prog_compiler_static_GCJ
20657
# Compiler flag to turn off builtin functions.
20658
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
20660
# Compiler flag to allow reflexive dlopens.
20661
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
20663
# Compiler flag to generate shared objects directly from archives.
20664
whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
20666
# Compiler flag to generate thread-safe objects.
20667
thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
20669
# Library versioning type.
20670
version_type=$version_type
20672
# Format of library name prefix.
20673
libname_spec=$lt_libname_spec
20675
# List of archive names. First name is the real one, the rest are links.
20676
# The last name is the one that the linker finds with -lNAME.
20677
library_names_spec=$lt_library_names_spec
20679
# The coded name of the library, if different from the real name.
20680
soname_spec=$lt_soname_spec
20682
# Commands used to build and install an old-style archive.
20684
old_archive_cmds=$lt_old_archive_cmds_GCJ
20685
old_postinstall_cmds=$lt_old_postinstall_cmds
20686
old_postuninstall_cmds=$lt_old_postuninstall_cmds
20688
# Create an old-style archive from a shared archive.
20689
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
20691
# Create a temporary old-style archive to link instead of a shared archive.
20692
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
20694
# Commands used to build and install a shared archive.
20695
archive_cmds=$lt_archive_cmds_GCJ
20696
archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
20697
postinstall_cmds=$lt_postinstall_cmds
20698
postuninstall_cmds=$lt_postuninstall_cmds
20700
# Commands used to build a loadable module (assumed same as above if empty)
20701
module_cmds=$lt_module_cmds_GCJ
20702
module_expsym_cmds=$lt_module_expsym_cmds_GCJ
20704
# Commands to strip libraries.
20705
old_striplib=$lt_old_striplib
20706
striplib=$lt_striplib
20708
# Dependencies to place before the objects being linked to create a
20710
predep_objects=$lt_predep_objects_GCJ
20712
# Dependencies to place after the objects being linked to create a
20714
postdep_objects=$lt_postdep_objects_GCJ
20716
# Dependencies to place before the objects being linked to create a
20718
predeps=$lt_predeps_GCJ
20720
# Dependencies to place after the objects being linked to create a
20722
postdeps=$lt_postdeps_GCJ
20724
# The library search path used internally by the compiler when linking
20725
# a shared library.
20726
compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
20728
# Method to check whether dependent libraries are shared objects.
20729
deplibs_check_method=$lt_deplibs_check_method
20731
# Command to use when deplibs_check_method == file_magic.
20732
file_magic_cmd=$lt_file_magic_cmd
20734
# Flag that allows shared libraries with undefined symbols to be built.
20735
allow_undefined_flag=$lt_allow_undefined_flag_GCJ
20737
# Flag that forces no undefined symbols.
20738
no_undefined_flag=$lt_no_undefined_flag_GCJ
20740
# Commands used to finish a libtool library installation in a directory.
20741
finish_cmds=$lt_finish_cmds
20743
# Same as above, but a single script fragment to be evaled but not shown.
20744
finish_eval=$lt_finish_eval
20746
# Take the output of nm and produce a listing of raw symbols and C names.
20747
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20749
# Transform the output of nm in a proper C declaration
20750
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20752
# Transform the output of nm in a C name address pair
20753
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20755
# This is the shared library runtime path variable.
20756
runpath_var=$runpath_var
20758
# This is the shared library path variable.
20759
shlibpath_var=$shlibpath_var
20761
# Is shlibpath searched before the hard-coded library search path?
20762
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20764
# How to hardcode a shared library path into an executable.
20765
hardcode_action=$hardcode_action_GCJ
20767
# Whether we should hardcode library paths into libraries.
20768
hardcode_into_libs=$hardcode_into_libs
20770
# Flag to hardcode \$libdir into a binary during linking.
20771
# This must work even if \$libdir does not exist.
20772
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
20774
# If ld is used when linking, flag to hardcode \$libdir into
20775
# a binary during linking. This must work even if \$libdir does
20777
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
20779
# Whether we need a single -rpath flag with a separated argument.
20780
hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
20782
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
20783
# resulting binary.
20784
hardcode_direct=$hardcode_direct_GCJ
20786
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
20787
# resulting binary.
20788
hardcode_minus_L=$hardcode_minus_L_GCJ
20790
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
20791
# the resulting binary.
20792
hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
20794
# Set to yes if building a shared library automatically hardcodes DIR into the library
20795
# and all subsequent libraries and executables linked against it.
20796
hardcode_automatic=$hardcode_automatic_GCJ
20798
# Variables whose values should be saved in libtool wrapper scripts and
20799
# restored at relink time.
20800
variables_saved_for_relink="$variables_saved_for_relink"
20802
# Whether libtool must link a program against all its dependency libraries.
20803
link_all_deplibs=$link_all_deplibs_GCJ
20805
# Compile-time system search path for libraries
20806
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20808
# Run-time system search path for libraries
20809
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20811
# Fix the shell variable \$srcfile for the compiler.
20812
fix_srcfile_path="$fix_srcfile_path_GCJ"
20814
# Set to yes if exported symbols are required.
20815
always_export_symbols=$always_export_symbols_GCJ
20817
# The commands to list exported symbols.
20818
export_symbols_cmds=$lt_export_symbols_cmds_GCJ
20820
# The commands to extract the exported symbol list from a shared archive.
20821
extract_expsyms_cmds=$lt_extract_expsyms_cmds
20823
# Symbols that should not be listed in the preloaded symbols.
20824
exclude_expsyms=$lt_exclude_expsyms_GCJ
20826
# Symbols that must always be exported.
20827
include_expsyms=$lt_include_expsyms_GCJ
20829
# ### END LIBTOOL TAG CONFIG: $tagname
20835
# If there is no Makefile yet, we rely on a make rule to execute
20836
# `config.status --recheck' to rerun these tests and create the
20837
# libtool script then.
20838
test -f Makefile && make "$ltmain"
20843
ac_cpp='$CPP $CPPFLAGS'
20844
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20845
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20846
ac_compiler_gnu=$ac_cv_c_compiler_gnu
20859
# Source file extension for RC test sources.
20862
# Object file extension for compiled RC test sources.
20866
# Code to be used in simple compile tests
20867
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
20869
# Code to be used in simple link tests
20870
lt_simple_link_test_code="$lt_simple_compile_test_code"
20872
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
20874
# If no C compiler was specified, use CC.
20877
# Allow CC to be a program name with arguments.
20881
# Allow CC to be a program name with arguments.
20886
lt_cv_prog_compiler_c_o_RC=yes
20888
# The else clause should only fire when bootstrapping the
20889
# libtool distribution, otherwise you forgot to ship ltmain.sh
20890
# with your package, and you will get complaints that there are
20891
# no rules to generate ltmain.sh.
20892
if test -f "$ltmain"; then
20893
# See if we are running on zsh, and set the options which allow our commands through
20894
# without removal of \ escapes.
20895
if test -n "${ZSH_VERSION+set}" ; then
20896
setopt NO_GLOB_SUBST
20898
# Now quote all the things that may contain metacharacters while being
20899
# careful not to overquote the AC_SUBSTed values. We take copies of the
20900
# variables and quote the copies for generation of the libtool script.
20901
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
20902
libname_spec library_names_spec soname_spec extract_expsyms_cmds \
20903
old_striplib striplib file_magic_cmd finish_cmds finish_eval \
20904
deplibs_check_method reload_flag reload_cmds need_locks \
20905
lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
20906
lt_cv_sys_global_symbol_to_c_name_address \
20907
sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
20908
old_postinstall_cmds old_postuninstall_cmds \
20912
lt_prog_compiler_wl_RC \
20913
lt_prog_compiler_pic_RC \
20914
lt_prog_compiler_static_RC \
20915
lt_prog_compiler_no_builtin_flag_RC \
20916
export_dynamic_flag_spec_RC \
20917
thread_safe_flag_spec_RC \
20918
whole_archive_flag_spec_RC \
20919
enable_shared_with_static_runtimes_RC \
20920
old_archive_cmds_RC \
20921
old_archive_from_new_cmds_RC \
20922
predep_objects_RC \
20923
postdep_objects_RC \
20926
compiler_lib_search_path_RC \
20928
archive_expsym_cmds_RC \
20929
postinstall_cmds_RC \
20930
postuninstall_cmds_RC \
20931
old_archive_from_expsyms_cmds_RC \
20932
allow_undefined_flag_RC \
20933
no_undefined_flag_RC \
20934
export_symbols_cmds_RC \
20935
hardcode_libdir_flag_spec_RC \
20936
hardcode_libdir_flag_spec_ld_RC \
20937
hardcode_libdir_separator_RC \
20938
hardcode_automatic_RC \
20940
module_expsym_cmds_RC \
20941
lt_cv_prog_compiler_c_o_RC \
20942
exclude_expsyms_RC \
20943
include_expsyms_RC; do
20946
old_archive_cmds_RC | \
20947
old_archive_from_new_cmds_RC | \
20948
archive_cmds_RC | \
20949
archive_expsym_cmds_RC | \
20951
module_expsym_cmds_RC | \
20952
old_archive_from_expsyms_cmds_RC | \
20953
export_symbols_cmds_RC | \
20954
extract_expsyms_cmds | reload_cmds | finish_cmds | \
20955
postinstall_cmds | postuninstall_cmds | \
20956
old_postinstall_cmds | old_postuninstall_cmds | \
20957
sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
20958
# Double-quote double-evaled strings.
20959
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
20962
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
20968
*'\$0 --fallback-echo"')
20969
lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
20975
cat <<__EOF__ >> "$cfgfile"
20976
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
20978
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20980
# Shell to use when invoking shell scripts.
20983
# Whether or not to build shared libraries.
20984
build_libtool_libs=$enable_shared
20986
# Whether or not to build static libraries.
20987
build_old_libs=$enable_static
20989
# Whether or not to add -lc for building shared libraries.
20990
build_libtool_need_lc=$archive_cmds_need_lc_RC
20992
# Whether or not to disallow shared libs when runtime libs are static
20993
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
20995
# Whether or not to optimize for fast installation.
20996
fast_install=$enable_fast_install
20999
host_alias=$host_alias
21002
# An echo program that does not interpret backslashes.
21007
AR_FLAGS=$lt_AR_FLAGS
21012
# A language-specific compiler.
21015
# Is the compiler the GNU C compiler?
21021
# The linker used to build libraries.
21024
# Whether we need hard or soft links.
21027
# A BSD-compatible nm program.
21030
# A symbol stripping program
21033
# Used to examine libraries when file_magic_cmd begins "file"
21034
MAGIC_CMD=$MAGIC_CMD
21036
# Used on cygwin: DLL creation program.
21039
# Used on cygwin: object dumper.
21042
# Used on cygwin: assembler.
21045
# The name of the directory that contains temporary libtool files.
21048
# How to create reloadable object files.
21049
reload_flag=$lt_reload_flag
21050
reload_cmds=$lt_reload_cmds
21052
# How to pass a linker flag through the compiler.
21053
wl=$lt_lt_prog_compiler_wl_RC
21055
# Object file suffix (normally "o").
21056
objext="$ac_objext"
21058
# Old archive suffix (normally "a").
21061
# Shared library suffix (normally ".so").
21064
# Executable file suffix (normally "").
21067
# Additional compiler flags for building library objects.
21068
pic_flag=$lt_lt_prog_compiler_pic_RC
21071
# What is the maximum length of a command?
21072
max_cmd_len=$lt_cv_sys_max_cmd_len
21074
# Does compiler simultaneously support -c and -o options?
21075
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
21077
# Must we lock files when doing compilation ?
21078
need_locks=$lt_need_locks
21080
# Do we need the lib prefix for modules?
21081
need_lib_prefix=$need_lib_prefix
21083
# Do we need a version for libraries?
21084
need_version=$need_version
21086
# Whether dlopen is supported.
21087
dlopen_support=$enable_dlopen
21089
# Whether dlopen of programs is supported.
21090
dlopen_self=$enable_dlopen_self
21092
# Whether dlopen of statically linked programs is supported.
21093
dlopen_self_static=$enable_dlopen_self_static
21095
# Compiler flag to prevent dynamic linking.
21096
link_static_flag=$lt_lt_prog_compiler_static_RC
21098
# Compiler flag to turn off builtin functions.
21099
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
21101
# Compiler flag to allow reflexive dlopens.
21102
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
21104
# Compiler flag to generate shared objects directly from archives.
21105
whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
21107
# Compiler flag to generate thread-safe objects.
21108
thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
21110
# Library versioning type.
21111
version_type=$version_type
21113
# Format of library name prefix.
21114
libname_spec=$lt_libname_spec
21116
# List of archive names. First name is the real one, the rest are links.
21117
# The last name is the one that the linker finds with -lNAME.
21118
library_names_spec=$lt_library_names_spec
21120
# The coded name of the library, if different from the real name.
21121
soname_spec=$lt_soname_spec
21123
# Commands used to build and install an old-style archive.
21125
old_archive_cmds=$lt_old_archive_cmds_RC
21126
old_postinstall_cmds=$lt_old_postinstall_cmds
21127
old_postuninstall_cmds=$lt_old_postuninstall_cmds
21129
# Create an old-style archive from a shared archive.
21130
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
21132
# Create a temporary old-style archive to link instead of a shared archive.
21133
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
21135
# Commands used to build and install a shared archive.
21136
archive_cmds=$lt_archive_cmds_RC
21137
archive_expsym_cmds=$lt_archive_expsym_cmds_RC
21138
postinstall_cmds=$lt_postinstall_cmds
21139
postuninstall_cmds=$lt_postuninstall_cmds
21141
# Commands used to build a loadable module (assumed same as above if empty)
21142
module_cmds=$lt_module_cmds_RC
21143
module_expsym_cmds=$lt_module_expsym_cmds_RC
21145
# Commands to strip libraries.
21146
old_striplib=$lt_old_striplib
21147
striplib=$lt_striplib
21149
# Dependencies to place before the objects being linked to create a
21151
predep_objects=$lt_predep_objects_RC
21153
# Dependencies to place after the objects being linked to create a
21155
postdep_objects=$lt_postdep_objects_RC
21157
# Dependencies to place before the objects being linked to create a
21159
predeps=$lt_predeps_RC
21161
# Dependencies to place after the objects being linked to create a
21163
postdeps=$lt_postdeps_RC
21165
# The library search path used internally by the compiler when linking
21166
# a shared library.
21167
compiler_lib_search_path=$lt_compiler_lib_search_path_RC
21169
# Method to check whether dependent libraries are shared objects.
21170
deplibs_check_method=$lt_deplibs_check_method
21172
# Command to use when deplibs_check_method == file_magic.
21173
file_magic_cmd=$lt_file_magic_cmd
21175
# Flag that allows shared libraries with undefined symbols to be built.
21176
allow_undefined_flag=$lt_allow_undefined_flag_RC
21178
# Flag that forces no undefined symbols.
21179
no_undefined_flag=$lt_no_undefined_flag_RC
21181
# Commands used to finish a libtool library installation in a directory.
21182
finish_cmds=$lt_finish_cmds
21184
# Same as above, but a single script fragment to be evaled but not shown.
21185
finish_eval=$lt_finish_eval
21187
# Take the output of nm and produce a listing of raw symbols and C names.
21188
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21190
# Transform the output of nm in a proper C declaration
21191
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21193
# Transform the output of nm in a C name address pair
21194
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21196
# This is the shared library runtime path variable.
21197
runpath_var=$runpath_var
21199
# This is the shared library path variable.
21200
shlibpath_var=$shlibpath_var
21202
# Is shlibpath searched before the hard-coded library search path?
21203
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21205
# How to hardcode a shared library path into an executable.
21206
hardcode_action=$hardcode_action_RC
21208
# Whether we should hardcode library paths into libraries.
21209
hardcode_into_libs=$hardcode_into_libs
21211
# Flag to hardcode \$libdir into a binary during linking.
21212
# This must work even if \$libdir does not exist.
21213
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
21215
# If ld is used when linking, flag to hardcode \$libdir into
21216
# a binary during linking. This must work even if \$libdir does
21218
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
21220
# Whether we need a single -rpath flag with a separated argument.
21221
hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
21223
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
21224
# resulting binary.
21225
hardcode_direct=$hardcode_direct_RC
21227
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
21228
# resulting binary.
21229
hardcode_minus_L=$hardcode_minus_L_RC
21231
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
21232
# the resulting binary.
21233
hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
21235
# Set to yes if building a shared library automatically hardcodes DIR into the library
21236
# and all subsequent libraries and executables linked against it.
21237
hardcode_automatic=$hardcode_automatic_RC
21239
# Variables whose values should be saved in libtool wrapper scripts and
21240
# restored at relink time.
21241
variables_saved_for_relink="$variables_saved_for_relink"
21243
# Whether libtool must link a program against all its dependency libraries.
21244
link_all_deplibs=$link_all_deplibs_RC
21246
# Compile-time system search path for libraries
21247
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21249
# Run-time system search path for libraries
21250
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21252
# Fix the shell variable \$srcfile for the compiler.
21253
fix_srcfile_path="$fix_srcfile_path_RC"
21255
# Set to yes if exported symbols are required.
21256
always_export_symbols=$always_export_symbols_RC
21258
# The commands to list exported symbols.
21259
export_symbols_cmds=$lt_export_symbols_cmds_RC
21261
# The commands to extract the exported symbol list from a shared archive.
21262
extract_expsyms_cmds=$lt_extract_expsyms_cmds
21264
# Symbols that should not be listed in the preloaded symbols.
21265
exclude_expsyms=$lt_exclude_expsyms_RC
21267
# Symbols that must always be exported.
21268
include_expsyms=$lt_include_expsyms_RC
21270
# ### END LIBTOOL TAG CONFIG: $tagname
21276
# If there is no Makefile yet, we rely on a make rule to execute
21277
# `config.status --recheck' to rerun these tests and create the
21278
# libtool script then.
21279
test -f Makefile && make "$ltmain"
21284
ac_cpp='$CPP $CPPFLAGS'
21285
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21286
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21287
ac_compiler_gnu=$ac_cv_c_compiler_gnu
21294
{ { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
21295
echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
21296
{ (exit 1); exit 1; }; }
21300
# Append the new tag name to the list of available tags.
21301
if test -n "$tagname" ; then
21302
available_tags="$available_tags $tagname"
21308
# Now substitute the updated list of available tags.
21309
if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
21310
mv "${ofile}T" "$ofile"
21314
{ { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
21315
echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
21316
{ (exit 1); exit 1; }; }
21322
# This can be used to rebuild libtool when needed
21323
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
21325
# Always use our own libtool.
21326
LIBTOOL='$(SHELL) $(top_builddir)/libtool --silent'
21328
# Prevent multiple expansion
21363
LIBTOOL_SHELL="/bin/sh ./libtool"
21364
# LIBTOOL="$LIBTOOL --silent"
21365
KDE_PLUGIN="-avoid-version -module -no-undefined \$(KDE_NO_UNDEFINED) \$(KDE_RPATH) \$(KDE_MT_LDFLAGS)"
21368
# we patch configure quite some so we better keep that consistent for incremental runs
21369
AUTOCONF='$(SHELL) $(top_srcdir)/admin/cvs.sh configure || touch configure'
21375
# Extract the first word of "msgfmt", so it can be a program name with args.
21376
set dummy msgfmt; ac_word=$2
21377
echo "$as_me:$LINENO: checking for $ac_word" >&5
21378
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21379
if test "${ac_cv_path_MSGFMT+set}" = set; then
21380
echo $ECHO_N "(cached) $ECHO_C" >&6
21384
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
21387
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
21388
for ac_dir in $PATH; do
21389
test -z "$ac_dir" && ac_dir=.
21390
if test -f $ac_dir/$ac_word; then
21391
if test -n "`$ac_dir/$ac_word --version 2>&1 | grep 'GNU gettext'`"; then
21392
ac_cv_path_MSGFMT="$ac_dir/$ac_word"
21398
test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="msgfmt"
21402
MSGFMT="$ac_cv_path_MSGFMT"
21403
if test -n "$MSGFMT"; then
21404
echo "$as_me:$LINENO: result: $MSGFMT" >&5
21405
echo "${ECHO_T}$MSGFMT" >&6
21407
echo "$as_me:$LINENO: result: no" >&5
21408
echo "${ECHO_T}no" >&6
21411
# Extract the first word of "gmsgfmt", so it can be a program name with args.
21412
set dummy gmsgfmt; ac_word=$2
21413
echo "$as_me:$LINENO: checking for $ac_word" >&5
21414
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21415
if test "${ac_cv_path_GMSGFMT+set}" = set; then
21416
echo $ECHO_N "(cached) $ECHO_C" >&6
21420
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
21423
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21424
for as_dir in $PATH
21427
test -z "$as_dir" && as_dir=.
21428
for ac_exec_ext in '' $ac_executable_extensions; do
21429
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21430
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
21431
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21437
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
21441
GMSGFMT=$ac_cv_path_GMSGFMT
21443
if test -n "$GMSGFMT"; then
21444
echo "$as_me:$LINENO: result: $GMSGFMT" >&5
21445
echo "${ECHO_T}$GMSGFMT" >&6
21447
echo "$as_me:$LINENO: result: no" >&5
21448
echo "${ECHO_T}no" >&6
21452
if test -z "`$GMSGFMT --version 2>&1 | grep 'GNU gettext'`"; then
21453
echo "$as_me:$LINENO: result: found msgfmt program is not GNU msgfmt; ignore it" >&5
21454
echo "${ECHO_T}found msgfmt program is not GNU msgfmt; ignore it" >&6
21461
# Extract the first word of "xgettext", so it can be a program name with args.
21462
set dummy xgettext; ac_word=$2
21463
echo "$as_me:$LINENO: checking for $ac_word" >&5
21464
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21465
if test "${ac_cv_path_XGETTEXT+set}" = set; then
21466
echo $ECHO_N "(cached) $ECHO_C" >&6
21468
case "$XGETTEXT" in
21470
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
21473
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
21474
for ac_dir in $PATH; do
21475
test -z "$ac_dir" && ac_dir=.
21476
if test -f $ac_dir/$ac_word; then
21477
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
21478
ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
21484
test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
21488
XGETTEXT="$ac_cv_path_XGETTEXT"
21489
if test -n "$XGETTEXT"; then
21490
echo "$as_me:$LINENO: result: $XGETTEXT" >&5
21491
echo "${ECHO_T}$XGETTEXT" >&6
21493
echo "$as_me:$LINENO: result: no" >&5
21494
echo "${ECHO_T}no" >&6
21498
if test "$XGETTEXT" != ":"; then
21499
if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
21502
echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5
21503
echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6
21512
if test -z "3.0.0"; then
21513
# Current default Qt version: 3.3
21517
kde_qtsubver=`echo "3.0.0" | sed -e 's#[0-9][0-9]*\.\([0-9][0-9]*\).*#\1#'`
21518
# following is the check if subversion isnt found in passed argument
21519
if test "$kde_qtsubver" = "3.0.0"; then
21522
kde_qtver=`echo "3.0.0" | sed -e 's#^\([0-9][0-9]*\)\..*#\1#'`
21523
if test "$kde_qtver" = "1"; then
21528
if test -z ""; then
21529
if test "$kde_qtver" = "2"; then
21530
if test $kde_qtsubver -gt 0; then
21531
kde_qt_minversion=">= Qt 2.2.2"
21533
kde_qt_minversion=">= Qt 2.0.2"
21536
if test "$kde_qtver" = "3"; then
21537
if test $kde_qtsubver -gt 0; then
21538
if test $kde_qtsubver -gt 1; then
21539
if test $kde_qtsubver -gt 2; then
21540
kde_qt_minversion=">= Qt 3.3"
21542
kde_qt_minversion=">= Qt 3.2"
21545
kde_qt_minversion=">= Qt 3.1 (20021021)"
21548
kde_qt_minversion=">= Qt 3.0"
21551
if test "$kde_qtver" = "1"; then
21552
kde_qt_minversion=">= 1.42 and < 2.0"
21555
kde_qt_minversion=""
21558
if test -z ""; then
21559
if test $kde_qtver = 3; then
21560
if test $kde_qtsubver -gt 0; then
21561
kde_qt_verstring="QT_VERSION >= 0x03@VER@00"
21562
qtsubver=`echo "00$kde_qtsubver" | sed -e 's,.*\(..\)$,\1,'`
21563
kde_qt_verstring=`echo $kde_qt_verstring | sed -e "s,@VER@,$qtsubver,"`
21565
kde_qt_verstring="QT_VERSION >= 300"
21568
if test $kde_qtver = 2; then
21569
if test $kde_qtsubver -gt 0; then
21570
kde_qt_verstring="QT_VERSION >= 222"
21572
kde_qt_verstring="QT_VERSION >= 200"
21575
if test $kde_qtver = 1; then
21576
kde_qt_verstring="QT_VERSION >= 142 && QT_VERSION < 200"
21579
kde_qt_verstring=""
21582
if test $kde_qtver = 3; then
21583
kde_qt_dirs="$QTDIR /usr/lib/qt3 /usr/lib/qt /usr/share/qt3"
21585
if test $kde_qtver = 2; then
21586
kde_qt_dirs="$QTDIR /usr/lib/qt2 /usr/lib/qt"
21588
if test $kde_qtver = 1; then
21589
kde_qt_dirs="$QTDIR /usr/lib/qt"
21596
ac_cpp='$CXXCPP $CPPFLAGS'
21597
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21598
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21599
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21601
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21604
ac_save_CXXFLAGS="$CXXFLAGS"
21605
CXXFLAGS="`echo $CXXFLAGS | sed s/-fno-exceptions//`"
21607
echo "$as_me:$LINENO: checking if C++ programs can be compiled" >&5
21608
echo $ECHO_N "checking if C++ programs can be compiled... $ECHO_C" >&6
21609
if test "${kde_cv_stl_works+set}" = set; then
21610
echo $ECHO_N "(cached) $ECHO_C" >&6
21613
cat >conftest.$ac_ext <<_ACEOF
21616
cat confdefs.h >>conftest.$ac_ext
21617
cat >>conftest.$ac_ext <<_ACEOF
21618
/* end confdefs.h. */
21621
using namespace std;
21627
string astring="Hallo Welt.";
21628
astring.erase(0, 6); // now astring is "Welt"
21635
rm -f conftest.$ac_objext
21636
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21637
(eval $ac_compile) 2>conftest.er1
21639
grep -v '^ *+' conftest.er1 >conftest.err
21641
cat conftest.err >&5
21642
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21643
(exit $ac_status); } &&
21644
{ ac_try='test -z "$ac_cxx_werror_flag"
21645
|| test ! -s conftest.err'
21646
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21647
(eval $ac_try) 2>&5
21649
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21650
(exit $ac_status); }; } &&
21651
{ ac_try='test -s conftest.$ac_objext'
21652
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21653
(eval $ac_try) 2>&5
21655
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21656
(exit $ac_status); }; }; then
21657
kde_cv_stl_works=yes
21659
echo "$as_me: failed program was:" >&5
21660
sed 's/^/| /' conftest.$ac_ext >&5
21662
kde_cv_stl_works=no
21664
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21669
echo "$as_me:$LINENO: result: $kde_cv_stl_works" >&5
21670
echo "${ECHO_T}$kde_cv_stl_works" >&6
21672
if test "$kde_cv_stl_works" = "yes"; then
21675
cat >>confdefs.h <<_ACEOF
21676
#define HAVE_SGI_STL 1
21680
{ { echo "$as_me:$LINENO: error: Your Installation isn't able to compile simple C++ programs.
21681
Check config.log for details - if you're using a Linux distribution you might miss
21682
a package named similiar to libstd++-dev." >&5
21683
echo "$as_me: error: Your Installation isn't able to compile simple C++ programs.
21684
Check config.log for details - if you're using a Linux distribution you might miss
21685
a package named similiar to libstd++-dev." >&2;}
21686
{ (exit 1); exit 1; }; }
21689
CXXFLAGS="$ac_save_CXXFLAGS"
21691
ac_cpp='$CPP $CPPFLAGS'
21692
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21693
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21694
ac_compiler_gnu=$ac_cv_c_compiler_gnu
21699
echo "$as_me:$LINENO: checking for strlcat" >&5
21700
echo $ECHO_N "checking for strlcat... $ECHO_C" >&6
21701
if test "${kde_cv_func_strlcat+set}" = set; then
21702
echo $ECHO_N "(cached) $ECHO_C" >&6
21708
ac_cpp='$CXXCPP $CPPFLAGS'
21709
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21710
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21711
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21713
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21716
save_CXXFLAGS="$CXXFLAGS"
21717
kde_safe_LIBS="$LIBS"
21718
LIBS="$LIBS $X_EXTRA_LIBS"
21719
if test "$GXX" = "yes"; then
21720
CXXFLAGS="$CXXFLAGS -pedantic-errors"
21722
cat >conftest.$ac_ext <<_ACEOF
21725
cat confdefs.h >>conftest.$ac_ext
21726
cat >>conftest.$ac_ext <<_ACEOF
21727
/* end confdefs.h. */
21730
#include <string.h>
21739
strlcat(buf, "KDE function test", sizeof(buf));
21746
rm -f conftest.$ac_objext
21747
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21748
(eval $ac_compile) 2>conftest.er1
21750
grep -v '^ *+' conftest.er1 >conftest.err
21752
cat conftest.err >&5
21753
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21754
(exit $ac_status); } &&
21755
{ ac_try='test -z "$ac_cxx_werror_flag"
21756
|| test ! -s conftest.err'
21757
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21758
(eval $ac_try) 2>&5
21760
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21761
(exit $ac_status); }; } &&
21762
{ ac_try='test -s conftest.$ac_objext'
21763
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21764
(eval $ac_try) 2>&5
21766
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21767
(exit $ac_status); }; }; then
21768
kde_cv_func_strlcat=yes
21770
echo "$as_me: failed program was:" >&5
21771
sed 's/^/| /' conftest.$ac_ext >&5
21773
kde_cv_func_strlcat=no
21775
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21776
CXXFLAGS="$save_CXXFLAGS"
21777
LIBS="$kde_safe_LIBS"
21779
ac_cpp='$CPP $CPPFLAGS'
21780
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21781
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21782
ac_compiler_gnu=$ac_cv_c_compiler_gnu
21788
echo "$as_me:$LINENO: result: $kde_cv_func_strlcat" >&5
21789
echo "${ECHO_T}$kde_cv_func_strlcat" >&6
21791
echo "$as_me:$LINENO: checking if strlcat needs custom prototype" >&5
21792
echo $ECHO_N "checking if strlcat needs custom prototype... $ECHO_C" >&6
21793
if test "${kde_cv_proto_strlcat+set}" = set; then
21794
echo $ECHO_N "(cached) $ECHO_C" >&6
21797
if test "x$kde_cv_func_strlcat" = xyes; then
21798
kde_cv_proto_strlcat=no
21801
setenv|unsetenv|usleep|random|srandom|seteuid|mkstemps|mkstemp|revoke|vsnprintf|strlcpy|strlcat)
21802
kde_cv_proto_strlcat="yes - in libkdefakes"
21805
kde_cv_proto_strlcat=unknown
21810
if test "x$kde_cv_proto_strlcat" = xunknown; then
21815
ac_cpp='$CXXCPP $CPPFLAGS'
21816
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21817
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21818
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21820
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21823
kde_safe_libs=$LIBS
21824
LIBS="$LIBS $X_EXTRA_LIBS"
21825
cat >conftest.$ac_ext <<_ACEOF
21828
cat confdefs.h >>conftest.$ac_ext
21829
cat >>conftest.$ac_ext <<_ACEOF
21830
/* end confdefs.h. */
21833
#include <string.h>
21836
extern "C" unsigned long strlcat(char*, const char*, unsigned long);
21844
strlcat(buf, "KDE function test", sizeof(buf));
21851
rm -f conftest.$ac_objext conftest$ac_exeext
21852
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21853
(eval $ac_link) 2>conftest.er1
21855
grep -v '^ *+' conftest.er1 >conftest.err
21857
cat conftest.err >&5
21858
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21859
(exit $ac_status); } &&
21860
{ ac_try='test -z "$ac_cxx_werror_flag"
21861
|| test ! -s conftest.err'
21862
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21863
(eval $ac_try) 2>&5
21865
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21866
(exit $ac_status); }; } &&
21867
{ ac_try='test -s conftest$ac_exeext'
21868
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21869
(eval $ac_try) 2>&5
21871
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21872
(exit $ac_status); }; }; then
21873
kde_cv_func_strlcat=yes
21874
kde_cv_proto_strlcat=yes
21876
echo "$as_me: failed program was:" >&5
21877
sed 's/^/| /' conftest.$ac_ext >&5
21879
kde_cv_proto_strlcat="strlcat unavailable"
21882
rm -f conftest.err conftest.$ac_objext \
21883
conftest$ac_exeext conftest.$ac_ext
21884
LIBS=$kde_safe_libs
21886
ac_cpp='$CPP $CPPFLAGS'
21887
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21888
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21889
ac_compiler_gnu=$ac_cv_c_compiler_gnu
21895
echo "$as_me:$LINENO: result: $kde_cv_proto_strlcat" >&5
21896
echo "${ECHO_T}$kde_cv_proto_strlcat" >&6
21898
if test "x$kde_cv_func_strlcat" = xyes; then
21900
cat >>confdefs.h <<\_ACEOF
21901
#define HAVE_STRLCAT 1
21906
if test "x$kde_cv_proto_strlcat" = xno; then
21908
cat >>confdefs.h <<\_ACEOF
21909
#define HAVE_STRLCAT_PROTO 1
21920
echo "$as_me:$LINENO: checking for strlcpy" >&5
21921
echo $ECHO_N "checking for strlcpy... $ECHO_C" >&6
21922
if test "${kde_cv_func_strlcpy+set}" = set; then
21923
echo $ECHO_N "(cached) $ECHO_C" >&6
21929
ac_cpp='$CXXCPP $CPPFLAGS'
21930
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21931
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21932
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21934
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21937
save_CXXFLAGS="$CXXFLAGS"
21938
kde_safe_LIBS="$LIBS"
21939
LIBS="$LIBS $X_EXTRA_LIBS"
21940
if test "$GXX" = "yes"; then
21941
CXXFLAGS="$CXXFLAGS -pedantic-errors"
21943
cat >conftest.$ac_ext <<_ACEOF
21946
cat confdefs.h >>conftest.$ac_ext
21947
cat >>conftest.$ac_ext <<_ACEOF
21948
/* end confdefs.h. */
21951
#include <string.h>
21959
strlcpy(buf, "KDE function test", sizeof(buf));
21966
rm -f conftest.$ac_objext
21967
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21968
(eval $ac_compile) 2>conftest.er1
21970
grep -v '^ *+' conftest.er1 >conftest.err
21972
cat conftest.err >&5
21973
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21974
(exit $ac_status); } &&
21975
{ ac_try='test -z "$ac_cxx_werror_flag"
21976
|| test ! -s conftest.err'
21977
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21978
(eval $ac_try) 2>&5
21980
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21981
(exit $ac_status); }; } &&
21982
{ ac_try='test -s conftest.$ac_objext'
21983
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21984
(eval $ac_try) 2>&5
21986
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21987
(exit $ac_status); }; }; then
21988
kde_cv_func_strlcpy=yes
21990
echo "$as_me: failed program was:" >&5
21991
sed 's/^/| /' conftest.$ac_ext >&5
21993
kde_cv_func_strlcpy=no
21995
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21996
CXXFLAGS="$save_CXXFLAGS"
21997
LIBS="$kde_safe_LIBS"
21999
ac_cpp='$CPP $CPPFLAGS'
22000
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22001
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22002
ac_compiler_gnu=$ac_cv_c_compiler_gnu
22008
echo "$as_me:$LINENO: result: $kde_cv_func_strlcpy" >&5
22009
echo "${ECHO_T}$kde_cv_func_strlcpy" >&6
22011
echo "$as_me:$LINENO: checking if strlcpy needs custom prototype" >&5
22012
echo $ECHO_N "checking if strlcpy needs custom prototype... $ECHO_C" >&6
22013
if test "${kde_cv_proto_strlcpy+set}" = set; then
22014
echo $ECHO_N "(cached) $ECHO_C" >&6
22017
if test "x$kde_cv_func_strlcpy" = xyes; then
22018
kde_cv_proto_strlcpy=no
22021
setenv|unsetenv|usleep|random|srandom|seteuid|mkstemps|mkstemp|revoke|vsnprintf|strlcpy|strlcat)
22022
kde_cv_proto_strlcpy="yes - in libkdefakes"
22025
kde_cv_proto_strlcpy=unknown
22030
if test "x$kde_cv_proto_strlcpy" = xunknown; then
22035
ac_cpp='$CXXCPP $CPPFLAGS'
22036
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22037
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22038
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22040
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22043
kde_safe_libs=$LIBS
22044
LIBS="$LIBS $X_EXTRA_LIBS"
22045
cat >conftest.$ac_ext <<_ACEOF
22048
cat confdefs.h >>conftest.$ac_ext
22049
cat >>conftest.$ac_ext <<_ACEOF
22050
/* end confdefs.h. */
22053
#include <string.h>
22056
extern "C" unsigned long strlcpy(char*, const char*, unsigned long);
22063
strlcpy(buf, "KDE function test", sizeof(buf));
22070
rm -f conftest.$ac_objext conftest$ac_exeext
22071
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22072
(eval $ac_link) 2>conftest.er1
22074
grep -v '^ *+' conftest.er1 >conftest.err
22076
cat conftest.err >&5
22077
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22078
(exit $ac_status); } &&
22079
{ ac_try='test -z "$ac_cxx_werror_flag"
22080
|| test ! -s conftest.err'
22081
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22082
(eval $ac_try) 2>&5
22084
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22085
(exit $ac_status); }; } &&
22086
{ ac_try='test -s conftest$ac_exeext'
22087
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22088
(eval $ac_try) 2>&5
22090
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22091
(exit $ac_status); }; }; then
22092
kde_cv_func_strlcpy=yes
22093
kde_cv_proto_strlcpy=yes
22095
echo "$as_me: failed program was:" >&5
22096
sed 's/^/| /' conftest.$ac_ext >&5
22098
kde_cv_proto_strlcpy="strlcpy unavailable"
22101
rm -f conftest.err conftest.$ac_objext \
22102
conftest$ac_exeext conftest.$ac_ext
22103
LIBS=$kde_safe_libs
22105
ac_cpp='$CPP $CPPFLAGS'
22106
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22107
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22108
ac_compiler_gnu=$ac_cv_c_compiler_gnu
22114
echo "$as_me:$LINENO: result: $kde_cv_proto_strlcpy" >&5
22115
echo "${ECHO_T}$kde_cv_proto_strlcpy" >&6
22117
if test "x$kde_cv_func_strlcpy" = xyes; then
22119
cat >>confdefs.h <<\_ACEOF
22120
#define HAVE_STRLCPY 1
22125
if test "x$kde_cv_proto_strlcpy" = xno; then
22127
cat >>confdefs.h <<\_ACEOF
22128
#define HAVE_STRLCPY_PROTO 1
22138
echo "$as_me:$LINENO: checking for main in -lutil" >&5
22139
echo $ECHO_N "checking for main in -lutil... $ECHO_C" >&6
22140
if test "${ac_cv_lib_util_main+set}" = set; then
22141
echo $ECHO_N "(cached) $ECHO_C" >&6
22143
ac_check_lib_save_LIBS=$LIBS
22144
LIBS="-lutil $LIBS"
22145
cat >conftest.$ac_ext <<_ACEOF
22148
cat confdefs.h >>conftest.$ac_ext
22149
cat >>conftest.$ac_ext <<_ACEOF
22150
/* end confdefs.h. */
22161
rm -f conftest.$ac_objext conftest$ac_exeext
22162
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22163
(eval $ac_link) 2>conftest.er1
22165
grep -v '^ *+' conftest.er1 >conftest.err
22167
cat conftest.err >&5
22168
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22169
(exit $ac_status); } &&
22170
{ ac_try='test -z "$ac_c_werror_flag"
22171
|| test ! -s conftest.err'
22172
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22173
(eval $ac_try) 2>&5
22175
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22176
(exit $ac_status); }; } &&
22177
{ ac_try='test -s conftest$ac_exeext'
22178
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22179
(eval $ac_try) 2>&5
22181
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22182
(exit $ac_status); }; }; then
22183
ac_cv_lib_util_main=yes
22185
echo "$as_me: failed program was:" >&5
22186
sed 's/^/| /' conftest.$ac_ext >&5
22188
ac_cv_lib_util_main=no
22190
rm -f conftest.err conftest.$ac_objext \
22191
conftest$ac_exeext conftest.$ac_ext
22192
LIBS=$ac_check_lib_save_LIBS
22194
echo "$as_me:$LINENO: result: $ac_cv_lib_util_main" >&5
22195
echo "${ECHO_T}$ac_cv_lib_util_main" >&6
22196
if test $ac_cv_lib_util_main = yes; then
22200
echo "$as_me:$LINENO: checking for main in -lcompat" >&5
22201
echo $ECHO_N "checking for main in -lcompat... $ECHO_C" >&6
22202
if test "${ac_cv_lib_compat_main+set}" = set; then
22203
echo $ECHO_N "(cached) $ECHO_C" >&6
22205
ac_check_lib_save_LIBS=$LIBS
22206
LIBS="-lcompat $LIBS"
22207
cat >conftest.$ac_ext <<_ACEOF
22210
cat confdefs.h >>conftest.$ac_ext
22211
cat >>conftest.$ac_ext <<_ACEOF
22212
/* end confdefs.h. */
22223
rm -f conftest.$ac_objext conftest$ac_exeext
22224
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22225
(eval $ac_link) 2>conftest.er1
22227
grep -v '^ *+' conftest.er1 >conftest.err
22229
cat conftest.err >&5
22230
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22231
(exit $ac_status); } &&
22232
{ ac_try='test -z "$ac_c_werror_flag"
22233
|| test ! -s conftest.err'
22234
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22235
(eval $ac_try) 2>&5
22237
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22238
(exit $ac_status); }; } &&
22239
{ ac_try='test -s conftest$ac_exeext'
22240
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22241
(eval $ac_try) 2>&5
22243
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22244
(exit $ac_status); }; }; then
22245
ac_cv_lib_compat_main=yes
22247
echo "$as_me: failed program was:" >&5
22248
sed 's/^/| /' conftest.$ac_ext >&5
22250
ac_cv_lib_compat_main=no
22252
rm -f conftest.err conftest.$ac_objext \
22253
conftest$ac_exeext conftest.$ac_ext
22254
LIBS=$ac_check_lib_save_LIBS
22256
echo "$as_me:$LINENO: result: $ac_cv_lib_compat_main" >&5
22257
echo "${ECHO_T}$ac_cv_lib_compat_main" >&6
22258
if test $ac_cv_lib_compat_main = yes; then
22259
LIBCOMPAT="-lcompat"
22263
echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5
22264
echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6
22265
if test "${ac_cv_lib_crypt_crypt+set}" = set; then
22266
echo $ECHO_N "(cached) $ECHO_C" >&6
22268
ac_check_lib_save_LIBS=$LIBS
22269
LIBS="-lcrypt $LIBS"
22270
cat >conftest.$ac_ext <<_ACEOF
22273
cat confdefs.h >>conftest.$ac_ext
22274
cat >>conftest.$ac_ext <<_ACEOF
22275
/* end confdefs.h. */
22277
/* Override any gcc2 internal prototype to avoid an error. */
22281
/* We use char because int might match the return type of a gcc2
22282
builtin and then its argument prototype would still apply. */
22292
rm -f conftest.$ac_objext conftest$ac_exeext
22293
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22294
(eval $ac_link) 2>conftest.er1
22296
grep -v '^ *+' conftest.er1 >conftest.err
22298
cat conftest.err >&5
22299
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22300
(exit $ac_status); } &&
22301
{ ac_try='test -z "$ac_c_werror_flag"
22302
|| test ! -s conftest.err'
22303
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22304
(eval $ac_try) 2>&5
22306
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22307
(exit $ac_status); }; } &&
22308
{ ac_try='test -s conftest$ac_exeext'
22309
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22310
(eval $ac_try) 2>&5
22312
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22313
(exit $ac_status); }; }; then
22314
ac_cv_lib_crypt_crypt=yes
22316
echo "$as_me: failed program was:" >&5
22317
sed 's/^/| /' conftest.$ac_ext >&5
22319
ac_cv_lib_crypt_crypt=no
22321
rm -f conftest.err conftest.$ac_objext \
22322
conftest$ac_exeext conftest.$ac_ext
22323
LIBS=$ac_check_lib_save_LIBS
22325
echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5
22326
echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6
22327
if test $ac_cv_lib_crypt_crypt = yes; then
22328
LIBCRYPT="-lcrypt"; kde_have_crypt=yes
22330
echo "$as_me:$LINENO: checking for crypt in -lc" >&5
22331
echo $ECHO_N "checking for crypt in -lc... $ECHO_C" >&6
22332
if test "${ac_cv_lib_c_crypt+set}" = set; then
22333
echo $ECHO_N "(cached) $ECHO_C" >&6
22335
ac_check_lib_save_LIBS=$LIBS
22337
cat >conftest.$ac_ext <<_ACEOF
22340
cat confdefs.h >>conftest.$ac_ext
22341
cat >>conftest.$ac_ext <<_ACEOF
22342
/* end confdefs.h. */
22344
/* Override any gcc2 internal prototype to avoid an error. */
22348
/* We use char because int might match the return type of a gcc2
22349
builtin and then its argument prototype would still apply. */
22359
rm -f conftest.$ac_objext conftest$ac_exeext
22360
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22361
(eval $ac_link) 2>conftest.er1
22363
grep -v '^ *+' conftest.er1 >conftest.err
22365
cat conftest.err >&5
22366
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22367
(exit $ac_status); } &&
22368
{ ac_try='test -z "$ac_c_werror_flag"
22369
|| test ! -s conftest.err'
22370
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22371
(eval $ac_try) 2>&5
22373
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22374
(exit $ac_status); }; } &&
22375
{ ac_try='test -s conftest$ac_exeext'
22376
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22377
(eval $ac_try) 2>&5
22379
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22380
(exit $ac_status); }; }; then
22381
ac_cv_lib_c_crypt=yes
22383
echo "$as_me: failed program was:" >&5
22384
sed 's/^/| /' conftest.$ac_ext >&5
22386
ac_cv_lib_c_crypt=no
22388
rm -f conftest.err conftest.$ac_objext \
22389
conftest$ac_exeext conftest.$ac_ext
22390
LIBS=$ac_check_lib_save_LIBS
22392
echo "$as_me:$LINENO: result: $ac_cv_lib_c_crypt" >&5
22393
echo "${ECHO_T}$ac_cv_lib_c_crypt" >&6
22394
if test $ac_cv_lib_c_crypt = yes; then
22398
{ echo "$as_me:$LINENO: WARNING: you have no crypt in either libcrypt or libc.
22399
You should install libcrypt from another source or configure with PAM
22401
echo "$as_me: WARNING: you have no crypt in either libcrypt or libc.
22402
You should install libcrypt from another source or configure with PAM
22411
if test $kde_have_crypt = yes; then
22413
cat >>confdefs.h <<_ACEOF
22414
#define HAVE_CRYPT 1
22419
echo "$as_me:$LINENO: checking for socklen_t" >&5
22420
echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
22421
if test "${kde_cv_socklen_t+set}" = set; then
22422
echo $ECHO_N "(cached) $ECHO_C" >&6
22426
ac_cpp='$CXXCPP $CPPFLAGS'
22427
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22428
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22429
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22431
kde_cv_socklen_t=no
22432
cat >conftest.$ac_ext <<_ACEOF
22435
cat confdefs.h >>conftest.$ac_ext
22436
cat >>conftest.$ac_ext <<_ACEOF
22437
/* end confdefs.h. */
22439
#include <sys/types.h>
22440
#include <sys/socket.h>
22447
getpeername(0,0,&len);
22453
rm -f conftest.$ac_objext
22454
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22455
(eval $ac_compile) 2>conftest.er1
22457
grep -v '^ *+' conftest.er1 >conftest.err
22459
cat conftest.err >&5
22460
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22461
(exit $ac_status); } &&
22462
{ ac_try='test -z "$ac_cxx_werror_flag"
22463
|| test ! -s conftest.err'
22464
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22465
(eval $ac_try) 2>&5
22467
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22468
(exit $ac_status); }; } &&
22469
{ ac_try='test -s conftest.$ac_objext'
22470
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22471
(eval $ac_try) 2>&5
22473
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22474
(exit $ac_status); }; }; then
22476
kde_cv_socklen_t=yes
22477
kde_cv_socklen_t_equiv=socklen_t
22480
echo "$as_me: failed program was:" >&5
22481
sed 's/^/| /' conftest.$ac_ext >&5
22484
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22486
ac_cpp='$CPP $CPPFLAGS'
22487
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22488
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22489
ac_compiler_gnu=$ac_cv_c_compiler_gnu
22494
echo "$as_me:$LINENO: result: $kde_cv_socklen_t" >&5
22495
echo "${ECHO_T}$kde_cv_socklen_t" >&6
22496
if test $kde_cv_socklen_t = no; then
22497
echo "$as_me:$LINENO: checking for socklen_t equivalent for socket functions" >&5
22498
echo $ECHO_N "checking for socklen_t equivalent for socket functions... $ECHO_C" >&6
22499
if test "${kde_cv_socklen_t_equiv+set}" = set; then
22500
echo $ECHO_N "(cached) $ECHO_C" >&6
22503
kde_cv_socklen_t_equiv=int
22505
ac_cpp='$CXXCPP $CPPFLAGS'
22506
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22507
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22508
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22510
for t in int size_t unsigned long "unsigned long"; do
22511
cat >conftest.$ac_ext <<_ACEOF
22514
cat confdefs.h >>conftest.$ac_ext
22515
cat >>conftest.$ac_ext <<_ACEOF
22516
/* end confdefs.h. */
22518
#include <sys/types.h>
22519
#include <sys/socket.h>
22526
getpeername(0,0,&len);
22532
rm -f conftest.$ac_objext
22533
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22534
(eval $ac_compile) 2>conftest.er1
22536
grep -v '^ *+' conftest.er1 >conftest.err
22538
cat conftest.err >&5
22539
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22540
(exit $ac_status); } &&
22541
{ ac_try='test -z "$ac_cxx_werror_flag"
22542
|| test ! -s conftest.err'
22543
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22544
(eval $ac_try) 2>&5
22546
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22547
(exit $ac_status); }; } &&
22548
{ ac_try='test -s conftest.$ac_objext'
22549
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22550
(eval $ac_try) 2>&5
22552
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22553
(exit $ac_status); }; }; then
22555
kde_cv_socklen_t_equiv="$t"
22559
echo "$as_me: failed program was:" >&5
22560
sed 's/^/| /' conftest.$ac_ext >&5
22563
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22566
ac_cpp='$CPP $CPPFLAGS'
22567
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22568
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22569
ac_compiler_gnu=$ac_cv_c_compiler_gnu
22574
echo "$as_me:$LINENO: result: $kde_cv_socklen_t_equiv" >&5
22575
echo "${ECHO_T}$kde_cv_socklen_t_equiv" >&6
22578
cat >>confdefs.h <<_ACEOF
22579
#define kde_socklen_t $kde_cv_socklen_t_equiv
22583
cat >>confdefs.h <<_ACEOF
22584
#define ksize_t $kde_cv_socklen_t_equiv
22588
echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
22589
echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
22590
if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
22591
echo $ECHO_N "(cached) $ECHO_C" >&6
22593
ac_check_lib_save_LIBS=$LIBS
22594
LIBS="-ldnet $LIBS"
22595
cat >conftest.$ac_ext <<_ACEOF
22598
cat confdefs.h >>conftest.$ac_ext
22599
cat >>conftest.$ac_ext <<_ACEOF
22600
/* end confdefs.h. */
22602
/* Override any gcc2 internal prototype to avoid an error. */
22606
/* We use char because int might match the return type of a gcc2
22607
builtin and then its argument prototype would still apply. */
22617
rm -f conftest.$ac_objext conftest$ac_exeext
22618
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22619
(eval $ac_link) 2>conftest.er1
22621
grep -v '^ *+' conftest.er1 >conftest.err
22623
cat conftest.err >&5
22624
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22625
(exit $ac_status); } &&
22626
{ ac_try='test -z "$ac_c_werror_flag"
22627
|| test ! -s conftest.err'
22628
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22629
(eval $ac_try) 2>&5
22631
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22632
(exit $ac_status); }; } &&
22633
{ ac_try='test -s conftest$ac_exeext'
22634
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22635
(eval $ac_try) 2>&5
22637
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22638
(exit $ac_status); }; }; then
22639
ac_cv_lib_dnet_dnet_ntoa=yes
22641
echo "$as_me: failed program was:" >&5
22642
sed 's/^/| /' conftest.$ac_ext >&5
22644
ac_cv_lib_dnet_dnet_ntoa=no
22646
rm -f conftest.err conftest.$ac_objext \
22647
conftest$ac_exeext conftest.$ac_ext
22648
LIBS=$ac_check_lib_save_LIBS
22650
echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
22651
echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
22652
if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
22653
X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
22656
if test $ac_cv_lib_dnet_dnet_ntoa = no; then
22657
echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
22658
echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
22659
if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
22660
echo $ECHO_N "(cached) $ECHO_C" >&6
22662
ac_check_lib_save_LIBS=$LIBS
22663
LIBS="-ldnet_stub $LIBS"
22664
cat >conftest.$ac_ext <<_ACEOF
22667
cat confdefs.h >>conftest.$ac_ext
22668
cat >>conftest.$ac_ext <<_ACEOF
22669
/* end confdefs.h. */
22671
/* Override any gcc2 internal prototype to avoid an error. */
22675
/* We use char because int might match the return type of a gcc2
22676
builtin and then its argument prototype would still apply. */
22686
rm -f conftest.$ac_objext conftest$ac_exeext
22687
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22688
(eval $ac_link) 2>conftest.er1
22690
grep -v '^ *+' conftest.er1 >conftest.err
22692
cat conftest.err >&5
22693
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22694
(exit $ac_status); } &&
22695
{ ac_try='test -z "$ac_c_werror_flag"
22696
|| test ! -s conftest.err'
22697
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22698
(eval $ac_try) 2>&5
22700
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22701
(exit $ac_status); }; } &&
22702
{ ac_try='test -s conftest$ac_exeext'
22703
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22704
(eval $ac_try) 2>&5
22706
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22707
(exit $ac_status); }; }; then
22708
ac_cv_lib_dnet_stub_dnet_ntoa=yes
22710
echo "$as_me: failed program was:" >&5
22711
sed 's/^/| /' conftest.$ac_ext >&5
22713
ac_cv_lib_dnet_stub_dnet_ntoa=no
22715
rm -f conftest.err conftest.$ac_objext \
22716
conftest$ac_exeext conftest.$ac_ext
22717
LIBS=$ac_check_lib_save_LIBS
22719
echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
22720
echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
22721
if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
22722
X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
22726
echo "$as_me:$LINENO: checking for inet_ntoa" >&5
22727
echo $ECHO_N "checking for inet_ntoa... $ECHO_C" >&6
22728
if test "${ac_cv_func_inet_ntoa+set}" = set; then
22729
echo $ECHO_N "(cached) $ECHO_C" >&6
22731
cat >conftest.$ac_ext <<_ACEOF
22734
cat confdefs.h >>conftest.$ac_ext
22735
cat >>conftest.$ac_ext <<_ACEOF
22736
/* end confdefs.h. */
22737
/* Define inet_ntoa to an innocuous variant, in case <limits.h> declares inet_ntoa.
22738
For example, HP-UX 11i <limits.h> declares gettimeofday. */
22739
#define inet_ntoa innocuous_inet_ntoa
22741
/* System header to define __stub macros and hopefully few prototypes,
22742
which can conflict with char inet_ntoa (); below.
22743
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22744
<limits.h> exists even on freestanding compilers. */
22747
# include <limits.h>
22749
# include <assert.h>
22754
/* Override any gcc2 internal prototype to avoid an error. */
22759
/* We use char because int might match the return type of a gcc2
22760
builtin and then its argument prototype would still apply. */
22762
/* The GNU C library defines this for functions which it implements
22763
to always fail with ENOSYS. Some functions are actually named
22764
something starting with __ and the normal name is an alias. */
22765
#if defined (__stub_inet_ntoa) || defined (__stub___inet_ntoa)
22768
char (*f) () = inet_ntoa;
22777
return f != inet_ntoa;
22782
rm -f conftest.$ac_objext conftest$ac_exeext
22783
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22784
(eval $ac_link) 2>conftest.er1
22786
grep -v '^ *+' conftest.er1 >conftest.err
22788
cat conftest.err >&5
22789
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22790
(exit $ac_status); } &&
22791
{ ac_try='test -z "$ac_c_werror_flag"
22792
|| test ! -s conftest.err'
22793
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22794
(eval $ac_try) 2>&5
22796
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22797
(exit $ac_status); }; } &&
22798
{ ac_try='test -s conftest$ac_exeext'
22799
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22800
(eval $ac_try) 2>&5
22802
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22803
(exit $ac_status); }; }; then
22804
ac_cv_func_inet_ntoa=yes
22806
echo "$as_me: failed program was:" >&5
22807
sed 's/^/| /' conftest.$ac_ext >&5
22809
ac_cv_func_inet_ntoa=no
22811
rm -f conftest.err conftest.$ac_objext \
22812
conftest$ac_exeext conftest.$ac_ext
22814
echo "$as_me:$LINENO: result: $ac_cv_func_inet_ntoa" >&5
22815
echo "${ECHO_T}$ac_cv_func_inet_ntoa" >&6
22817
if test $ac_cv_func_inet_ntoa = no; then
22818
echo "$as_me:$LINENO: checking for inet_ntoa in -lnsl" >&5
22819
echo $ECHO_N "checking for inet_ntoa in -lnsl... $ECHO_C" >&6
22820
if test "${ac_cv_lib_nsl_inet_ntoa+set}" = set; then
22821
echo $ECHO_N "(cached) $ECHO_C" >&6
22823
ac_check_lib_save_LIBS=$LIBS
22825
cat >conftest.$ac_ext <<_ACEOF
22828
cat confdefs.h >>conftest.$ac_ext
22829
cat >>conftest.$ac_ext <<_ACEOF
22830
/* end confdefs.h. */
22832
/* Override any gcc2 internal prototype to avoid an error. */
22836
/* We use char because int might match the return type of a gcc2
22837
builtin and then its argument prototype would still apply. */
22847
rm -f conftest.$ac_objext conftest$ac_exeext
22848
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22849
(eval $ac_link) 2>conftest.er1
22851
grep -v '^ *+' conftest.er1 >conftest.err
22853
cat conftest.err >&5
22854
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22855
(exit $ac_status); } &&
22856
{ ac_try='test -z "$ac_c_werror_flag"
22857
|| test ! -s conftest.err'
22858
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22859
(eval $ac_try) 2>&5
22861
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22862
(exit $ac_status); }; } &&
22863
{ ac_try='test -s conftest$ac_exeext'
22864
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22865
(eval $ac_try) 2>&5
22867
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22868
(exit $ac_status); }; }; then
22869
ac_cv_lib_nsl_inet_ntoa=yes
22871
echo "$as_me: failed program was:" >&5
22872
sed 's/^/| /' conftest.$ac_ext >&5
22874
ac_cv_lib_nsl_inet_ntoa=no
22876
rm -f conftest.err conftest.$ac_objext \
22877
conftest$ac_exeext conftest.$ac_ext
22878
LIBS=$ac_check_lib_save_LIBS
22880
echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_ntoa" >&5
22881
echo "${ECHO_T}$ac_cv_lib_nsl_inet_ntoa" >&6
22882
if test $ac_cv_lib_nsl_inet_ntoa = yes; then
22883
X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
22887
echo "$as_me:$LINENO: checking for connect" >&5
22888
echo $ECHO_N "checking for connect... $ECHO_C" >&6
22889
if test "${ac_cv_func_connect+set}" = set; then
22890
echo $ECHO_N "(cached) $ECHO_C" >&6
22892
cat >conftest.$ac_ext <<_ACEOF
22895
cat confdefs.h >>conftest.$ac_ext
22896
cat >>conftest.$ac_ext <<_ACEOF
22897
/* end confdefs.h. */
22898
/* Define connect to an innocuous variant, in case <limits.h> declares connect.
22899
For example, HP-UX 11i <limits.h> declares gettimeofday. */
22900
#define connect innocuous_connect
22902
/* System header to define __stub macros and hopefully few prototypes,
22903
which can conflict with char connect (); below.
22904
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22905
<limits.h> exists even on freestanding compilers. */
22908
# include <limits.h>
22910
# include <assert.h>
22915
/* Override any gcc2 internal prototype to avoid an error. */
22920
/* We use char because int might match the return type of a gcc2
22921
builtin and then its argument prototype would still apply. */
22923
/* The GNU C library defines this for functions which it implements
22924
to always fail with ENOSYS. Some functions are actually named
22925
something starting with __ and the normal name is an alias. */
22926
#if defined (__stub_connect) || defined (__stub___connect)
22929
char (*f) () = connect;
22938
return f != connect;
22943
rm -f conftest.$ac_objext conftest$ac_exeext
22944
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22945
(eval $ac_link) 2>conftest.er1
22947
grep -v '^ *+' conftest.er1 >conftest.err
22949
cat conftest.err >&5
22950
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22951
(exit $ac_status); } &&
22952
{ ac_try='test -z "$ac_c_werror_flag"
22953
|| test ! -s conftest.err'
22954
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22955
(eval $ac_try) 2>&5
22957
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22958
(exit $ac_status); }; } &&
22959
{ ac_try='test -s conftest$ac_exeext'
22960
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22961
(eval $ac_try) 2>&5
22963
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22964
(exit $ac_status); }; }; then
22965
ac_cv_func_connect=yes
22967
echo "$as_me: failed program was:" >&5
22968
sed 's/^/| /' conftest.$ac_ext >&5
22970
ac_cv_func_connect=no
22972
rm -f conftest.err conftest.$ac_objext \
22973
conftest$ac_exeext conftest.$ac_ext
22975
echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
22976
echo "${ECHO_T}$ac_cv_func_connect" >&6
22978
if test $ac_cv_func_connect = no; then
22979
echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
22980
echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
22981
if test "${ac_cv_lib_socket_connect+set}" = set; then
22982
echo $ECHO_N "(cached) $ECHO_C" >&6
22984
ac_check_lib_save_LIBS=$LIBS
22985
LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
22986
cat >conftest.$ac_ext <<_ACEOF
22989
cat confdefs.h >>conftest.$ac_ext
22990
cat >>conftest.$ac_ext <<_ACEOF
22991
/* end confdefs.h. */
22993
/* Override any gcc2 internal prototype to avoid an error. */
22997
/* We use char because int might match the return type of a gcc2
22998
builtin and then its argument prototype would still apply. */
23008
rm -f conftest.$ac_objext conftest$ac_exeext
23009
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23010
(eval $ac_link) 2>conftest.er1
23012
grep -v '^ *+' conftest.er1 >conftest.err
23014
cat conftest.err >&5
23015
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23016
(exit $ac_status); } &&
23017
{ ac_try='test -z "$ac_c_werror_flag"
23018
|| test ! -s conftest.err'
23019
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23020
(eval $ac_try) 2>&5
23022
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23023
(exit $ac_status); }; } &&
23024
{ ac_try='test -s conftest$ac_exeext'
23025
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23026
(eval $ac_try) 2>&5
23028
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23029
(exit $ac_status); }; }; then
23030
ac_cv_lib_socket_connect=yes
23032
echo "$as_me: failed program was:" >&5
23033
sed 's/^/| /' conftest.$ac_ext >&5
23035
ac_cv_lib_socket_connect=no
23037
rm -f conftest.err conftest.$ac_objext \
23038
conftest$ac_exeext conftest.$ac_ext
23039
LIBS=$ac_check_lib_save_LIBS
23041
echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
23042
echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
23043
if test $ac_cv_lib_socket_connect = yes; then
23044
X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
23049
echo "$as_me:$LINENO: checking for remove" >&5
23050
echo $ECHO_N "checking for remove... $ECHO_C" >&6
23051
if test "${ac_cv_func_remove+set}" = set; then
23052
echo $ECHO_N "(cached) $ECHO_C" >&6
23054
cat >conftest.$ac_ext <<_ACEOF
23057
cat confdefs.h >>conftest.$ac_ext
23058
cat >>conftest.$ac_ext <<_ACEOF
23059
/* end confdefs.h. */
23060
/* Define remove to an innocuous variant, in case <limits.h> declares remove.
23061
For example, HP-UX 11i <limits.h> declares gettimeofday. */
23062
#define remove innocuous_remove
23064
/* System header to define __stub macros and hopefully few prototypes,
23065
which can conflict with char remove (); below.
23066
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23067
<limits.h> exists even on freestanding compilers. */
23070
# include <limits.h>
23072
# include <assert.h>
23077
/* Override any gcc2 internal prototype to avoid an error. */
23082
/* We use char because int might match the return type of a gcc2
23083
builtin and then its argument prototype would still apply. */
23085
/* The GNU C library defines this for functions which it implements
23086
to always fail with ENOSYS. Some functions are actually named
23087
something starting with __ and the normal name is an alias. */
23088
#if defined (__stub_remove) || defined (__stub___remove)
23091
char (*f) () = remove;
23100
return f != remove;
23105
rm -f conftest.$ac_objext conftest$ac_exeext
23106
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23107
(eval $ac_link) 2>conftest.er1
23109
grep -v '^ *+' conftest.er1 >conftest.err
23111
cat conftest.err >&5
23112
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23113
(exit $ac_status); } &&
23114
{ ac_try='test -z "$ac_c_werror_flag"
23115
|| test ! -s conftest.err'
23116
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23117
(eval $ac_try) 2>&5
23119
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23120
(exit $ac_status); }; } &&
23121
{ ac_try='test -s conftest$ac_exeext'
23122
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23123
(eval $ac_try) 2>&5
23125
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23126
(exit $ac_status); }; }; then
23127
ac_cv_func_remove=yes
23129
echo "$as_me: failed program was:" >&5
23130
sed 's/^/| /' conftest.$ac_ext >&5
23132
ac_cv_func_remove=no
23134
rm -f conftest.err conftest.$ac_objext \
23135
conftest$ac_exeext conftest.$ac_ext
23137
echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
23138
echo "${ECHO_T}$ac_cv_func_remove" >&6
23140
if test $ac_cv_func_remove = no; then
23141
echo "$as_me:$LINENO: checking for remove in -lposix" >&5
23142
echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
23143
if test "${ac_cv_lib_posix_remove+set}" = set; then
23144
echo $ECHO_N "(cached) $ECHO_C" >&6
23146
ac_check_lib_save_LIBS=$LIBS
23147
LIBS="-lposix $LIBS"
23148
cat >conftest.$ac_ext <<_ACEOF
23151
cat confdefs.h >>conftest.$ac_ext
23152
cat >>conftest.$ac_ext <<_ACEOF
23153
/* end confdefs.h. */
23155
/* Override any gcc2 internal prototype to avoid an error. */
23159
/* We use char because int might match the return type of a gcc2
23160
builtin and then its argument prototype would still apply. */
23170
rm -f conftest.$ac_objext conftest$ac_exeext
23171
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23172
(eval $ac_link) 2>conftest.er1
23174
grep -v '^ *+' conftest.er1 >conftest.err
23176
cat conftest.err >&5
23177
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23178
(exit $ac_status); } &&
23179
{ ac_try='test -z "$ac_c_werror_flag"
23180
|| test ! -s conftest.err'
23181
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23182
(eval $ac_try) 2>&5
23184
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23185
(exit $ac_status); }; } &&
23186
{ ac_try='test -s conftest$ac_exeext'
23187
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23188
(eval $ac_try) 2>&5
23190
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23191
(exit $ac_status); }; }; then
23192
ac_cv_lib_posix_remove=yes
23194
echo "$as_me: failed program was:" >&5
23195
sed 's/^/| /' conftest.$ac_ext >&5
23197
ac_cv_lib_posix_remove=no
23199
rm -f conftest.err conftest.$ac_objext \
23200
conftest$ac_exeext conftest.$ac_ext
23201
LIBS=$ac_check_lib_save_LIBS
23203
echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
23204
echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
23205
if test $ac_cv_lib_posix_remove = yes; then
23206
X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
23211
# BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
23212
echo "$as_me:$LINENO: checking for shmat" >&5
23213
echo $ECHO_N "checking for shmat... $ECHO_C" >&6
23214
if test "${ac_cv_func_shmat+set}" = set; then
23215
echo $ECHO_N "(cached) $ECHO_C" >&6
23217
cat >conftest.$ac_ext <<_ACEOF
23220
cat confdefs.h >>conftest.$ac_ext
23221
cat >>conftest.$ac_ext <<_ACEOF
23222
/* end confdefs.h. */
23223
/* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
23224
For example, HP-UX 11i <limits.h> declares gettimeofday. */
23225
#define shmat innocuous_shmat
23227
/* System header to define __stub macros and hopefully few prototypes,
23228
which can conflict with char shmat (); below.
23229
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23230
<limits.h> exists even on freestanding compilers. */
23233
# include <limits.h>
23235
# include <assert.h>
23240
/* Override any gcc2 internal prototype to avoid an error. */
23245
/* We use char because int might match the return type of a gcc2
23246
builtin and then its argument prototype would still apply. */
23248
/* The GNU C library defines this for functions which it implements
23249
to always fail with ENOSYS. Some functions are actually named
23250
something starting with __ and the normal name is an alias. */
23251
#if defined (__stub_shmat) || defined (__stub___shmat)
23254
char (*f) () = shmat;
23268
rm -f conftest.$ac_objext conftest$ac_exeext
23269
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23270
(eval $ac_link) 2>conftest.er1
23272
grep -v '^ *+' conftest.er1 >conftest.err
23274
cat conftest.err >&5
23275
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23276
(exit $ac_status); } &&
23277
{ ac_try='test -z "$ac_c_werror_flag"
23278
|| test ! -s conftest.err'
23279
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23280
(eval $ac_try) 2>&5
23282
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23283
(exit $ac_status); }; } &&
23284
{ ac_try='test -s conftest$ac_exeext'
23285
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23286
(eval $ac_try) 2>&5
23288
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23289
(exit $ac_status); }; }; then
23290
ac_cv_func_shmat=yes
23292
echo "$as_me: failed program was:" >&5
23293
sed 's/^/| /' conftest.$ac_ext >&5
23295
ac_cv_func_shmat=no
23297
rm -f conftest.err conftest.$ac_objext \
23298
conftest$ac_exeext conftest.$ac_ext
23300
echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
23301
echo "${ECHO_T}$ac_cv_func_shmat" >&6
23302
if test $ac_cv_func_shmat = yes; then
23305
echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
23306
echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
23307
if test "${ac_cv_lib_ipc_shmat+set}" = set; then
23308
echo $ECHO_N "(cached) $ECHO_C" >&6
23310
ac_check_lib_save_LIBS=$LIBS
23312
cat >conftest.$ac_ext <<_ACEOF
23315
cat confdefs.h >>conftest.$ac_ext
23316
cat >>conftest.$ac_ext <<_ACEOF
23317
/* end confdefs.h. */
23319
/* Override any gcc2 internal prototype to avoid an error. */
23323
/* We use char because int might match the return type of a gcc2
23324
builtin and then its argument prototype would still apply. */
23334
rm -f conftest.$ac_objext conftest$ac_exeext
23335
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23336
(eval $ac_link) 2>conftest.er1
23338
grep -v '^ *+' conftest.er1 >conftest.err
23340
cat conftest.err >&5
23341
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23342
(exit $ac_status); } &&
23343
{ ac_try='test -z "$ac_c_werror_flag"
23344
|| test ! -s conftest.err'
23345
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23346
(eval $ac_try) 2>&5
23348
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23349
(exit $ac_status); }; } &&
23350
{ ac_try='test -s conftest$ac_exeext'
23351
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23352
(eval $ac_try) 2>&5
23354
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23355
(exit $ac_status); }; }; then
23356
ac_cv_lib_ipc_shmat=yes
23358
echo "$as_me: failed program was:" >&5
23359
sed 's/^/| /' conftest.$ac_ext >&5
23361
ac_cv_lib_ipc_shmat=no
23363
rm -f conftest.err conftest.$ac_objext \
23364
conftest$ac_exeext conftest.$ac_ext
23365
LIBS=$ac_check_lib_save_LIBS
23367
echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
23368
echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
23369
if test $ac_cv_lib_ipc_shmat = yes; then
23370
X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
23376
# more headers that need to be explicitly included on darwin
23379
for ac_header in sys/types.h stdint.h
23381
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23382
if eval "test \"\${$as_ac_Header+set}\" = set"; then
23383
echo "$as_me:$LINENO: checking for $ac_header" >&5
23384
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23385
if eval "test \"\${$as_ac_Header+set}\" = set"; then
23386
echo $ECHO_N "(cached) $ECHO_C" >&6
23388
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23389
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23391
# Is the header compilable?
23392
echo "$as_me:$LINENO: checking $ac_header usability" >&5
23393
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
23394
cat >conftest.$ac_ext <<_ACEOF
23397
cat confdefs.h >>conftest.$ac_ext
23398
cat >>conftest.$ac_ext <<_ACEOF
23399
/* end confdefs.h. */
23400
$ac_includes_default
23401
#include <$ac_header>
23403
rm -f conftest.$ac_objext
23404
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23405
(eval $ac_compile) 2>conftest.er1
23407
grep -v '^ *+' conftest.er1 >conftest.err
23409
cat conftest.err >&5
23410
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23411
(exit $ac_status); } &&
23412
{ ac_try='test -z "$ac_c_werror_flag"
23413
|| test ! -s conftest.err'
23414
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23415
(eval $ac_try) 2>&5
23417
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23418
(exit $ac_status); }; } &&
23419
{ ac_try='test -s conftest.$ac_objext'
23420
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23421
(eval $ac_try) 2>&5
23423
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23424
(exit $ac_status); }; }; then
23425
ac_header_compiler=yes
23427
echo "$as_me: failed program was:" >&5
23428
sed 's/^/| /' conftest.$ac_ext >&5
23430
ac_header_compiler=no
23432
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23433
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23434
echo "${ECHO_T}$ac_header_compiler" >&6
23436
# Is the header present?
23437
echo "$as_me:$LINENO: checking $ac_header presence" >&5
23438
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
23439
cat >conftest.$ac_ext <<_ACEOF
23442
cat confdefs.h >>conftest.$ac_ext
23443
cat >>conftest.$ac_ext <<_ACEOF
23444
/* end confdefs.h. */
23445
#include <$ac_header>
23447
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23448
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23450
grep -v '^ *+' conftest.er1 >conftest.err
23452
cat conftest.err >&5
23453
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23454
(exit $ac_status); } >/dev/null; then
23455
if test -s conftest.err; then
23456
ac_cpp_err=$ac_c_preproc_warn_flag
23457
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23464
if test -z "$ac_cpp_err"; then
23465
ac_header_preproc=yes
23467
echo "$as_me: failed program was:" >&5
23468
sed 's/^/| /' conftest.$ac_ext >&5
23470
ac_header_preproc=no
23472
rm -f conftest.err conftest.$ac_ext
23473
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23474
echo "${ECHO_T}$ac_header_preproc" >&6
23476
# So? What about this header?
23477
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23479
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23480
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23481
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23482
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23483
ac_header_preproc=yes
23486
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23487
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23488
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23489
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23490
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23491
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23492
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23493
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23494
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23495
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23496
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23497
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23500
## ------------------------------------------ ##
23501
## Report this to the AC_PACKAGE_NAME lists. ##
23502
## ------------------------------------------ ##
23505
sed "s/^/$as_me: WARNING: /" >&2
23508
echo "$as_me:$LINENO: checking for $ac_header" >&5
23509
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23510
if eval "test \"\${$as_ac_Header+set}\" = set"; then
23511
echo $ECHO_N "(cached) $ECHO_C" >&6
23513
eval "$as_ac_Header=\$ac_header_preproc"
23515
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23516
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23519
if test `eval echo '${'$as_ac_Header'}'` = yes; then
23520
cat >>confdefs.h <<_ACEOF
23521
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23529
# sys/bitypes.h is needed for uint32_t and friends on Tru64
23531
for ac_header in sys/bitypes.h
23533
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23534
if eval "test \"\${$as_ac_Header+set}\" = set"; then
23535
echo "$as_me:$LINENO: checking for $ac_header" >&5
23536
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23537
if eval "test \"\${$as_ac_Header+set}\" = set"; then
23538
echo $ECHO_N "(cached) $ECHO_C" >&6
23540
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23541
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23543
# Is the header compilable?
23544
echo "$as_me:$LINENO: checking $ac_header usability" >&5
23545
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
23546
cat >conftest.$ac_ext <<_ACEOF
23549
cat confdefs.h >>conftest.$ac_ext
23550
cat >>conftest.$ac_ext <<_ACEOF
23551
/* end confdefs.h. */
23552
$ac_includes_default
23553
#include <$ac_header>
23555
rm -f conftest.$ac_objext
23556
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23557
(eval $ac_compile) 2>conftest.er1
23559
grep -v '^ *+' conftest.er1 >conftest.err
23561
cat conftest.err >&5
23562
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23563
(exit $ac_status); } &&
23564
{ ac_try='test -z "$ac_c_werror_flag"
23565
|| test ! -s conftest.err'
23566
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23567
(eval $ac_try) 2>&5
23569
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23570
(exit $ac_status); }; } &&
23571
{ ac_try='test -s conftest.$ac_objext'
23572
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23573
(eval $ac_try) 2>&5
23575
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23576
(exit $ac_status); }; }; then
23577
ac_header_compiler=yes
23579
echo "$as_me: failed program was:" >&5
23580
sed 's/^/| /' conftest.$ac_ext >&5
23582
ac_header_compiler=no
23584
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23585
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23586
echo "${ECHO_T}$ac_header_compiler" >&6
23588
# Is the header present?
23589
echo "$as_me:$LINENO: checking $ac_header presence" >&5
23590
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
23591
cat >conftest.$ac_ext <<_ACEOF
23594
cat confdefs.h >>conftest.$ac_ext
23595
cat >>conftest.$ac_ext <<_ACEOF
23596
/* end confdefs.h. */
23597
#include <$ac_header>
23599
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23600
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23602
grep -v '^ *+' conftest.er1 >conftest.err
23604
cat conftest.err >&5
23605
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23606
(exit $ac_status); } >/dev/null; then
23607
if test -s conftest.err; then
23608
ac_cpp_err=$ac_c_preproc_warn_flag
23609
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23616
if test -z "$ac_cpp_err"; then
23617
ac_header_preproc=yes
23619
echo "$as_me: failed program was:" >&5
23620
sed 's/^/| /' conftest.$ac_ext >&5
23622
ac_header_preproc=no
23624
rm -f conftest.err conftest.$ac_ext
23625
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23626
echo "${ECHO_T}$ac_header_preproc" >&6
23628
# So? What about this header?
23629
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23631
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23632
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23633
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23634
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23635
ac_header_preproc=yes
23638
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23639
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23640
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23641
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23642
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23643
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23644
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23645
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23646
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23647
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23648
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23649
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23652
## ------------------------------------------ ##
23653
## Report this to the AC_PACKAGE_NAME lists. ##
23654
## ------------------------------------------ ##
23657
sed "s/^/$as_me: WARNING: /" >&2
23660
echo "$as_me:$LINENO: checking for $ac_header" >&5
23661
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23662
if eval "test \"\${$as_ac_Header+set}\" = set"; then
23663
echo $ECHO_N "(cached) $ECHO_C" >&6
23665
eval "$as_ac_Header=\$ac_header_preproc"
23667
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23668
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23671
if test `eval echo '${'$as_ac_Header'}'` = yes; then
23672
cat >>confdefs.h <<_ACEOF
23673
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23681
# darwin requires a poll emulation library
23682
echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
23683
echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6
23684
if test "${ac_cv_lib_poll_poll+set}" = set; then
23685
echo $ECHO_N "(cached) $ECHO_C" >&6
23687
ac_check_lib_save_LIBS=$LIBS
23688
LIBS="-lpoll $LIBS"
23689
cat >conftest.$ac_ext <<_ACEOF
23692
cat confdefs.h >>conftest.$ac_ext
23693
cat >>conftest.$ac_ext <<_ACEOF
23694
/* end confdefs.h. */
23696
/* Override any gcc2 internal prototype to avoid an error. */
23700
/* We use char because int might match the return type of a gcc2
23701
builtin and then its argument prototype would still apply. */
23711
rm -f conftest.$ac_objext conftest$ac_exeext
23712
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23713
(eval $ac_link) 2>conftest.er1
23715
grep -v '^ *+' conftest.er1 >conftest.err
23717
cat conftest.err >&5
23718
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23719
(exit $ac_status); } &&
23720
{ ac_try='test -z "$ac_c_werror_flag"
23721
|| test ! -s conftest.err'
23722
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23723
(eval $ac_try) 2>&5
23725
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23726
(exit $ac_status); }; } &&
23727
{ ac_try='test -s conftest$ac_exeext'
23728
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23729
(eval $ac_try) 2>&5
23731
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23732
(exit $ac_status); }; }; then
23733
ac_cv_lib_poll_poll=yes
23735
echo "$as_me: failed program was:" >&5
23736
sed 's/^/| /' conftest.$ac_ext >&5
23738
ac_cv_lib_poll_poll=no
23740
rm -f conftest.err conftest.$ac_objext \
23741
conftest$ac_exeext conftest.$ac_ext
23742
LIBS=$ac_check_lib_save_LIBS
23744
echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
23745
echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6
23746
if test $ac_cv_lib_poll_poll = yes; then
23751
# CoreAudio framework
23752
if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
23753
echo "$as_me:$LINENO: checking for CoreAudio/CoreAudio.h" >&5
23754
echo $ECHO_N "checking for CoreAudio/CoreAudio.h... $ECHO_C" >&6
23755
if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
23756
echo $ECHO_N "(cached) $ECHO_C" >&6
23758
echo "$as_me:$LINENO: result: $ac_cv_header_CoreAudio_CoreAudio_h" >&5
23759
echo "${ECHO_T}$ac_cv_header_CoreAudio_CoreAudio_h" >&6
23761
# Is the header compilable?
23762
echo "$as_me:$LINENO: checking CoreAudio/CoreAudio.h usability" >&5
23763
echo $ECHO_N "checking CoreAudio/CoreAudio.h usability... $ECHO_C" >&6
23764
cat >conftest.$ac_ext <<_ACEOF
23767
cat confdefs.h >>conftest.$ac_ext
23768
cat >>conftest.$ac_ext <<_ACEOF
23769
/* end confdefs.h. */
23770
$ac_includes_default
23771
#include <CoreAudio/CoreAudio.h>
23773
rm -f conftest.$ac_objext
23774
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23775
(eval $ac_compile) 2>conftest.er1
23777
grep -v '^ *+' conftest.er1 >conftest.err
23779
cat conftest.err >&5
23780
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23781
(exit $ac_status); } &&
23782
{ ac_try='test -z "$ac_c_werror_flag"
23783
|| test ! -s conftest.err'
23784
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23785
(eval $ac_try) 2>&5
23787
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23788
(exit $ac_status); }; } &&
23789
{ ac_try='test -s conftest.$ac_objext'
23790
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23791
(eval $ac_try) 2>&5
23793
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23794
(exit $ac_status); }; }; then
23795
ac_header_compiler=yes
23797
echo "$as_me: failed program was:" >&5
23798
sed 's/^/| /' conftest.$ac_ext >&5
23800
ac_header_compiler=no
23802
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23803
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23804
echo "${ECHO_T}$ac_header_compiler" >&6
23806
# Is the header present?
23807
echo "$as_me:$LINENO: checking CoreAudio/CoreAudio.h presence" >&5
23808
echo $ECHO_N "checking CoreAudio/CoreAudio.h presence... $ECHO_C" >&6
23809
cat >conftest.$ac_ext <<_ACEOF
23812
cat confdefs.h >>conftest.$ac_ext
23813
cat >>conftest.$ac_ext <<_ACEOF
23814
/* end confdefs.h. */
23815
#include <CoreAudio/CoreAudio.h>
23817
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23818
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23820
grep -v '^ *+' conftest.er1 >conftest.err
23822
cat conftest.err >&5
23823
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23824
(exit $ac_status); } >/dev/null; then
23825
if test -s conftest.err; then
23826
ac_cpp_err=$ac_c_preproc_warn_flag
23827
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23834
if test -z "$ac_cpp_err"; then
23835
ac_header_preproc=yes
23837
echo "$as_me: failed program was:" >&5
23838
sed 's/^/| /' conftest.$ac_ext >&5
23840
ac_header_preproc=no
23842
rm -f conftest.err conftest.$ac_ext
23843
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23844
echo "${ECHO_T}$ac_header_preproc" >&6
23846
# So? What about this header?
23847
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23849
{ echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: accepted by the compiler, rejected by the preprocessor!" >&5
23850
echo "$as_me: WARNING: CoreAudio/CoreAudio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23851
{ echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: proceeding with the compiler's result" >&5
23852
echo "$as_me: WARNING: CoreAudio/CoreAudio.h: proceeding with the compiler's result" >&2;}
23853
ac_header_preproc=yes
23856
{ echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: present but cannot be compiled" >&5
23857
echo "$as_me: WARNING: CoreAudio/CoreAudio.h: present but cannot be compiled" >&2;}
23858
{ echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: check for missing prerequisite headers?" >&5
23859
echo "$as_me: WARNING: CoreAudio/CoreAudio.h: check for missing prerequisite headers?" >&2;}
23860
{ echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: see the Autoconf documentation" >&5
23861
echo "$as_me: WARNING: CoreAudio/CoreAudio.h: see the Autoconf documentation" >&2;}
23862
{ echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: section \"Present But Cannot Be Compiled\"" >&5
23863
echo "$as_me: WARNING: CoreAudio/CoreAudio.h: section \"Present But Cannot Be Compiled\"" >&2;}
23864
{ echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: proceeding with the preprocessor's result" >&5
23865
echo "$as_me: WARNING: CoreAudio/CoreAudio.h: proceeding with the preprocessor's result" >&2;}
23866
{ echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: in the future, the compiler will take precedence" >&5
23867
echo "$as_me: WARNING: CoreAudio/CoreAudio.h: in the future, the compiler will take precedence" >&2;}
23870
## ------------------------------------------ ##
23871
## Report this to the AC_PACKAGE_NAME lists. ##
23872
## ------------------------------------------ ##
23875
sed "s/^/$as_me: WARNING: /" >&2
23878
echo "$as_me:$LINENO: checking for CoreAudio/CoreAudio.h" >&5
23879
echo $ECHO_N "checking for CoreAudio/CoreAudio.h... $ECHO_C" >&6
23880
if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
23881
echo $ECHO_N "(cached) $ECHO_C" >&6
23883
ac_cv_header_CoreAudio_CoreAudio_h=$ac_header_preproc
23885
echo "$as_me:$LINENO: result: $ac_cv_header_CoreAudio_CoreAudio_h" >&5
23886
echo "${ECHO_T}$ac_cv_header_CoreAudio_CoreAudio_h" >&6
23889
if test $ac_cv_header_CoreAudio_CoreAudio_h = yes; then
23892
cat >>confdefs.h <<\_ACEOF
23893
#define HAVE_COREAUDIO 1
23896
FRAMEWORK_COREAUDIO="-Xlinker -framework -Xlinker CoreAudio"
23903
echo "$as_me:$LINENO: checking if res_init needs -lresolv" >&5
23904
echo $ECHO_N "checking if res_init needs -lresolv... $ECHO_C" >&6
23905
kde_libs_safe="$LIBS"
23906
LIBS="$LIBS $X_EXTRA_LIBS -lresolv"
23907
cat >conftest.$ac_ext <<_ACEOF
23910
cat confdefs.h >>conftest.$ac_ext
23911
cat >>conftest.$ac_ext <<_ACEOF
23912
/* end confdefs.h. */
23914
#include <sys/types.h>
23915
#include <netinet/in.h>
23916
#include <arpa/nameser.h>
23917
#include <resolv.h>
23929
rm -f conftest.$ac_objext conftest$ac_exeext
23930
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23931
(eval $ac_link) 2>conftest.er1
23933
grep -v '^ *+' conftest.er1 >conftest.err
23935
cat conftest.err >&5
23936
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23937
(exit $ac_status); } &&
23938
{ ac_try='test -z "$ac_c_werror_flag"
23939
|| test ! -s conftest.err'
23940
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23941
(eval $ac_try) 2>&5
23943
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23944
(exit $ac_status); }; } &&
23945
{ ac_try='test -s conftest$ac_exeext'
23946
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23947
(eval $ac_try) 2>&5
23949
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23950
(exit $ac_status); }; }; then
23952
LIBRESOLV="-lresolv"
23953
echo "$as_me:$LINENO: result: yes" >&5
23954
echo "${ECHO_T}yes" >&6
23956
cat >>confdefs.h <<\_ACEOF
23957
#define HAVE_RES_INIT 1
23962
echo "$as_me: failed program was:" >&5
23963
sed 's/^/| /' conftest.$ac_ext >&5
23965
echo "$as_me:$LINENO: result: no" >&5
23966
echo "${ECHO_T}no" >&6
23969
rm -f conftest.err conftest.$ac_objext \
23970
conftest$ac_exeext conftest.$ac_ext
23971
LIBS=$kde_libs_safe
23975
echo "$as_me:$LINENO: checking for res_init" >&5
23976
echo $ECHO_N "checking for res_init... $ECHO_C" >&6
23977
if test "${kde_cv_func_res_init+set}" = set; then
23978
echo $ECHO_N "(cached) $ECHO_C" >&6
23984
ac_cpp='$CXXCPP $CPPFLAGS'
23985
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23986
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23987
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23989
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
23992
save_CXXFLAGS="$CXXFLAGS"
23993
kde_safe_LIBS="$LIBS"
23994
LIBS="$LIBS $X_EXTRA_LIBS"
23995
if test "$GXX" = "yes"; then
23996
CXXFLAGS="$CXXFLAGS -pedantic-errors"
23998
cat >conftest.$ac_ext <<_ACEOF
24001
cat confdefs.h >>conftest.$ac_ext
24002
cat >>conftest.$ac_ext <<_ACEOF
24003
/* end confdefs.h. */
24006
#include <sys/types.h>
24007
#include <netinet/in.h>
24008
#include <arpa/nameser.h>
24009
#include <resolv.h>
24022
rm -f conftest.$ac_objext
24023
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24024
(eval $ac_compile) 2>conftest.er1
24026
grep -v '^ *+' conftest.er1 >conftest.err
24028
cat conftest.err >&5
24029
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24030
(exit $ac_status); } &&
24031
{ ac_try='test -z "$ac_cxx_werror_flag"
24032
|| test ! -s conftest.err'
24033
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24034
(eval $ac_try) 2>&5
24036
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24037
(exit $ac_status); }; } &&
24038
{ ac_try='test -s conftest.$ac_objext'
24039
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24040
(eval $ac_try) 2>&5
24042
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24043
(exit $ac_status); }; }; then
24044
kde_cv_func_res_init=yes
24046
echo "$as_me: failed program was:" >&5
24047
sed 's/^/| /' conftest.$ac_ext >&5
24049
kde_cv_func_res_init=no
24051
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24052
CXXFLAGS="$save_CXXFLAGS"
24053
LIBS="$kde_safe_LIBS"
24055
ac_cpp='$CPP $CPPFLAGS'
24056
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24057
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24058
ac_compiler_gnu=$ac_cv_c_compiler_gnu
24064
echo "$as_me:$LINENO: result: $kde_cv_func_res_init" >&5
24065
echo "${ECHO_T}$kde_cv_func_res_init" >&6
24067
echo "$as_me:$LINENO: checking if res_init needs custom prototype" >&5
24068
echo $ECHO_N "checking if res_init needs custom prototype... $ECHO_C" >&6
24069
if test "${kde_cv_proto_res_init+set}" = set; then
24070
echo $ECHO_N "(cached) $ECHO_C" >&6
24073
if test "x$kde_cv_func_res_init" = xyes; then
24074
kde_cv_proto_res_init=no
24077
setenv|unsetenv|usleep|random|srandom|seteuid|mkstemps|mkstemp|revoke|vsnprintf|strlcpy|strlcat)
24078
kde_cv_proto_res_init="yes - in libkdefakes"
24081
kde_cv_proto_res_init=unknown
24086
if test "x$kde_cv_proto_res_init" = xunknown; then
24091
ac_cpp='$CXXCPP $CPPFLAGS'
24092
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24093
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24094
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24096
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
24099
kde_safe_libs=$LIBS
24100
LIBS="$LIBS $X_EXTRA_LIBS"
24101
cat >conftest.$ac_ext <<_ACEOF
24104
cat confdefs.h >>conftest.$ac_ext
24105
cat >>conftest.$ac_ext <<_ACEOF
24106
/* end confdefs.h. */
24109
#include <sys/types.h>
24110
#include <netinet/in.h>
24111
#include <arpa/nameser.h>
24112
#include <resolv.h>
24115
extern "C" int res_init(void);
24127
rm -f conftest.$ac_objext conftest$ac_exeext
24128
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24129
(eval $ac_link) 2>conftest.er1
24131
grep -v '^ *+' conftest.er1 >conftest.err
24133
cat conftest.err >&5
24134
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24135
(exit $ac_status); } &&
24136
{ ac_try='test -z "$ac_cxx_werror_flag"
24137
|| test ! -s conftest.err'
24138
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24139
(eval $ac_try) 2>&5
24141
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24142
(exit $ac_status); }; } &&
24143
{ ac_try='test -s conftest$ac_exeext'
24144
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24145
(eval $ac_try) 2>&5
24147
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24148
(exit $ac_status); }; }; then
24149
kde_cv_func_res_init=yes
24150
kde_cv_proto_res_init=yes
24152
echo "$as_me: failed program was:" >&5
24153
sed 's/^/| /' conftest.$ac_ext >&5
24155
kde_cv_proto_res_init="res_init unavailable"
24158
rm -f conftest.err conftest.$ac_objext \
24159
conftest$ac_exeext conftest.$ac_ext
24160
LIBS=$kde_safe_libs
24162
ac_cpp='$CPP $CPPFLAGS'
24163
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24164
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24165
ac_compiler_gnu=$ac_cv_c_compiler_gnu
24171
echo "$as_me:$LINENO: result: $kde_cv_proto_res_init" >&5
24172
echo "${ECHO_T}$kde_cv_proto_res_init" >&6
24174
if test "x$kde_cv_func_res_init" = xyes; then
24176
cat >>confdefs.h <<\_ACEOF
24177
#define HAVE_RES_INIT 1
24182
if test "x$kde_cv_proto_res_init" = xno; then
24184
cat >>confdefs.h <<\_ACEOF
24185
#define HAVE_RES_INIT_PROTO 1
24196
LIBSOCKET="$X_EXTRA_LIBS"
24199
echo "$as_me:$LINENO: checking for killpg in -lucb" >&5
24200
echo $ECHO_N "checking for killpg in -lucb... $ECHO_C" >&6
24201
if test "${ac_cv_lib_ucb_killpg+set}" = set; then
24202
echo $ECHO_N "(cached) $ECHO_C" >&6
24204
ac_check_lib_save_LIBS=$LIBS
24206
cat >conftest.$ac_ext <<_ACEOF
24209
cat confdefs.h >>conftest.$ac_ext
24210
cat >>conftest.$ac_ext <<_ACEOF
24211
/* end confdefs.h. */
24213
/* Override any gcc2 internal prototype to avoid an error. */
24217
/* We use char because int might match the return type of a gcc2
24218
builtin and then its argument prototype would still apply. */
24228
rm -f conftest.$ac_objext conftest$ac_exeext
24229
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24230
(eval $ac_link) 2>conftest.er1
24232
grep -v '^ *+' conftest.er1 >conftest.err
24234
cat conftest.err >&5
24235
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24236
(exit $ac_status); } &&
24237
{ ac_try='test -z "$ac_c_werror_flag"
24238
|| test ! -s conftest.err'
24239
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24240
(eval $ac_try) 2>&5
24242
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24243
(exit $ac_status); }; } &&
24244
{ ac_try='test -s conftest$ac_exeext'
24245
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24246
(eval $ac_try) 2>&5
24248
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24249
(exit $ac_status); }; }; then
24250
ac_cv_lib_ucb_killpg=yes
24252
echo "$as_me: failed program was:" >&5
24253
sed 's/^/| /' conftest.$ac_ext >&5
24255
ac_cv_lib_ucb_killpg=no
24257
rm -f conftest.err conftest.$ac_objext \
24258
conftest$ac_exeext conftest.$ac_ext
24259
LIBS=$ac_check_lib_save_LIBS
24261
echo "$as_me:$LINENO: result: $ac_cv_lib_ucb_killpg" >&5
24262
echo "${ECHO_T}$ac_cv_lib_ucb_killpg" >&6
24263
if test $ac_cv_lib_ucb_killpg = yes; then
24268
case $host in *-*-lynxos* )
24269
echo "$as_me:$LINENO: checking LynxOS header file wrappers" >&5
24270
echo $ECHO_N "checking LynxOS header file wrappers... $ECHO_C" >&6
24271
CFLAGS="$CFLAGS -D__NO_INCLUDE_WARN__"
24272
echo "$as_me:$LINENO: result: disabled" >&5
24273
echo "${ECHO_T}disabled" >&6
24274
echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
24275
echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
24276
if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
24277
echo $ECHO_N "(cached) $ECHO_C" >&6
24279
ac_check_lib_save_LIBS=$LIBS
24281
cat >conftest.$ac_ext <<_ACEOF
24284
cat confdefs.h >>conftest.$ac_ext
24285
cat >>conftest.$ac_ext <<_ACEOF
24286
/* end confdefs.h. */
24288
/* Override any gcc2 internal prototype to avoid an error. */
24292
/* We use char because int might match the return type of a gcc2
24293
builtin and then its argument prototype would still apply. */
24294
char gethostbyname ();
24303
rm -f conftest.$ac_objext conftest$ac_exeext
24304
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24305
(eval $ac_link) 2>conftest.er1
24307
grep -v '^ *+' conftest.er1 >conftest.err
24309
cat conftest.err >&5
24310
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24311
(exit $ac_status); } &&
24312
{ ac_try='test -z "$ac_c_werror_flag"
24313
|| test ! -s conftest.err'
24314
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24315
(eval $ac_try) 2>&5
24317
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24318
(exit $ac_status); }; } &&
24319
{ ac_try='test -s conftest$ac_exeext'
24320
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24321
(eval $ac_try) 2>&5
24323
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24324
(exit $ac_status); }; }; then
24325
ac_cv_lib_bsd_gethostbyname=yes
24327
echo "$as_me: failed program was:" >&5
24328
sed 's/^/| /' conftest.$ac_ext >&5
24330
ac_cv_lib_bsd_gethostbyname=no
24332
rm -f conftest.err conftest.$ac_objext \
24333
conftest$ac_exeext conftest.$ac_ext
24334
LIBS=$ac_check_lib_save_LIBS
24336
echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
24337
echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
24338
if test $ac_cv_lib_bsd_gethostbyname = yes; then
24344
echo "$as_me:$LINENO: checking for int" >&5
24345
echo $ECHO_N "checking for int... $ECHO_C" >&6
24346
if test "${ac_cv_type_int+set}" = set; then
24347
echo $ECHO_N "(cached) $ECHO_C" >&6
24349
cat >conftest.$ac_ext <<_ACEOF
24352
cat confdefs.h >>conftest.$ac_ext
24353
cat >>conftest.$ac_ext <<_ACEOF
24354
/* end confdefs.h. */
24355
$ac_includes_default
24367
rm -f conftest.$ac_objext
24368
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24369
(eval $ac_compile) 2>conftest.er1
24371
grep -v '^ *+' conftest.er1 >conftest.err
24373
cat conftest.err >&5
24374
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24375
(exit $ac_status); } &&
24376
{ ac_try='test -z "$ac_c_werror_flag"
24377
|| test ! -s conftest.err'
24378
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24379
(eval $ac_try) 2>&5
24381
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24382
(exit $ac_status); }; } &&
24383
{ ac_try='test -s conftest.$ac_objext'
24384
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24385
(eval $ac_try) 2>&5
24387
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24388
(exit $ac_status); }; }; then
24391
echo "$as_me: failed program was:" >&5
24392
sed 's/^/| /' conftest.$ac_ext >&5
24396
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24398
echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
24399
echo "${ECHO_T}$ac_cv_type_int" >&6
24401
echo "$as_me:$LINENO: checking size of int" >&5
24402
echo $ECHO_N "checking size of int... $ECHO_C" >&6
24403
if test "${ac_cv_sizeof_int+set}" = set; then
24404
echo $ECHO_N "(cached) $ECHO_C" >&6
24406
if test "$ac_cv_type_int" = yes; then
24407
# The cast to unsigned long works around a bug in the HP C Compiler
24408
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24409
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24410
# This bug is HP SR number 8606223364.
24411
if test "$cross_compiling" = yes; then
24412
# Depending upon the size, compute the lo and hi bounds.
24413
cat >conftest.$ac_ext <<_ACEOF
24416
cat confdefs.h >>conftest.$ac_ext
24417
cat >>conftest.$ac_ext <<_ACEOF
24418
/* end confdefs.h. */
24419
$ac_includes_default
24423
static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
24430
rm -f conftest.$ac_objext
24431
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24432
(eval $ac_compile) 2>conftest.er1
24434
grep -v '^ *+' conftest.er1 >conftest.err
24436
cat conftest.err >&5
24437
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24438
(exit $ac_status); } &&
24439
{ ac_try='test -z "$ac_c_werror_flag"
24440
|| test ! -s conftest.err'
24441
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24442
(eval $ac_try) 2>&5
24444
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24445
(exit $ac_status); }; } &&
24446
{ ac_try='test -s conftest.$ac_objext'
24447
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24448
(eval $ac_try) 2>&5
24450
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24451
(exit $ac_status); }; }; then
24454
cat >conftest.$ac_ext <<_ACEOF
24457
cat confdefs.h >>conftest.$ac_ext
24458
cat >>conftest.$ac_ext <<_ACEOF
24459
/* end confdefs.h. */
24460
$ac_includes_default
24464
static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
24471
rm -f conftest.$ac_objext
24472
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24473
(eval $ac_compile) 2>conftest.er1
24475
grep -v '^ *+' conftest.er1 >conftest.err
24477
cat conftest.err >&5
24478
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24479
(exit $ac_status); } &&
24480
{ ac_try='test -z "$ac_c_werror_flag"
24481
|| test ! -s conftest.err'
24482
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24483
(eval $ac_try) 2>&5
24485
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24486
(exit $ac_status); }; } &&
24487
{ ac_try='test -s conftest.$ac_objext'
24488
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24489
(eval $ac_try) 2>&5
24491
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24492
(exit $ac_status); }; }; then
24493
ac_hi=$ac_mid; break
24495
echo "$as_me: failed program was:" >&5
24496
sed 's/^/| /' conftest.$ac_ext >&5
24498
ac_lo=`expr $ac_mid + 1`
24499
if test $ac_lo -le $ac_mid; then
24503
ac_mid=`expr 2 '*' $ac_mid + 1`
24505
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24508
echo "$as_me: failed program was:" >&5
24509
sed 's/^/| /' conftest.$ac_ext >&5
24511
cat >conftest.$ac_ext <<_ACEOF
24514
cat confdefs.h >>conftest.$ac_ext
24515
cat >>conftest.$ac_ext <<_ACEOF
24516
/* end confdefs.h. */
24517
$ac_includes_default
24521
static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
24528
rm -f conftest.$ac_objext
24529
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24530
(eval $ac_compile) 2>conftest.er1
24532
grep -v '^ *+' conftest.er1 >conftest.err
24534
cat conftest.err >&5
24535
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24536
(exit $ac_status); } &&
24537
{ ac_try='test -z "$ac_c_werror_flag"
24538
|| test ! -s conftest.err'
24539
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24540
(eval $ac_try) 2>&5
24542
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24543
(exit $ac_status); }; } &&
24544
{ ac_try='test -s conftest.$ac_objext'
24545
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24546
(eval $ac_try) 2>&5
24548
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24549
(exit $ac_status); }; }; then
24552
cat >conftest.$ac_ext <<_ACEOF
24555
cat confdefs.h >>conftest.$ac_ext
24556
cat >>conftest.$ac_ext <<_ACEOF
24557
/* end confdefs.h. */
24558
$ac_includes_default
24562
static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
24569
rm -f conftest.$ac_objext
24570
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24571
(eval $ac_compile) 2>conftest.er1
24573
grep -v '^ *+' conftest.er1 >conftest.err
24575
cat conftest.err >&5
24576
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24577
(exit $ac_status); } &&
24578
{ ac_try='test -z "$ac_c_werror_flag"
24579
|| test ! -s conftest.err'
24580
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24581
(eval $ac_try) 2>&5
24583
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24584
(exit $ac_status); }; } &&
24585
{ ac_try='test -s conftest.$ac_objext'
24586
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24587
(eval $ac_try) 2>&5
24589
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24590
(exit $ac_status); }; }; then
24591
ac_lo=$ac_mid; break
24593
echo "$as_me: failed program was:" >&5
24594
sed 's/^/| /' conftest.$ac_ext >&5
24596
ac_hi=`expr '(' $ac_mid ')' - 1`
24597
if test $ac_mid -le $ac_hi; then
24601
ac_mid=`expr 2 '*' $ac_mid`
24603
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24606
echo "$as_me: failed program was:" >&5
24607
sed 's/^/| /' conftest.$ac_ext >&5
24611
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24613
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24614
# Binary search between lo and hi bounds.
24615
while test "x$ac_lo" != "x$ac_hi"; do
24616
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24617
cat >conftest.$ac_ext <<_ACEOF
24620
cat confdefs.h >>conftest.$ac_ext
24621
cat >>conftest.$ac_ext <<_ACEOF
24622
/* end confdefs.h. */
24623
$ac_includes_default
24627
static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
24634
rm -f conftest.$ac_objext
24635
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24636
(eval $ac_compile) 2>conftest.er1
24638
grep -v '^ *+' conftest.er1 >conftest.err
24640
cat conftest.err >&5
24641
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24642
(exit $ac_status); } &&
24643
{ ac_try='test -z "$ac_c_werror_flag"
24644
|| test ! -s conftest.err'
24645
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24646
(eval $ac_try) 2>&5
24648
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24649
(exit $ac_status); }; } &&
24650
{ ac_try='test -s conftest.$ac_objext'
24651
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24652
(eval $ac_try) 2>&5
24654
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24655
(exit $ac_status); }; }; then
24658
echo "$as_me: failed program was:" >&5
24659
sed 's/^/| /' conftest.$ac_ext >&5
24661
ac_lo=`expr '(' $ac_mid ')' + 1`
24663
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24666
?*) ac_cv_sizeof_int=$ac_lo;;
24667
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
24668
See \`config.log' for more details." >&5
24669
echo "$as_me: error: cannot compute sizeof (int), 77
24670
See \`config.log' for more details." >&2;}
24671
{ (exit 1); exit 1; }; } ;;
24674
if test "$cross_compiling" = yes; then
24675
{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
24676
See \`config.log' for more details." >&5
24677
echo "$as_me: error: cannot run test program while cross compiling
24678
See \`config.log' for more details." >&2;}
24679
{ (exit 1); exit 1; }; }
24681
cat >conftest.$ac_ext <<_ACEOF
24684
cat confdefs.h >>conftest.$ac_ext
24685
cat >>conftest.$ac_ext <<_ACEOF
24686
/* end confdefs.h. */
24687
$ac_includes_default
24688
long longval () { return (long) (sizeof (int)); }
24689
unsigned long ulongval () { return (long) (sizeof (int)); }
24691
#include <stdlib.h>
24696
FILE *f = fopen ("conftest.val", "w");
24699
if (((long) (sizeof (int))) < 0)
24701
long i = longval ();
24702
if (i != ((long) (sizeof (int))))
24704
fprintf (f, "%ld\n", i);
24708
unsigned long i = ulongval ();
24709
if (i != ((long) (sizeof (int))))
24711
fprintf (f, "%lu\n", i);
24713
exit (ferror (f) || fclose (f) != 0);
24719
rm -f conftest$ac_exeext
24720
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24721
(eval $ac_link) 2>&5
24723
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24724
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24725
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24726
(eval $ac_try) 2>&5
24728
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24729
(exit $ac_status); }; }; then
24730
ac_cv_sizeof_int=`cat conftest.val`
24732
echo "$as_me: program exited with status $ac_status" >&5
24733
echo "$as_me: failed program was:" >&5
24734
sed 's/^/| /' conftest.$ac_ext >&5
24736
( exit $ac_status )
24737
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
24738
See \`config.log' for more details." >&5
24739
echo "$as_me: error: cannot compute sizeof (int), 77
24740
See \`config.log' for more details." >&2;}
24741
{ (exit 1); exit 1; }; }
24743
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24751
echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
24752
echo "${ECHO_T}$ac_cv_sizeof_int" >&6
24753
cat >>confdefs.h <<_ACEOF
24754
#define SIZEOF_INT $ac_cv_sizeof_int
24757
echo "$as_me:$LINENO: checking for short" >&5
24758
echo $ECHO_N "checking for short... $ECHO_C" >&6
24759
if test "${ac_cv_type_short+set}" = set; then
24760
echo $ECHO_N "(cached) $ECHO_C" >&6
24762
cat >conftest.$ac_ext <<_ACEOF
24765
cat confdefs.h >>conftest.$ac_ext
24766
cat >>conftest.$ac_ext <<_ACEOF
24767
/* end confdefs.h. */
24768
$ac_includes_default
24774
if (sizeof (short))
24780
rm -f conftest.$ac_objext
24781
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24782
(eval $ac_compile) 2>conftest.er1
24784
grep -v '^ *+' conftest.er1 >conftest.err
24786
cat conftest.err >&5
24787
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24788
(exit $ac_status); } &&
24789
{ ac_try='test -z "$ac_c_werror_flag"
24790
|| test ! -s conftest.err'
24791
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24792
(eval $ac_try) 2>&5
24794
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24795
(exit $ac_status); }; } &&
24796
{ ac_try='test -s conftest.$ac_objext'
24797
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24798
(eval $ac_try) 2>&5
24800
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24801
(exit $ac_status); }; }; then
24802
ac_cv_type_short=yes
24804
echo "$as_me: failed program was:" >&5
24805
sed 's/^/| /' conftest.$ac_ext >&5
24807
ac_cv_type_short=no
24809
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24811
echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
24812
echo "${ECHO_T}$ac_cv_type_short" >&6
24814
echo "$as_me:$LINENO: checking size of short" >&5
24815
echo $ECHO_N "checking size of short... $ECHO_C" >&6
24816
if test "${ac_cv_sizeof_short+set}" = set; then
24817
echo $ECHO_N "(cached) $ECHO_C" >&6
24819
if test "$ac_cv_type_short" = yes; then
24820
# The cast to unsigned long works around a bug in the HP C Compiler
24821
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24822
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24823
# This bug is HP SR number 8606223364.
24824
if test "$cross_compiling" = yes; then
24825
# Depending upon the size, compute the lo and hi bounds.
24826
cat >conftest.$ac_ext <<_ACEOF
24829
cat confdefs.h >>conftest.$ac_ext
24830
cat >>conftest.$ac_ext <<_ACEOF
24831
/* end confdefs.h. */
24832
$ac_includes_default
24836
static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
24843
rm -f conftest.$ac_objext
24844
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24845
(eval $ac_compile) 2>conftest.er1
24847
grep -v '^ *+' conftest.er1 >conftest.err
24849
cat conftest.err >&5
24850
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24851
(exit $ac_status); } &&
24852
{ ac_try='test -z "$ac_c_werror_flag"
24853
|| test ! -s conftest.err'
24854
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24855
(eval $ac_try) 2>&5
24857
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24858
(exit $ac_status); }; } &&
24859
{ ac_try='test -s conftest.$ac_objext'
24860
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24861
(eval $ac_try) 2>&5
24863
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24864
(exit $ac_status); }; }; then
24867
cat >conftest.$ac_ext <<_ACEOF
24870
cat confdefs.h >>conftest.$ac_ext
24871
cat >>conftest.$ac_ext <<_ACEOF
24872
/* end confdefs.h. */
24873
$ac_includes_default
24877
static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
24884
rm -f conftest.$ac_objext
24885
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24886
(eval $ac_compile) 2>conftest.er1
24888
grep -v '^ *+' conftest.er1 >conftest.err
24890
cat conftest.err >&5
24891
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24892
(exit $ac_status); } &&
24893
{ ac_try='test -z "$ac_c_werror_flag"
24894
|| test ! -s conftest.err'
24895
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24896
(eval $ac_try) 2>&5
24898
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24899
(exit $ac_status); }; } &&
24900
{ ac_try='test -s conftest.$ac_objext'
24901
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24902
(eval $ac_try) 2>&5
24904
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24905
(exit $ac_status); }; }; then
24906
ac_hi=$ac_mid; break
24908
echo "$as_me: failed program was:" >&5
24909
sed 's/^/| /' conftest.$ac_ext >&5
24911
ac_lo=`expr $ac_mid + 1`
24912
if test $ac_lo -le $ac_mid; then
24916
ac_mid=`expr 2 '*' $ac_mid + 1`
24918
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24921
echo "$as_me: failed program was:" >&5
24922
sed 's/^/| /' conftest.$ac_ext >&5
24924
cat >conftest.$ac_ext <<_ACEOF
24927
cat confdefs.h >>conftest.$ac_ext
24928
cat >>conftest.$ac_ext <<_ACEOF
24929
/* end confdefs.h. */
24930
$ac_includes_default
24934
static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
24941
rm -f conftest.$ac_objext
24942
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24943
(eval $ac_compile) 2>conftest.er1
24945
grep -v '^ *+' conftest.er1 >conftest.err
24947
cat conftest.err >&5
24948
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24949
(exit $ac_status); } &&
24950
{ ac_try='test -z "$ac_c_werror_flag"
24951
|| test ! -s conftest.err'
24952
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24953
(eval $ac_try) 2>&5
24955
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24956
(exit $ac_status); }; } &&
24957
{ ac_try='test -s conftest.$ac_objext'
24958
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24959
(eval $ac_try) 2>&5
24961
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24962
(exit $ac_status); }; }; then
24965
cat >conftest.$ac_ext <<_ACEOF
24968
cat confdefs.h >>conftest.$ac_ext
24969
cat >>conftest.$ac_ext <<_ACEOF
24970
/* end confdefs.h. */
24971
$ac_includes_default
24975
static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
24982
rm -f conftest.$ac_objext
24983
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24984
(eval $ac_compile) 2>conftest.er1
24986
grep -v '^ *+' conftest.er1 >conftest.err
24988
cat conftest.err >&5
24989
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24990
(exit $ac_status); } &&
24991
{ ac_try='test -z "$ac_c_werror_flag"
24992
|| test ! -s conftest.err'
24993
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24994
(eval $ac_try) 2>&5
24996
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24997
(exit $ac_status); }; } &&
24998
{ ac_try='test -s conftest.$ac_objext'
24999
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25000
(eval $ac_try) 2>&5
25002
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25003
(exit $ac_status); }; }; then
25004
ac_lo=$ac_mid; break
25006
echo "$as_me: failed program was:" >&5
25007
sed 's/^/| /' conftest.$ac_ext >&5
25009
ac_hi=`expr '(' $ac_mid ')' - 1`
25010
if test $ac_mid -le $ac_hi; then
25014
ac_mid=`expr 2 '*' $ac_mid`
25016
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25019
echo "$as_me: failed program was:" >&5
25020
sed 's/^/| /' conftest.$ac_ext >&5
25024
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25026
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25027
# Binary search between lo and hi bounds.
25028
while test "x$ac_lo" != "x$ac_hi"; do
25029
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25030
cat >conftest.$ac_ext <<_ACEOF
25033
cat confdefs.h >>conftest.$ac_ext
25034
cat >>conftest.$ac_ext <<_ACEOF
25035
/* end confdefs.h. */
25036
$ac_includes_default
25040
static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
25047
rm -f conftest.$ac_objext
25048
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25049
(eval $ac_compile) 2>conftest.er1
25051
grep -v '^ *+' conftest.er1 >conftest.err
25053
cat conftest.err >&5
25054
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25055
(exit $ac_status); } &&
25056
{ ac_try='test -z "$ac_c_werror_flag"
25057
|| test ! -s conftest.err'
25058
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25059
(eval $ac_try) 2>&5
25061
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25062
(exit $ac_status); }; } &&
25063
{ ac_try='test -s conftest.$ac_objext'
25064
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25065
(eval $ac_try) 2>&5
25067
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25068
(exit $ac_status); }; }; then
25071
echo "$as_me: failed program was:" >&5
25072
sed 's/^/| /' conftest.$ac_ext >&5
25074
ac_lo=`expr '(' $ac_mid ')' + 1`
25076
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25079
?*) ac_cv_sizeof_short=$ac_lo;;
25080
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
25081
See \`config.log' for more details." >&5
25082
echo "$as_me: error: cannot compute sizeof (short), 77
25083
See \`config.log' for more details." >&2;}
25084
{ (exit 1); exit 1; }; } ;;
25087
if test "$cross_compiling" = yes; then
25088
{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
25089
See \`config.log' for more details." >&5
25090
echo "$as_me: error: cannot run test program while cross compiling
25091
See \`config.log' for more details." >&2;}
25092
{ (exit 1); exit 1; }; }
25094
cat >conftest.$ac_ext <<_ACEOF
25097
cat confdefs.h >>conftest.$ac_ext
25098
cat >>conftest.$ac_ext <<_ACEOF
25099
/* end confdefs.h. */
25100
$ac_includes_default
25101
long longval () { return (long) (sizeof (short)); }
25102
unsigned long ulongval () { return (long) (sizeof (short)); }
25104
#include <stdlib.h>
25109
FILE *f = fopen ("conftest.val", "w");
25112
if (((long) (sizeof (short))) < 0)
25114
long i = longval ();
25115
if (i != ((long) (sizeof (short))))
25117
fprintf (f, "%ld\n", i);
25121
unsigned long i = ulongval ();
25122
if (i != ((long) (sizeof (short))))
25124
fprintf (f, "%lu\n", i);
25126
exit (ferror (f) || fclose (f) != 0);
25132
rm -f conftest$ac_exeext
25133
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25134
(eval $ac_link) 2>&5
25136
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25137
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25138
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25139
(eval $ac_try) 2>&5
25141
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25142
(exit $ac_status); }; }; then
25143
ac_cv_sizeof_short=`cat conftest.val`
25145
echo "$as_me: program exited with status $ac_status" >&5
25146
echo "$as_me: failed program was:" >&5
25147
sed 's/^/| /' conftest.$ac_ext >&5
25149
( exit $ac_status )
25150
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
25151
See \`config.log' for more details." >&5
25152
echo "$as_me: error: cannot compute sizeof (short), 77
25153
See \`config.log' for more details." >&2;}
25154
{ (exit 1); exit 1; }; }
25156
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25161
ac_cv_sizeof_short=0
25164
echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
25165
echo "${ECHO_T}$ac_cv_sizeof_short" >&6
25166
cat >>confdefs.h <<_ACEOF
25167
#define SIZEOF_SHORT $ac_cv_sizeof_short
25170
echo "$as_me:$LINENO: checking for long" >&5
25171
echo $ECHO_N "checking for long... $ECHO_C" >&6
25172
if test "${ac_cv_type_long+set}" = set; then
25173
echo $ECHO_N "(cached) $ECHO_C" >&6
25175
cat >conftest.$ac_ext <<_ACEOF
25178
cat confdefs.h >>conftest.$ac_ext
25179
cat >>conftest.$ac_ext <<_ACEOF
25180
/* end confdefs.h. */
25181
$ac_includes_default
25193
rm -f conftest.$ac_objext
25194
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25195
(eval $ac_compile) 2>conftest.er1
25197
grep -v '^ *+' conftest.er1 >conftest.err
25199
cat conftest.err >&5
25200
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25201
(exit $ac_status); } &&
25202
{ ac_try='test -z "$ac_c_werror_flag"
25203
|| test ! -s conftest.err'
25204
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25205
(eval $ac_try) 2>&5
25207
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25208
(exit $ac_status); }; } &&
25209
{ ac_try='test -s conftest.$ac_objext'
25210
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25211
(eval $ac_try) 2>&5
25213
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25214
(exit $ac_status); }; }; then
25215
ac_cv_type_long=yes
25217
echo "$as_me: failed program was:" >&5
25218
sed 's/^/| /' conftest.$ac_ext >&5
25222
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25224
echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
25225
echo "${ECHO_T}$ac_cv_type_long" >&6
25227
echo "$as_me:$LINENO: checking size of long" >&5
25228
echo $ECHO_N "checking size of long... $ECHO_C" >&6
25229
if test "${ac_cv_sizeof_long+set}" = set; then
25230
echo $ECHO_N "(cached) $ECHO_C" >&6
25232
if test "$ac_cv_type_long" = yes; then
25233
# The cast to unsigned long works around a bug in the HP C Compiler
25234
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25235
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25236
# This bug is HP SR number 8606223364.
25237
if test "$cross_compiling" = yes; then
25238
# Depending upon the size, compute the lo and hi bounds.
25239
cat >conftest.$ac_ext <<_ACEOF
25242
cat confdefs.h >>conftest.$ac_ext
25243
cat >>conftest.$ac_ext <<_ACEOF
25244
/* end confdefs.h. */
25245
$ac_includes_default
25249
static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
25256
rm -f conftest.$ac_objext
25257
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25258
(eval $ac_compile) 2>conftest.er1
25260
grep -v '^ *+' conftest.er1 >conftest.err
25262
cat conftest.err >&5
25263
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25264
(exit $ac_status); } &&
25265
{ ac_try='test -z "$ac_c_werror_flag"
25266
|| test ! -s conftest.err'
25267
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25268
(eval $ac_try) 2>&5
25270
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25271
(exit $ac_status); }; } &&
25272
{ ac_try='test -s conftest.$ac_objext'
25273
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25274
(eval $ac_try) 2>&5
25276
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25277
(exit $ac_status); }; }; then
25280
cat >conftest.$ac_ext <<_ACEOF
25283
cat confdefs.h >>conftest.$ac_ext
25284
cat >>conftest.$ac_ext <<_ACEOF
25285
/* end confdefs.h. */
25286
$ac_includes_default
25290
static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
25297
rm -f conftest.$ac_objext
25298
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25299
(eval $ac_compile) 2>conftest.er1
25301
grep -v '^ *+' conftest.er1 >conftest.err
25303
cat conftest.err >&5
25304
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25305
(exit $ac_status); } &&
25306
{ ac_try='test -z "$ac_c_werror_flag"
25307
|| test ! -s conftest.err'
25308
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25309
(eval $ac_try) 2>&5
25311
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25312
(exit $ac_status); }; } &&
25313
{ ac_try='test -s conftest.$ac_objext'
25314
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25315
(eval $ac_try) 2>&5
25317
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25318
(exit $ac_status); }; }; then
25319
ac_hi=$ac_mid; break
25321
echo "$as_me: failed program was:" >&5
25322
sed 's/^/| /' conftest.$ac_ext >&5
25324
ac_lo=`expr $ac_mid + 1`
25325
if test $ac_lo -le $ac_mid; then
25329
ac_mid=`expr 2 '*' $ac_mid + 1`
25331
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25334
echo "$as_me: failed program was:" >&5
25335
sed 's/^/| /' conftest.$ac_ext >&5
25337
cat >conftest.$ac_ext <<_ACEOF
25340
cat confdefs.h >>conftest.$ac_ext
25341
cat >>conftest.$ac_ext <<_ACEOF
25342
/* end confdefs.h. */
25343
$ac_includes_default
25347
static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
25354
rm -f conftest.$ac_objext
25355
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25356
(eval $ac_compile) 2>conftest.er1
25358
grep -v '^ *+' conftest.er1 >conftest.err
25360
cat conftest.err >&5
25361
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25362
(exit $ac_status); } &&
25363
{ ac_try='test -z "$ac_c_werror_flag"
25364
|| test ! -s conftest.err'
25365
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25366
(eval $ac_try) 2>&5
25368
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25369
(exit $ac_status); }; } &&
25370
{ ac_try='test -s conftest.$ac_objext'
25371
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25372
(eval $ac_try) 2>&5
25374
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25375
(exit $ac_status); }; }; then
25378
cat >conftest.$ac_ext <<_ACEOF
25381
cat confdefs.h >>conftest.$ac_ext
25382
cat >>conftest.$ac_ext <<_ACEOF
25383
/* end confdefs.h. */
25384
$ac_includes_default
25388
static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
25395
rm -f conftest.$ac_objext
25396
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25397
(eval $ac_compile) 2>conftest.er1
25399
grep -v '^ *+' conftest.er1 >conftest.err
25401
cat conftest.err >&5
25402
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25403
(exit $ac_status); } &&
25404
{ ac_try='test -z "$ac_c_werror_flag"
25405
|| test ! -s conftest.err'
25406
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25407
(eval $ac_try) 2>&5
25409
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25410
(exit $ac_status); }; } &&
25411
{ ac_try='test -s conftest.$ac_objext'
25412
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25413
(eval $ac_try) 2>&5
25415
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25416
(exit $ac_status); }; }; then
25417
ac_lo=$ac_mid; break
25419
echo "$as_me: failed program was:" >&5
25420
sed 's/^/| /' conftest.$ac_ext >&5
25422
ac_hi=`expr '(' $ac_mid ')' - 1`
25423
if test $ac_mid -le $ac_hi; then
25427
ac_mid=`expr 2 '*' $ac_mid`
25429
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25432
echo "$as_me: failed program was:" >&5
25433
sed 's/^/| /' conftest.$ac_ext >&5
25437
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25439
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25440
# Binary search between lo and hi bounds.
25441
while test "x$ac_lo" != "x$ac_hi"; do
25442
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25443
cat >conftest.$ac_ext <<_ACEOF
25446
cat confdefs.h >>conftest.$ac_ext
25447
cat >>conftest.$ac_ext <<_ACEOF
25448
/* end confdefs.h. */
25449
$ac_includes_default
25453
static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
25460
rm -f conftest.$ac_objext
25461
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25462
(eval $ac_compile) 2>conftest.er1
25464
grep -v '^ *+' conftest.er1 >conftest.err
25466
cat conftest.err >&5
25467
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25468
(exit $ac_status); } &&
25469
{ ac_try='test -z "$ac_c_werror_flag"
25470
|| test ! -s conftest.err'
25471
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25472
(eval $ac_try) 2>&5
25474
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25475
(exit $ac_status); }; } &&
25476
{ ac_try='test -s conftest.$ac_objext'
25477
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25478
(eval $ac_try) 2>&5
25480
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25481
(exit $ac_status); }; }; then
25484
echo "$as_me: failed program was:" >&5
25485
sed 's/^/| /' conftest.$ac_ext >&5
25487
ac_lo=`expr '(' $ac_mid ')' + 1`
25489
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25492
?*) ac_cv_sizeof_long=$ac_lo;;
25493
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
25494
See \`config.log' for more details." >&5
25495
echo "$as_me: error: cannot compute sizeof (long), 77
25496
See \`config.log' for more details." >&2;}
25497
{ (exit 1); exit 1; }; } ;;
25500
if test "$cross_compiling" = yes; then
25501
{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
25502
See \`config.log' for more details." >&5
25503
echo "$as_me: error: cannot run test program while cross compiling
25504
See \`config.log' for more details." >&2;}
25505
{ (exit 1); exit 1; }; }
25507
cat >conftest.$ac_ext <<_ACEOF
25510
cat confdefs.h >>conftest.$ac_ext
25511
cat >>conftest.$ac_ext <<_ACEOF
25512
/* end confdefs.h. */
25513
$ac_includes_default
25514
long longval () { return (long) (sizeof (long)); }
25515
unsigned long ulongval () { return (long) (sizeof (long)); }
25517
#include <stdlib.h>
25522
FILE *f = fopen ("conftest.val", "w");
25525
if (((long) (sizeof (long))) < 0)
25527
long i = longval ();
25528
if (i != ((long) (sizeof (long))))
25530
fprintf (f, "%ld\n", i);
25534
unsigned long i = ulongval ();
25535
if (i != ((long) (sizeof (long))))
25537
fprintf (f, "%lu\n", i);
25539
exit (ferror (f) || fclose (f) != 0);
25545
rm -f conftest$ac_exeext
25546
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25547
(eval $ac_link) 2>&5
25549
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25550
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25551
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25552
(eval $ac_try) 2>&5
25554
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25555
(exit $ac_status); }; }; then
25556
ac_cv_sizeof_long=`cat conftest.val`
25558
echo "$as_me: program exited with status $ac_status" >&5
25559
echo "$as_me: failed program was:" >&5
25560
sed 's/^/| /' conftest.$ac_ext >&5
25562
( exit $ac_status )
25563
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
25564
See \`config.log' for more details." >&5
25565
echo "$as_me: error: cannot compute sizeof (long), 77
25566
See \`config.log' for more details." >&2;}
25567
{ (exit 1); exit 1; }; }
25569
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25574
ac_cv_sizeof_long=0
25577
echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
25578
echo "${ECHO_T}$ac_cv_sizeof_long" >&6
25579
cat >>confdefs.h <<_ACEOF
25580
#define SIZEOF_LONG $ac_cv_sizeof_long
25583
echo "$as_me:$LINENO: checking for char *" >&5
25584
echo $ECHO_N "checking for char *... $ECHO_C" >&6
25585
if test "${ac_cv_type_char_p+set}" = set; then
25586
echo $ECHO_N "(cached) $ECHO_C" >&6
25588
cat >conftest.$ac_ext <<_ACEOF
25591
cat confdefs.h >>conftest.$ac_ext
25592
cat >>conftest.$ac_ext <<_ACEOF
25593
/* end confdefs.h. */
25594
$ac_includes_default
25600
if (sizeof (char *))
25606
rm -f conftest.$ac_objext
25607
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25608
(eval $ac_compile) 2>conftest.er1
25610
grep -v '^ *+' conftest.er1 >conftest.err
25612
cat conftest.err >&5
25613
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25614
(exit $ac_status); } &&
25615
{ ac_try='test -z "$ac_c_werror_flag"
25616
|| test ! -s conftest.err'
25617
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25618
(eval $ac_try) 2>&5
25620
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25621
(exit $ac_status); }; } &&
25622
{ ac_try='test -s conftest.$ac_objext'
25623
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25624
(eval $ac_try) 2>&5
25626
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25627
(exit $ac_status); }; }; then
25628
ac_cv_type_char_p=yes
25630
echo "$as_me: failed program was:" >&5
25631
sed 's/^/| /' conftest.$ac_ext >&5
25633
ac_cv_type_char_p=no
25635
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25637
echo "$as_me:$LINENO: result: $ac_cv_type_char_p" >&5
25638
echo "${ECHO_T}$ac_cv_type_char_p" >&6
25640
echo "$as_me:$LINENO: checking size of char *" >&5
25641
echo $ECHO_N "checking size of char *... $ECHO_C" >&6
25642
if test "${ac_cv_sizeof_char_p+set}" = set; then
25643
echo $ECHO_N "(cached) $ECHO_C" >&6
25645
if test "$ac_cv_type_char_p" = yes; then
25646
# The cast to unsigned long works around a bug in the HP C Compiler
25647
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25648
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25649
# This bug is HP SR number 8606223364.
25650
if test "$cross_compiling" = yes; then
25651
# Depending upon the size, compute the lo and hi bounds.
25652
cat >conftest.$ac_ext <<_ACEOF
25655
cat confdefs.h >>conftest.$ac_ext
25656
cat >>conftest.$ac_ext <<_ACEOF
25657
/* end confdefs.h. */
25658
$ac_includes_default
25662
static int test_array [1 - 2 * !(((long) (sizeof (char *))) >= 0)];
25669
rm -f conftest.$ac_objext
25670
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25671
(eval $ac_compile) 2>conftest.er1
25673
grep -v '^ *+' conftest.er1 >conftest.err
25675
cat conftest.err >&5
25676
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25677
(exit $ac_status); } &&
25678
{ ac_try='test -z "$ac_c_werror_flag"
25679
|| test ! -s conftest.err'
25680
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25681
(eval $ac_try) 2>&5
25683
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25684
(exit $ac_status); }; } &&
25685
{ ac_try='test -s conftest.$ac_objext'
25686
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25687
(eval $ac_try) 2>&5
25689
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25690
(exit $ac_status); }; }; then
25693
cat >conftest.$ac_ext <<_ACEOF
25696
cat confdefs.h >>conftest.$ac_ext
25697
cat >>conftest.$ac_ext <<_ACEOF
25698
/* end confdefs.h. */
25699
$ac_includes_default
25703
static int test_array [1 - 2 * !(((long) (sizeof (char *))) <= $ac_mid)];
25710
rm -f conftest.$ac_objext
25711
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25712
(eval $ac_compile) 2>conftest.er1
25714
grep -v '^ *+' conftest.er1 >conftest.err
25716
cat conftest.err >&5
25717
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25718
(exit $ac_status); } &&
25719
{ ac_try='test -z "$ac_c_werror_flag"
25720
|| test ! -s conftest.err'
25721
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25722
(eval $ac_try) 2>&5
25724
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25725
(exit $ac_status); }; } &&
25726
{ ac_try='test -s conftest.$ac_objext'
25727
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25728
(eval $ac_try) 2>&5
25730
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25731
(exit $ac_status); }; }; then
25732
ac_hi=$ac_mid; break
25734
echo "$as_me: failed program was:" >&5
25735
sed 's/^/| /' conftest.$ac_ext >&5
25737
ac_lo=`expr $ac_mid + 1`
25738
if test $ac_lo -le $ac_mid; then
25742
ac_mid=`expr 2 '*' $ac_mid + 1`
25744
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25747
echo "$as_me: failed program was:" >&5
25748
sed 's/^/| /' conftest.$ac_ext >&5
25750
cat >conftest.$ac_ext <<_ACEOF
25753
cat confdefs.h >>conftest.$ac_ext
25754
cat >>conftest.$ac_ext <<_ACEOF
25755
/* end confdefs.h. */
25756
$ac_includes_default
25760
static int test_array [1 - 2 * !(((long) (sizeof (char *))) < 0)];
25767
rm -f conftest.$ac_objext
25768
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25769
(eval $ac_compile) 2>conftest.er1
25771
grep -v '^ *+' conftest.er1 >conftest.err
25773
cat conftest.err >&5
25774
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25775
(exit $ac_status); } &&
25776
{ ac_try='test -z "$ac_c_werror_flag"
25777
|| test ! -s conftest.err'
25778
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25779
(eval $ac_try) 2>&5
25781
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25782
(exit $ac_status); }; } &&
25783
{ ac_try='test -s conftest.$ac_objext'
25784
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25785
(eval $ac_try) 2>&5
25787
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25788
(exit $ac_status); }; }; then
25791
cat >conftest.$ac_ext <<_ACEOF
25794
cat confdefs.h >>conftest.$ac_ext
25795
cat >>conftest.$ac_ext <<_ACEOF
25796
/* end confdefs.h. */
25797
$ac_includes_default
25801
static int test_array [1 - 2 * !(((long) (sizeof (char *))) >= $ac_mid)];
25808
rm -f conftest.$ac_objext
25809
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25810
(eval $ac_compile) 2>conftest.er1
25812
grep -v '^ *+' conftest.er1 >conftest.err
25814
cat conftest.err >&5
25815
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25816
(exit $ac_status); } &&
25817
{ ac_try='test -z "$ac_c_werror_flag"
25818
|| test ! -s conftest.err'
25819
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25820
(eval $ac_try) 2>&5
25822
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25823
(exit $ac_status); }; } &&
25824
{ ac_try='test -s conftest.$ac_objext'
25825
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25826
(eval $ac_try) 2>&5
25828
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25829
(exit $ac_status); }; }; then
25830
ac_lo=$ac_mid; break
25832
echo "$as_me: failed program was:" >&5
25833
sed 's/^/| /' conftest.$ac_ext >&5
25835
ac_hi=`expr '(' $ac_mid ')' - 1`
25836
if test $ac_mid -le $ac_hi; then
25840
ac_mid=`expr 2 '*' $ac_mid`
25842
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25845
echo "$as_me: failed program was:" >&5
25846
sed 's/^/| /' conftest.$ac_ext >&5
25850
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25852
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25853
# Binary search between lo and hi bounds.
25854
while test "x$ac_lo" != "x$ac_hi"; do
25855
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25856
cat >conftest.$ac_ext <<_ACEOF
25859
cat confdefs.h >>conftest.$ac_ext
25860
cat >>conftest.$ac_ext <<_ACEOF
25861
/* end confdefs.h. */
25862
$ac_includes_default
25866
static int test_array [1 - 2 * !(((long) (sizeof (char *))) <= $ac_mid)];
25873
rm -f conftest.$ac_objext
25874
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25875
(eval $ac_compile) 2>conftest.er1
25877
grep -v '^ *+' conftest.er1 >conftest.err
25879
cat conftest.err >&5
25880
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25881
(exit $ac_status); } &&
25882
{ ac_try='test -z "$ac_c_werror_flag"
25883
|| test ! -s conftest.err'
25884
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25885
(eval $ac_try) 2>&5
25887
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25888
(exit $ac_status); }; } &&
25889
{ ac_try='test -s conftest.$ac_objext'
25890
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25891
(eval $ac_try) 2>&5
25893
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25894
(exit $ac_status); }; }; then
25897
echo "$as_me: failed program was:" >&5
25898
sed 's/^/| /' conftest.$ac_ext >&5
25900
ac_lo=`expr '(' $ac_mid ')' + 1`
25902
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25905
?*) ac_cv_sizeof_char_p=$ac_lo;;
25906
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char *), 77
25907
See \`config.log' for more details." >&5
25908
echo "$as_me: error: cannot compute sizeof (char *), 77
25909
See \`config.log' for more details." >&2;}
25910
{ (exit 1); exit 1; }; } ;;
25913
if test "$cross_compiling" = yes; then
25914
{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
25915
See \`config.log' for more details." >&5
25916
echo "$as_me: error: cannot run test program while cross compiling
25917
See \`config.log' for more details." >&2;}
25918
{ (exit 1); exit 1; }; }
25920
cat >conftest.$ac_ext <<_ACEOF
25923
cat confdefs.h >>conftest.$ac_ext
25924
cat >>conftest.$ac_ext <<_ACEOF
25925
/* end confdefs.h. */
25926
$ac_includes_default
25927
long longval () { return (long) (sizeof (char *)); }
25928
unsigned long ulongval () { return (long) (sizeof (char *)); }
25930
#include <stdlib.h>
25935
FILE *f = fopen ("conftest.val", "w");
25938
if (((long) (sizeof (char *))) < 0)
25940
long i = longval ();
25941
if (i != ((long) (sizeof (char *))))
25943
fprintf (f, "%ld\n", i);
25947
unsigned long i = ulongval ();
25948
if (i != ((long) (sizeof (char *))))
25950
fprintf (f, "%lu\n", i);
25952
exit (ferror (f) || fclose (f) != 0);
25958
rm -f conftest$ac_exeext
25959
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25960
(eval $ac_link) 2>&5
25962
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25963
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25964
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25965
(eval $ac_try) 2>&5
25967
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25968
(exit $ac_status); }; }; then
25969
ac_cv_sizeof_char_p=`cat conftest.val`
25971
echo "$as_me: program exited with status $ac_status" >&5
25972
echo "$as_me: failed program was:" >&5
25973
sed 's/^/| /' conftest.$ac_ext >&5
25975
( exit $ac_status )
25976
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (char *), 77
25977
See \`config.log' for more details." >&5
25978
echo "$as_me: error: cannot compute sizeof (char *), 77
25979
See \`config.log' for more details." >&2;}
25980
{ (exit 1); exit 1; }; }
25982
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25987
ac_cv_sizeof_char_p=0
25990
echo "$as_me:$LINENO: result: $ac_cv_sizeof_char_p" >&5
25991
echo "${ECHO_T}$ac_cv_sizeof_char_p" >&6
25992
cat >>confdefs.h <<_ACEOF
25993
#define SIZEOF_CHAR_P $ac_cv_sizeof_char_p
25998
echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
25999
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
26000
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
26001
echo $ECHO_N "(cached) $ECHO_C" >&6
26003
ac_check_lib_save_LIBS=$LIBS
26005
cat >conftest.$ac_ext <<_ACEOF
26008
cat confdefs.h >>conftest.$ac_ext
26009
cat >>conftest.$ac_ext <<_ACEOF
26010
/* end confdefs.h. */
26012
/* Override any gcc2 internal prototype to avoid an error. */
26016
/* We use char because int might match the return type of a gcc2
26017
builtin and then its argument prototype would still apply. */
26027
rm -f conftest.$ac_objext conftest$ac_exeext
26028
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26029
(eval $ac_link) 2>conftest.er1
26031
grep -v '^ *+' conftest.er1 >conftest.err
26033
cat conftest.err >&5
26034
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26035
(exit $ac_status); } &&
26036
{ ac_try='test -z "$ac_c_werror_flag"
26037
|| test ! -s conftest.err'
26038
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26039
(eval $ac_try) 2>&5
26041
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26042
(exit $ac_status); }; } &&
26043
{ ac_try='test -s conftest$ac_exeext'
26044
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26045
(eval $ac_try) 2>&5
26047
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26048
(exit $ac_status); }; }; then
26049
ac_cv_lib_dl_dlopen=yes
26051
echo "$as_me: failed program was:" >&5
26052
sed 's/^/| /' conftest.$ac_ext >&5
26054
ac_cv_lib_dl_dlopen=no
26056
rm -f conftest.err conftest.$ac_objext \
26057
conftest$ac_exeext conftest.$ac_ext
26058
LIBS=$ac_check_lib_save_LIBS
26060
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
26061
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
26062
if test $ac_cv_lib_dl_dlopen = yes; then
26065
ac_cv_have_dlfcn=yes
26070
echo "$as_me:$LINENO: checking for shl_unload in -ldld" >&5
26071
echo $ECHO_N "checking for shl_unload in -ldld... $ECHO_C" >&6
26072
if test "${ac_cv_lib_dld_shl_unload+set}" = set; then
26073
echo $ECHO_N "(cached) $ECHO_C" >&6
26075
ac_check_lib_save_LIBS=$LIBS
26077
cat >conftest.$ac_ext <<_ACEOF
26080
cat confdefs.h >>conftest.$ac_ext
26081
cat >>conftest.$ac_ext <<_ACEOF
26082
/* end confdefs.h. */
26084
/* Override any gcc2 internal prototype to avoid an error. */
26088
/* We use char because int might match the return type of a gcc2
26089
builtin and then its argument prototype would still apply. */
26090
char shl_unload ();
26099
rm -f conftest.$ac_objext conftest$ac_exeext
26100
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26101
(eval $ac_link) 2>conftest.er1
26103
grep -v '^ *+' conftest.er1 >conftest.err
26105
cat conftest.err >&5
26106
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26107
(exit $ac_status); } &&
26108
{ ac_try='test -z "$ac_c_werror_flag"
26109
|| test ! -s conftest.err'
26110
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26111
(eval $ac_try) 2>&5
26113
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26114
(exit $ac_status); }; } &&
26115
{ ac_try='test -s conftest$ac_exeext'
26116
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26117
(eval $ac_try) 2>&5
26119
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26120
(exit $ac_status); }; }; then
26121
ac_cv_lib_dld_shl_unload=yes
26123
echo "$as_me: failed program was:" >&5
26124
sed 's/^/| /' conftest.$ac_ext >&5
26126
ac_cv_lib_dld_shl_unload=no
26128
rm -f conftest.err conftest.$ac_objext \
26129
conftest$ac_exeext conftest.$ac_ext
26130
LIBS=$ac_check_lib_save_LIBS
26132
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_unload" >&5
26133
echo "${ECHO_T}$ac_cv_lib_dld_shl_unload" >&6
26134
if test $ac_cv_lib_dld_shl_unload = yes; then
26137
ac_cv_have_shload=yes
26147
echo "$as_me:$LINENO: checking for size_t" >&5
26148
echo $ECHO_N "checking for size_t... $ECHO_C" >&6
26149
if test "${ac_cv_type_size_t+set}" = set; then
26150
echo $ECHO_N "(cached) $ECHO_C" >&6
26152
cat >conftest.$ac_ext <<_ACEOF
26155
cat confdefs.h >>conftest.$ac_ext
26156
cat >>conftest.$ac_ext <<_ACEOF
26157
/* end confdefs.h. */
26158
$ac_includes_default
26164
if (sizeof (size_t))
26170
rm -f conftest.$ac_objext
26171
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26172
(eval $ac_compile) 2>conftest.er1
26174
grep -v '^ *+' conftest.er1 >conftest.err
26176
cat conftest.err >&5
26177
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26178
(exit $ac_status); } &&
26179
{ ac_try='test -z "$ac_c_werror_flag"
26180
|| test ! -s conftest.err'
26181
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26182
(eval $ac_try) 2>&5
26184
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26185
(exit $ac_status); }; } &&
26186
{ ac_try='test -s conftest.$ac_objext'
26187
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26188
(eval $ac_try) 2>&5
26190
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26191
(exit $ac_status); }; }; then
26192
ac_cv_type_size_t=yes
26194
echo "$as_me: failed program was:" >&5
26195
sed 's/^/| /' conftest.$ac_ext >&5
26197
ac_cv_type_size_t=no
26199
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26201
echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
26202
echo "${ECHO_T}$ac_cv_type_size_t" >&6
26204
echo "$as_me:$LINENO: checking size of size_t" >&5
26205
echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
26206
if test "${ac_cv_sizeof_size_t+set}" = set; then
26207
echo $ECHO_N "(cached) $ECHO_C" >&6
26209
if test "$ac_cv_type_size_t" = yes; then
26210
# The cast to unsigned long works around a bug in the HP C Compiler
26211
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26212
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
26213
# This bug is HP SR number 8606223364.
26214
if test "$cross_compiling" = yes; then
26215
# Depending upon the size, compute the lo and hi bounds.
26216
cat >conftest.$ac_ext <<_ACEOF
26219
cat confdefs.h >>conftest.$ac_ext
26220
cat >>conftest.$ac_ext <<_ACEOF
26221
/* end confdefs.h. */
26222
$ac_includes_default
26226
static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
26233
rm -f conftest.$ac_objext
26234
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26235
(eval $ac_compile) 2>conftest.er1
26237
grep -v '^ *+' conftest.er1 >conftest.err
26239
cat conftest.err >&5
26240
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26241
(exit $ac_status); } &&
26242
{ ac_try='test -z "$ac_c_werror_flag"
26243
|| test ! -s conftest.err'
26244
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26245
(eval $ac_try) 2>&5
26247
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26248
(exit $ac_status); }; } &&
26249
{ ac_try='test -s conftest.$ac_objext'
26250
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26251
(eval $ac_try) 2>&5
26253
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26254
(exit $ac_status); }; }; then
26257
cat >conftest.$ac_ext <<_ACEOF
26260
cat confdefs.h >>conftest.$ac_ext
26261
cat >>conftest.$ac_ext <<_ACEOF
26262
/* end confdefs.h. */
26263
$ac_includes_default
26267
static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
26274
rm -f conftest.$ac_objext
26275
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26276
(eval $ac_compile) 2>conftest.er1
26278
grep -v '^ *+' conftest.er1 >conftest.err
26280
cat conftest.err >&5
26281
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26282
(exit $ac_status); } &&
26283
{ ac_try='test -z "$ac_c_werror_flag"
26284
|| test ! -s conftest.err'
26285
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26286
(eval $ac_try) 2>&5
26288
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26289
(exit $ac_status); }; } &&
26290
{ ac_try='test -s conftest.$ac_objext'
26291
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26292
(eval $ac_try) 2>&5
26294
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26295
(exit $ac_status); }; }; then
26296
ac_hi=$ac_mid; break
26298
echo "$as_me: failed program was:" >&5
26299
sed 's/^/| /' conftest.$ac_ext >&5
26301
ac_lo=`expr $ac_mid + 1`
26302
if test $ac_lo -le $ac_mid; then
26306
ac_mid=`expr 2 '*' $ac_mid + 1`
26308
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26311
echo "$as_me: failed program was:" >&5
26312
sed 's/^/| /' conftest.$ac_ext >&5
26314
cat >conftest.$ac_ext <<_ACEOF
26317
cat confdefs.h >>conftest.$ac_ext
26318
cat >>conftest.$ac_ext <<_ACEOF
26319
/* end confdefs.h. */
26320
$ac_includes_default
26324
static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
26331
rm -f conftest.$ac_objext
26332
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26333
(eval $ac_compile) 2>conftest.er1
26335
grep -v '^ *+' conftest.er1 >conftest.err
26337
cat conftest.err >&5
26338
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26339
(exit $ac_status); } &&
26340
{ ac_try='test -z "$ac_c_werror_flag"
26341
|| test ! -s conftest.err'
26342
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26343
(eval $ac_try) 2>&5
26345
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26346
(exit $ac_status); }; } &&
26347
{ ac_try='test -s conftest.$ac_objext'
26348
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26349
(eval $ac_try) 2>&5
26351
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26352
(exit $ac_status); }; }; then
26355
cat >conftest.$ac_ext <<_ACEOF
26358
cat confdefs.h >>conftest.$ac_ext
26359
cat >>conftest.$ac_ext <<_ACEOF
26360
/* end confdefs.h. */
26361
$ac_includes_default
26365
static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
26372
rm -f conftest.$ac_objext
26373
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26374
(eval $ac_compile) 2>conftest.er1
26376
grep -v '^ *+' conftest.er1 >conftest.err
26378
cat conftest.err >&5
26379
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26380
(exit $ac_status); } &&
26381
{ ac_try='test -z "$ac_c_werror_flag"
26382
|| test ! -s conftest.err'
26383
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26384
(eval $ac_try) 2>&5
26386
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26387
(exit $ac_status); }; } &&
26388
{ ac_try='test -s conftest.$ac_objext'
26389
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26390
(eval $ac_try) 2>&5
26392
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26393
(exit $ac_status); }; }; then
26394
ac_lo=$ac_mid; break
26396
echo "$as_me: failed program was:" >&5
26397
sed 's/^/| /' conftest.$ac_ext >&5
26399
ac_hi=`expr '(' $ac_mid ')' - 1`
26400
if test $ac_mid -le $ac_hi; then
26404
ac_mid=`expr 2 '*' $ac_mid`
26406
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26409
echo "$as_me: failed program was:" >&5
26410
sed 's/^/| /' conftest.$ac_ext >&5
26414
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26416
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26417
# Binary search between lo and hi bounds.
26418
while test "x$ac_lo" != "x$ac_hi"; do
26419
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26420
cat >conftest.$ac_ext <<_ACEOF
26423
cat confdefs.h >>conftest.$ac_ext
26424
cat >>conftest.$ac_ext <<_ACEOF
26425
/* end confdefs.h. */
26426
$ac_includes_default
26430
static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
26437
rm -f conftest.$ac_objext
26438
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26439
(eval $ac_compile) 2>conftest.er1
26441
grep -v '^ *+' conftest.er1 >conftest.err
26443
cat conftest.err >&5
26444
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26445
(exit $ac_status); } &&
26446
{ ac_try='test -z "$ac_c_werror_flag"
26447
|| test ! -s conftest.err'
26448
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26449
(eval $ac_try) 2>&5
26451
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26452
(exit $ac_status); }; } &&
26453
{ ac_try='test -s conftest.$ac_objext'
26454
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26455
(eval $ac_try) 2>&5
26457
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26458
(exit $ac_status); }; }; then
26461
echo "$as_me: failed program was:" >&5
26462
sed 's/^/| /' conftest.$ac_ext >&5
26464
ac_lo=`expr '(' $ac_mid ')' + 1`
26466
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26469
?*) ac_cv_sizeof_size_t=$ac_lo;;
26470
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
26471
See \`config.log' for more details." >&5
26472
echo "$as_me: error: cannot compute sizeof (size_t), 77
26473
See \`config.log' for more details." >&2;}
26474
{ (exit 1); exit 1; }; } ;;
26477
if test "$cross_compiling" = yes; then
26478
{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
26479
See \`config.log' for more details." >&5
26480
echo "$as_me: error: cannot run test program while cross compiling
26481
See \`config.log' for more details." >&2;}
26482
{ (exit 1); exit 1; }; }
26484
cat >conftest.$ac_ext <<_ACEOF
26487
cat confdefs.h >>conftest.$ac_ext
26488
cat >>conftest.$ac_ext <<_ACEOF
26489
/* end confdefs.h. */
26490
$ac_includes_default
26491
long longval () { return (long) (sizeof (size_t)); }
26492
unsigned long ulongval () { return (long) (sizeof (size_t)); }
26494
#include <stdlib.h>
26499
FILE *f = fopen ("conftest.val", "w");
26502
if (((long) (sizeof (size_t))) < 0)
26504
long i = longval ();
26505
if (i != ((long) (sizeof (size_t))))
26507
fprintf (f, "%ld\n", i);
26511
unsigned long i = ulongval ();
26512
if (i != ((long) (sizeof (size_t))))
26514
fprintf (f, "%lu\n", i);
26516
exit (ferror (f) || fclose (f) != 0);
26522
rm -f conftest$ac_exeext
26523
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26524
(eval $ac_link) 2>&5
26526
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26527
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26528
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26529
(eval $ac_try) 2>&5
26531
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26532
(exit $ac_status); }; }; then
26533
ac_cv_sizeof_size_t=`cat conftest.val`
26535
echo "$as_me: program exited with status $ac_status" >&5
26536
echo "$as_me: failed program was:" >&5
26537
sed 's/^/| /' conftest.$ac_ext >&5
26539
( exit $ac_status )
26540
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
26541
See \`config.log' for more details." >&5
26542
echo "$as_me: error: cannot compute sizeof (size_t), 77
26543
See \`config.log' for more details." >&2;}
26544
{ (exit 1); exit 1; }; }
26546
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26551
ac_cv_sizeof_size_t=0
26554
echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
26555
echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
26556
cat >>confdefs.h <<_ACEOF
26557
#define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
26561
echo "$as_me:$LINENO: checking for unsigned long" >&5
26562
echo $ECHO_N "checking for unsigned long... $ECHO_C" >&6
26563
if test "${ac_cv_type_unsigned_long+set}" = set; then
26564
echo $ECHO_N "(cached) $ECHO_C" >&6
26566
cat >conftest.$ac_ext <<_ACEOF
26569
cat confdefs.h >>conftest.$ac_ext
26570
cat >>conftest.$ac_ext <<_ACEOF
26571
/* end confdefs.h. */
26572
$ac_includes_default
26576
if ((unsigned long *) 0)
26578
if (sizeof (unsigned long))
26584
rm -f conftest.$ac_objext
26585
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26586
(eval $ac_compile) 2>conftest.er1
26588
grep -v '^ *+' conftest.er1 >conftest.err
26590
cat conftest.err >&5
26591
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26592
(exit $ac_status); } &&
26593
{ ac_try='test -z "$ac_c_werror_flag"
26594
|| test ! -s conftest.err'
26595
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26596
(eval $ac_try) 2>&5
26598
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26599
(exit $ac_status); }; } &&
26600
{ ac_try='test -s conftest.$ac_objext'
26601
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26602
(eval $ac_try) 2>&5
26604
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26605
(exit $ac_status); }; }; then
26606
ac_cv_type_unsigned_long=yes
26608
echo "$as_me: failed program was:" >&5
26609
sed 's/^/| /' conftest.$ac_ext >&5
26611
ac_cv_type_unsigned_long=no
26613
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26615
echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long" >&5
26616
echo "${ECHO_T}$ac_cv_type_unsigned_long" >&6
26618
echo "$as_me:$LINENO: checking size of unsigned long" >&5
26619
echo $ECHO_N "checking size of unsigned long... $ECHO_C" >&6
26620
if test "${ac_cv_sizeof_unsigned_long+set}" = set; then
26621
echo $ECHO_N "(cached) $ECHO_C" >&6
26623
if test "$ac_cv_type_unsigned_long" = yes; then
26624
# The cast to unsigned long works around a bug in the HP C Compiler
26625
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26626
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
26627
# This bug is HP SR number 8606223364.
26628
if test "$cross_compiling" = yes; then
26629
# Depending upon the size, compute the lo and hi bounds.
26630
cat >conftest.$ac_ext <<_ACEOF
26633
cat confdefs.h >>conftest.$ac_ext
26634
cat >>conftest.$ac_ext <<_ACEOF
26635
/* end confdefs.h. */
26636
$ac_includes_default
26640
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) >= 0)];
26647
rm -f conftest.$ac_objext
26648
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26649
(eval $ac_compile) 2>conftest.er1
26651
grep -v '^ *+' conftest.er1 >conftest.err
26653
cat conftest.err >&5
26654
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26655
(exit $ac_status); } &&
26656
{ ac_try='test -z "$ac_c_werror_flag"
26657
|| test ! -s conftest.err'
26658
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26659
(eval $ac_try) 2>&5
26661
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26662
(exit $ac_status); }; } &&
26663
{ ac_try='test -s conftest.$ac_objext'
26664
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26665
(eval $ac_try) 2>&5
26667
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26668
(exit $ac_status); }; }; then
26671
cat >conftest.$ac_ext <<_ACEOF
26674
cat confdefs.h >>conftest.$ac_ext
26675
cat >>conftest.$ac_ext <<_ACEOF
26676
/* end confdefs.h. */
26677
$ac_includes_default
26681
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) <= $ac_mid)];
26688
rm -f conftest.$ac_objext
26689
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26690
(eval $ac_compile) 2>conftest.er1
26692
grep -v '^ *+' conftest.er1 >conftest.err
26694
cat conftest.err >&5
26695
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26696
(exit $ac_status); } &&
26697
{ ac_try='test -z "$ac_c_werror_flag"
26698
|| test ! -s conftest.err'
26699
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26700
(eval $ac_try) 2>&5
26702
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26703
(exit $ac_status); }; } &&
26704
{ ac_try='test -s conftest.$ac_objext'
26705
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26706
(eval $ac_try) 2>&5
26708
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26709
(exit $ac_status); }; }; then
26710
ac_hi=$ac_mid; break
26712
echo "$as_me: failed program was:" >&5
26713
sed 's/^/| /' conftest.$ac_ext >&5
26715
ac_lo=`expr $ac_mid + 1`
26716
if test $ac_lo -le $ac_mid; then
26720
ac_mid=`expr 2 '*' $ac_mid + 1`
26722
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26725
echo "$as_me: failed program was:" >&5
26726
sed 's/^/| /' conftest.$ac_ext >&5
26728
cat >conftest.$ac_ext <<_ACEOF
26731
cat confdefs.h >>conftest.$ac_ext
26732
cat >>conftest.$ac_ext <<_ACEOF
26733
/* end confdefs.h. */
26734
$ac_includes_default
26738
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) < 0)];
26745
rm -f conftest.$ac_objext
26746
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26747
(eval $ac_compile) 2>conftest.er1
26749
grep -v '^ *+' conftest.er1 >conftest.err
26751
cat conftest.err >&5
26752
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26753
(exit $ac_status); } &&
26754
{ ac_try='test -z "$ac_c_werror_flag"
26755
|| test ! -s conftest.err'
26756
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26757
(eval $ac_try) 2>&5
26759
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26760
(exit $ac_status); }; } &&
26761
{ ac_try='test -s conftest.$ac_objext'
26762
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26763
(eval $ac_try) 2>&5
26765
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26766
(exit $ac_status); }; }; then
26769
cat >conftest.$ac_ext <<_ACEOF
26772
cat confdefs.h >>conftest.$ac_ext
26773
cat >>conftest.$ac_ext <<_ACEOF
26774
/* end confdefs.h. */
26775
$ac_includes_default
26779
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) >= $ac_mid)];
26786
rm -f conftest.$ac_objext
26787
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26788
(eval $ac_compile) 2>conftest.er1
26790
grep -v '^ *+' conftest.er1 >conftest.err
26792
cat conftest.err >&5
26793
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26794
(exit $ac_status); } &&
26795
{ ac_try='test -z "$ac_c_werror_flag"
26796
|| test ! -s conftest.err'
26797
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26798
(eval $ac_try) 2>&5
26800
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26801
(exit $ac_status); }; } &&
26802
{ ac_try='test -s conftest.$ac_objext'
26803
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26804
(eval $ac_try) 2>&5
26806
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26807
(exit $ac_status); }; }; then
26808
ac_lo=$ac_mid; break
26810
echo "$as_me: failed program was:" >&5
26811
sed 's/^/| /' conftest.$ac_ext >&5
26813
ac_hi=`expr '(' $ac_mid ')' - 1`
26814
if test $ac_mid -le $ac_hi; then
26818
ac_mid=`expr 2 '*' $ac_mid`
26820
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26823
echo "$as_me: failed program was:" >&5
26824
sed 's/^/| /' conftest.$ac_ext >&5
26828
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26830
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26831
# Binary search between lo and hi bounds.
26832
while test "x$ac_lo" != "x$ac_hi"; do
26833
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26834
cat >conftest.$ac_ext <<_ACEOF
26837
cat confdefs.h >>conftest.$ac_ext
26838
cat >>conftest.$ac_ext <<_ACEOF
26839
/* end confdefs.h. */
26840
$ac_includes_default
26844
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) <= $ac_mid)];
26851
rm -f conftest.$ac_objext
26852
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26853
(eval $ac_compile) 2>conftest.er1
26855
grep -v '^ *+' conftest.er1 >conftest.err
26857
cat conftest.err >&5
26858
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26859
(exit $ac_status); } &&
26860
{ ac_try='test -z "$ac_c_werror_flag"
26861
|| test ! -s conftest.err'
26862
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26863
(eval $ac_try) 2>&5
26865
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26866
(exit $ac_status); }; } &&
26867
{ ac_try='test -s conftest.$ac_objext'
26868
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26869
(eval $ac_try) 2>&5
26871
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26872
(exit $ac_status); }; }; then
26875
echo "$as_me: failed program was:" >&5
26876
sed 's/^/| /' conftest.$ac_ext >&5
26878
ac_lo=`expr '(' $ac_mid ')' + 1`
26880
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26883
?*) ac_cv_sizeof_unsigned_long=$ac_lo;;
26884
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long), 77
26885
See \`config.log' for more details." >&5
26886
echo "$as_me: error: cannot compute sizeof (unsigned long), 77
26887
See \`config.log' for more details." >&2;}
26888
{ (exit 1); exit 1; }; } ;;
26891
if test "$cross_compiling" = yes; then
26892
{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
26893
See \`config.log' for more details." >&5
26894
echo "$as_me: error: cannot run test program while cross compiling
26895
See \`config.log' for more details." >&2;}
26896
{ (exit 1); exit 1; }; }
26898
cat >conftest.$ac_ext <<_ACEOF
26901
cat confdefs.h >>conftest.$ac_ext
26902
cat >>conftest.$ac_ext <<_ACEOF
26903
/* end confdefs.h. */
26904
$ac_includes_default
26905
long longval () { return (long) (sizeof (unsigned long)); }
26906
unsigned long ulongval () { return (long) (sizeof (unsigned long)); }
26908
#include <stdlib.h>
26913
FILE *f = fopen ("conftest.val", "w");
26916
if (((long) (sizeof (unsigned long))) < 0)
26918
long i = longval ();
26919
if (i != ((long) (sizeof (unsigned long))))
26921
fprintf (f, "%ld\n", i);
26925
unsigned long i = ulongval ();
26926
if (i != ((long) (sizeof (unsigned long))))
26928
fprintf (f, "%lu\n", i);
26930
exit (ferror (f) || fclose (f) != 0);
26936
rm -f conftest$ac_exeext
26937
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26938
(eval $ac_link) 2>&5
26940
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26941
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26942
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26943
(eval $ac_try) 2>&5
26945
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26946
(exit $ac_status); }; }; then
26947
ac_cv_sizeof_unsigned_long=`cat conftest.val`
26949
echo "$as_me: program exited with status $ac_status" >&5
26950
echo "$as_me: failed program was:" >&5
26951
sed 's/^/| /' conftest.$ac_ext >&5
26953
( exit $ac_status )
26954
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long), 77
26955
See \`config.log' for more details." >&5
26956
echo "$as_me: error: cannot compute sizeof (unsigned long), 77
26957
See \`config.log' for more details." >&2;}
26958
{ (exit 1); exit 1; }; }
26960
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26965
ac_cv_sizeof_unsigned_long=0
26968
echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long" >&5
26969
echo "${ECHO_T}$ac_cv_sizeof_unsigned_long" >&6
26970
cat >>confdefs.h <<_ACEOF
26971
#define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
26976
echo "$as_me:$LINENO: checking sizeof size_t == sizeof unsigned long" >&5
26977
echo $ECHO_N "checking sizeof size_t == sizeof unsigned long... $ECHO_C" >&6
26978
cat >conftest.$ac_ext <<_ACEOF
26981
cat confdefs.h >>conftest.$ac_ext
26982
cat >>conftest.$ac_ext <<_ACEOF
26983
/* end confdefs.h. */
26989
#if SIZEOF_SIZE_T != SIZEOF_UNSIGNED_LONG
26997
rm -f conftest.$ac_objext
26998
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26999
(eval $ac_compile) 2>conftest.er1
27001
grep -v '^ *+' conftest.er1 >conftest.err
27003
cat conftest.err >&5
27004
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27005
(exit $ac_status); } &&
27006
{ ac_try='test -z "$ac_c_werror_flag"
27007
|| test ! -s conftest.err'
27008
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27009
(eval $ac_try) 2>&5
27011
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27012
(exit $ac_status); }; } &&
27013
{ ac_try='test -s conftest.$ac_objext'
27014
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27015
(eval $ac_try) 2>&5
27017
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27018
(exit $ac_status); }; }; then
27019
echo "$as_me:$LINENO: result: yes" >&5
27020
echo "${ECHO_T}yes" >&6
27022
echo "$as_me: failed program was:" >&5
27023
sed 's/^/| /' conftest.$ac_ext >&5
27026
echo "$as_me:$LINENO: result: no" >&5
27027
echo "${ECHO_T}no" >&6
27028
{ { echo "$as_me:$LINENO: error:
27029
Apparently on your system our assumption sizeof size_t == sizeof unsigned long
27030
does not apply. Please mail kde-devel@kde.org with a description of your system!
27032
echo "$as_me: error:
27033
Apparently on your system our assumption sizeof size_t == sizeof unsigned long
27034
does not apply. Please mail kde-devel@kde.org with a description of your system!
27036
{ (exit 1); exit 1; }; }
27039
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27042
# darwin needs this to initialize the environment
27044
for ac_header in crt_externs.h
27046
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27047
if eval "test \"\${$as_ac_Header+set}\" = set"; then
27048
echo "$as_me:$LINENO: checking for $ac_header" >&5
27049
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27050
if eval "test \"\${$as_ac_Header+set}\" = set"; then
27051
echo $ECHO_N "(cached) $ECHO_C" >&6
27053
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27054
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27056
# Is the header compilable?
27057
echo "$as_me:$LINENO: checking $ac_header usability" >&5
27058
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27059
cat >conftest.$ac_ext <<_ACEOF
27062
cat confdefs.h >>conftest.$ac_ext
27063
cat >>conftest.$ac_ext <<_ACEOF
27064
/* end confdefs.h. */
27065
$ac_includes_default
27066
#include <$ac_header>
27068
rm -f conftest.$ac_objext
27069
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27070
(eval $ac_compile) 2>conftest.er1
27072
grep -v '^ *+' conftest.er1 >conftest.err
27074
cat conftest.err >&5
27075
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27076
(exit $ac_status); } &&
27077
{ ac_try='test -z "$ac_c_werror_flag"
27078
|| test ! -s conftest.err'
27079
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27080
(eval $ac_try) 2>&5
27082
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27083
(exit $ac_status); }; } &&
27084
{ ac_try='test -s conftest.$ac_objext'
27085
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27086
(eval $ac_try) 2>&5
27088
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27089
(exit $ac_status); }; }; then
27090
ac_header_compiler=yes
27092
echo "$as_me: failed program was:" >&5
27093
sed 's/^/| /' conftest.$ac_ext >&5
27095
ac_header_compiler=no
27097
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27098
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27099
echo "${ECHO_T}$ac_header_compiler" >&6
27101
# Is the header present?
27102
echo "$as_me:$LINENO: checking $ac_header presence" >&5
27103
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27104
cat >conftest.$ac_ext <<_ACEOF
27107
cat confdefs.h >>conftest.$ac_ext
27108
cat >>conftest.$ac_ext <<_ACEOF
27109
/* end confdefs.h. */
27110
#include <$ac_header>
27112
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27113
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27115
grep -v '^ *+' conftest.er1 >conftest.err
27117
cat conftest.err >&5
27118
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27119
(exit $ac_status); } >/dev/null; then
27120
if test -s conftest.err; then
27121
ac_cpp_err=$ac_c_preproc_warn_flag
27122
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27129
if test -z "$ac_cpp_err"; then
27130
ac_header_preproc=yes
27132
echo "$as_me: failed program was:" >&5
27133
sed 's/^/| /' conftest.$ac_ext >&5
27135
ac_header_preproc=no
27137
rm -f conftest.err conftest.$ac_ext
27138
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27139
echo "${ECHO_T}$ac_header_preproc" >&6
27141
# So? What about this header?
27142
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27144
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27145
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27146
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27147
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27148
ac_header_preproc=yes
27151
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27152
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27153
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27154
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27155
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27156
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27157
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27158
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27159
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27160
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27161
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27162
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27165
## ------------------------------------------ ##
27166
## Report this to the AC_PACKAGE_NAME lists. ##
27167
## ------------------------------------------ ##
27170
sed "s/^/$as_me: WARNING: /" >&2
27173
echo "$as_me:$LINENO: checking for $ac_header" >&5
27174
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27175
if eval "test \"\${$as_ac_Header+set}\" = set"; then
27176
echo $ECHO_N "(cached) $ECHO_C" >&6
27178
eval "$as_ac_Header=\$ac_header_preproc"
27180
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27181
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27184
if test `eval echo '${'$as_ac_Header'}'` = yes; then
27185
cat >>confdefs.h <<_ACEOF
27186
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27193
echo "$as_me:$LINENO: checking for _NSGetEnviron" >&5
27194
echo $ECHO_N "checking for _NSGetEnviron... $ECHO_C" >&6
27195
if test "${ac_cv_func__NSGetEnviron+set}" = set; then
27196
echo $ECHO_N "(cached) $ECHO_C" >&6
27198
cat >conftest.$ac_ext <<_ACEOF
27201
cat confdefs.h >>conftest.$ac_ext
27202
cat >>conftest.$ac_ext <<_ACEOF
27203
/* end confdefs.h. */
27204
/* Define _NSGetEnviron to an innocuous variant, in case <limits.h> declares _NSGetEnviron.
27205
For example, HP-UX 11i <limits.h> declares gettimeofday. */
27206
#define _NSGetEnviron innocuous__NSGetEnviron
27208
/* System header to define __stub macros and hopefully few prototypes,
27209
which can conflict with char _NSGetEnviron (); below.
27210
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27211
<limits.h> exists even on freestanding compilers. */
27214
# include <limits.h>
27216
# include <assert.h>
27219
#undef _NSGetEnviron
27221
/* Override any gcc2 internal prototype to avoid an error. */
27226
/* We use char because int might match the return type of a gcc2
27227
builtin and then its argument prototype would still apply. */
27228
char _NSGetEnviron ();
27229
/* The GNU C library defines this for functions which it implements
27230
to always fail with ENOSYS. Some functions are actually named
27231
something starting with __ and the normal name is an alias. */
27232
#if defined (__stub__NSGetEnviron) || defined (__stub____NSGetEnviron)
27235
char (*f) () = _NSGetEnviron;
27244
return f != _NSGetEnviron;
27249
rm -f conftest.$ac_objext conftest$ac_exeext
27250
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27251
(eval $ac_link) 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
{ ac_try='test -z "$ac_c_werror_flag"
27259
|| test ! -s conftest.err'
27260
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27261
(eval $ac_try) 2>&5
27263
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27264
(exit $ac_status); }; } &&
27265
{ ac_try='test -s conftest$ac_exeext'
27266
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27267
(eval $ac_try) 2>&5
27269
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27270
(exit $ac_status); }; }; then
27271
ac_cv_func__NSGetEnviron=yes
27273
echo "$as_me: failed program was:" >&5
27274
sed 's/^/| /' conftest.$ac_ext >&5
27276
ac_cv_func__NSGetEnviron=no
27278
rm -f conftest.err conftest.$ac_objext \
27279
conftest$ac_exeext conftest.$ac_ext
27281
echo "$as_me:$LINENO: result: $ac_cv_func__NSGetEnviron" >&5
27282
echo "${ECHO_T}$ac_cv_func__NSGetEnviron" >&6
27283
if test $ac_cv_func__NSGetEnviron = yes; then
27285
cat >>confdefs.h <<\_ACEOF
27286
#define HAVE_NSGETENVIRON 1
27300
for ac_func in vsnprintf snprintf
27302
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27303
echo "$as_me:$LINENO: checking for $ac_func" >&5
27304
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27305
if eval "test \"\${$as_ac_var+set}\" = set"; then
27306
echo $ECHO_N "(cached) $ECHO_C" >&6
27308
cat >conftest.$ac_ext <<_ACEOF
27311
cat confdefs.h >>conftest.$ac_ext
27312
cat >>conftest.$ac_ext <<_ACEOF
27313
/* end confdefs.h. */
27314
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27315
For example, HP-UX 11i <limits.h> declares gettimeofday. */
27316
#define $ac_func innocuous_$ac_func
27318
/* System header to define __stub macros and hopefully few prototypes,
27319
which can conflict with char $ac_func (); below.
27320
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27321
<limits.h> exists even on freestanding compilers. */
27324
# include <limits.h>
27326
# include <assert.h>
27331
/* Override any gcc2 internal prototype to avoid an error. */
27336
/* We use char because int might match the return type of a gcc2
27337
builtin and then its argument prototype would still apply. */
27339
/* The GNU C library defines this for functions which it implements
27340
to always fail with ENOSYS. Some functions are actually named
27341
something starting with __ and the normal name is an alias. */
27342
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27345
char (*f) () = $ac_func;
27354
return f != $ac_func;
27359
rm -f conftest.$ac_objext conftest$ac_exeext
27360
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27361
(eval $ac_link) 2>conftest.er1
27363
grep -v '^ *+' conftest.er1 >conftest.err
27365
cat conftest.err >&5
27366
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27367
(exit $ac_status); } &&
27368
{ ac_try='test -z "$ac_c_werror_flag"
27369
|| test ! -s conftest.err'
27370
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27371
(eval $ac_try) 2>&5
27373
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27374
(exit $ac_status); }; } &&
27375
{ ac_try='test -s conftest$ac_exeext'
27376
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27377
(eval $ac_try) 2>&5
27379
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27380
(exit $ac_status); }; }; then
27381
eval "$as_ac_var=yes"
27383
echo "$as_me: failed program was:" >&5
27384
sed 's/^/| /' conftest.$ac_ext >&5
27386
eval "$as_ac_var=no"
27388
rm -f conftest.err conftest.$ac_objext \
27389
conftest$ac_exeext conftest.$ac_ext
27391
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27392
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27393
if test `eval echo '${'$as_ac_var'}'` = yes; then
27394
cat >>confdefs.h <<_ACEOF
27395
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27409
# Check whether --enable-embedded or --disable-embedded was given.
27410
if test "${enable_embedded+set}" = set; then
27411
enableval="$enable_embedded"
27412
kde_use_qt_emb=$enableval
27418
# Check whether --enable-qtopia or --disable-qtopia was given.
27419
if test "${enable_qtopia+set}" = set; then
27420
enableval="$enable_qtopia"
27421
kde_use_qt_emb_palm=$enableval
27423
kde_use_qt_emb_palm=no
27427
# Check whether --enable-mac or --disable-mac was given.
27428
if test "${enable_mac+set}" = set; then
27429
enableval="$enable_mac"
27430
kde_use_qt_mac=$enableval
27436
if test "$kde_use_qt_emb" = "no" && test "$kde_use_qt_mac" = "no"; then
27438
echo "$as_me:$LINENO: checking for X" >&5
27439
echo $ECHO_N "checking for X... $ECHO_C" >&6
27441
if test "${kde_cv_have_x+set}" = set; then
27442
echo $ECHO_N "(cached) $ECHO_C" >&6
27444
# One or both of the vars are not set, and there is no cached value.
27445
if test "{$x_includes+set}" = set || test "$x_includes" = NONE; then
27448
kde_x_includes=$x_includes
27450
if test "{$x_libraries+set}" = set || test "$x_libraries" = NONE; then
27453
kde_x_libraries=$x_libraries
27456
# below we use the standard autoconf calls
27457
ac_x_libraries=$kde_x_libraries
27458
ac_x_includes=$kde_x_includes
27463
if test "$ac_x_includes" = NO; then
27464
# Guess where to find include files, by looking for this one X11 .h file.
27465
test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h
27467
# First, try using that file with no special directory specified.
27468
cat >conftest.$ac_ext <<_ACEOF
27471
cat confdefs.h >>conftest.$ac_ext
27472
cat >>conftest.$ac_ext <<_ACEOF
27473
/* end confdefs.h. */
27474
#include <$x_direct_test_include>
27476
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27477
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27479
grep -v '^ *+' conftest.er1 >conftest.err
27481
cat conftest.err >&5
27482
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27483
(exit $ac_status); } >/dev/null; then
27484
if test -s conftest.err; then
27485
ac_cpp_err=$ac_c_preproc_warn_flag
27486
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27493
if test -z "$ac_cpp_err"; then
27494
# We can compile using X headers with no special include directory.
27497
echo "$as_me: failed program was:" >&5
27498
sed 's/^/| /' conftest.$ac_ext >&5
27500
# Look for the header file in a standard set of common directories.
27501
# Check X11 before X11Rn because it is often a symlink to the current release.
27504
/usr/X11R6/include \
27505
/usr/X11R5/include \
27506
/usr/X11R4/include \
27509
/usr/include/X11R6 \
27510
/usr/include/X11R5 \
27511
/usr/include/X11R4 \
27513
/usr/local/X11/include \
27514
/usr/local/X11R6/include \
27515
/usr/local/X11R5/include \
27516
/usr/local/X11R4/include \
27518
/usr/local/include/X11 \
27519
/usr/local/include/X11R6 \
27520
/usr/local/include/X11R5 \
27521
/usr/local/include/X11R4 \
27523
/usr/X386/include \
27524
/usr/x386/include \
27525
/usr/XFree86/include/X11 \
27528
/usr/local/include \
27529
/usr/unsupported/include \
27530
/usr/athena/include \
27531
/usr/local/x11r5/include \
27532
/usr/lpp/Xamples/include \
27534
/usr/openwin/include \
27535
/usr/openwin/share/include \
27538
if test -r "$ac_dir/$x_direct_test_include"; then
27539
ac_x_includes=$ac_dir
27544
rm -f conftest.err conftest.$ac_ext
27545
fi # $ac_x_includes = NO
27547
if test "$ac_x_libraries" = NO; then
27548
# Check for the libraries.
27550
test -z "$x_direct_test_library" && x_direct_test_library=Xt
27551
test -z "$x_direct_test_function" && x_direct_test_function=XtMalloc
27553
# See if we find them without any special options.
27554
# Don't add to $LIBS permanently.
27555
ac_save_LIBS="$LIBS"
27556
LIBS="-l$x_direct_test_library $LIBS"
27557
cat >conftest.$ac_ext <<_ACEOF
27560
cat confdefs.h >>conftest.$ac_ext
27561
cat >>conftest.$ac_ext <<_ACEOF
27562
/* end confdefs.h. */
27567
${x_direct_test_function}()
27572
rm -f conftest.$ac_objext conftest$ac_exeext
27573
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27574
(eval $ac_link) 2>conftest.er1
27576
grep -v '^ *+' conftest.er1 >conftest.err
27578
cat conftest.err >&5
27579
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27580
(exit $ac_status); } &&
27581
{ ac_try='test -z "$ac_c_werror_flag"
27582
|| test ! -s conftest.err'
27583
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27584
(eval $ac_try) 2>&5
27586
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27587
(exit $ac_status); }; } &&
27588
{ ac_try='test -s conftest$ac_exeext'
27589
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27590
(eval $ac_try) 2>&5
27592
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27593
(exit $ac_status); }; }; then
27594
LIBS="$ac_save_LIBS"
27595
# We can link X programs with no special library path.
27598
echo "$as_me: failed program was:" >&5
27599
sed 's/^/| /' conftest.$ac_ext >&5
27601
LIBS="$ac_save_LIBS"
27602
# First see if replacing the include by lib works.
27603
# Check X11 before X11Rn because it is often a symlink to the current release.
27604
for ac_dir in `echo "$ac_x_includes" | sed s/include/lib${kdelibsuff}/` \
27605
/usr/X11/lib${kdelibsuff} \
27606
/usr/X11R6/lib${kdelibsuff} \
27607
/usr/X11R5/lib${kdelibsuff} \
27608
/usr/X11R4/lib${kdelibsuff} \
27610
/usr/lib${kdelibsuff}/X11 \
27611
/usr/lib${kdelibsuff}/X11R6 \
27612
/usr/lib${kdelibsuff}/X11R5 \
27613
/usr/lib${kdelibsuff}/X11R4 \
27615
/usr/local/X11/lib${kdelibsuff} \
27616
/usr/local/X11R6/lib${kdelibsuff} \
27617
/usr/local/X11R5/lib${kdelibsuff} \
27618
/usr/local/X11R4/lib${kdelibsuff} \
27620
/usr/local/lib${kdelibsuff}/X11 \
27621
/usr/local/lib${kdelibsuff}/X11R6 \
27622
/usr/local/lib${kdelibsuff}/X11R5 \
27623
/usr/local/lib${kdelibsuff}/X11R4 \
27625
/usr/X386/lib${kdelibsuff} \
27626
/usr/x386/lib${kdelibsuff} \
27627
/usr/XFree86/lib${kdelibsuff}/X11 \
27629
/usr/lib${kdelibsuff} \
27630
/usr/local/lib${kdelibsuff} \
27631
/usr/unsupported/lib${kdelibsuff} \
27632
/usr/athena/lib${kdelibsuff} \
27633
/usr/local/x11r5/lib${kdelibsuff} \
27634
/usr/lpp/Xamples/lib${kdelibsuff} \
27635
/lib/usr/lib${kdelibsuff}/X11 \
27637
/usr/openwin/lib${kdelibsuff} \
27638
/usr/openwin/share/lib${kdelibsuff} \
27641
for ac_extension in a so sl; do
27642
if test -r $ac_dir/lib${x_direct_test_library}.$ac_extension; then
27643
ac_x_libraries=$ac_dir
27649
rm -f conftest.err conftest.$ac_objext \
27650
conftest$ac_exeext conftest.$ac_ext
27651
fi # $ac_x_libraries = NO
27659
rm -fr conftest.dir
27660
if mkdir conftest.dir; then
27662
# Make sure to not put "make" in the Imakefile rules, since we grep it out.
27663
cat >Imakefile <<'_ACEOF'
27665
@echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
27667
if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
27668
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
27669
eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
27670
# Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
27671
for ac_extension in a so sl; do
27672
if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
27673
test -f $ac_im_libdir/libX11.$ac_extension; then
27674
ac_im_usrlibdir=$ac_im_libdir; break
27677
# Screen out bogus values from the imake configuration. They are
27678
# bogus both because they are the default anyway, and because
27679
# using them would break gcc on systems where it needs fixed includes.
27680
case $ac_im_incroot in
27682
*) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
27684
case $ac_im_usrlibdir in
27685
/usr/lib | /lib) ;;
27686
*) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
27690
rm -fr conftest.dir
27693
if test -z "$ac_x_includes"; then
27696
if test -z "$ac_x_libraries"; then
27697
ac_x_libraries="/usr/lib${kdelibsuff}"
27700
#from now on we use our own again
27702
# when the user already gave --x-includes, we ignore
27703
# what the standard autoconf macros told us.
27704
if test "$kde_x_includes" = NO; then
27705
kde_x_includes=$ac_x_includes
27708
# for --x-libraries too
27709
if test "$kde_x_libraries" = NO; then
27710
kde_x_libraries=$ac_x_libraries
27713
if test "$kde_x_includes" = NO; then
27714
{ { echo "$as_me:$LINENO: error: Can't find X includes. Please check your installation and add the correct paths!" >&5
27715
echo "$as_me: error: Can't find X includes. Please check your installation and add the correct paths!" >&2;}
27716
{ (exit 1); exit 1; }; }
27719
if test "$kde_x_libraries" = NO; then
27720
{ { echo "$as_me:$LINENO: error: Can't find X libraries. Please check your installation and add the correct paths!" >&5
27721
echo "$as_me: error: Can't find X libraries. Please check your installation and add the correct paths!" >&2;}
27722
{ (exit 1); exit 1; }; }
27725
# Record where we found X for the cache.
27726
kde_cv_have_x="have_x=yes \
27727
kde_x_includes=$kde_x_includes kde_x_libraries=$kde_x_libraries"
27731
eval "$kde_cv_have_x"
27733
if test "$have_x" != yes; then
27734
echo "$as_me:$LINENO: result: $have_x" >&5
27735
echo "${ECHO_T}$have_x" >&6
27738
echo "$as_me:$LINENO: result: libraries $kde_x_libraries, headers $kde_x_includes" >&5
27739
echo "${ECHO_T}libraries $kde_x_libraries, headers $kde_x_includes" >&6
27742
if test -z "$kde_x_includes" || test "x$kde_x_includes" = xNONE; then
27744
x_includes="."; else
27745
x_includes=$kde_x_includes
27746
X_INCLUDES="-I$x_includes"
27749
if test -z "$kde_x_libraries" || test "x$kde_x_libraries" = xNONE; then
27751
x_libraries="/usr/lib"; else
27752
x_libraries=$kde_x_libraries
27753
X_LDFLAGS="-L$x_libraries"
27755
all_includes="$X_INCLUDES"
27756
all_libraries="$X_LDFLAGS"
27758
# Check for libraries that X11R6 Xt/Xaw programs need.
27759
ac_save_LDFLAGS="$LDFLAGS"
27760
LDFLAGS="$LDFLAGS $X_LDFLAGS"
27761
# SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
27762
# check for ICE first), but we must link in the order -lSM -lICE or
27763
# we get undefined symbols. So assume we have SM if we have ICE.
27764
# These have to be linked with before -lX11, unlike the other
27765
# libraries we check for below, so use a different variable.
27766
# --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
27767
echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
27768
echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
27769
if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
27770
echo $ECHO_N "(cached) $ECHO_C" >&6
27772
ac_check_lib_save_LIBS=$LIBS
27773
LIBS="-lICE $X_EXTRA_LIBS $LIBS"
27774
cat >conftest.$ac_ext <<_ACEOF
27777
cat confdefs.h >>conftest.$ac_ext
27778
cat >>conftest.$ac_ext <<_ACEOF
27779
/* end confdefs.h. */
27781
/* Override any gcc2 internal prototype to avoid an error. */
27785
/* We use char because int might match the return type of a gcc2
27786
builtin and then its argument prototype would still apply. */
27787
char IceConnectionNumber ();
27791
IceConnectionNumber ();
27796
rm -f conftest.$ac_objext conftest$ac_exeext
27797
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27798
(eval $ac_link) 2>conftest.er1
27800
grep -v '^ *+' conftest.er1 >conftest.err
27802
cat conftest.err >&5
27803
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27804
(exit $ac_status); } &&
27805
{ ac_try='test -z "$ac_c_werror_flag"
27806
|| test ! -s conftest.err'
27807
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27808
(eval $ac_try) 2>&5
27810
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27811
(exit $ac_status); }; } &&
27812
{ ac_try='test -s conftest$ac_exeext'
27813
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27814
(eval $ac_try) 2>&5
27816
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27817
(exit $ac_status); }; }; then
27818
ac_cv_lib_ICE_IceConnectionNumber=yes
27820
echo "$as_me: failed program was:" >&5
27821
sed 's/^/| /' conftest.$ac_ext >&5
27823
ac_cv_lib_ICE_IceConnectionNumber=no
27825
rm -f conftest.err conftest.$ac_objext \
27826
conftest$ac_exeext conftest.$ac_ext
27827
LIBS=$ac_check_lib_save_LIBS
27829
echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
27830
echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
27831
if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
27835
LDFLAGS="$ac_save_LDFLAGS"
27837
LIB_X11='-lX11 $(LIBSOCKET)'
27839
echo "$as_me:$LINENO: checking for libXext" >&5
27840
echo $ECHO_N "checking for libXext... $ECHO_C" >&6
27841
if test "${kde_cv_have_libXext+set}" = set; then
27842
echo $ECHO_N "(cached) $ECHO_C" >&6
27845
kde_ldflags_safe="$LDFLAGS"
27846
kde_libs_safe="$LIBS"
27848
LDFLAGS="$LDFLAGS $X_LDFLAGS $USER_LDFLAGS"
27849
LIBS="-lXext -lX11 $LIBSOCKET"
27851
cat >conftest.$ac_ext <<_ACEOF
27854
cat confdefs.h >>conftest.$ac_ext
27855
cat >>conftest.$ac_ext <<_ACEOF
27856
/* end confdefs.h. */
27859
#ifdef STDC_HEADERS
27860
# include <stdlib.h>
27867
printf("hello Xext\n");
27873
rm -f conftest.$ac_objext conftest$ac_exeext
27874
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27875
(eval $ac_link) 2>conftest.er1
27877
grep -v '^ *+' conftest.er1 >conftest.err
27879
cat conftest.err >&5
27880
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27881
(exit $ac_status); } &&
27882
{ ac_try='test -z "$ac_c_werror_flag"
27883
|| test ! -s conftest.err'
27884
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27885
(eval $ac_try) 2>&5
27887
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27888
(exit $ac_status); }; } &&
27889
{ ac_try='test -s conftest$ac_exeext'
27890
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27891
(eval $ac_try) 2>&5
27893
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27894
(exit $ac_status); }; }; then
27895
kde_cv_have_libXext=yes
27897
echo "$as_me: failed program was:" >&5
27898
sed 's/^/| /' conftest.$ac_ext >&5
27900
kde_cv_have_libXext=no
27903
rm -f conftest.err conftest.$ac_objext \
27904
conftest$ac_exeext conftest.$ac_ext
27906
LDFLAGS=$kde_ldflags_safe
27907
LIBS=$kde_libs_safe
27912
echo "$as_me:$LINENO: result: $kde_cv_have_libXext" >&5
27913
echo "${ECHO_T}$kde_cv_have_libXext" >&6
27915
if test "$kde_cv_have_libXext" = "no"; then
27916
{ { echo "$as_me:$LINENO: error: We need a working libXext to proceed. Since configure
27917
can't find it itself, we stop here assuming that make wouldn't find
27919
echo "$as_me: error: We need a working libXext to proceed. Since configure
27920
can't find it itself, we stop here assuming that make wouldn't find
27921
them either." >&2;}
27922
{ (exit 1); exit 1; }; }
27928
elif test "$kde_use_qt_emb" = "yes"; then
27930
CXXFLAGS="$CXXFLAGS -fno-rtti"
27931
QTE_NORTTI="-fno-rtti -DQWS"
27941
elif test "$kde_use_qt_mac" = "yes"; then
27942
CXXFLAGS="$CXXFLAGS -DQT_MAC -no-cpp-precomp"
27943
CFLAGS="$CFLAGS -DQT_MAC -no-cpp-precomp"
27967
echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
27968
echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6
27969
kde_safe_libs=$LIBS
27970
LIBS="$LIBS -lpthread"
27971
cat >conftest.$ac_ext <<_ACEOF
27974
cat confdefs.h >>conftest.$ac_ext
27975
cat >>conftest.$ac_ext <<_ACEOF
27976
/* end confdefs.h. */
27977
#include <pthread.h>
27981
(void)pthread_create(0,0,0,0);
27986
rm -f conftest.$ac_objext conftest$ac_exeext
27987
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27988
(eval $ac_link) 2>conftest.er1
27990
grep -v '^ *+' conftest.er1 >conftest.err
27992
cat conftest.err >&5
27993
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27994
(exit $ac_status); } &&
27995
{ ac_try='test -z "$ac_c_werror_flag"
27996
|| test ! -s conftest.err'
27997
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27998
(eval $ac_try) 2>&5
28000
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28001
(exit $ac_status); }; } &&
28002
{ ac_try='test -s conftest$ac_exeext'
28003
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28004
(eval $ac_try) 2>&5
28006
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28007
(exit $ac_status); }; }; then
28009
echo "$as_me:$LINENO: result: yes" >&5
28010
echo "${ECHO_T}yes" >&6
28011
LIBPTHREAD="-lpthread"
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
28020
rm -f conftest.err conftest.$ac_objext \
28021
conftest$ac_exeext conftest.$ac_ext
28022
LIBS=$kde_safe_libs
28028
if test -z "$LIBPTHREAD"; then
28030
echo "$as_me:$LINENO: checking whether $CXX supports -pthread" >&5
28031
echo $ECHO_N "checking whether $CXX supports -pthread... $ECHO_C" >&6
28032
kde_cache=`echo pthread | sed 'y% .=/+-,%____p__%'`
28033
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
28034
echo $ECHO_N "(cached) $ECHO_C" >&6
28040
ac_cpp='$CXXCPP $CPPFLAGS'
28041
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28042
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28043
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28045
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
28048
save_CXXFLAGS="$CXXFLAGS"
28049
CXXFLAGS="$CXXFLAGS -pthread"
28050
cat >conftest.$ac_ext <<_ACEOF
28053
cat confdefs.h >>conftest.$ac_ext
28054
cat >>conftest.$ac_ext <<_ACEOF
28055
/* end confdefs.h. */
28065
rm -f conftest.$ac_objext conftest$ac_exeext
28066
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28067
(eval $ac_link) 2>conftest.er1
28069
grep -v '^ *+' conftest.er1 >conftest.err
28071
cat conftest.err >&5
28072
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28073
(exit $ac_status); } &&
28074
{ ac_try='test -z "$ac_cxx_werror_flag"
28075
|| test ! -s conftest.err'
28076
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28077
(eval $ac_try) 2>&5
28079
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28080
(exit $ac_status); }; } &&
28081
{ ac_try='test -s conftest$ac_exeext'
28082
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28083
(eval $ac_try) 2>&5
28085
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28086
(exit $ac_status); }; }; then
28087
eval "kde_cv_prog_cxx_$kde_cache=yes"
28089
echo "$as_me: failed program was:" >&5
28090
sed 's/^/| /' conftest.$ac_ext >&5
28093
rm -f conftest.err conftest.$ac_objext \
28094
conftest$ac_exeext conftest.$ac_ext
28095
CXXFLAGS="$save_CXXFLAGS"
28097
ac_cpp='$CPP $CPPFLAGS'
28098
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28099
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28100
ac_compiler_gnu=$ac_cv_c_compiler_gnu
28105
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
28106
echo "$as_me:$LINENO: result: yes" >&5
28107
echo "${ECHO_T}yes" >&6
28109
USE_THREADS="-D_THREAD_SAFE -pthread"
28111
echo "$as_me:$LINENO: result: no" >&5
28112
echo "${ECHO_T}no" >&6
28124
echo "$as_me:$LINENO: checking whether $CXX supports -mt" >&5
28125
echo $ECHO_N "checking whether $CXX supports -mt... $ECHO_C" >&6
28126
kde_cache=`echo mt | sed 'y% .=/+-,%____p__%'`
28127
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
28128
echo $ECHO_N "(cached) $ECHO_C" >&6
28134
ac_cpp='$CXXCPP $CPPFLAGS'
28135
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28136
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28137
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28139
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
28142
save_CXXFLAGS="$CXXFLAGS"
28143
CXXFLAGS="$CXXFLAGS -mt"
28144
cat >conftest.$ac_ext <<_ACEOF
28147
cat confdefs.h >>conftest.$ac_ext
28148
cat >>conftest.$ac_ext <<_ACEOF
28149
/* end confdefs.h. */
28159
rm -f conftest.$ac_objext conftest$ac_exeext
28160
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28161
(eval $ac_link) 2>conftest.er1
28163
grep -v '^ *+' conftest.er1 >conftest.err
28165
cat conftest.err >&5
28166
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28167
(exit $ac_status); } &&
28168
{ ac_try='test -z "$ac_cxx_werror_flag"
28169
|| test ! -s conftest.err'
28170
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28171
(eval $ac_try) 2>&5
28173
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28174
(exit $ac_status); }; } &&
28175
{ ac_try='test -s conftest$ac_exeext'
28176
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28177
(eval $ac_try) 2>&5
28179
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28180
(exit $ac_status); }; }; then
28181
eval "kde_cv_prog_cxx_$kde_cache=yes"
28183
echo "$as_me: failed program was:" >&5
28184
sed 's/^/| /' conftest.$ac_ext >&5
28187
rm -f conftest.err conftest.$ac_objext \
28188
conftest$ac_exeext conftest.$ac_ext
28189
CXXFLAGS="$save_CXXFLAGS"
28191
ac_cpp='$CPP $CPPFLAGS'
28192
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28193
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28194
ac_compiler_gnu=$ac_cv_c_compiler_gnu
28199
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
28200
echo "$as_me:$LINENO: result: yes" >&5
28201
echo "${ECHO_T}yes" >&6
28205
echo "$as_me:$LINENO: result: no" >&5
28206
echo "${ECHO_T}no" >&6
28211
CPPFLAGS="$CPPFLAGS -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS -DSVR4"
28214
CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE $PTHREAD_CFLAGS"
28217
CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE"
28218
LIBPTHREAD="$LIBPTHREAD -lc_r"
28220
linux*) CPPFLAGS="$CPPFLAGS -D_REENTRANT"
28221
if test "$CXX" = "KCC"; then
28222
CXXFLAGS="$CXXFLAGS --thread_safe"
28223
NOOPT_CXXFLAGS="$NOOPT_CXXFLAGS --thread_safe"
28233
echo "$as_me:$LINENO: checking for extra includes" >&5
28234
echo $ECHO_N "checking for extra includes... $ECHO_C" >&6
28236
# Check whether --with-extra-includes or --without-extra-includes was given.
28237
if test "${with_extra_includes+set}" = set; then
28238
withval="$with_extra_includes"
28239
kde_use_extra_includes="$withval"
28241
kde_use_extra_includes=NONE
28244
kde_extra_includes=
28245
if test -n "$kde_use_extra_includes" && \
28246
test "$kde_use_extra_includes" != "NONE"; then
28250
for dir in $kde_use_extra_includes; do
28251
kde_extra_includes="$kde_extra_includes $dir"
28252
USER_INCLUDES="$USER_INCLUDES -I$dir"
28255
kde_use_extra_includes="added"
28257
kde_use_extra_includes="no"
28261
echo "$as_me:$LINENO: result: $kde_use_extra_includes" >&5
28262
echo "${ECHO_T}$kde_use_extra_includes" >&6
28265
echo "$as_me:$LINENO: checking for extra libs" >&5
28266
echo $ECHO_N "checking for extra libs... $ECHO_C" >&6
28268
# Check whether --with-extra-libs or --without-extra-libs was given.
28269
if test "${with_extra_libs+set}" = set; then
28270
withval="$with_extra_libs"
28271
kde_use_extra_libs=$withval
28273
kde_use_extra_libs=NONE
28276
if test -n "$kde_use_extra_libs" && \
28277
test "$kde_use_extra_libs" != "NONE"; then
28281
for dir in $kde_use_extra_libs; do
28282
kde_extra_libs="$kde_extra_libs $dir"
28283
KDE_EXTRA_RPATH="$KDE_EXTRA_RPATH -R $dir"
28284
USER_LDFLAGS="$USER_LDFLAGS -L$dir"
28287
kde_use_extra_libs="added"
28289
kde_use_extra_libs="no"
28294
echo "$as_me:$LINENO: result: $kde_use_extra_libs" >&5
28295
echo "${ECHO_T}$kde_use_extra_libs" >&6
28300
echo "$as_me:$LINENO: checking for libz" >&5
28301
echo $ECHO_N "checking for libz... $ECHO_C" >&6
28302
if test "${ac_cv_lib_z+set}" = set; then
28303
echo $ECHO_N "(cached) $ECHO_C" >&6
28306
kde_save_LIBS="$LIBS"
28307
LIBS="$all_libraries $USER_LDFLAGS -lz $LIBSOCKET"
28308
kde_save_CFLAGS="$CFLAGS"
28309
CFLAGS="$CFLAGS $all_includes $USER_INCLUDES"
28310
cat >conftest.$ac_ext <<_ACEOF
28313
cat confdefs.h >>conftest.$ac_ext
28314
cat >>conftest.$ac_ext <<_ACEOF
28315
/* end confdefs.h. */
28324
gzFile f = (gzFile) 0;
28325
/* this would segfault.. but we only link, don't run */
28326
(void) gzgets(f, buf, sizeof(buf));
28328
return (zlibVersion() == ZLIB_VERSION);
28334
rm -f conftest.$ac_objext conftest$ac_exeext
28335
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28336
(eval $ac_link) 2>conftest.er1
28338
grep -v '^ *+' conftest.er1 >conftest.err
28340
cat conftest.err >&5
28341
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28342
(exit $ac_status); } &&
28343
{ ac_try='test -z "$ac_c_werror_flag"
28344
|| test ! -s conftest.err'
28345
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28346
(eval $ac_try) 2>&5
28348
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28349
(exit $ac_status); }; } &&
28350
{ ac_try='test -s conftest$ac_exeext'
28351
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28352
(eval $ac_try) 2>&5
28354
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28355
(exit $ac_status); }; }; then
28356
eval "ac_cv_lib_z='-lz'"
28358
echo "$as_me: failed program was:" >&5
28359
sed 's/^/| /' conftest.$ac_ext >&5
28361
eval "ac_cv_lib_z=no"
28363
rm -f conftest.err conftest.$ac_objext \
28364
conftest$ac_exeext conftest.$ac_ext
28365
LIBS="$kde_save_LIBS"
28366
CFLAGS="$kde_save_CFLAGS"
28369
if test ! "$ac_cv_lib_z" = no; then
28371
cat >>confdefs.h <<_ACEOF
28372
#define HAVE_LIBZ 1
28375
LIBZ="$ac_cv_lib_z"
28376
echo "$as_me:$LINENO: result: $ac_cv_lib_z" >&5
28377
echo "${ECHO_T}$ac_cv_lib_z" >&6
28379
{ { echo "$as_me:$LINENO: error: not found.
28380
Possibly configure picks up an outdated version
28381
installed by XFree86. Remove it from your system.
28383
Check your installation and look into config.log" >&5
28384
echo "$as_me: error: not found.
28385
Possibly configure picks up an outdated version
28386
installed by XFree86. Remove it from your system.
28388
Check your installation and look into config.log" >&2;}
28389
{ (exit 1); exit 1; }; }
28397
echo "$as_me:$LINENO: checking for libpng" >&5
28398
echo $ECHO_N "checking for libpng... $ECHO_C" >&6
28399
if test "${ac_cv_lib_png+set}" = set; then
28400
echo $ECHO_N "(cached) $ECHO_C" >&6
28403
kde_save_LIBS="$LIBS"
28404
if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then
28405
LIBS="$LIBS $all_libraries $USER_LDFLAGS -lpng $LIBZ -lm -lX11 $LIBSOCKET"
28407
LIBS="$LIBS $all_libraries $USER_LDFLAGS -lpng $LIBZ -lm"
28409
kde_save_CFLAGS="$CFLAGS"
28410
CFLAGS="$CFLAGS $all_includes $USER_INCLUDES"
28412
cat >conftest.$ac_ext <<_ACEOF
28415
cat confdefs.h >>conftest.$ac_ext
28416
cat >>conftest.$ac_ext <<_ACEOF
28417
/* end confdefs.h. */
28425
png_structp png_ptr = png_create_read_struct( /* image ptr */
28426
PNG_LIBPNG_VER_STRING, 0, 0, 0 );
28427
return( png_ptr != 0 );
28433
rm -f conftest.$ac_objext conftest$ac_exeext
28434
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28435
(eval $ac_link) 2>conftest.er1
28437
grep -v '^ *+' conftest.er1 >conftest.err
28439
cat conftest.err >&5
28440
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28441
(exit $ac_status); } &&
28442
{ ac_try='test -z "$ac_c_werror_flag"
28443
|| test ! -s conftest.err'
28444
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28445
(eval $ac_try) 2>&5
28447
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28448
(exit $ac_status); }; } &&
28449
{ ac_try='test -s conftest$ac_exeext'
28450
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28451
(eval $ac_try) 2>&5
28453
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28454
(exit $ac_status); }; }; then
28455
eval "ac_cv_lib_png='-lpng $LIBZ -lm'"
28457
echo "$as_me: failed program was:" >&5
28458
sed 's/^/| /' conftest.$ac_ext >&5
28460
eval "ac_cv_lib_png=no"
28463
rm -f conftest.err conftest.$ac_objext \
28464
conftest$ac_exeext conftest.$ac_ext
28465
LIBS="$kde_save_LIBS"
28466
CFLAGS="$kde_save_CFLAGS"
28469
if eval "test ! \"`echo $ac_cv_lib_png`\" = no"; then
28471
cat >>confdefs.h <<_ACEOF
28472
#define HAVE_LIBPNG 1
28475
LIBPNG="$ac_cv_lib_png"
28477
echo "$as_me:$LINENO: result: $ac_cv_lib_png" >&5
28478
echo "${ECHO_T}$ac_cv_lib_png" >&6
28480
echo "$as_me:$LINENO: result: no" >&5
28481
echo "${ECHO_T}no" >&6
28488
echo "$as_me:$LINENO: checking for libjpeg6b" >&5
28489
echo $ECHO_N "checking for libjpeg6b... $ECHO_C" >&6
28490
if test "${ac_cv_lib_jpeg_6b+set}" = set; then
28491
echo $ECHO_N "(cached) $ECHO_C" >&6
28494
ac_save_LIBS="$LIBS"
28495
LIBS="$all_libraries $USER_LDFLAGS -ljpeg6b -lm"
28496
ac_save_CFLAGS="$CFLAGS"
28497
CFLAGS="$CFLAGS $all_includes $USER_INCLUDES"
28498
cat >conftest.$ac_ext <<_ACEOF
28501
cat confdefs.h >>conftest.$ac_ext
28502
cat >>conftest.$ac_ext <<_ACEOF
28503
/* end confdefs.h. */
28504
/* Override any gcc2 internal prototype to avoid an error. */
28505
struct jpeg_decompress_struct;
28506
typedef struct jpeg_decompress_struct * j_decompress_ptr;
28507
typedef int size_t;
28511
void jpeg_CreateDecompress(j_decompress_ptr cinfo,
28512
int version, size_t structsize);
28516
/* We use char because int might match the return type of a gcc2
28517
builtin and then its argument prototype would still apply. */
28522
jpeg_CreateDecompress(0L, 0, 0);
28527
rm -f conftest.$ac_objext conftest$ac_exeext
28528
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28529
(eval $ac_link) 2>conftest.er1
28531
grep -v '^ *+' conftest.er1 >conftest.err
28533
cat conftest.err >&5
28534
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28535
(exit $ac_status); } &&
28536
{ ac_try='test -z "$ac_c_werror_flag"
28537
|| test ! -s conftest.err'
28538
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28539
(eval $ac_try) 2>&5
28541
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28542
(exit $ac_status); }; } &&
28543
{ ac_try='test -s conftest$ac_exeext'
28544
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28545
(eval $ac_try) 2>&5
28547
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28548
(exit $ac_status); }; }; then
28549
eval "ac_cv_lib_jpeg_6b=-ljpeg6b"
28551
echo "$as_me: failed program was:" >&5
28552
sed 's/^/| /' conftest.$ac_ext >&5
28554
eval "ac_cv_lib_jpeg_6b=no"
28556
rm -f conftest.err conftest.$ac_objext \
28557
conftest$ac_exeext conftest.$ac_ext
28558
LIBS="$ac_save_LIBS"
28559
CFLAGS="$ac_save_CFLAGS"
28564
if eval "test ! \"`echo $ac_cv_lib_jpeg_6b`\" = no"; then
28565
LIBJPEG="$ac_cv_lib_jpeg_6b"
28566
echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_6b" >&5
28567
echo "${ECHO_T}$ac_cv_lib_jpeg_6b" >&6
28569
echo "$as_me:$LINENO: result: no" >&5
28570
echo "${ECHO_T}no" >&6
28572
echo "$as_me:$LINENO: checking for libjpeg" >&5
28573
echo $ECHO_N "checking for libjpeg... $ECHO_C" >&6
28574
if test "${ac_cv_lib_jpeg_normal+set}" = set; then
28575
echo $ECHO_N "(cached) $ECHO_C" >&6
28578
ac_save_LIBS="$LIBS"
28579
LIBS="$all_libraries $USER_LDFLAGS -ljpeg -lm"
28580
ac_save_CFLAGS="$CFLAGS"
28581
CFLAGS="$CFLAGS $all_includes $USER_INCLUDES"
28582
cat >conftest.$ac_ext <<_ACEOF
28585
cat confdefs.h >>conftest.$ac_ext
28586
cat >>conftest.$ac_ext <<_ACEOF
28587
/* end confdefs.h. */
28588
/* Override any gcc2 internal prototype to avoid an error. */
28589
struct jpeg_decompress_struct;
28590
typedef struct jpeg_decompress_struct * j_decompress_ptr;
28591
typedef int size_t;
28595
void jpeg_CreateDecompress(j_decompress_ptr cinfo,
28596
int version, size_t structsize);
28600
/* We use char because int might match the return type of a gcc2
28601
builtin and then its argument prototype would still apply. */
28606
jpeg_CreateDecompress(0L, 0, 0);
28611
rm -f conftest.$ac_objext conftest$ac_exeext
28612
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28613
(eval $ac_link) 2>conftest.er1
28615
grep -v '^ *+' conftest.er1 >conftest.err
28617
cat conftest.err >&5
28618
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28619
(exit $ac_status); } &&
28620
{ ac_try='test -z "$ac_c_werror_flag"
28621
|| test ! -s conftest.err'
28622
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28623
(eval $ac_try) 2>&5
28625
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28626
(exit $ac_status); }; } &&
28627
{ ac_try='test -s conftest$ac_exeext'
28628
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28629
(eval $ac_try) 2>&5
28631
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28632
(exit $ac_status); }; }; then
28633
eval "ac_cv_lib_jpeg_normal=-ljpeg"
28635
echo "$as_me: failed program was:" >&5
28636
sed 's/^/| /' conftest.$ac_ext >&5
28638
eval "ac_cv_lib_jpeg_normal=no"
28640
rm -f conftest.err conftest.$ac_objext \
28641
conftest$ac_exeext conftest.$ac_ext
28642
LIBS="$ac_save_LIBS"
28643
CFLAGS="$ac_save_CFLAGS"
28648
if eval "test ! \"`echo $ac_cv_lib_jpeg_normal`\" = no"; then
28649
LIBJPEG="$ac_cv_lib_jpeg_normal"
28650
echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_normal" >&5
28651
echo "${ECHO_T}$ac_cv_lib_jpeg_normal" >&6
28653
echo "$as_me:$LINENO: result: no" >&5
28654
echo "${ECHO_T}no" >&6
28667
jpeg_incdirs="$includedir /usr/include /usr/local/include $kde_extra_includes"
28670
for i in $jpeg_incdirs;
28672
for j in jpeglib.h;
28674
echo "configure: 28674: $i/$j" >&5
28675
if test -r "$i/$j"; then
28676
echo "taking that" >&5
28683
test "x$jpeg_incdir" = xNO && jpeg_incdir=
28685
if test -n "$jpeg_incdir" && test -n "$LIBJPEG" ; then
28687
cat >>confdefs.h <<_ACEOF
28688
#define HAVE_LIBJPEG 1
28692
if test -n "$jpeg_incdir" || test -n "$LIBJPEG" ; then
28693
{ echo "$as_me:$LINENO: WARNING:
28694
There is an installation error in jpeg support. You seem to have only one
28695
of either the headers _or_ the libraries installed. You may need to either
28696
provide correct --with-extra-... options, or the development package of
28697
libjpeg6b. You can get a source package of libjpeg from http://www.ijg.org/
28698
Disabling JPEG support.
28700
echo "$as_me: WARNING:
28701
There is an installation error in jpeg support. You seem to have only one
28702
of either the headers _or_ the libraries installed. You may need to either
28703
provide correct --with-extra-... options, or the development package of
28704
libjpeg6b. You can get a source package of libjpeg from http://www.ijg.org/
28705
Disabling JPEG support.
28708
{ echo "$as_me:$LINENO: WARNING: libjpeg not found. disable JPEG support." >&5
28709
echo "$as_me: WARNING: libjpeg not found. disable JPEG support." >&2;}
28721
echo "$as_me:$LINENO: checking for perl" >&5
28722
echo $ECHO_N "checking for perl... $ECHO_C" >&6
28723
if test -n "$PERL"; then
28724
kde_cv_path="$PERL";
28726
kde_cache=`echo perl | sed 'y%./+-%__p_%'`
28728
if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
28729
echo $ECHO_N "(cached) $ECHO_C" >&6
28736
for dir in $PATH; do
28739
if test -z ""; then dirs="$bindir $exec_prefix/bin $prefix/bin $dirs"
28740
else dirs="$dirs $bindir $exec_prefix/bin $prefix/bin"
28744
for dir in $dirs; do
28745
if test -x "$dir/perl"; then
28748
evalstr="$dir/perl 2>&1 "
28749
if eval $evalstr; then
28750
kde_cv_path="$dir/perl"
28754
kde_cv_path="$dir/perl"
28760
eval "kde_cv_path_$kde_cache=$kde_cv_path"
28766
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
28770
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
28771
echo "$as_me:$LINENO: result: not found" >&5
28772
echo "${ECHO_T}not found" >&6
28774
{ { echo "$as_me:$LINENO: error: No Perl found in your $PATH.
28775
We need perl to generate some code." >&5
28776
echo "$as_me: error: No Perl found in your $PATH.
28777
We need perl to generate some code." >&2;}
28778
{ (exit 1); exit 1; }; }
28781
echo "$as_me:$LINENO: result: $kde_cv_path" >&5
28782
echo "${ECHO_T}$kde_cv_path" >&6
28796
# Check whether --enable-mt or --disable-mt was given.
28797
if test "${enable_mt+set}" = set; then
28798
enableval="$enable_mt"
28799
kde_use_qt_mt=$enableval
28802
if test $kde_qtver = 3; then
28816
if test "x$kde_use_qt_mt" = "xyes"; then
28820
if test -z "$LIBPTHREAD"; then
28821
if test -z "$USE_THREADS"; then
28822
kde_check_threading_default=no
28824
kde_check_threading_default=yes
28827
kde_check_threading_default=yes
28829
# Check whether --enable-threading or --disable-threading was given.
28830
if test "${enable_threading+set}" = set; then
28831
enableval="$enable_threading"
28832
kde_use_threading=$enableval
28834
kde_use_threading=$kde_check_threading_default
28836
if test "x$kde_use_threading" = "xyes"; then
28838
cat >>confdefs.h <<\_ACEOF
28839
#define HAVE_LIBPTHREAD 1
28844
if test "x$kde_use_threading" = "xyes"; then
28845
CPPFLAGS="$USE_THREADS -DQT_THREAD_SUPPORT $CPPFLAGS"
28846
KDE_MT_LDFLAGS="$USE_THREADS"
28847
KDE_MT_LIBS="$LIBPTHREAD"
28855
kde_qt_was_given=yes
28857
if test -z "$LIBQT_GLOB"; then
28858
if test "x$kde_use_qt_emb" = "xyes"; then
28859
LIBQT_GLOB="libqte.*"
28861
LIBQT_GLOB="libqt.*"
28865
if test -z "$LIBQT"; then
28866
if test "x$kde_use_qt_emb" = "xyes"; then
28872
kde_int_qt="-l$qtlib"
28874
kde_int_qt="$LIBQT"
28878
if test -z "$LIBQPE"; then
28879
if test "x$kde_use_qt_emb" = "xyes"; then
28880
if test "x$kde_use_qt_emb_palm" = "xyes"; then
28891
if test "x$kde_use_qt_mt" = "xyes"; then
28892
if test -z "$LIBQT"; then
28893
LIBQT="-l$qtlib-mt"
28894
kde_int_qt="-l$qtlib-mt"
28897
kde_int_qt="$qtlib-mt"
28899
LIBQT_GLOB="lib$qtlib-mt.*"
28900
USING_QT_MT="using -mt"
28905
if test $kde_qtver != 1; then
28909
LIBQT="$LIBQT $LIBPNG $LIBJPEG"
28912
if test $kde_qtver = 3; then
28914
LIBQT="$LIBQT $LIBDL"
28917
echo "$as_me:$LINENO: checking for Qt" >&5
28918
echo $ECHO_N "checking for Qt... $ECHO_C" >&6
28920
if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then
28921
LIBQT="$LIBQT $X_PRE_LIBS -lXext -lX11 $LIBSM $LIBSOCKET"
28923
ac_qt_includes=NO ac_qt_libraries=NO ac_qt_bindir=NO
28927
# Check whether --with-qt-dir or --without-qt-dir was given.
28928
if test "${with_qt_dir+set}" = set; then
28929
withval="$with_qt_dir"
28930
ac_qt_includes="$withval"/include
28931
ac_qt_libraries="$withval"/lib${kdelibsuff}
28932
ac_qt_bindir="$withval"/bin
28937
# Check whether --with-qt-includes or --without-qt-includes was given.
28938
if test "${with_qt_includes+set}" = set; then
28939
withval="$with_qt_includes"
28941
ac_qt_includes="$withval"
28945
kde_qt_libs_given=no
28948
# Check whether --with-qt-libraries or --without-qt-libraries was given.
28949
if test "${with_qt_libraries+set}" = set; then
28950
withval="$with_qt_libraries"
28951
ac_qt_libraries="$withval"
28952
kde_qt_libs_given=yes
28956
if test "${ac_cv_have_qt+set}" = set; then
28957
echo $ECHO_N "(cached) $ECHO_C" >&6
28959
#try to guess Qt locations
28962
for dir in $kde_qt_dirs; do
28963
qt_incdirs="$qt_incdirs $dir/include $dir"
28965
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"
28966
if test ! "$ac_qt_includes" = "NO"; then
28967
qt_incdirs="$ac_qt_includes $qt_incdirs"
28970
if test "$kde_qtver" != "1"; then
28971
kde_qt_header=qstyle.h
28973
kde_qt_header=qglobal.h
28978
for i in $qt_incdirs;
28980
for j in $kde_qt_header;
28982
echo "configure: 28982: $i/$j" >&5
28983
if test -r "$i/$j"; then
28984
echo "taking that" >&5
28991
ac_qt_includes="$qt_incdir"
28994
for dir in $kde_qt_dirs; do
28995
qt_libdirs="$qt_libdirs $dir/lib${kdelibsuff} $dir"
28997
qt_libdirs="$QTLIB $qt_libdirs /usr/X11R6/lib /usr/lib /usr/local/qt/lib $x_libraries"
28998
if test ! "$ac_qt_libraries" = "NO"; then
28999
qt_libdir=$ac_qt_libraries
29001
qt_libdirs="$ac_qt_libraries $qt_libdirs"
29002
# if the Qt was given, the chance is too big that libqt.* doesn't exist
29004
for dir in $qt_libdirs; do
29005
try="ls -1 $dir/${LIBQT_GLOB}"
29006
if test -n "`$try 2> /dev/null`"; then qt_libdir=$dir; break; else echo "tried $dir" >&5 ; fi
29009
for a in $qt_libdir/lib`echo ${kde_int_qt} | sed 's,^-l,,'`_incremental.*; do
29010
if test -e "$a"; then
29011
LIBQT="$LIBQT ${kde_int_qt}_incremental"
29016
ac_qt_libraries="$qt_libdir"
29021
ac_cpp='$CXXCPP $CPPFLAGS'
29022
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29023
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29024
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29026
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
29030
ac_cxxflags_safe="$CXXFLAGS"
29031
ac_ldflags_safe="$LDFLAGS"
29032
ac_libs_safe="$LIBS"
29034
CXXFLAGS="$CXXFLAGS -I$qt_incdir $all_includes"
29035
LDFLAGS="$LDFLAGS -L$qt_libdir $all_libraries $USER_LDFLAGS $KDE_MT_LDFLAGS"
29036
LIBS="$LIBS $LIBQT $KDE_MT_LIBS"
29040
cat > conftest.$ac_ext <<EOF
29041
#include "confdefs.h"
29042
#include <qglobal.h>
29043
#include <qapplication.h>
29045
if test "$kde_qtver" = "2"; then
29046
cat >> conftest.$ac_ext <<EOF
29047
#include <qevent.h>
29048
#include <qstring.h>
29049
#include <qstyle.h>
29052
if test $kde_qtsubver -gt 0; then
29053
cat >> conftest.$ac_ext <<EOF
29054
#if QT_VERSION < 210
29061
if test "$kde_qtver" = "3"; then
29062
cat >> conftest.$ac_ext <<EOF
29063
#include <qcursor.h>
29064
#include <qstylefactory.h>
29065
#include <private/qucomextra_p.h>
29069
echo "#if ! ($kde_qt_verstring)" >> conftest.$ac_ext
29070
cat >> conftest.$ac_ext <<EOF
29076
if test "$kde_qtver" = "2"; then
29077
cat >> conftest.$ac_ext <<EOF
29078
QStringList *t = new QStringList();
29081
if test $kde_qtsubver -gt 0; then
29082
cat >> conftest.$ac_ext <<EOF
29084
s.setLatin1("Elvis is alive", 14);
29088
if test "$kde_qtver" = "3"; then
29089
cat >> conftest.$ac_ext <<EOF
29090
(void)QStyleFactory::create(QString::null);
29091
QCursor c(Qt::WhatsThisCursor);
29094
cat >> conftest.$ac_ext <<EOF
29100
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29101
(eval $ac_link) 2>&5
29103
echo "$as_me:$LINENO: \$? = $ac_status" >&5
29104
(exit $ac_status); } && test -s conftest; then
29107
echo "configure: failed program was:" >&5
29108
cat conftest.$ac_ext >&5
29109
ac_qt_libraries="NO"
29112
CXXFLAGS="$ac_cxxflags_safe"
29113
LDFLAGS="$ac_ldflags_safe"
29114
LIBS="$ac_libs_safe"
29117
ac_cpp='$CPP $CPPFLAGS'
29118
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29119
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29120
ac_compiler_gnu=$ac_cv_c_compiler_gnu
29122
if test "$ac_qt_includes" = NO || test "$ac_qt_libraries" = NO; then
29123
ac_cv_have_qt="have_qt=no"
29126
if test "$ac_qt_includes" = NO; then
29127
if test "$ac_qt_libraries" = NO; then
29128
ac_qt_notfound="(headers and libraries)";
29130
ac_qt_notfound="(headers)";
29133
if test "x$kde_use_qt_mt" = "xyes"; then
29135
Make sure that you have compiled Qt with thread support!"
29136
ac_qt_notfound="(library $qtlib-mt)";
29138
ac_qt_notfound="(library $qtlib)";
29142
{ { echo "$as_me:$LINENO: error: Qt ($kde_qt_minversion) $ac_qt_notfound not found. Please check your installation!
29143
For more details about this problem, look at the end of config.log.$missing_qt_mt" >&5
29144
echo "$as_me: error: Qt ($kde_qt_minversion) $ac_qt_notfound not found. Please check your installation!
29145
For more details about this problem, look at the end of config.log.$missing_qt_mt" >&2;}
29146
{ (exit 1); exit 1; }; }
29154
eval "$ac_cv_have_qt"
29156
if test "$have_qt" != yes; then
29157
echo "$as_me:$LINENO: result: $have_qt" >&5
29158
echo "${ECHO_T}$have_qt" >&6;
29160
ac_cv_have_qt="have_qt=yes \
29161
ac_qt_includes=$ac_qt_includes ac_qt_libraries=$ac_qt_libraries"
29162
echo "$as_me:$LINENO: result: libraries $ac_qt_libraries, headers $ac_qt_includes $USING_QT_MT" >&5
29163
echo "${ECHO_T}libraries $ac_qt_libraries, headers $ac_qt_includes $USING_QT_MT" >&6
29165
qt_libraries="$ac_qt_libraries"
29166
qt_includes="$ac_qt_includes"
29169
if test ! "$kde_qt_libs_given" = "yes" && test ! "$kde_qtver" = 3; then
29172
echo "$as_me:$LINENO: checking if Qt compiles without flags" >&5
29173
echo $ECHO_N "checking if Qt compiles without flags... $ECHO_C" >&6
29174
if test "${kde_cv_qt_direct+set}" = set; then
29175
echo $ECHO_N "(cached) $ECHO_C" >&6
29181
ac_cpp='$CXXCPP $CPPFLAGS'
29182
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29183
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29184
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29186
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
29189
ac_LD_LIBRARY_PATH_safe=$LD_LIBRARY_PATH
29190
ac_LIBRARY_PATH="$LIBRARY_PATH"
29191
ac_cxxflags_safe="$CXXFLAGS"
29192
ac_ldflags_safe="$LDFLAGS"
29193
ac_libs_safe="$LIBS"
29195
CXXFLAGS="$CXXFLAGS -I$qt_includes"
29196
LDFLAGS="$LDFLAGS $X_LDFLAGS"
29197
if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then
29198
LIBS="$LIBQT -lXext -lX11 $LIBSOCKET"
29200
LIBS="$LIBQT $LIBSOCKET"
29203
export LD_LIBRARY_PATH
29205
export LIBRARY_PATH
29209
cat > conftest.$ac_ext <<EOF
29210
#include "confdefs.h"
29211
#include <qglobal.h>
29212
#include <qapplication.h>
29214
if test "$kde_qtver" = "2"; then
29215
cat >> conftest.$ac_ext <<EOF
29216
#include <qevent.h>
29217
#include <qstring.h>
29218
#include <qstyle.h>
29221
if test $kde_qtsubver -gt 0; then
29222
cat >> conftest.$ac_ext <<EOF
29223
#if QT_VERSION < 210
29230
if test "$kde_qtver" = "3"; then
29231
cat >> conftest.$ac_ext <<EOF
29232
#include <qcursor.h>
29233
#include <qstylefactory.h>
29234
#include <private/qucomextra_p.h>
29238
echo "#if ! ($kde_qt_verstring)" >> conftest.$ac_ext
29239
cat >> conftest.$ac_ext <<EOF
29245
if test "$kde_qtver" = "2"; then
29246
cat >> conftest.$ac_ext <<EOF
29247
QStringList *t = new QStringList();
29250
if test $kde_qtsubver -gt 0; then
29251
cat >> conftest.$ac_ext <<EOF
29253
s.setLatin1("Elvis is alive", 14);
29257
if test "$kde_qtver" = "3"; then
29258
cat >> conftest.$ac_ext <<EOF
29259
(void)QStyleFactory::create(QString::null);
29260
QCursor c(Qt::WhatsThisCursor);
29263
cat >> conftest.$ac_ext <<EOF
29269
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29270
(eval $ac_link) 2>&5
29272
echo "$as_me:$LINENO: \$? = $ac_status" >&5
29273
(exit $ac_status); } && test -s conftest; then
29274
kde_cv_qt_direct="yes"
29276
kde_cv_qt_direct="no"
29277
echo "configure: failed program was:" >&5
29278
cat conftest.$ac_ext >&5
29282
CXXFLAGS="$ac_cxxflags_safe"
29283
LDFLAGS="$ac_ldflags_safe"
29284
LIBS="$ac_libs_safe"
29286
LD_LIBRARY_PATH="$ac_LD_LIBRARY_PATH_safe"
29287
export LD_LIBRARY_PATH
29288
LIBRARY_PATH="$ac_LIBRARY_PATH"
29289
export LIBRARY_PATH
29291
ac_cpp='$CPP $CPPFLAGS'
29292
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29293
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29294
ac_compiler_gnu=$ac_cv_c_compiler_gnu
29300
if test "$kde_cv_qt_direct" = "yes"; then
29301
echo "$as_me:$LINENO: result: yes" >&5
29302
echo "${ECHO_T}yes" >&6
29305
echo "$as_me:$LINENO: result: no" >&5
29306
echo "${ECHO_T}no" >&6
29315
if test "$qt_includes" = "$x_includes" || test -z "$qt_includes"; then
29318
QT_INCLUDES="-I$qt_includes"
29319
all_includes="$QT_INCLUDES $all_includes"
29322
if test "$qt_libraries" = "$x_libraries" || test -z "$qt_libraries"; then
29325
QT_LDFLAGS="-L$qt_libraries"
29326
all_libraries="$all_libraries $QT_LDFLAGS"
29328
test -z "$KDE_MT_LDFLAGS" || all_libraries="$all_libraries $KDE_MT_LDFLAGS"
29335
for dir in $kde_qt_dirs; do
29336
qt_bindirs="$qt_bindirs $dir/bin $dir/src/moc"
29338
qt_bindirs="$qt_bindirs /usr/bin /usr/X11R6/bin /usr/local/qt/bin"
29339
if test ! "$ac_qt_bindir" = "NO"; then
29340
qt_bindirs="$ac_qt_bindir $qt_bindirs"
29344
echo "$as_me:$LINENO: checking for moc" >&5
29345
echo $ECHO_N "checking for moc... $ECHO_C" >&6
29346
if test -n "$MOC"; then
29347
kde_cv_path="$MOC";
29349
kde_cache=`echo moc | sed 'y%./+-%__p_%'`
29351
if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
29352
echo $ECHO_N "(cached) $ECHO_C" >&6
29359
for dir in $PATH; do
29362
if test -z ""; then dirs="$qt_bindirs $dirs"
29363
else dirs="$dirs $qt_bindirs"
29367
for dir in $dirs; do
29368
if test -x "$dir/moc"; then
29371
evalstr="$dir/moc 2>&1 "
29372
if eval $evalstr; then
29373
kde_cv_path="$dir/moc"
29377
kde_cv_path="$dir/moc"
29383
eval "kde_cv_path_$kde_cache=$kde_cv_path"
29389
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
29393
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
29394
echo "$as_me:$LINENO: result: not found" >&5
29395
echo "${ECHO_T}not found" >&6
29397
{ { echo "$as_me:$LINENO: error: No Qt meta object compiler (moc) found!
29398
Please check whether you installed Qt correctly.
29399
You need to have a running moc binary.
29400
configure tried to run $ac_cv_path_moc and the test didn't
29401
succeed. If configure shouldn't have tried this one, set
29402
the environment variable MOC to the right one before running
29405
echo "$as_me: error: No Qt meta object compiler (moc) found!
29406
Please check whether you installed Qt correctly.
29407
You need to have a running moc binary.
29408
configure tried to run $ac_cv_path_moc and the test didn't
29409
succeed. If configure shouldn't have tried this one, set
29410
the environment variable MOC to the right one before running
29413
{ (exit 1); exit 1; }; }
29416
echo "$as_me:$LINENO: result: $kde_cv_path" >&5
29417
echo "${ECHO_T}$kde_cv_path" >&6
29422
if test -z "$UIC_NOT_NEEDED"; then
29424
echo "$as_me:$LINENO: checking for uic" >&5
29425
echo $ECHO_N "checking for uic... $ECHO_C" >&6
29426
if test -n "$UIC_PATH"; then
29427
kde_cv_path="$UIC_PATH";
29429
kde_cache=`echo uic | sed 'y%./+-%__p_%'`
29431
if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
29432
echo $ECHO_N "(cached) $ECHO_C" >&6
29439
for dir in $PATH; do
29442
if test -z ""; then dirs="$qt_bindirs $dirs"
29443
else dirs="$dirs $qt_bindirs"
29447
for dir in $dirs; do
29448
if test -x "$dir/uic"; then
29451
evalstr="$dir/uic 2>&1 "
29452
if eval $evalstr; then
29453
kde_cv_path="$dir/uic"
29457
kde_cv_path="$dir/uic"
29463
eval "kde_cv_path_$kde_cache=$kde_cv_path"
29469
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
29473
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
29474
echo "$as_me:$LINENO: result: not found" >&5
29475
echo "${ECHO_T}not found" >&6
29478
echo "$as_me:$LINENO: result: $kde_cv_path" >&5
29479
echo "${ECHO_T}$kde_cv_path" >&6
29480
UIC_PATH=$kde_cv_path
29484
if test -z "$UIC_PATH" ; then
29486
{ echo "$as_me:$LINENO: WARNING: No Qt ui compiler (uic) found!
29487
Please check whether you installed Qt correctly.
29488
You need to have a running uic binary.
29489
configure tried to run $ac_cv_path_uic and the test didn't
29490
succeed. If configure shouldn't have tried this one, set
29491
the environment variable UIC to the right one before running
29494
echo "$as_me: WARNING: No Qt ui compiler (uic) found!
29495
Please check whether you installed Qt correctly.
29496
You need to have a running uic binary.
29497
configure tried to run $ac_cv_path_uic and the test didn't
29498
succeed. If configure shouldn't have tried this one, set
29499
the environment variable UIC to the right one before running
29507
if test $kde_qtver = 3; then
29509
echo "$as_me:$LINENO: checking whether uic supports -L " >&5
29510
echo $ECHO_N "checking whether uic supports -L ... $ECHO_C" >&6
29511
kde_cache=`echo L | sed 'y% .=/+-%____p_%'`
29512
if eval "test \"\${kde_cv_prog_uic_$kde_cache+set}\" = set"; then
29513
echo $ECHO_N "(cached) $ECHO_C" >&6
29516
cat >conftest.ui <<EOT
29517
<!DOCTYPE UI><UI version="3" stdsetdef="1"></UI>
29519
ac_uic_testrun="$UIC_PATH -L /nonexistent conftest.ui >/dev/null"
29520
if { (eval echo "$as_me:$LINENO: \"$ac_uic_testrun\"") >&5
29521
(eval $ac_uic_testrun) 2>&5
29523
echo "$as_me:$LINENO: \$? = $ac_status" >&5
29524
(exit $ac_status); }; then
29525
eval "kde_cv_prog_uic_$kde_cache=yes"
29527
eval "kde_cv_prog_uic_$kde_cache=no"
29534
if eval "test \"`echo '$kde_cv_prog_uic_'$kde_cache`\" = yes"; then
29535
echo "$as_me:$LINENO: result: yes" >&5
29536
echo "${ECHO_T}yes" >&6
29538
ac_uic_supports_libpath=yes
29540
echo "$as_me:$LINENO: result: no" >&5
29541
echo "${ECHO_T}no" >&6
29543
ac_uic_supports_libpath=no
29547
echo "$as_me:$LINENO: checking whether uic supports -nounload " >&5
29548
echo $ECHO_N "checking whether uic supports -nounload ... $ECHO_C" >&6
29549
kde_cache=`echo nounload | sed 'y% .=/+-%____p_%'`
29550
if eval "test \"\${kde_cv_prog_uic_$kde_cache+set}\" = set"; then
29551
echo $ECHO_N "(cached) $ECHO_C" >&6
29554
cat >conftest.ui <<EOT
29555
<!DOCTYPE UI><UI version="3" stdsetdef="1"></UI>
29557
ac_uic_testrun="$UIC_PATH -nounload conftest.ui >/dev/null"
29558
if { (eval echo "$as_me:$LINENO: \"$ac_uic_testrun\"") >&5
29559
(eval $ac_uic_testrun) 2>&5
29561
echo "$as_me:$LINENO: \$? = $ac_status" >&5
29562
(exit $ac_status); }; then
29563
eval "kde_cv_prog_uic_$kde_cache=yes"
29565
eval "kde_cv_prog_uic_$kde_cache=no"
29572
if eval "test \"`echo '$kde_cv_prog_uic_'$kde_cache`\" = yes"; then
29573
echo "$as_me:$LINENO: result: yes" >&5
29574
echo "${ECHO_T}yes" >&6
29576
ac_uic_supports_nounload=yes
29578
echo "$as_me:$LINENO: result: no" >&5
29579
echo "${ECHO_T}no" >&6
29581
ac_uic_supports_nounload=no
29585
if test x$ac_uic_supports_libpath = xyes; then
29586
UIC="$UIC -L \$(kde_widgetdir)"
29588
if test x$ac_uic_supports_nounload = xyes; then
29589
UIC="$UIC -nounload"
29594
UIC="echo uic not available: "
29601
if test $kde_qtver = 3; then
29609
if test -n "$LIBJPEG"; then
29610
echo "$as_me:$LINENO: checking if Qt needs $LIBJPEG" >&5
29611
echo $ECHO_N "checking if Qt needs $LIBJPEG... $ECHO_C" >&6
29612
if test "${kde_cv_qt_jpeg+set}" = set; then
29613
echo $ECHO_N "(cached) $ECHO_C" >&6
29619
ac_cpp='$CXXCPP $CPPFLAGS'
29620
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29621
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29622
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29624
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
29627
ac_save_LIBS="$LIBS"
29628
LIBS="$all_libraries $USER_LDFLAGS $LIBQT"
29629
LIBS=`echo $LIBS | sed "s/$LIBJPEG//"`
29630
ac_save_CXXFLAGS="$CXXFLAGS"
29631
CXXFLAGS="$CXXFLAGS $all_includes $USER_INCLUDES"
29632
cat >conftest.$ac_ext <<_ACEOF
29635
cat confdefs.h >>conftest.$ac_ext
29636
cat >>conftest.$ac_ext <<_ACEOF
29637
/* end confdefs.h. */
29638
#include <qapplication.h>
29645
QApplication app(argc, argv);
29650
rm -f conftest.$ac_objext conftest$ac_exeext
29651
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29652
(eval $ac_link) 2>conftest.er1
29654
grep -v '^ *+' conftest.er1 >conftest.err
29656
cat conftest.err >&5
29657
echo "$as_me:$LINENO: \$? = $ac_status" >&5
29658
(exit $ac_status); } &&
29659
{ ac_try='test -z "$ac_cxx_werror_flag"
29660
|| test ! -s conftest.err'
29661
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29662
(eval $ac_try) 2>&5
29664
echo "$as_me:$LINENO: \$? = $ac_status" >&5
29665
(exit $ac_status); }; } &&
29666
{ ac_try='test -s conftest$ac_exeext'
29667
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29668
(eval $ac_try) 2>&5
29670
echo "$as_me:$LINENO: \$? = $ac_status" >&5
29671
(exit $ac_status); }; }; then
29672
eval "kde_cv_qt_jpeg=no"
29674
echo "$as_me: failed program was:" >&5
29675
sed 's/^/| /' conftest.$ac_ext >&5
29677
eval "kde_cv_qt_jpeg=yes"
29679
rm -f conftest.err conftest.$ac_objext \
29680
conftest$ac_exeext conftest.$ac_ext
29681
LIBS="$ac_save_LIBS"
29682
CXXFLAGS="$ac_save_CXXFLAGS"
29684
ac_cpp='$CPP $CPPFLAGS'
29685
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29686
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29687
ac_compiler_gnu=$ac_cv_c_compiler_gnu
29694
if eval "test ! \"`echo $kde_cv_qt_jpeg`\" = no"; then
29695
echo "$as_me:$LINENO: result: yes" >&5
29696
echo "${ECHO_T}yes" >&6
29697
LIBJPEG_QT='$(LIBJPEG)'
29699
echo "$as_me:$LINENO: result: no" >&5
29700
echo "${ECHO_T}no" >&6
29706
if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then
29707
LIB_QT="$kde_int_qt $LIBJPEG_QT "'$(LIBZ) $(LIBPNG) -lXext $(LIB_X11) $(LIBSM)'
29709
LIB_QT="$kde_int_qt $LIBJPEG_QT "'$(LIBZ) $(LIBPNG)'
29711
test -z "$KDE_MT_LIBS" || LIB_QT="$LIB_QT $KDE_MT_LIBS"
29712
for a in $qt_libdir/lib`echo ${kde_int_qt} | sed 's,^-l,,'`_incremental.*; do
29713
if test -e "$a"; then
29714
LIB_QT="$LIB_QT ${kde_int_qt}_incremental"
29731
echo "$as_me:$LINENO: checking for rpath" >&5
29732
echo $ECHO_N "checking for rpath... $ECHO_C" >&6
29733
# Check whether --enable-rpath or --disable-rpath was given.
29734
if test "${enable_rpath+set}" = set; then
29735
enableval="$enable_rpath"
29736
USE_RPATH=$enableval
29741
if test -z "$KDE_RPATH" && test "$USE_RPATH" = "yes"; then
29743
KDE_RPATH="-R \$(kde_libraries)"
29745
if test -n "$qt_libraries"; then
29746
KDE_RPATH="$KDE_RPATH -R \$(qt_libraries)"
29748
if test -n "$X_LDFLAGS"; then
29749
X_RPATH="-R \$(x_libraries)"
29750
KDE_RPATH="$KDE_RPATH $X_RPATH"
29752
if test -n "$KDE_EXTRA_RPATH"; then
29753
KDE_RPATH="$KDE_RPATH \$(KDE_EXTRA_RPATH)"
29759
echo "$as_me:$LINENO: result: $USE_RPATH" >&5
29760
echo "${ECHO_T}$USE_RPATH" >&6
29762
echo "$as_me:$LINENO: checking for KDE" >&5
29763
echo $ECHO_N "checking for KDE... $ECHO_C" >&6
29765
if test "${prefix}" != NONE; then
29766
kde_includes=${includedir}
29769
test "x$exec_prefix" = xNONE && exec_prefix=$prefix
29771
while ac_kde_includes=`eval echo "$tmp"`; test "x$ac_kde_includes" != "x$tmp"; do tmp=$ac_kde_includes; done
29775
kde_libraries=${libdir}
29778
test "x$exec_prefix" = xNONE && exec_prefix=$prefix
29780
while ac_kde_libraries=`eval echo "$tmp"`; test "x$ac_kde_libraries" != "x$tmp"; do tmp=$ac_kde_libraries; done
29791
if test "${ac_cv_have_kde+set}" = set; then
29792
echo $ECHO_N "(cached) $ECHO_C" >&6
29794
#try to guess kde locations
29796
if test "$kde_qtver" = 1; then
29797
kde_check_header="ksock.h"
29798
kde_check_lib="libkdecore.la"
29800
kde_check_header="ksharedptr.h"
29801
kde_check_lib="libkio.la"
29804
if test -z ""; then
29806
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"
29807
test -n "$KDEDIR" && kde_incdirs="$KDEDIR/include $KDEDIR/include/kde $KDEDIR $kde_incdirs"
29808
kde_incdirs="$ac_kde_includes $kde_incdirs"
29811
for i in $kde_incdirs;
29813
for j in $kde_check_header;
29815
echo "configure: 29815: $i/$j" >&5
29816
if test -r "$i/$j"; then
29817
echo "taking that" >&5
29824
ac_kde_includes="$kde_incdir"
29826
if test -n "$ac_kde_includes" && test ! -r "$ac_kde_includes/$kde_check_header"; then
29827
{ { echo "$as_me:$LINENO: error:
29828
in the prefix, you've chosen, are no KDE headers installed. This will fail.
29829
So, check this please and use another prefix!" >&5
29830
echo "$as_me: error:
29831
in the prefix, you've chosen, are no KDE headers installed. This will fail.
29832
So, check this please and use another prefix!" >&2;}
29833
{ (exit 1); exit 1; }; }
29836
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}"
29837
test -n "$KDEDIR" && kde_libdirs="$KDEDIR/lib${kdelibsuff} $KDEDIR $kde_libdirs"
29838
kde_libdirs="$ac_kde_libraries $libdir $kde_libdirs"
29841
for i in $kde_libdirs;
29843
for j in $kde_check_lib;
29845
echo "configure: 29845: $i/$j" >&5
29846
if test -r "$i/$j"; then
29847
echo "taking that" >&5
29854
ac_kde_libraries="$kde_libdir"
29859
for i in $kde_libdirs;
29861
for j in "kde3/plugins/designer/kdewidgets.la";
29863
echo "configure: 29863: $i/$j" >&5
29864
if test -r "$i/$j"; then
29865
echo "taking that" >&5
29873
if test -n "$ac_kde_libraries" && test ! -r "$ac_kde_libraries/$kde_check_lib"; then
29874
{ { echo "$as_me:$LINENO: error:
29875
in the prefix, you've chosen, are no KDE libraries installed. This will fail.
29876
So, check this please and use another prefix!" >&5
29877
echo "$as_me: error:
29878
in the prefix, you've chosen, are no KDE libraries installed. This will fail.
29879
So, check this please and use another prefix!" >&2;}
29880
{ (exit 1); exit 1; }; }
29883
if test -n "$kde_widgetdir" && test ! -r "$kde_widgetdir/kde3/plugins/designer/kdewidgets.la"; then
29884
{ { echo "$as_me:$LINENO: error:
29885
I can't find the designer plugins. These are required and should have been installed
29887
echo "$as_me: error:
29888
I can't find the designer plugins. These are required and should have been installed
29890
{ (exit 1); exit 1; }; }
29893
if test -n "$kde_widgetdir"; then
29894
kde_widgetdir="$kde_widgetdir/kde3/plugins/designer"
29898
if test "$ac_kde_includes" = NO || test "$ac_kde_libraries" = NO || test "$kde_widgetdir" = NO; then
29899
ac_cv_have_kde="have_kde=no"
29901
ac_cv_have_kde="have_kde=yes \
29902
ac_kde_includes=$ac_kde_includes ac_kde_libraries=$ac_kde_libraries"
29906
ac_cv_have_kde="have_kde=no"
29912
eval "$ac_cv_have_kde"
29914
if test "$have_kde" != "yes"; then
29915
if test "${prefix}" = NONE; then
29916
ac_kde_prefix="$ac_default_prefix"
29918
ac_kde_prefix="$prefix"
29920
if test "$exec_prefix" = NONE; then
29921
ac_kde_exec_prefix="$ac_kde_prefix"
29922
echo "$as_me:$LINENO: result: will be installed in $ac_kde_prefix" >&5
29923
echo "${ECHO_T}will be installed in $ac_kde_prefix" >&6
29925
ac_kde_exec_prefix="$exec_prefix"
29926
echo "$as_me:$LINENO: result: will be installed in $ac_kde_prefix and $ac_kde_exec_prefix" >&5
29927
echo "${ECHO_T}will be installed in $ac_kde_prefix and $ac_kde_exec_prefix" >&6
29930
kde_libraries="${libdir}"
29931
kde_includes="${includedir}"
29934
ac_cv_have_kde="have_kde=yes \
29935
ac_kde_includes=$ac_kde_includes ac_kde_libraries=$ac_kde_libraries"
29936
echo "$as_me:$LINENO: result: libraries $ac_kde_libraries, headers $ac_kde_includes" >&5
29937
echo "${ECHO_T}libraries $ac_kde_libraries, headers $ac_kde_includes" >&6
29939
kde_libraries="$ac_kde_libraries"
29940
kde_includes="$ac_kde_includes"
29945
if test "$kde_includes" = "$x_includes" || test "$kde_includes" = "$qt_includes" || test "$kde_includes" = "/usr/include"; then
29948
KDE_INCLUDES="-I$kde_includes"
29949
all_includes="$KDE_INCLUDES $all_includes"
29952
KDE_DEFAULT_CXXFLAGS="-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION"
29954
KDE_LDFLAGS="-L$kde_libraries"
29955
if test ! "$kde_libraries" = "$x_libraries" && test ! "$kde_libraries" = "$qt_libraries" ; then
29956
all_libraries="$all_libraries $KDE_LDFLAGS"
29964
all_libraries="$all_libraries $USER_LDFLAGS"
29965
all_includes="$all_includes $USER_INCLUDES"
29969
if test -z ""; then
29973
if test x$ac_uic_supports_libpath = xyes; then
29975
echo "$as_me:$LINENO: checking if UIC has KDE plugins available" >&5
29976
echo $ECHO_N "checking if UIC has KDE plugins available... $ECHO_C" >&6
29977
if test "${kde_cv_uic_plugins+set}" = set; then
29978
echo $ECHO_N "(cached) $ECHO_C" >&6
29981
cat > actest.ui << EOF
29982
<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
29983
<class>NewConnectionDialog</class>
29984
<widget class="QDialog">
29985
<widget class="KLineEdit">
29986
<property name="name">
29987
<cstring>testInput</cstring>
29996
kde_cv_uic_plugins=no
29997
kde_line="$UIC_PATH -L $kde_widgetdir"
29998
if test x$ac_uic_supports_nounload = xyes; then
29999
kde_line="$kde_line -nounload"
30001
kde_line="$kde_line -impl actest.h actest.ui > actest.cpp"
30002
if { (eval echo "$as_me:$LINENO: \"$kde_line\"") >&5
30003
(eval $kde_line) 2>&5
30005
echo "$as_me:$LINENO: \$? = $ac_status" >&5
30006
(exit $ac_status); }; then
30007
# if you're trying to debug this check and think it's incorrect,
30008
# better check your installation. The check _is_ correct - your
30009
# installation is not.
30010
if test -f actest.cpp && grep klineedit actest.cpp > /dev/null; then
30011
kde_cv_uic_plugins=yes
30014
rm -f actest.ui actest.cpp
30019
echo "$as_me:$LINENO: result: $kde_cv_uic_plugins" >&5
30020
echo "${ECHO_T}$kde_cv_uic_plugins" >&6
30021
if test "$kde_cv_uic_plugins" != yes; then
30022
{ { echo "$as_me:$LINENO: error: you need to install kdelibs first." >&5
30023
echo "$as_me: error: you need to install kdelibs first." >&2;}
30024
{ (exit 1); exit 1; }; }
30030
ac_kde_libraries="$kde_libdir"
30036
# Check whether --enable-path-check or --disable-path-check was given.
30037
if test "${enable_path_check+set}" = set; then
30038
enableval="$enable_path_check"
30040
if test "$enableval" = "no";
30041
then ac_use_path_checking="default"
30042
else ac_use_path_checking=""
30047
if test "$kde_qtver" = 1;
30048
then ac_use_path_checking=""
30049
else ac_use_path_checking="default"
30058
echo "$as_me:$LINENO: checking for KDE paths" >&5
30059
echo $ECHO_N "checking for KDE paths... $ECHO_C" >&6
30061
kde_cached_paths=yes
30062
if test "${kde_cv_all_paths+set}" = set; then
30063
echo $ECHO_N "(cached) $ECHO_C" >&6
30067
if test "$ac_use_path_checking" = "default"; then
30069
if test -z "$kde_htmldir"; then
30070
kde_htmldir='\${datadir}/doc/HTML'
30072
if test -z "$kde_appsdir"; then
30073
kde_appsdir='\${datadir}/applnk'
30075
if test -z "$kde_icondir"; then
30076
kde_icondir='\${datadir}/icons'
30078
if test -z "$kde_sounddir"; then
30079
kde_sounddir='\${datadir}/sounds'
30081
if test -z "$kde_datadir"; then
30082
kde_datadir='\${datadir}/apps'
30084
if test -z "$kde_locale"; then
30085
kde_locale='\${datadir}/locale'
30087
if test -z "$kde_cgidir"; then
30088
kde_cgidir='\${exec_prefix}/cgi-bin'
30090
if test -z "$kde_confdir"; then
30091
kde_confdir='\${datadir}/config'
30093
if test -z "$kde_kcfgdir"; then
30094
kde_kcfgdir='\${datadir}/config.kcfg'
30096
if test -z "$kde_mimedir"; then
30097
kde_mimedir='\${datadir}/mimelnk'
30099
if test -z "$kde_toolbardir"; then
30100
kde_toolbardir='\${datadir}/toolbar'
30102
if test -z "$kde_wallpaperdir"; then
30103
kde_wallpaperdir='\${datadir}/wallpapers'
30105
if test -z "$kde_templatesdir"; then
30106
kde_templatesdir='\${datadir}/templates'
30108
if test -z "$kde_bindir"; then
30109
kde_bindir='\${exec_prefix}/bin'
30111
if test -z "$kde_servicesdir"; then
30112
kde_servicesdir='\${datadir}/services'
30114
if test -z "$kde_servicetypesdir"; then
30115
kde_servicetypesdir='\${datadir}/servicetypes'
30117
if test -z "$kde_moduledir"; then
30118
if test "$kde_qtver" = "2"; then
30119
kde_moduledir='\${libdir}/kde2'
30121
kde_moduledir='\${libdir}/kde3'
30124
if test -z "$kde_styledir"; then
30125
kde_styledir='\${libdir}/kde3/plugins/styles'
30127
if test -z "$kde_widgetdir"; then
30128
kde_widgetdir='\${libdir}/kde3/plugins/designer'
30130
if test -z "$xdg_appsdir"; then
30131
xdg_appsdir='\${datadir}/applications/kde'
30133
if test -z "$xdg_menudir"; then
30134
xdg_menudir='\${sysconfdir}/xdg/menus'
30136
if test -z "$xdg_directorydir"; then
30137
xdg_directorydir='\${datadir}/desktop-directories'
30141
kde_cv_all_paths="kde_have_all_paths=\"yes\" \
30142
kde_htmldir=\"$kde_htmldir\" \
30143
kde_appsdir=\"$kde_appsdir\" \
30144
kde_icondir=\"$kde_icondir\" \
30145
kde_sounddir=\"$kde_sounddir\" \
30146
kde_datadir=\"$kde_datadir\" \
30147
kde_locale=\"$kde_locale\" \
30148
kde_cgidir=\"$kde_cgidir\" \
30149
kde_confdir=\"$kde_confdir\" \
30150
kde_kcfgdir=\"$kde_kcfgdir\" \
30151
kde_mimedir=\"$kde_mimedir\" \
30152
kde_toolbardir=\"$kde_toolbardir\" \
30153
kde_wallpaperdir=\"$kde_wallpaperdir\" \
30154
kde_templatesdir=\"$kde_templatesdir\" \
30155
kde_bindir=\"$kde_bindir\" \
30156
kde_servicesdir=\"$kde_servicesdir\" \
30157
kde_servicetypesdir=\"$kde_servicetypesdir\" \
30158
kde_moduledir=\"$kde_moduledir\" \
30159
kde_styledir=\"$kde_styledir\" \
30160
kde_widgetdir=\"$kde_widgetdir\" \
30161
xdg_appsdir=\"$xdg_appsdir\" \
30162
xdg_menudir=\"$xdg_menudir\" \
30163
xdg_directorydir=\"$xdg_directorydir\" \
30164
kde_result=defaults"
30169
if test $kde_qtver = 1; then
30170
echo "$as_me:$LINENO: result: compiling" >&5
30171
echo "${ECHO_T}compiling" >&6
30174
echo "$as_me:$LINENO: checking for KDE headers installed" >&5
30175
echo $ECHO_N "checking for KDE headers installed... $ECHO_C" >&6
30179
ac_cpp='$CXXCPP $CPPFLAGS'
30180
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30181
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30182
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30184
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
30187
cat > conftest.$ac_ext <<EOF
30188
#ifdef STDC_HEADERS
30189
# include <stdlib.h>
30192
#include "confdefs.h"
30196
printf("kde_htmldir=\\"%s\\"\n", KApplication::kde_htmldir().data());
30197
printf("kde_appsdir=\\"%s\\"\n", KApplication::kde_appsdir().data());
30198
printf("kde_icondir=\\"%s\\"\n", KApplication::kde_icondir().data());
30199
printf("kde_sounddir=\\"%s\\"\n", KApplication::kde_sounddir().data());
30200
printf("kde_datadir=\\"%s\\"\n", KApplication::kde_datadir().data());
30201
printf("kde_locale=\\"%s\\"\n", KApplication::kde_localedir().data());
30202
printf("kde_cgidir=\\"%s\\"\n", KApplication::kde_cgidir().data());
30203
printf("kde_confdir=\\"%s\\"\n", KApplication::kde_configdir().data());
30204
printf("kde_mimedir=\\"%s\\"\n", KApplication::kde_mimedir().data());
30205
printf("kde_toolbardir=\\"%s\\"\n", KApplication::kde_toolbardir().data());
30206
printf("kde_wallpaperdir=\\"%s\\"\n",
30207
KApplication::kde_wallpaperdir().data());
30208
printf("kde_bindir=\\"%s\\"\n", KApplication::kde_bindir().data());
30209
printf("kde_partsdir=\\"%s\\"\n", KApplication::kde_partsdir().data());
30210
printf("kde_servicesdir=\\"/tmp/dummy\\"\n");
30211
printf("kde_servicetypesdir=\\"/tmp/dummy\\"\n");
30212
printf("kde_moduledir=\\"/tmp/dummy\\"\n");
30213
printf("kde_styledir=\\"/tmp/dummy\\"\n");
30214
printf("kde_widgetdir=\\"/tmp/dummy\\"\n");
30215
printf("xdg_appsdir=\\"/tmp/dummy\\"\n");
30216
printf("xdg_menudir=\\"/tmp/dummy\\"\n");
30217
printf("xdg_directorydir=\\"/tmp/dummy\\"\n");
30218
printf("kde_kcfgdir=\\"/tmp/dummy\\"\n");
30223
ac_save_CPPFLAGS=$CPPFLAGS
30224
CPPFLAGS="$all_includes $CPPFLAGS"
30225
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30226
(eval $ac_compile) 2>&5
30228
echo "$as_me:$LINENO: \$? = $ac_status" >&5
30229
(exit $ac_status); }; then
30230
echo "$as_me:$LINENO: result: yes" >&5
30231
echo "${ECHO_T}yes" >&6
30233
{ { echo "$as_me:$LINENO: error: your system is not able to compile a small KDE application!
30234
Check, if you installed the KDE header files correctly.
30235
For more details about this problem, look at the end of config.log." >&5
30236
echo "$as_me: error: your system is not able to compile a small KDE application!
30237
Check, if you installed the KDE header files correctly.
30238
For more details about this problem, look at the end of config.log." >&2;}
30239
{ (exit 1); exit 1; }; }
30241
CPPFLAGS=$ac_save_CPPFLAGS
30244
ac_cpp='$CPP $CPPFLAGS'
30245
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30246
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30247
ac_compiler_gnu=$ac_cv_c_compiler_gnu
30253
if test -n "$USE_RPATH"; then
30255
if test -n "$kde_libraries"; then
30256
KDE_TEST_RPATH="-R $kde_libraries"
30259
if test -n "$qt_libraries"; then
30260
KDE_TEST_RPATH="$KDE_TEST_RPATH -R $qt_libraries"
30263
if test -n "$x_libraries"; then
30264
KDE_TEST_RPATH="$KDE_TEST_RPATH -R $x_libraries"
30267
KDE_TEST_RPATH="$KDE_TEST_RPATH $KDE_EXTRA_RPATH"
30270
echo "$as_me:$LINENO: checking for KDE libraries installed" >&5
30271
echo $ECHO_N "checking for KDE libraries installed... $ECHO_C" >&6
30272
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'
30274
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30275
(eval $ac_link) 2>&5
30277
echo "$as_me:$LINENO: \$? = $ac_status" >&5
30278
(exit $ac_status); } && test -s conftest; then
30279
echo "$as_me:$LINENO: result: yes" >&5
30280
echo "${ECHO_T}yes" >&6
30282
{ { echo "$as_me:$LINENO: error: your system fails at linking a small KDE application!
30283
Check, if your compiler is installed correctly and if you have used the
30284
same compiler to compile Qt and kdelibs as you did use now.
30285
For more details about this problem, look at the end of config.log." >&5
30286
echo "$as_me: error: your system fails at linking a small KDE application!
30287
Check, if your compiler is installed correctly and if you have used the
30288
same compiler to compile Qt and kdelibs as you did use now.
30289
For more details about this problem, look at the end of config.log." >&2;}
30290
{ (exit 1); exit 1; }; }
30293
if eval `KDEDIR= ./conftest 2>&5`; then
30296
kde_result=problems
30299
KDEDIR= ./conftest 2> /dev/null >&5 # make an echo for config.log
30300
kde_have_all_paths=yes
30303
kde_cv_all_paths="kde_have_all_paths=\"yes\" \
30304
kde_htmldir=\"$kde_htmldir\" \
30305
kde_appsdir=\"$kde_appsdir\" \
30306
kde_icondir=\"$kde_icondir\" \
30307
kde_sounddir=\"$kde_sounddir\" \
30308
kde_datadir=\"$kde_datadir\" \
30309
kde_locale=\"$kde_locale\" \
30310
kde_cgidir=\"$kde_cgidir\" \
30311
kde_confdir=\"$kde_confdir\" \
30312
kde_kcfgdir=\"$kde_kcfgdir\" \
30313
kde_mimedir=\"$kde_mimedir\" \
30314
kde_toolbardir=\"$kde_toolbardir\" \
30315
kde_wallpaperdir=\"$kde_wallpaperdir\" \
30316
kde_templatesdir=\"$kde_templatesdir\" \
30317
kde_bindir=\"$kde_bindir\" \
30318
kde_servicesdir=\"$kde_servicesdir\" \
30319
kde_servicetypesdir=\"$kde_servicetypesdir\" \
30320
kde_moduledir=\"$kde_moduledir\" \
30321
kde_styledir=\"$kde_styledir\" \
30322
kde_widgetdir=\"$kde_widgetdir\" \
30323
xdg_appsdir=\"$xdg_appsdir\" \
30324
xdg_menudir=\"$xdg_menudir\" \
30325
xdg_directorydir=\"$xdg_directorydir\" \
30326
kde_result=$kde_result"
30331
{ { echo "$as_me:$LINENO: error: path checking not yet supported for KDE 2" >&5
30332
echo "$as_me: error: path checking not yet supported for KDE 2" >&2;}
30333
{ (exit 1); exit 1; }; }
30338
kde_cached_paths=no
30342
eval "$kde_cv_all_paths"
30343
if test -z "$kde_htmldir" || test -z "$kde_appsdir" ||
30344
test -z "$kde_icondir" || test -z "$kde_sounddir" ||
30345
test -z "$kde_datadir" || test -z "$kde_locale" ||
30346
test -z "$kde_cgidir" || test -z "$kde_confdir" ||
30347
test -z "$kde_kcfgdir" ||
30348
test -z "$kde_mimedir" || test -z "$kde_toolbardir" ||
30349
test -z "$kde_wallpaperdir" || test -z "$kde_templatesdir" ||
30350
test -z "$kde_bindir" || test -z "$kde_servicesdir" ||
30351
test -z "$kde_servicetypesdir" || test -z "$kde_moduledir" ||
30352
test -z "$kde_styledir" || test -z "kde_widgetdir" ||
30353
test -z "$xdg_appsdir" || test -z "$xdg_menudir" || test -z "$xdg_directorydir" ||
30354
test "x$kde_have_all_paths" != "xyes"; then
30355
kde_have_all_paths=no
30358
if test "$kde_have_all_paths" = "no" && test "$kde_cached_paths" = "yes"; then
30359
# wrong values were cached, may be, we can set better ones
30361
kde_htmldir= kde_appsdir= kde_icondir= kde_sounddir=
30362
kde_datadir= kde_locale= kde_cgidir= kde_confdir= kde_kcfgdir=
30363
kde_mimedir= kde_toolbardir= kde_wallpaperdir= kde_templatesdir=
30364
kde_bindir= kde_servicesdir= kde_servicetypesdir= kde_moduledir=
30365
kde_have_all_paths=
30368
xdg_appsdir = xdg_menudir= xdg_directorydir=
30370
if test "$ac_use_path_checking" = "default"; then
30372
if test -z "$kde_htmldir"; then
30373
kde_htmldir='\${datadir}/doc/HTML'
30375
if test -z "$kde_appsdir"; then
30376
kde_appsdir='\${datadir}/applnk'
30378
if test -z "$kde_icondir"; then
30379
kde_icondir='\${datadir}/icons'
30381
if test -z "$kde_sounddir"; then
30382
kde_sounddir='\${datadir}/sounds'
30384
if test -z "$kde_datadir"; then
30385
kde_datadir='\${datadir}/apps'
30387
if test -z "$kde_locale"; then
30388
kde_locale='\${datadir}/locale'
30390
if test -z "$kde_cgidir"; then
30391
kde_cgidir='\${exec_prefix}/cgi-bin'
30393
if test -z "$kde_confdir"; then
30394
kde_confdir='\${datadir}/config'
30396
if test -z "$kde_kcfgdir"; then
30397
kde_kcfgdir='\${datadir}/config.kcfg'
30399
if test -z "$kde_mimedir"; then
30400
kde_mimedir='\${datadir}/mimelnk'
30402
if test -z "$kde_toolbardir"; then
30403
kde_toolbardir='\${datadir}/toolbar'
30405
if test -z "$kde_wallpaperdir"; then
30406
kde_wallpaperdir='\${datadir}/wallpapers'
30408
if test -z "$kde_templatesdir"; then
30409
kde_templatesdir='\${datadir}/templates'
30411
if test -z "$kde_bindir"; then
30412
kde_bindir='\${exec_prefix}/bin'
30414
if test -z "$kde_servicesdir"; then
30415
kde_servicesdir='\${datadir}/services'
30417
if test -z "$kde_servicetypesdir"; then
30418
kde_servicetypesdir='\${datadir}/servicetypes'
30420
if test -z "$kde_moduledir"; then
30421
if test "$kde_qtver" = "2"; then
30422
kde_moduledir='\${libdir}/kde2'
30424
kde_moduledir='\${libdir}/kde3'
30427
if test -z "$kde_styledir"; then
30428
kde_styledir='\${libdir}/kde3/plugins/styles'
30430
if test -z "$kde_widgetdir"; then
30431
kde_widgetdir='\${libdir}/kde3/plugins/designer'
30433
if test -z "$xdg_appsdir"; then
30434
xdg_appsdir='\${datadir}/applications/kde'
30436
if test -z "$xdg_menudir"; then
30437
xdg_menudir='\${sysconfdir}/xdg/menus'
30439
if test -z "$xdg_directorydir"; then
30440
xdg_directorydir='\${datadir}/desktop-directories'
30444
kde_cv_all_paths="kde_have_all_paths=\"yes\" \
30445
kde_htmldir=\"$kde_htmldir\" \
30446
kde_appsdir=\"$kde_appsdir\" \
30447
kde_icondir=\"$kde_icondir\" \
30448
kde_sounddir=\"$kde_sounddir\" \
30449
kde_datadir=\"$kde_datadir\" \
30450
kde_locale=\"$kde_locale\" \
30451
kde_cgidir=\"$kde_cgidir\" \
30452
kde_confdir=\"$kde_confdir\" \
30453
kde_kcfgdir=\"$kde_kcfgdir\" \
30454
kde_mimedir=\"$kde_mimedir\" \
30455
kde_toolbardir=\"$kde_toolbardir\" \
30456
kde_wallpaperdir=\"$kde_wallpaperdir\" \
30457
kde_templatesdir=\"$kde_templatesdir\" \
30458
kde_bindir=\"$kde_bindir\" \
30459
kde_servicesdir=\"$kde_servicesdir\" \
30460
kde_servicetypesdir=\"$kde_servicetypesdir\" \
30461
kde_moduledir=\"$kde_moduledir\" \
30462
kde_styledir=\"$kde_styledir\" \
30463
kde_widgetdir=\"$kde_widgetdir\" \
30464
xdg_appsdir=\"$xdg_appsdir\" \
30465
xdg_menudir=\"$xdg_menudir\" \
30466
xdg_directorydir=\"$xdg_directorydir\" \
30467
kde_result=defaults"
30472
if test $kde_qtver = 1; then
30473
echo "$as_me:$LINENO: result: compiling" >&5
30474
echo "${ECHO_T}compiling" >&6
30477
echo "$as_me:$LINENO: checking for KDE headers installed" >&5
30478
echo $ECHO_N "checking for KDE headers installed... $ECHO_C" >&6
30482
ac_cpp='$CXXCPP $CPPFLAGS'
30483
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30484
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30485
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30487
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
30490
cat > conftest.$ac_ext <<EOF
30491
#ifdef STDC_HEADERS
30492
# include <stdlib.h>
30495
#include "confdefs.h"
30499
printf("kde_htmldir=\\"%s\\"\n", KApplication::kde_htmldir().data());
30500
printf("kde_appsdir=\\"%s\\"\n", KApplication::kde_appsdir().data());
30501
printf("kde_icondir=\\"%s\\"\n", KApplication::kde_icondir().data());
30502
printf("kde_sounddir=\\"%s\\"\n", KApplication::kde_sounddir().data());
30503
printf("kde_datadir=\\"%s\\"\n", KApplication::kde_datadir().data());
30504
printf("kde_locale=\\"%s\\"\n", KApplication::kde_localedir().data());
30505
printf("kde_cgidir=\\"%s\\"\n", KApplication::kde_cgidir().data());
30506
printf("kde_confdir=\\"%s\\"\n", KApplication::kde_configdir().data());
30507
printf("kde_mimedir=\\"%s\\"\n", KApplication::kde_mimedir().data());
30508
printf("kde_toolbardir=\\"%s\\"\n", KApplication::kde_toolbardir().data());
30509
printf("kde_wallpaperdir=\\"%s\\"\n",
30510
KApplication::kde_wallpaperdir().data());
30511
printf("kde_bindir=\\"%s\\"\n", KApplication::kde_bindir().data());
30512
printf("kde_partsdir=\\"%s\\"\n", KApplication::kde_partsdir().data());
30513
printf("kde_servicesdir=\\"/tmp/dummy\\"\n");
30514
printf("kde_servicetypesdir=\\"/tmp/dummy\\"\n");
30515
printf("kde_moduledir=\\"/tmp/dummy\\"\n");
30516
printf("kde_styledir=\\"/tmp/dummy\\"\n");
30517
printf("kde_widgetdir=\\"/tmp/dummy\\"\n");
30518
printf("xdg_appsdir=\\"/tmp/dummy\\"\n");
30519
printf("xdg_menudir=\\"/tmp/dummy\\"\n");
30520
printf("xdg_directorydir=\\"/tmp/dummy\\"\n");
30521
printf("kde_kcfgdir=\\"/tmp/dummy\\"\n");
30526
ac_save_CPPFLAGS=$CPPFLAGS
30527
CPPFLAGS="$all_includes $CPPFLAGS"
30528
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30529
(eval $ac_compile) 2>&5
30531
echo "$as_me:$LINENO: \$? = $ac_status" >&5
30532
(exit $ac_status); }; then
30533
echo "$as_me:$LINENO: result: yes" >&5
30534
echo "${ECHO_T}yes" >&6
30536
{ { echo "$as_me:$LINENO: error: your system is not able to compile a small KDE application!
30537
Check, if you installed the KDE header files correctly.
30538
For more details about this problem, look at the end of config.log." >&5
30539
echo "$as_me: error: your system is not able to compile a small KDE application!
30540
Check, if you installed the KDE header files correctly.
30541
For more details about this problem, look at the end of config.log." >&2;}
30542
{ (exit 1); exit 1; }; }
30544
CPPFLAGS=$ac_save_CPPFLAGS
30547
ac_cpp='$CPP $CPPFLAGS'
30548
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30549
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30550
ac_compiler_gnu=$ac_cv_c_compiler_gnu
30556
if test -n "$USE_RPATH"; then
30558
if test -n "$kde_libraries"; then
30559
KDE_TEST_RPATH="-R $kde_libraries"
30562
if test -n "$qt_libraries"; then
30563
KDE_TEST_RPATH="$KDE_TEST_RPATH -R $qt_libraries"
30566
if test -n "$x_libraries"; then
30567
KDE_TEST_RPATH="$KDE_TEST_RPATH -R $x_libraries"
30570
KDE_TEST_RPATH="$KDE_TEST_RPATH $KDE_EXTRA_RPATH"
30573
echo "$as_me:$LINENO: checking for KDE libraries installed" >&5
30574
echo $ECHO_N "checking for KDE libraries installed... $ECHO_C" >&6
30575
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'
30577
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30578
(eval $ac_link) 2>&5
30580
echo "$as_me:$LINENO: \$? = $ac_status" >&5
30581
(exit $ac_status); } && test -s conftest; then
30582
echo "$as_me:$LINENO: result: yes" >&5
30583
echo "${ECHO_T}yes" >&6
30585
{ { echo "$as_me:$LINENO: error: your system fails at linking a small KDE application!
30586
Check, if your compiler is installed correctly and if you have used the
30587
same compiler to compile Qt and kdelibs as you did use now.
30588
For more details about this problem, look at the end of config.log." >&5
30589
echo "$as_me: error: your system fails at linking a small KDE application!
30590
Check, if your compiler is installed correctly and if you have used the
30591
same compiler to compile Qt and kdelibs as you did use now.
30592
For more details about this problem, look at the end of config.log." >&2;}
30593
{ (exit 1); exit 1; }; }
30596
if eval `KDEDIR= ./conftest 2>&5`; then
30599
kde_result=problems
30602
KDEDIR= ./conftest 2> /dev/null >&5 # make an echo for config.log
30603
kde_have_all_paths=yes
30606
kde_cv_all_paths="kde_have_all_paths=\"yes\" \
30607
kde_htmldir=\"$kde_htmldir\" \
30608
kde_appsdir=\"$kde_appsdir\" \
30609
kde_icondir=\"$kde_icondir\" \
30610
kde_sounddir=\"$kde_sounddir\" \
30611
kde_datadir=\"$kde_datadir\" \
30612
kde_locale=\"$kde_locale\" \
30613
kde_cgidir=\"$kde_cgidir\" \
30614
kde_confdir=\"$kde_confdir\" \
30615
kde_kcfgdir=\"$kde_kcfgdir\" \
30616
kde_mimedir=\"$kde_mimedir\" \
30617
kde_toolbardir=\"$kde_toolbardir\" \
30618
kde_wallpaperdir=\"$kde_wallpaperdir\" \
30619
kde_templatesdir=\"$kde_templatesdir\" \
30620
kde_bindir=\"$kde_bindir\" \
30621
kde_servicesdir=\"$kde_servicesdir\" \
30622
kde_servicetypesdir=\"$kde_servicetypesdir\" \
30623
kde_moduledir=\"$kde_moduledir\" \
30624
kde_styledir=\"$kde_styledir\" \
30625
kde_widgetdir=\"$kde_widgetdir\" \
30626
xdg_appsdir=\"$xdg_appsdir\" \
30627
xdg_menudir=\"$xdg_menudir\" \
30628
xdg_directorydir=\"$xdg_directorydir\" \
30629
kde_result=$kde_result"
30634
{ { echo "$as_me:$LINENO: error: path checking not yet supported for KDE 2" >&5
30635
echo "$as_me: error: path checking not yet supported for KDE 2" >&2;}
30636
{ (exit 1); exit 1; }; }
30641
eval "$kde_cv_all_paths"
30642
if test -z "$kde_htmldir" || test -z "$kde_appsdir" ||
30643
test -z "$kde_icondir" || test -z "$kde_sounddir" ||
30644
test -z "$kde_datadir" || test -z "$kde_locale" ||
30645
test -z "$kde_cgidir" || test -z "$kde_confdir" ||
30646
test -z "$kde_kcfgdir" ||
30647
test -z "$kde_mimedir" || test -z "$kde_toolbardir" ||
30648
test -z "$kde_wallpaperdir" || test -z "$kde_templatesdir" ||
30649
test -z "$kde_bindir" || test -z "$kde_servicesdir" ||
30650
test -z "$kde_servicetypesdir" || test -z "$kde_moduledir" ||
30651
test -z "$kde_styledir" || test -z "kde_widgetdir" ||
30652
test -z "$xdg_appsdir" || test -z "$xdg_menudir" || test -z "$xdg_directorydir" ||
30653
test "x$kde_have_all_paths" != "xyes"; then
30654
kde_have_all_paths=no
30657
kde_result="$kde_result (cache overridden)"
30659
if test "$kde_have_all_paths" = "no"; then
30660
{ { echo "$as_me:$LINENO: error: configure could not run a little KDE program to test the environment.
30661
Since it had compiled and linked before, it must be a strange problem on your system.
30662
Look at config.log for details. If you are not able to fix this, look at
30663
http://www.kde.org/faq/installation.html or any www.kde.org mirror.
30664
(If you're using an egcs version on Linux, you may update binutils!)
30666
echo "$as_me: error: configure could not run a little KDE program to test the environment.
30667
Since it had compiled and linked before, it must be a strange problem on your system.
30668
Look at config.log for details. If you are not able to fix this, look at
30669
http://www.kde.org/faq/installation.html or any www.kde.org mirror.
30670
(If you're using an egcs version on Linux, you may update binutils!)
30672
{ (exit 1); exit 1; }; }
30675
echo "$as_me:$LINENO: result: $kde_result" >&5
30676
echo "${ECHO_T}$kde_result" >&6
30683
# Check whether --with-arts or --without-arts was given.
30684
if test "${with_arts+set}" = set; then
30685
withval="$with_arts"
30686
build_arts=$withval
30693
if test "$build_arts" '!=' "no"; then
30695
include_ARTS_FALSE='#'
30697
include_ARTS_TRUE='#'
30698
include_ARTS_FALSE=
30701
if test "$build_arts" = "no"; then
30703
cat >>confdefs.h <<\_ACEOF
30704
#define WITHOUT_ARTS 1
30710
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"
30711
test -n "$KDEDIR" && kde_default_bindirs="$KDEDIR/bin $kde_default_bindirs"
30712
if test -n "$KDEDIRS"; then
30715
for dir in $KDEDIRS; do
30716
kde_default_bindirs="$dir/bin $kde_default_bindirs "
30721
kde_default_bindirs="$exec_prefix/bin $prefix/bin $kde_libs_prefix/bin $kde_default_bindirs"
30723
echo "$as_me:$LINENO: checking for dcopidl" >&5
30724
echo $ECHO_N "checking for dcopidl... $ECHO_C" >&6
30725
if test -n "$DCOPIDL"; then
30726
kde_cv_path="$DCOPIDL";
30728
kde_cache=`echo dcopidl | sed 'y%./+-%__p_%'`
30730
if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
30731
echo $ECHO_N "(cached) $ECHO_C" >&6
30738
for dir in $PATH; do
30741
if test -z ""; then dirs="$kde_default_bindirs $dirs"
30742
else dirs="$dirs $kde_default_bindirs"
30746
for dir in $dirs; do
30747
if test -x "$dir/dcopidl"; then
30750
evalstr="$dir/dcopidl 2>&1 "
30751
if eval $evalstr; then
30752
kde_cv_path="$dir/dcopidl"
30756
kde_cv_path="$dir/dcopidl"
30762
eval "kde_cv_path_$kde_cache=$kde_cv_path"
30768
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
30772
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
30773
echo "$as_me:$LINENO: result: not found" >&5
30774
echo "${ECHO_T}not found" >&6
30776
{ { echo "$as_me:$LINENO: error: The important program dcopidl was not found!
30777
Please check whether you installed KDE correctly.
30779
echo "$as_me: error: The important program dcopidl was not found!
30780
Please check whether you installed KDE correctly.
30782
{ (exit 1); exit 1; }; }
30785
echo "$as_me:$LINENO: result: $kde_cv_path" >&5
30786
echo "${ECHO_T}$kde_cv_path" >&6
30787
DCOPIDL=$kde_cv_path
30792
echo "$as_me:$LINENO: checking for dcopidl2cpp" >&5
30793
echo $ECHO_N "checking for dcopidl2cpp... $ECHO_C" >&6
30794
if test -n "$DCOPIDL2CPP"; then
30795
kde_cv_path="$DCOPIDL2CPP";
30797
kde_cache=`echo dcopidl2cpp | sed 'y%./+-%__p_%'`
30799
if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
30800
echo $ECHO_N "(cached) $ECHO_C" >&6
30807
for dir in $PATH; do
30810
if test -z ""; then dirs="$kde_default_bindirs $dirs"
30811
else dirs="$dirs $kde_default_bindirs"
30815
for dir in $dirs; do
30816
if test -x "$dir/dcopidl2cpp"; then
30819
evalstr="$dir/dcopidl2cpp 2>&1 "
30820
if eval $evalstr; then
30821
kde_cv_path="$dir/dcopidl2cpp"
30825
kde_cv_path="$dir/dcopidl2cpp"
30831
eval "kde_cv_path_$kde_cache=$kde_cv_path"
30837
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
30841
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
30842
echo "$as_me:$LINENO: result: not found" >&5
30843
echo "${ECHO_T}not found" >&6
30845
{ { echo "$as_me:$LINENO: error: The important program dcopidl2cpp was not found!
30846
Please check whether you installed KDE correctly.
30848
echo "$as_me: error: The important program dcopidl2cpp was not found!
30849
Please check whether you installed KDE correctly.
30851
{ (exit 1); exit 1; }; }
30854
echo "$as_me:$LINENO: result: $kde_cv_path" >&5
30855
echo "${ECHO_T}$kde_cv_path" >&6
30856
DCOPIDL2CPP=$kde_cv_path
30860
if test "$build_arts" '!=' "no"; then
30862
echo "$as_me:$LINENO: checking for mcopidl" >&5
30863
echo $ECHO_N "checking for mcopidl... $ECHO_C" >&6
30864
if test -n "$MCOPIDL"; then
30865
kde_cv_path="$MCOPIDL";
30867
kde_cache=`echo mcopidl | sed 'y%./+-%__p_%'`
30869
if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
30870
echo $ECHO_N "(cached) $ECHO_C" >&6
30877
for dir in $PATH; do
30880
if test -z ""; then dirs="$kde_default_bindirs $dirs"
30881
else dirs="$dirs $kde_default_bindirs"
30885
for dir in $dirs; do
30886
if test -x "$dir/mcopidl"; then
30889
evalstr="$dir/mcopidl 2>&1 "
30890
if eval $evalstr; then
30891
kde_cv_path="$dir/mcopidl"
30895
kde_cv_path="$dir/mcopidl"
30901
eval "kde_cv_path_$kde_cache=$kde_cv_path"
30907
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
30911
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
30912
echo "$as_me:$LINENO: result: not found" >&5
30913
echo "${ECHO_T}not found" >&6
30915
{ { echo "$as_me:$LINENO: error: The important program mcopidl was not found!
30916
Please check whether you installed aRts correctly or use
30917
--without-arts to compile without aRts support (this will remove functionality).
30919
echo "$as_me: error: The important program mcopidl was not found!
30920
Please check whether you installed aRts correctly or use
30921
--without-arts to compile without aRts support (this will remove functionality).
30923
{ (exit 1); exit 1; }; }
30926
echo "$as_me:$LINENO: result: $kde_cv_path" >&5
30927
echo "${ECHO_T}$kde_cv_path" >&6
30928
MCOPIDL=$kde_cv_path
30933
echo "$as_me:$LINENO: checking for artsc-config" >&5
30934
echo $ECHO_N "checking for artsc-config... $ECHO_C" >&6
30935
if test -n "$ARTSCCONFIG"; then
30936
kde_cv_path="$ARTSCCONFIG";
30938
kde_cache=`echo artsc-config | sed 'y%./+-%__p_%'`
30940
if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
30941
echo $ECHO_N "(cached) $ECHO_C" >&6
30948
for dir in $PATH; do
30951
if test -z ""; then dirs="$kde_default_bindirs $dirs"
30952
else dirs="$dirs $kde_default_bindirs"
30956
for dir in $dirs; do
30957
if test -x "$dir/artsc-config"; then
30960
evalstr="$dir/artsc-config 2>&1 "
30961
if eval $evalstr; then
30962
kde_cv_path="$dir/artsc-config"
30966
kde_cv_path="$dir/artsc-config"
30972
eval "kde_cv_path_$kde_cache=$kde_cv_path"
30978
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
30982
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
30983
echo "$as_me:$LINENO: result: not found" >&5
30984
echo "${ECHO_T}not found" >&6
30986
{ { echo "$as_me:$LINENO: error: The important program artsc-config was not found!
30987
Please check whether you installed aRts correctly or use
30988
--without-arts to compile without aRts support (this will remove functionality).
30990
echo "$as_me: error: The important program artsc-config was not found!
30991
Please check whether you installed aRts correctly or use
30992
--without-arts to compile without aRts support (this will remove functionality).
30994
{ (exit 1); exit 1; }; }
30997
echo "$as_me:$LINENO: result: $kde_cv_path" >&5
30998
echo "${ECHO_T}$kde_cv_path" >&6
30999
ARTSCCONFIG=$kde_cv_path
31005
echo "$as_me:$LINENO: checking for meinproc" >&5
31006
echo $ECHO_N "checking for meinproc... $ECHO_C" >&6
31007
if test -n "$MEINPROC"; then
31008
kde_cv_path="$MEINPROC";
31010
kde_cache=`echo meinproc | sed 'y%./+-%__p_%'`
31012
if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
31013
echo $ECHO_N "(cached) $ECHO_C" >&6
31020
for dir in $PATH; do
31023
if test -z ""; then dirs="$kde_default_bindirs $dirs"
31024
else dirs="$dirs $kde_default_bindirs"
31028
for dir in $dirs; do
31029
if test -x "$dir/meinproc"; then
31032
evalstr="$dir/meinproc 2>&1 "
31033
if eval $evalstr; then
31034
kde_cv_path="$dir/meinproc"
31038
kde_cv_path="$dir/meinproc"
31044
eval "kde_cv_path_$kde_cache=$kde_cv_path"
31050
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
31054
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
31055
echo "$as_me:$LINENO: result: not found" >&5
31056
echo "${ECHO_T}not found" >&6
31059
echo "$as_me:$LINENO: result: $kde_cv_path" >&5
31060
echo "${ECHO_T}$kde_cv_path" >&6
31061
MEINPROC=$kde_cv_path
31067
if test -n "$kde_qtver" && test "$kde_qtver" -lt 3; then
31070
if test "$kde_qtver" = "3" && test "$kde_qtsubver" -le 1; then
31075
if test -n "$kde32ornewer"; then
31077
echo "$as_me:$LINENO: checking for kconfig_compiler" >&5
31078
echo $ECHO_N "checking for kconfig_compiler... $ECHO_C" >&6
31079
if test -n "$KCONFIG_COMPILER"; then
31080
kde_cv_path="$KCONFIG_COMPILER";
31082
kde_cache=`echo kconfig_compiler | sed 'y%./+-%__p_%'`
31084
if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
31085
echo $ECHO_N "(cached) $ECHO_C" >&6
31092
for dir in $PATH; do
31095
if test -z ""; then dirs="$kde_default_bindirs $dirs"
31096
else dirs="$dirs $kde_default_bindirs"
31100
for dir in $dirs; do
31101
if test -x "$dir/kconfig_compiler"; then
31104
evalstr="$dir/kconfig_compiler 2>&1 "
31105
if eval $evalstr; then
31106
kde_cv_path="$dir/kconfig_compiler"
31110
kde_cv_path="$dir/kconfig_compiler"
31116
eval "kde_cv_path_$kde_cache=$kde_cv_path"
31122
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
31126
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
31127
echo "$as_me:$LINENO: result: not found" >&5
31128
echo "${ECHO_T}not found" >&6
31130
{ { echo "$as_me:$LINENO: error: The important program kconfig_compiler was not found!
31131
Please check whether you installed KDE correctly.
31133
echo "$as_me: error: The important program kconfig_compiler was not found!
31134
Please check whether you installed KDE correctly.
31136
{ (exit 1); exit 1; }; }
31139
echo "$as_me:$LINENO: result: $kde_cv_path" >&5
31140
echo "${ECHO_T}$kde_cv_path" >&6
31141
KCONFIG_COMPILER=$kde_cv_path
31146
echo "$as_me:$LINENO: checking for dcopidlng" >&5
31147
echo $ECHO_N "checking for dcopidlng... $ECHO_C" >&6
31148
if test -n "$DCOPIDLNG"; then
31149
kde_cv_path="$DCOPIDLNG";
31151
kde_cache=`echo dcopidlng | sed 'y%./+-%__p_%'`
31153
if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
31154
echo $ECHO_N "(cached) $ECHO_C" >&6
31161
for dir in $PATH; do
31164
if test -z ""; then dirs="$kde_default_bindirs $dirs"
31165
else dirs="$dirs $kde_default_bindirs"
31169
for dir in $dirs; do
31170
if test -x "$dir/dcopidlng"; then
31173
evalstr="$dir/dcopidlng 2>&1 "
31174
if eval $evalstr; then
31175
kde_cv_path="$dir/dcopidlng"
31179
kde_cv_path="$dir/dcopidlng"
31185
eval "kde_cv_path_$kde_cache=$kde_cv_path"
31191
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
31195
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
31196
echo "$as_me:$LINENO: result: not found" >&5
31197
echo "${ECHO_T}not found" >&6
31199
{ { echo "$as_me:$LINENO: error: The important program dcopidlng was not found!
31200
Please check whether you installed KDE correctly.
31202
echo "$as_me: error: The important program dcopidlng was not found!
31203
Please check whether you installed KDE correctly.
31205
{ (exit 1); exit 1; }; }
31208
echo "$as_me:$LINENO: result: $kde_cv_path" >&5
31209
echo "${ECHO_T}$kde_cv_path" >&6
31210
DCOPIDLNG=$kde_cv_path
31216
echo "$as_me:$LINENO: checking for xmllint" >&5
31217
echo $ECHO_N "checking for xmllint... $ECHO_C" >&6
31218
if test -n "$XMLLINT"; then
31219
kde_cv_path="$XMLLINT";
31221
kde_cache=`echo xmllint | sed 'y%./+-%__p_%'`
31223
if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
31224
echo $ECHO_N "(cached) $ECHO_C" >&6
31231
for dir in $PATH; do
31234
if test -z ""; then dirs="${prefix}/bin ${exec_prefix}/bin $dirs"
31235
else dirs="$dirs ${prefix}/bin ${exec_prefix}/bin"
31239
for dir in $dirs; do
31240
if test -x "$dir/xmllint"; then
31243
evalstr="$dir/xmllint 2>&1 "
31244
if eval $evalstr; then
31245
kde_cv_path="$dir/xmllint"
31249
kde_cv_path="$dir/xmllint"
31255
eval "kde_cv_path_$kde_cache=$kde_cv_path"
31261
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
31265
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
31266
echo "$as_me:$LINENO: result: not found" >&5
31267
echo "${ECHO_T}not found" >&6
31270
echo "$as_me:$LINENO: result: $kde_cv_path" >&5
31271
echo "${ECHO_T}$kde_cv_path" >&6
31272
XMLLINT=$kde_cv_path
31277
if test -n "$MEINPROC" && test ! "$MEINPROC" = "compiled"; then
31278
kde_sharedirs="/usr/share/kde /usr/local/share /usr/share /opt/kde3/share /opt/kde/share $prefix/share"
31279
test -n "$KDEDIR" && kde_sharedirs="$KDEDIR/share $kde_sharedirs"
31281
KDE_XSL_STYLESHEET=NO
31282
for i in $kde_sharedirs;
31284
for j in apps/ksgmltools2/customization/kde-chunk.xsl;
31286
echo "configure: 31286: $i/$j" >&5
31287
if test -r "$i/$j"; then
31288
echo "taking that" >&5
31289
KDE_XSL_STYLESHEET=$i
31295
if test "$KDE_XSL_STYLESHEET" = "NO"; then
31296
KDE_XSL_STYLESHEET=""
31298
KDE_XSL_STYLESHEET="$KDE_XSL_STYLESHEET/apps/ksgmltools2/customization/kde-chunk.xsl"
31302
DCOP_DEPENDENCIES='$(DCOPIDL)'
31303
if test -n "$kde32ornewer"; then
31304
KCFG_DEPENDENCIES='$(KCONFIG_COMPILER)'
31305
DCOP_DEPENDENCIES='$(DCOPIDL) $(DCOPIDLNG)'
31341
kdeinitdir='$(kde_moduledir)'
31345
if test "$kde_qtver" = 1; then
31346
kde_minidir="$kde_icondir/mini"
31348
# for KDE 1 - this breaks KDE2 apps using minidir, but
31349
# that's the plan ;-/
31350
kde_minidir="/dev/null"
31358
if test $kde_qtver = 3; then
31359
LIB_KDECORE="-lkdecore"
31361
LIB_KDEUI="-lkdeui"
31371
LIB_KHTML="-lkhtml"
31373
LIB_KSPELL="-lkspell"
31375
LIB_KPARTS="-lkparts"
31377
LIB_KDEPRINT="-lkdeprint"
31379
LIB_KUTILS="-lkutils"
31381
LIB_KDEPIM="-lkdepim"
31383
# these are for backward compatibility
31384
LIB_KSYCOCA="-lkio"
31388
elif test $kde_qtver = 2; then
31389
LIB_KDECORE="-lkdecore"
31391
LIB_KDEUI="-lkdeui"
31395
LIB_KSYCOCA="-lksycoca"
31399
LIB_KFILE="-lkfile"
31403
LIB_KHTML="-lkhtml"
31405
LIB_KSPELL="-lkspell"
31407
LIB_KPARTS="-lkparts"
31409
LIB_KDEPRINT="-lkdeprint"
31412
LIB_KDECORE="-lkdecore -lXext $(LIB_QT)"
31414
LIB_KDEUI="-lkdeui $(LIB_KDECORE)"
31416
LIB_KFM="-lkfm $(LIB_KDECORE)"
31418
LIB_KFILE="-lkfile $(LIB_KFM) $(LIB_KDEUI)"
31420
LIB_KAB="-lkab $(LIB_KIMGIO) $(LIB_KDECORE)"
31428
echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
31429
echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
31430
if test "${ac_cv_c_bigendian+set}" = set; then
31431
echo $ECHO_N "(cached) $ECHO_C" >&6
31433
# See if sys/param.h defines the BYTE_ORDER macro.
31434
cat >conftest.$ac_ext <<_ACEOF
31437
cat confdefs.h >>conftest.$ac_ext
31438
cat >>conftest.$ac_ext <<_ACEOF
31439
/* end confdefs.h. */
31440
#include <sys/types.h>
31441
#include <sys/param.h>
31446
#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
31447
bogus endian macros
31454
rm -f conftest.$ac_objext
31455
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31456
(eval $ac_compile) 2>conftest.er1
31458
grep -v '^ *+' conftest.er1 >conftest.err
31460
cat conftest.err >&5
31461
echo "$as_me:$LINENO: \$? = $ac_status" >&5
31462
(exit $ac_status); } &&
31463
{ ac_try='test -z "$ac_c_werror_flag"
31464
|| test ! -s conftest.err'
31465
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31466
(eval $ac_try) 2>&5
31468
echo "$as_me:$LINENO: \$? = $ac_status" >&5
31469
(exit $ac_status); }; } &&
31470
{ ac_try='test -s conftest.$ac_objext'
31471
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31472
(eval $ac_try) 2>&5
31474
echo "$as_me:$LINENO: \$? = $ac_status" >&5
31475
(exit $ac_status); }; }; then
31476
# It does; now see whether it defined to BIG_ENDIAN or not.
31477
cat >conftest.$ac_ext <<_ACEOF
31480
cat confdefs.h >>conftest.$ac_ext
31481
cat >>conftest.$ac_ext <<_ACEOF
31482
/* end confdefs.h. */
31483
#include <sys/types.h>
31484
#include <sys/param.h>
31489
#if BYTE_ORDER != BIG_ENDIAN
31497
rm -f conftest.$ac_objext
31498
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31499
(eval $ac_compile) 2>conftest.er1
31501
grep -v '^ *+' conftest.er1 >conftest.err
31503
cat conftest.err >&5
31504
echo "$as_me:$LINENO: \$? = $ac_status" >&5
31505
(exit $ac_status); } &&
31506
{ ac_try='test -z "$ac_c_werror_flag"
31507
|| test ! -s conftest.err'
31508
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31509
(eval $ac_try) 2>&5
31511
echo "$as_me:$LINENO: \$? = $ac_status" >&5
31512
(exit $ac_status); }; } &&
31513
{ ac_try='test -s conftest.$ac_objext'
31514
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31515
(eval $ac_try) 2>&5
31517
echo "$as_me:$LINENO: \$? = $ac_status" >&5
31518
(exit $ac_status); }; }; then
31519
ac_cv_c_bigendian=yes
31521
echo "$as_me: failed program was:" >&5
31522
sed 's/^/| /' conftest.$ac_ext >&5
31524
ac_cv_c_bigendian=no
31526
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31528
echo "$as_me: failed program was:" >&5
31529
sed 's/^/| /' conftest.$ac_ext >&5
31531
# It does not; compile a test program.
31532
if test "$cross_compiling" = yes; then
31533
# try to guess the endianness by grepping values into an object file
31534
ac_cv_c_bigendian=unknown
31535
cat >conftest.$ac_ext <<_ACEOF
31538
cat confdefs.h >>conftest.$ac_ext
31539
cat >>conftest.$ac_ext <<_ACEOF
31540
/* end confdefs.h. */
31541
short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
31542
short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
31543
void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
31544
short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
31545
short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
31546
void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
31550
_ascii (); _ebcdic ();
31555
rm -f conftest.$ac_objext
31556
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31557
(eval $ac_compile) 2>conftest.er1
31559
grep -v '^ *+' conftest.er1 >conftest.err
31561
cat conftest.err >&5
31562
echo "$as_me:$LINENO: \$? = $ac_status" >&5
31563
(exit $ac_status); } &&
31564
{ ac_try='test -z "$ac_c_werror_flag"
31565
|| test ! -s conftest.err'
31566
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31567
(eval $ac_try) 2>&5
31569
echo "$as_me:$LINENO: \$? = $ac_status" >&5
31570
(exit $ac_status); }; } &&
31571
{ ac_try='test -s conftest.$ac_objext'
31572
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31573
(eval $ac_try) 2>&5
31575
echo "$as_me:$LINENO: \$? = $ac_status" >&5
31576
(exit $ac_status); }; }; then
31577
if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
31578
ac_cv_c_bigendian=yes
31580
if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
31581
if test "$ac_cv_c_bigendian" = unknown; then
31582
ac_cv_c_bigendian=no
31584
# finding both strings is unlikely to happen, but who knows?
31585
ac_cv_c_bigendian=unknown
31589
echo "$as_me: failed program was:" >&5
31590
sed 's/^/| /' conftest.$ac_ext >&5
31593
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31595
cat >conftest.$ac_ext <<_ACEOF
31598
cat confdefs.h >>conftest.$ac_ext
31599
cat >>conftest.$ac_ext <<_ACEOF
31600
/* end confdefs.h. */
31604
/* Are we little or big endian? From Harbison&Steele. */
31608
char c[sizeof (long)];
31611
exit (u.c[sizeof (long) - 1] == 1);
31614
rm -f conftest$ac_exeext
31615
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31616
(eval $ac_link) 2>&5
31618
echo "$as_me:$LINENO: \$? = $ac_status" >&5
31619
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31620
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31621
(eval $ac_try) 2>&5
31623
echo "$as_me:$LINENO: \$? = $ac_status" >&5
31624
(exit $ac_status); }; }; then
31625
ac_cv_c_bigendian=no
31627
echo "$as_me: program exited with status $ac_status" >&5
31628
echo "$as_me: failed program was:" >&5
31629
sed 's/^/| /' conftest.$ac_ext >&5
31631
( exit $ac_status )
31632
ac_cv_c_bigendian=yes
31634
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31637
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31639
echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
31640
echo "${ECHO_T}$ac_cv_c_bigendian" >&6
31641
case $ac_cv_c_bigendian in
31644
cat >>confdefs.h <<\_ACEOF
31645
#define WORDS_BIGENDIAN 1
31651
{ { echo "$as_me:$LINENO: error: unknown endianness
31652
presetting ac_cv_c_bigendian=no (or yes) will help" >&5
31653
echo "$as_me: error: unknown endianness
31654
presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
31655
{ (exit 1); exit 1; }; } ;;
31659
echo "$as_me:$LINENO: checking for MAXPATHLEN" >&5
31660
echo $ECHO_N "checking for MAXPATHLEN... $ECHO_C" >&6
31661
if test "${ac_cv_maxpathlen+set}" = set; then
31662
echo $ECHO_N "(cached) $ECHO_C" >&6
31665
cat > conftest.$ac_ext <<EOF
31666
#ifdef STDC_HEADERS
31667
# include <stdlib.h>
31670
#include <sys/param.h>
31672
#define MAXPATHLEN 1024
31675
KDE_HELLO MAXPATHLEN
31679
ac_try="$ac_cpp conftest.$ac_ext 2>/dev/null | grep '^KDE_HELLO' >conftest.out"
31681
if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31682
(eval $ac_try) 2>&5
31684
echo "$as_me:$LINENO: \$? = $ac_status" >&5
31685
(exit $ac_status); } && test -s conftest.out; then
31686
ac_cv_maxpathlen=`sed 's#KDE_HELLO ##' conftest.out`
31688
ac_cv_maxpathlen=1024
31696
echo "$as_me:$LINENO: result: $ac_cv_maxpathlen" >&5
31697
echo "${ECHO_T}$ac_cv_maxpathlen" >&6
31699
cat >>confdefs.h <<_ACEOF
31700
#define KDEMAXPATHLEN $ac_cv_maxpathlen
31707
DO_NOT_COMPILE="$DO_NOT_COMPILE CVS debian bsd-port admin"
31709
if test ! -s $srcdir/subdirs; then
31711
files=`cd $srcdir && ls -1`
31712
dirs=`for i in $files; do if test -d $i; then echo $i; fi; done`
31714
echo $i >> $srcdir/subdirs
31719
if test -s $srcdir/inst-apps; then
31720
ac_topsubdirs="`cat $srcdir/inst-apps`"
31721
elif test -s $srcdir/subdirs; then
31722
ac_topsubdirs="`cat $srcdir/subdirs`"
31725
for i in $ac_topsubdirs; do
31726
echo "$as_me:$LINENO: checking if $i should be compiled" >&5
31727
echo $ECHO_N "checking if $i should be compiled... $ECHO_C" >&6
31728
if test -d $srcdir/$i; then
31730
for j in $DO_NOT_COMPILE; do
31731
if test $i = $j; then
31738
echo "$as_me:$LINENO: result: $install_it" >&5
31739
echo "${ECHO_T}$install_it" >&6
31740
vari=`echo $i | sed -e 's,[-+.@],_,g'`
31741
if test $install_it = "yes"; then
31742
TOPSUBDIRS="$TOPSUBDIRS $i"
31743
eval "$vari""_SUBDIR_included=yes"
31745
eval "$vari""_SUBDIR_included=no"
31751
ac_config_files="$ac_config_files Makefile"
31753
ac_config_files="$ac_config_files doc/Makefile"
31755
ac_config_files="$ac_config_files doc/en/Makefile"
31757
ac_config_files="$ac_config_files po/Makefile"
31759
ac_config_files="$ac_config_files src/Makefile"
31761
cat >confcache <<\_ACEOF
31762
# This file is a shell script that caches the results of configure
31763
# tests run on this system so they can be shared between configure
31764
# scripts and configure runs, see configure's option --config-cache.
31765
# It is not useful on other systems. If it contains results you don't
31766
# want to keep, you may remove or edit it.
31768
# config.status only pays attention to the cache file if you give it
31769
# the --recheck option to rerun configure.
31771
# `ac_cv_env_foo' variables (set or unset) will be overridden when
31772
# loading this file, other *unset* `ac_cv_foo' will be assigned the
31773
# following values.
31777
# The following way of writing the cache mishandles newlines in values,
31778
# but we know of no workaround that is simple, portable, and efficient.
31779
# So, don't put newlines in cache variables' values.
31780
# Ultrix sh set writes to stderr and can't be redirected directly,
31781
# and sets the high bit in the cache file unless we assign to the vars.
31784
case `(ac_space=' '; set | grep ac_space) 2>&1` in
31786
# `set' does not quote correctly, so add quotes (double-quote
31787
# substitution turns \\\\ into \\, and sed turns \\ into \).
31790
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31793
# `set' quotes correctly as required by POSIX, so do not add quotes.
31795
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
31802
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31804
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31806
if diff $cache_file confcache >/dev/null 2>&1; then :; else
31807
if test -w $cache_file; then
31808
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
31809
cat confcache >$cache_file
31811
echo "not updating unwritable cache $cache_file"
31816
test "x$prefix" = xNONE && prefix=$ac_default_prefix
31817
# Let make expand exec_prefix.
31818
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
31820
# VPATH may cause trouble with some makes, so we remove $(srcdir),
31821
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
31822
# trailing colons and then remove the whole line if VPATH becomes empty
31823
# (actually we leave an empty line to preserve line numbers).
31824
if test "x$srcdir" = x.; then
31825
ac_vpsub='/^[ ]*VPATH[ ]*=/{
31826
s/:*\$(srcdir):*/:/;
31827
s/:*\${srcdir}:*/:/;
31829
s/^\([^=]*=[ ]*\):*/\1/;
31835
DEFS=-DHAVE_CONFIG_H
31839
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
31840
# 1. Remove the extension, and $U if already installed.
31841
ac_i=`echo "$ac_i" |
31842
sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
31844
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
31845
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
31847
LIBOBJS=$ac_libobjs
31849
LTLIBOBJS=$ac_ltlibobjs
31852
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
31853
{ { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
31854
Usually this means the macro was only invoked conditionally." >&5
31855
echo "$as_me: error: conditional \"AMDEP\" was never defined.
31856
Usually this means the macro was only invoked conditionally." >&2;}
31857
{ (exit 1); exit 1; }; }
31859
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
31860
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
31861
Usually this means the macro was only invoked conditionally." >&5
31862
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
31863
Usually this means the macro was only invoked conditionally." >&2;}
31864
{ (exit 1); exit 1; }; }
31866
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
31867
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
31868
Usually this means the macro was only invoked conditionally." >&5
31869
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
31870
Usually this means the macro was only invoked conditionally." >&2;}
31871
{ (exit 1); exit 1; }; }
31873
if test -z "${include_ARTS_TRUE}" && test -z "${include_ARTS_FALSE}"; then
31874
{ { echo "$as_me:$LINENO: error: conditional \"include_ARTS\" was never defined.
31875
Usually this means the macro was only invoked conditionally." >&5
31876
echo "$as_me: error: conditional \"include_ARTS\" was never defined.
31877
Usually this means the macro was only invoked conditionally." >&2;}
31878
{ (exit 1); exit 1; }; }
31881
: ${CONFIG_STATUS=./config.status}
31882
ac_clean_files_save=$ac_clean_files
31883
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
31884
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
31885
echo "$as_me: creating $CONFIG_STATUS" >&6;}
31886
cat >$CONFIG_STATUS <<_ACEOF
31888
# Generated by $as_me.
31889
# Run this file to recreate the current configuration.
31890
# Compiler output produced by configure, useful for debugging
31891
# configure, is in config.log if it exists.
31894
ac_cs_recheck=false
31896
SHELL=\${CONFIG_SHELL-$SHELL}
31899
cat >>$CONFIG_STATUS <<\_ACEOF
31900
## --------------------- ##
31901
## M4sh Initialization. ##
31902
## --------------------- ##
31904
# Be Bourne compatible
31905
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
31908
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
31909
# is contrary to our usage. Disable this feature.
31910
alias -g '${1+"$@"}'='"$@"'
31911
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
31914
DUALCASE=1; export DUALCASE # for MKS sh
31916
# Support unset when possible.
31917
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
31924
# Work around bugs in pre-3.0 UWIN ksh.
31925
$as_unset ENV MAIL MAILPATH
31932
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
31933
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
31934
LC_TELEPHONE LC_TIME
31936
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
31937
eval $as_var=C; export $as_var
31943
# Required to use basename.
31944
if expr a : '\(a\)' >/dev/null 2>&1; then
31950
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
31951
as_basename=basename
31957
# Name of the executable.
31958
as_me=`$as_basename "$0" ||
31959
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
31960
X"$0" : 'X\(//\)$' \| \
31961
X"$0" : 'X\(/\)$' \| \
31962
. : '\(.\)' 2>/dev/null ||
31964
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
31965
/^X\/\(\/\/\)$/{ s//\1/; q; }
31966
/^X\/\(\/\).*/{ s//\1/; q; }
31970
# PATH needs CR, and LINENO needs CR and PATH.
31971
# Avoid depending upon Character Ranges.
31972
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
31973
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
31974
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
31975
as_cr_digits='0123456789'
31976
as_cr_alnum=$as_cr_Letters$as_cr_digits
31978
# The user is always right.
31979
if test "${PATH_SEPARATOR+set}" != set; then
31980
echo "#! /bin/sh" >conf$$.sh
31981
echo "exit 0" >>conf$$.sh
31983
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
31992
as_lineno_1=$LINENO
31993
as_lineno_2=$LINENO
31994
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
31995
test "x$as_lineno_1" != "x$as_lineno_2" &&
31996
test "x$as_lineno_3" = "x$as_lineno_2" || {
31997
# Find who we are. Look in the path if we contain no path at all
32000
*[\\/]* ) as_myself=$0 ;;
32001
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32002
for as_dir in $PATH
32005
test -z "$as_dir" && as_dir=.
32006
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
32011
# We did not find ourselves, most probably we were run as `sh COMMAND'
32012
# in which case we are not to be found in the path.
32013
if test "x$as_myself" = x; then
32016
if test ! -f "$as_myself"; then
32017
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
32018
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
32019
{ (exit 1); exit 1; }; }
32021
case $CONFIG_SHELL in
32023
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32024
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
32027
test -z "$as_dir" && as_dir=.
32028
for as_base in sh bash ksh sh5; do
32031
if ("$as_dir/$as_base" -c '
32032
as_lineno_1=$LINENO
32033
as_lineno_2=$LINENO
32034
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
32035
test "x$as_lineno_1" != "x$as_lineno_2" &&
32036
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
32037
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
32038
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
32039
CONFIG_SHELL=$as_dir/$as_base
32040
export CONFIG_SHELL
32041
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
32049
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
32050
# uniformly replaced by the line number. The first 'sed' inserts a
32051
# line-number line before each line; the second 'sed' does the real
32052
# work. The second script uses 'N' to pair each line-number line
32053
# with the numbered line, and appends trailing '-' during
32054
# substitution so that $LINENO is not a special case at line end.
32055
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
32056
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
32057
sed '=' <$as_myself |
32062
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
32065
s,^['$as_cr_digits']*\n,,
32066
' >$as_me.lineno &&
32067
chmod +x $as_me.lineno ||
32068
{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
32069
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
32070
{ (exit 1); exit 1; }; }
32072
# Don't try to exec as it changes $[0], causing all sort of problems
32073
# (the dirname of $[0] is not the place where we might find the
32074
# original and so on. Autoconf is especially sensible to this).
32076
# Exit status is that of the last command.
32081
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
32082
*c*,-n*) ECHO_N= ECHO_C='
32084
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
32085
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
32088
if expr a : '\(a\)' >/dev/null 2>&1; then
32094
rm -f conf$$ conf$$.exe conf$$.file
32096
if ln -s conf$$.file conf$$ 2>/dev/null; then
32097
# We could just check for DJGPP; but this test a) works b) is more generic
32098
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
32099
if test -f conf$$.exe; then
32100
# Don't use ln at all; we don't have any links
32105
elif ln conf$$.file conf$$ 2>/dev/null; then
32110
rm -f conf$$ conf$$.exe conf$$.file
32112
if mkdir -p . 2>/dev/null; then
32115
test -d ./-p && rmdir ./-p
32119
as_executable_p="test -f"
32121
# Sed expression to map a string onto a valid CPP name.
32122
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
32124
# Sed expression to map a string onto a valid variable name.
32125
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
32129
# We need space, tab and new line, in precisely that order.
32139
# Open the log real soon, to keep \$[0] and so on meaningful, and to
32140
# report actual input values of CONFIG_FILES etc. instead of their
32141
# values after options handling. Logging --version etc. is OK.
32145
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
32146
## Running $as_me. ##
32151
This file was extended by $as_me, which was
32152
generated by GNU Autoconf 2.59. Invocation command line was
32154
CONFIG_FILES = $CONFIG_FILES
32155
CONFIG_HEADERS = $CONFIG_HEADERS
32156
CONFIG_LINKS = $CONFIG_LINKS
32157
CONFIG_COMMANDS = $CONFIG_COMMANDS
32161
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
32165
# Files that config.status was made for.
32166
if test -n "$ac_config_files"; then
32167
echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
32170
if test -n "$ac_config_headers"; then
32171
echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
32174
if test -n "$ac_config_links"; then
32175
echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
32178
if test -n "$ac_config_commands"; then
32179
echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
32182
cat >>$CONFIG_STATUS <<\_ACEOF
32185
\`$as_me' instantiates files from templates according to the
32186
current configuration.
32188
Usage: $0 [OPTIONS] [FILE]...
32190
-h, --help print this help, then exit
32191
-V, --version print version number, then exit
32192
-q, --quiet do not print progress messages
32193
-d, --debug don't remove temporary files
32194
--recheck update $as_me by reconfiguring in the same conditions
32195
--file=FILE[:TEMPLATE]
32196
instantiate the configuration file FILE
32197
--header=FILE[:TEMPLATE]
32198
instantiate the configuration header FILE
32200
Configuration files:
32203
Configuration headers:
32206
Configuration commands:
32209
Report bugs to <bug-autoconf@gnu.org>."
32212
cat >>$CONFIG_STATUS <<_ACEOF
32215
configured by $0, generated by GNU Autoconf 2.59,
32216
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
32218
Copyright (C) 2003 Free Software Foundation, Inc.
32219
This config.status script is free software; the Free Software Foundation
32220
gives unlimited permission to copy, distribute and modify it."
32225
cat >>$CONFIG_STATUS <<\_ACEOF
32226
# If no file are specified by the user, then we need to provide default
32227
# value. By we need to know if files were specified by the user.
32233
ac_option=`expr "x$1" : 'x\([^=]*\)='`
32234
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
32242
*) # This is not an option, so the user has probably given explicit
32245
ac_need_defaults=false;;
32249
# Handling of the options.
32251
cat >>$CONFIG_STATUS <<\_ACEOF
32252
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
32254
--version | --vers* | -V )
32255
echo "$ac_cs_version"; exit 0 ;;
32257
# Conflict between --help and --header
32258
{ { echo "$as_me:$LINENO: error: ambiguous option: $1
32259
Try \`$0 --help' for more information." >&5
32260
echo "$as_me: error: ambiguous option: $1
32261
Try \`$0 --help' for more information." >&2;}
32262
{ (exit 1); exit 1; }; };;
32263
--help | --hel | -h )
32264
echo "$ac_cs_usage"; exit 0 ;;
32265
--debug | --d* | -d )
32267
--file | --fil | --fi | --f )
32269
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
32270
ac_need_defaults=false;;
32271
--header | --heade | --head | --hea )
32273
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
32274
ac_need_defaults=false;;
32275
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
32276
| -silent | --silent | --silen | --sile | --sil | --si | --s)
32279
# This is an error.
32280
-*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
32281
Try \`$0 --help' for more information." >&5
32282
echo "$as_me: error: unrecognized option: $1
32283
Try \`$0 --help' for more information." >&2;}
32284
{ (exit 1); exit 1; }; } ;;
32286
*) ac_config_targets="$ac_config_targets $1" ;;
32292
ac_configure_extra_args=
32294
if $ac_cs_silent; then
32296
ac_configure_extra_args="$ac_configure_extra_args --silent"
32300
cat >>$CONFIG_STATUS <<_ACEOF
32301
if \$ac_cs_recheck; then
32302
echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
32303
exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
32308
cat >>$CONFIG_STATUS <<_ACEOF
32310
# INIT-COMMANDS section.
32313
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
32319
cat >>$CONFIG_STATUS <<\_ACEOF
32320
for ac_config_target in $ac_config_targets
32322
case "$ac_config_target" in
32323
# Handling of arguments.
32324
"Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
32325
"doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
32326
"doc/en/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/en/Makefile" ;;
32327
"po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
32328
"src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
32329
"depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
32330
"config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
32331
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
32332
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
32333
{ (exit 1); exit 1; }; };;
32337
# If the user did not use the arguments to specify the items to instantiate,
32338
# then the envvar interface is used. Set only those that are not.
32339
# We use the long form for the default assignment because of an extremely
32340
# bizarre bug on SunOS 4.1.3.
32341
if $ac_need_defaults; then
32342
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
32343
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
32344
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
32347
# Have a temporary directory for convenience. Make it in the build tree
32348
# simply because there is no reason to put it here, and in addition,
32349
# creating and moving files from /tmp can sometimes cause problems.
32350
# Create a temporary directory, and hook for its removal unless debugging.
32353
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
32354
trap '{ (exit 1); exit 1; }' 1 2 13 15
32357
# Create a (secure) tmp directory for tmp files.
32360
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
32361
test -n "$tmp" && test -d "$tmp"
32364
tmp=./confstat$$-$RANDOM
32365
(umask 077 && mkdir $tmp)
32368
echo "$me: cannot create a temporary directory in ." >&2
32369
{ (exit 1); exit 1; }
32374
cat >>$CONFIG_STATUS <<_ACEOF
32377
# CONFIG_FILES section.
32380
# No need to generate the scripts if there are no CONFIG_FILES.
32381
# This happens for instance when ./config.status config.h
32382
if test -n "\$CONFIG_FILES"; then
32383
# Protect against being on the right side of a sed subst in config.status.
32384
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
32385
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
32386
s,@SHELL@,$SHELL,;t t
32387
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
32388
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
32389
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
32390
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
32391
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
32392
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
32393
s,@exec_prefix@,$exec_prefix,;t t
32394
s,@prefix@,$prefix,;t t
32395
s,@program_transform_name@,$program_transform_name,;t t
32396
s,@bindir@,$bindir,;t t
32397
s,@sbindir@,$sbindir,;t t
32398
s,@libexecdir@,$libexecdir,;t t
32399
s,@datadir@,$datadir,;t t
32400
s,@sysconfdir@,$sysconfdir,;t t
32401
s,@sharedstatedir@,$sharedstatedir,;t t
32402
s,@localstatedir@,$localstatedir,;t t
32403
s,@libdir@,$libdir,;t t
32404
s,@includedir@,$includedir,;t t
32405
s,@oldincludedir@,$oldincludedir,;t t
32406
s,@infodir@,$infodir,;t t
32407
s,@mandir@,$mandir,;t t
32408
s,@build_alias@,$build_alias,;t t
32409
s,@host_alias@,$host_alias,;t t
32410
s,@target_alias@,$target_alias,;t t
32411
s,@DEFS@,$DEFS,;t t
32412
s,@ECHO_C@,$ECHO_C,;t t
32413
s,@ECHO_N@,$ECHO_N,;t t
32414
s,@ECHO_T@,$ECHO_T,;t t
32415
s,@LIBS@,$LIBS,;t t
32416
s,@build@,$build,;t t
32417
s,@build_cpu@,$build_cpu,;t t
32418
s,@build_vendor@,$build_vendor,;t t
32419
s,@build_os@,$build_os,;t t
32420
s,@host@,$host,;t t
32421
s,@host_cpu@,$host_cpu,;t t
32422
s,@host_vendor@,$host_vendor,;t t
32423
s,@host_os@,$host_os,;t t
32424
s,@target@,$target,;t t
32425
s,@target_cpu@,$target_cpu,;t t
32426
s,@target_vendor@,$target_vendor,;t t
32427
s,@target_os@,$target_os,;t t
32428
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
32429
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
32430
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
32431
s,@CYGPATH_W@,$CYGPATH_W,;t t
32432
s,@PACKAGE@,$PACKAGE,;t t
32433
s,@VERSION@,$VERSION,;t t
32434
s,@ACLOCAL@,$ACLOCAL,;t t
32435
s,@AUTOCONF@,$AUTOCONF,;t t
32436
s,@AUTOMAKE@,$AUTOMAKE,;t t
32437
s,@AUTOHEADER@,$AUTOHEADER,;t t
32438
s,@MAKEINFO@,$MAKEINFO,;t t
32439
s,@install_sh@,$install_sh,;t t
32440
s,@STRIP@,$STRIP,;t t
32441
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
32442
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
32443
s,@mkdir_p@,$mkdir_p,;t t
32445
s,@SET_MAKE@,$SET_MAKE,;t t
32446
s,@am__leading_dot@,$am__leading_dot,;t t
32447
s,@AMTAR@,$AMTAR,;t t
32448
s,@am__tar@,$am__tar,;t t
32449
s,@am__untar@,$am__untar,;t t
32450
s,@KDECONFIG@,$KDECONFIG,;t t
32451
s,@kde_libs_prefix@,$kde_libs_prefix,;t t
32452
s,@kde_libs_htmldir@,$kde_libs_htmldir,;t t
32453
s,@CONF_FILES@,$CONF_FILES,;t t
32455
s,@CFLAGS@,$CFLAGS,;t t
32456
s,@LDFLAGS@,$LDFLAGS,;t t
32457
s,@CPPFLAGS@,$CPPFLAGS,;t t
32458
s,@ac_ct_CC@,$ac_ct_CC,;t t
32459
s,@EXEEXT@,$EXEEXT,;t t
32460
s,@OBJEXT@,$OBJEXT,;t t
32461
s,@DEPDIR@,$DEPDIR,;t t
32462
s,@am__include@,$am__include,;t t
32463
s,@am__quote@,$am__quote,;t t
32464
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
32465
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
32466
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
32467
s,@CCDEPMODE@,$CCDEPMODE,;t t
32468
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
32469
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
32472
s,@CXXFLAGS@,$CXXFLAGS,;t t
32473
s,@ac_ct_CXX@,$ac_ct_CXX,;t t
32474
s,@CXXDEPMODE@,$CXXDEPMODE,;t t
32475
s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
32476
s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
32477
s,@WOVERLOADED_VIRTUAL@,$WOVERLOADED_VIRTUAL,;t t
32478
s,@USE_EXCEPTIONS@,$USE_EXCEPTIONS,;t t
32479
s,@USE_RTTI@,$USE_RTTI,;t t
32480
s,@CXXCPP@,$CXXCPP,;t t
32481
s,@NOOPT_CXXFLAGS@,$NOOPT_CXXFLAGS,;t t
32482
s,@NOOPT_CFLAGS@,$NOOPT_CFLAGS,;t t
32483
s,@ENABLE_PERMISSIVE_FLAG@,$ENABLE_PERMISSIVE_FLAG,;t t
32484
s,@KDE_USE_FINAL_TRUE@,$KDE_USE_FINAL_TRUE,;t t
32485
s,@KDE_USE_FINAL_FALSE@,$KDE_USE_FINAL_FALSE,;t t
32486
s,@KDE_USE_CLOSURE_TRUE@,$KDE_USE_CLOSURE_TRUE,;t t
32487
s,@KDE_USE_CLOSURE_FALSE@,$KDE_USE_CLOSURE_FALSE,;t t
32488
s,@KDE_NO_UNDEFINED@,$KDE_NO_UNDEFINED,;t t
32489
s,@KDE_USE_NMCHECK_TRUE@,$KDE_USE_NMCHECK_TRUE,;t t
32490
s,@KDE_USE_NMCHECK_FALSE@,$KDE_USE_NMCHECK_FALSE,;t t
32491
s,@EGREP@,$EGREP,;t t
32492
s,@LN_S@,$LN_S,;t t
32493
s,@ECHO@,$ECHO,;t t
32495
s,@ac_ct_AR@,$ac_ct_AR,;t t
32496
s,@RANLIB@,$RANLIB,;t t
32497
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
32499
s,@FFLAGS@,$FFLAGS,;t t
32500
s,@ac_ct_F77@,$ac_ct_F77,;t t
32501
s,@LIBTOOL@,$LIBTOOL,;t t
32502
s,@KDE_PLUGIN@,$KDE_PLUGIN,;t t
32503
s,@MSGFMT@,$MSGFMT,;t t
32504
s,@GMSGFMT@,$GMSGFMT,;t t
32505
s,@XGETTEXT@,$XGETTEXT,;t t
32506
s,@LIBUTIL@,$LIBUTIL,;t t
32507
s,@LIBCOMPAT@,$LIBCOMPAT,;t t
32508
s,@LIBCRYPT@,$LIBCRYPT,;t t
32509
s,@LIBRESOLV@,$LIBRESOLV,;t t
32510
s,@LIB_POLL@,$LIB_POLL,;t t
32511
s,@FRAMEWORK_COREAUDIO@,$FRAMEWORK_COREAUDIO,;t t
32512
s,@LIBSOCKET@,$LIBSOCKET,;t t
32513
s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
32514
s,@LIBUCB@,$LIBUCB,;t t
32515
s,@LIBDL@,$LIBDL,;t t
32516
s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
32517
s,@LIB_X11@,$LIB_X11,;t t
32518
s,@LIB_XRENDER@,$LIB_XRENDER,;t t
32519
s,@LIBSM@,$LIBSM,;t t
32520
s,@X_INCLUDES@,$X_INCLUDES,;t t
32521
s,@X_LDFLAGS@,$X_LDFLAGS,;t t
32522
s,@x_includes@,$x_includes,;t t
32523
s,@x_libraries@,$x_libraries,;t t
32524
s,@QTE_NORTTI@,$QTE_NORTTI,;t t
32525
s,@LIB_XEXT@,$LIB_XEXT,;t t
32526
s,@LIBPTHREAD@,$LIBPTHREAD,;t t
32527
s,@USE_THREADS@,$USE_THREADS,;t t
32528
s,@KDE_MT_LDFLAGS@,$KDE_MT_LDFLAGS,;t t
32529
s,@KDE_MT_LIBS@,$KDE_MT_LIBS,;t t
32530
s,@USER_INCLUDES@,$USER_INCLUDES,;t t
32531
s,@USER_LDFLAGS@,$USER_LDFLAGS,;t t
32532
s,@LIBZ@,$LIBZ,;t t
32533
s,@LIBPNG@,$LIBPNG,;t t
32534
s,@LIBJPEG@,$LIBJPEG,;t t
32535
s,@qt_libraries@,$qt_libraries,;t t
32536
s,@qt_includes@,$qt_includes,;t t
32537
s,@QT_INCLUDES@,$QT_INCLUDES,;t t
32538
s,@QT_LDFLAGS@,$QT_LDFLAGS,;t t
32539
s,@PERL@,$PERL,;t t
32542
s,@UIC_TR@,$UIC_TR,;t t
32543
s,@LIB_QT@,$LIB_QT,;t t
32544
s,@LIB_QPE@,$LIB_QPE,;t t
32545
s,@kde_qtver@,$kde_qtver,;t t
32546
s,@KDE_EXTRA_RPATH@,$KDE_EXTRA_RPATH,;t t
32547
s,@KDE_RPATH@,$KDE_RPATH,;t t
32548
s,@X_RPATH@,$X_RPATH,;t t
32549
s,@kde_libraries@,$kde_libraries,;t t
32550
s,@kde_includes@,$kde_includes,;t t
32551
s,@KDE_LDFLAGS@,$KDE_LDFLAGS,;t t
32552
s,@KDE_INCLUDES@,$KDE_INCLUDES,;t t
32553
s,@all_includes@,$all_includes,;t t
32554
s,@all_libraries@,$all_libraries,;t t
32555
s,@AUTODIRS@,$AUTODIRS,;t t
32556
s,@include_ARTS_TRUE@,$include_ARTS_TRUE,;t t
32557
s,@include_ARTS_FALSE@,$include_ARTS_FALSE,;t t
32558
s,@KCONFIG_COMPILER@,$KCONFIG_COMPILER,;t t
32559
s,@KCFG_DEPENDENCIES@,$KCFG_DEPENDENCIES,;t t
32560
s,@DCOPIDLNG@,$DCOPIDLNG,;t t
32561
s,@DCOPIDL@,$DCOPIDL,;t t
32562
s,@DCOPIDL2CPP@,$DCOPIDL2CPP,;t t
32563
s,@DCOP_DEPENDENCIES@,$DCOP_DEPENDENCIES,;t t
32564
s,@MCOPIDL@,$MCOPIDL,;t t
32565
s,@ARTSCCONFIG@,$ARTSCCONFIG,;t t
32566
s,@MEINPROC@,$MEINPROC,;t t
32567
s,@KDE_XSL_STYLESHEET@,$KDE_XSL_STYLESHEET,;t t
32568
s,@XMLLINT@,$XMLLINT,;t t
32569
s,@kde_htmldir@,$kde_htmldir,;t t
32570
s,@kde_appsdir@,$kde_appsdir,;t t
32571
s,@kde_icondir@,$kde_icondir,;t t
32572
s,@kde_sounddir@,$kde_sounddir,;t t
32573
s,@kde_datadir@,$kde_datadir,;t t
32574
s,@kde_locale@,$kde_locale,;t t
32575
s,@kde_confdir@,$kde_confdir,;t t
32576
s,@kde_kcfgdir@,$kde_kcfgdir,;t t
32577
s,@kde_mimedir@,$kde_mimedir,;t t
32578
s,@kde_wallpaperdir@,$kde_wallpaperdir,;t t
32579
s,@kde_bindir@,$kde_bindir,;t t
32580
s,@xdg_appsdir@,$xdg_appsdir,;t t
32581
s,@xdg_menudir@,$xdg_menudir,;t t
32582
s,@xdg_directorydir@,$xdg_directorydir,;t t
32583
s,@kde_templatesdir@,$kde_templatesdir,;t t
32584
s,@kde_servicesdir@,$kde_servicesdir,;t t
32585
s,@kde_servicetypesdir@,$kde_servicetypesdir,;t t
32586
s,@kde_moduledir@,$kde_moduledir,;t t
32587
s,@kdeinitdir@,$kdeinitdir,;t t
32588
s,@kde_styledir@,$kde_styledir,;t t
32589
s,@kde_widgetdir@,$kde_widgetdir,;t t
32590
s,@LIB_KDECORE@,$LIB_KDECORE,;t t
32591
s,@LIB_KDEUI@,$LIB_KDEUI,;t t
32592
s,@LIB_KIO@,$LIB_KIO,;t t
32593
s,@LIB_SMB@,$LIB_SMB,;t t
32594
s,@LIB_KAB@,$LIB_KAB,;t t
32595
s,@LIB_KABC@,$LIB_KABC,;t t
32596
s,@LIB_KHTML@,$LIB_KHTML,;t t
32597
s,@LIB_KSPELL@,$LIB_KSPELL,;t t
32598
s,@LIB_KPARTS@,$LIB_KPARTS,;t t
32599
s,@LIB_KDEPRINT@,$LIB_KDEPRINT,;t t
32600
s,@LIB_KUTILS@,$LIB_KUTILS,;t t
32601
s,@LIB_KDEPIM@,$LIB_KDEPIM,;t t
32602
s,@LIB_KSYCOCA@,$LIB_KSYCOCA,;t t
32603
s,@LIB_KFILE@,$LIB_KFILE,;t t
32604
s,@LIB_KFM@,$LIB_KFM,;t t
32605
s,@TOPSUBDIRS@,$TOPSUBDIRS,;t t
32606
s,@LIBOBJS@,$LIBOBJS,;t t
32607
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
32612
cat >>$CONFIG_STATUS <<\_ACEOF
32613
# Split the substitutions into bite-sized pieces for seds with
32614
# small command number limits, like on Digital OSF/1 and HP-UX.
32615
ac_max_sed_lines=48
32616
ac_sed_frag=1 # Number of current file.
32617
ac_beg=1 # First line for current file.
32618
ac_end=$ac_max_sed_lines # Line after last line for current file.
32621
while $ac_more_lines; do
32622
if test $ac_beg -gt 1; then
32623
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
32625
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
32627
if test ! -s $tmp/subs.frag; then
32628
ac_more_lines=false
32630
# The purpose of the label and of the branching condition is to
32631
# speed up the sed processing (if there are no `@' at all, there
32632
# is no need to browse any of the substitutions).
32633
# These are the two extra sed commands mentioned above.
32635
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
32636
if test -z "$ac_sed_cmds"; then
32637
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
32639
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
32641
ac_sed_frag=`expr $ac_sed_frag + 1`
32643
ac_end=`expr $ac_end + $ac_max_sed_lines`
32646
if test -z "$ac_sed_cmds"; then
32649
fi # test -n "$CONFIG_FILES"
32652
cat >>$CONFIG_STATUS <<\_ACEOF
32653
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
32654
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
32656
- | *:- | *:-:* ) # input from stdin
32658
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
32659
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
32660
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
32661
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
32662
* ) ac_file_in=$ac_file.in ;;
32665
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
32666
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
32667
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32668
X"$ac_file" : 'X\(//\)[^/]' \| \
32669
X"$ac_file" : 'X\(//\)$' \| \
32670
X"$ac_file" : 'X\(/\)' \| \
32671
. : '\(.\)' 2>/dev/null ||
32673
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
32674
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
32675
/^X\(\/\/\)$/{ s//\1/; q; }
32676
/^X\(\/\).*/{ s//\1/; q; }
32678
{ if $as_mkdir_p; then
32683
while test ! -d "$as_dir"; do
32684
as_dirs="$as_dir $as_dirs"
32685
as_dir=`(dirname "$as_dir") 2>/dev/null ||
32686
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32687
X"$as_dir" : 'X\(//\)[^/]' \| \
32688
X"$as_dir" : 'X\(//\)$' \| \
32689
X"$as_dir" : 'X\(/\)' \| \
32690
. : '\(.\)' 2>/dev/null ||
32692
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
32693
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
32694
/^X\(\/\/\)$/{ s//\1/; q; }
32695
/^X\(\/\).*/{ s//\1/; q; }
32698
test ! -n "$as_dirs" || mkdir $as_dirs
32699
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
32700
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
32701
{ (exit 1); exit 1; }; }; }
32705
if test "$ac_dir" != .; then
32706
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
32707
# A "../" for each directory in $ac_dir_suffix.
32708
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
32710
ac_dir_suffix= ac_top_builddir=
32714
.) # No --srcdir option. We are building in place.
32716
if test -z "$ac_top_builddir"; then
32719
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
32721
[\\/]* | ?:[\\/]* ) # Absolute path.
32722
ac_srcdir=$srcdir$ac_dir_suffix;
32723
ac_top_srcdir=$srcdir ;;
32724
*) # Relative path.
32725
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
32726
ac_top_srcdir=$ac_top_builddir$srcdir ;;
32729
# Do not use `cd foo && pwd` to compute absolute paths, because
32730
# the directories may not exist.
32732
.) ac_abs_builddir="$ac_dir";;
32735
.) ac_abs_builddir=`pwd`;;
32736
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
32737
*) ac_abs_builddir=`pwd`/"$ac_dir";;
32740
case $ac_abs_builddir in
32741
.) ac_abs_top_builddir=${ac_top_builddir}.;;
32743
case ${ac_top_builddir}. in
32744
.) ac_abs_top_builddir=$ac_abs_builddir;;
32745
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
32746
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
32749
case $ac_abs_builddir in
32750
.) ac_abs_srcdir=$ac_srcdir;;
32753
.) ac_abs_srcdir=$ac_abs_builddir;;
32754
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
32755
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
32758
case $ac_abs_builddir in
32759
.) ac_abs_top_srcdir=$ac_top_srcdir;;
32761
case $ac_top_srcdir in
32762
.) ac_abs_top_srcdir=$ac_abs_builddir;;
32763
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
32764
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
32770
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
32771
*) ac_INSTALL=$ac_top_builddir$INSTALL ;;
32774
if test x"$ac_file" != x-; then
32775
{ echo "$as_me:$LINENO: creating $ac_file" >&5
32776
echo "$as_me: creating $ac_file" >&6;}
32779
# Let's still pretend it is `configure' which instantiates (i.e., don't
32780
# use $as_me), people would be surprised to read:
32781
# /* config.h. Generated by config.status. */
32782
if test x"$ac_file" = x-; then
32785
configure_input="$ac_file. "
32787
configure_input=$configure_input"Generated from `echo $ac_file_in |
32788
sed 's,.*/,,'` by configure."
32790
# First look for the input files in the build tree, otherwise in the
32792
ac_file_inputs=`IFS=:
32793
for f in $ac_file_in; do
32795
-) echo $tmp/stdin ;;
32797
# Absolute (can't be DOS-style, as IFS=:)
32798
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
32799
echo "$as_me: error: cannot find input file: $f" >&2;}
32800
{ (exit 1); exit 1; }; }
32803
if test -f "$f"; then
32806
elif test -f "$srcdir/$f"; then
32811
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
32812
echo "$as_me: error: cannot find input file: $f" >&2;}
32813
{ (exit 1); exit 1; }; }
32816
done` || { (exit 1); exit 1; }
32818
cat >>$CONFIG_STATUS <<_ACEOF
32822
cat >>$CONFIG_STATUS <<\_ACEOF
32824
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
32825
s,@configure_input@,$configure_input,;t t
32826
s,@srcdir@,$ac_srcdir,;t t
32827
s,@abs_srcdir@,$ac_abs_srcdir,;t t
32828
s,@top_srcdir@,$ac_top_srcdir,;t t
32829
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
32830
s,@builddir@,$ac_builddir,;t t
32831
s,@abs_builddir@,$ac_abs_builddir,;t t
32832
s,@top_builddir@,$ac_top_builddir,;t t
32833
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
32834
s,@INSTALL@,$ac_INSTALL,;t t
32835
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
32837
if test x"$ac_file" != x-; then
32838
mv $tmp/out $ac_file
32846
cat >>$CONFIG_STATUS <<\_ACEOF
32849
# CONFIG_HEADER section.
32852
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
32853
# NAME is the cpp macro being defined and VALUE is the value it is being given.
32855
# ac_d sets the value in "#define NAME VALUE" lines.
32856
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
32857
ac_dB='[ ].*$,\1#\2'
32860
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
32861
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
32862
ac_uB='$,\1#\2define\3'
32866
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
32867
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
32869
- | *:- | *:-:* ) # input from stdin
32871
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
32872
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
32873
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
32874
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
32875
* ) ac_file_in=$ac_file.in ;;
32878
test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
32879
echo "$as_me: creating $ac_file" >&6;}
32881
# First look for the input files in the build tree, otherwise in the
32883
ac_file_inputs=`IFS=:
32884
for f in $ac_file_in; do
32886
-) echo $tmp/stdin ;;
32888
# Absolute (can't be DOS-style, as IFS=:)
32889
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
32890
echo "$as_me: error: cannot find input file: $f" >&2;}
32891
{ (exit 1); exit 1; }; }
32892
# Do quote $f, to prevent DOS paths from being IFS'd.
32895
if test -f "$f"; then
32898
elif test -f "$srcdir/$f"; then
32903
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
32904
echo "$as_me: error: cannot find input file: $f" >&2;}
32905
{ (exit 1); exit 1; }; }
32908
done` || { (exit 1); exit 1; }
32909
# Remove the trailing spaces.
32910
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
32914
# Transform confdefs.h into two sed scripts, `conftest.defines' and
32915
# `conftest.undefs', that substitutes the proper values into
32916
# config.h.in to produce config.h. The first handles `#define'
32917
# templates, and the second `#undef' templates.
32918
# And first: Protect against being on the right side of a sed subst in
32919
# config.status. Protect against being in an unquoted here document
32920
# in config.status.
32921
rm -f conftest.defines conftest.undefs
32922
# Using a here document instead of a string reduces the quoting nightmare.
32923
# Putting comments in sed scripts is not portable.
32925
# `end' is used to avoid that the second main sed command (meant for
32926
# 0-ary CPP macros) applies to n-ary macro definitions.
32927
# See the Autoconf documentation for `clear'.
32928
cat >confdef2sed.sed <<\_ACEOF
32933
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
32935
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
32938
# If some macros were called several times there might be several times
32939
# the same #defines, which is useless. Nevertheless, we may not want to
32940
# sort them, since we want the *last* AC-DEFINE to be honored.
32941
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
32942
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
32943
rm -f confdef2sed.sed
32945
# This sed command replaces #undef with comments. This is necessary, for
32946
# example, in the case of _POSIX_SOURCE, which is predefined and required
32947
# on some systems where configure will not decide to define it.
32948
cat >>conftest.undefs <<\_ACEOF
32949
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
32952
# Break up conftest.defines because some shells have a limit on the size
32953
# of here documents, and old seds have small limits too (100 cmds).
32954
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
32955
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
32956
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
32957
echo ' :' >>$CONFIG_STATUS
32958
rm -f conftest.tail
32959
while grep . conftest.defines >/dev/null
32961
# Write a limited-size here document to $tmp/defines.sed.
32962
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
32963
# Speed up: don't consider the non `#define' lines.
32964
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
32965
# Work around the forget-to-reset-the-flag bug.
32966
echo 't clr' >>$CONFIG_STATUS
32967
echo ': clr' >>$CONFIG_STATUS
32968
sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
32970
sed -f $tmp/defines.sed $tmp/in >$tmp/out
32972
mv $tmp/out $tmp/in
32974
sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
32975
rm -f conftest.defines
32976
mv conftest.tail conftest.defines
32978
rm -f conftest.defines
32979
echo ' fi # grep' >>$CONFIG_STATUS
32980
echo >>$CONFIG_STATUS
32982
# Break up conftest.undefs because some shells have a limit on the size
32983
# of here documents, and old seds have small limits too (100 cmds).
32984
echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
32985
rm -f conftest.tail
32986
while grep . conftest.undefs >/dev/null
32988
# Write a limited-size here document to $tmp/undefs.sed.
32989
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
32990
# Speed up: don't consider the non `#undef'
32991
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
32992
# Work around the forget-to-reset-the-flag bug.
32993
echo 't clr' >>$CONFIG_STATUS
32994
echo ': clr' >>$CONFIG_STATUS
32995
sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
32997
sed -f $tmp/undefs.sed $tmp/in >$tmp/out
32999
mv $tmp/out $tmp/in
33001
sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
33002
rm -f conftest.undefs
33003
mv conftest.tail conftest.undefs
33005
rm -f conftest.undefs
33007
cat >>$CONFIG_STATUS <<\_ACEOF
33008
# Let's still pretend it is `configure' which instantiates (i.e., don't
33009
# use $as_me), people would be surprised to read:
33010
# /* config.h. Generated by config.status. */
33011
if test x"$ac_file" = x-; then
33012
echo "/* Generated by configure. */" >$tmp/config.h
33014
echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
33016
cat $tmp/in >>$tmp/config.h
33018
if test x"$ac_file" != x-; then
33019
if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
33020
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
33021
echo "$as_me: $ac_file is unchanged" >&6;}
33023
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
33024
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33025
X"$ac_file" : 'X\(//\)[^/]' \| \
33026
X"$ac_file" : 'X\(//\)$' \| \
33027
X"$ac_file" : 'X\(/\)' \| \
33028
. : '\(.\)' 2>/dev/null ||
33030
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
33031
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
33032
/^X\(\/\/\)$/{ s//\1/; q; }
33033
/^X\(\/\).*/{ s//\1/; q; }
33035
{ if $as_mkdir_p; then
33040
while test ! -d "$as_dir"; do
33041
as_dirs="$as_dir $as_dirs"
33042
as_dir=`(dirname "$as_dir") 2>/dev/null ||
33043
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33044
X"$as_dir" : 'X\(//\)[^/]' \| \
33045
X"$as_dir" : 'X\(//\)$' \| \
33046
X"$as_dir" : 'X\(/\)' \| \
33047
. : '\(.\)' 2>/dev/null ||
33049
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
33050
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
33051
/^X\(\/\/\)$/{ s//\1/; q; }
33052
/^X\(\/\).*/{ s//\1/; q; }
33055
test ! -n "$as_dirs" || mkdir $as_dirs
33056
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
33057
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
33058
{ (exit 1); exit 1; }; }; }
33061
mv $tmp/config.h $ac_file
33065
rm -f $tmp/config.h
33067
# Compute $ac_file's index in $config_headers.
33069
for _am_header in $config_headers :; do
33070
case $_am_header in
33071
$ac_file | $ac_file:* )
33074
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
33077
echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
33078
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33079
X$ac_file : 'X\(//\)[^/]' \| \
33080
X$ac_file : 'X\(//\)$' \| \
33081
X$ac_file : 'X\(/\)' \| \
33082
. : '\(.\)' 2>/dev/null ||
33084
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
33085
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
33086
/^X\(\/\/\)$/{ s//\1/; q; }
33087
/^X\(\/\).*/{ s//\1/; q; }
33088
s/.*/./; q'`/stamp-h$_am_stamp_count
33091
cat >>$CONFIG_STATUS <<\_ACEOF
33094
# CONFIG_COMMANDS section.
33096
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
33097
ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
33098
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
33099
ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
33100
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33101
X"$ac_dest" : 'X\(//\)[^/]' \| \
33102
X"$ac_dest" : 'X\(//\)$' \| \
33103
X"$ac_dest" : 'X\(/\)' \| \
33104
. : '\(.\)' 2>/dev/null ||
33106
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
33107
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
33108
/^X\(\/\/\)$/{ s//\1/; q; }
33109
/^X\(\/\).*/{ s//\1/; q; }
33111
{ if $as_mkdir_p; then
33116
while test ! -d "$as_dir"; do
33117
as_dirs="$as_dir $as_dirs"
33118
as_dir=`(dirname "$as_dir") 2>/dev/null ||
33119
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33120
X"$as_dir" : 'X\(//\)[^/]' \| \
33121
X"$as_dir" : 'X\(//\)$' \| \
33122
X"$as_dir" : 'X\(/\)' \| \
33123
. : '\(.\)' 2>/dev/null ||
33125
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
33126
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
33127
/^X\(\/\/\)$/{ s//\1/; q; }
33128
/^X\(\/\).*/{ s//\1/; q; }
33131
test ! -n "$as_dirs" || mkdir $as_dirs
33132
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
33133
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
33134
{ (exit 1); exit 1; }; }; }
33138
if test "$ac_dir" != .; then
33139
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
33140
# A "../" for each directory in $ac_dir_suffix.
33141
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
33143
ac_dir_suffix= ac_top_builddir=
33147
.) # No --srcdir option. We are building in place.
33149
if test -z "$ac_top_builddir"; then
33152
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
33154
[\\/]* | ?:[\\/]* ) # Absolute path.
33155
ac_srcdir=$srcdir$ac_dir_suffix;
33156
ac_top_srcdir=$srcdir ;;
33157
*) # Relative path.
33158
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
33159
ac_top_srcdir=$ac_top_builddir$srcdir ;;
33162
# Do not use `cd foo && pwd` to compute absolute paths, because
33163
# the directories may not exist.
33165
.) ac_abs_builddir="$ac_dir";;
33168
.) ac_abs_builddir=`pwd`;;
33169
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
33170
*) ac_abs_builddir=`pwd`/"$ac_dir";;
33173
case $ac_abs_builddir in
33174
.) ac_abs_top_builddir=${ac_top_builddir}.;;
33176
case ${ac_top_builddir}. in
33177
.) ac_abs_top_builddir=$ac_abs_builddir;;
33178
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
33179
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
33182
case $ac_abs_builddir in
33183
.) ac_abs_srcdir=$ac_srcdir;;
33186
.) ac_abs_srcdir=$ac_abs_builddir;;
33187
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
33188
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
33191
case $ac_abs_builddir in
33192
.) ac_abs_top_srcdir=$ac_top_srcdir;;
33194
case $ac_top_srcdir in
33195
.) ac_abs_top_srcdir=$ac_abs_builddir;;
33196
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
33197
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
33202
{ echo "$as_me:$LINENO: executing $ac_dest commands" >&5
33203
echo "$as_me: executing $ac_dest commands" >&6;}
33205
depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
33206
# Strip MF so we end up with the name of the file.
33207
mf=`echo "$mf" | sed -e 's/:.*$//'`
33208
# Check whether this is an Automake generated Makefile or not.
33209
# We used to match only the files named `Makefile.in', but
33210
# some people rename them; so instead we look at the file content.
33211
# Grep'ing the first line is not enough: some people post-process
33212
# each Makefile.in and add a new line on top of each file to say so.
33213
# So let's grep whole file.
33214
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
33215
dirpart=`(dirname "$mf") 2>/dev/null ||
33216
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33217
X"$mf" : 'X\(//\)[^/]' \| \
33218
X"$mf" : 'X\(//\)$' \| \
33219
X"$mf" : 'X\(/\)' \| \
33220
. : '\(.\)' 2>/dev/null ||
33222
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
33223
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
33224
/^X\(\/\/\)$/{ s//\1/; q; }
33225
/^X\(\/\).*/{ s//\1/; q; }
33230
# Extract the definition of DEPDIR, am__include, and am__quote
33231
# from the Makefile without running `make'.
33232
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
33233
test -z "$DEPDIR" && continue
33234
am__include=`sed -n 's/^am__include = //p' < "$mf"`
33235
test -z "am__include" && continue
33236
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
33237
# When using ansi2knr, U may be empty or an underscore; expand it
33238
U=`sed -n 's/^U = //p' < "$mf"`
33239
# Find all dependency output files, they are included files with
33240
# $(DEPDIR) in their names. We invoke sed twice because it is the
33241
# simplest approach to changing $(DEPDIR) to its actual value in the
33243
for file in `sed -n "
33244
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
33245
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
33246
# Make sure the directory exists.
33247
test -f "$dirpart/$file" && continue
33248
fdir=`(dirname "$file") 2>/dev/null ||
33249
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33250
X"$file" : 'X\(//\)[^/]' \| \
33251
X"$file" : 'X\(//\)$' \| \
33252
X"$file" : 'X\(/\)' \| \
33253
. : '\(.\)' 2>/dev/null ||
33255
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
33256
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
33257
/^X\(\/\/\)$/{ s//\1/; q; }
33258
/^X\(\/\).*/{ s//\1/; q; }
33260
{ if $as_mkdir_p; then
33261
mkdir -p $dirpart/$fdir
33263
as_dir=$dirpart/$fdir
33265
while test ! -d "$as_dir"; do
33266
as_dirs="$as_dir $as_dirs"
33267
as_dir=`(dirname "$as_dir") 2>/dev/null ||
33268
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33269
X"$as_dir" : 'X\(//\)[^/]' \| \
33270
X"$as_dir" : 'X\(//\)$' \| \
33271
X"$as_dir" : 'X\(/\)' \| \
33272
. : '\(.\)' 2>/dev/null ||
33274
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
33275
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
33276
/^X\(\/\/\)$/{ s//\1/; q; }
33277
/^X\(\/\).*/{ s//\1/; q; }
33280
test ! -n "$as_dirs" || mkdir $as_dirs
33281
fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
33282
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
33283
{ (exit 1); exit 1; }; }; }
33285
# echo "creating $dirpart/$file"
33286
echo '# dummy' > "$dirpart/$file"
33294
cat >>$CONFIG_STATUS <<\_ACEOF
33296
{ (exit 0); exit 0; }
33298
if test "x$with_fast_perl" = "xyes"; then
33299
perl -i.bak $ac_aux_dir/conf.change.pl $CONFIG_STATUS \
33300
|| mv $CONFIG_STATUS.bak $CONFIG_STATUS
33301
rm -f $CONFIG_STATUS.bak
33303
chmod +x $CONFIG_STATUS
33304
ac_clean_files=$ac_clean_files_save
33307
# configure is writing to config.log, and then calls config.status.
33308
# config.status does its own redirection, appending to config.log.
33309
# Unfortunately, on DOS this fails, as config.log is still kept open
33310
# by configure, so config.status won't be able to write to it; its
33311
# output is simply discarded. So we exec the FD to /dev/null,
33312
# effectively closing config.log, so it can be properly (re)opened and
33313
# appended to by config.status. When coming back to configure, we
33314
# need to make the FD available again.
33315
if test "$no_create" != yes; then
33317
ac_config_status_args=
33318
test "$silent" = yes &&
33319
ac_config_status_args="$ac_config_status_args --quiet"
33321
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
33323
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
33324
# would make configure fail if this is the last instruction.
33325
$ac_cs_success || { (exit 1); exit 1; }
33328
# Check if KDE_SET_PREFIX was called, and --prefix was passed to configure
33329
if test -n "$kde_libs_prefix" -a -n "$given_prefix"; then
33330
# And if so, warn when they don't match
33331
if test "$kde_libs_prefix" != "$given_prefix"; then
33332
# And if kde doesn't know about the prefix yet
33333
echo ":"`kde-config --path exe`":" | grep ":$given_prefix/bin/:" 2>&1 >/dev/null
33334
if test $? -ne 0; then
33336
echo "Warning: you chose to install this package in $given_prefix,"
33337
echo "but KDE was found in $kde_libs_prefix."
33338
echo "For this to work, you will need to tell KDE about the new prefix, by ensuring"
33339
echo "that KDEDIRS contains it, e.g. export KDEDIRS=$given_prefix:$kde_libs_prefix"
33340
echo "Then restart KDE."
33346
if test "$all_tests" = "bad"; then
33347
if test ! "$cache_file" = "/dev/null"; then
33349
echo "Please remove the file $cache_file after changing your setup"
33350
echo "so that configure will find the changes next time."
33355
echo "Good - your configure finished. Start make now"