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 HAVE_GCC_VISIBILITY unsermake_enable_pch_TRUE unsermake_enable_pch_FALSE USE_EXCEPTIONS USE_RTTI CXXCPP NOOPT_CXXFLAGS NOOPT_CFLAGS ENABLE_PERMISSIVE_FLAG LDFLAGS_AS_NEEDED 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 MAKEKDEWIDGETS 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_KIMPROXY LIB_KNEWSTUFF LIB_KSYCOCA LIB_KFILE LIB_KFM PKG_CONFIG GTK2_CFLAGS GTK2_LIBS LIBBONOBOUI_CFLAGS LIBBONOBOUI_LIBS QTENGINE_CFLAGS QTENGINE_LIBS GTK_VERSION GTK_LIBPREFIX GTK_PREFIX KDE_PREFIX 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 similar
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
1038
KCC or gcc >=3.4+unsermake) default=no
1039
--disable-as-needed disable the --as-needed flag for the linker
1040
--enable-final build size optimized apps (experimental - needs lots
1042
--enable-closure delay template instantiation
1043
--enable-nmcheck enable automatic namespace cleanness check
1044
--enable-shared[=PKGS]
1045
build shared libraries [default=yes]
1046
--enable-static[=PKGS]
1047
build static libraries [default=no]
1048
--enable-libsuffix /lib directory suffix (64,32,none=default)
1049
--enable-fast-install[=PKGS]
1050
optimize for fast installation [default=yes]
1051
--disable-libtool-lock avoid locking (might break parallel builds)
1052
--enable-embedded link to Qt-embedded, don't use X
1053
--enable-qtopia link to Qt-embedded, link to the Qtopia Environment
1054
--enable-mac link to Qt/Mac (don't use X)
1055
--disable-mt link to non-threaded Qt (deprecated)
1056
--disable-threading disables threading even if libpthread found
1057
--disable-rpath do not use the rpath feature of ld
1058
--disable-path-check don't try to find out, where to install
1061
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1062
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1063
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
1064
--with-pic try to use only PIC/non-PIC objects [default=use
1067
include additional configurations [automatic]
1068
--with-extra-includes=DIR
1069
adds non standard include paths
1070
--with-extra-libs=DIR adds non standard library paths
1071
--with-qt-dir=DIR where the root of Qt is installed
1072
--with-qt-includes=DIR where the Qt includes are.
1073
--with-qt-libraries=DIR where the Qt library is installed.
1074
--without-arts build without aRts default=no
1076
Some influential environment variables:
1077
CC C compiler command
1078
CFLAGS C compiler flags
1079
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1080
nonstandard directory <lib dir>
1081
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1082
headers in a nonstandard directory <include dir>
1084
CXX C++ compiler command
1085
CXXFLAGS C++ compiler flags
1086
CXXCPP C++ preprocessor
1087
F77 Fortran 77 compiler command
1088
FFLAGS Fortran 77 compiler flags
1090
Use these variables to override the choices made by `configure' or to help
1091
it to find libraries and programs with nonstandard names/locations.
1096
if test "$ac_init_help" = "recursive"; then
1097
# If there are subdirs, report their specific --help.
1099
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1100
test -d $ac_dir || continue
1103
if test "$ac_dir" != .; then
1104
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1105
# A "../" for each directory in $ac_dir_suffix.
1106
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1108
ac_dir_suffix= ac_top_builddir=
1112
.) # No --srcdir option. We are building in place.
1114
if test -z "$ac_top_builddir"; then
1117
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1119
[\\/]* | ?:[\\/]* ) # Absolute path.
1120
ac_srcdir=$srcdir$ac_dir_suffix;
1121
ac_top_srcdir=$srcdir ;;
1123
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1124
ac_top_srcdir=$ac_top_builddir$srcdir ;;
1127
# Do not use `cd foo && pwd` to compute absolute paths, because
1128
# the directories may not exist.
1130
.) ac_abs_builddir="$ac_dir";;
1133
.) ac_abs_builddir=`pwd`;;
1134
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1135
*) ac_abs_builddir=`pwd`/"$ac_dir";;
1138
case $ac_abs_builddir in
1139
.) ac_abs_top_builddir=${ac_top_builddir}.;;
1141
case ${ac_top_builddir}. in
1142
.) ac_abs_top_builddir=$ac_abs_builddir;;
1143
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1144
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1147
case $ac_abs_builddir in
1148
.) ac_abs_srcdir=$ac_srcdir;;
1151
.) ac_abs_srcdir=$ac_abs_builddir;;
1152
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1153
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1156
case $ac_abs_builddir in
1157
.) ac_abs_top_srcdir=$ac_top_srcdir;;
1159
case $ac_top_srcdir in
1160
.) ac_abs_top_srcdir=$ac_abs_builddir;;
1161
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1162
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1167
# Check for guested configure; otherwise get Cygnus style configure.
1168
if test -f $ac_srcdir/configure.gnu; then
1170
$SHELL $ac_srcdir/configure.gnu --help=recursive
1171
elif test -f $ac_srcdir/configure; then
1173
$SHELL $ac_srcdir/configure --help=recursive
1174
elif test -f $ac_srcdir/configure.ac ||
1175
test -f $ac_srcdir/configure.in; then
1177
$ac_configure --help
1179
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1185
test -n "$ac_init_help" && exit 0
1186
if $ac_init_version; then
1189
Copyright (C) 2003 Free Software Foundation, Inc.
1190
This configure script is free software; the Free Software Foundation
1191
gives unlimited permission to copy, distribute and modify it.
1197
This file contains any messages produced by compilers while
1198
running configure, to aid debugging if configure makes a mistake.
1200
It was created by $as_me, which was
1201
generated by GNU Autoconf 2.59. Invocation command line was
1212
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1213
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1214
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1215
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1216
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1218
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1219
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1221
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1222
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1223
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1224
hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1225
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1226
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1227
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1231
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1235
test -z "$as_dir" && as_dir=.
1236
echo "PATH: $as_dir"
1251
# Keep a trace of the command line.
1252
# Strip out --no-create and --no-recursion so they do not pile up.
1253
# Strip out --silent because we don't want to record it for future runs.
1254
# Also quote any args containing shell meta-characters.
1255
# Make two passes to allow for proper duplicate-argument suppression.
1260
ac_must_keep_next=false
1266
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1267
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1268
| -silent | --silent | --silen | --sile | --sil)
1270
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1271
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1274
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1276
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1277
if test $ac_must_keep_next = true; then
1278
ac_must_keep_next=false # Got value, back to normal.
1281
*=* | --config-cache | -C | -disable-* | --disable-* \
1282
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1283
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1284
| -with-* | --with-* | -without-* | --without-* | --x)
1285
case "$ac_configure_args0 " in
1286
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1289
-* ) ac_must_keep_next=true ;;
1292
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1293
# Get rid of the leading space.
1299
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1300
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1302
# When interrupted or exit'd, cleanup temporary files, and complete
1303
# config.log. We remove comments because anyway the quotes in there
1304
# would cause problems or look ugly.
1305
# WARNING: Be sure not to use single quotes in there, as some shells,
1306
# such as our DU 5.0 friend, will then `close' the trap.
1307
trap 'exit_status=$?
1308
# Save into config.log some information that might help in debugging.
1313
## ---------------- ##
1314
## Cache variables. ##
1315
## ---------------- ##
1318
# The following way of writing the cache mishandles newlines in values,
1321
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1324
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1325
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1329
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1336
## ----------------- ##
1337
## Output variables. ##
1338
## ----------------- ##
1341
for ac_var in $ac_subst_vars
1343
eval ac_val=$`echo $ac_var`
1344
echo "$ac_var='"'"'$ac_val'"'"'"
1348
if test -n "$ac_subst_files"; then
1355
for ac_var in $ac_subst_files
1357
eval ac_val=$`echo $ac_var`
1358
echo "$ac_var='"'"'$ac_val'"'"'"
1363
if test -s confdefs.h; then
1370
sed "/^$/d" confdefs.h | sort
1373
test "$ac_signal" != 0 &&
1374
echo "$as_me: caught signal $ac_signal"
1375
echo "$as_me: exit $exit_status"
1377
rm -f core *.core &&
1378
rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1381
for ac_signal in 1 2 13 15; do
1382
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1386
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1387
rm -rf conftest* confdefs.h
1388
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1391
# Predefined preprocessor variables.
1393
cat >>confdefs.h <<_ACEOF
1394
#define PACKAGE_NAME "$PACKAGE_NAME"
1398
cat >>confdefs.h <<_ACEOF
1399
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1403
cat >>confdefs.h <<_ACEOF
1404
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1408
cat >>confdefs.h <<_ACEOF
1409
#define PACKAGE_STRING "$PACKAGE_STRING"
1413
cat >>confdefs.h <<_ACEOF
1414
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1418
# Let the site file select an alternate cache file if it wants to.
1419
# Prefer explicitly selected file to automatically selected ones.
1420
if test -z "$CONFIG_SITE"; then
1421
if test "x$prefix" != xNONE; then
1422
CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1424
CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1427
for ac_site_file in $CONFIG_SITE; do
1428
if test -r "$ac_site_file"; then
1429
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1430
echo "$as_me: loading site script $ac_site_file" >&6;}
1431
sed 's/^/| /' "$ac_site_file" >&5
1436
if test -r "$cache_file"; then
1437
# Some versions of bash will fail to source /dev/null (special
1438
# files actually), so we avoid doing that.
1439
if test -f "$cache_file"; then
1440
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
1441
echo "$as_me: loading cache $cache_file" >&6;}
1443
[\\/]* | ?:[\\/]* ) . $cache_file;;
1444
*) . ./$cache_file;;
1448
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
1449
echo "$as_me: creating cache $cache_file" >&6;}
1453
# Check that the precious variables saved in the cache have kept the same
1455
ac_cache_corrupted=false
1456
for ac_var in `(set) 2>&1 |
1457
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1458
eval ac_old_set=\$ac_cv_env_${ac_var}_set
1459
eval ac_new_set=\$ac_env_${ac_var}_set
1460
eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1461
eval ac_new_val="\$ac_env_${ac_var}_value"
1462
case $ac_old_set,$ac_new_set in
1464
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1465
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1466
ac_cache_corrupted=: ;;
1468
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1469
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1470
ac_cache_corrupted=: ;;
1473
if test "x$ac_old_val" != "x$ac_new_val"; then
1474
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1475
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1476
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1477
echo "$as_me: former value: $ac_old_val" >&2;}
1478
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1479
echo "$as_me: current value: $ac_new_val" >&2;}
1480
ac_cache_corrupted=:
1483
# Pass precious variables to config.status.
1484
if test "$ac_new_set" = set; then
1486
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1487
ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1488
*) ac_arg=$ac_var=$ac_new_val ;;
1490
case " $ac_configure_args " in
1491
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1492
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1496
if $ac_cache_corrupted; then
1497
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1498
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1499
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1500
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1501
{ (exit 1); exit 1; }; }
1505
ac_cpp='$CPP $CPPFLAGS'
1506
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1507
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1508
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1529
for ac_dir in admin $srcdir/admin; do
1530
if test -f $ac_dir/install-sh; then
1532
ac_install_sh="$ac_aux_dir/install-sh -c"
1534
elif test -f $ac_dir/install.sh; then
1536
ac_install_sh="$ac_aux_dir/install.sh -c"
1538
elif test -f $ac_dir/shtool; then
1540
ac_install_sh="$ac_aux_dir/shtool install -c"
1544
if test -z "$ac_aux_dir"; then
1545
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in admin $srcdir/admin" >&5
1546
echo "$as_me: error: cannot find install-sh or install.sh in admin $srcdir/admin" >&2;}
1547
{ (exit 1); exit 1; }; }
1549
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1550
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1551
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1556
# Make sure we can run config.sub.
1557
$ac_config_sub sun4 >/dev/null 2>&1 ||
1558
{ { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1559
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1560
{ (exit 1); exit 1; }; }
1562
echo "$as_me:$LINENO: checking build system type" >&5
1563
echo $ECHO_N "checking build system type... $ECHO_C" >&6
1564
if test "${ac_cv_build+set}" = set; then
1565
echo $ECHO_N "(cached) $ECHO_C" >&6
1567
ac_cv_build_alias=$build_alias
1568
test -z "$ac_cv_build_alias" &&
1569
ac_cv_build_alias=`$ac_config_guess`
1570
test -z "$ac_cv_build_alias" &&
1571
{ { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1572
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1573
{ (exit 1); exit 1; }; }
1574
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1575
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1576
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1577
{ (exit 1); exit 1; }; }
1580
echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1581
echo "${ECHO_T}$ac_cv_build" >&6
1583
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1584
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1585
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1588
echo "$as_me:$LINENO: checking host system type" >&5
1589
echo $ECHO_N "checking host system type... $ECHO_C" >&6
1590
if test "${ac_cv_host+set}" = set; then
1591
echo $ECHO_N "(cached) $ECHO_C" >&6
1593
ac_cv_host_alias=$host_alias
1594
test -z "$ac_cv_host_alias" &&
1595
ac_cv_host_alias=$ac_cv_build_alias
1596
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1597
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1598
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1599
{ (exit 1); exit 1; }; }
1602
echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1603
echo "${ECHO_T}$ac_cv_host" >&6
1605
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1606
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1607
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1610
echo "$as_me:$LINENO: checking target system type" >&5
1611
echo $ECHO_N "checking target system type... $ECHO_C" >&6
1612
if test "${ac_cv_target+set}" = set; then
1613
echo $ECHO_N "(cached) $ECHO_C" >&6
1615
ac_cv_target_alias=$target_alias
1616
test "x$ac_cv_target_alias" = "x" &&
1617
ac_cv_target_alias=$ac_cv_host_alias
1618
ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1619
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1620
echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1621
{ (exit 1); exit 1; }; }
1624
echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1625
echo "${ECHO_T}$ac_cv_target" >&6
1626
target=$ac_cv_target
1627
target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1628
target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1629
target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1632
# The aliases save the names the user supplied, while $host etc.
1633
# will get canonicalized.
1634
test -n "$target_alias" &&
1635
test "$program_prefix$program_suffix$program_transform_name" = \
1637
program_prefix=${target_alias}-
1638
test "$program_prefix" != NONE &&
1639
program_transform_name="s,^,$program_prefix,;$program_transform_name"
1640
# Use a double $ so make ignores it.
1641
test "$program_suffix" != NONE &&
1642
program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1643
# Double any \ or $. echo might interpret backslashes.
1644
# By default was `s,x,x', remove it if useless.
1645
cat <<\_ACEOF >conftest.sed
1646
s/[\\$]/&&/g;s/;s,x,x,$//
1648
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1652
am__api_version="1.9"
1655
test -n "$INSTALL" && kde_save_INSTALL_given=$INSTALL
1656
test -n "$INSTALL_PROGRAM" && kde_save_INSTALL_PROGRAM_given=$INSTALL_PROGRAM
1657
test -n "$INSTALL_SCRIPT" && kde_save_INSTALL_SCRIPT_given=$INSTALL_SCRIPT
1658
# Find a good install program. We prefer a C program (faster),
1659
# so one script is as good as another. But avoid the broken or
1660
# incompatible versions:
1661
# SysV /etc/install, /usr/sbin/install
1662
# SunOS /usr/etc/install
1663
# IRIX /sbin/install
1665
# AmigaOS /C/install, which installs bootblocks on floppy discs
1666
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1667
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1668
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1669
# OS/2's system install, which has a completely different semantic
1670
# ./install, which can be erroneously created by make from ./install.sh.
1671
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1672
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1673
if test -z "$INSTALL"; then
1674
if test "${ac_cv_path_install+set}" = set; then
1675
echo $ECHO_N "(cached) $ECHO_C" >&6
1677
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1681
test -z "$as_dir" && as_dir=.
1682
# Account for people who put trailing slashes in PATH elements.
1684
./ | .// | /cC/* | \
1685
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1686
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1689
# OSF1 and SCO ODT 3.0 have their own names for install.
1690
# Don't use installbsd from OSF since it installs stuff as root
1692
for ac_prog in ginstall scoinst install; do
1693
for ac_exec_ext in '' $ac_executable_extensions; do
1694
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1695
if test $ac_prog = install &&
1696
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1697
# AIX install. It has an incompatible calling convention.
1699
elif test $ac_prog = install &&
1700
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1701
# program-specific install script used by HP pwplus--don't use.
1704
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1716
if test "${ac_cv_path_install+set}" = set; then
1717
INSTALL=$ac_cv_path_install
1719
# As a last resort, use the slow shell script. We don't cache a
1720
# path for INSTALL within a source directory, because that will
1721
# break other packages using the cache if that directory is
1722
# removed, or if the path is relative.
1723
INSTALL=$ac_install_sh
1726
echo "$as_me:$LINENO: result: $INSTALL" >&5
1727
echo "${ECHO_T}$INSTALL" >&6
1729
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1730
# It thinks the first close brace ends the variable substitution.
1731
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1733
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1735
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1738
if test -z "$kde_save_INSTALL_given" ; then
1739
# OK, user hasn't given any INSTALL, autoconf found one for us
1740
# now we test, if it supports the -p flag
1741
echo "$as_me:$LINENO: checking for -p flag to install" >&5
1742
echo $ECHO_N "checking for -p flag to install... $ECHO_C" >&6
1743
rm -f confinst.$$.* > /dev/null 2>&1
1744
echo "Testtest" > confinst.$$.orig
1746
if ${INSTALL} -p confinst.$$.orig confinst.$$.new > /dev/null 2>&1 ; then
1747
if test -f confinst.$$.new ; then
1748
# OK, -p seems to do no harm to install
1749
INSTALL="${INSTALL} -p"
1754
echo "$as_me:$LINENO: result: $ac_res" >&5
1755
echo "${ECHO_T}$ac_res" >&6
1758
if test -z "$kde_save_INSTALL_PROGRAM_given" ; then
1759
INSTALL_PROGRAM='${INSTALL} $(INSTALL_STRIP_FLAG)'
1761
if test -z "$kde_save_INSTALL_SCRIPT_given" ; then
1762
INSTALL_SCRIPT='${INSTALL}'
1765
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1766
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1769
echo timestamp > conftest.file
1770
# Do `set' in a subshell so we don't clobber the current shell's
1771
# arguments. Must try -L first in case configure is actually a
1772
# symlink; some systems play weird games with the mod time of symlinks
1773
# (eg FreeBSD returns the mod time of the symlink's containing
1776
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1777
if test "$*" = "X"; then
1779
set X `ls -t $srcdir/configure conftest.file`
1782
if test "$*" != "X $srcdir/configure conftest.file" \
1783
&& test "$*" != "X conftest.file $srcdir/configure"; then
1785
# If neither matched, then we have a broken ls. This can happen
1786
# if, for instance, CONFIG_SHELL is bash and it inherits a
1787
# broken ls alias from the environment. This has actually
1788
# happened. Such a system could not be considered "sane".
1789
{ { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1790
alias in your environment" >&5
1791
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1792
alias in your environment" >&2;}
1793
{ (exit 1); exit 1; }; }
1796
test "$2" = conftest.file
1802
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1803
Check your system clock" >&5
1804
echo "$as_me: error: newly created file is older than distributed files!
1805
Check your system clock" >&2;}
1806
{ (exit 1); exit 1; }; }
1808
echo "$as_me:$LINENO: result: yes" >&5
1809
echo "${ECHO_T}yes" >&6
1810
# expand $ac_aux_dir to an absolute path
1811
am_aux_dir=`cd $ac_aux_dir && pwd`
1813
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1814
# Use eval to expand $SHELL
1815
if eval "$MISSING --run true"; then
1816
am_missing_run="$MISSING --run "
1819
{ echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1820
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1823
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1824
# We used to keeping the `.' as first argument, in order to
1825
# allow $(mkdir_p) to be used without argument. As in
1826
# $(mkdir_p) $(somedir)
1827
# where $(somedir) is conditionally defined. However this is wrong
1829
# 1. if the package is installed by a user who cannot write `.'
1830
# make install will fail,
1831
# 2. the above comment should most certainly read
1832
# $(mkdir_p) $(DESTDIR)$(somedir)
1833
# so it does not work when $(somedir) is undefined and
1834
# $(DESTDIR) is not.
1835
# To support the latter case, we have to write
1836
# test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1837
# so the `.' trick is pointless.
1838
mkdir_p='mkdir -p --'
1840
# On NextStep and OpenStep, the `mkdir' command does not
1841
# recognize any option. It will interpret all options as
1842
# directories to create, and then abort because `.' already
1844
for d in ./-p ./--version;
1846
test -d $d && rmdir $d
1848
# $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1849
if test -f "$ac_aux_dir/mkinstalldirs"; then
1850
mkdir_p='$(mkinstalldirs)'
1852
mkdir_p='$(install_sh) -d'
1856
for ac_prog in gawk mawk nawk awk
1858
# Extract the first word of "$ac_prog", so it can be a program name with args.
1859
set dummy $ac_prog; ac_word=$2
1860
echo "$as_me:$LINENO: checking for $ac_word" >&5
1861
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1862
if test "${ac_cv_prog_AWK+set}" = set; then
1863
echo $ECHO_N "(cached) $ECHO_C" >&6
1865
if test -n "$AWK"; then
1866
ac_cv_prog_AWK="$AWK" # Let the user override the test.
1868
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1872
test -z "$as_dir" && as_dir=.
1873
for ac_exec_ext in '' $ac_executable_extensions; do
1874
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1875
ac_cv_prog_AWK="$ac_prog"
1876
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1885
if test -n "$AWK"; then
1886
echo "$as_me:$LINENO: result: $AWK" >&5
1887
echo "${ECHO_T}$AWK" >&6
1889
echo "$as_me:$LINENO: result: no" >&5
1890
echo "${ECHO_T}no" >&6
1893
test -n "$AWK" && break
1896
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1897
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1898
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1899
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1900
echo $ECHO_N "(cached) $ECHO_C" >&6
1902
cat >conftest.make <<\_ACEOF
1904
@echo 'ac_maketemp="$(MAKE)"'
1906
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1907
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1908
if test -n "$ac_maketemp"; then
1909
eval ac_cv_prog_make_${ac_make}_set=yes
1911
eval ac_cv_prog_make_${ac_make}_set=no
1915
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1916
echo "$as_me:$LINENO: result: yes" >&5
1917
echo "${ECHO_T}yes" >&6
1920
echo "$as_me:$LINENO: result: no" >&5
1921
echo "${ECHO_T}no" >&6
1922
SET_MAKE="MAKE=${MAKE-make}"
1925
rm -rf .tst 2>/dev/null
1926
mkdir .tst 2>/dev/null
1927
if test -d .tst; then
1932
rmdir .tst 2>/dev/null
1934
# test to see if srcdir already configured
1935
if test "`cd $srcdir && pwd`" != "`pwd`" &&
1936
test -f $srcdir/config.status; then
1937
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1938
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1939
{ (exit 1); exit 1; }; }
1942
# test whether we have cygpath
1943
if test -z "$CYGPATH_W"; then
1944
if (cygpath --version) >/dev/null 2>/dev/null; then
1945
CYGPATH_W='cygpath -w'
1952
# Define the identity of the package.
1957
cat >>confdefs.h <<_ACEOF
1958
#define PACKAGE "$PACKAGE"
1962
cat >>confdefs.h <<_ACEOF
1963
#define VERSION "$VERSION"
1966
# Some tools Automake needs.
1968
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1971
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1974
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1977
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1980
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1982
install_sh=${install_sh-"$am_aux_dir/install-sh"}
1984
# Installed binaries are usually stripped using `strip' when the user
1985
# run `make install-strip'. However `strip' might not be the right
1986
# tool to use in cross-compilation environments, therefore Automake
1987
# will honor the `STRIP' environment variable to overrule this program.
1988
if test "$cross_compiling" != no; then
1989
if test -n "$ac_tool_prefix"; then
1990
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1991
set dummy ${ac_tool_prefix}strip; ac_word=$2
1992
echo "$as_me:$LINENO: checking for $ac_word" >&5
1993
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1994
if test "${ac_cv_prog_STRIP+set}" = set; then
1995
echo $ECHO_N "(cached) $ECHO_C" >&6
1997
if test -n "$STRIP"; then
1998
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2000
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2004
test -z "$as_dir" && as_dir=.
2005
for ac_exec_ext in '' $ac_executable_extensions; do
2006
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2007
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2008
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2016
STRIP=$ac_cv_prog_STRIP
2017
if test -n "$STRIP"; then
2018
echo "$as_me:$LINENO: result: $STRIP" >&5
2019
echo "${ECHO_T}$STRIP" >&6
2021
echo "$as_me:$LINENO: result: no" >&5
2022
echo "${ECHO_T}no" >&6
2026
if test -z "$ac_cv_prog_STRIP"; then
2028
# Extract the first word of "strip", so it can be a program name with args.
2029
set dummy strip; ac_word=$2
2030
echo "$as_me:$LINENO: checking for $ac_word" >&5
2031
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2032
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2033
echo $ECHO_N "(cached) $ECHO_C" >&6
2035
if test -n "$ac_ct_STRIP"; then
2036
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2038
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2042
test -z "$as_dir" && as_dir=.
2043
for ac_exec_ext in '' $ac_executable_extensions; do
2044
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2045
ac_cv_prog_ac_ct_STRIP="strip"
2046
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2052
test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2055
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2056
if test -n "$ac_ct_STRIP"; then
2057
echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2058
echo "${ECHO_T}$ac_ct_STRIP" >&6
2060
echo "$as_me:$LINENO: result: no" >&5
2061
echo "${ECHO_T}no" >&6
2066
STRIP="$ac_cv_prog_STRIP"
2070
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2072
# We need awk for the "check" target. The system "awk" is bad on
2074
# Always define AMTAR for backward compatibility.
2076
AMTAR=${AMTAR-"${am_missing_run}tar"}
2078
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2089
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"
2090
test -n "$KDEDIR" && kde_default_bindirs="$KDEDIR/bin $kde_default_bindirs"
2091
if test -n "$KDEDIRS"; then
2094
for dir in $KDEDIRS; do
2095
kde_default_bindirs="$dir/bin $kde_default_bindirs "
2100
if test "x$prefix" = "xNONE"; then
2102
echo "$as_me:$LINENO: checking for kde-config" >&5
2103
echo $ECHO_N "checking for kde-config... $ECHO_C" >&6
2104
if test -n "$KDECONFIG"; then
2105
kde_cv_path="$KDECONFIG";
2107
kde_cache=`echo kde-config | sed 'y%./+-%__p_%'`
2109
if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
2110
echo $ECHO_N "(cached) $ECHO_C" >&6
2117
for dir in $PATH; do
2120
if test -z "prepend"; then dirs="$kde_default_bindirs $dirs"
2121
else dirs="$dirs $kde_default_bindirs"
2125
for dir in $dirs; do
2126
if test -x "$dir/kde-config"; then
2129
evalstr="$dir/kde-config 2>&1 "
2130
if eval $evalstr; then
2131
kde_cv_path="$dir/kde-config"
2135
kde_cv_path="$dir/kde-config"
2141
eval "kde_cv_path_$kde_cache=$kde_cv_path"
2147
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
2151
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
2152
echo "$as_me:$LINENO: result: not found" >&5
2153
echo "${ECHO_T}not found" >&6
2155
{ { echo "$as_me:$LINENO: error: The important program kde-config was not found!
2156
Please check whether you installed KDE correctly.
2158
echo "$as_me: error: The important program kde-config was not found!
2159
Please check whether you installed KDE correctly.
2161
{ (exit 1); exit 1; }; }
2164
echo "$as_me:$LINENO: result: $kde_cv_path" >&5
2165
echo "${ECHO_T}$kde_cv_path" >&6
2166
KDECONFIG=$kde_cv_path
2171
kde_save_PATH="$PATH"
2172
PATH="$exec_prefix/bin:$prefix/bin:$PATH"
2174
echo "$as_me:$LINENO: checking for kde-config" >&5
2175
echo $ECHO_N "checking for kde-config... $ECHO_C" >&6
2176
if test -n "$KDECONFIG"; then
2177
kde_cv_path="$KDECONFIG";
2179
kde_cache=`echo kde-config | sed 'y%./+-%__p_%'`
2181
if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
2182
echo $ECHO_N "(cached) $ECHO_C" >&6
2189
for dir in $PATH; do
2192
if test -z "prepend"; then dirs="$kde_default_bindirs $dirs"
2193
else dirs="$dirs $kde_default_bindirs"
2197
for dir in $dirs; do
2198
if test -x "$dir/kde-config"; then
2201
evalstr="$dir/kde-config 2>&1 "
2202
if eval $evalstr; then
2203
kde_cv_path="$dir/kde-config"
2207
kde_cv_path="$dir/kde-config"
2213
eval "kde_cv_path_$kde_cache=$kde_cv_path"
2219
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
2223
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
2224
echo "$as_me:$LINENO: result: not found" >&5
2225
echo "${ECHO_T}not found" >&6
2227
{ { echo "$as_me:$LINENO: error: The important program kde-config was not found!
2228
Please check whether you installed KDE correctly.
2230
echo "$as_me: error: The important program kde-config was not found!
2231
Please check whether you installed KDE correctly.
2233
{ (exit 1); exit 1; }; }
2236
echo "$as_me:$LINENO: result: $kde_cv_path" >&5
2237
echo "${ECHO_T}$kde_cv_path" >&6
2238
KDECONFIG=$kde_cv_path
2242
PATH="$kde_save_PATH"
2245
kde_libs_prefix=`$KDECONFIG --prefix`
2246
if test -z "$kde_libs_prefix" || test ! -x "$kde_libs_prefix"; then
2247
{ { echo "$as_me:$LINENO: error: $KDECONFIG --prefix outputed the non existant prefix '$kde_libs_prefix' for kdelibs.
2248
This means it has been moved since you installed it.
2249
This won't work. Please recompile kdelibs for the new prefix.
2251
echo "$as_me: error: $KDECONFIG --prefix outputed the non existant prefix '$kde_libs_prefix' for kdelibs.
2252
This means it has been moved since you installed it.
2253
This won't work. Please recompile kdelibs for the new prefix.
2255
{ (exit 1); exit 1; }; }
2257
kde_libs_htmldir=`$KDECONFIG --install html --expandvars`
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
# Check whether --enable-pch or --disable-pch was given.
4968
if test "${enable_pch+set}" = set; then
4969
enableval="$enable_pch"
4970
kde_use_pch=$enableval
4975
HAVE_GCC_VISIBILITY=0
4978
if test "$GXX" = "yes"; then
4980
echo "$as_me:$LINENO: checking whether $CXX supports -fno-exceptions" >&5
4981
echo $ECHO_N "checking whether $CXX supports -fno-exceptions... $ECHO_C" >&6
4982
kde_cache=`echo fno-exceptions | sed 'y% .=/+-,%____p__%'`
4983
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
4984
echo $ECHO_N "(cached) $ECHO_C" >&6
4990
ac_cpp='$CXXCPP $CPPFLAGS'
4991
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4992
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4993
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4995
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4998
save_CXXFLAGS="$CXXFLAGS"
4999
CXXFLAGS="$CXXFLAGS -fno-exceptions"
5000
cat >conftest.$ac_ext <<_ACEOF
5003
cat confdefs.h >>conftest.$ac_ext
5004
cat >>conftest.$ac_ext <<_ACEOF
5005
/* end confdefs.h. */
5015
rm -f conftest.$ac_objext conftest$ac_exeext
5016
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5017
(eval $ac_link) 2>conftest.er1
5019
grep -v '^ *+' conftest.er1 >conftest.err
5021
cat conftest.err >&5
5022
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5023
(exit $ac_status); } &&
5024
{ ac_try='test -z "$ac_cxx_werror_flag"
5025
|| test ! -s conftest.err'
5026
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5029
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5030
(exit $ac_status); }; } &&
5031
{ ac_try='test -s conftest$ac_exeext'
5032
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5035
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5036
(exit $ac_status); }; }; then
5037
eval "kde_cv_prog_cxx_$kde_cache=yes"
5039
echo "$as_me: failed program was:" >&5
5040
sed 's/^/| /' conftest.$ac_ext >&5
5043
rm -f conftest.err conftest.$ac_objext \
5044
conftest$ac_exeext conftest.$ac_ext
5045
CXXFLAGS="$save_CXXFLAGS"
5047
ac_cpp='$CPP $CPPFLAGS'
5048
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5049
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5050
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5055
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5056
echo "$as_me:$LINENO: result: yes" >&5
5057
echo "${ECHO_T}yes" >&6
5059
CXXFLAGS="$CXXFLAGS -fno-exceptions"
5061
echo "$as_me:$LINENO: result: no" >&5
5062
echo "${ECHO_T}no" >&6
5068
echo "$as_me:$LINENO: checking whether $CXX supports -fno-check-new" >&5
5069
echo $ECHO_N "checking whether $CXX supports -fno-check-new... $ECHO_C" >&6
5070
kde_cache=`echo fno-check-new | sed 'y% .=/+-,%____p__%'`
5071
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
5072
echo $ECHO_N "(cached) $ECHO_C" >&6
5078
ac_cpp='$CXXCPP $CPPFLAGS'
5079
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5080
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5081
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5083
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5086
save_CXXFLAGS="$CXXFLAGS"
5087
CXXFLAGS="$CXXFLAGS -fno-check-new"
5088
cat >conftest.$ac_ext <<_ACEOF
5091
cat confdefs.h >>conftest.$ac_ext
5092
cat >>conftest.$ac_ext <<_ACEOF
5093
/* end confdefs.h. */
5103
rm -f conftest.$ac_objext conftest$ac_exeext
5104
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5105
(eval $ac_link) 2>conftest.er1
5107
grep -v '^ *+' conftest.er1 >conftest.err
5109
cat conftest.err >&5
5110
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5111
(exit $ac_status); } &&
5112
{ ac_try='test -z "$ac_cxx_werror_flag"
5113
|| test ! -s conftest.err'
5114
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5117
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5118
(exit $ac_status); }; } &&
5119
{ ac_try='test -s conftest$ac_exeext'
5120
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5123
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5124
(exit $ac_status); }; }; then
5125
eval "kde_cv_prog_cxx_$kde_cache=yes"
5127
echo "$as_me: failed program was:" >&5
5128
sed 's/^/| /' conftest.$ac_ext >&5
5131
rm -f conftest.err conftest.$ac_objext \
5132
conftest$ac_exeext conftest.$ac_ext
5133
CXXFLAGS="$save_CXXFLAGS"
5135
ac_cpp='$CPP $CPPFLAGS'
5136
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5137
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5138
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5143
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5144
echo "$as_me:$LINENO: result: yes" >&5
5145
echo "${ECHO_T}yes" >&6
5147
CXXFLAGS="$CXXFLAGS -fno-check-new"
5149
echo "$as_me:$LINENO: result: no" >&5
5150
echo "${ECHO_T}no" >&6
5156
echo "$as_me:$LINENO: checking whether $CXX supports -fno-common" >&5
5157
echo $ECHO_N "checking whether $CXX supports -fno-common... $ECHO_C" >&6
5158
kde_cache=`echo fno-common | sed 'y% .=/+-,%____p__%'`
5159
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
5160
echo $ECHO_N "(cached) $ECHO_C" >&6
5166
ac_cpp='$CXXCPP $CPPFLAGS'
5167
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5168
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5169
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5171
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5174
save_CXXFLAGS="$CXXFLAGS"
5175
CXXFLAGS="$CXXFLAGS -fno-common"
5176
cat >conftest.$ac_ext <<_ACEOF
5179
cat confdefs.h >>conftest.$ac_ext
5180
cat >>conftest.$ac_ext <<_ACEOF
5181
/* end confdefs.h. */
5191
rm -f conftest.$ac_objext conftest$ac_exeext
5192
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5193
(eval $ac_link) 2>conftest.er1
5195
grep -v '^ *+' conftest.er1 >conftest.err
5197
cat conftest.err >&5
5198
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5199
(exit $ac_status); } &&
5200
{ ac_try='test -z "$ac_cxx_werror_flag"
5201
|| test ! -s conftest.err'
5202
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5205
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5206
(exit $ac_status); }; } &&
5207
{ ac_try='test -s conftest$ac_exeext'
5208
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5211
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5212
(exit $ac_status); }; }; then
5213
eval "kde_cv_prog_cxx_$kde_cache=yes"
5215
echo "$as_me: failed program was:" >&5
5216
sed 's/^/| /' conftest.$ac_ext >&5
5219
rm -f conftest.err conftest.$ac_objext \
5220
conftest$ac_exeext conftest.$ac_ext
5221
CXXFLAGS="$save_CXXFLAGS"
5223
ac_cpp='$CPP $CPPFLAGS'
5224
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5225
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5226
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5231
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5232
echo "$as_me:$LINENO: result: yes" >&5
5233
echo "${ECHO_T}yes" >&6
5235
CXXFLAGS="$CXXFLAGS -fno-common"
5237
echo "$as_me:$LINENO: result: no" >&5
5238
echo "${ECHO_T}no" >&6
5244
echo "$as_me:$LINENO: checking whether $CXX supports -fexceptions" >&5
5245
echo $ECHO_N "checking whether $CXX supports -fexceptions... $ECHO_C" >&6
5246
kde_cache=`echo fexceptions | sed 'y% .=/+-,%____p__%'`
5247
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
5248
echo $ECHO_N "(cached) $ECHO_C" >&6
5254
ac_cpp='$CXXCPP $CPPFLAGS'
5255
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5256
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5257
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5259
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5262
save_CXXFLAGS="$CXXFLAGS"
5263
CXXFLAGS="$CXXFLAGS -fexceptions"
5264
cat >conftest.$ac_ext <<_ACEOF
5267
cat confdefs.h >>conftest.$ac_ext
5268
cat >>conftest.$ac_ext <<_ACEOF
5269
/* end confdefs.h. */
5279
rm -f conftest.$ac_objext conftest$ac_exeext
5280
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5281
(eval $ac_link) 2>conftest.er1
5283
grep -v '^ *+' conftest.er1 >conftest.err
5285
cat conftest.err >&5
5286
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5287
(exit $ac_status); } &&
5288
{ ac_try='test -z "$ac_cxx_werror_flag"
5289
|| test ! -s conftest.err'
5290
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5293
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5294
(exit $ac_status); }; } &&
5295
{ ac_try='test -s conftest$ac_exeext'
5296
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5299
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5300
(exit $ac_status); }; }; then
5301
eval "kde_cv_prog_cxx_$kde_cache=yes"
5303
echo "$as_me: failed program was:" >&5
5304
sed 's/^/| /' conftest.$ac_ext >&5
5307
rm -f conftest.err conftest.$ac_objext \
5308
conftest$ac_exeext conftest.$ac_ext
5309
CXXFLAGS="$save_CXXFLAGS"
5311
ac_cpp='$CPP $CPPFLAGS'
5312
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5313
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5314
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5319
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5320
echo "$as_me:$LINENO: result: yes" >&5
5321
echo "${ECHO_T}yes" >&6
5323
USE_EXCEPTIONS="-fexceptions"
5325
echo "$as_me:$LINENO: result: no" >&5
5326
echo "${ECHO_T}no" >&6
5331
ENABLE_PERMISSIVE_FLAG="-fpermissive"
5333
if test "$kde_use_pch" = "yes"; then
5334
echo "$as_me:$LINENO: checking whether gcc supports precompiling c header files" >&5
5335
echo $ECHO_N "checking whether gcc supports precompiling c header files... $ECHO_C" >&6
5337
if $CC -x c-header conftest.h >/dev/null 2>/dev/null; then
5338
kde_gcc_supports_pch=yes
5339
echo "$as_me:$LINENO: result: yes" >&5
5340
echo "${ECHO_T}yes" >&6
5342
kde_gcc_supports_pch=no
5343
echo "$as_me:$LINENO: result: no" >&5
5344
echo "${ECHO_T}no" >&6
5346
if test "$kde_gcc_supports_pch" = "yes"; then
5347
echo "$as_me:$LINENO: checking whether gcc supports precompiling c++ header files" >&5
5348
echo $ECHO_N "checking whether gcc supports precompiling c++ header files... $ECHO_C" >&6
5349
if $CXX -x c++-header conftest.h >/dev/null 2>/dev/null; then
5350
kde_gcc_supports_pch=yes
5351
echo "$as_me:$LINENO: result: yes" >&5
5352
echo "${ECHO_T}yes" >&6
5354
kde_gcc_supports_pch=no
5355
echo "$as_me:$LINENO: result: no" >&5
5356
echo "${ECHO_T}no" >&6
5359
rm -f conftest.h conftest.h.gch
5363
if test "$kde_use_pch" = "yes" && test "$kde_gcc_supports_pch" = "yes"; then
5364
unsermake_enable_pch_TRUE=
5365
unsermake_enable_pch_FALSE='#'
5367
unsermake_enable_pch_TRUE='#'
5368
unsermake_enable_pch_FALSE=
5372
if test "$CXX" = "KCC"; then
5374
if test "$kde_use_pch" = "yes"; then
5376
echo "$as_me:$LINENO: checking whether $CXX supports --pch" >&5
5377
echo $ECHO_N "checking whether $CXX supports --pch... $ECHO_C" >&6
5378
kde_cache=`echo -pch | sed 'y% .=/+-,%____p__%'`
5379
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
5380
echo $ECHO_N "(cached) $ECHO_C" >&6
5386
ac_cpp='$CXXCPP $CPPFLAGS'
5387
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5388
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5389
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5391
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5394
save_CXXFLAGS="$CXXFLAGS"
5395
CXXFLAGS="$CXXFLAGS --pch"
5396
cat >conftest.$ac_ext <<_ACEOF
5399
cat confdefs.h >>conftest.$ac_ext
5400
cat >>conftest.$ac_ext <<_ACEOF
5401
/* end confdefs.h. */
5411
rm -f conftest.$ac_objext conftest$ac_exeext
5412
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5413
(eval $ac_link) 2>conftest.er1
5415
grep -v '^ *+' conftest.er1 >conftest.err
5417
cat conftest.err >&5
5418
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5419
(exit $ac_status); } &&
5420
{ ac_try='test -z "$ac_cxx_werror_flag"
5421
|| test ! -s conftest.err'
5422
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5425
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5426
(exit $ac_status); }; } &&
5427
{ ac_try='test -s conftest$ac_exeext'
5428
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5431
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5432
(exit $ac_status); }; }; then
5433
eval "kde_cv_prog_cxx_$kde_cache=yes"
5435
echo "$as_me: failed program was:" >&5
5436
sed 's/^/| /' conftest.$ac_ext >&5
5439
rm -f conftest.err conftest.$ac_objext \
5440
conftest$ac_exeext conftest.$ac_ext
5441
CXXFLAGS="$save_CXXFLAGS"
5443
ac_cpp='$CPP $CPPFLAGS'
5444
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5445
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5446
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5451
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5452
echo "$as_me:$LINENO: result: yes" >&5
5453
echo "${ECHO_T}yes" >&6
5455
CXXFLAGS="$CXXFLAGS --pch"
5457
echo "$as_me:$LINENO: result: no" >&5
5458
echo "${ECHO_T}no" >&6
5465
echo "$as_me:$LINENO: checking whether $CXX supports --inline_keyword_space_time=6" >&5
5466
echo $ECHO_N "checking whether $CXX supports --inline_keyword_space_time=6... $ECHO_C" >&6
5467
kde_cache=`echo -inline_keyword_space_time=6 | sed 'y% .=/+-,%____p__%'`
5468
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
5469
echo $ECHO_N "(cached) $ECHO_C" >&6
5475
ac_cpp='$CXXCPP $CPPFLAGS'
5476
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5477
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5478
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5480
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5483
save_CXXFLAGS="$CXXFLAGS"
5484
CXXFLAGS="$CXXFLAGS --inline_keyword_space_time=6"
5485
cat >conftest.$ac_ext <<_ACEOF
5488
cat confdefs.h >>conftest.$ac_ext
5489
cat >>conftest.$ac_ext <<_ACEOF
5490
/* end confdefs.h. */
5500
rm -f conftest.$ac_objext conftest$ac_exeext
5501
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5502
(eval $ac_link) 2>conftest.er1
5504
grep -v '^ *+' conftest.er1 >conftest.err
5506
cat conftest.err >&5
5507
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5508
(exit $ac_status); } &&
5509
{ ac_try='test -z "$ac_cxx_werror_flag"
5510
|| test ! -s conftest.err'
5511
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5514
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5515
(exit $ac_status); }; } &&
5516
{ ac_try='test -s conftest$ac_exeext'
5517
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5520
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5521
(exit $ac_status); }; }; then
5522
eval "kde_cv_prog_cxx_$kde_cache=yes"
5524
echo "$as_me: failed program was:" >&5
5525
sed 's/^/| /' conftest.$ac_ext >&5
5528
rm -f conftest.err conftest.$ac_objext \
5529
conftest$ac_exeext conftest.$ac_ext
5530
CXXFLAGS="$save_CXXFLAGS"
5532
ac_cpp='$CPP $CPPFLAGS'
5533
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5534
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5535
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5540
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5541
echo "$as_me:$LINENO: result: yes" >&5
5542
echo "${ECHO_T}yes" >&6
5544
CXXFLAGS="$CXXFLAGS --inline_keyword_space_time=6"
5546
echo "$as_me:$LINENO: result: no" >&5
5547
echo "${ECHO_T}no" >&6
5553
echo "$as_me:$LINENO: checking whether $CXX supports --inline_auto_space_time=2" >&5
5554
echo $ECHO_N "checking whether $CXX supports --inline_auto_space_time=2... $ECHO_C" >&6
5555
kde_cache=`echo -inline_auto_space_time=2 | sed 'y% .=/+-,%____p__%'`
5556
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
5557
echo $ECHO_N "(cached) $ECHO_C" >&6
5563
ac_cpp='$CXXCPP $CPPFLAGS'
5564
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5565
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5566
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5568
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5571
save_CXXFLAGS="$CXXFLAGS"
5572
CXXFLAGS="$CXXFLAGS --inline_auto_space_time=2"
5573
cat >conftest.$ac_ext <<_ACEOF
5576
cat confdefs.h >>conftest.$ac_ext
5577
cat >>conftest.$ac_ext <<_ACEOF
5578
/* end confdefs.h. */
5588
rm -f conftest.$ac_objext conftest$ac_exeext
5589
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5590
(eval $ac_link) 2>conftest.er1
5592
grep -v '^ *+' conftest.er1 >conftest.err
5594
cat conftest.err >&5
5595
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5596
(exit $ac_status); } &&
5597
{ ac_try='test -z "$ac_cxx_werror_flag"
5598
|| test ! -s conftest.err'
5599
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5602
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5603
(exit $ac_status); }; } &&
5604
{ ac_try='test -s conftest$ac_exeext'
5605
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5608
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5609
(exit $ac_status); }; }; then
5610
eval "kde_cv_prog_cxx_$kde_cache=yes"
5612
echo "$as_me: failed program was:" >&5
5613
sed 's/^/| /' conftest.$ac_ext >&5
5616
rm -f conftest.err conftest.$ac_objext \
5617
conftest$ac_exeext conftest.$ac_ext
5618
CXXFLAGS="$save_CXXFLAGS"
5620
ac_cpp='$CPP $CPPFLAGS'
5621
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5622
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5623
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5628
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5629
echo "$as_me:$LINENO: result: yes" >&5
5630
echo "${ECHO_T}yes" >&6
5632
CXXFLAGS="$CXXFLAGS --inline_auto_space_time=2"
5634
echo "$as_me:$LINENO: result: no" >&5
5635
echo "${ECHO_T}no" >&6
5641
echo "$as_me:$LINENO: checking whether $CXX supports --inline_implicit_space_time=2.0" >&5
5642
echo $ECHO_N "checking whether $CXX supports --inline_implicit_space_time=2.0... $ECHO_C" >&6
5643
kde_cache=`echo -inline_implicit_space_time=2.0 | sed 'y% .=/+-,%____p__%'`
5644
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
5645
echo $ECHO_N "(cached) $ECHO_C" >&6
5651
ac_cpp='$CXXCPP $CPPFLAGS'
5652
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5653
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5654
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5656
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5659
save_CXXFLAGS="$CXXFLAGS"
5660
CXXFLAGS="$CXXFLAGS --inline_implicit_space_time=2.0"
5661
cat >conftest.$ac_ext <<_ACEOF
5664
cat confdefs.h >>conftest.$ac_ext
5665
cat >>conftest.$ac_ext <<_ACEOF
5666
/* end confdefs.h. */
5676
rm -f conftest.$ac_objext conftest$ac_exeext
5677
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5678
(eval $ac_link) 2>conftest.er1
5680
grep -v '^ *+' conftest.er1 >conftest.err
5682
cat conftest.err >&5
5683
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5684
(exit $ac_status); } &&
5685
{ ac_try='test -z "$ac_cxx_werror_flag"
5686
|| test ! -s conftest.err'
5687
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5690
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5691
(exit $ac_status); }; } &&
5692
{ ac_try='test -s conftest$ac_exeext'
5693
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5696
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5697
(exit $ac_status); }; }; then
5698
eval "kde_cv_prog_cxx_$kde_cache=yes"
5700
echo "$as_me: failed program was:" >&5
5701
sed 's/^/| /' conftest.$ac_ext >&5
5704
rm -f conftest.err conftest.$ac_objext \
5705
conftest$ac_exeext conftest.$ac_ext
5706
CXXFLAGS="$save_CXXFLAGS"
5708
ac_cpp='$CPP $CPPFLAGS'
5709
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5710
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5711
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5716
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5717
echo "$as_me:$LINENO: result: yes" >&5
5718
echo "${ECHO_T}yes" >&6
5720
CXXFLAGS="$CXXFLAGS --inline_implicit_space_time=2.0"
5722
echo "$as_me:$LINENO: result: no" >&5
5723
echo "${ECHO_T}no" >&6
5729
echo "$as_me:$LINENO: checking whether $CXX supports --inline_generated_space_time=2.0" >&5
5730
echo $ECHO_N "checking whether $CXX supports --inline_generated_space_time=2.0... $ECHO_C" >&6
5731
kde_cache=`echo -inline_generated_space_time=2.0 | sed 'y% .=/+-,%____p__%'`
5732
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
5733
echo $ECHO_N "(cached) $ECHO_C" >&6
5739
ac_cpp='$CXXCPP $CPPFLAGS'
5740
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5741
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5742
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5744
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5747
save_CXXFLAGS="$CXXFLAGS"
5748
CXXFLAGS="$CXXFLAGS --inline_generated_space_time=2.0"
5749
cat >conftest.$ac_ext <<_ACEOF
5752
cat confdefs.h >>conftest.$ac_ext
5753
cat >>conftest.$ac_ext <<_ACEOF
5754
/* end confdefs.h. */
5764
rm -f conftest.$ac_objext conftest$ac_exeext
5765
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5766
(eval $ac_link) 2>conftest.er1
5768
grep -v '^ *+' conftest.er1 >conftest.err
5770
cat conftest.err >&5
5771
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5772
(exit $ac_status); } &&
5773
{ ac_try='test -z "$ac_cxx_werror_flag"
5774
|| test ! -s conftest.err'
5775
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5778
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5779
(exit $ac_status); }; } &&
5780
{ ac_try='test -s conftest$ac_exeext'
5781
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5784
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5785
(exit $ac_status); }; }; then
5786
eval "kde_cv_prog_cxx_$kde_cache=yes"
5788
echo "$as_me: failed program was:" >&5
5789
sed 's/^/| /' conftest.$ac_ext >&5
5792
rm -f conftest.err conftest.$ac_objext \
5793
conftest$ac_exeext conftest.$ac_ext
5794
CXXFLAGS="$save_CXXFLAGS"
5796
ac_cpp='$CPP $CPPFLAGS'
5797
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5798
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5799
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5804
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5805
echo "$as_me:$LINENO: result: yes" >&5
5806
echo "${ECHO_T}yes" >&6
5808
CXXFLAGS="$CXXFLAGS --inline_generated_space_time=2.0"
5810
echo "$as_me:$LINENO: result: no" >&5
5811
echo "${ECHO_T}no" >&6
5817
echo "$as_me:$LINENO: checking whether $CXX supports --one_per" >&5
5818
echo $ECHO_N "checking whether $CXX supports --one_per... $ECHO_C" >&6
5819
kde_cache=`echo -one_per | sed 'y% .=/+-,%____p__%'`
5820
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
5821
echo $ECHO_N "(cached) $ECHO_C" >&6
5827
ac_cpp='$CXXCPP $CPPFLAGS'
5828
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5829
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5830
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5832
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5835
save_CXXFLAGS="$CXXFLAGS"
5836
CXXFLAGS="$CXXFLAGS --one_per"
5837
cat >conftest.$ac_ext <<_ACEOF
5840
cat confdefs.h >>conftest.$ac_ext
5841
cat >>conftest.$ac_ext <<_ACEOF
5842
/* end confdefs.h. */
5852
rm -f conftest.$ac_objext conftest$ac_exeext
5853
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5854
(eval $ac_link) 2>conftest.er1
5856
grep -v '^ *+' conftest.er1 >conftest.err
5858
cat conftest.err >&5
5859
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5860
(exit $ac_status); } &&
5861
{ ac_try='test -z "$ac_cxx_werror_flag"
5862
|| test ! -s conftest.err'
5863
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5866
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5867
(exit $ac_status); }; } &&
5868
{ ac_try='test -s conftest$ac_exeext'
5869
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5872
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5873
(exit $ac_status); }; }; then
5874
eval "kde_cv_prog_cxx_$kde_cache=yes"
5876
echo "$as_me: failed program was:" >&5
5877
sed 's/^/| /' conftest.$ac_ext >&5
5880
rm -f conftest.err conftest.$ac_objext \
5881
conftest$ac_exeext conftest.$ac_ext
5882
CXXFLAGS="$save_CXXFLAGS"
5884
ac_cpp='$CPP $CPPFLAGS'
5885
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5886
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5887
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5892
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
5893
echo "$as_me:$LINENO: result: yes" >&5
5894
echo "${ECHO_T}yes" >&6
5896
CXXFLAGS="$CXXFLAGS --one_per"
5898
echo "$as_me:$LINENO: result: no" >&5
5899
echo "${ECHO_T}no" >&6
5910
*-*-irix*) test "$GXX" = yes && CXXFLAGS="-D_LANGUAGE_C_PLUS_PLUS -D__LANGUAGE_C_PLUS_PLUS $CXXFLAGS" ;;
5911
*-*-sysv4.2uw*) CXXFLAGS="-D_UNIXWARE $CXXFLAGS";;
5912
*-*-sysv5uw7*) CXXFLAGS="-D_UNIXWARE7 $CXXFLAGS";;
5914
if test "$GXX" = yes; then
5915
libstdcpp=`$CXX -print-file-name=libstdc++.so`
5916
if test ! -f $libstdcpp; then
5917
{ { 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
5918
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;}
5919
{ (exit 1); exit 1; }; }
5925
if test "x$kde_use_qt_emb" != "xyes"; then
5927
__forbid=" -fno-rtti -rpath "
5928
if test -n "$__val"; then
5934
*" $i "*) { echo "$as_me:$LINENO: WARNING: found forbidden $i in CXX, removing it" >&5
5935
echo "$as_me: WARNING: found forbidden $i in CXX, removing it" >&2;} ;;
5936
*) # Careful to not add spaces, where there were none, because otherwise
5937
# libtool gets confused, if we change e.g. CXX
5938
if test -z "$__new" ; then __new=$i ; else __new="$__new $i" ; fi ;;
5946
__forbid=" -fno-rtti -rpath "
5947
if test -n "$__val"; then
5953
*" $i "*) { echo "$as_me:$LINENO: WARNING: found forbidden $i in CXXFLAGS, removing it" >&5
5954
echo "$as_me: WARNING: found forbidden $i in CXXFLAGS, removing it" >&2;} ;;
5955
*) # Careful to not add spaces, where there were none, because otherwise
5956
# libtool gets confused, if we change e.g. CXX
5957
if test -z "$__new" ; then __new=$i ; else __new="$__new $i" ; fi ;;
5967
if test -n "$__val"; then
5973
*" $i "*) { echo "$as_me:$LINENO: WARNING: found forbidden $i in CXX, removing it" >&5
5974
echo "$as_me: WARNING: found forbidden $i in CXX, removing it" >&2;} ;;
5975
*) # Careful to not add spaces, where there were none, because otherwise
5976
# libtool gets confused, if we change e.g. CXX
5977
if test -z "$__new" ; then __new=$i ; else __new="$__new $i" ; fi ;;
5986
if test -n "$__val"; then
5992
*" $i "*) { echo "$as_me:$LINENO: WARNING: found forbidden $i in CXXFLAGS, removing it" >&5
5993
echo "$as_me: WARNING: found forbidden $i in CXXFLAGS, removing it" >&2;} ;;
5994
*) # Careful to not add spaces, where there were none, because otherwise
5995
# libtool gets confused, if we change e.g. CXX
5996
if test -z "$__new" ; then __new=$i ; else __new="$__new $i" ; fi ;;
6007
ac_cpp='$CXXCPP $CPPFLAGS'
6008
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6009
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6010
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6011
echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6012
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
6013
if test -z "$CXXCPP"; then
6014
if test "${ac_cv_prog_CXXCPP+set}" = set; then
6015
echo $ECHO_N "(cached) $ECHO_C" >&6
6017
# Double quotes because CXXCPP needs to be expanded
6018
for CXXCPP in "$CXX -E" "/lib/cpp"
6021
for ac_cxx_preproc_warn_flag in '' yes
6023
# Use a header file that comes with gcc, so configuring glibc
6024
# with a fresh cross-compiler works.
6025
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6026
# <limits.h> exists even on freestanding compilers.
6027
# On the NeXT, cc -E runs the code through the compiler's parser,
6028
# not just through cpp. "Syntax error" is here to catch this case.
6029
cat >conftest.$ac_ext <<_ACEOF
6032
cat confdefs.h >>conftest.$ac_ext
6033
cat >>conftest.$ac_ext <<_ACEOF
6034
/* end confdefs.h. */
6036
# include <limits.h>
6038
# include <assert.h>
6042
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6043
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6045
grep -v '^ *+' conftest.er1 >conftest.err
6047
cat conftest.err >&5
6048
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6049
(exit $ac_status); } >/dev/null; then
6050
if test -s conftest.err; then
6051
ac_cpp_err=$ac_cxx_preproc_warn_flag
6052
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6059
if test -z "$ac_cpp_err"; then
6062
echo "$as_me: failed program was:" >&5
6063
sed 's/^/| /' conftest.$ac_ext >&5
6065
# Broken: fails on valid input.
6068
rm -f conftest.err conftest.$ac_ext
6070
# OK, works on sane cases. Now check whether non-existent headers
6071
# can be detected and how.
6072
cat >conftest.$ac_ext <<_ACEOF
6075
cat confdefs.h >>conftest.$ac_ext
6076
cat >>conftest.$ac_ext <<_ACEOF
6077
/* end confdefs.h. */
6078
#include <ac_nonexistent.h>
6080
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6081
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6083
grep -v '^ *+' conftest.er1 >conftest.err
6085
cat conftest.err >&5
6086
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6087
(exit $ac_status); } >/dev/null; then
6088
if test -s conftest.err; then
6089
ac_cpp_err=$ac_cxx_preproc_warn_flag
6090
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6097
if test -z "$ac_cpp_err"; then
6098
# Broken: success on invalid input.
6101
echo "$as_me: failed program was:" >&5
6102
sed 's/^/| /' conftest.$ac_ext >&5
6104
# Passes both tests.
6108
rm -f conftest.err conftest.$ac_ext
6111
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6112
rm -f conftest.err conftest.$ac_ext
6113
if $ac_preproc_ok; then
6118
ac_cv_prog_CXXCPP=$CXXCPP
6121
CXXCPP=$ac_cv_prog_CXXCPP
6123
ac_cv_prog_CXXCPP=$CXXCPP
6125
echo "$as_me:$LINENO: result: $CXXCPP" >&5
6126
echo "${ECHO_T}$CXXCPP" >&6
6128
for ac_cxx_preproc_warn_flag in '' yes
6130
# Use a header file that comes with gcc, so configuring glibc
6131
# with a fresh cross-compiler works.
6132
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6133
# <limits.h> exists even on freestanding compilers.
6134
# On the NeXT, cc -E runs the code through the compiler's parser,
6135
# not just through cpp. "Syntax error" is here to catch this case.
6136
cat >conftest.$ac_ext <<_ACEOF
6139
cat confdefs.h >>conftest.$ac_ext
6140
cat >>conftest.$ac_ext <<_ACEOF
6141
/* end confdefs.h. */
6143
# include <limits.h>
6145
# include <assert.h>
6149
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6150
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6152
grep -v '^ *+' conftest.er1 >conftest.err
6154
cat conftest.err >&5
6155
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6156
(exit $ac_status); } >/dev/null; then
6157
if test -s conftest.err; then
6158
ac_cpp_err=$ac_cxx_preproc_warn_flag
6159
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6166
if test -z "$ac_cpp_err"; then
6169
echo "$as_me: failed program was:" >&5
6170
sed 's/^/| /' conftest.$ac_ext >&5
6172
# Broken: fails on valid input.
6175
rm -f conftest.err conftest.$ac_ext
6177
# OK, works on sane cases. Now check whether non-existent headers
6178
# can be detected and how.
6179
cat >conftest.$ac_ext <<_ACEOF
6182
cat confdefs.h >>conftest.$ac_ext
6183
cat >>conftest.$ac_ext <<_ACEOF
6184
/* end confdefs.h. */
6185
#include <ac_nonexistent.h>
6187
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6188
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6190
grep -v '^ *+' conftest.er1 >conftest.err
6192
cat conftest.err >&5
6193
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6194
(exit $ac_status); } >/dev/null; then
6195
if test -s conftest.err; then
6196
ac_cpp_err=$ac_cxx_preproc_warn_flag
6197
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6204
if test -z "$ac_cpp_err"; then
6205
# Broken: success on invalid input.
6208
echo "$as_me: failed program was:" >&5
6209
sed 's/^/| /' conftest.$ac_ext >&5
6211
# Passes both tests.
6215
rm -f conftest.err conftest.$ac_ext
6218
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6219
rm -f conftest.err conftest.$ac_ext
6220
if $ac_preproc_ok; then
6223
{ { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6224
See \`config.log' for more details." >&5
6225
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6226
See \`config.log' for more details." >&2;}
6227
{ (exit 1); exit 1; }; }
6231
ac_cpp='$CPP $CPPFLAGS'
6232
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6233
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6234
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6237
if test "$GCC" = yes; then
6241
echo "$as_me:$LINENO: checking whether $CXX supports -O0" >&5
6242
echo $ECHO_N "checking whether $CXX supports -O0... $ECHO_C" >&6
6243
kde_cache=`echo O0 | sed 'y% .=/+-,%____p__%'`
6244
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
6245
echo $ECHO_N "(cached) $ECHO_C" >&6
6251
ac_cpp='$CXXCPP $CPPFLAGS'
6252
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6253
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6254
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6256
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6259
save_CXXFLAGS="$CXXFLAGS"
6260
CXXFLAGS="$CXXFLAGS -O0"
6261
cat >conftest.$ac_ext <<_ACEOF
6264
cat confdefs.h >>conftest.$ac_ext
6265
cat >>conftest.$ac_ext <<_ACEOF
6266
/* end confdefs.h. */
6276
rm -f conftest.$ac_objext conftest$ac_exeext
6277
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6278
(eval $ac_link) 2>conftest.er1
6280
grep -v '^ *+' conftest.er1 >conftest.err
6282
cat conftest.err >&5
6283
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6284
(exit $ac_status); } &&
6285
{ ac_try='test -z "$ac_cxx_werror_flag"
6286
|| test ! -s conftest.err'
6287
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6290
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6291
(exit $ac_status); }; } &&
6292
{ ac_try='test -s conftest$ac_exeext'
6293
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6296
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6297
(exit $ac_status); }; }; then
6298
eval "kde_cv_prog_cxx_$kde_cache=yes"
6300
echo "$as_me: failed program was:" >&5
6301
sed 's/^/| /' conftest.$ac_ext >&5
6304
rm -f conftest.err conftest.$ac_objext \
6305
conftest$ac_exeext conftest.$ac_ext
6306
CXXFLAGS="$save_CXXFLAGS"
6308
ac_cpp='$CPP $CPPFLAGS'
6309
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6310
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6311
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6316
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6317
echo "$as_me:$LINENO: result: yes" >&5
6318
echo "${ECHO_T}yes" >&6
6322
echo "$as_me:$LINENO: result: no" >&5
6323
echo "${ECHO_T}no" >&6
6334
# Check whether --enable-as_needed or --disable-as_needed was given.
6335
if test "${enable_as_needed+set}" = set; then
6336
enableval="$enable_as_needed"
6337
kde_use_as_needed=$enableval
6339
kde_use_as_needed=yes
6342
LDFLAGS_AS_NEEDED=""
6343
if test "x$kde_use_as_needed" = "xyes"; then
6345
echo "$as_me:$LINENO: checking whether $CXX supports -Wl,--as-needed" >&5
6346
echo $ECHO_N "checking whether $CXX supports -Wl,--as-needed... $ECHO_C" >&6
6347
kde_cache=`echo Wl,--as-needed | sed 'y% .=/+-,%____p__%'`
6348
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
6349
echo $ECHO_N "(cached) $ECHO_C" >&6
6355
ac_cpp='$CXXCPP $CPPFLAGS'
6356
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6357
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6358
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6360
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6363
save_CXXFLAGS="$CXXFLAGS"
6364
CXXFLAGS="$CXXFLAGS -Wl,--as-needed"
6365
cat >conftest.$ac_ext <<_ACEOF
6368
cat confdefs.h >>conftest.$ac_ext
6369
cat >>conftest.$ac_ext <<_ACEOF
6370
/* end confdefs.h. */
6380
rm -f conftest.$ac_objext conftest$ac_exeext
6381
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6382
(eval $ac_link) 2>conftest.er1
6384
grep -v '^ *+' conftest.er1 >conftest.err
6386
cat conftest.err >&5
6387
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6388
(exit $ac_status); } &&
6389
{ ac_try='test -z "$ac_cxx_werror_flag"
6390
|| test ! -s conftest.err'
6391
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6394
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6395
(exit $ac_status); }; } &&
6396
{ ac_try='test -s conftest$ac_exeext'
6397
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6400
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6401
(exit $ac_status); }; }; then
6402
eval "kde_cv_prog_cxx_$kde_cache=yes"
6404
echo "$as_me: failed program was:" >&5
6405
sed 's/^/| /' conftest.$ac_ext >&5
6408
rm -f conftest.err conftest.$ac_objext \
6409
conftest$ac_exeext conftest.$ac_ext
6410
CXXFLAGS="$save_CXXFLAGS"
6412
ac_cpp='$CPP $CPPFLAGS'
6413
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6414
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6415
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6420
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6421
echo "$as_me:$LINENO: result: yes" >&5
6422
echo "${ECHO_T}yes" >&6
6424
LDFLAGS_AS_NEEDED="-Wl,--as-needed"
6426
echo "$as_me:$LINENO: result: no" >&5
6427
echo "${ECHO_T}no" >&6
6437
# Check whether --enable-final or --disable-final was given.
6438
if test "${enable_final+set}" = set; then
6439
enableval="$enable_final"
6440
kde_use_final=$enableval
6445
if test "x$kde_use_final" = "xyes"; then
6446
KDE_USE_FINAL_TRUE=""
6447
KDE_USE_FINAL_FALSE="#"
6449
KDE_USE_FINAL_TRUE="#"
6450
KDE_USE_FINAL_FALSE=""
6456
# Check whether --enable-closure or --disable-closure was given.
6457
if test "${enable_closure+set}" = set; then
6458
enableval="$enable_closure"
6459
kde_use_closure=$enableval
6465
if test "x$kde_use_closure" = "xyes"; then
6466
KDE_USE_CLOSURE_TRUE=""
6467
KDE_USE_CLOSURE_FALSE="#"
6468
# CXXFLAGS="$CXXFLAGS $REPO"
6470
KDE_USE_CLOSURE_TRUE="#"
6471
KDE_USE_CLOSURE_FALSE=""
6476
echo "$as_me:$LINENO: checking whether $CXX supports -Wl,--no-undefined" >&5
6477
echo $ECHO_N "checking whether $CXX supports -Wl,--no-undefined... $ECHO_C" >&6
6478
kde_cache=`echo Wl,--no-undefined | sed 'y% .=/+-,%____p__%'`
6479
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
6480
echo $ECHO_N "(cached) $ECHO_C" >&6
6486
ac_cpp='$CXXCPP $CPPFLAGS'
6487
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6488
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6489
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6491
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6494
save_CXXFLAGS="$CXXFLAGS"
6495
CXXFLAGS="$CXXFLAGS -Wl,--no-undefined"
6496
cat >conftest.$ac_ext <<_ACEOF
6499
cat confdefs.h >>conftest.$ac_ext
6500
cat >>conftest.$ac_ext <<_ACEOF
6501
/* end confdefs.h. */
6511
rm -f conftest.$ac_objext conftest$ac_exeext
6512
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6513
(eval $ac_link) 2>conftest.er1
6515
grep -v '^ *+' conftest.er1 >conftest.err
6517
cat conftest.err >&5
6518
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6519
(exit $ac_status); } &&
6520
{ ac_try='test -z "$ac_cxx_werror_flag"
6521
|| test ! -s conftest.err'
6522
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6525
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6526
(exit $ac_status); }; } &&
6527
{ ac_try='test -s conftest$ac_exeext'
6528
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6531
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6532
(exit $ac_status); }; }; then
6533
eval "kde_cv_prog_cxx_$kde_cache=yes"
6535
echo "$as_me: failed program was:" >&5
6536
sed 's/^/| /' conftest.$ac_ext >&5
6539
rm -f conftest.err conftest.$ac_objext \
6540
conftest$ac_exeext conftest.$ac_ext
6541
CXXFLAGS="$save_CXXFLAGS"
6543
ac_cpp='$CPP $CPPFLAGS'
6544
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6545
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6546
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6551
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6552
echo "$as_me:$LINENO: result: yes" >&5
6553
echo "${ECHO_T}yes" >&6
6556
echo "$as_me:$LINENO: checking whether $CXX supports -Wl,--allow-shlib-undefined" >&5
6557
echo $ECHO_N "checking whether $CXX supports -Wl,--allow-shlib-undefined... $ECHO_C" >&6
6558
kde_cache=`echo Wl,--allow-shlib-undefined | sed 'y% .=/+-,%____p__%'`
6559
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
6560
echo $ECHO_N "(cached) $ECHO_C" >&6
6566
ac_cpp='$CXXCPP $CPPFLAGS'
6567
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6568
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6569
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6571
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6574
save_CXXFLAGS="$CXXFLAGS"
6575
CXXFLAGS="$CXXFLAGS -Wl,--allow-shlib-undefined"
6576
cat >conftest.$ac_ext <<_ACEOF
6579
cat confdefs.h >>conftest.$ac_ext
6580
cat >>conftest.$ac_ext <<_ACEOF
6581
/* end confdefs.h. */
6591
rm -f conftest.$ac_objext conftest$ac_exeext
6592
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6593
(eval $ac_link) 2>conftest.er1
6595
grep -v '^ *+' conftest.er1 >conftest.err
6597
cat conftest.err >&5
6598
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6599
(exit $ac_status); } &&
6600
{ ac_try='test -z "$ac_cxx_werror_flag"
6601
|| test ! -s conftest.err'
6602
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6605
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6606
(exit $ac_status); }; } &&
6607
{ ac_try='test -s conftest$ac_exeext'
6608
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6611
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6612
(exit $ac_status); }; }; then
6613
eval "kde_cv_prog_cxx_$kde_cache=yes"
6615
echo "$as_me: failed program was:" >&5
6616
sed 's/^/| /' conftest.$ac_ext >&5
6619
rm -f conftest.err conftest.$ac_objext \
6620
conftest$ac_exeext conftest.$ac_ext
6621
CXXFLAGS="$save_CXXFLAGS"
6623
ac_cpp='$CPP $CPPFLAGS'
6624
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6625
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6626
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6631
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
6632
echo "$as_me:$LINENO: result: yes" >&5
6633
echo "${ECHO_T}yes" >&6
6635
KDE_NO_UNDEFINED="-Wl,--no-undefined -Wl,--allow-shlib-undefined"
6637
echo "$as_me:$LINENO: result: no" >&5
6638
echo "${ECHO_T}no" >&6
6644
echo "$as_me:$LINENO: result: no" >&5
6645
echo "${ECHO_T}no" >&6
6658
# Check whether --enable-nmcheck or --disable-nmcheck was given.
6659
if test "${enable_nmcheck+set}" = set; then
6660
enableval="$enable_nmcheck"
6661
kde_use_nmcheck=$enableval
6666
if test "$kde_use_nmcheck" = "yes"; then
6667
KDE_USE_NMCHECK_TRUE=""
6668
KDE_USE_NMCHECK_FALSE="#"
6670
KDE_USE_NMCHECK_TRUE="#"
6671
KDE_USE_NMCHECK_FALSE=""
6679
# Check whether --enable-shared or --disable-shared was given.
6680
if test "${enable_shared+set}" = set; then
6681
enableval="$enable_shared"
6682
p=${PACKAGE-default}
6684
yes) enable_shared=yes ;;
6685
no) enable_shared=no ;;
6688
# Look at the argument we got. We use all the common list separators.
6689
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6690
for pkg in $enableval; do
6692
if test "X$pkg" = "X$p"; then
6703
# Check whether --enable-static or --disable-static was given.
6704
if test "${enable_static+set}" = set; then
6705
enableval="$enable_static"
6706
p=${PACKAGE-default}
6708
yes) enable_static=yes ;;
6709
no) enable_static=no ;;
6712
# Look at the argument we got. We use all the common list separators.
6713
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6714
for pkg in $enableval; do
6716
if test "X$pkg" = "X$p"; then
6731
# Check whether --enable-libsuffix or --disable-libsuffix was given.
6732
if test "${enable_libsuffix+set}" = set; then
6733
enableval="$enable_libsuffix"
6734
kdelibsuff=$enableval
6736
# TODO: add an auto case that compiles a little C app to check
6737
# where the glibc is
6738
if test "$kdelibsuff" = "no"; then
6741
if test -z "$kdelibsuff"; then
6742
echo "$as_me:$LINENO: result: not using lib directory suffix" >&5
6743
echo "${ECHO_T}not using lib directory suffix" >&6
6745
cat >>confdefs.h <<\_ACEOF
6746
#define KDELIBSUFF ""
6750
if test "$libdir" = '${exec_prefix}/lib'; then
6751
libdir="$libdir${kdelibsuff}"
6755
cat >>confdefs.h <<_ACEOF
6756
#define KDELIBSUFF "${kdelibsuff}"
6759
echo "$as_me:$LINENO: result: using lib directory suffix $kdelibsuff" >&5
6760
echo "${ECHO_T}using lib directory suffix $kdelibsuff" >&6
6763
# Check whether --enable-fast-install or --disable-fast-install was given.
6764
if test "${enable_fast_install+set}" = set; then
6765
enableval="$enable_fast_install"
6766
p=${PACKAGE-default}
6768
yes) enable_fast_install=yes ;;
6769
no) enable_fast_install=no ;;
6771
enable_fast_install=no
6772
# Look at the argument we got. We use all the common list separators.
6773
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6774
for pkg in $enableval; do
6776
if test "X$pkg" = "X$p"; then
6777
enable_fast_install=yes
6784
enable_fast_install=yes
6787
echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
6788
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
6789
if test "${lt_cv_path_SED+set}" = set; then
6790
echo $ECHO_N "(cached) $ECHO_C" >&6
6792
# Loop through the user's path and test for sed and gsed.
6793
# Then use that list of sed's as ones to test for truncation.
6794
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6798
test -z "$as_dir" && as_dir=.
6799
for lt_ac_prog in sed gsed; do
6800
for ac_exec_ext in '' $ac_executable_extensions; do
6801
if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
6802
lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
6809
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
6810
# along with /bin/sed that truncates output.
6811
for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
6812
test ! -f $lt_ac_sed && break
6813
cat /dev/null > conftest.in
6815
echo $ECHO_N "0123456789$ECHO_C" >conftest.in
6816
# Check for GNU sed and select it if it is found.
6817
if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
6818
lt_cv_path_SED=$lt_ac_sed
6822
cat conftest.in conftest.in >conftest.tmp
6823
mv conftest.tmp conftest.in
6824
cp conftest.in conftest.nl
6826
$lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
6827
cmp -s conftest.out conftest.nl || break
6828
# 10000 chars as input seems more than enough
6829
test $lt_ac_count -gt 10 && break
6830
lt_ac_count=`expr $lt_ac_count + 1`
6831
if test $lt_ac_count -gt $lt_ac_max; then
6832
lt_ac_max=$lt_ac_count
6833
lt_cv_path_SED=$lt_ac_sed
6841
echo "$as_me:$LINENO: result: $SED" >&5
6842
echo "${ECHO_T}$SED" >&6
6844
echo "$as_me:$LINENO: checking for egrep" >&5
6845
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
6846
if test "${ac_cv_prog_egrep+set}" = set; then
6847
echo $ECHO_N "(cached) $ECHO_C" >&6
6849
if echo a | (grep -E '(a|b)') >/dev/null 2>&1
6850
then ac_cv_prog_egrep='grep -E'
6851
else ac_cv_prog_egrep='egrep'
6854
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
6855
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
6856
EGREP=$ac_cv_prog_egrep
6860
# Check whether --with-gnu-ld or --without-gnu-ld was given.
6861
if test "${with_gnu_ld+set}" = set; then
6862
withval="$with_gnu_ld"
6863
test "$withval" = no || with_gnu_ld=yes
6868
if test "$GCC" = yes; then
6869
# Check if gcc -print-prog-name=ld gives a path.
6870
echo "$as_me:$LINENO: checking for ld used by $CC" >&5
6871
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
6874
# gcc leaves a trailing carriage return which upsets mingw
6875
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6877
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6880
# Accept absolute paths.
6882
re_direlt='/[^/][^/]*/\.\./'
6883
# Canonicalize the pathname of ld
6884
ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
6885
while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
6886
ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
6888
test -z "$LD" && LD="$ac_prog"
6891
# If it fails, then pretend we aren't using GCC.
6895
# If it is relative, then search for the first ld in PATH.
6899
elif test "$with_gnu_ld" = yes; then
6900
echo "$as_me:$LINENO: checking for GNU ld" >&5
6901
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
6903
echo "$as_me:$LINENO: checking for non-GNU ld" >&5
6904
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
6906
if test "${lt_cv_path_LD+set}" = set; then
6907
echo $ECHO_N "(cached) $ECHO_C" >&6
6909
if test -z "$LD"; then
6910
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6911
for ac_dir in $PATH; do
6913
test -z "$ac_dir" && ac_dir=.
6914
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6915
lt_cv_path_LD="$ac_dir/$ac_prog"
6916
# Check to see if the program is GNU ld. I'd rather use --version,
6917
# but apparently some GNU ld's only accept -v.
6918
# Break only if it was the GNU/non-GNU ld that we prefer.
6919
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6920
*GNU* | *'with BFD'*)
6921
test "$with_gnu_ld" != no && break
6924
test "$with_gnu_ld" != yes && break
6931
lt_cv_path_LD="$LD" # Let the user override the test with a path.
6936
if test -n "$LD"; then
6937
echo "$as_me:$LINENO: result: $LD" >&5
6938
echo "${ECHO_T}$LD" >&6
6940
echo "$as_me:$LINENO: result: no" >&5
6941
echo "${ECHO_T}no" >&6
6943
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
6944
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
6945
{ (exit 1); exit 1; }; }
6946
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
6947
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
6948
if test "${lt_cv_prog_gnu_ld+set}" = set; then
6949
echo $ECHO_N "(cached) $ECHO_C" >&6
6951
# I'd rather use --version here, but apparently some GNU ld's only accept -v.
6952
case `$LD -v 2>&1 </dev/null` in
6953
*GNU* | *'with BFD'*)
6954
lt_cv_prog_gnu_ld=yes
6957
lt_cv_prog_gnu_ld=no
6961
echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
6962
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
6963
with_gnu_ld=$lt_cv_prog_gnu_ld
6966
echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
6967
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
6968
if test "${lt_cv_ld_reload_flag+set}" = set; then
6969
echo $ECHO_N "(cached) $ECHO_C" >&6
6971
lt_cv_ld_reload_flag='-r'
6973
echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
6974
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
6975
reload_flag=$lt_cv_ld_reload_flag
6976
case $reload_flag in
6978
*) reload_flag=" $reload_flag" ;;
6980
reload_cmds='$LD$reload_flag -o $output$reload_objs'
6982
echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
6983
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
6984
if test "${lt_cv_path_NM+set}" = set; then
6985
echo $ECHO_N "(cached) $ECHO_C" >&6
6987
if test -n "$NM"; then
6988
# Let the user override the test.
6991
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6992
for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
6994
test -z "$ac_dir" && ac_dir=.
6995
tmp_nm="$ac_dir/${ac_tool_prefix}nm"
6996
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6997
# Check to see if the nm accepts a BSD-compat flag.
6998
# Adding the `sed 1q' prevents false positives on HP-UX, which says:
6999
# nm: unknown option "B" ignored
7000
# Tru64's nm complains that /dev/null is an invalid object file
7001
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
7002
*/dev/null* | *'Invalid file or object type'*)
7003
lt_cv_path_NM="$tmp_nm -B"
7007
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
7009
lt_cv_path_NM="$tmp_nm -p"
7013
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
7014
continue # so that we can try to find one that supports BSD flags
7021
test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
7024
echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
7025
echo "${ECHO_T}$lt_cv_path_NM" >&6
7028
echo "$as_me:$LINENO: checking whether ln -s works" >&5
7029
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
7031
if test "$LN_S" = "ln -s"; then
7032
echo "$as_me:$LINENO: result: yes" >&5
7033
echo "${ECHO_T}yes" >&6
7035
echo "$as_me:$LINENO: result: no, using $LN_S" >&5
7036
echo "${ECHO_T}no, using $LN_S" >&6
7039
echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
7040
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
7041
if test "${lt_cv_deplibs_check_method+set}" = set; then
7042
echo $ECHO_N "(cached) $ECHO_C" >&6
7044
lt_cv_file_magic_cmd='$MAGIC_CMD'
7045
lt_cv_file_magic_test_file=
7046
lt_cv_deplibs_check_method='unknown'
7047
# Need to set the preceding variable on all platforms that support
7048
# interlibrary dependencies.
7049
# 'none' -- dependencies not supported.
7050
# `unknown' -- same as none, but documents that we really don't know.
7051
# 'pass_all' -- all dependencies passed with no checks.
7052
# 'test_compile' -- check by making test program.
7053
# 'file_magic [[regex]]' -- check by looking for files in library path
7054
# which responds to the $file_magic_cmd with a given extended regex.
7055
# If you have `file' or equivalent on your system and you're not sure
7056
# whether `pass_all' will *always* work, you probably want this one.
7060
lt_cv_deplibs_check_method=pass_all
7064
lt_cv_deplibs_check_method=pass_all
7068
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7069
lt_cv_file_magic_cmd='/usr/bin/file -L'
7070
lt_cv_file_magic_test_file=/shlib/libc.so
7074
lt_cv_deplibs_check_method=pass_all
7078
# win32_libid is a shell function defined in ltmain.sh
7079
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7080
lt_cv_file_magic_cmd='win32_libid'
7083
darwin* | rhapsody*)
7084
# this will be overwritten by pass_all, but leave it in just in case
7085
lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
7086
lt_cv_file_magic_cmd='/usr/bin/file -L'
7088
rhapsody* | darwin1.[012])
7089
lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System`
7092
lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
7095
lt_cv_deplibs_check_method=pass_all
7099
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
7102
# Not sure whether the presence of OpenBSD here was a mistake.
7103
# Let's accept both of them until this is cleared up.
7104
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
7105
lt_cv_file_magic_cmd=/usr/bin/file
7106
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7110
lt_cv_deplibs_check_method=pass_all
7115
lt_cv_deplibs_check_method=pass_all
7118
hpux10.20* | hpux11*)
7119
lt_cv_file_magic_cmd=/usr/bin/file
7122
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7123
lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7126
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]'
7127
lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7130
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
7131
lt_cv_file_magic_test_file=/usr/lib/libc.sl
7136
irix5* | irix6* | nonstopux*)
7138
irix5* | nonstopux*)
7139
# this will be overridden with pass_all, but let us keep it just in case
7140
lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
7144
*-32|*"-32 ") libmagic=32-bit;;
7145
*-n32|*"-n32 ") libmagic=N32;;
7146
*-64|*"-64 ") libmagic=64-bit;;
7147
*) libmagic=never-match;;
7149
# this will be overridden with pass_all, but let us keep it just in case
7150
lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
7153
lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
7154
lt_cv_deplibs_check_method=pass_all
7157
# This must be Linux ELF.
7160
alpha* | hppa* | i*86 | ia64* | m68* | mips* | powerpc* | sparc* | s390* | sh* | x86_64* )
7161
lt_cv_deplibs_check_method=pass_all ;;
7162
# the debian people say, arm and glibc 2.3.1 works for them with pass_all
7164
lt_cv_deplibs_check_method=pass_all ;;
7166
# glibc up to 2.1.1 does not perform some relocations on ARM
7167
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
7169
lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
7173
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
7174
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7176
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7181
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7182
lt_cv_file_magic_cmd=/usr/bin/file
7183
lt_cv_file_magic_test_file=/usr/lib/libnls.so
7187
lt_cv_deplibs_check_method=unknown
7191
lt_cv_file_magic_cmd=/usr/bin/file
7192
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7193
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7194
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
7196
lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
7200
osf3* | osf4* | osf5*)
7201
# this will be overridden with pass_all, but let us keep it just in case
7202
lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
7203
lt_cv_file_magic_test_file=/shlib/libc.so
7204
lt_cv_deplibs_check_method=pass_all
7208
lt_cv_deplibs_check_method=pass_all
7212
lt_cv_deplibs_check_method=pass_all
7213
lt_cv_file_magic_test_file=/lib/libc.so
7216
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
7217
case $host_vendor in
7219
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]'
7220
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7223
lt_cv_deplibs_check_method=pass_all
7226
lt_cv_file_magic_cmd='/bin/file'
7227
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7230
lt_cv_file_magic_cmd='/bin/file'
7231
lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7232
lt_cv_file_magic_test_file=/lib/libc.so
7235
lt_cv_deplibs_check_method=pass_all
7240
sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
7241
lt_cv_deplibs_check_method=pass_all
7246
echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
7247
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
7248
file_magic_cmd=$lt_cv_file_magic_cmd
7249
deplibs_check_method=$lt_cv_deplibs_check_method
7250
test -z "$deplibs_check_method" && deplibs_check_method=unknown
7253
# If no C compiler was specified, use CC.
7256
# Allow CC to be a program name with arguments.
7259
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
7260
if test "${enable_libtool_lock+set}" = set; then
7261
enableval="$enable_libtool_lock"
7264
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7266
# Some flags need to be propagated to the compiler or linker for good
7270
# Find out which ABI we are using.
7271
echo 'int i;' > conftest.$ac_ext
7272
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7273
(eval $ac_compile) 2>&5
7275
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7276
(exit $ac_status); }; then
7277
case `/usr/bin/file conftest.$ac_objext` in
7289
# Find out which ABI we are using.
7290
echo '#line 7290 "configure"' > conftest.$ac_ext
7291
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7292
(eval $ac_compile) 2>&5
7294
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7295
(exit $ac_status); }; then
7296
if test "$lt_cv_prog_gnu_ld" = yes; then
7297
case `/usr/bin/file conftest.$ac_objext` in
7299
LD="${LD-ld} -melf32bsmip"
7302
LD="${LD-ld} -melf32bmipn32"
7305
LD="${LD-ld} -melf64bmip"
7309
case `/usr/bin/file conftest.$ac_objext` in
7325
x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
7326
# Find out which ABI we are using.
7327
echo 'int i;' > conftest.$ac_ext
7328
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7329
(eval $ac_compile) 2>&5
7331
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7332
(exit $ac_status); }; then
7333
case "`/usr/bin/file conftest.o`" in
7338
LD="${LD-ld} -m elf_i386"
7341
LD="${LD-ld} -m elf32ppclinux"
7344
LD="${LD-ld} -m elf_s390"
7347
LD="${LD-ld} -m elf32_sparc"
7355
LD="${LD-ld} -m elf_x86_64"
7357
ppc*-*linux*|powerpc*-*linux*)
7358
LD="${LD-ld} -m elf64ppc"
7361
LD="${LD-ld} -m elf64_s390"
7364
LD="${LD-ld} -m elf64_sparc"
7374
# On SCO OpenServer 5, we need -belf to get full-featured binaries.
7375
SAVE_CFLAGS="$CFLAGS"
7376
CFLAGS="$CFLAGS -belf"
7377
echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
7378
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
7379
if test "${lt_cv_cc_needs_belf+set}" = set; then
7380
echo $ECHO_N "(cached) $ECHO_C" >&6
7383
ac_cpp='$CPP $CPPFLAGS'
7384
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7385
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7386
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7388
cat >conftest.$ac_ext <<_ACEOF
7391
cat confdefs.h >>conftest.$ac_ext
7392
cat >>conftest.$ac_ext <<_ACEOF
7393
/* end confdefs.h. */
7403
rm -f conftest.$ac_objext conftest$ac_exeext
7404
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7405
(eval $ac_link) 2>conftest.er1
7407
grep -v '^ *+' conftest.er1 >conftest.err
7409
cat conftest.err >&5
7410
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7411
(exit $ac_status); } &&
7412
{ ac_try='test -z "$ac_c_werror_flag"
7413
|| test ! -s conftest.err'
7414
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7417
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7418
(exit $ac_status); }; } &&
7419
{ ac_try='test -s conftest$ac_exeext'
7420
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7423
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7424
(exit $ac_status); }; }; then
7425
lt_cv_cc_needs_belf=yes
7427
echo "$as_me: failed program was:" >&5
7428
sed 's/^/| /' conftest.$ac_ext >&5
7430
lt_cv_cc_needs_belf=no
7432
rm -f conftest.err conftest.$ac_objext \
7433
conftest$ac_exeext conftest.$ac_ext
7435
ac_cpp='$CPP $CPPFLAGS'
7436
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7437
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7438
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7441
echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
7442
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
7443
if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7444
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7445
CFLAGS="$SAVE_CFLAGS"
7451
need_locks="$enable_libtool_lock"
7455
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7456
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
7457
if test "${ac_cv_header_stdc+set}" = set; then
7458
echo $ECHO_N "(cached) $ECHO_C" >&6
7460
cat >conftest.$ac_ext <<_ACEOF
7463
cat confdefs.h >>conftest.$ac_ext
7464
cat >>conftest.$ac_ext <<_ACEOF
7465
/* end confdefs.h. */
7479
rm -f conftest.$ac_objext
7480
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7481
(eval $ac_compile) 2>conftest.er1
7483
grep -v '^ *+' conftest.er1 >conftest.err
7485
cat conftest.err >&5
7486
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7487
(exit $ac_status); } &&
7488
{ ac_try='test -z "$ac_c_werror_flag"
7489
|| test ! -s conftest.err'
7490
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7493
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7494
(exit $ac_status); }; } &&
7495
{ ac_try='test -s conftest.$ac_objext'
7496
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7499
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7500
(exit $ac_status); }; }; then
7501
ac_cv_header_stdc=yes
7503
echo "$as_me: failed program was:" >&5
7504
sed 's/^/| /' conftest.$ac_ext >&5
7506
ac_cv_header_stdc=no
7508
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7510
if test $ac_cv_header_stdc = yes; then
7511
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7512
cat >conftest.$ac_ext <<_ACEOF
7515
cat confdefs.h >>conftest.$ac_ext
7516
cat >>conftest.$ac_ext <<_ACEOF
7517
/* end confdefs.h. */
7521
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7522
$EGREP "memchr" >/dev/null 2>&1; then
7525
ac_cv_header_stdc=no
7531
if test $ac_cv_header_stdc = yes; then
7532
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7533
cat >conftest.$ac_ext <<_ACEOF
7536
cat confdefs.h >>conftest.$ac_ext
7537
cat >>conftest.$ac_ext <<_ACEOF
7538
/* end confdefs.h. */
7542
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7543
$EGREP "free" >/dev/null 2>&1; then
7546
ac_cv_header_stdc=no
7552
if test $ac_cv_header_stdc = yes; then
7553
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7554
if test "$cross_compiling" = yes; then
7557
cat >conftest.$ac_ext <<_ACEOF
7560
cat confdefs.h >>conftest.$ac_ext
7561
cat >>conftest.$ac_ext <<_ACEOF
7562
/* end confdefs.h. */
7564
#if ((' ' & 0x0FF) == 0x020)
7565
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7566
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7568
# define ISLOWER(c) \
7569
(('a' <= (c) && (c) <= 'i') \
7570
|| ('j' <= (c) && (c) <= 'r') \
7571
|| ('s' <= (c) && (c) <= 'z'))
7572
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7575
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7580
for (i = 0; i < 256; i++)
7581
if (XOR (islower (i), ISLOWER (i))
7582
|| toupper (i) != TOUPPER (i))
7587
rm -f conftest$ac_exeext
7588
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7589
(eval $ac_link) 2>&5
7591
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7592
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7593
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7596
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7597
(exit $ac_status); }; }; then
7600
echo "$as_me: program exited with status $ac_status" >&5
7601
echo "$as_me: failed program was:" >&5
7602
sed 's/^/| /' conftest.$ac_ext >&5
7605
ac_cv_header_stdc=no
7607
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7611
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7612
echo "${ECHO_T}$ac_cv_header_stdc" >&6
7613
if test $ac_cv_header_stdc = yes; then
7615
cat >>confdefs.h <<\_ACEOF
7616
#define STDC_HEADERS 1
7621
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7631
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7632
inttypes.h stdint.h unistd.h
7634
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7635
echo "$as_me:$LINENO: checking for $ac_header" >&5
7636
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7637
if eval "test \"\${$as_ac_Header+set}\" = set"; then
7638
echo $ECHO_N "(cached) $ECHO_C" >&6
7640
cat >conftest.$ac_ext <<_ACEOF
7643
cat confdefs.h >>conftest.$ac_ext
7644
cat >>conftest.$ac_ext <<_ACEOF
7645
/* end confdefs.h. */
7646
$ac_includes_default
7648
#include <$ac_header>
7650
rm -f conftest.$ac_objext
7651
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7652
(eval $ac_compile) 2>conftest.er1
7654
grep -v '^ *+' conftest.er1 >conftest.err
7656
cat conftest.err >&5
7657
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7658
(exit $ac_status); } &&
7659
{ ac_try='test -z "$ac_c_werror_flag"
7660
|| test ! -s conftest.err'
7661
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7664
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7665
(exit $ac_status); }; } &&
7666
{ ac_try='test -s conftest.$ac_objext'
7667
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7670
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7671
(exit $ac_status); }; }; then
7672
eval "$as_ac_Header=yes"
7674
echo "$as_me: failed program was:" >&5
7675
sed 's/^/| /' conftest.$ac_ext >&5
7677
eval "$as_ac_Header=no"
7679
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7681
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7682
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7683
if test `eval echo '${'$as_ac_Header'}'` = yes; then
7684
cat >>confdefs.h <<_ACEOF
7685
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7694
for ac_header in dlfcn.h
7696
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7697
if eval "test \"\${$as_ac_Header+set}\" = set"; then
7698
echo "$as_me:$LINENO: checking for $ac_header" >&5
7699
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7700
if eval "test \"\${$as_ac_Header+set}\" = set"; then
7701
echo $ECHO_N "(cached) $ECHO_C" >&6
7703
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7704
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7706
# Is the header compilable?
7707
echo "$as_me:$LINENO: checking $ac_header usability" >&5
7708
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7709
cat >conftest.$ac_ext <<_ACEOF
7712
cat confdefs.h >>conftest.$ac_ext
7713
cat >>conftest.$ac_ext <<_ACEOF
7714
/* end confdefs.h. */
7715
$ac_includes_default
7716
#include <$ac_header>
7718
rm -f conftest.$ac_objext
7719
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7720
(eval $ac_compile) 2>conftest.er1
7722
grep -v '^ *+' conftest.er1 >conftest.err
7724
cat conftest.err >&5
7725
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7726
(exit $ac_status); } &&
7727
{ ac_try='test -z "$ac_c_werror_flag"
7728
|| test ! -s conftest.err'
7729
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7732
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7733
(exit $ac_status); }; } &&
7734
{ ac_try='test -s conftest.$ac_objext'
7735
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7738
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7739
(exit $ac_status); }; }; then
7740
ac_header_compiler=yes
7742
echo "$as_me: failed program was:" >&5
7743
sed 's/^/| /' conftest.$ac_ext >&5
7745
ac_header_compiler=no
7747
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7748
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7749
echo "${ECHO_T}$ac_header_compiler" >&6
7751
# Is the header present?
7752
echo "$as_me:$LINENO: checking $ac_header presence" >&5
7753
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7754
cat >conftest.$ac_ext <<_ACEOF
7757
cat confdefs.h >>conftest.$ac_ext
7758
cat >>conftest.$ac_ext <<_ACEOF
7759
/* end confdefs.h. */
7760
#include <$ac_header>
7762
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7763
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7765
grep -v '^ *+' conftest.er1 >conftest.err
7767
cat conftest.err >&5
7768
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7769
(exit $ac_status); } >/dev/null; then
7770
if test -s conftest.err; then
7771
ac_cpp_err=$ac_c_preproc_warn_flag
7772
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7779
if test -z "$ac_cpp_err"; then
7780
ac_header_preproc=yes
7782
echo "$as_me: failed program was:" >&5
7783
sed 's/^/| /' conftest.$ac_ext >&5
7785
ac_header_preproc=no
7787
rm -f conftest.err conftest.$ac_ext
7788
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7789
echo "${ECHO_T}$ac_header_preproc" >&6
7791
# So? What about this header?
7792
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7794
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7795
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7796
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7797
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7798
ac_header_preproc=yes
7801
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7802
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7803
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7804
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7805
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7806
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7807
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7808
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7809
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7810
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7811
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7812
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7815
## ------------------------------------------ ##
7816
## Report this to the AC_PACKAGE_NAME lists. ##
7817
## ------------------------------------------ ##
7820
sed "s/^/$as_me: WARNING: /" >&2
7823
echo "$as_me:$LINENO: checking for $ac_header" >&5
7824
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7825
if eval "test \"\${$as_ac_Header+set}\" = set"; then
7826
echo $ECHO_N "(cached) $ECHO_C" >&6
7828
eval "$as_ac_Header=\$ac_header_preproc"
7830
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7831
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7834
if test `eval echo '${'$as_ac_Header'}'` = yes; then
7835
cat >>confdefs.h <<_ACEOF
7836
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7844
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
7845
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7846
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
7847
if test -n "$ac_tool_prefix"; then
7848
for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
7850
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7851
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7852
echo "$as_me:$LINENO: checking for $ac_word" >&5
7853
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7854
if test "${ac_cv_prog_F77+set}" = set; then
7855
echo $ECHO_N "(cached) $ECHO_C" >&6
7857
if test -n "$F77"; then
7858
ac_cv_prog_F77="$F77" # Let the user override the test.
7860
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7864
test -z "$as_dir" && as_dir=.
7865
for ac_exec_ext in '' $ac_executable_extensions; do
7866
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7867
ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
7868
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7877
if test -n "$F77"; then
7878
echo "$as_me:$LINENO: result: $F77" >&5
7879
echo "${ECHO_T}$F77" >&6
7881
echo "$as_me:$LINENO: result: no" >&5
7882
echo "${ECHO_T}no" >&6
7885
test -n "$F77" && break
7888
if test -z "$F77"; then
7890
for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
7892
# Extract the first word of "$ac_prog", so it can be a program name with args.
7893
set dummy $ac_prog; ac_word=$2
7894
echo "$as_me:$LINENO: checking for $ac_word" >&5
7895
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7896
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
7897
echo $ECHO_N "(cached) $ECHO_C" >&6
7899
if test -n "$ac_ct_F77"; then
7900
ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
7902
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7906
test -z "$as_dir" && as_dir=.
7907
for ac_exec_ext in '' $ac_executable_extensions; do
7908
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7909
ac_cv_prog_ac_ct_F77="$ac_prog"
7910
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7918
ac_ct_F77=$ac_cv_prog_ac_ct_F77
7919
if test -n "$ac_ct_F77"; then
7920
echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
7921
echo "${ECHO_T}$ac_ct_F77" >&6
7923
echo "$as_me:$LINENO: result: no" >&5
7924
echo "${ECHO_T}no" >&6
7927
test -n "$ac_ct_F77" && break
7934
# Provide some information about the compiler.
7935
echo "$as_me:7935:" \
7936
"checking for Fortran 77 compiler version" >&5
7937
ac_compiler=`set X $ac_compile; echo $2`
7938
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
7939
(eval $ac_compiler --version </dev/null >&5) 2>&5
7941
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7942
(exit $ac_status); }
7943
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
7944
(eval $ac_compiler -v </dev/null >&5) 2>&5
7946
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7947
(exit $ac_status); }
7948
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
7949
(eval $ac_compiler -V </dev/null >&5) 2>&5
7951
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7952
(exit $ac_status); }
7955
# If we don't use `.F' as extension, the preprocessor is not run on the
7956
# input file. (Note that this only needs to work for GNU compilers.)
7959
echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
7960
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
7961
if test "${ac_cv_f77_compiler_gnu+set}" = set; then
7962
echo $ECHO_N "(cached) $ECHO_C" >&6
7964
cat >conftest.$ac_ext <<_ACEOF
7972
rm -f conftest.$ac_objext
7973
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7974
(eval $ac_compile) 2>conftest.er1
7976
grep -v '^ *+' conftest.er1 >conftest.err
7978
cat conftest.err >&5
7979
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7980
(exit $ac_status); } &&
7981
{ ac_try='test -z "$ac_f77_werror_flag"
7982
|| test ! -s conftest.err'
7983
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7986
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7987
(exit $ac_status); }; } &&
7988
{ ac_try='test -s conftest.$ac_objext'
7989
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7992
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7993
(exit $ac_status); }; }; then
7996
echo "$as_me: failed program was:" >&5
7997
sed 's/^/| /' conftest.$ac_ext >&5
8001
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8002
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
8005
echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
8006
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
8008
ac_test_FFLAGS=${FFLAGS+set}
8009
ac_save_FFLAGS=$FFLAGS
8011
echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
8012
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
8013
if test "${ac_cv_prog_f77_g+set}" = set; then
8014
echo $ECHO_N "(cached) $ECHO_C" >&6
8017
cat >conftest.$ac_ext <<_ACEOF
8022
rm -f conftest.$ac_objext
8023
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8024
(eval $ac_compile) 2>conftest.er1
8026
grep -v '^ *+' conftest.er1 >conftest.err
8028
cat conftest.err >&5
8029
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8030
(exit $ac_status); } &&
8031
{ ac_try='test -z "$ac_f77_werror_flag"
8032
|| test ! -s conftest.err'
8033
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8036
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8037
(exit $ac_status); }; } &&
8038
{ ac_try='test -s conftest.$ac_objext'
8039
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8042
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8043
(exit $ac_status); }; }; then
8044
ac_cv_prog_f77_g=yes
8046
echo "$as_me: failed program was:" >&5
8047
sed 's/^/| /' conftest.$ac_ext >&5
8051
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8054
echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
8055
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
8056
if test "$ac_test_FFLAGS" = set; then
8057
FFLAGS=$ac_save_FFLAGS
8058
elif test $ac_cv_prog_f77_g = yes; then
8059
if test "x$ac_cv_f77_compiler_gnu" = xyes; then
8065
if test "x$ac_cv_f77_compiler_gnu" = xyes; then
8072
G77=`test $ac_compiler_gnu = yes && echo yes`
8074
ac_cpp='$CPP $CPPFLAGS'
8075
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8076
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8077
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8081
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
8083
# find the maximum length of command line arguments
8084
echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
8085
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
8086
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
8087
echo $ECHO_N "(cached) $ECHO_C" >&6
8094
# On DJGPP, this test can blow up pretty badly due to problems in libc
8095
# (any single argument exceeding 2000 bytes causes a buffer overrun
8096
# during glob expansion). Even if it were fixed, the result of this
8097
# check would be larger than it should be.
8098
lt_cv_sys_max_cmd_len=12288; # 12K is about right
8102
# Under GNU Hurd, this test is not required because there is
8103
# no limit to the length of command line arguments.
8104
# Libtool will interpret -1 as no limit whatsoever
8105
lt_cv_sys_max_cmd_len=-1;
8109
# On Win9x/ME, this test blows up -- it succeeds, but takes
8110
# about 5 minutes as the teststring grows exponentially.
8111
# Worse, since 9x/ME are not pre-emptively multitasking,
8112
# you end up with a "frozen" computer, even though with patience
8113
# the test eventually succeeds (with a max line length of 256k).
8114
# Instead, let's just punt: use the minimum linelength reported by
8115
# all of the supported platforms: 8192 (on NT/2K/XP).
8116
lt_cv_sys_max_cmd_len=8192;
8120
# If test is not a shell built-in, we'll probably end up computing a
8121
# maximum length that is only half of the actual maximum length, but
8123
while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \
8124
= "XX$testring") >/dev/null 2>&1 &&
8125
new_result=`expr "X$testring" : ".*" 2>&1` &&
8126
lt_cv_sys_max_cmd_len=$new_result &&
8127
test $i != 17 # 1/2 MB should be enough
8130
testring=$testring$testring
8133
# Add a significant safety factor because C++ compilers can tack on massive
8134
# amounts of additional arguments before passing them to the linker.
8135
# It appears as though 1/2 is a usable value.
8136
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
8142
if test -n $lt_cv_sys_max_cmd_len ; then
8143
echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
8144
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
8146
echo "$as_me:$LINENO: result: none" >&5
8147
echo "${ECHO_T}none" >&6
8153
# Check for command to grab the raw symbol name followed by C symbol from nm.
8154
echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
8155
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
8156
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
8157
echo $ECHO_N "(cached) $ECHO_C" >&6
8160
# These are sane defaults that work on at least a few old systems.
8161
# [They come from Ultrix. What could be older than Ultrix?!! ;)]
8163
# Character class describing NM global symbol codes.
8164
symcode='[BCDEGRST]'
8166
# Regexp to match symbols that can be accessed directly from C.
8167
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
8169
# Transform the above into a raw symbol and a C symbol.
8170
symxfrm='\1 \2\3 \3'
8172
# Transform an extracted symbol line into a proper C declaration
8173
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
8175
# Transform an extracted symbol line into symbol name and symbol address
8176
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'"
8178
# Define system-specific variables.
8183
cygwin* | mingw* | pw32*)
8184
symcode='[ABCDGISTW]'
8186
hpux*) # Its linker distinguishes data from code symbols
8187
if test "$host_cpu" = ia64; then
8188
symcode='[ABCDEGRST]'
8190
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8191
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'"
8194
symcode='[BCDEGRST]'
8197
symcode='[BCDEGQRST]'
8207
# Handle CRLF in mingw tool chain
8211
opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8215
# If we're using GNU nm, then use its standard symbol codes.
8216
case `$NM -V 2>&1` in
8217
*GNU* | *'with BFD'*)
8218
symcode='[ABCDGISTW]' ;;
8221
# Try without a prefix undercore, then with it.
8222
for ac_symprfx in "" "_"; do
8224
# Write the raw and C identifiers.
8225
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
8227
# Check to see that the pipe works correctly.
8231
cat > conftest.$ac_ext <<EOF
8236
void nm_test_func(){}
8240
int main(){nm_test_var='a';nm_test_func();return(0);}
8243
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8244
(eval $ac_compile) 2>&5
8246
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8247
(exit $ac_status); }; then
8248
# Now try to grab the symbols.
8250
if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
8251
(eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
8253
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8254
(exit $ac_status); } && test -s "$nlist"; then
8255
# Try sorting and uniquifying the output.
8256
if sort "$nlist" | uniq > "$nlist"T; then
8257
mv -f "$nlist"T "$nlist"
8262
# Make sure that we snagged all the symbols we need.
8263
if grep ' nm_test_var$' "$nlist" >/dev/null; then
8264
if grep ' nm_test_func$' "$nlist" >/dev/null; then
8265
cat <<EOF > conftest.$ac_ext
8271
# Now generate the symbol file.
8272
eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
8274
cat <<EOF >> conftest.$ac_ext
8275
#if defined (__STDC__) && __STDC__
8276
# define lt_ptr_t void *
8278
# define lt_ptr_t char *
8282
/* The mapping between symbol names and symbols. */
8287
lt_preloaded_symbols[] =
8290
$SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
8291
cat <<\EOF >> conftest.$ac_ext
8299
# Now try linking the two files.
8300
mv conftest.$ac_objext conftstm.$ac_objext
8301
lt_save_LIBS="$LIBS"
8302
lt_save_CFLAGS="$CFLAGS"
8303
LIBS="conftstm.$ac_objext"
8304
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8305
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8306
(eval $ac_link) 2>&5
8308
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8309
(exit $ac_status); } && test -s conftest${ac_exeext}; then
8312
LIBS="$lt_save_LIBS"
8313
CFLAGS="$lt_save_CFLAGS"
8315
echo "cannot find nm_test_func in $nlist" >&5
8318
echo "cannot find nm_test_var in $nlist" >&5
8321
echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8324
echo "$progname: failed program was:" >&5
8325
cat conftest.$ac_ext >&5
8327
rm -f conftest* conftst*
8329
# Do not use the global_symbol_pipe unless it works.
8330
if test "$pipe_works" = yes; then
8333
lt_cv_sys_global_symbol_pipe=
8339
if test -z "$lt_cv_sys_global_symbol_pipe"; then
8340
lt_cv_sys_global_symbol_to_cdecl=
8342
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8343
echo "$as_me:$LINENO: result: failed" >&5
8344
echo "${ECHO_T}failed" >&6
8346
echo "$as_me:$LINENO: result: ok" >&5
8347
echo "${ECHO_T}ok" >&6
8350
echo "$as_me:$LINENO: checking for objdir" >&5
8351
echo $ECHO_N "checking for objdir... $ECHO_C" >&6
8352
if test "${lt_cv_objdir+set}" = set; then
8353
echo $ECHO_N "(cached) $ECHO_C" >&6
8355
rm -f .libs 2>/dev/null
8356
mkdir .libs 2>/dev/null
8357
if test -d .libs; then
8360
# MS-DOS does not allow filenames that begin with a dot.
8363
rmdir .libs 2>/dev/null
8365
echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
8366
echo "${ECHO_T}$lt_cv_objdir" >&6
8367
objdir=$lt_cv_objdir
8375
# AIX sometimes has problems with the GCC collect2 program. For some
8376
# reason, if we set the COLLECT_NAMES environment variable, the problems
8377
# vanish in a puff of smoke.
8378
if test "X${COLLECT_NAMES+set}" != Xset; then
8380
export COLLECT_NAMES
8385
# Sed substitution that helps us do robust quoting. It backslashifies
8386
# metacharacters that are still active within double-quoted strings.
8387
Xsed='sed -e s/^X//'
8388
sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
8390
# Same as above, but do not quote variable references.
8391
double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
8393
# Sed substitution to delay expansion of an escaped shell variable in a
8394
# double_quote_subst'ed string.
8395
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
8397
# Sed substitution to avoid accidental globbing in evaled expressions
8398
no_glob_subst='s/\*/\\\*/g'
8404
default_ofile=libtool
8405
can_build_shared=yes
8407
# All known linkers require a `.a' archive for static linking (except M$VC,
8408
# which needs '.lib').
8410
ltmain="$ac_aux_dir/ltmain.sh"
8411
ofile="$default_ofile"
8412
with_gnu_ld="$lt_cv_prog_gnu_ld"
8414
if test -n "$ac_tool_prefix"; then
8415
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8416
set dummy ${ac_tool_prefix}ar; ac_word=$2
8417
echo "$as_me:$LINENO: checking for $ac_word" >&5
8418
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8419
if test "${ac_cv_prog_AR+set}" = set; then
8420
echo $ECHO_N "(cached) $ECHO_C" >&6
8422
if test -n "$AR"; then
8423
ac_cv_prog_AR="$AR" # Let the user override the test.
8425
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8429
test -z "$as_dir" && as_dir=.
8430
for ac_exec_ext in '' $ac_executable_extensions; do
8431
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8432
ac_cv_prog_AR="${ac_tool_prefix}ar"
8433
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8442
if test -n "$AR"; then
8443
echo "$as_me:$LINENO: result: $AR" >&5
8444
echo "${ECHO_T}$AR" >&6
8446
echo "$as_me:$LINENO: result: no" >&5
8447
echo "${ECHO_T}no" >&6
8451
if test -z "$ac_cv_prog_AR"; then
8453
# Extract the first word of "ar", so it can be a program name with args.
8454
set dummy ar; ac_word=$2
8455
echo "$as_me:$LINENO: checking for $ac_word" >&5
8456
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8457
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
8458
echo $ECHO_N "(cached) $ECHO_C" >&6
8460
if test -n "$ac_ct_AR"; then
8461
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
8463
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8467
test -z "$as_dir" && as_dir=.
8468
for ac_exec_ext in '' $ac_executable_extensions; do
8469
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8470
ac_cv_prog_ac_ct_AR="ar"
8471
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8477
test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
8480
ac_ct_AR=$ac_cv_prog_ac_ct_AR
8481
if test -n "$ac_ct_AR"; then
8482
echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
8483
echo "${ECHO_T}$ac_ct_AR" >&6
8485
echo "$as_me:$LINENO: result: no" >&5
8486
echo "${ECHO_T}no" >&6
8494
if test -n "$ac_tool_prefix"; then
8495
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8496
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
8497
echo "$as_me:$LINENO: checking for $ac_word" >&5
8498
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8499
if test "${ac_cv_prog_RANLIB+set}" = set; then
8500
echo $ECHO_N "(cached) $ECHO_C" >&6
8502
if test -n "$RANLIB"; then
8503
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8505
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8509
test -z "$as_dir" && as_dir=.
8510
for ac_exec_ext in '' $ac_executable_extensions; do
8511
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8512
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
8513
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8521
RANLIB=$ac_cv_prog_RANLIB
8522
if test -n "$RANLIB"; then
8523
echo "$as_me:$LINENO: result: $RANLIB" >&5
8524
echo "${ECHO_T}$RANLIB" >&6
8526
echo "$as_me:$LINENO: result: no" >&5
8527
echo "${ECHO_T}no" >&6
8531
if test -z "$ac_cv_prog_RANLIB"; then
8532
ac_ct_RANLIB=$RANLIB
8533
# Extract the first word of "ranlib", so it can be a program name with args.
8534
set dummy ranlib; ac_word=$2
8535
echo "$as_me:$LINENO: checking for $ac_word" >&5
8536
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8537
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
8538
echo $ECHO_N "(cached) $ECHO_C" >&6
8540
if test -n "$ac_ct_RANLIB"; then
8541
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
8543
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8547
test -z "$as_dir" && as_dir=.
8548
for ac_exec_ext in '' $ac_executable_extensions; do
8549
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8550
ac_cv_prog_ac_ct_RANLIB="ranlib"
8551
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8557
test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
8560
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
8561
if test -n "$ac_ct_RANLIB"; then
8562
echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
8563
echo "${ECHO_T}$ac_ct_RANLIB" >&6
8565
echo "$as_me:$LINENO: result: no" >&5
8566
echo "${ECHO_T}no" >&6
8569
RANLIB=$ac_ct_RANLIB
8571
RANLIB="$ac_cv_prog_RANLIB"
8574
if test -n "$ac_tool_prefix"; then
8575
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
8576
set dummy ${ac_tool_prefix}strip; ac_word=$2
8577
echo "$as_me:$LINENO: checking for $ac_word" >&5
8578
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8579
if test "${ac_cv_prog_STRIP+set}" = set; then
8580
echo $ECHO_N "(cached) $ECHO_C" >&6
8582
if test -n "$STRIP"; then
8583
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8585
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8589
test -z "$as_dir" && as_dir=.
8590
for ac_exec_ext in '' $ac_executable_extensions; do
8591
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8592
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
8593
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8601
STRIP=$ac_cv_prog_STRIP
8602
if test -n "$STRIP"; then
8603
echo "$as_me:$LINENO: result: $STRIP" >&5
8604
echo "${ECHO_T}$STRIP" >&6
8606
echo "$as_me:$LINENO: result: no" >&5
8607
echo "${ECHO_T}no" >&6
8611
if test -z "$ac_cv_prog_STRIP"; then
8613
# Extract the first word of "strip", so it can be a program name with args.
8614
set dummy strip; ac_word=$2
8615
echo "$as_me:$LINENO: checking for $ac_word" >&5
8616
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8617
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
8618
echo $ECHO_N "(cached) $ECHO_C" >&6
8620
if test -n "$ac_ct_STRIP"; then
8621
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
8623
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8627
test -z "$as_dir" && as_dir=.
8628
for ac_exec_ext in '' $ac_executable_extensions; do
8629
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8630
ac_cv_prog_ac_ct_STRIP="strip"
8631
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8637
test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
8640
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
8641
if test -n "$ac_ct_STRIP"; then
8642
echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
8643
echo "${ECHO_T}$ac_ct_STRIP" >&6
8645
echo "$as_me:$LINENO: result: no" >&5
8646
echo "${ECHO_T}no" >&6
8651
STRIP="$ac_cv_prog_STRIP"
8656
old_CFLAGS="$CFLAGS"
8658
# Set sane defaults for various variables
8659
test -z "$AR" && AR=ar
8660
test -z "$AR_FLAGS" && AR_FLAGS=cru
8661
test -z "$AS" && AS=as
8662
test -z "$CC" && CC=cc
8663
test -z "$LTCC" && LTCC=$CC
8664
test -z "$DLLTOOL" && DLLTOOL=dlltool
8665
test -z "$LD" && LD=ld
8666
test -z "$LN_S" && LN_S="ln -s"
8667
test -z "$MAGIC_CMD" && MAGIC_CMD=file
8668
test -z "$NM" && NM=nm
8669
test -z "$SED" && SED=sed
8670
test -z "$OBJDUMP" && OBJDUMP=objdump
8671
test -z "$RANLIB" && RANLIB=:
8672
test -z "$STRIP" && STRIP=:
8673
test -z "$ac_objext" && ac_objext=o
8675
# Determine commands to create old-style static archives.
8676
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
8677
old_postinstall_cmds='chmod 644 $oldlib'
8678
old_postuninstall_cmds=
8680
if test -n "$RANLIB"; then
8683
old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
8686
old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
8689
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
8692
# Only perform the check for file, if the check method requires it
8693
case $deplibs_check_method in
8695
if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8696
echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
8697
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
8698
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8699
echo $ECHO_N "(cached) $ECHO_C" >&6
8703
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8706
lt_save_MAGIC_CMD="$MAGIC_CMD"
8707
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8708
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8709
for ac_dir in $ac_dummy; do
8711
test -z "$ac_dir" && ac_dir=.
8712
if test -f $ac_dir/${ac_tool_prefix}file; then
8713
lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8714
if test -n "$file_magic_test_file"; then
8715
case $deplibs_check_method in
8717
file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
8718
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8719
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8720
$EGREP "$file_magic_regex" > /dev/null; then
8725
*** Warning: the command libtool uses to detect shared libraries,
8726
*** $file_magic_cmd, produces output that libtool cannot recognize.
8727
*** The result is that libtool may fail to recognize shared libraries
8728
*** as such. This will affect the creation of libtool libraries that
8729
*** depend on shared libraries, but programs linked with such libtool
8730
*** libraries will work regardless of this problem. Nevertheless, you
8731
*** may want to report the problem to your system manager and/or to
8732
*** bug-libtool@gnu.org
8742
MAGIC_CMD="$lt_save_MAGIC_CMD"
8747
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8748
if test -n "$MAGIC_CMD"; then
8749
echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8750
echo "${ECHO_T}$MAGIC_CMD" >&6
8752
echo "$as_me:$LINENO: result: no" >&5
8753
echo "${ECHO_T}no" >&6
8756
if test -z "$lt_cv_path_MAGIC_CMD"; then
8757
if test -n "$ac_tool_prefix"; then
8758
echo "$as_me:$LINENO: checking for file" >&5
8759
echo $ECHO_N "checking for file... $ECHO_C" >&6
8760
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8761
echo $ECHO_N "(cached) $ECHO_C" >&6
8765
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8768
lt_save_MAGIC_CMD="$MAGIC_CMD"
8769
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8770
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8771
for ac_dir in $ac_dummy; do
8773
test -z "$ac_dir" && ac_dir=.
8774
if test -f $ac_dir/file; then
8775
lt_cv_path_MAGIC_CMD="$ac_dir/file"
8776
if test -n "$file_magic_test_file"; then
8777
case $deplibs_check_method in
8779
file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
8780
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8781
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8782
$EGREP "$file_magic_regex" > /dev/null; then
8787
*** Warning: the command libtool uses to detect shared libraries,
8788
*** $file_magic_cmd, produces output that libtool cannot recognize.
8789
*** The result is that libtool may fail to recognize shared libraries
8790
*** as such. This will affect the creation of libtool libraries that
8791
*** depend on shared libraries, but programs linked with such libtool
8792
*** libraries will work regardless of this problem. Nevertheless, you
8793
*** may want to report the problem to your system manager and/or to
8794
*** bug-libtool@gnu.org
8804
MAGIC_CMD="$lt_save_MAGIC_CMD"
8809
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8810
if test -n "$MAGIC_CMD"; then
8811
echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8812
echo "${ECHO_T}$MAGIC_CMD" >&6
8814
echo "$as_me:$LINENO: result: no" >&5
8815
echo "${ECHO_T}no" >&6
8830
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
8831
if test "${enable_libtool_lock+set}" = set; then
8832
enableval="$enable_libtool_lock"
8835
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8838
# Check whether --with-pic or --without-pic was given.
8839
if test "${with_pic+set}" = set; then
8845
test -z "$pic_mode" && pic_mode=default
8847
# Use C for the default configuration in the libtool script
8851
ac_cpp='$CPP $CPPFLAGS'
8852
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8853
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8854
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8857
# Source file extension for C test sources.
8860
# Object file extension for compiled C test sources.
8864
# Code to be used in simple compile tests
8865
lt_simple_compile_test_code="int some_variable = 0;\n"
8867
# Code to be used in simple link tests
8868
lt_simple_link_test_code='int main(){return(0);}\n'
8871
# If no C compiler was specified, use CC.
8874
# Allow CC to be a program name with arguments.
8879
# Check for any special shared library compilation flags.
8882
if test "$GCC" = no; then
8885
lt_prog_cc_shlib='-belf'
8889
if test -n "$lt_prog_cc_shlib"; then
8890
{ echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
8891
echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
8892
if echo "$old_CC $old_CFLAGS " | grep "[ ]$lt_prog_cc_shlib[ ]" >/dev/null; then :
8894
{ echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
8895
echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
8896
lt_cv_prog_cc_can_build_shared=no
8902
# Check to make sure the static flag actually works.
8904
echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
8905
echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
8906
if test "${lt_prog_compiler_static_works+set}" = set; then
8907
echo $ECHO_N "(cached) $ECHO_C" >&6
8909
lt_prog_compiler_static_works=no
8910
save_LDFLAGS="$LDFLAGS"
8911
LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
8912
printf "$lt_simple_link_test_code" > conftest.$ac_ext
8913
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8914
# The compiler can only warn and ignore the option if not recognized
8915
# So say no if there are warnings
8916
if test -s conftest.err; then
8917
# Append any errors to the config.log.
8918
cat conftest.err 1>&5
8920
lt_prog_compiler_static_works=yes
8924
LDFLAGS="$save_LDFLAGS"
8927
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
8928
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
8930
if test x"$lt_prog_compiler_static_works" = xyes; then
8933
lt_prog_compiler_static=
8939
## There is no encapsulation within the following macros, do not change
8940
## the running order or otherwise move them around unless you know exactly
8941
## what you are doing...
8943
lt_prog_compiler_no_builtin_flag=
8945
if test "$GCC" = yes; then
8946
lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8949
echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8950
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
8951
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
8952
echo $ECHO_N "(cached) $ECHO_C" >&6
8954
lt_cv_prog_compiler_rtti_exceptions=no
8955
ac_outfile=conftest.$ac_objext
8956
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
8957
lt_compiler_flag="-fno-rtti -fno-exceptions"
8958
# Insert the option either (1) after the last *FLAGS variable, or
8959
# (2) before a word containing "conftest.", or (3) at the end.
8960
# Note that $ac_compile itself does not contain backslashes and begins
8961
# with a dollar sign (not a hyphen), so the echo should work correctly.
8962
# The option is referenced via a variable to avoid confusing sed.
8963
lt_compile=`echo "$ac_compile" | $SED \
8964
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
8965
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8966
-e 's:$: $lt_compiler_flag:'`
8967
(eval echo "\"\$as_me:8967: $lt_compile\"" >&5)
8968
(eval "$lt_compile" 2>conftest.err)
8970
cat conftest.err >&5
8971
echo "$as_me:8971: \$? = $ac_status" >&5
8972
if (exit $ac_status) && test -s "$ac_outfile"; then
8973
# The compiler can only warn and ignore the option if not recognized
8974
# So say no if there are warnings
8975
if test ! -s conftest.err; then
8976
lt_cv_prog_compiler_rtti_exceptions=yes
8982
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8983
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
8985
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8986
lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8993
lt_prog_compiler_wl=
8994
lt_prog_compiler_pic=
8995
lt_prog_compiler_static=
8997
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
8998
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
9000
if test "$GCC" = yes; then
9001
lt_prog_compiler_wl='-Wl,'
9002
lt_prog_compiler_static='-static'
9006
# All AIX code is PIC.
9007
if test "$host_cpu" = ia64; then
9008
# AIX 5 now supports IA64 processor
9009
lt_prog_compiler_static='-Bstatic'
9014
# FIXME: we need at least 68020 code to build shared libraries, but
9015
# adding the `-m68020' flag to GCC prevents building anything better,
9017
lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9020
beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9021
# PIC is the default for these OSes.
9024
mingw* | pw32* | os2*)
9025
# This hack is so that the source file can tell whether it is being
9026
# built for inclusion in a dll (and should export symbols for example).
9027
lt_prog_compiler_pic='-DDLL_EXPORT'
9030
darwin* | rhapsody*)
9031
# PIC is the default on this platform
9032
# Common symbols not allowed in MH_DYLIB files
9033
lt_prog_compiler_pic='-fno-common'
9037
# Just because we use GCC doesn't mean we suddenly get shared libraries
9038
# on systems that don't support them.
9039
lt_prog_compiler_can_build_shared=no
9044
if test -d /usr/nec; then
9045
lt_prog_compiler_pic=-Kconform_pic
9050
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9057
lt_prog_compiler_pic='-fPIC'
9063
lt_prog_compiler_pic='-fPIC'
9067
# PORTME Check for flag to pass linker flags through the system compiler.
9070
lt_prog_compiler_wl='-Wl,'
9071
if test "$host_cpu" = ia64; then
9072
# AIX 5 now supports IA64 processor
9073
lt_prog_compiler_static='-Bstatic'
9075
lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9079
mingw* | pw32* | os2*)
9080
# This hack is so that the source file can tell whether it is being
9081
# built for inclusion in a dll (and should export symbols for example).
9082
lt_prog_compiler_pic='-DDLL_EXPORT'
9085
hpux9* | hpux10* | hpux11*)
9086
lt_prog_compiler_wl='-Wl,'
9087
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9094
lt_prog_compiler_pic='+Z'
9097
# Is there a better lt_prog_compiler_static that works with the bundled CC?
9098
lt_prog_compiler_static='${wl}-a ${wl}archive'
9101
irix5* | irix6* | nonstopux*)
9102
lt_prog_compiler_wl='-Wl,'
9103
# PIC (with -KPIC) is the default.
9104
lt_prog_compiler_static='-non_shared'
9108
lt_prog_compiler_pic='-KPIC'
9109
lt_prog_compiler_static='-Bstatic'
9115
lt_prog_compiler_wl='-Wl,'
9116
lt_prog_compiler_pic='-KPIC'
9117
lt_prog_compiler_static='-static'
9120
lt_prog_compiler_wl='-Wl,'
9121
# All Alpha code is PIC.
9122
lt_prog_compiler_static='-non_shared'
9127
osf3* | osf4* | osf5*)
9128
lt_prog_compiler_wl='-Wl,'
9129
# All OSF/1 code is PIC.
9130
lt_prog_compiler_static='-non_shared'
9134
lt_prog_compiler_pic='-Kpic'
9135
lt_prog_compiler_static='-dn'
9139
lt_prog_compiler_wl='-Wl,'
9140
lt_prog_compiler_pic='-KPIC'
9141
lt_prog_compiler_static='-Bstatic'
9145
lt_prog_compiler_wl='-Qoption ld '
9146
lt_prog_compiler_pic='-PIC'
9147
lt_prog_compiler_static='-Bstatic'
9150
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9151
lt_prog_compiler_wl='-Wl,'
9152
lt_prog_compiler_pic='-KPIC'
9153
lt_prog_compiler_static='-Bstatic'
9157
if test -d /usr/nec ;then
9158
lt_prog_compiler_pic='-Kconform_pic'
9159
lt_prog_compiler_static='-Bstatic'
9164
lt_prog_compiler_pic='-pic'
9165
lt_prog_compiler_static='-Bstatic'
9169
lt_prog_compiler_can_build_shared=no
9174
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
9175
echo "${ECHO_T}$lt_prog_compiler_pic" >&6
9178
# Check to make sure the PIC flag actually works.
9180
if test -n "$lt_prog_compiler_pic"; then
9182
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9183
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
9184
if test "${lt_prog_compiler_pic_works+set}" = set; then
9185
echo $ECHO_N "(cached) $ECHO_C" >&6
9187
lt_prog_compiler_pic_works=no
9188
ac_outfile=conftest.$ac_objext
9189
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
9190
lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9191
# Insert the option either (1) after the last *FLAGS variable, or
9192
# (2) before a word containing "conftest.", or (3) at the end.
9193
# Note that $ac_compile itself does not contain backslashes and begins
9194
# with a dollar sign (not a hyphen), so the echo should work correctly.
9195
# The option is referenced via a variable to avoid confusing sed.
9196
lt_compile=`echo "$ac_compile" | $SED \
9197
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
9198
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9199
-e 's:$: $lt_compiler_flag:'`
9200
(eval echo "\"\$as_me:9200: $lt_compile\"" >&5)
9201
(eval "$lt_compile" 2>conftest.err)
9203
cat conftest.err >&5
9204
echo "$as_me:9204: \$? = $ac_status" >&5
9205
if (exit $ac_status) && test -s "$ac_outfile"; then
9206
# The compiler can only warn and ignore the option if not recognized
9207
# So say no if there are warnings
9208
if test ! -s conftest.err; then
9209
lt_prog_compiler_pic_works=yes
9215
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
9216
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
9218
if test x"$lt_prog_compiler_pic_works" = xyes; then
9219
case $lt_prog_compiler_pic in
9221
*) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9224
lt_prog_compiler_pic=
9225
lt_prog_compiler_can_build_shared=no
9230
# For platforms which do not support PIC, -DPIC is meaningless:
9232
lt_prog_compiler_pic=
9235
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9239
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9240
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
9241
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9242
echo $ECHO_N "(cached) $ECHO_C" >&6
9244
lt_cv_prog_compiler_c_o=no
9245
$rm -r conftest 2>/dev/null
9249
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
9251
# According to Tom Tromey, Ian Lance Taylor reported there are C compilers
9252
# that will create temporary files in the current directory regardless of
9253
# the output directory. Thus, making CWD read-only will cause this test
9254
# to fail, enabling locking or at least warning the user not to do parallel
9258
lt_compiler_flag="-o out/conftest2.$ac_objext"
9259
# Insert the option either (1) after the last *FLAGS variable, or
9260
# (2) before a word containing "conftest.", or (3) at the end.
9261
# Note that $ac_compile itself does not contain backslashes and begins
9262
# with a dollar sign (not a hyphen), so the echo should work correctly.
9263
lt_compile=`echo "$ac_compile" | $SED \
9264
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
9265
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9266
-e 's:$: $lt_compiler_flag:'`
9267
(eval echo "\"\$as_me:9267: $lt_compile\"" >&5)
9268
(eval "$lt_compile" 2>out/conftest.err)
9270
cat out/conftest.err >&5
9271
echo "$as_me:9271: \$? = $ac_status" >&5
9272
if (exit $ac_status) && test -s out/conftest2.$ac_objext
9274
# The compiler can only warn and ignore the option if not recognized
9275
# So say no if there are warnings
9276
if test ! -s out/conftest.err; then
9277
lt_cv_prog_compiler_c_o=yes
9288
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9289
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
9292
hard_links="nottested"
9293
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9294
# do not overwrite the value of need_locks provided by the user
9295
echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
9296
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
9299
ln conftest.a conftest.b 2>/dev/null && hard_links=no
9301
ln conftest.a conftest.b 2>&5 || hard_links=no
9302
ln conftest.a conftest.b 2>/dev/null && hard_links=no
9303
echo "$as_me:$LINENO: result: $hard_links" >&5
9304
echo "${ECHO_T}$hard_links" >&6
9305
if test "$hard_links" = no; then
9306
{ echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9307
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9314
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9315
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
9318
allow_undefined_flag=
9319
enable_shared_with_static_runtimes=no
9321
archive_expsym_cmds=
9322
old_archive_From_new_cmds=
9323
old_archive_from_expsyms_cmds=
9324
export_dynamic_flag_spec=
9325
whole_archive_flag_spec=
9326
thread_safe_flag_spec=
9327
hardcode_libdir_flag_spec=
9328
hardcode_libdir_flag_spec_ld=
9329
hardcode_libdir_separator=
9332
hardcode_shlibpath_var=unsupported
9333
link_all_deplibs=unknown
9334
hardcode_automatic=no
9337
always_export_symbols=no
9338
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9339
# include_expsyms should be a list of space-separated symbols to be *always*
9340
# included in the symbol list
9342
# exclude_expsyms can be an extended regexp of symbols to exclude
9343
# it will be wrapped by ` (' and `)$', so one must not match beginning or
9344
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9345
# as well as any symbol that contains `d'.
9346
exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
9347
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9348
# platforms (ab)use it in PIC code, but their linkers get confused if
9349
# the symbol is explicitly referenced. Since portable code cannot
9350
# rely on this symbol name, it's probably fine to never include it in
9351
# preloaded symbol tables.
9352
extract_expsyms_cmds=
9355
cygwin* | mingw* | pw32*)
9356
# FIXME: the MSVC++ port hasn't been tested in a loooong time
9357
# When not using gcc, we currently assume that we are using
9358
# Microsoft Visual C++.
9359
if test "$GCC" != yes; then
9369
if test "$with_gnu_ld" = yes; then
9370
# If archive_cmds runs LD, not CC, wlarc should be empty
9373
# See if GNU ld supports shared libraries.
9375
aix3* | aix4* | aix5*)
9376
# On AIX/PPC, the GNU linker is very broken
9377
if test "$host_cpu" != ia64; then
9381
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
9382
*** to be unable to reliably create shared libraries on AIX.
9383
*** Therefore, libtool is disabling shared libraries support. If you
9384
*** really care for shared libraries, you may want to modify your PATH
9385
*** so that a non-GNU linker is found, and then restart.
9392
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)'
9393
hardcode_libdir_flag_spec='-L$libdir'
9394
hardcode_minus_L=yes
9396
# Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
9397
# that the semantics of dynamic libraries on AmigaOS, at least up
9398
# to version 4, is to share data among multiple programs linked
9399
# with the same dynamic library. Since this doesn't match the
9400
# behavior of shared libraries on other platforms, we can't use
9406
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
9407
allow_undefined_flag=unsupported
9408
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9409
# support --undefined. This deserves some investigation. FIXME
9410
archive_cmds='$CC -nostart $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
9416
cygwin* | mingw* | pw32*)
9417
# _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9418
# as there is no search path for DLLs.
9419
hardcode_libdir_flag_spec='-L$libdir'
9420
allow_undefined_flag=no
9421
always_export_symbols=no
9422
enable_shared_with_static_runtimes=yes
9423
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
9425
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
9426
archive_cmds='$CC -shared $compiler_flags $libobjs $deplibs -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
9427
# If the export-symbols file already is a .def file (1st line
9428
# is EXPORTS), use it as is; otherwise, prepend...
9429
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9430
cp $export_symbols $output_objdir/$soname.def;
9432
echo EXPORTS > $output_objdir/$soname.def;
9433
cat $export_symbols >> $output_objdir/$soname.def;
9435
$CC -shared $output_objdir/$soname.def $compiler_flags $libobjs $deplibs -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
9442
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
9443
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9446
archive_cmds='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
9447
archive_expsym_cmds='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9452
if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
9456
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9457
*** create shared libraries on Solaris systems. Therefore, libtool
9458
*** is disabling shared libraries support. We urge you to upgrade GNU
9459
*** binutils to release 2.9.1 or newer. Another option is to modify
9460
*** your PATH or compiler configuration so that the native linker is
9461
*** used, and then restart.
9464
elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
9465
archive_cmds='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
9466
archive_expsym_cmds='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9473
archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9476
hardcode_shlibpath_var=no
9480
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
9481
archive_cmds='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
9482
archive_expsym_cmds='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9489
if test "$ld_shlibs" = yes; then
9490
runpath_var=LD_RUN_PATH
9491
hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
9492
export_dynamic_flag_spec='${wl}--export-dynamic'
9493
# ancient GNU ld didn't support --whole-archive et. al.
9494
if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
9495
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9497
whole_archive_flag_spec=
9501
# PORTME fill in a description of your system's linker (not GNU ld)
9504
allow_undefined_flag=unsupported
9505
always_export_symbols=yes
9506
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'
9507
# Note: this linker hardcodes the directories in LIBPATH if there
9508
# are no directories specified by -L.
9509
hardcode_minus_L=yes
9510
if test "$GCC" = yes && test -z "$link_static_flag"; then
9511
# Neither direct hardcoding nor static linking is supported with a
9513
hardcode_direct=unsupported
9518
if test "$host_cpu" = ia64; then
9519
# On IA64, the linker does run time linking by default, so we don't
9520
# have to do anything special.
9521
aix_use_runtimelinking=no
9522
exp_sym_flag='-Bexport'
9525
# If we're using GNU nm, then we don't want the "-C" option.
9526
# -C means demangle to AIX nm, but means don't demangle with GNU nm
9527
if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
9528
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'
9530
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'
9533
# KDE requires run time linking. Make it the default.
9534
aix_use_runtimelinking=yes
9535
exp_sym_flag='-bexport'
9536
no_entry_flag='-bnoentry'
9539
# When large executables or shared objects are built, AIX ld can
9540
# have problems creating the table of contents. If linking a library
9541
# or program results in "error TOC overflow" add -mminimal-toc to
9542
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9543
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9547
hardcode_libdir_separator=':'
9548
link_all_deplibs=yes
9550
if test "$GCC" = yes; then
9551
case $host_os in aix4.012|aix4.012.*)
9552
# We only want to do this on AIX 4.2 and lower, the check
9553
# below for broken collect2 doesn't work under 4.3+
9554
collect2name=`${CC} -print-prog-name=collect2`
9555
if test -f "$collect2name" && \
9556
strings "$collect2name" | grep resolve_lib_name >/dev/null
9558
# We have reworked collect2
9561
# We have old collect2
9562
hardcode_direct=unsupported
9563
# It fails to find uninstalled libraries when the uninstalled
9564
# path is not listed in the libpath. Setting hardcode_minus_L
9565
# to unsupported forces relinking
9566
hardcode_minus_L=yes
9567
hardcode_libdir_flag_spec='-L$libdir'
9568
hardcode_libdir_separator=
9571
shared_flag='-shared'
9574
if test "$host_cpu" = ia64; then
9575
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9576
# chokes on -Wl,-G. The following line is correct:
9579
if test "$aix_use_runtimelinking" = yes; then
9580
shared_flag='-qmkshrobj ${wl}-G'
9582
shared_flag='-qmkshrobj'
9587
# Let the compiler handle the export list.
9588
always_export_symbols=no
9589
if test "$aix_use_runtimelinking" = yes; then
9590
# Warning - without using the other runtime loading flags (-brtl),
9591
# -berok will link without error, but may produce a broken library.
9592
allow_undefined_flag='-berok'
9593
# Determine the default libpath from the value encoded in an empty executable.
9594
cat >conftest.$ac_ext <<_ACEOF
9597
cat confdefs.h >>conftest.$ac_ext
9598
cat >>conftest.$ac_ext <<_ACEOF
9599
/* end confdefs.h. */
9609
rm -f conftest.$ac_objext conftest$ac_exeext
9610
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9611
(eval $ac_link) 2>conftest.er1
9613
grep -v '^ *+' conftest.er1 >conftest.err
9615
cat conftest.err >&5
9616
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9617
(exit $ac_status); } &&
9618
{ ac_try='test -z "$ac_c_werror_flag"
9619
|| test ! -s conftest.err'
9620
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9623
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9624
(exit $ac_status); }; } &&
9625
{ ac_try='test -s conftest$ac_exeext'
9626
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9629
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9630
(exit $ac_status); }; }; then
9632
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9634
# Check for a 64-bit object if we didn't find anything.
9635
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; }
9638
echo "$as_me: failed program was:" >&5
9639
sed 's/^/| /' conftest.$ac_ext >&5
9642
rm -f conftest.err conftest.$ac_objext \
9643
conftest$ac_exeext conftest.$ac_ext
9644
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9646
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9647
archive_cmds="\$CC"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '" $shared_flag"
9648
archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9650
if test "$host_cpu" = ia64; then
9651
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9652
allow_undefined_flag="-z nodefs"
9653
archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
9655
# Determine the default libpath from the value encoded in an empty executable.
9656
cat >conftest.$ac_ext <<_ACEOF
9659
cat confdefs.h >>conftest.$ac_ext
9660
cat >>conftest.$ac_ext <<_ACEOF
9661
/* end confdefs.h. */
9671
rm -f conftest.$ac_objext conftest$ac_exeext
9672
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9673
(eval $ac_link) 2>conftest.er1
9675
grep -v '^ *+' conftest.er1 >conftest.err
9677
cat conftest.err >&5
9678
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9679
(exit $ac_status); } &&
9680
{ ac_try='test -z "$ac_c_werror_flag"
9681
|| test ! -s conftest.err'
9682
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9685
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9686
(exit $ac_status); }; } &&
9687
{ ac_try='test -s conftest$ac_exeext'
9688
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9691
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9692
(exit $ac_status); }; }; then
9694
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9696
# Check for a 64-bit object if we didn't find anything.
9697
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; }
9700
echo "$as_me: failed program was:" >&5
9701
sed 's/^/| /' conftest.$ac_ext >&5
9704
rm -f conftest.err conftest.$ac_objext \
9705
conftest$ac_exeext conftest.$ac_ext
9706
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9708
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9709
# Warning - without using the other run time loading flags,
9710
# -berok will link without error, but may produce a broken library.
9711
no_undefined_flag=' ${wl}-bernotok'
9712
allow_undefined_flag=' ${wl}-berok'
9713
# -bexpall does not export symbols beginning with underscore (_)
9714
always_export_symbols=yes
9715
# Exported symbols can be pulled into shared objects from archives
9716
whole_archive_flag_spec=' '
9717
archive_cmds_need_lc=yes
9718
# This is similar to how AIX traditionally builds it's shared libraries.
9719
archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9725
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)'
9726
hardcode_libdir_flag_spec='-L$libdir'
9727
hardcode_minus_L=yes
9728
# see comment about different semantics on the GNU ld section
9733
export_dynamic_flag_spec=-rdynamic
9736
cygwin* | mingw* | pw32*)
9737
# When not using gcc, we currently assume that we are using
9738
# Microsoft Visual C++.
9739
# hardcode_libdir_flag_spec is actually meaningless, as there is
9740
# no search path for DLLs.
9741
hardcode_libdir_flag_spec=' '
9742
allow_undefined_flag=no
9743
# Tell ltmain to make .lib files, not .a files.
9745
# Tell ltmain to make .dll files, not .so files.
9747
# FIXME: Setting linknames here is a bad hack.
9748
archive_cmds='$CC -o $lib $compiler_flags $libobjs `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
9749
# The linker will automatically build a .lib file if we build a DLL.
9750
old_archive_From_new_cmds='true'
9751
# FIXME: Should let the user specify the lib program.
9752
old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
9753
fix_srcfile_path='`cygpath -w "$srcfile"`'
9754
enable_shared_with_static_runtimes=yes
9757
darwin* | rhapsody*)
9758
if test "$GXX" = yes ; then
9759
archive_cmds_need_lc=no
9761
rhapsody* | darwin1.[012])
9762
allow_undefined_flag='-undefined suppress'
9765
test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress'
9768
lt_int_apple_cc_single_mod=no
9769
output_verbose_link_cmd='echo'
9770
if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
9771
lt_int_apple_cc_single_mod=yes
9773
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
9774
archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring'
9776
archive_cmds='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $compiler_flags $deplibs -install_name $rpath/$soname $verstring'
9778
module_cmds='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs'
9779
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
9780
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
9781
archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
9783
archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $compiler_flags $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
9785
module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
9787
hardcode_automatic=yes
9788
hardcode_shlibpath_var=unsupported
9789
whole_archive_flag_spec='-all_load $convenience'
9790
link_all_deplibs=yes
9797
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9798
hardcode_libdir_flag_spec='-L$libdir'
9799
hardcode_shlibpath_var=no
9806
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9807
# support. Future versions do this automatically, but an explicit c++rt0.o
9808
# does not break anything, and helps significantly (at the cost of a little
9811
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9812
hardcode_libdir_flag_spec='-R$libdir'
9814
hardcode_shlibpath_var=no
9817
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
9819
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9821
hardcode_minus_L=yes
9822
hardcode_shlibpath_var=no
9825
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9827
archive_cmds='$CC -shared -o $lib $compiler_flags $libobjs $deplibs'
9828
hardcode_libdir_flag_spec='-R$libdir'
9830
hardcode_shlibpath_var=no
9834
if test "$GCC" = yes; then
9835
archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $compiler_flags $libobjs $deplibs~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9837
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'
9839
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9840
hardcode_libdir_separator=:
9843
# hardcode_minus_L: Not really in the search PATH,
9844
# but as the default location of the library.
9845
hardcode_minus_L=yes
9846
export_dynamic_flag_spec='${wl}-E'
9850
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9853
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
9856
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $compiler_flags $libobjs $deplibs'
9862
archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
9865
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9869
if test "$with_gnu_ld" = no; then
9872
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9873
hardcode_libdir_flag_spec_ld='+b $libdir'
9874
hardcode_libdir_separator=:
9876
hardcode_shlibpath_var=no
9879
hardcode_libdir_flag_spec='-L$libdir'
9881
hardcode_shlibpath_var=no
9883
# hardcode_minus_L: Not really in the search PATH,
9884
# but as the default location of the library.
9885
hardcode_minus_L=yes
9888
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9889
hardcode_libdir_separator=:
9891
export_dynamic_flag_spec='${wl}-E'
9893
# hardcode_minus_L: Not really in the search PATH,
9894
# but as the default location of the library.
9895
hardcode_minus_L=yes
9901
irix5* | irix6* | nonstopux*)
9902
if test "$GCC" = yes; then
9903
archive_cmds='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9905
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'
9906
hardcode_libdir_flag_spec_ld='-rpath $libdir'
9908
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9909
hardcode_libdir_separator=:
9910
link_all_deplibs=yes
9914
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
9915
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9917
archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9919
hardcode_libdir_flag_spec='-R$libdir'
9921
hardcode_shlibpath_var=no
9925
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9927
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9928
hardcode_libdir_separator=:
9929
hardcode_shlibpath_var=no
9934
hardcode_shlibpath_var=no
9935
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9936
archive_cmds='$CC -shared $pic_flag -o $lib $compiler_flags $libobjs $deplibs'
9937
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9938
export_dynamic_flag_spec='${wl}-E'
9941
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9942
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9943
hardcode_libdir_flag_spec='-R$libdir'
9946
archive_cmds='$CC -shared $pic_flag -o $lib $compiler_flags $libobjs $deplibs'
9947
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9954
hardcode_libdir_flag_spec='-L$libdir'
9955
hardcode_minus_L=yes
9956
allow_undefined_flag=unsupported
9957
archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $compiler_flags $libobjs $deplibs$output_objdir/$libname.def'
9958
old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9962
if test "$GCC" = yes; then
9963
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9964
archive_cmds='$CC -shared${allow_undefined_flag} $compiler_flags $libobjs $deplibs ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9966
allow_undefined_flag=' -expect_unresolved \*'
9967
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'
9969
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9970
hardcode_libdir_separator=:
9973
osf4* | osf5*) # as osf3* with the addition of -msym flag
9974
if test "$GCC" = yes; then
9975
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9976
archive_cmds='$CC -shared${allow_undefined_flag} $compiler_flags $libobjs $deplibs ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9977
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9979
allow_undefined_flag=' -expect_unresolved \*'
9980
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'
9981
archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
9982
$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'
9984
# Both c and cxx compiler support -rpath directly
9985
hardcode_libdir_flag_spec='-rpath $libdir'
9987
hardcode_libdir_separator=:
9991
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9992
hardcode_shlibpath_var=no
9993
export_dynamic_flag_spec='${wl}-Bexport'
9994
runpath_var=LD_RUN_PATH
9995
hardcode_runpath_var=yes
9999
no_undefined_flag=' -z text'
10000
if test "$GCC" = yes; then
10001
archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
10002
archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10003
$CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs~$rm $lib.exp'
10005
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10006
archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10007
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
10009
hardcode_libdir_flag_spec='-R$libdir'
10010
hardcode_shlibpath_var=no
10012
solaris2.[0-5] | solaris2.[0-5].*) ;;
10013
*) # Supported since Solaris 2.6 (maybe 2.5.1?)
10014
whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
10016
link_all_deplibs=yes
10020
if test "x$host_vendor" = xsequent; then
10021
# Use $CC to link under sequent, because it throws in some extra .o
10022
# files that make .init and .fini sections work.
10023
archive_cmds='$CC -G ${wl}-h $soname -o $lib $compiler_flags $libobjs $deplibs'
10025
archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10027
hardcode_libdir_flag_spec='-L$libdir'
10028
hardcode_direct=yes
10029
hardcode_minus_L=yes
10030
hardcode_shlibpath_var=no
10034
case $host_vendor in
10036
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10037
hardcode_direct=yes # is this really true???
10040
## LD is ld it makes a PLAMLIB
10041
## CC just makes a GrossModule.
10042
archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10043
reload_cmds='$CC -r -o $output$reload_objs'
10047
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10048
hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10051
runpath_var='LD_RUN_PATH'
10052
hardcode_shlibpath_var=no
10056
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10057
hardcode_shlibpath_var=no
10058
export_dynamic_flag_spec='-Bexport'
10062
if test -d /usr/nec; then
10063
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10064
hardcode_shlibpath_var=no
10065
runpath_var=LD_RUN_PATH
10066
hardcode_runpath_var=yes
10072
archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10073
hardcode_direct=yes
10074
hardcode_minus_L=no
10075
hardcode_shlibpath_var=no
10076
hardcode_runpath_var=yes
10077
runpath_var=LD_RUN_PATH
10080
sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
10081
no_undefined_flag='${wl}-z ${wl}text'
10082
if test "$GCC" = yes; then
10083
archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
10085
archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
10087
runpath_var='LD_RUN_PATH'
10088
hardcode_shlibpath_var=no
10092
no_undefined_flag=' -z text'
10093
# $CC -shared without GNU ld will not create a library from C++
10094
# object files and a static libstdc++, better avoid it by now
10095
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10096
archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10097
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
10098
hardcode_libdir_flag_spec=
10099
hardcode_shlibpath_var=no
10100
runpath_var='LD_RUN_PATH'
10104
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10105
hardcode_libdir_flag_spec='-L$libdir'
10106
hardcode_shlibpath_var=no
10115
echo "$as_me:$LINENO: result: $ld_shlibs" >&5
10116
echo "${ECHO_T}$ld_shlibs" >&6
10117
test "$ld_shlibs" = no && can_build_shared=no
10119
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10120
if test "$GCC" = yes; then
10121
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10125
# Do we need to explicitly link libc?
10127
case "x$archive_cmds_need_lc" in
10129
# Assume -lc should be added
10130
archive_cmds_need_lc=yes
10132
if test "$enable_shared" = yes && test "$GCC" = yes; then
10133
case $archive_cmds in
10135
# FIXME: we may have to deal with multi-command sequences.
10138
# Test whether the compiler implicitly links with -lc since on some
10139
# systems, -lgcc has to come before -lc. If gcc already passes -lc
10140
# to ld, don't add -lc before -lgcc.
10141
echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10142
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
10144
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10146
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10147
(eval $ac_compile) 2>&5
10149
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10150
(exit $ac_status); } 2>conftest.err; then
10153
libobjs=conftest.$ac_objext
10155
wl=$lt_prog_compiler_wl
10161
lt_save_allow_undefined_flag=$allow_undefined_flag
10162
allow_undefined_flag=
10163
if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
10164
(eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
10166
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10167
(exit $ac_status); }
10169
archive_cmds_need_lc=no
10171
archive_cmds_need_lc=yes
10173
allow_undefined_flag=$lt_save_allow_undefined_flag
10175
cat conftest.err 1>&5
10178
echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
10179
echo "${ECHO_T}$archive_cmds_need_lc" >&6
10186
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
10187
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
10188
library_names_spec=
10189
libname_spec='lib$name'
10193
postuninstall_cmds=
10197
shlibpath_overrides_runpath=unknown
10199
dynamic_linker="$host_os ld.so"
10200
sys_lib_dlsearch_path_spec="/lib /usr/lib"
10201
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10202
need_lib_prefix=unknown
10203
hardcode_into_libs=no
10205
# when you set need_version to no, make sure it does not cause -set_version
10206
# flags to be left without arguments
10207
need_version=unknown
10212
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10213
shlibpath_var=LIBPATH
10215
# AIX 3 has no versioning support, so we append a major version to the name.
10216
soname_spec='${libname}${release}${shared_ext}$major'
10223
hardcode_into_libs=yes
10224
if test "$host_cpu" = ia64; then
10225
# AIX 5 supports IA64
10226
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10227
shlibpath_var=LD_LIBRARY_PATH
10229
# With GCC up to 2.95.x, collect2 would create an import file
10230
# for dependence libraries. The import file would start with
10231
# the line `#! .'. This would cause the generated library to
10232
# depend on `.', always an invalid library. This was fixed in
10233
# development snapshots of GCC prior to 3.0.
10235
aix4 | aix4.[01] | aix4.[01].*)
10236
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10238
echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
10241
can_build_shared=no
10245
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10246
# soname into executable. Probably we can add versioning support to
10247
# collect2, so additional links can be useful in future.
10248
if test "$aix_use_runtimelinking" = yes; then
10249
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
10250
# instead of lib<name>.a to let people know that these are not
10251
# typical AIX shared libraries.
10252
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10254
# We preserve .a as extension for shared libraries through AIX4.2
10255
# and later when we are not doing run time linking.
10256
library_names_spec='${libname}${release}.a $libname.a'
10257
soname_spec='${libname}${release}${shared_ext}$major'
10259
shlibpath_var=LIBPATH
10264
library_names_spec='$libname.ixlibrary $libname.a'
10265
# Create ${libname}_ixlibrary.a entries in /sys/libs.
10266
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'
10270
library_names_spec='${libname}${shared_ext}'
10271
dynamic_linker="$host_os ld.so"
10272
shlibpath_var=LIBRARY_PATH
10278
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10279
soname_spec='${libname}${release}${shared_ext}$major'
10280
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10281
shlibpath_var=LD_LIBRARY_PATH
10282
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10283
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10284
# the default ld.so.conf also contains /usr/contrib/lib and
10285
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10286
# libtool to hard-code these into programs
10289
cygwin* | mingw* | pw32*)
10290
version_type=windows
10295
case $GCC,$host_os in
10296
yes,cygwin* | yes,mingw* | yes,pw32*)
10297
library_names_spec='$libname.dll.a'
10298
# DLL is installed to $(libdir)/../bin by postinstall_cmds
10299
postinstall_cmds='base_file=`basename \${file}`~
10300
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
10301
dldir=$destdir/`dirname \$dlpath`~
10302
test -d \$dldir || mkdir -p \$dldir~
10303
$install_prog $dir/$dlname \$dldir/$dlname'
10304
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10305
dlpath=$dir/\$dldll~
10307
shlibpath_overrides_runpath=yes
10311
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
10312
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10313
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10316
# MinGW DLLs use traditional 'lib' prefix
10317
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10318
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10319
if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
10320
# It is most probably a Windows format PATH printed by
10321
# mingw gcc, but we are running on Cygwin. Gcc prints its search
10322
# path with ; separators, and with drive letters. We can handle the
10323
# drive letters (cygwin fileutils understands them), so leave them,
10324
# especially as we might pass files found there to a mingw objdump,
10325
# which wouldn't understand a cygwinified path. Ahh.
10326
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10328
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10332
# pw32 DLLs use 'pw' prefix rather than 'lib'
10333
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
10339
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10342
dynamic_linker='Win32 ld.exe'
10343
# FIXME: first we should search . and the directory the executable is in
10347
darwin* | rhapsody*)
10348
dynamic_linker="$host_os dyld"
10349
version_type=darwin
10352
library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10353
soname_spec='${libname}${release}${major}$shared_ext'
10354
shlibpath_overrides_runpath=yes
10355
shlibpath_var=DYLD_LIBRARY_PATH
10356
shrext='$(test .$module = .yes && echo .so || echo .dylib)'
10357
# Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
10358
if test "$GCC" = yes; then
10359
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"`
10361
sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
10363
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10370
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10371
soname_spec='${libname}${release}${shared_ext}$major'
10372
shlibpath_var=LD_LIBRARY_PATH
10383
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10384
soname_spec='${libname}${release}${shared_ext}$major'
10385
shlibpath_var=LD_LIBRARY_PATH
10386
shlibpath_overrides_runpath=no
10387
hardcode_into_libs=yes
10388
dynamic_linker='GNU ld.so'
10392
objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
10393
version_type=freebsd-$objformat
10394
case $version_type in
10396
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10401
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10405
shlibpath_var=LD_LIBRARY_PATH
10408
shlibpath_overrides_runpath=yes
10410
freebsd3.01* | freebsdelf3.01*)
10411
shlibpath_overrides_runpath=yes
10412
hardcode_into_libs=yes
10415
shlibpath_overrides_runpath=no
10416
hardcode_into_libs=yes
10425
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10426
soname_spec='${libname}${release}${shared_ext}$major'
10427
shlibpath_var=LD_LIBRARY_PATH
10428
hardcode_into_libs=yes
10431
hpux9* | hpux10* | hpux11*)
10432
# Give a soname corresponding to the major version so that dld.sl refuses to
10433
# link against other versions.
10437
case "$host_cpu" in
10440
hardcode_into_libs=yes
10441
dynamic_linker="$host_os dld.so"
10442
shlibpath_var=LD_LIBRARY_PATH
10443
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10444
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10445
soname_spec='${libname}${release}${shared_ext}$major'
10446
if test "X$HPUX_IA64_MODE" = X32; then
10447
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10449
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10451
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10455
hardcode_into_libs=yes
10456
dynamic_linker="$host_os dld.sl"
10457
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10458
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10459
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10460
soname_spec='${libname}${release}${shared_ext}$major'
10461
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10462
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10466
dynamic_linker="$host_os dld.sl"
10467
shlibpath_var=SHLIB_PATH
10468
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10469
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10470
soname_spec='${libname}${release}${shared_ext}$major'
10473
# HP-UX runs *really* slowly unless shared libraries are mode 555.
10474
postinstall_cmds='chmod 555 $lib'
10477
irix5* | irix6* | nonstopux*)
10479
nonstopux*) version_type=nonstopux ;;
10481
if test "$lt_cv_prog_gnu_ld" = yes; then
10489
soname_spec='${libname}${release}${shared_ext}$major'
10490
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10492
irix5* | nonstopux*)
10493
libsuff= shlibsuff=
10496
case $LD in # libtool.m4 will add one of these switches to LD
10497
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10498
libsuff= shlibsuff= libmagic=32-bit;;
10499
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10500
libsuff=32 shlibsuff=N32 libmagic=N32;;
10501
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10502
libsuff=64 shlibsuff=64 libmagic=64-bit;;
10503
*) libsuff= shlibsuff= libmagic=never-match;;
10507
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10508
shlibpath_overrides_runpath=no
10509
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10510
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10511
hardcode_into_libs=yes
10514
# No shared lib support for Linux oldld, aout, or coff.
10515
linux*oldld* | linux*aout* | linux*coff*)
10519
# This must be Linux ELF.
10524
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10525
soname_spec='${libname}${release}${shared_ext}$major'
10526
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10528
if test "x$LINUX_64_MODE" = x64; then
10529
# Some platforms are per default 64-bit, so there's no /lib64
10530
if test -d /lib64; then
10534
shlibpath_var=LD_LIBRARY_PATH
10535
shlibpath_overrides_runpath=no
10536
sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
10537
sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
10538
# This implies no fast_install, which is unacceptable.
10539
# Some rework will be needed to allow for fast_install
10540
# before this can be enabled.
10541
hardcode_into_libs=yes
10543
# We used to test for /lib/ld.so.1 and disable shared libraries on
10544
# powerpc, because MkLinux only supported shared libraries with the
10545
# GNU dynamic linker. Since this was broken with cross compilers,
10546
# most powerpc-linux boxes support dynamic linking these days and
10547
# people can always --disable-shared, the test was removed, and we
10548
# assume the GNU/Linux dynamic linker is in use.
10549
dynamic_linker='GNU/Linux ld.so'
10556
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10557
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10558
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10559
dynamic_linker='NetBSD (a.out) ld.so'
10561
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
10562
soname_spec='${libname}${release}${shared_ext}$major'
10563
dynamic_linker='NetBSD ld.elf_so'
10565
shlibpath_var=LD_LIBRARY_PATH
10566
shlibpath_overrides_runpath=yes
10567
hardcode_into_libs=yes
10572
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10573
shlibpath_var=LD_LIBRARY_PATH
10574
shlibpath_overrides_runpath=yes
10581
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10582
soname_spec='${libname}${release}${shared_ext}$major'
10583
shlibpath_var=LD_LIBRARY_PATH
10584
shlibpath_overrides_runpath=yes
10591
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10592
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10593
shlibpath_var=LD_LIBRARY_PATH
10594
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10596
openbsd2.[89] | openbsd2.[89].*)
10597
shlibpath_overrides_runpath=no
10600
shlibpath_overrides_runpath=yes
10604
shlibpath_overrides_runpath=yes
10609
libname_spec='$name'
10612
library_names_spec='$libname${shared_ext} $libname.a'
10613
dynamic_linker='OS/2 ld.exe'
10614
shlibpath_var=LIBPATH
10617
osf3* | osf4* | osf5*)
10621
soname_spec='${libname}${release}${shared_ext}$major'
10622
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10623
shlibpath_var=LD_LIBRARY_PATH
10624
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10625
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10630
soname_spec='${libname}${release}${shared_ext}$major'
10631
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10632
shlibpath_var=LD_LIBRARY_PATH
10639
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10640
soname_spec='${libname}${release}${shared_ext}$major'
10641
shlibpath_var=LD_LIBRARY_PATH
10642
shlibpath_overrides_runpath=yes
10643
hardcode_into_libs=yes
10644
# ldd complains unless libraries are executable
10645
postinstall_cmds='chmod +x $lib'
10650
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10651
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10652
shlibpath_var=LD_LIBRARY_PATH
10653
shlibpath_overrides_runpath=yes
10654
if test "$with_gnu_ld" = yes; then
10660
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10662
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10663
soname_spec='${libname}${release}${shared_ext}$major'
10664
shlibpath_var=LD_LIBRARY_PATH
10665
case $host_vendor in
10667
shlibpath_overrides_runpath=no
10669
export_dynamic_flag_spec='${wl}-Blargedynsym'
10670
runpath_var=LD_RUN_PATH
10678
shlibpath_overrides_runpath=no
10679
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10685
if test -d /usr/nec ;then
10687
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10688
soname_spec='$libname${shared_ext}.$major'
10689
shlibpath_var=LD_LIBRARY_PATH
10695
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10696
soname_spec='${libname}${release}${shared_ext}$major'
10697
shlibpath_var=LD_LIBRARY_PATH
10704
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10705
echo "${ECHO_T}$dynamic_linker" >&6
10706
test "$dynamic_linker" = no && can_build_shared=no
10708
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10709
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
10711
if test -n "$hardcode_libdir_flag_spec" || \
10712
test -n "$runpath_var " || \
10713
test "X$hardcode_automatic"="Xyes" ; then
10715
# We can hardcode non-existant directories.
10716
if test "$hardcode_direct" != no &&
10717
# If the only mechanism to avoid hardcoding is shlibpath_var, we
10718
# have to relink, otherwise we might link with an installed library
10719
# when we should be linking with a yet-to-be-installed one
10720
## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
10721
test "$hardcode_minus_L" != no; then
10722
# Linking always hardcodes the temporary library directory.
10723
hardcode_action=relink
10725
# We can link without hardcoding, and we can hardcode nonexisting dirs.
10726
hardcode_action=immediate
10729
# We cannot hardcode anything, or else we can only hardcode existing
10731
hardcode_action=unsupported
10733
echo "$as_me:$LINENO: result: $hardcode_action" >&5
10734
echo "${ECHO_T}$hardcode_action" >&6
10736
if test "$hardcode_action" = relink; then
10737
# Fast installation is not supported
10738
enable_fast_install=no
10739
elif test "$shlibpath_overrides_runpath" = yes ||
10740
test "$enable_shared" = no; then
10741
# Fast installation is not necessary
10742
enable_fast_install=needless
10747
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10748
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
10749
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
10750
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10751
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10752
echo "$as_me:$LINENO: result: yes" >&5
10753
echo "${ECHO_T}yes" >&6
10755
# FIXME - insert some real tests, host_os isn't really good enough
10758
if test -n "$STRIP" ; then
10759
striplib="$STRIP -x"
10760
echo "$as_me:$LINENO: result: yes" >&5
10761
echo "${ECHO_T}yes" >&6
10763
echo "$as_me:$LINENO: result: no" >&5
10764
echo "${ECHO_T}no" >&6
10768
echo "$as_me:$LINENO: result: no" >&5
10769
echo "${ECHO_T}no" >&6
10774
if test "x$enable_dlopen" != xyes; then
10775
enable_dlopen=unknown
10776
enable_dlopen_self=unknown
10777
enable_dlopen_self_static=unknown
10784
lt_cv_dlopen="load_add_on"
10786
lt_cv_dlopen_self=yes
10790
lt_cv_dlopen="LoadLibrary"
10795
lt_cv_dlopen="dlopen"
10800
# if libdl is installed we need to link against it
10801
echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10802
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10803
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10804
echo $ECHO_N "(cached) $ECHO_C" >&6
10806
ac_check_lib_save_LIBS=$LIBS
10808
cat >conftest.$ac_ext <<_ACEOF
10811
cat confdefs.h >>conftest.$ac_ext
10812
cat >>conftest.$ac_ext <<_ACEOF
10813
/* end confdefs.h. */
10815
/* Override any gcc2 internal prototype to avoid an error. */
10819
/* We use char because int might match the return type of a gcc2
10820
builtin and then its argument prototype would still apply. */
10830
rm -f conftest.$ac_objext conftest$ac_exeext
10831
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10832
(eval $ac_link) 2>conftest.er1
10834
grep -v '^ *+' conftest.er1 >conftest.err
10836
cat conftest.err >&5
10837
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10838
(exit $ac_status); } &&
10839
{ ac_try='test -z "$ac_c_werror_flag"
10840
|| test ! -s conftest.err'
10841
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10842
(eval $ac_try) 2>&5
10844
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10845
(exit $ac_status); }; } &&
10846
{ ac_try='test -s conftest$ac_exeext'
10847
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10848
(eval $ac_try) 2>&5
10850
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10851
(exit $ac_status); }; }; then
10852
ac_cv_lib_dl_dlopen=yes
10854
echo "$as_me: failed program was:" >&5
10855
sed 's/^/| /' conftest.$ac_ext >&5
10857
ac_cv_lib_dl_dlopen=no
10859
rm -f conftest.err conftest.$ac_objext \
10860
conftest$ac_exeext conftest.$ac_ext
10861
LIBS=$ac_check_lib_save_LIBS
10863
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10864
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10865
if test $ac_cv_lib_dl_dlopen = yes; then
10866
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10869
lt_cv_dlopen="dyld"
10871
lt_cv_dlopen_self=yes
10878
echo "$as_me:$LINENO: checking for shl_load" >&5
10879
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
10880
if test "${ac_cv_func_shl_load+set}" = set; then
10881
echo $ECHO_N "(cached) $ECHO_C" >&6
10883
cat >conftest.$ac_ext <<_ACEOF
10886
cat confdefs.h >>conftest.$ac_ext
10887
cat >>conftest.$ac_ext <<_ACEOF
10888
/* end confdefs.h. */
10889
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10890
For example, HP-UX 11i <limits.h> declares gettimeofday. */
10891
#define shl_load innocuous_shl_load
10893
/* System header to define __stub macros and hopefully few prototypes,
10894
which can conflict with char shl_load (); below.
10895
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10896
<limits.h> exists even on freestanding compilers. */
10899
# include <limits.h>
10901
# include <assert.h>
10906
/* Override any gcc2 internal prototype to avoid an error. */
10911
/* We use char because int might match the return type of a gcc2
10912
builtin and then its argument prototype would still apply. */
10914
/* The GNU C library defines this for functions which it implements
10915
to always fail with ENOSYS. Some functions are actually named
10916
something starting with __ and the normal name is an alias. */
10917
#if defined (__stub_shl_load) || defined (__stub___shl_load)
10920
char (*f) () = shl_load;
10929
return f != shl_load;
10934
rm -f conftest.$ac_objext conftest$ac_exeext
10935
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10936
(eval $ac_link) 2>conftest.er1
10938
grep -v '^ *+' conftest.er1 >conftest.err
10940
cat conftest.err >&5
10941
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10942
(exit $ac_status); } &&
10943
{ ac_try='test -z "$ac_c_werror_flag"
10944
|| test ! -s conftest.err'
10945
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10946
(eval $ac_try) 2>&5
10948
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10949
(exit $ac_status); }; } &&
10950
{ ac_try='test -s conftest$ac_exeext'
10951
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10952
(eval $ac_try) 2>&5
10954
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10955
(exit $ac_status); }; }; then
10956
ac_cv_func_shl_load=yes
10958
echo "$as_me: failed program was:" >&5
10959
sed 's/^/| /' conftest.$ac_ext >&5
10961
ac_cv_func_shl_load=no
10963
rm -f conftest.err conftest.$ac_objext \
10964
conftest$ac_exeext conftest.$ac_ext
10966
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10967
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
10968
if test $ac_cv_func_shl_load = yes; then
10969
lt_cv_dlopen="shl_load"
10971
echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10972
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
10973
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10974
echo $ECHO_N "(cached) $ECHO_C" >&6
10976
ac_check_lib_save_LIBS=$LIBS
10978
cat >conftest.$ac_ext <<_ACEOF
10981
cat confdefs.h >>conftest.$ac_ext
10982
cat >>conftest.$ac_ext <<_ACEOF
10983
/* end confdefs.h. */
10985
/* Override any gcc2 internal prototype to avoid an error. */
10989
/* We use char because int might match the return type of a gcc2
10990
builtin and then its argument prototype would still apply. */
11000
rm -f conftest.$ac_objext conftest$ac_exeext
11001
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11002
(eval $ac_link) 2>conftest.er1
11004
grep -v '^ *+' conftest.er1 >conftest.err
11006
cat conftest.err >&5
11007
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11008
(exit $ac_status); } &&
11009
{ ac_try='test -z "$ac_c_werror_flag"
11010
|| test ! -s conftest.err'
11011
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11012
(eval $ac_try) 2>&5
11014
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11015
(exit $ac_status); }; } &&
11016
{ ac_try='test -s conftest$ac_exeext'
11017
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11018
(eval $ac_try) 2>&5
11020
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11021
(exit $ac_status); }; }; then
11022
ac_cv_lib_dld_shl_load=yes
11024
echo "$as_me: failed program was:" >&5
11025
sed 's/^/| /' conftest.$ac_ext >&5
11027
ac_cv_lib_dld_shl_load=no
11029
rm -f conftest.err conftest.$ac_objext \
11030
conftest$ac_exeext conftest.$ac_ext
11031
LIBS=$ac_check_lib_save_LIBS
11033
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11034
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
11035
if test $ac_cv_lib_dld_shl_load = yes; then
11036
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
11038
echo "$as_me:$LINENO: checking for dlopen" >&5
11039
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
11040
if test "${ac_cv_func_dlopen+set}" = set; then
11041
echo $ECHO_N "(cached) $ECHO_C" >&6
11043
cat >conftest.$ac_ext <<_ACEOF
11046
cat confdefs.h >>conftest.$ac_ext
11047
cat >>conftest.$ac_ext <<_ACEOF
11048
/* end confdefs.h. */
11049
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
11050
For example, HP-UX 11i <limits.h> declares gettimeofday. */
11051
#define dlopen innocuous_dlopen
11053
/* System header to define __stub macros and hopefully few prototypes,
11054
which can conflict with char dlopen (); below.
11055
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11056
<limits.h> exists even on freestanding compilers. */
11059
# include <limits.h>
11061
# include <assert.h>
11066
/* Override any gcc2 internal prototype to avoid an error. */
11071
/* We use char because int might match the return type of a gcc2
11072
builtin and then its argument prototype would still apply. */
11074
/* The GNU C library defines this for functions which it implements
11075
to always fail with ENOSYS. Some functions are actually named
11076
something starting with __ and the normal name is an alias. */
11077
#if defined (__stub_dlopen) || defined (__stub___dlopen)
11080
char (*f) () = dlopen;
11089
return f != dlopen;
11094
rm -f conftest.$ac_objext conftest$ac_exeext
11095
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11096
(eval $ac_link) 2>conftest.er1
11098
grep -v '^ *+' conftest.er1 >conftest.err
11100
cat conftest.err >&5
11101
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11102
(exit $ac_status); } &&
11103
{ ac_try='test -z "$ac_c_werror_flag"
11104
|| test ! -s conftest.err'
11105
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11106
(eval $ac_try) 2>&5
11108
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11109
(exit $ac_status); }; } &&
11110
{ ac_try='test -s conftest$ac_exeext'
11111
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11112
(eval $ac_try) 2>&5
11114
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11115
(exit $ac_status); }; }; then
11116
ac_cv_func_dlopen=yes
11118
echo "$as_me: failed program was:" >&5
11119
sed 's/^/| /' conftest.$ac_ext >&5
11121
ac_cv_func_dlopen=no
11123
rm -f conftest.err conftest.$ac_objext \
11124
conftest$ac_exeext conftest.$ac_ext
11126
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11127
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
11128
if test $ac_cv_func_dlopen = yes; then
11129
lt_cv_dlopen="dlopen"
11131
echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11132
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11133
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11134
echo $ECHO_N "(cached) $ECHO_C" >&6
11136
ac_check_lib_save_LIBS=$LIBS
11138
cat >conftest.$ac_ext <<_ACEOF
11141
cat confdefs.h >>conftest.$ac_ext
11142
cat >>conftest.$ac_ext <<_ACEOF
11143
/* end confdefs.h. */
11145
/* Override any gcc2 internal prototype to avoid an error. */
11149
/* We use char because int might match the return type of a gcc2
11150
builtin and then its argument prototype would still apply. */
11160
rm -f conftest.$ac_objext conftest$ac_exeext
11161
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11162
(eval $ac_link) 2>conftest.er1
11164
grep -v '^ *+' conftest.er1 >conftest.err
11166
cat conftest.err >&5
11167
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11168
(exit $ac_status); } &&
11169
{ ac_try='test -z "$ac_c_werror_flag"
11170
|| test ! -s conftest.err'
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); }; } &&
11176
{ ac_try='test -s conftest$ac_exeext'
11177
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11178
(eval $ac_try) 2>&5
11180
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11181
(exit $ac_status); }; }; then
11182
ac_cv_lib_dl_dlopen=yes
11184
echo "$as_me: failed program was:" >&5
11185
sed 's/^/| /' conftest.$ac_ext >&5
11187
ac_cv_lib_dl_dlopen=no
11189
rm -f conftest.err conftest.$ac_objext \
11190
conftest$ac_exeext conftest.$ac_ext
11191
LIBS=$ac_check_lib_save_LIBS
11193
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11194
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11195
if test $ac_cv_lib_dl_dlopen = yes; then
11196
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11198
echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11199
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
11200
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11201
echo $ECHO_N "(cached) $ECHO_C" >&6
11203
ac_check_lib_save_LIBS=$LIBS
11204
LIBS="-lsvld $LIBS"
11205
cat >conftest.$ac_ext <<_ACEOF
11208
cat confdefs.h >>conftest.$ac_ext
11209
cat >>conftest.$ac_ext <<_ACEOF
11210
/* end confdefs.h. */
11212
/* Override any gcc2 internal prototype to avoid an error. */
11216
/* We use char because int might match the return type of a gcc2
11217
builtin and then its argument prototype would still apply. */
11227
rm -f conftest.$ac_objext conftest$ac_exeext
11228
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11229
(eval $ac_link) 2>conftest.er1
11231
grep -v '^ *+' conftest.er1 >conftest.err
11233
cat conftest.err >&5
11234
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11235
(exit $ac_status); } &&
11236
{ ac_try='test -z "$ac_c_werror_flag"
11237
|| test ! -s conftest.err'
11238
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11239
(eval $ac_try) 2>&5
11241
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11242
(exit $ac_status); }; } &&
11243
{ ac_try='test -s conftest$ac_exeext'
11244
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11245
(eval $ac_try) 2>&5
11247
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11248
(exit $ac_status); }; }; then
11249
ac_cv_lib_svld_dlopen=yes
11251
echo "$as_me: failed program was:" >&5
11252
sed 's/^/| /' conftest.$ac_ext >&5
11254
ac_cv_lib_svld_dlopen=no
11256
rm -f conftest.err conftest.$ac_objext \
11257
conftest$ac_exeext conftest.$ac_ext
11258
LIBS=$ac_check_lib_save_LIBS
11260
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11261
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
11262
if test $ac_cv_lib_svld_dlopen = yes; then
11263
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11265
echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11266
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
11267
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11268
echo $ECHO_N "(cached) $ECHO_C" >&6
11270
ac_check_lib_save_LIBS=$LIBS
11272
cat >conftest.$ac_ext <<_ACEOF
11275
cat confdefs.h >>conftest.$ac_ext
11276
cat >>conftest.$ac_ext <<_ACEOF
11277
/* end confdefs.h. */
11279
/* Override any gcc2 internal prototype to avoid an error. */
11283
/* We use char because int might match the return type of a gcc2
11284
builtin and then its argument prototype would still apply. */
11294
rm -f conftest.$ac_objext conftest$ac_exeext
11295
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11296
(eval $ac_link) 2>conftest.er1
11298
grep -v '^ *+' conftest.er1 >conftest.err
11300
cat conftest.err >&5
11301
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11302
(exit $ac_status); } &&
11303
{ ac_try='test -z "$ac_c_werror_flag"
11304
|| test ! -s conftest.err'
11305
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11306
(eval $ac_try) 2>&5
11308
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11309
(exit $ac_status); }; } &&
11310
{ ac_try='test -s conftest$ac_exeext'
11311
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11312
(eval $ac_try) 2>&5
11314
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11315
(exit $ac_status); }; }; then
11316
ac_cv_lib_dld_dld_link=yes
11318
echo "$as_me: failed program was:" >&5
11319
sed 's/^/| /' conftest.$ac_ext >&5
11321
ac_cv_lib_dld_dld_link=no
11323
rm -f conftest.err conftest.$ac_objext \
11324
conftest$ac_exeext conftest.$ac_ext
11325
LIBS=$ac_check_lib_save_LIBS
11327
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11328
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
11329
if test $ac_cv_lib_dld_dld_link = yes; then
11330
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
11351
if test "x$lt_cv_dlopen" != xno; then
11357
case $lt_cv_dlopen in
11359
save_CPPFLAGS="$CPPFLAGS"
11360
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11362
save_LDFLAGS="$LDFLAGS"
11363
eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11366
LIBS="$lt_cv_dlopen_libs $LIBS"
11368
echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
11369
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
11370
if test "${lt_cv_dlopen_self+set}" = set; then
11371
echo $ECHO_N "(cached) $ECHO_C" >&6
11373
if test "$cross_compiling" = yes; then :
11374
lt_cv_dlopen_self=cross
11376
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11377
lt_status=$lt_dlunknown
11378
cat > conftest.$ac_ext <<EOF
11379
#line 11379 "configure"
11380
#include "confdefs.h"
11389
# define LT_DLGLOBAL RTLD_GLOBAL
11392
# define LT_DLGLOBAL DL_GLOBAL
11394
# define LT_DLGLOBAL 0
11398
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11399
find out it does not work in some platform. */
11400
#ifndef LT_DLLAZY_OR_NOW
11402
# define LT_DLLAZY_OR_NOW RTLD_LAZY
11405
# define LT_DLLAZY_OR_NOW DL_LAZY
11408
# define LT_DLLAZY_OR_NOW RTLD_NOW
11411
# define LT_DLLAZY_OR_NOW DL_NOW
11413
# define LT_DLLAZY_OR_NOW 0
11421
extern "C" void exit (int);
11424
void fnord() { int i=42;}
11427
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11428
int status = $lt_dlunknown;
11432
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11433
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11434
/* dlclose (self); */
11440
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11441
(eval $ac_link) 2>&5
11443
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11444
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11445
(./conftest; exit; ) 2>/dev/null
11447
case x$lt_status in
11448
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11449
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11450
x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
11453
# compilation failed
11454
lt_cv_dlopen_self=no
11461
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
11462
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
11464
if test "x$lt_cv_dlopen_self" = xyes; then
11465
LDFLAGS="$LDFLAGS $link_static_flag"
11466
echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
11467
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
11468
if test "${lt_cv_dlopen_self_static+set}" = set; then
11469
echo $ECHO_N "(cached) $ECHO_C" >&6
11471
if test "$cross_compiling" = yes; then :
11472
lt_cv_dlopen_self_static=cross
11474
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11475
lt_status=$lt_dlunknown
11476
cat > conftest.$ac_ext <<EOF
11477
#line 11477 "configure"
11478
#include "confdefs.h"
11487
# define LT_DLGLOBAL RTLD_GLOBAL
11490
# define LT_DLGLOBAL DL_GLOBAL
11492
# define LT_DLGLOBAL 0
11496
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11497
find out it does not work in some platform. */
11498
#ifndef LT_DLLAZY_OR_NOW
11500
# define LT_DLLAZY_OR_NOW RTLD_LAZY
11503
# define LT_DLLAZY_OR_NOW DL_LAZY
11506
# define LT_DLLAZY_OR_NOW RTLD_NOW
11509
# define LT_DLLAZY_OR_NOW DL_NOW
11511
# define LT_DLLAZY_OR_NOW 0
11519
extern "C" void exit (int);
11522
void fnord() { int i=42;}
11525
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11526
int status = $lt_dlunknown;
11530
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11531
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11532
/* dlclose (self); */
11538
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11539
(eval $ac_link) 2>&5
11541
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11542
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11543
(./conftest; exit; ) 2>/dev/null
11545
case x$lt_status in
11546
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11547
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11548
x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
11551
# compilation failed
11552
lt_cv_dlopen_self_static=no
11559
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11560
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
11563
CPPFLAGS="$save_CPPFLAGS"
11564
LDFLAGS="$save_LDFLAGS"
11569
case $lt_cv_dlopen_self in
11570
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11571
*) enable_dlopen_self=unknown ;;
11574
case $lt_cv_dlopen_self_static in
11575
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11576
*) enable_dlopen_self_static=unknown ;;
11581
# Report which librarie types wil actually be built
11582
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11583
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
11584
echo "$as_me:$LINENO: result: $can_build_shared" >&5
11585
echo "${ECHO_T}$can_build_shared" >&6
11587
echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11588
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
11589
test "$can_build_shared" = "no" && enable_shared=no
11591
# On AIX, shared libraries and static libraries use the same namespace, and
11592
# are all built from PIC.
11595
test "$enable_shared" = yes && enable_static=no
11596
if test -n "$RANLIB"; then
11597
archive_cmds="$archive_cmds~\$RANLIB \$lib"
11598
postinstall_cmds='$RANLIB $lib'
11603
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11604
test "$enable_shared" = yes && enable_static=no
11607
darwin* | rhapsody*)
11608
if test "$GCC" = yes; then
11609
archive_cmds_need_lc=no
11611
rhapsody* | darwin1.[012])
11612
allow_undefined_flag='-undefined suppress'
11615
test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress'
11618
output_verbose_link_cmd='echo'
11619
archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring'
11620
module_cmds='$CC $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs'
11621
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
11622
archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11623
module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11625
hardcode_automatic=yes
11626
hardcode_shlibpath_var=unsupported
11627
whole_archive_flag_spec='-all_load $convenience'
11628
link_all_deplibs=yes
11634
echo "$as_me:$LINENO: result: $enable_shared" >&5
11635
echo "${ECHO_T}$enable_shared" >&6
11637
echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11638
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
11639
# Make sure either enable_shared or enable_static is yes.
11640
test "$enable_shared" = yes || enable_static=yes
11641
echo "$as_me:$LINENO: result: $enable_static" >&5
11642
echo "${ECHO_T}$enable_static" >&6
11644
# The else clause should only fire when bootstrapping the
11645
# libtool distribution, otherwise you forgot to ship ltmain.sh
11646
# with your package, and you will get complaints that there are
11647
# no rules to generate ltmain.sh.
11648
if test -f "$ltmain"; then
11649
# See if we are running on zsh, and set the options which allow our commands through
11650
# without removal of \ escapes.
11651
if test -n "${ZSH_VERSION+set}" ; then
11652
setopt NO_GLOB_SUBST
11654
# Now quote all the things that may contain metacharacters while being
11655
# careful not to overquote the AC_SUBSTed values. We take copies of the
11656
# variables and quote the copies for generation of the libtool script.
11657
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
11658
libname_spec library_names_spec soname_spec extract_expsyms_cmds \
11659
old_striplib striplib file_magic_cmd finish_cmds finish_eval \
11660
deplibs_check_method reload_flag reload_cmds need_locks \
11661
lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
11662
lt_cv_sys_global_symbol_to_c_name_address \
11663
sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
11664
old_postinstall_cmds old_postuninstall_cmds \
11668
lt_prog_compiler_wl \
11669
lt_prog_compiler_pic \
11670
lt_prog_compiler_static \
11671
lt_prog_compiler_no_builtin_flag \
11672
export_dynamic_flag_spec \
11673
thread_safe_flag_spec \
11674
whole_archive_flag_spec \
11675
enable_shared_with_static_runtimes \
11677
old_archive_from_new_cmds \
11682
compiler_lib_search_path \
11684
archive_expsym_cmds \
11686
postuninstall_cmds \
11687
old_archive_from_expsyms_cmds \
11688
allow_undefined_flag \
11689
no_undefined_flag \
11690
export_symbols_cmds \
11691
hardcode_libdir_flag_spec \
11692
hardcode_libdir_flag_spec_ld \
11693
hardcode_libdir_separator \
11694
hardcode_automatic \
11696
module_expsym_cmds \
11697
lt_cv_prog_compiler_c_o \
11699
include_expsyms; do
11702
old_archive_cmds | \
11703
old_archive_from_new_cmds | \
11705
archive_expsym_cmds | \
11707
module_expsym_cmds | \
11708
old_archive_from_expsyms_cmds | \
11709
export_symbols_cmds | \
11710
extract_expsyms_cmds | reload_cmds | finish_cmds | \
11711
postinstall_cmds | postuninstall_cmds | \
11712
old_postinstall_cmds | old_postuninstall_cmds | \
11713
sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
11714
# Double-quote double-evaled strings.
11715
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
11718
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
11724
*'\$0 --fallback-echo"')
11725
lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
11729
cfgfile="${ofile}T"
11730
trap "$rm \"$cfgfile\"; exit 1" 1 2 15
11732
{ echo "$as_me:$LINENO: creating $ofile" >&5
11733
echo "$as_me: creating $ofile" >&6;}
11735
cat <<__EOF__ >> "$cfgfile"
11738
# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
11739
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
11740
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
11742
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
11743
# Free Software Foundation, Inc.
11745
# This file is part of GNU Libtool:
11746
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
11748
# This program is free software; you can redistribute it and/or modify
11749
# it under the terms of the GNU General Public License as published by
11750
# the Free Software Foundation; either version 2 of the License, or
11751
# (at your option) any later version.
11753
# This program is distributed in the hope that it will be useful, but
11754
# WITHOUT ANY WARRANTY; without even the implied warranty of
11755
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11756
# General Public License for more details.
11758
# You should have received a copy of the GNU General Public License
11759
# along with this program; if not, write to the Free Software
11760
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
11762
# As a special exception to the GNU General Public License, if you
11763
# distribute this file as part of a program that contains a
11764
# configuration script generated by Autoconf, you may include it under
11765
# the same distribution terms that you use for the rest of that program.
11767
# A sed program that does not truncate output.
11770
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
11771
Xsed="$SED -e s/^X//"
11773
# The HP-UX ksh and POSIX shell print the target directory to stdout
11774
# if CDPATH is set.
11775
if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
11777
# The names of the tagged configurations supported by this script.
11780
# ### BEGIN LIBTOOL CONFIG
11782
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
11784
# Shell to use when invoking shell scripts.
11787
# Whether or not to build shared libraries.
11788
build_libtool_libs=$enable_shared
11790
# Whether or not to build static libraries.
11791
build_old_libs=$enable_static
11793
# Whether or not to add -lc for building shared libraries.
11794
build_libtool_need_lc=$archive_cmds_need_lc
11796
# Whether or not to disallow shared libs when runtime libs are static
11797
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
11799
# Whether or not to optimize for fast installation.
11800
fast_install=$enable_fast_install
11803
host_alias=$host_alias
11806
# An echo program that does not interpret backslashes.
11811
AR_FLAGS=$lt_AR_FLAGS
11816
# A language-specific compiler.
11819
# Is the compiler the GNU C compiler?
11825
# The linker used to build libraries.
11828
# Whether we need hard or soft links.
11831
# A BSD-compatible nm program.
11834
# A symbol stripping program
11837
# Used to examine libraries when file_magic_cmd begins "file"
11838
MAGIC_CMD=$MAGIC_CMD
11840
# Used on cygwin: DLL creation program.
11843
# Used on cygwin: object dumper.
11846
# Used on cygwin: assembler.
11849
# The name of the directory that contains temporary libtool files.
11852
# How to create reloadable object files.
11853
reload_flag=$lt_reload_flag
11854
reload_cmds=$lt_reload_cmds
11856
# How to pass a linker flag through the compiler.
11857
wl=$lt_lt_prog_compiler_wl
11859
# Object file suffix (normally "o").
11860
objext="$ac_objext"
11862
# Old archive suffix (normally "a").
11865
# Shared library suffix (normally ".so").
11868
# Executable file suffix (normally "").
11871
# Additional compiler flags for building library objects.
11872
pic_flag=$lt_lt_prog_compiler_pic
11875
# What is the maximum length of a command?
11876
max_cmd_len=$lt_cv_sys_max_cmd_len
11878
# Does compiler simultaneously support -c and -o options?
11879
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
11881
# Must we lock files when doing compilation ?
11882
need_locks=$lt_need_locks
11884
# Do we need the lib prefix for modules?
11885
need_lib_prefix=$need_lib_prefix
11887
# Do we need a version for libraries?
11888
need_version=$need_version
11890
# Whether dlopen is supported.
11891
dlopen_support=$enable_dlopen
11893
# Whether dlopen of programs is supported.
11894
dlopen_self=$enable_dlopen_self
11896
# Whether dlopen of statically linked programs is supported.
11897
dlopen_self_static=$enable_dlopen_self_static
11899
# Compiler flag to prevent dynamic linking.
11900
link_static_flag=$lt_lt_prog_compiler_static
11902
# Compiler flag to turn off builtin functions.
11903
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
11905
# Compiler flag to allow reflexive dlopens.
11906
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
11908
# Compiler flag to generate shared objects directly from archives.
11909
whole_archive_flag_spec=$lt_whole_archive_flag_spec
11911
# Compiler flag to generate thread-safe objects.
11912
thread_safe_flag_spec=$lt_thread_safe_flag_spec
11914
# Library versioning type.
11915
version_type=$version_type
11917
# Format of library name prefix.
11918
libname_spec=$lt_libname_spec
11920
# List of archive names. First name is the real one, the rest are links.
11921
# The last name is the one that the linker finds with -lNAME.
11922
library_names_spec=$lt_library_names_spec
11924
# The coded name of the library, if different from the real name.
11925
soname_spec=$lt_soname_spec
11927
# Commands used to build and install an old-style archive.
11929
old_archive_cmds=$lt_old_archive_cmds
11930
old_postinstall_cmds=$lt_old_postinstall_cmds
11931
old_postuninstall_cmds=$lt_old_postuninstall_cmds
11933
# Create an old-style archive from a shared archive.
11934
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
11936
# Create a temporary old-style archive to link instead of a shared archive.
11937
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
11939
# Commands used to build and install a shared archive.
11940
archive_cmds=$lt_archive_cmds
11941
archive_expsym_cmds=$lt_archive_expsym_cmds
11942
postinstall_cmds=$lt_postinstall_cmds
11943
postuninstall_cmds=$lt_postuninstall_cmds
11945
# Commands used to build a loadable module (assumed same as above if empty)
11946
module_cmds=$lt_module_cmds
11947
module_expsym_cmds=$lt_module_expsym_cmds
11949
# Commands to strip libraries.
11950
old_striplib=$lt_old_striplib
11951
striplib=$lt_striplib
11953
# Dependencies to place before the objects being linked to create a
11955
predep_objects=$lt_predep_objects
11957
# Dependencies to place after the objects being linked to create a
11959
postdep_objects=$lt_postdep_objects
11961
# Dependencies to place before the objects being linked to create a
11963
predeps=$lt_predeps
11965
# Dependencies to place after the objects being linked to create a
11967
postdeps=$lt_postdeps
11969
# The library search path used internally by the compiler when linking
11970
# a shared library.
11971
compiler_lib_search_path=$lt_compiler_lib_search_path
11973
# Method to check whether dependent libraries are shared objects.
11974
deplibs_check_method=$lt_deplibs_check_method
11976
# Command to use when deplibs_check_method == file_magic.
11977
file_magic_cmd=$lt_file_magic_cmd
11979
# Flag that allows shared libraries with undefined symbols to be built.
11980
allow_undefined_flag=$lt_allow_undefined_flag
11982
# Flag that forces no undefined symbols.
11983
no_undefined_flag=$lt_no_undefined_flag
11985
# Commands used to finish a libtool library installation in a directory.
11986
finish_cmds=$lt_finish_cmds
11988
# Same as above, but a single script fragment to be evaled but not shown.
11989
finish_eval=$lt_finish_eval
11991
# Take the output of nm and produce a listing of raw symbols and C names.
11992
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
11994
# Transform the output of nm in a proper C declaration
11995
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
11997
# Transform the output of nm in a C name address pair
11998
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12000
# This is the shared library runtime path variable.
12001
runpath_var=$runpath_var
12003
# This is the shared library path variable.
12004
shlibpath_var=$shlibpath_var
12006
# Is shlibpath searched before the hard-coded library search path?
12007
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12009
# How to hardcode a shared library path into an executable.
12010
hardcode_action=$hardcode_action
12012
# Whether we should hardcode library paths into libraries.
12013
hardcode_into_libs=$hardcode_into_libs
12015
# Flag to hardcode \$libdir into a binary during linking.
12016
# This must work even if \$libdir does not exist.
12017
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
12019
# If ld is used when linking, flag to hardcode \$libdir into
12020
# a binary during linking. This must work even if \$libdir does
12022
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
12024
# Whether we need a single -rpath flag with a separated argument.
12025
hardcode_libdir_separator=$lt_hardcode_libdir_separator
12027
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
12028
# resulting binary.
12029
hardcode_direct=$hardcode_direct
12031
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
12032
# resulting binary.
12033
hardcode_minus_L=$hardcode_minus_L
12035
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
12036
# the resulting binary.
12037
hardcode_shlibpath_var=$hardcode_shlibpath_var
12039
# Set to yes if building a shared library automatically hardcodes DIR into the library
12040
# and all subsequent libraries and executables linked against it.
12041
hardcode_automatic=$hardcode_automatic
12043
# Variables whose values should be saved in libtool wrapper scripts and
12044
# restored at relink time.
12045
variables_saved_for_relink="$variables_saved_for_relink"
12047
# Whether libtool must link a program against all its dependency libraries.
12048
link_all_deplibs=$link_all_deplibs
12050
# Compile-time system search path for libraries
12051
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
12053
# Run-time system search path for libraries
12054
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12056
# Fix the shell variable \$srcfile for the compiler.
12057
fix_srcfile_path="$fix_srcfile_path"
12059
# Set to yes if exported symbols are required.
12060
always_export_symbols=$always_export_symbols
12062
# The commands to list exported symbols.
12063
export_symbols_cmds=$lt_export_symbols_cmds
12065
# The commands to extract the exported symbol list from a shared archive.
12066
extract_expsyms_cmds=$lt_extract_expsyms_cmds
12068
# Symbols that should not be listed in the preloaded symbols.
12069
exclude_expsyms=$lt_exclude_expsyms
12071
# Symbols that must always be exported.
12072
include_expsyms=$lt_include_expsyms
12074
# ### END LIBTOOL CONFIG
12081
cat <<\EOF >> "$cfgfile"
12083
# AIX sometimes has problems with the GCC collect2 program. For some
12084
# reason, if we set the COLLECT_NAMES environment variable, the problems
12085
# vanish in a puff of smoke.
12086
if test "X${COLLECT_NAMES+set}" != Xset; then
12088
export COLLECT_NAMES
12094
# We use sed instead of cat because bash on DJGPP gets confused if
12095
# if finds mixed CR/LF and LF-only lines. Since sed operates in
12096
# text mode, it properly converts lines to CR/LF. This bash problem
12097
# is reportedly fixed, but why not run on old versions too?
12098
sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
12100
mv -f "$cfgfile" "$ofile" || \
12101
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
12105
# If there is no Makefile yet, we rely on a make rule to execute
12106
# `config.status --recheck' to rerun these tests and create the
12107
# libtool script then.
12108
test -f Makefile && make "$ltmain"
12113
ac_cpp='$CPP $CPPFLAGS'
12114
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12115
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12116
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12121
# Check whether --with-tags or --without-tags was given.
12122
if test "${with_tags+set}" = set; then
12123
withval="$with_tags"
12124
tagnames="$withval"
12127
if test -f "$ltmain" && test -n "$tagnames"; then
12128
if test ! -f "${ofile}"; then
12129
{ echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
12130
echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
12133
if test -z "$LTCC"; then
12134
eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
12135
if test -z "$LTCC"; then
12136
{ echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
12137
echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
12139
{ echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
12140
echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
12144
# Extract list of available tagged configurations in $ofile.
12145
# Note that this assumes the entire list is on one line.
12146
available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
12148
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
12149
for tagname in $tagnames; do
12151
# Check whether tagname contains only valid characters
12152
case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
12154
*) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
12155
echo "$as_me: error: invalid tag name: $tagname" >&2;}
12156
{ (exit 1); exit 1; }; }
12160
if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
12162
{ { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
12163
echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
12164
{ (exit 1); exit 1; }; }
12167
# Update the list of available tags.
12168
if test -n "$tagname"; then
12169
echo appending configuration tag \"$tagname\" to $ofile
12173
if test -n "$CXX" && test "X$CXX" != "Xno"; then
12175
ac_cpp='$CXXCPP $CPPFLAGS'
12176
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12177
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12178
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12183
archive_cmds_need_lc_CXX=no
12184
allow_undefined_flag_CXX=
12185
always_export_symbols_CXX=no
12186
archive_expsym_cmds_CXX=
12187
export_dynamic_flag_spec_CXX=
12188
hardcode_direct_CXX=no
12189
hardcode_libdir_flag_spec_CXX=
12190
hardcode_libdir_flag_spec_ld_CXX=
12191
hardcode_libdir_separator_CXX=
12192
hardcode_minus_L_CXX=no
12193
hardcode_automatic_CXX=no
12195
module_expsym_cmds_CXX=
12196
link_all_deplibs_CXX=unknown
12197
old_archive_cmds_CXX=$old_archive_cmds
12198
no_undefined_flag_CXX=
12199
whole_archive_flag_spec_CXX=
12200
enable_shared_with_static_runtimes_CXX=no
12202
# Dependencies to place before and after the object being linked:
12203
predep_objects_CXX=
12204
postdep_objects_CXX=
12207
compiler_lib_search_path_CXX=
12209
# Source file extension for C++ test sources.
12212
# Object file extension for compiled C++ test sources.
12216
# Code to be used in simple compile tests
12217
lt_simple_compile_test_code="int some_variable = 0;\n"
12219
# Code to be used in simple link tests
12220
lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
12222
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
12224
# If no C compiler was specified, use CC.
12227
# Allow CC to be a program name with arguments.
12231
# Allow CC to be a program name with arguments.
12236
lt_save_with_gnu_ld=$with_gnu_ld
12237
lt_save_path_LD=$lt_cv_path_LD
12238
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12239
lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12241
unset lt_cv_prog_gnu_ld
12243
if test -n "${lt_cv_path_LDCXX+set}"; then
12244
lt_cv_path_LD=$lt_cv_path_LDCXX
12246
unset lt_cv_path_LD
12248
test -z "${LDCXX+set}" || LD=$LDCXX
12252
cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
12254
# We don't want -fno-exception wen compiling C++ code, so set the
12255
# no_builtin_flag separately
12256
if test "$GXX" = yes; then
12257
lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12259
lt_prog_compiler_no_builtin_flag_CXX=
12262
if test "$GXX" = yes; then
12263
# Set up default GNU C++ configuration
12266
# Check whether --with-gnu-ld or --without-gnu-ld was given.
12267
if test "${with_gnu_ld+set}" = set; then
12268
withval="$with_gnu_ld"
12269
test "$withval" = no || with_gnu_ld=yes
12274
if test "$GCC" = yes; then
12275
# Check if gcc -print-prog-name=ld gives a path.
12276
echo "$as_me:$LINENO: checking for ld used by $CC" >&5
12277
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
12280
# gcc leaves a trailing carriage return which upsets mingw
12281
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12283
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12286
# Accept absolute paths.
12288
re_direlt='/[^/][^/]*/\.\./'
12289
# Canonicalize the pathname of ld
12290
ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
12291
while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
12292
ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
12294
test -z "$LD" && LD="$ac_prog"
12297
# If it fails, then pretend we aren't using GCC.
12301
# If it is relative, then search for the first ld in PATH.
12302
with_gnu_ld=unknown
12305
elif test "$with_gnu_ld" = yes; then
12306
echo "$as_me:$LINENO: checking for GNU ld" >&5
12307
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
12309
echo "$as_me:$LINENO: checking for non-GNU ld" >&5
12310
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
12312
if test "${lt_cv_path_LD+set}" = set; then
12313
echo $ECHO_N "(cached) $ECHO_C" >&6
12315
if test -z "$LD"; then
12316
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12317
for ac_dir in $PATH; do
12319
test -z "$ac_dir" && ac_dir=.
12320
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12321
lt_cv_path_LD="$ac_dir/$ac_prog"
12322
# Check to see if the program is GNU ld. I'd rather use --version,
12323
# but apparently some GNU ld's only accept -v.
12324
# Break only if it was the GNU/non-GNU ld that we prefer.
12325
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12326
*GNU* | *'with BFD'*)
12327
test "$with_gnu_ld" != no && break
12330
test "$with_gnu_ld" != yes && break
12337
lt_cv_path_LD="$LD" # Let the user override the test with a path.
12341
LD="$lt_cv_path_LD"
12342
if test -n "$LD"; then
12343
echo "$as_me:$LINENO: result: $LD" >&5
12344
echo "${ECHO_T}$LD" >&6
12346
echo "$as_me:$LINENO: result: no" >&5
12347
echo "${ECHO_T}no" >&6
12349
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
12350
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
12351
{ (exit 1); exit 1; }; }
12352
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
12353
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
12354
if test "${lt_cv_prog_gnu_ld+set}" = set; then
12355
echo $ECHO_N "(cached) $ECHO_C" >&6
12357
# I'd rather use --version here, but apparently some GNU ld's only accept -v.
12358
case `$LD -v 2>&1 </dev/null` in
12359
*GNU* | *'with BFD'*)
12360
lt_cv_prog_gnu_ld=yes
12363
lt_cv_prog_gnu_ld=no
12367
echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
12368
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
12369
with_gnu_ld=$lt_cv_prog_gnu_ld
12373
# Check if GNU C++ uses GNU ld as the underlying linker, since the
12374
# archiving commands below assume that GNU ld is being used.
12375
if test "$with_gnu_ld" = yes; then
12376
archive_cmds_CXX='$CC -shared -nostdlib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $wl$soname -o $lib'
12377
archive_expsym_cmds_CXX='$CC -shared -nostdlib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12379
hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12380
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12382
# If archive_cmds runs LD, not CC, wlarc should be empty
12383
# XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12384
# investigate it a little bit more. (MM)
12387
# ancient GNU ld didn't support --whole-archive et. al.
12388
if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
12389
grep 'no-whole-archive' > /dev/null; then
12390
whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12392
whole_archive_flag_spec_CXX=
12398
# A generic and very simple default shared library creation
12399
# command for GNU C++ for the case where it uses the native
12400
# linker, instead of GNU ld. If possible, this setting should
12401
# overridden to take advantage of the native linker features on
12402
# the platform it is being used on.
12403
archive_cmds_CXX='$CC -shared -nostdlib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects -o $lib'
12406
# Commands to make compiler produce verbose output that lists
12407
# what "hidden" libraries, object files and flags are used when
12408
# linking a shared library.
12409
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12417
# PORTME: fill in a description of your system's C++ link characteristics
12418
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12419
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
12423
# FIXME: insert proper C++ library support
12427
if test "$host_cpu" = ia64; then
12428
# On IA64, the linker does run time linking by default, so we don't
12429
# have to do anything special.
12430
aix_use_runtimelinking=no
12431
exp_sym_flag='-Bexport'
12434
# KDE requires run time linking. Make it the default.
12435
aix_use_runtimelinking=yes
12436
exp_sym_flag='-bexport'
12437
no_entry_flag='-bnoentry'
12440
# When large executables or shared objects are built, AIX ld can
12441
# have problems creating the table of contents. If linking a library
12442
# or program results in "error TOC overflow" add -mminimal-toc to
12443
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12444
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12446
archive_cmds_CXX=''
12447
hardcode_direct_CXX=yes
12448
hardcode_libdir_separator_CXX=':'
12449
link_all_deplibs_CXX=yes
12451
if test "$GXX" = yes; then
12452
case $host_os in aix4.012|aix4.012.*)
12453
# We only want to do this on AIX 4.2 and lower, the check
12454
# below for broken collect2 doesn't work under 4.3+
12455
collect2name=`${CC} -print-prog-name=collect2`
12456
if test -f "$collect2name" && \
12457
strings "$collect2name" | grep resolve_lib_name >/dev/null
12459
# We have reworked collect2
12460
hardcode_direct_CXX=yes
12462
# We have old collect2
12463
hardcode_direct_CXX=unsupported
12464
# It fails to find uninstalled libraries when the uninstalled
12465
# path is not listed in the libpath. Setting hardcode_minus_L
12466
# to unsupported forces relinking
12467
hardcode_minus_L_CXX=yes
12468
hardcode_libdir_flag_spec_CXX='-L$libdir'
12469
hardcode_libdir_separator_CXX=
12472
shared_flag='-shared'
12475
if test "$host_cpu" = ia64; then
12476
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12477
# chokes on -Wl,-G. The following line is correct:
12480
if test "$aix_use_runtimelinking" = yes; then
12481
shared_flag='-qmkshrobj ${wl}-G'
12483
shared_flag='-qmkshrobj'
12488
# Let the compiler handle the export list.
12489
always_export_symbols_CXX=no
12490
if test "$aix_use_runtimelinking" = yes; then
12491
# Warning - without using the other runtime loading flags (-brtl),
12492
# -berok will link without error, but may produce a broken library.
12493
allow_undefined_flag_CXX='-berok'
12494
# Determine the default libpath from the value encoded in an empty executable.
12495
cat >conftest.$ac_ext <<_ACEOF
12498
cat confdefs.h >>conftest.$ac_ext
12499
cat >>conftest.$ac_ext <<_ACEOF
12500
/* end confdefs.h. */
12510
rm -f conftest.$ac_objext conftest$ac_exeext
12511
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12512
(eval $ac_link) 2>conftest.er1
12514
grep -v '^ *+' conftest.er1 >conftest.err
12516
cat conftest.err >&5
12517
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12518
(exit $ac_status); } &&
12519
{ ac_try='test -z "$ac_cxx_werror_flag"
12520
|| test ! -s conftest.err'
12521
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12522
(eval $ac_try) 2>&5
12524
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12525
(exit $ac_status); }; } &&
12526
{ ac_try='test -s conftest$ac_exeext'
12527
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12528
(eval $ac_try) 2>&5
12530
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12531
(exit $ac_status); }; }; then
12533
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
12535
# Check for a 64-bit object if we didn't find anything.
12536
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; }
12539
echo "$as_me: failed program was:" >&5
12540
sed 's/^/| /' conftest.$ac_ext >&5
12543
rm -f conftest.err conftest.$ac_objext \
12544
conftest$ac_exeext conftest.$ac_ext
12545
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12547
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12549
archive_cmds_CXX="\$CC"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '" $shared_flag"
12550
archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
12552
if test "$host_cpu" = ia64; then
12553
hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12554
allow_undefined_flag_CXX="-z nodefs"
12555
archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
12557
# Determine the default libpath from the value encoded in an empty executable.
12558
cat >conftest.$ac_ext <<_ACEOF
12561
cat confdefs.h >>conftest.$ac_ext
12562
cat >>conftest.$ac_ext <<_ACEOF
12563
/* end confdefs.h. */
12573
rm -f conftest.$ac_objext conftest$ac_exeext
12574
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12575
(eval $ac_link) 2>conftest.er1
12577
grep -v '^ *+' conftest.er1 >conftest.err
12579
cat conftest.err >&5
12580
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12581
(exit $ac_status); } &&
12582
{ ac_try='test -z "$ac_cxx_werror_flag"
12583
|| test ! -s conftest.err'
12584
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12585
(eval $ac_try) 2>&5
12587
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12588
(exit $ac_status); }; } &&
12589
{ ac_try='test -s conftest$ac_exeext'
12590
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12591
(eval $ac_try) 2>&5
12593
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12594
(exit $ac_status); }; }; then
12596
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
12598
# Check for a 64-bit object if we didn't find anything.
12599
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; }
12602
echo "$as_me: failed program was:" >&5
12603
sed 's/^/| /' conftest.$ac_ext >&5
12606
rm -f conftest.err conftest.$ac_objext \
12607
conftest$ac_exeext conftest.$ac_ext
12608
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12610
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12611
# Warning - without using the other run time loading flags,
12612
# -berok will link without error, but may produce a broken library.
12613
no_undefined_flag_CXX=' ${wl}-bernotok'
12614
allow_undefined_flag_CXX=' ${wl}-berok'
12615
# -bexpall does not export symbols beginning with underscore (_)
12616
always_export_symbols_CXX=yes
12617
# Exported symbols can be pulled into shared objects from archives
12618
whole_archive_flag_spec_CXX=' '
12619
archive_cmds_need_lc_CXX=yes
12620
# This is similar to how AIX traditionally builds it's shared libraries.
12621
archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
12626
case $cc_basename in
12628
# FIXME: insert proper C++ library support
12634
cygwin* | mingw* | pw32*)
12635
# _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12636
# as there is no search path for DLLs.
12637
hardcode_libdir_flag_spec_CXX='-L$libdir'
12638
allow_undefined_flag_CXX=no
12639
always_export_symbols_CXX=no
12640
enable_shared_with_static_runtimes_CXX=yes
12642
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
12643
archive_cmds_CXX='$CC -shared -nostdlib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
12644
# If the export-symbols file already is a .def file (1st line
12645
# is EXPORTS), use it as is; otherwise, prepend...
12646
archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12647
cp $export_symbols $output_objdir/$soname.def;
12649
echo EXPORTS > $output_objdir/$soname.def;
12650
cat $export_symbols >> $output_objdir/$soname.def;
12652
$CC -shared -nostdlib $output_objdir/$soname.def $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
12658
darwin* | rhapsody*)
12659
if test "$GXX" = yes; then
12660
archive_cmds_need_lc_CXX=no
12662
rhapsody* | darwin1.[012])
12663
allow_undefined_flag_CXX='-undefined suppress'
12666
test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
12669
lt_int_apple_cc_single_mod=no
12670
output_verbose_link_cmd='echo'
12671
if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
12672
lt_int_apple_cc_single_mod=yes
12674
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
12675
archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring'
12677
archive_cmds_CXX='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $compiler_flags $deplibs -install_name $rpath/$soname $verstring'
12679
module_cmds_CXX='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs'
12681
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
12682
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
12683
archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12685
archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $compiler_flags $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12687
module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12688
hardcode_direct_CXX=no
12689
hardcode_automatic_CXX=yes
12690
hardcode_shlibpath_var_CXX=unsupported
12691
whole_archive_flag_spec_CXX='-all_load $convenience'
12692
link_all_deplibs_CXX=yes
12699
case $cc_basename in
12701
# FIXME: insert proper C++ library support
12705
# Green Hills C++ Compiler
12706
# FIXME: insert proper C++ library support
12710
# FIXME: insert proper C++ library support
12716
# C++ shared libraries reported to be fairly broken before switch to ELF
12720
archive_cmds_need_lc_CXX=no
12723
# FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12730
hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12731
hardcode_libdir_separator_CXX=:
12732
export_dynamic_flag_spec_CXX='${wl}-E'
12733
hardcode_direct_CXX=yes
12734
hardcode_minus_L_CXX=yes # Not in the search PATH,
12735
# but as the default
12736
# location of the library.
12738
case $cc_basename in
12740
# FIXME: insert proper C++ library support
12744
archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12745
# Commands to make compiler produce verbose output that lists
12746
# what "hidden" libraries, object files and flags are used when
12747
# linking a shared library.
12749
# There doesn't appear to be a way to prevent this compiler from
12750
# explicitly linking system object files so we need to strip them
12751
# from the output so that they don't get included in the library
12753
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'
12756
if test "$GXX" = yes; then
12757
archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12759
# FIXME: insert proper C++ library support
12766
if test $with_gnu_ld = no; then
12767
case "$host_cpu" in
12769
hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12770
hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
12771
hardcode_libdir_separator_CXX=:
12774
hardcode_libdir_flag_spec_CXX='-L$libdir'
12777
hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12778
hardcode_libdir_separator_CXX=:
12779
export_dynamic_flag_spec_CXX='${wl}-E'
12783
case "$host_cpu" in
12785
hardcode_direct_CXX=no
12786
hardcode_shlibpath_var_CXX=no
12789
hardcode_direct_CXX=no
12790
hardcode_shlibpath_var_CXX=no
12791
hardcode_minus_L_CXX=yes # Not in the search PATH,
12792
# but as the default
12793
# location of the library.
12796
hardcode_direct_CXX=yes
12797
hardcode_minus_L_CXX=yes # Not in the search PATH,
12798
# but as the default
12799
# location of the library.
12803
case $cc_basename in
12805
# FIXME: insert proper C++ library support
12809
case "$host_cpu" in
12811
archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
12814
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects'
12817
# Commands to make compiler produce verbose output that lists
12818
# what "hidden" libraries, object files and flags are used when
12819
# linking a shared library.
12821
# There doesn't appear to be a way to prevent this compiler from
12822
# explicitly linking system object files so we need to strip them
12823
# from the output so that they don't get included in the library
12825
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'
12828
if test "$GXX" = yes; then
12829
if test $with_gnu_ld = no; then
12830
case "$host_cpu" in
12832
archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
12835
archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects'
12840
# FIXME: insert proper C++ library support
12847
case $cc_basename in
12850
archive_cmds_CXX='$CC -shared -all -multigot $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
12852
# Archives containing C++ object files must be created using
12853
# "CC -ar", where "CC" is the IRIX C++ compiler. This is
12854
# necessary to make sure instantiated templates are included
12856
old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12859
if test "$GXX" = yes; then
12860
if test "$with_gnu_ld" = no; then
12861
archive_cmds_CXX='$CC -shared -nostdlib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
12863
archive_cmds_CXX='$CC -shared -nostdlib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
12866
link_all_deplibs_CXX=yes
12869
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12870
hardcode_libdir_separator_CXX=:
12873
case $cc_basename in
12875
# Kuck and Associates, Inc. (KAI) C++ Compiler
12877
# KCC will only create a shared library if the output file
12878
# ends with ".so" (or ".sl" for HP-UX), so rename the library
12879
# to its proper name (with version) after linking.
12880
archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects --soname $soname -o \$templib; mv \$templib $lib'
12881
archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
12882
# Commands to make compiler produce verbose output that lists
12883
# what "hidden" libraries, object files and flags are used when
12884
# linking a shared library.
12886
# There doesn't appear to be a way to prevent this compiler from
12887
# explicitly linking system object files so we need to strip them
12888
# from the output so that they don't get included in the library
12890
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'
12892
hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
12893
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12895
# Archives containing C++ object files must be created using
12896
# "CC -Bstatic", where "CC" is the KAI C++ compiler.
12897
old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12902
archive_cmds_need_lc_CXX=no
12903
archive_cmds_CXX='$CC -shared $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $wl$soname -o $lib'
12904
archive_expsym_cmds_CXX='$CC -shared $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12905
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12906
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12907
whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12911
archive_cmds_CXX='$CC -shared $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $wl$soname -o $lib'
12912
archive_expsym_cmds_CXX='$CC -shared $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
12914
runpath_var=LD_RUN_PATH
12915
hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12916
hardcode_libdir_separator_CXX=:
12918
# Commands to make compiler produce verbose output that lists
12919
# what "hidden" libraries, object files and flags are used when
12920
# linking a shared library.
12922
# There doesn't appear to be a way to prevent this compiler from
12923
# explicitly linking system object files so we need to strip them
12924
# from the output so that they don't get included in the library
12926
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'
12931
# FIXME: insert proper C++ library support
12935
# FIXME: insert proper C++ library support
12939
case $cc_basename in
12941
# FIXME: insert proper C++ library support
12945
# FIXME: insert proper C++ library support
12951
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
12952
archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12954
hardcode_libdir_flag_spec_CXX='-R$libdir'
12955
hardcode_direct_CXX=yes
12956
hardcode_shlibpath_var_CXX=no
12958
# Workaround some broken pre-1.5 toolchains
12959
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12962
case $cc_basename in
12964
# Kuck and Associates, Inc. (KAI) C++ Compiler
12966
# KCC will only create a shared library if the output file
12967
# ends with ".so" (or ".sl" for HP-UX), so rename the library
12968
# to its proper name (with version) after linking.
12969
archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects --soname $soname -o \$templib; mv \$templib $lib'
12971
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12972
hardcode_libdir_separator_CXX=:
12974
# Archives containing C++ object files must be created using
12975
# "CC -Bstatic", where "CC" is the KAI C++ compiler.
12976
old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12980
# Rational C++ 2.4.1
12981
# FIXME: insert proper C++ library support
12985
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12986
archive_cmds_CXX='$CC -shared${allow_undefined_flag} $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
12988
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12989
hardcode_libdir_separator_CXX=:
12991
# Commands to make compiler produce verbose output that lists
12992
# what "hidden" libraries, object files and flags are used when
12993
# linking a shared library.
12995
# There doesn't appear to be a way to prevent this compiler from
12996
# explicitly linking system object files so we need to strip them
12997
# from the output so that they don't get included in the library
12999
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'
13002
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13003
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13004
archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
13006
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13007
hardcode_libdir_separator_CXX=:
13009
# Commands to make compiler produce verbose output that lists
13010
# what "hidden" libraries, object files and flags are used when
13011
# linking a shared library.
13012
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
13015
# FIXME: insert proper C++ library support
13022
case $cc_basename in
13024
# Kuck and Associates, Inc. (KAI) C++ Compiler
13026
# KCC will only create a shared library if the output file
13027
# ends with ".so" (or ".sl" for HP-UX), so rename the library
13028
# to its proper name (with version) after linking.
13029
archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects --soname $soname -o \$templib; mv \$templib $lib'
13031
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13032
hardcode_libdir_separator_CXX=:
13034
# Archives containing C++ object files must be created using
13035
# the KAI C++ compiler.
13036
old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
13039
# Rational C++ 2.4.1
13040
# FIXME: insert proper C++ library support
13044
allow_undefined_flag_CXX=' -expect_unresolved \*'
13045
archive_cmds_CXX='$CC -shared${allow_undefined_flag} $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
13046
archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13047
echo "-hidden">> $lib.exp~
13048
$CC -shared$allow_undefined_flag $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry $objdir/so_locations -o $lib~
13051
hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13052
hardcode_libdir_separator_CXX=:
13054
# Commands to make compiler produce verbose output that lists
13055
# what "hidden" libraries, object files and flags are used when
13056
# linking a shared library.
13058
# There doesn't appear to be a way to prevent this compiler from
13059
# explicitly linking system object files so we need to strip them
13060
# from the output so that they don't get included in the library
13062
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'
13065
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13066
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13067
archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
13069
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13070
hardcode_libdir_separator_CXX=:
13072
# Commands to make compiler produce verbose output that lists
13073
# what "hidden" libraries, object files and flags are used when
13074
# linking a shared library.
13075
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
13078
# FIXME: insert proper C++ library support
13085
# FIXME: insert proper C++ library support
13089
archive_cmds_need_lc_CXX=no
13090
case $cc_basename in
13092
# FIXME: insert proper C++ library support
13096
# FIXME: insert proper C++ library support
13102
case $cc_basename in
13105
# FIXME: insert proper C++ library support
13110
# FIXME: insert proper C++ library support
13114
# FIXME: insert proper C++ library support
13120
case $cc_basename in
13122
# Sun C++ 4.2, 5.x and Centerline C++
13123
no_undefined_flag_CXX=' -zdefs'
13124
archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects'
13125
archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13126
$CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects~$rm $lib.exp'
13128
hardcode_libdir_flag_spec_CXX='-R$libdir'
13129
hardcode_shlibpath_var_CXX=no
13131
solaris2.0-5 | solaris2.0-5.*) ;;
13133
# The C++ compiler is used as linker so we must use $wl
13134
# flag to pass the commands to the underlying system
13136
# Supported since Solaris 2.6 (maybe 2.5.1?)
13137
whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13140
link_all_deplibs_CXX=yes
13142
# Commands to make compiler produce verbose output that lists
13143
# what "hidden" libraries, object files and flags are used when
13144
# linking a shared library.
13146
# There doesn't appear to be a way to prevent this compiler from
13147
# explicitly linking system object files so we need to strip them
13148
# from the output so that they don't get included in the library
13150
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'
13152
# Archives containing C++ object files must be created using
13153
# "CC -xar", where "CC" is the Sun C++ compiler. This is
13154
# necessary to make sure instantiated templates are included
13156
old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13159
# Green Hills C++ Compiler
13160
archive_cmds_CXX='$CC -shared $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-h $wl$soname -o $lib'
13162
# The C++ compiler must be used to create the archive.
13163
old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13166
# GNU C++ compiler with Solaris linker
13167
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13168
no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13169
if $CC --version | grep -v '^2\.7' > /dev/null; then
13170
archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-h $wl$soname -o $lib'
13171
archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13172
$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects~$rm $lib.exp'
13174
# Commands to make compiler produce verbose output that lists
13175
# what "hidden" libraries, object files and flags are used when
13176
# linking a shared library.
13177
output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
13179
# g++ 2.7 appears to require `-G' NOT `-shared' on this
13181
archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-h $wl$soname -o $lib'
13182
archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13183
$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects~$rm $lib.exp'
13185
# Commands to make compiler produce verbose output that lists
13186
# what "hidden" libraries, object files and flags are used when
13187
# linking a shared library.
13188
output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
13191
hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13196
sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
13197
archive_cmds_need_lc_CXX=no
13200
case $cc_basename in
13202
# NonStop-UX NCC 3.20
13203
# FIXME: insert proper C++ library support
13207
# FIXME: insert proper C++ library support
13213
# FIXME: insert proper C++ library support
13217
# FIXME: insert proper C++ library support
13221
echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13222
echo "${ECHO_T}$ld_shlibs_CXX" >&6
13223
test "$ld_shlibs_CXX" = no && can_build_shared=no
13229
## There is no encapsulation within the following macros, do not change
13230
## the running order or otherwise move them around unless you know exactly
13231
## what you are doing...
13233
cat > conftest.$ac_ext <<EOF
13237
Foo (void) { a = 0; }
13243
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13244
(eval $ac_compile) 2>&5
13246
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13247
(exit $ac_status); }; then
13248
# Parse the compiler output and extract the necessary
13249
# objects, libraries and library flags.
13251
# Sentinel used to keep track of whether or not we are before
13252
# the conftest object file.
13253
pre_test_object_deps_done=no
13255
# The `*' in the case matches for architectures that use `case' in
13256
# $output_verbose_cmd can trigger glob expansion during the loop
13257
# eval without this substitution.
13258
output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
13260
for p in `eval $output_verbose_link_cmd`; do
13264
# Some compilers place space between "-{L,R}" and the path.
13265
# Remove the space.
13266
if test $p = "-L" \
13267
|| test $p = "-R"; then
13274
if test "$pre_test_object_deps_done" = no; then
13277
# Internal compiler library paths should come after those
13278
# provided the user. The postdeps already come after the
13279
# user supplied libs so there is no need to process them.
13280
if test -z "$compiler_lib_search_path_CXX"; then
13281
compiler_lib_search_path_CXX="${prev}${p}"
13283
compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13286
# The "-l" case would never come before the object being
13287
# linked, so don't bother handling this case.
13290
if test -z "$postdeps_CXX"; then
13291
postdeps_CXX="${prev}${p}"
13293
postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13298
*.$objext|*.$libext)
13299
# This assumes that the test object file only shows up
13300
# once in the compiler output.
13301
if test "$p" = "conftest.$objext"; then
13302
pre_test_object_deps_done=yes
13306
if test "$pre_test_object_deps_done" = no; then
13307
if test -z "$predep_objects_CXX"; then
13308
predep_objects_CXX="$p"
13310
predep_objects_CXX="$predep_objects_CXX $p"
13313
if test -z "$postdep_objects_CXX"; then
13314
postdep_objects_CXX="$p"
13316
postdep_objects_CXX="$postdep_objects_CXX $p"
13321
*) ;; # Ignore the rest.
13329
echo "libtool.m4: error: problem compiling CXX test program"
13332
$rm -f confest.$objext
13334
case " $postdeps_CXX " in
13335
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
13338
lt_prog_compiler_wl_CXX=
13339
lt_prog_compiler_pic_CXX=
13340
lt_prog_compiler_static_CXX=
13342
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13343
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
13345
# C++ specific cases for pic, static, wl, etc.
13346
if test "$GXX" = yes; then
13347
lt_prog_compiler_wl_CXX='-Wl,'
13348
lt_prog_compiler_static_CXX='-static'
13352
# All AIX code is PIC.
13353
if test "$host_cpu" = ia64; then
13354
# AIX 5 now supports IA64 processor
13355
lt_prog_compiler_static_CXX='-Bstatic'
13359
# FIXME: we need at least 68020 code to build shared libraries, but
13360
# adding the `-m68020' flag to GCC prevents building anything better,
13362
lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13364
beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13365
# PIC is the default for these OSes.
13367
mingw* | os2* | pw32*)
13368
# This hack is so that the source file can tell whether it is being
13369
# built for inclusion in a dll (and should export symbols for example).
13370
lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13372
darwin* | rhapsody*)
13373
# PIC is the default on this platform
13374
# Common symbols not allowed in MH_DYLIB files
13375
lt_prog_compiler_pic_CXX='-fno-common'
13378
# DJGPP does not support shared libraries at all
13379
lt_prog_compiler_pic_CXX=
13382
if test -d /usr/nec; then
13383
lt_prog_compiler_pic_CXX=-Kconform_pic
13387
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13388
# not for PA HP-UX.
13389
case "$host_cpu" in
13393
lt_prog_compiler_pic_CXX='-fPIC'
13398
lt_prog_compiler_pic_CXX='-fPIC'
13404
# All AIX code is PIC.
13405
if test "$host_cpu" = ia64; then
13406
# AIX 5 now supports IA64 processor
13407
lt_prog_compiler_static_CXX='-Bstatic'
13409
lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13413
case $cc_basename in
13415
# Green Hills C++ Compiler
13416
# _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"
13421
case $cc_basename in
13423
lt_prog_compiler_pic_CXX='-KPIC'
13426
# Green Hills C++ Compiler
13427
lt_prog_compiler_pic_CXX='-pic'
13434
# FreeBSD uses GNU C++
13436
hpux9* | hpux10* | hpux11*)
13437
case $cc_basename in
13439
lt_prog_compiler_wl_CXX='-Wl,'
13440
lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
13441
if test "$host_cpu" != ia64; then
13442
lt_prog_compiler_pic_CXX='+Z'
13446
lt_prog_compiler_wl_CXX='-Wl,'
13447
lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
13448
case "$host_cpu" in
13453
lt_prog_compiler_pic_CXX='+Z'
13461
irix5* | irix6* | nonstopux*)
13462
case $cc_basename in
13464
lt_prog_compiler_wl_CXX='-Wl,'
13465
lt_prog_compiler_static_CXX='-non_shared'
13466
# CC pic flag -KPIC is the default.
13473
case $cc_basename in
13476
lt_prog_compiler_wl_CXX='--backend -Wl,'
13477
lt_prog_compiler_pic_CXX='-fPIC'
13481
lt_prog_compiler_wl_CXX='-Wl,'
13482
lt_prog_compiler_pic_CXX='-KPIC'
13483
lt_prog_compiler_static_CXX='-static'
13487
# Make sure the PIC flag is empty. It appears that all Alpha
13488
# Linux and Compaq Tru64 Unix objects are PIC.
13489
lt_prog_compiler_pic_CXX=
13490
lt_prog_compiler_static_CXX='-non_shared'
13501
case $cc_basename in
13503
lt_prog_compiler_pic_CXX='-W c,exportall'
13511
osf3* | osf4* | osf5*)
13512
case $cc_basename in
13514
lt_prog_compiler_wl_CXX='--backend -Wl,'
13517
# Rational C++ 2.4.1
13518
lt_prog_compiler_pic_CXX='-pic'
13521
# Digital/Compaq C++
13522
lt_prog_compiler_wl_CXX='-Wl,'
13523
# Make sure the PIC flag is empty. It appears that all Alpha
13524
# Linux and Compaq Tru64 Unix objects are PIC.
13525
lt_prog_compiler_pic_CXX=
13526
lt_prog_compiler_static_CXX='-non_shared'
13535
case $cc_basename in
13537
lt_prog_compiler_pic_CXX='-fPIC'
13544
case $cc_basename in
13546
# Sun C++ 4.2, 5.x and Centerline C++
13547
lt_prog_compiler_pic_CXX='-KPIC'
13548
lt_prog_compiler_static_CXX='-Bstatic'
13549
lt_prog_compiler_wl_CXX='-Qoption ld '
13552
# Green Hills C++ Compiler
13553
lt_prog_compiler_pic_CXX='-PIC'
13560
case $cc_basename in
13563
lt_prog_compiler_pic_CXX='-pic'
13564
lt_prog_compiler_static_CXX='-Bstatic'
13568
lt_prog_compiler_pic_CXX='-pic'
13575
case $cc_basename in
13577
# NonStop-UX NCC 3.20
13578
lt_prog_compiler_pic_CXX='-KPIC'
13589
lt_prog_compiler_can_build_shared_CXX=no
13594
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
13595
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
13598
# Check to make sure the PIC flag actually works.
13600
if test -n "$lt_prog_compiler_pic_CXX"; then
13602
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13603
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
13604
if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
13605
echo $ECHO_N "(cached) $ECHO_C" >&6
13607
lt_prog_compiler_pic_works_CXX=no
13608
ac_outfile=conftest.$ac_objext
13609
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13610
lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13611
# Insert the option either (1) after the last *FLAGS variable, or
13612
# (2) before a word containing "conftest.", or (3) at the end.
13613
# Note that $ac_compile itself does not contain backslashes and begins
13614
# with a dollar sign (not a hyphen), so the echo should work correctly.
13615
# The option is referenced via a variable to avoid confusing sed.
13616
lt_compile=`echo "$ac_compile" | $SED \
13617
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13618
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13619
-e 's:$: $lt_compiler_flag:'`
13620
(eval echo "\"\$as_me:13620: $lt_compile\"" >&5)
13621
(eval "$lt_compile" 2>conftest.err)
13623
cat conftest.err >&5
13624
echo "$as_me:13624: \$? = $ac_status" >&5
13625
if (exit $ac_status) && test -s "$ac_outfile"; then
13626
# The compiler can only warn and ignore the option if not recognized
13627
# So say no if there are warnings
13628
if test ! -s conftest.err; then
13629
lt_prog_compiler_pic_works_CXX=yes
13635
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
13636
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
13638
if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
13639
case $lt_prog_compiler_pic_CXX in
13641
*) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13644
lt_prog_compiler_pic_CXX=
13645
lt_prog_compiler_can_build_shared_CXX=no
13650
# For platforms which do not support PIC, -DPIC is meaningless:
13652
lt_prog_compiler_pic_CXX=
13655
lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13659
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13660
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13661
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
13662
echo $ECHO_N "(cached) $ECHO_C" >&6
13664
lt_cv_prog_compiler_c_o_CXX=no
13665
$rm -r conftest 2>/dev/null
13669
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13671
# According to Tom Tromey, Ian Lance Taylor reported there are C compilers
13672
# that will create temporary files in the current directory regardless of
13673
# the output directory. Thus, making CWD read-only will cause this test
13674
# to fail, enabling locking or at least warning the user not to do parallel
13678
lt_compiler_flag="-o out/conftest2.$ac_objext"
13679
# Insert the option either (1) after the last *FLAGS variable, or
13680
# (2) before a word containing "conftest.", or (3) at the end.
13681
# Note that $ac_compile itself does not contain backslashes and begins
13682
# with a dollar sign (not a hyphen), so the echo should work correctly.
13683
lt_compile=`echo "$ac_compile" | $SED \
13684
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13685
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13686
-e 's:$: $lt_compiler_flag:'`
13687
(eval echo "\"\$as_me:13687: $lt_compile\"" >&5)
13688
(eval "$lt_compile" 2>out/conftest.err)
13690
cat out/conftest.err >&5
13691
echo "$as_me:13691: \$? = $ac_status" >&5
13692
if (exit $ac_status) && test -s out/conftest2.$ac_objext
13694
# The compiler can only warn and ignore the option if not recognized
13695
# So say no if there are warnings
13696
if test ! -s out/conftest.err; then
13697
lt_cv_prog_compiler_c_o_CXX=yes
13701
$rm conftest* out/*
13708
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13709
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
13712
hard_links="nottested"
13713
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13714
# do not overwrite the value of need_locks provided by the user
13715
echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13716
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13719
ln conftest.a conftest.b 2>/dev/null && hard_links=no
13721
ln conftest.a conftest.b 2>&5 || hard_links=no
13722
ln conftest.a conftest.b 2>/dev/null && hard_links=no
13723
echo "$as_me:$LINENO: result: $hard_links" >&5
13724
echo "${ECHO_T}$hard_links" >&6
13725
if test "$hard_links" = no; then
13726
{ echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13727
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13734
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13735
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13737
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13740
# If we're using GNU nm, then we don't want the "-C" option.
13741
# -C means demangle to AIX nm, but means don't demangle with GNU nm
13742
if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
13743
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'
13745
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'
13749
export_symbols_cmds_CXX="$ltdll_cmds"
13752
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
13755
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13759
echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13760
echo "${ECHO_T}$ld_shlibs_CXX" >&6
13761
test "$ld_shlibs_CXX" = no && can_build_shared=no
13763
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13764
if test "$GCC" = yes; then
13765
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13769
# Do we need to explicitly link libc?
13771
case "x$archive_cmds_need_lc_CXX" in
13773
# Assume -lc should be added
13774
archive_cmds_need_lc_CXX=yes
13776
if test "$enable_shared" = yes && test "$GCC" = yes; then
13777
case $archive_cmds_CXX in
13779
# FIXME: we may have to deal with multi-command sequences.
13782
# Test whether the compiler implicitly links with -lc since on some
13783
# systems, -lgcc has to come before -lc. If gcc already passes -lc
13784
# to ld, don't add -lc before -lgcc.
13785
echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13786
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
13788
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13790
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13791
(eval $ac_compile) 2>&5
13793
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13794
(exit $ac_status); } 2>conftest.err; then
13797
libobjs=conftest.$ac_objext
13799
wl=$lt_prog_compiler_wl_CXX
13805
lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
13806
allow_undefined_flag_CXX=
13807
if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
13808
(eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
13810
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13811
(exit $ac_status); }
13813
archive_cmds_need_lc_CXX=no
13815
archive_cmds_need_lc_CXX=yes
13817
allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
13819
cat conftest.err 1>&5
13822
echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
13823
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
13830
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13831
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
13832
library_names_spec=
13833
libname_spec='lib$name'
13837
postuninstall_cmds=
13841
shlibpath_overrides_runpath=unknown
13843
dynamic_linker="$host_os ld.so"
13844
sys_lib_dlsearch_path_spec="/lib /usr/lib"
13845
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
13846
need_lib_prefix=unknown
13847
hardcode_into_libs=no
13849
# when you set need_version to no, make sure it does not cause -set_version
13850
# flags to be left without arguments
13851
need_version=unknown
13856
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13857
shlibpath_var=LIBPATH
13859
# AIX 3 has no versioning support, so we append a major version to the name.
13860
soname_spec='${libname}${release}${shared_ext}$major'
13867
hardcode_into_libs=yes
13868
if test "$host_cpu" = ia64; then
13869
# AIX 5 supports IA64
13870
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13871
shlibpath_var=LD_LIBRARY_PATH
13873
# With GCC up to 2.95.x, collect2 would create an import file
13874
# for dependence libraries. The import file would start with
13875
# the line `#! .'. This would cause the generated library to
13876
# depend on `.', always an invalid library. This was fixed in
13877
# development snapshots of GCC prior to 3.0.
13879
aix4 | aix4.[01] | aix4.[01].*)
13880
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13882
echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
13885
can_build_shared=no
13889
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13890
# soname into executable. Probably we can add versioning support to
13891
# collect2, so additional links can be useful in future.
13892
if test "$aix_use_runtimelinking" = yes; then
13893
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
13894
# instead of lib<name>.a to let people know that these are not
13895
# typical AIX shared libraries.
13896
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13898
# We preserve .a as extension for shared libraries through AIX4.2
13899
# and later when we are not doing run time linking.
13900
library_names_spec='${libname}${release}.a $libname.a'
13901
soname_spec='${libname}${release}${shared_ext}$major'
13903
shlibpath_var=LIBPATH
13908
library_names_spec='$libname.ixlibrary $libname.a'
13909
# Create ${libname}_ixlibrary.a entries in /sys/libs.
13910
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'
13914
library_names_spec='${libname}${shared_ext}'
13915
dynamic_linker="$host_os ld.so"
13916
shlibpath_var=LIBRARY_PATH
13922
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13923
soname_spec='${libname}${release}${shared_ext}$major'
13924
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13925
shlibpath_var=LD_LIBRARY_PATH
13926
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13927
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13928
# the default ld.so.conf also contains /usr/contrib/lib and
13929
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13930
# libtool to hard-code these into programs
13933
cygwin* | mingw* | pw32*)
13934
version_type=windows
13939
case $GCC,$host_os in
13940
yes,cygwin* | yes,mingw* | yes,pw32*)
13941
library_names_spec='$libname.dll.a'
13942
# DLL is installed to $(libdir)/../bin by postinstall_cmds
13943
postinstall_cmds='base_file=`basename \${file}`~
13944
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
13945
dldir=$destdir/`dirname \$dlpath`~
13946
test -d \$dldir || mkdir -p \$dldir~
13947
$install_prog $dir/$dlname \$dldir/$dlname'
13948
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13949
dlpath=$dir/\$dldll~
13951
shlibpath_overrides_runpath=yes
13955
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
13956
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13957
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
13960
# MinGW DLLs use traditional 'lib' prefix
13961
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13962
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13963
if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
13964
# It is most probably a Windows format PATH printed by
13965
# mingw gcc, but we are running on Cygwin. Gcc prints its search
13966
# path with ; separators, and with drive letters. We can handle the
13967
# drive letters (cygwin fileutils understands them), so leave them,
13968
# especially as we might pass files found there to a mingw objdump,
13969
# which wouldn't understand a cygwinified path. Ahh.
13970
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13972
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13976
# pw32 DLLs use 'pw' prefix rather than 'lib'
13977
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
13983
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13986
dynamic_linker='Win32 ld.exe'
13987
# FIXME: first we should search . and the directory the executable is in
13991
darwin* | rhapsody*)
13992
dynamic_linker="$host_os dyld"
13993
version_type=darwin
13996
library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13997
soname_spec='${libname}${release}${major}$shared_ext'
13998
shlibpath_overrides_runpath=yes
13999
shlibpath_var=DYLD_LIBRARY_PATH
14000
shrext='$(test .$module = .yes && echo .so || echo .dylib)'
14001
# Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14002
if test "$GCC" = yes; then
14003
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"`
14005
sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
14007
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14014
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14015
soname_spec='${libname}${release}${shared_ext}$major'
14016
shlibpath_var=LD_LIBRARY_PATH
14027
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14028
soname_spec='${libname}${release}${shared_ext}$major'
14029
shlibpath_var=LD_LIBRARY_PATH
14030
shlibpath_overrides_runpath=no
14031
hardcode_into_libs=yes
14032
dynamic_linker='GNU ld.so'
14036
objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
14037
version_type=freebsd-$objformat
14038
case $version_type in
14040
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14045
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14049
shlibpath_var=LD_LIBRARY_PATH
14052
shlibpath_overrides_runpath=yes
14054
freebsd3.01* | freebsdelf3.01*)
14055
shlibpath_overrides_runpath=yes
14056
hardcode_into_libs=yes
14059
shlibpath_overrides_runpath=no
14060
hardcode_into_libs=yes
14069
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14070
soname_spec='${libname}${release}${shared_ext}$major'
14071
shlibpath_var=LD_LIBRARY_PATH
14072
hardcode_into_libs=yes
14075
hpux9* | hpux10* | hpux11*)
14076
# Give a soname corresponding to the major version so that dld.sl refuses to
14077
# link against other versions.
14081
case "$host_cpu" in
14084
hardcode_into_libs=yes
14085
dynamic_linker="$host_os dld.so"
14086
shlibpath_var=LD_LIBRARY_PATH
14087
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14088
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14089
soname_spec='${libname}${release}${shared_ext}$major'
14090
if test "X$HPUX_IA64_MODE" = X32; then
14091
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14093
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14095
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14099
hardcode_into_libs=yes
14100
dynamic_linker="$host_os dld.sl"
14101
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14102
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14103
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14104
soname_spec='${libname}${release}${shared_ext}$major'
14105
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14106
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14110
dynamic_linker="$host_os dld.sl"
14111
shlibpath_var=SHLIB_PATH
14112
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14113
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14114
soname_spec='${libname}${release}${shared_ext}$major'
14117
# HP-UX runs *really* slowly unless shared libraries are mode 555.
14118
postinstall_cmds='chmod 555 $lib'
14121
irix5* | irix6* | nonstopux*)
14123
nonstopux*) version_type=nonstopux ;;
14125
if test "$lt_cv_prog_gnu_ld" = yes; then
14133
soname_spec='${libname}${release}${shared_ext}$major'
14134
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14136
irix5* | nonstopux*)
14137
libsuff= shlibsuff=
14140
case $LD in # libtool.m4 will add one of these switches to LD
14141
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14142
libsuff= shlibsuff= libmagic=32-bit;;
14143
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14144
libsuff=32 shlibsuff=N32 libmagic=N32;;
14145
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14146
libsuff=64 shlibsuff=64 libmagic=64-bit;;
14147
*) libsuff= shlibsuff= libmagic=never-match;;
14151
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14152
shlibpath_overrides_runpath=no
14153
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14154
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14155
hardcode_into_libs=yes
14158
# No shared lib support for Linux oldld, aout, or coff.
14159
linux*oldld* | linux*aout* | linux*coff*)
14163
# This must be Linux ELF.
14168
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14169
soname_spec='${libname}${release}${shared_ext}$major'
14170
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14172
if test "x$LINUX_64_MODE" = x64; then
14173
# Some platforms are per default 64-bit, so there's no /lib64
14174
if test -d /lib64; then
14178
shlibpath_var=LD_LIBRARY_PATH
14179
shlibpath_overrides_runpath=no
14180
sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
14181
sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
14182
# This implies no fast_install, which is unacceptable.
14183
# Some rework will be needed to allow for fast_install
14184
# before this can be enabled.
14185
hardcode_into_libs=yes
14187
# We used to test for /lib/ld.so.1 and disable shared libraries on
14188
# powerpc, because MkLinux only supported shared libraries with the
14189
# GNU dynamic linker. Since this was broken with cross compilers,
14190
# most powerpc-linux boxes support dynamic linking these days and
14191
# people can always --disable-shared, the test was removed, and we
14192
# assume the GNU/Linux dynamic linker is in use.
14193
dynamic_linker='GNU/Linux ld.so'
14200
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14201
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14202
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14203
dynamic_linker='NetBSD (a.out) ld.so'
14205
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
14206
soname_spec='${libname}${release}${shared_ext}$major'
14207
dynamic_linker='NetBSD ld.elf_so'
14209
shlibpath_var=LD_LIBRARY_PATH
14210
shlibpath_overrides_runpath=yes
14211
hardcode_into_libs=yes
14216
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14217
shlibpath_var=LD_LIBRARY_PATH
14218
shlibpath_overrides_runpath=yes
14225
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14226
soname_spec='${libname}${release}${shared_ext}$major'
14227
shlibpath_var=LD_LIBRARY_PATH
14228
shlibpath_overrides_runpath=yes
14235
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14236
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14237
shlibpath_var=LD_LIBRARY_PATH
14238
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14240
openbsd2.[89] | openbsd2.[89].*)
14241
shlibpath_overrides_runpath=no
14244
shlibpath_overrides_runpath=yes
14248
shlibpath_overrides_runpath=yes
14253
libname_spec='$name'
14256
library_names_spec='$libname${shared_ext} $libname.a'
14257
dynamic_linker='OS/2 ld.exe'
14258
shlibpath_var=LIBPATH
14261
osf3* | osf4* | osf5*)
14265
soname_spec='${libname}${release}${shared_ext}$major'
14266
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14267
shlibpath_var=LD_LIBRARY_PATH
14268
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14269
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14274
soname_spec='${libname}${release}${shared_ext}$major'
14275
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14276
shlibpath_var=LD_LIBRARY_PATH
14283
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14284
soname_spec='${libname}${release}${shared_ext}$major'
14285
shlibpath_var=LD_LIBRARY_PATH
14286
shlibpath_overrides_runpath=yes
14287
hardcode_into_libs=yes
14288
# ldd complains unless libraries are executable
14289
postinstall_cmds='chmod +x $lib'
14294
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14295
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14296
shlibpath_var=LD_LIBRARY_PATH
14297
shlibpath_overrides_runpath=yes
14298
if test "$with_gnu_ld" = yes; then
14304
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
14306
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14307
soname_spec='${libname}${release}${shared_ext}$major'
14308
shlibpath_var=LD_LIBRARY_PATH
14309
case $host_vendor in
14311
shlibpath_overrides_runpath=no
14313
export_dynamic_flag_spec='${wl}-Blargedynsym'
14314
runpath_var=LD_RUN_PATH
14322
shlibpath_overrides_runpath=no
14323
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14329
if test -d /usr/nec ;then
14331
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14332
soname_spec='$libname${shared_ext}.$major'
14333
shlibpath_var=LD_LIBRARY_PATH
14339
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14340
soname_spec='${libname}${release}${shared_ext}$major'
14341
shlibpath_var=LD_LIBRARY_PATH
14348
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14349
echo "${ECHO_T}$dynamic_linker" >&6
14350
test "$dynamic_linker" = no && can_build_shared=no
14352
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14353
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
14354
hardcode_action_CXX=
14355
if test -n "$hardcode_libdir_flag_spec_CXX" || \
14356
test -n "$runpath_var CXX" || \
14357
test "X$hardcode_automatic_CXX"="Xyes" ; then
14359
# We can hardcode non-existant directories.
14360
if test "$hardcode_direct_CXX" != no &&
14361
# If the only mechanism to avoid hardcoding is shlibpath_var, we
14362
# have to relink, otherwise we might link with an installed library
14363
# when we should be linking with a yet-to-be-installed one
14364
## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14365
test "$hardcode_minus_L_CXX" != no; then
14366
# Linking always hardcodes the temporary library directory.
14367
hardcode_action_CXX=relink
14369
# We can link without hardcoding, and we can hardcode nonexisting dirs.
14370
hardcode_action_CXX=immediate
14373
# We cannot hardcode anything, or else we can only hardcode existing
14375
hardcode_action_CXX=unsupported
14377
echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
14378
echo "${ECHO_T}$hardcode_action_CXX" >&6
14380
if test "$hardcode_action_CXX" = relink; then
14381
# Fast installation is not supported
14382
enable_fast_install=no
14383
elif test "$shlibpath_overrides_runpath" = yes ||
14384
test "$enable_shared" = no; then
14385
# Fast installation is not necessary
14386
enable_fast_install=needless
14391
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
14392
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
14393
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
14394
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
14395
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
14396
echo "$as_me:$LINENO: result: yes" >&5
14397
echo "${ECHO_T}yes" >&6
14399
# FIXME - insert some real tests, host_os isn't really good enough
14402
if test -n "$STRIP" ; then
14403
striplib="$STRIP -x"
14404
echo "$as_me:$LINENO: result: yes" >&5
14405
echo "${ECHO_T}yes" >&6
14407
echo "$as_me:$LINENO: result: no" >&5
14408
echo "${ECHO_T}no" >&6
14412
echo "$as_me:$LINENO: result: no" >&5
14413
echo "${ECHO_T}no" >&6
14418
if test "x$enable_dlopen" != xyes; then
14419
enable_dlopen=unknown
14420
enable_dlopen_self=unknown
14421
enable_dlopen_self_static=unknown
14428
lt_cv_dlopen="load_add_on"
14430
lt_cv_dlopen_self=yes
14434
lt_cv_dlopen="LoadLibrary"
14439
lt_cv_dlopen="dlopen"
14444
# if libdl is installed we need to link against it
14445
echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
14446
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
14447
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
14448
echo $ECHO_N "(cached) $ECHO_C" >&6
14450
ac_check_lib_save_LIBS=$LIBS
14452
cat >conftest.$ac_ext <<_ACEOF
14455
cat confdefs.h >>conftest.$ac_ext
14456
cat >>conftest.$ac_ext <<_ACEOF
14457
/* end confdefs.h. */
14459
/* Override any gcc2 internal prototype to avoid an error. */
14463
/* We use char because int might match the return type of a gcc2
14464
builtin and then its argument prototype would still apply. */
14474
rm -f conftest.$ac_objext conftest$ac_exeext
14475
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14476
(eval $ac_link) 2>conftest.er1
14478
grep -v '^ *+' conftest.er1 >conftest.err
14480
cat conftest.err >&5
14481
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14482
(exit $ac_status); } &&
14483
{ ac_try='test -z "$ac_cxx_werror_flag"
14484
|| test ! -s conftest.err'
14485
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14486
(eval $ac_try) 2>&5
14488
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14489
(exit $ac_status); }; } &&
14490
{ ac_try='test -s conftest$ac_exeext'
14491
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14492
(eval $ac_try) 2>&5
14494
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14495
(exit $ac_status); }; }; then
14496
ac_cv_lib_dl_dlopen=yes
14498
echo "$as_me: failed program was:" >&5
14499
sed 's/^/| /' conftest.$ac_ext >&5
14501
ac_cv_lib_dl_dlopen=no
14503
rm -f conftest.err conftest.$ac_objext \
14504
conftest$ac_exeext conftest.$ac_ext
14505
LIBS=$ac_check_lib_save_LIBS
14507
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
14508
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
14509
if test $ac_cv_lib_dl_dlopen = yes; then
14510
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
14513
lt_cv_dlopen="dyld"
14515
lt_cv_dlopen_self=yes
14522
echo "$as_me:$LINENO: checking for shl_load" >&5
14523
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
14524
if test "${ac_cv_func_shl_load+set}" = set; then
14525
echo $ECHO_N "(cached) $ECHO_C" >&6
14527
cat >conftest.$ac_ext <<_ACEOF
14530
cat confdefs.h >>conftest.$ac_ext
14531
cat >>conftest.$ac_ext <<_ACEOF
14532
/* end confdefs.h. */
14533
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
14534
For example, HP-UX 11i <limits.h> declares gettimeofday. */
14535
#define shl_load innocuous_shl_load
14537
/* System header to define __stub macros and hopefully few prototypes,
14538
which can conflict with char shl_load (); below.
14539
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14540
<limits.h> exists even on freestanding compilers. */
14543
# include <limits.h>
14545
# include <assert.h>
14550
/* Override any gcc2 internal prototype to avoid an error. */
14555
/* We use char because int might match the return type of a gcc2
14556
builtin and then its argument prototype would still apply. */
14558
/* The GNU C library defines this for functions which it implements
14559
to always fail with ENOSYS. Some functions are actually named
14560
something starting with __ and the normal name is an alias. */
14561
#if defined (__stub_shl_load) || defined (__stub___shl_load)
14564
char (*f) () = shl_load;
14573
return f != shl_load;
14578
rm -f conftest.$ac_objext conftest$ac_exeext
14579
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14580
(eval $ac_link) 2>conftest.er1
14582
grep -v '^ *+' conftest.er1 >conftest.err
14584
cat conftest.err >&5
14585
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14586
(exit $ac_status); } &&
14587
{ ac_try='test -z "$ac_cxx_werror_flag"
14588
|| test ! -s conftest.err'
14589
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14590
(eval $ac_try) 2>&5
14592
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14593
(exit $ac_status); }; } &&
14594
{ ac_try='test -s conftest$ac_exeext'
14595
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14596
(eval $ac_try) 2>&5
14598
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14599
(exit $ac_status); }; }; then
14600
ac_cv_func_shl_load=yes
14602
echo "$as_me: failed program was:" >&5
14603
sed 's/^/| /' conftest.$ac_ext >&5
14605
ac_cv_func_shl_load=no
14607
rm -f conftest.err conftest.$ac_objext \
14608
conftest$ac_exeext conftest.$ac_ext
14610
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
14611
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
14612
if test $ac_cv_func_shl_load = yes; then
14613
lt_cv_dlopen="shl_load"
14615
echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
14616
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
14617
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
14618
echo $ECHO_N "(cached) $ECHO_C" >&6
14620
ac_check_lib_save_LIBS=$LIBS
14622
cat >conftest.$ac_ext <<_ACEOF
14625
cat confdefs.h >>conftest.$ac_ext
14626
cat >>conftest.$ac_ext <<_ACEOF
14627
/* end confdefs.h. */
14629
/* Override any gcc2 internal prototype to avoid an error. */
14633
/* We use char because int might match the return type of a gcc2
14634
builtin and then its argument prototype would still apply. */
14644
rm -f conftest.$ac_objext conftest$ac_exeext
14645
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14646
(eval $ac_link) 2>conftest.er1
14648
grep -v '^ *+' conftest.er1 >conftest.err
14650
cat conftest.err >&5
14651
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14652
(exit $ac_status); } &&
14653
{ ac_try='test -z "$ac_cxx_werror_flag"
14654
|| test ! -s conftest.err'
14655
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14656
(eval $ac_try) 2>&5
14658
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14659
(exit $ac_status); }; } &&
14660
{ ac_try='test -s conftest$ac_exeext'
14661
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14662
(eval $ac_try) 2>&5
14664
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14665
(exit $ac_status); }; }; then
14666
ac_cv_lib_dld_shl_load=yes
14668
echo "$as_me: failed program was:" >&5
14669
sed 's/^/| /' conftest.$ac_ext >&5
14671
ac_cv_lib_dld_shl_load=no
14673
rm -f conftest.err conftest.$ac_objext \
14674
conftest$ac_exeext conftest.$ac_ext
14675
LIBS=$ac_check_lib_save_LIBS
14677
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
14678
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
14679
if test $ac_cv_lib_dld_shl_load = yes; then
14680
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
14682
echo "$as_me:$LINENO: checking for dlopen" >&5
14683
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
14684
if test "${ac_cv_func_dlopen+set}" = set; then
14685
echo $ECHO_N "(cached) $ECHO_C" >&6
14687
cat >conftest.$ac_ext <<_ACEOF
14690
cat confdefs.h >>conftest.$ac_ext
14691
cat >>conftest.$ac_ext <<_ACEOF
14692
/* end confdefs.h. */
14693
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
14694
For example, HP-UX 11i <limits.h> declares gettimeofday. */
14695
#define dlopen innocuous_dlopen
14697
/* System header to define __stub macros and hopefully few prototypes,
14698
which can conflict with char dlopen (); below.
14699
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14700
<limits.h> exists even on freestanding compilers. */
14703
# include <limits.h>
14705
# include <assert.h>
14710
/* Override any gcc2 internal prototype to avoid an error. */
14715
/* We use char because int might match the return type of a gcc2
14716
builtin and then its argument prototype would still apply. */
14718
/* The GNU C library defines this for functions which it implements
14719
to always fail with ENOSYS. Some functions are actually named
14720
something starting with __ and the normal name is an alias. */
14721
#if defined (__stub_dlopen) || defined (__stub___dlopen)
14724
char (*f) () = dlopen;
14733
return f != dlopen;
14738
rm -f conftest.$ac_objext conftest$ac_exeext
14739
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14740
(eval $ac_link) 2>conftest.er1
14742
grep -v '^ *+' conftest.er1 >conftest.err
14744
cat conftest.err >&5
14745
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14746
(exit $ac_status); } &&
14747
{ ac_try='test -z "$ac_cxx_werror_flag"
14748
|| test ! -s conftest.err'
14749
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14750
(eval $ac_try) 2>&5
14752
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14753
(exit $ac_status); }; } &&
14754
{ ac_try='test -s conftest$ac_exeext'
14755
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14756
(eval $ac_try) 2>&5
14758
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14759
(exit $ac_status); }; }; then
14760
ac_cv_func_dlopen=yes
14762
echo "$as_me: failed program was:" >&5
14763
sed 's/^/| /' conftest.$ac_ext >&5
14765
ac_cv_func_dlopen=no
14767
rm -f conftest.err conftest.$ac_objext \
14768
conftest$ac_exeext conftest.$ac_ext
14770
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
14771
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
14772
if test $ac_cv_func_dlopen = yes; then
14773
lt_cv_dlopen="dlopen"
14775
echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
14776
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
14777
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
14778
echo $ECHO_N "(cached) $ECHO_C" >&6
14780
ac_check_lib_save_LIBS=$LIBS
14782
cat >conftest.$ac_ext <<_ACEOF
14785
cat confdefs.h >>conftest.$ac_ext
14786
cat >>conftest.$ac_ext <<_ACEOF
14787
/* end confdefs.h. */
14789
/* Override any gcc2 internal prototype to avoid an error. */
14793
/* We use char because int might match the return type of a gcc2
14794
builtin and then its argument prototype would still apply. */
14804
rm -f conftest.$ac_objext conftest$ac_exeext
14805
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14806
(eval $ac_link) 2>conftest.er1
14808
grep -v '^ *+' conftest.er1 >conftest.err
14810
cat conftest.err >&5
14811
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14812
(exit $ac_status); } &&
14813
{ ac_try='test -z "$ac_cxx_werror_flag"
14814
|| test ! -s conftest.err'
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); }; } &&
14820
{ ac_try='test -s conftest$ac_exeext'
14821
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14822
(eval $ac_try) 2>&5
14824
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14825
(exit $ac_status); }; }; then
14826
ac_cv_lib_dl_dlopen=yes
14828
echo "$as_me: failed program was:" >&5
14829
sed 's/^/| /' conftest.$ac_ext >&5
14831
ac_cv_lib_dl_dlopen=no
14833
rm -f conftest.err conftest.$ac_objext \
14834
conftest$ac_exeext conftest.$ac_ext
14835
LIBS=$ac_check_lib_save_LIBS
14837
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
14838
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
14839
if test $ac_cv_lib_dl_dlopen = yes; then
14840
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
14842
echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
14843
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
14844
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
14845
echo $ECHO_N "(cached) $ECHO_C" >&6
14847
ac_check_lib_save_LIBS=$LIBS
14848
LIBS="-lsvld $LIBS"
14849
cat >conftest.$ac_ext <<_ACEOF
14852
cat confdefs.h >>conftest.$ac_ext
14853
cat >>conftest.$ac_ext <<_ACEOF
14854
/* end confdefs.h. */
14856
/* Override any gcc2 internal prototype to avoid an error. */
14860
/* We use char because int might match the return type of a gcc2
14861
builtin and then its argument prototype would still apply. */
14871
rm -f conftest.$ac_objext conftest$ac_exeext
14872
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14873
(eval $ac_link) 2>conftest.er1
14875
grep -v '^ *+' conftest.er1 >conftest.err
14877
cat conftest.err >&5
14878
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14879
(exit $ac_status); } &&
14880
{ ac_try='test -z "$ac_cxx_werror_flag"
14881
|| test ! -s conftest.err'
14882
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14883
(eval $ac_try) 2>&5
14885
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14886
(exit $ac_status); }; } &&
14887
{ ac_try='test -s conftest$ac_exeext'
14888
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14889
(eval $ac_try) 2>&5
14891
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14892
(exit $ac_status); }; }; then
14893
ac_cv_lib_svld_dlopen=yes
14895
echo "$as_me: failed program was:" >&5
14896
sed 's/^/| /' conftest.$ac_ext >&5
14898
ac_cv_lib_svld_dlopen=no
14900
rm -f conftest.err conftest.$ac_objext \
14901
conftest$ac_exeext conftest.$ac_ext
14902
LIBS=$ac_check_lib_save_LIBS
14904
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
14905
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
14906
if test $ac_cv_lib_svld_dlopen = yes; then
14907
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
14909
echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
14910
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
14911
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
14912
echo $ECHO_N "(cached) $ECHO_C" >&6
14914
ac_check_lib_save_LIBS=$LIBS
14916
cat >conftest.$ac_ext <<_ACEOF
14919
cat confdefs.h >>conftest.$ac_ext
14920
cat >>conftest.$ac_ext <<_ACEOF
14921
/* end confdefs.h. */
14923
/* Override any gcc2 internal prototype to avoid an error. */
14927
/* We use char because int might match the return type of a gcc2
14928
builtin and then its argument prototype would still apply. */
14938
rm -f conftest.$ac_objext conftest$ac_exeext
14939
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14940
(eval $ac_link) 2>conftest.er1
14942
grep -v '^ *+' conftest.er1 >conftest.err
14944
cat conftest.err >&5
14945
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14946
(exit $ac_status); } &&
14947
{ ac_try='test -z "$ac_cxx_werror_flag"
14948
|| test ! -s conftest.err'
14949
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14950
(eval $ac_try) 2>&5
14952
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14953
(exit $ac_status); }; } &&
14954
{ ac_try='test -s conftest$ac_exeext'
14955
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14956
(eval $ac_try) 2>&5
14958
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14959
(exit $ac_status); }; }; then
14960
ac_cv_lib_dld_dld_link=yes
14962
echo "$as_me: failed program was:" >&5
14963
sed 's/^/| /' conftest.$ac_ext >&5
14965
ac_cv_lib_dld_dld_link=no
14967
rm -f conftest.err conftest.$ac_objext \
14968
conftest$ac_exeext conftest.$ac_ext
14969
LIBS=$ac_check_lib_save_LIBS
14971
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
14972
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
14973
if test $ac_cv_lib_dld_dld_link = yes; then
14974
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
14995
if test "x$lt_cv_dlopen" != xno; then
15001
case $lt_cv_dlopen in
15003
save_CPPFLAGS="$CPPFLAGS"
15004
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
15006
save_LDFLAGS="$LDFLAGS"
15007
eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
15010
LIBS="$lt_cv_dlopen_libs $LIBS"
15012
echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
15013
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
15014
if test "${lt_cv_dlopen_self+set}" = set; then
15015
echo $ECHO_N "(cached) $ECHO_C" >&6
15017
if test "$cross_compiling" = yes; then :
15018
lt_cv_dlopen_self=cross
15020
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
15021
lt_status=$lt_dlunknown
15022
cat > conftest.$ac_ext <<EOF
15023
#line 15023 "configure"
15024
#include "confdefs.h"
15033
# define LT_DLGLOBAL RTLD_GLOBAL
15036
# define LT_DLGLOBAL DL_GLOBAL
15038
# define LT_DLGLOBAL 0
15042
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
15043
find out it does not work in some platform. */
15044
#ifndef LT_DLLAZY_OR_NOW
15046
# define LT_DLLAZY_OR_NOW RTLD_LAZY
15049
# define LT_DLLAZY_OR_NOW DL_LAZY
15052
# define LT_DLLAZY_OR_NOW RTLD_NOW
15055
# define LT_DLLAZY_OR_NOW DL_NOW
15057
# define LT_DLLAZY_OR_NOW 0
15065
extern "C" void exit (int);
15068
void fnord() { int i=42;}
15071
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
15072
int status = $lt_dlunknown;
15076
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
15077
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
15078
/* dlclose (self); */
15084
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15085
(eval $ac_link) 2>&5
15087
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15088
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
15089
(./conftest; exit; ) 2>/dev/null
15091
case x$lt_status in
15092
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
15093
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
15094
x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
15097
# compilation failed
15098
lt_cv_dlopen_self=no
15105
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
15106
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
15108
if test "x$lt_cv_dlopen_self" = xyes; then
15109
LDFLAGS="$LDFLAGS $link_static_flag"
15110
echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
15111
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
15112
if test "${lt_cv_dlopen_self_static+set}" = set; then
15113
echo $ECHO_N "(cached) $ECHO_C" >&6
15115
if test "$cross_compiling" = yes; then :
15116
lt_cv_dlopen_self_static=cross
15118
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
15119
lt_status=$lt_dlunknown
15120
cat > conftest.$ac_ext <<EOF
15121
#line 15121 "configure"
15122
#include "confdefs.h"
15131
# define LT_DLGLOBAL RTLD_GLOBAL
15134
# define LT_DLGLOBAL DL_GLOBAL
15136
# define LT_DLGLOBAL 0
15140
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
15141
find out it does not work in some platform. */
15142
#ifndef LT_DLLAZY_OR_NOW
15144
# define LT_DLLAZY_OR_NOW RTLD_LAZY
15147
# define LT_DLLAZY_OR_NOW DL_LAZY
15150
# define LT_DLLAZY_OR_NOW RTLD_NOW
15153
# define LT_DLLAZY_OR_NOW DL_NOW
15155
# define LT_DLLAZY_OR_NOW 0
15163
extern "C" void exit (int);
15166
void fnord() { int i=42;}
15169
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
15170
int status = $lt_dlunknown;
15174
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
15175
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
15176
/* dlclose (self); */
15182
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15183
(eval $ac_link) 2>&5
15185
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15186
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
15187
(./conftest; exit; ) 2>/dev/null
15189
case x$lt_status in
15190
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
15191
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
15192
x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
15195
# compilation failed
15196
lt_cv_dlopen_self_static=no
15203
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
15204
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
15207
CPPFLAGS="$save_CPPFLAGS"
15208
LDFLAGS="$save_LDFLAGS"
15213
case $lt_cv_dlopen_self in
15214
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
15215
*) enable_dlopen_self=unknown ;;
15218
case $lt_cv_dlopen_self_static in
15219
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
15220
*) enable_dlopen_self_static=unknown ;;
15225
# The else clause should only fire when bootstrapping the
15226
# libtool distribution, otherwise you forgot to ship ltmain.sh
15227
# with your package, and you will get complaints that there are
15228
# no rules to generate ltmain.sh.
15229
if test -f "$ltmain"; then
15230
# See if we are running on zsh, and set the options which allow our commands through
15231
# without removal of \ escapes.
15232
if test -n "${ZSH_VERSION+set}" ; then
15233
setopt NO_GLOB_SUBST
15235
# Now quote all the things that may contain metacharacters while being
15236
# careful not to overquote the AC_SUBSTed values. We take copies of the
15237
# variables and quote the copies for generation of the libtool script.
15238
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
15239
libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15240
old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15241
deplibs_check_method reload_flag reload_cmds need_locks \
15242
lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
15243
lt_cv_sys_global_symbol_to_c_name_address \
15244
sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
15245
old_postinstall_cmds old_postuninstall_cmds \
15249
lt_prog_compiler_wl_CXX \
15250
lt_prog_compiler_pic_CXX \
15251
lt_prog_compiler_static_CXX \
15252
lt_prog_compiler_no_builtin_flag_CXX \
15253
export_dynamic_flag_spec_CXX \
15254
thread_safe_flag_spec_CXX \
15255
whole_archive_flag_spec_CXX \
15256
enable_shared_with_static_runtimes_CXX \
15257
old_archive_cmds_CXX \
15258
old_archive_from_new_cmds_CXX \
15259
predep_objects_CXX \
15260
postdep_objects_CXX \
15263
compiler_lib_search_path_CXX \
15265
archive_expsym_cmds_CXX \
15266
postinstall_cmds_CXX \
15267
postuninstall_cmds_CXX \
15268
old_archive_from_expsyms_cmds_CXX \
15269
allow_undefined_flag_CXX \
15270
no_undefined_flag_CXX \
15271
export_symbols_cmds_CXX \
15272
hardcode_libdir_flag_spec_CXX \
15273
hardcode_libdir_flag_spec_ld_CXX \
15274
hardcode_libdir_separator_CXX \
15275
hardcode_automatic_CXX \
15277
module_expsym_cmds_CXX \
15278
lt_cv_prog_compiler_c_o_CXX \
15279
exclude_expsyms_CXX \
15280
include_expsyms_CXX; do
15283
old_archive_cmds_CXX | \
15284
old_archive_from_new_cmds_CXX | \
15285
archive_cmds_CXX | \
15286
archive_expsym_cmds_CXX | \
15287
module_cmds_CXX | \
15288
module_expsym_cmds_CXX | \
15289
old_archive_from_expsyms_cmds_CXX | \
15290
export_symbols_cmds_CXX | \
15291
extract_expsyms_cmds | reload_cmds | finish_cmds | \
15292
postinstall_cmds | postuninstall_cmds | \
15293
old_postinstall_cmds | old_postuninstall_cmds | \
15294
sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
15295
# Double-quote double-evaled strings.
15296
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
15299
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
15305
*'\$0 --fallback-echo"')
15306
lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
15312
cat <<__EOF__ >> "$cfgfile"
15313
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
15315
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15317
# Shell to use when invoking shell scripts.
15320
# Whether or not to build shared libraries.
15321
build_libtool_libs=$enable_shared
15323
# Whether or not to build static libraries.
15324
build_old_libs=$enable_static
15326
# Whether or not to add -lc for building shared libraries.
15327
build_libtool_need_lc=$archive_cmds_need_lc_CXX
15329
# Whether or not to disallow shared libs when runtime libs are static
15330
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
15332
# Whether or not to optimize for fast installation.
15333
fast_install=$enable_fast_install
15336
host_alias=$host_alias
15339
# An echo program that does not interpret backslashes.
15344
AR_FLAGS=$lt_AR_FLAGS
15349
# A language-specific compiler.
15350
CC=$lt_compiler_CXX
15352
# Is the compiler the GNU C compiler?
15358
# The linker used to build libraries.
15361
# Whether we need hard or soft links.
15364
# A BSD-compatible nm program.
15367
# A symbol stripping program
15370
# Used to examine libraries when file_magic_cmd begins "file"
15371
MAGIC_CMD=$MAGIC_CMD
15373
# Used on cygwin: DLL creation program.
15376
# Used on cygwin: object dumper.
15379
# Used on cygwin: assembler.
15382
# The name of the directory that contains temporary libtool files.
15385
# How to create reloadable object files.
15386
reload_flag=$lt_reload_flag
15387
reload_cmds=$lt_reload_cmds
15389
# How to pass a linker flag through the compiler.
15390
wl=$lt_lt_prog_compiler_wl_CXX
15392
# Object file suffix (normally "o").
15393
objext="$ac_objext"
15395
# Old archive suffix (normally "a").
15398
# Shared library suffix (normally ".so").
15401
# Executable file suffix (normally "").
15404
# Additional compiler flags for building library objects.
15405
pic_flag=$lt_lt_prog_compiler_pic_CXX
15408
# What is the maximum length of a command?
15409
max_cmd_len=$lt_cv_sys_max_cmd_len
15411
# Does compiler simultaneously support -c and -o options?
15412
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
15414
# Must we lock files when doing compilation ?
15415
need_locks=$lt_need_locks
15417
# Do we need the lib prefix for modules?
15418
need_lib_prefix=$need_lib_prefix
15420
# Do we need a version for libraries?
15421
need_version=$need_version
15423
# Whether dlopen is supported.
15424
dlopen_support=$enable_dlopen
15426
# Whether dlopen of programs is supported.
15427
dlopen_self=$enable_dlopen_self
15429
# Whether dlopen of statically linked programs is supported.
15430
dlopen_self_static=$enable_dlopen_self_static
15432
# Compiler flag to prevent dynamic linking.
15433
link_static_flag=$lt_lt_prog_compiler_static_CXX
15435
# Compiler flag to turn off builtin functions.
15436
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
15438
# Compiler flag to allow reflexive dlopens.
15439
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
15441
# Compiler flag to generate shared objects directly from archives.
15442
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
15444
# Compiler flag to generate thread-safe objects.
15445
thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
15447
# Library versioning type.
15448
version_type=$version_type
15450
# Format of library name prefix.
15451
libname_spec=$lt_libname_spec
15453
# List of archive names. First name is the real one, the rest are links.
15454
# The last name is the one that the linker finds with -lNAME.
15455
library_names_spec=$lt_library_names_spec
15457
# The coded name of the library, if different from the real name.
15458
soname_spec=$lt_soname_spec
15460
# Commands used to build and install an old-style archive.
15462
old_archive_cmds=$lt_old_archive_cmds_CXX
15463
old_postinstall_cmds=$lt_old_postinstall_cmds
15464
old_postuninstall_cmds=$lt_old_postuninstall_cmds
15466
# Create an old-style archive from a shared archive.
15467
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
15469
# Create a temporary old-style archive to link instead of a shared archive.
15470
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
15472
# Commands used to build and install a shared archive.
15473
archive_cmds=$lt_archive_cmds_CXX
15474
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
15475
postinstall_cmds=$lt_postinstall_cmds
15476
postuninstall_cmds=$lt_postuninstall_cmds
15478
# Commands used to build a loadable module (assumed same as above if empty)
15479
module_cmds=$lt_module_cmds_CXX
15480
module_expsym_cmds=$lt_module_expsym_cmds_CXX
15482
# Commands to strip libraries.
15483
old_striplib=$lt_old_striplib
15484
striplib=$lt_striplib
15486
# Dependencies to place before the objects being linked to create a
15488
predep_objects=$lt_predep_objects_CXX
15490
# Dependencies to place after the objects being linked to create a
15492
postdep_objects=$lt_postdep_objects_CXX
15494
# Dependencies to place before the objects being linked to create a
15496
predeps=$lt_predeps_CXX
15498
# Dependencies to place after the objects being linked to create a
15500
postdeps=$lt_postdeps_CXX
15502
# The library search path used internally by the compiler when linking
15503
# a shared library.
15504
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
15506
# Method to check whether dependent libraries are shared objects.
15507
deplibs_check_method=$lt_deplibs_check_method
15509
# Command to use when deplibs_check_method == file_magic.
15510
file_magic_cmd=$lt_file_magic_cmd
15512
# Flag that allows shared libraries with undefined symbols to be built.
15513
allow_undefined_flag=$lt_allow_undefined_flag_CXX
15515
# Flag that forces no undefined symbols.
15516
no_undefined_flag=$lt_no_undefined_flag_CXX
15518
# Commands used to finish a libtool library installation in a directory.
15519
finish_cmds=$lt_finish_cmds
15521
# Same as above, but a single script fragment to be evaled but not shown.
15522
finish_eval=$lt_finish_eval
15524
# Take the output of nm and produce a listing of raw symbols and C names.
15525
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15527
# Transform the output of nm in a proper C declaration
15528
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15530
# Transform the output of nm in a C name address pair
15531
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15533
# This is the shared library runtime path variable.
15534
runpath_var=$runpath_var
15536
# This is the shared library path variable.
15537
shlibpath_var=$shlibpath_var
15539
# Is shlibpath searched before the hard-coded library search path?
15540
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15542
# How to hardcode a shared library path into an executable.
15543
hardcode_action=$hardcode_action_CXX
15545
# Whether we should hardcode library paths into libraries.
15546
hardcode_into_libs=$hardcode_into_libs
15548
# Flag to hardcode \$libdir into a binary during linking.
15549
# This must work even if \$libdir does not exist.
15550
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
15552
# If ld is used when linking, flag to hardcode \$libdir into
15553
# a binary during linking. This must work even if \$libdir does
15555
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
15557
# Whether we need a single -rpath flag with a separated argument.
15558
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
15560
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
15561
# resulting binary.
15562
hardcode_direct=$hardcode_direct_CXX
15564
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
15565
# resulting binary.
15566
hardcode_minus_L=$hardcode_minus_L_CXX
15568
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
15569
# the resulting binary.
15570
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
15572
# Set to yes if building a shared library automatically hardcodes DIR into the library
15573
# and all subsequent libraries and executables linked against it.
15574
hardcode_automatic=$hardcode_automatic_CXX
15576
# Variables whose values should be saved in libtool wrapper scripts and
15577
# restored at relink time.
15578
variables_saved_for_relink="$variables_saved_for_relink"
15580
# Whether libtool must link a program against all its dependency libraries.
15581
link_all_deplibs=$link_all_deplibs_CXX
15583
# Compile-time system search path for libraries
15584
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15586
# Run-time system search path for libraries
15587
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15589
# Fix the shell variable \$srcfile for the compiler.
15590
fix_srcfile_path="$fix_srcfile_path_CXX"
15592
# Set to yes if exported symbols are required.
15593
always_export_symbols=$always_export_symbols_CXX
15595
# The commands to list exported symbols.
15596
export_symbols_cmds=$lt_export_symbols_cmds_CXX
15598
# The commands to extract the exported symbol list from a shared archive.
15599
extract_expsyms_cmds=$lt_extract_expsyms_cmds
15601
# Symbols that should not be listed in the preloaded symbols.
15602
exclude_expsyms=$lt_exclude_expsyms_CXX
15604
# Symbols that must always be exported.
15605
include_expsyms=$lt_include_expsyms_CXX
15607
# ### END LIBTOOL TAG CONFIG: $tagname
15613
# If there is no Makefile yet, we rely on a make rule to execute
15614
# `config.status --recheck' to rerun these tests and create the
15615
# libtool script then.
15616
test -f Makefile && make "$ltmain"
15621
ac_cpp='$CPP $CPPFLAGS'
15622
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15623
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15624
ac_compiler_gnu=$ac_cv_c_compiler_gnu
15630
with_gnu_ldcxx=$with_gnu_ld
15631
with_gnu_ld=$lt_save_with_gnu_ld
15632
lt_cv_path_LDCXX=$lt_cv_path_LD
15633
lt_cv_path_LD=$lt_save_path_LD
15634
lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15635
lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15643
if test -n "$F77" && test "X$F77" != "Xno"; then
15646
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
15647
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15648
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
15651
archive_cmds_need_lc_F77=no
15652
allow_undefined_flag_F77=
15653
always_export_symbols_F77=no
15654
archive_expsym_cmds_F77=
15655
export_dynamic_flag_spec_F77=
15656
hardcode_direct_F77=no
15657
hardcode_libdir_flag_spec_F77=
15658
hardcode_libdir_flag_spec_ld_F77=
15659
hardcode_libdir_separator_F77=
15660
hardcode_minus_L_F77=no
15661
hardcode_automatic_F77=no
15663
module_expsym_cmds_F77=
15664
link_all_deplibs_F77=unknown
15665
old_archive_cmds_F77=$old_archive_cmds
15666
no_undefined_flag_F77=
15667
whole_archive_flag_spec_F77=
15668
enable_shared_with_static_runtimes_F77=no
15670
# Source file extension for f77 test sources.
15673
# Object file extension for compiled f77 test sources.
15677
# Code to be used in simple compile tests
15678
lt_simple_compile_test_code=" subroutine t\n return\n end\n"
15680
# Code to be used in simple link tests
15681
lt_simple_link_test_code=" program t\n end\n"
15683
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
15685
# If no C compiler was specified, use CC.
15688
# Allow CC to be a program name with arguments.
15692
# Allow CC to be a program name with arguments.
15697
cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
15699
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
15700
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
15701
echo "$as_me:$LINENO: result: $can_build_shared" >&5
15702
echo "${ECHO_T}$can_build_shared" >&6
15704
echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
15705
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
15706
test "$can_build_shared" = "no" && enable_shared=no
15708
# On AIX, shared libraries and static libraries use the same namespace, and
15709
# are all built from PIC.
15712
test "$enable_shared" = yes && enable_static=no
15713
if test -n "$RANLIB"; then
15714
archive_cmds="$archive_cmds~\$RANLIB \$lib"
15715
postinstall_cmds='$RANLIB $lib'
15719
test "$enable_shared" = yes && enable_static=no
15722
echo "$as_me:$LINENO: result: $enable_shared" >&5
15723
echo "${ECHO_T}$enable_shared" >&6
15725
echo "$as_me:$LINENO: checking whether to build static libraries" >&5
15726
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
15727
# Make sure either enable_shared or enable_static is yes.
15728
test "$enable_shared" = yes || enable_static=yes
15729
echo "$as_me:$LINENO: result: $enable_static" >&5
15730
echo "${ECHO_T}$enable_static" >&6
15732
test "$ld_shlibs_F77" = no && can_build_shared=no
15737
lt_prog_compiler_wl_F77=
15738
lt_prog_compiler_pic_F77=
15739
lt_prog_compiler_static_F77=
15741
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15742
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
15744
if test "$GCC" = yes; then
15745
lt_prog_compiler_wl_F77='-Wl,'
15746
lt_prog_compiler_static_F77='-static'
15750
# All AIX code is PIC.
15751
if test "$host_cpu" = ia64; then
15752
# AIX 5 now supports IA64 processor
15753
lt_prog_compiler_static_F77='-Bstatic'
15758
# FIXME: we need at least 68020 code to build shared libraries, but
15759
# adding the `-m68020' flag to GCC prevents building anything better,
15761
lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
15764
beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15765
# PIC is the default for these OSes.
15768
mingw* | pw32* | os2*)
15769
# This hack is so that the source file can tell whether it is being
15770
# built for inclusion in a dll (and should export symbols for example).
15771
lt_prog_compiler_pic_F77='-DDLL_EXPORT'
15774
darwin* | rhapsody*)
15775
# PIC is the default on this platform
15776
# Common symbols not allowed in MH_DYLIB files
15777
lt_prog_compiler_pic_F77='-fno-common'
15781
# Just because we use GCC doesn't mean we suddenly get shared libraries
15782
# on systems that don't support them.
15783
lt_prog_compiler_can_build_shared_F77=no
15788
if test -d /usr/nec; then
15789
lt_prog_compiler_pic_F77=-Kconform_pic
15794
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15795
# not for PA HP-UX.
15796
case "$host_cpu" in
15801
lt_prog_compiler_pic_F77='-fPIC'
15807
lt_prog_compiler_pic_F77='-fPIC'
15811
# PORTME Check for flag to pass linker flags through the system compiler.
15814
lt_prog_compiler_wl_F77='-Wl,'
15815
if test "$host_cpu" = ia64; then
15816
# AIX 5 now supports IA64 processor
15817
lt_prog_compiler_static_F77='-Bstatic'
15819
lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
15823
mingw* | pw32* | os2*)
15824
# This hack is so that the source file can tell whether it is being
15825
# built for inclusion in a dll (and should export symbols for example).
15826
lt_prog_compiler_pic_F77='-DDLL_EXPORT'
15829
hpux9* | hpux10* | hpux11*)
15830
lt_prog_compiler_wl_F77='-Wl,'
15831
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15832
# not for PA HP-UX.
15833
case "$host_cpu" in
15838
lt_prog_compiler_pic_F77='+Z'
15841
# Is there a better lt_prog_compiler_static that works with the bundled CC?
15842
lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
15845
irix5* | irix6* | nonstopux*)
15846
lt_prog_compiler_wl_F77='-Wl,'
15847
# PIC (with -KPIC) is the default.
15848
lt_prog_compiler_static_F77='-non_shared'
15852
lt_prog_compiler_pic_F77='-KPIC'
15853
lt_prog_compiler_static_F77='-Bstatic'
15859
lt_prog_compiler_wl_F77='-Wl,'
15860
lt_prog_compiler_pic_F77='-KPIC'
15861
lt_prog_compiler_static_F77='-static'
15864
lt_prog_compiler_wl_F77='-Wl,'
15865
# All Alpha code is PIC.
15866
lt_prog_compiler_static_F77='-non_shared'
15871
osf3* | osf4* | osf5*)
15872
lt_prog_compiler_wl_F77='-Wl,'
15873
# All OSF/1 code is PIC.
15874
lt_prog_compiler_static_F77='-non_shared'
15878
lt_prog_compiler_pic_F77='-Kpic'
15879
lt_prog_compiler_static_F77='-dn'
15883
lt_prog_compiler_wl_F77='-Wl,'
15884
lt_prog_compiler_pic_F77='-KPIC'
15885
lt_prog_compiler_static_F77='-Bstatic'
15889
lt_prog_compiler_wl_F77='-Qoption ld '
15890
lt_prog_compiler_pic_F77='-PIC'
15891
lt_prog_compiler_static_F77='-Bstatic'
15894
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
15895
lt_prog_compiler_wl_F77='-Wl,'
15896
lt_prog_compiler_pic_F77='-KPIC'
15897
lt_prog_compiler_static_F77='-Bstatic'
15901
if test -d /usr/nec ;then
15902
lt_prog_compiler_pic_F77='-Kconform_pic'
15903
lt_prog_compiler_static_F77='-Bstatic'
15908
lt_prog_compiler_pic_F77='-pic'
15909
lt_prog_compiler_static_F77='-Bstatic'
15913
lt_prog_compiler_can_build_shared_F77=no
15918
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
15919
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
15922
# Check to make sure the PIC flag actually works.
15924
if test -n "$lt_prog_compiler_pic_F77"; then
15926
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
15927
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
15928
if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
15929
echo $ECHO_N "(cached) $ECHO_C" >&6
15931
lt_prog_compiler_pic_works_F77=no
15932
ac_outfile=conftest.$ac_objext
15933
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15934
lt_compiler_flag="$lt_prog_compiler_pic_F77"
15935
# Insert the option either (1) after the last *FLAGS variable, or
15936
# (2) before a word containing "conftest.", or (3) at the end.
15937
# Note that $ac_compile itself does not contain backslashes and begins
15938
# with a dollar sign (not a hyphen), so the echo should work correctly.
15939
# The option is referenced via a variable to avoid confusing sed.
15940
lt_compile=`echo "$ac_compile" | $SED \
15941
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15942
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15943
-e 's:$: $lt_compiler_flag:'`
15944
(eval echo "\"\$as_me:15944: $lt_compile\"" >&5)
15945
(eval "$lt_compile" 2>conftest.err)
15947
cat conftest.err >&5
15948
echo "$as_me:15948: \$? = $ac_status" >&5
15949
if (exit $ac_status) && test -s "$ac_outfile"; then
15950
# The compiler can only warn and ignore the option if not recognized
15951
# So say no if there are warnings
15952
if test ! -s conftest.err; then
15953
lt_prog_compiler_pic_works_F77=yes
15959
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
15960
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
15962
if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
15963
case $lt_prog_compiler_pic_F77 in
15965
*) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
15968
lt_prog_compiler_pic_F77=
15969
lt_prog_compiler_can_build_shared_F77=no
15974
# For platforms which do not support PIC, -DPIC is meaningless:
15976
lt_prog_compiler_pic_F77=
15979
lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
15983
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15984
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
15985
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
15986
echo $ECHO_N "(cached) $ECHO_C" >&6
15988
lt_cv_prog_compiler_c_o_F77=no
15989
$rm -r conftest 2>/dev/null
15993
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15995
# According to Tom Tromey, Ian Lance Taylor reported there are C compilers
15996
# that will create temporary files in the current directory regardless of
15997
# the output directory. Thus, making CWD read-only will cause this test
15998
# to fail, enabling locking or at least warning the user not to do parallel
16002
lt_compiler_flag="-o out/conftest2.$ac_objext"
16003
# Insert the option either (1) after the last *FLAGS variable, or
16004
# (2) before a word containing "conftest.", or (3) at the end.
16005
# Note that $ac_compile itself does not contain backslashes and begins
16006
# with a dollar sign (not a hyphen), so the echo should work correctly.
16007
lt_compile=`echo "$ac_compile" | $SED \
16008
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
16009
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16010
-e 's:$: $lt_compiler_flag:'`
16011
(eval echo "\"\$as_me:16011: $lt_compile\"" >&5)
16012
(eval "$lt_compile" 2>out/conftest.err)
16014
cat out/conftest.err >&5
16015
echo "$as_me:16015: \$? = $ac_status" >&5
16016
if (exit $ac_status) && test -s out/conftest2.$ac_objext
16018
# The compiler can only warn and ignore the option if not recognized
16019
# So say no if there are warnings
16020
if test ! -s out/conftest.err; then
16021
lt_cv_prog_compiler_c_o_F77=yes
16025
$rm conftest* out/*
16032
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
16033
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
16036
hard_links="nottested"
16037
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
16038
# do not overwrite the value of need_locks provided by the user
16039
echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16040
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
16043
ln conftest.a conftest.b 2>/dev/null && hard_links=no
16045
ln conftest.a conftest.b 2>&5 || hard_links=no
16046
ln conftest.a conftest.b 2>/dev/null && hard_links=no
16047
echo "$as_me:$LINENO: result: $hard_links" >&5
16048
echo "${ECHO_T}$hard_links" >&6
16049
if test "$hard_links" = no; then
16050
{ echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16051
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16058
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16059
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
16062
allow_undefined_flag_F77=
16063
enable_shared_with_static_runtimes_F77=no
16065
archive_expsym_cmds_F77=
16066
old_archive_From_new_cmds_F77=
16067
old_archive_from_expsyms_cmds_F77=
16068
export_dynamic_flag_spec_F77=
16069
whole_archive_flag_spec_F77=
16070
thread_safe_flag_spec_F77=
16071
hardcode_libdir_flag_spec_F77=
16072
hardcode_libdir_flag_spec_ld_F77=
16073
hardcode_libdir_separator_F77=
16074
hardcode_direct_F77=no
16075
hardcode_minus_L_F77=no
16076
hardcode_shlibpath_var_F77=unsupported
16077
link_all_deplibs_F77=unknown
16078
hardcode_automatic_F77=no
16080
module_expsym_cmds_F77=
16081
always_export_symbols_F77=no
16082
export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16083
# include_expsyms should be a list of space-separated symbols to be *always*
16084
# included in the symbol list
16085
include_expsyms_F77=
16086
# exclude_expsyms can be an extended regexp of symbols to exclude
16087
# it will be wrapped by ` (' and `)$', so one must not match beginning or
16088
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16089
# as well as any symbol that contains `d'.
16090
exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
16091
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16092
# platforms (ab)use it in PIC code, but their linkers get confused if
16093
# the symbol is explicitly referenced. Since portable code cannot
16094
# rely on this symbol name, it's probably fine to never include it in
16095
# preloaded symbol tables.
16096
extract_expsyms_cmds=
16099
cygwin* | mingw* | pw32*)
16100
# FIXME: the MSVC++ port hasn't been tested in a loooong time
16101
# When not using gcc, we currently assume that we are using
16102
# Microsoft Visual C++.
16103
if test "$GCC" != yes; then
16113
if test "$with_gnu_ld" = yes; then
16114
# If archive_cmds runs LD, not CC, wlarc should be empty
16117
# See if GNU ld supports shared libraries.
16119
aix3* | aix4* | aix5*)
16120
# On AIX/PPC, the GNU linker is very broken
16121
if test "$host_cpu" != ia64; then
16125
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
16126
*** to be unable to reliably create shared libraries on AIX.
16127
*** Therefore, libtool is disabling shared libraries support. If you
16128
*** really care for shared libraries, you may want to modify your PATH
16129
*** so that a non-GNU linker is found, and then restart.
16136
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)'
16137
hardcode_libdir_flag_spec_F77='-L$libdir'
16138
hardcode_minus_L_F77=yes
16140
# Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
16141
# that the semantics of dynamic libraries on AmigaOS, at least up
16142
# to version 4, is to share data among multiple programs linked
16143
# with the same dynamic library. Since this doesn't match the
16144
# behavior of shared libraries on other platforms, we can't use
16150
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16151
allow_undefined_flag_F77=unsupported
16152
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16153
# support --undefined. This deserves some investigation. FIXME
16154
archive_cmds_F77='$CC -nostart $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
16160
cygwin* | mingw* | pw32*)
16161
# _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
16162
# as there is no search path for DLLs.
16163
hardcode_libdir_flag_spec_F77='-L$libdir'
16164
allow_undefined_flag_F77=no
16165
always_export_symbols_F77=no
16166
enable_shared_with_static_runtimes_F77=yes
16167
export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
16169
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
16170
archive_cmds_F77='$CC -shared $compiler_flags $libobjs $deplibs -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
16171
# If the export-symbols file already is a .def file (1st line
16172
# is EXPORTS), use it as is; otherwise, prepend...
16173
archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16174
cp $export_symbols $output_objdir/$soname.def;
16176
echo EXPORTS > $output_objdir/$soname.def;
16177
cat $export_symbols >> $output_objdir/$soname.def;
16179
$CC -shared $output_objdir/$soname.def $compiler_flags $libobjs $deplibs -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
16186
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16187
archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16190
archive_cmds_F77='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
16191
archive_expsym_cmds_F77='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16196
if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
16200
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
16201
*** create shared libraries on Solaris systems. Therefore, libtool
16202
*** is disabling shared libraries support. We urge you to upgrade GNU
16203
*** binutils to release 2.9.1 or newer. Another option is to modify
16204
*** your PATH or compiler configuration so that the native linker is
16205
*** used, and then restart.
16208
elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16209
archive_cmds_F77='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
16210
archive_expsym_cmds_F77='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16217
archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16219
hardcode_direct_F77=yes
16220
hardcode_shlibpath_var_F77=no
16224
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16225
archive_cmds_F77='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
16226
archive_expsym_cmds_F77='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16233
if test "$ld_shlibs_F77" = yes; then
16234
runpath_var=LD_RUN_PATH
16235
hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
16236
export_dynamic_flag_spec_F77='${wl}--export-dynamic'
16237
# ancient GNU ld didn't support --whole-archive et. al.
16238
if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
16239
whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16241
whole_archive_flag_spec_F77=
16245
# PORTME fill in a description of your system's linker (not GNU ld)
16248
allow_undefined_flag_F77=unsupported
16249
always_export_symbols_F77=yes
16250
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'
16251
# Note: this linker hardcodes the directories in LIBPATH if there
16252
# are no directories specified by -L.
16253
hardcode_minus_L_F77=yes
16254
if test "$GCC" = yes && test -z "$link_static_flag"; then
16255
# Neither direct hardcoding nor static linking is supported with a
16257
hardcode_direct_F77=unsupported
16262
if test "$host_cpu" = ia64; then
16263
# On IA64, the linker does run time linking by default, so we don't
16264
# have to do anything special.
16265
aix_use_runtimelinking=no
16266
exp_sym_flag='-Bexport'
16269
# If we're using GNU nm, then we don't want the "-C" option.
16270
# -C means demangle to AIX nm, but means don't demangle with GNU nm
16271
if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
16272
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'
16274
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'
16277
# KDE requires run time linking. Make it the default.
16278
aix_use_runtimelinking=yes
16279
exp_sym_flag='-bexport'
16280
no_entry_flag='-bnoentry'
16283
# When large executables or shared objects are built, AIX ld can
16284
# have problems creating the table of contents. If linking a library
16285
# or program results in "error TOC overflow" add -mminimal-toc to
16286
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
16287
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
16289
archive_cmds_F77=''
16290
hardcode_direct_F77=yes
16291
hardcode_libdir_separator_F77=':'
16292
link_all_deplibs_F77=yes
16294
if test "$GCC" = yes; then
16295
case $host_os in aix4.012|aix4.012.*)
16296
# We only want to do this on AIX 4.2 and lower, the check
16297
# below for broken collect2 doesn't work under 4.3+
16298
collect2name=`${CC} -print-prog-name=collect2`
16299
if test -f "$collect2name" && \
16300
strings "$collect2name" | grep resolve_lib_name >/dev/null
16302
# We have reworked collect2
16303
hardcode_direct_F77=yes
16305
# We have old collect2
16306
hardcode_direct_F77=unsupported
16307
# It fails to find uninstalled libraries when the uninstalled
16308
# path is not listed in the libpath. Setting hardcode_minus_L
16309
# to unsupported forces relinking
16310
hardcode_minus_L_F77=yes
16311
hardcode_libdir_flag_spec_F77='-L$libdir'
16312
hardcode_libdir_separator_F77=
16315
shared_flag='-shared'
16318
if test "$host_cpu" = ia64; then
16319
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
16320
# chokes on -Wl,-G. The following line is correct:
16323
if test "$aix_use_runtimelinking" = yes; then
16324
shared_flag='-qmkshrobj ${wl}-G'
16326
shared_flag='-qmkshrobj'
16331
# Let the compiler handle the export list.
16332
always_export_symbols_F77=no
16333
if test "$aix_use_runtimelinking" = yes; then
16334
# Warning - without using the other runtime loading flags (-brtl),
16335
# -berok will link without error, but may produce a broken library.
16336
allow_undefined_flag_F77='-berok'
16337
# Determine the default libpath from the value encoded in an empty executable.
16338
cat >conftest.$ac_ext <<_ACEOF
16343
rm -f conftest.$ac_objext conftest$ac_exeext
16344
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16345
(eval $ac_link) 2>conftest.er1
16347
grep -v '^ *+' conftest.er1 >conftest.err
16349
cat conftest.err >&5
16350
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16351
(exit $ac_status); } &&
16352
{ ac_try='test -z "$ac_f77_werror_flag"
16353
|| test ! -s conftest.err'
16354
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16355
(eval $ac_try) 2>&5
16357
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16358
(exit $ac_status); }; } &&
16359
{ ac_try='test -s conftest$ac_exeext'
16360
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16361
(eval $ac_try) 2>&5
16363
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16364
(exit $ac_status); }; }; then
16366
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16368
# Check for a 64-bit object if we didn't find anything.
16369
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; }
16372
echo "$as_me: failed program was:" >&5
16373
sed 's/^/| /' conftest.$ac_ext >&5
16376
rm -f conftest.err conftest.$ac_objext \
16377
conftest$ac_exeext conftest.$ac_ext
16378
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16380
hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
16381
archive_cmds_F77="\$CC"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '" $shared_flag"
16382
archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
16384
if test "$host_cpu" = ia64; then
16385
hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
16386
allow_undefined_flag_F77="-z nodefs"
16387
archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
16389
# Determine the default libpath from the value encoded in an empty executable.
16390
cat >conftest.$ac_ext <<_ACEOF
16395
rm -f conftest.$ac_objext conftest$ac_exeext
16396
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16397
(eval $ac_link) 2>conftest.er1
16399
grep -v '^ *+' conftest.er1 >conftest.err
16401
cat conftest.err >&5
16402
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16403
(exit $ac_status); } &&
16404
{ ac_try='test -z "$ac_f77_werror_flag"
16405
|| test ! -s conftest.err'
16406
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16407
(eval $ac_try) 2>&5
16409
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16410
(exit $ac_status); }; } &&
16411
{ ac_try='test -s conftest$ac_exeext'
16412
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16413
(eval $ac_try) 2>&5
16415
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16416
(exit $ac_status); }; }; then
16418
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16420
# Check for a 64-bit object if we didn't find anything.
16421
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; }
16424
echo "$as_me: failed program was:" >&5
16425
sed 's/^/| /' conftest.$ac_ext >&5
16428
rm -f conftest.err conftest.$ac_objext \
16429
conftest$ac_exeext conftest.$ac_ext
16430
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16432
hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
16433
# Warning - without using the other run time loading flags,
16434
# -berok will link without error, but may produce a broken library.
16435
no_undefined_flag_F77=' ${wl}-bernotok'
16436
allow_undefined_flag_F77=' ${wl}-berok'
16437
# -bexpall does not export symbols beginning with underscore (_)
16438
always_export_symbols_F77=yes
16439
# Exported symbols can be pulled into shared objects from archives
16440
whole_archive_flag_spec_F77=' '
16441
archive_cmds_need_lc_F77=yes
16442
# This is similar to how AIX traditionally builds it's shared libraries.
16443
archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
16449
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)'
16450
hardcode_libdir_flag_spec_F77='-L$libdir'
16451
hardcode_minus_L_F77=yes
16452
# see comment about different semantics on the GNU ld section
16457
export_dynamic_flag_spec_F77=-rdynamic
16460
cygwin* | mingw* | pw32*)
16461
# When not using gcc, we currently assume that we are using
16462
# Microsoft Visual C++.
16463
# hardcode_libdir_flag_spec is actually meaningless, as there is
16464
# no search path for DLLs.
16465
hardcode_libdir_flag_spec_F77=' '
16466
allow_undefined_flag_F77=no
16467
# Tell ltmain to make .lib files, not .a files.
16469
# Tell ltmain to make .dll files, not .so files.
16471
# FIXME: Setting linknames here is a bad hack.
16472
archive_cmds_F77='$CC -o $lib $compiler_flags $libobjs `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
16473
# The linker will automatically build a .lib file if we build a DLL.
16474
old_archive_From_new_cmds_F77='true'
16475
# FIXME: Should let the user specify the lib program.
16476
old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
16477
fix_srcfile_path='`cygpath -w "$srcfile"`'
16478
enable_shared_with_static_runtimes_F77=yes
16481
darwin* | rhapsody*)
16482
if test "$GXX" = yes ; then
16483
archive_cmds_need_lc_F77=no
16485
rhapsody* | darwin1.[012])
16486
allow_undefined_flag_F77='-undefined suppress'
16489
test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_F77='-flat_namespace -undefined suppress'
16492
lt_int_apple_cc_single_mod=no
16493
output_verbose_link_cmd='echo'
16494
if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
16495
lt_int_apple_cc_single_mod=yes
16497
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
16498
archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring'
16500
archive_cmds_F77='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $compiler_flags $deplibs -install_name $rpath/$soname $verstring'
16502
module_cmds_F77='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs'
16503
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
16504
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
16505
archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16507
archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $compiler_flags $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16509
module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16510
hardcode_direct_F77=no
16511
hardcode_automatic_F77=yes
16512
hardcode_shlibpath_var_F77=unsupported
16513
whole_archive_flag_spec_F77='-all_load $convenience'
16514
link_all_deplibs_F77=yes
16521
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16522
hardcode_libdir_flag_spec_F77='-L$libdir'
16523
hardcode_shlibpath_var_F77=no
16530
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
16531
# support. Future versions do this automatically, but an explicit c++rt0.o
16532
# does not break anything, and helps significantly (at the cost of a little
16535
archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
16536
hardcode_libdir_flag_spec_F77='-R$libdir'
16537
hardcode_direct_F77=yes
16538
hardcode_shlibpath_var_F77=no
16541
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
16543
archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16544
hardcode_direct_F77=yes
16545
hardcode_minus_L_F77=yes
16546
hardcode_shlibpath_var_F77=no
16549
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16551
archive_cmds_F77='$CC -shared -o $lib $compiler_flags $libobjs $deplibs'
16552
hardcode_libdir_flag_spec_F77='-R$libdir'
16553
hardcode_direct_F77=yes
16554
hardcode_shlibpath_var_F77=no
16558
if test "$GCC" = yes; then
16559
archive_cmds_F77='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $compiler_flags $libobjs $deplibs~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
16561
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'
16563
hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
16564
hardcode_libdir_separator_F77=:
16565
hardcode_direct_F77=yes
16567
# hardcode_minus_L: Not really in the search PATH,
16568
# but as the default location of the library.
16569
hardcode_minus_L_F77=yes
16570
export_dynamic_flag_spec_F77='${wl}-E'
16574
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
16575
case "$host_cpu" in
16577
archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
16580
archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $compiler_flags $libobjs $deplibs'
16584
case "$host_cpu" in
16586
archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
16589
archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
16593
if test "$with_gnu_ld" = no; then
16594
case "$host_cpu" in
16596
hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
16597
hardcode_libdir_flag_spec_ld_F77='+b $libdir'
16598
hardcode_libdir_separator_F77=:
16599
hardcode_direct_F77=no
16600
hardcode_shlibpath_var_F77=no
16603
hardcode_libdir_flag_spec_F77='-L$libdir'
16604
hardcode_direct_F77=no
16605
hardcode_shlibpath_var_F77=no
16607
# hardcode_minus_L: Not really in the search PATH,
16608
# but as the default location of the library.
16609
hardcode_minus_L_F77=yes
16612
hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
16613
hardcode_libdir_separator_F77=:
16614
hardcode_direct_F77=yes
16615
export_dynamic_flag_spec_F77='${wl}-E'
16617
# hardcode_minus_L: Not really in the search PATH,
16618
# but as the default location of the library.
16619
hardcode_minus_L_F77=yes
16625
irix5* | irix6* | nonstopux*)
16626
if test "$GCC" = yes; then
16627
archive_cmds_F77='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
16629
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'
16630
hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
16632
hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
16633
hardcode_libdir_separator_F77=:
16634
link_all_deplibs_F77=yes
16638
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16639
archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
16641
archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
16643
hardcode_libdir_flag_spec_F77='-R$libdir'
16644
hardcode_direct_F77=yes
16645
hardcode_shlibpath_var_F77=no
16649
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16650
hardcode_direct_F77=yes
16651
hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
16652
hardcode_libdir_separator_F77=:
16653
hardcode_shlibpath_var_F77=no
16657
hardcode_direct_F77=yes
16658
hardcode_shlibpath_var_F77=no
16659
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16660
archive_cmds_F77='$CC -shared $pic_flag -o $lib $compiler_flags $libobjs $deplibs'
16661
hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
16662
export_dynamic_flag_spec_F77='${wl}-E'
16665
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
16666
archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16667
hardcode_libdir_flag_spec_F77='-R$libdir'
16670
archive_cmds_F77='$CC -shared $pic_flag -o $lib $compiler_flags $libobjs $deplibs'
16671
hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
16678
hardcode_libdir_flag_spec_F77='-L$libdir'
16679
hardcode_minus_L_F77=yes
16680
allow_undefined_flag_F77=unsupported
16681
archive_cmds_F77='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $compiler_flags $libobjs $deplibs$output_objdir/$libname.def'
16682
old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16686
if test "$GCC" = yes; then
16687
allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
16688
archive_cmds_F77='$CC -shared${allow_undefined_flag} $compiler_flags $libobjs $deplibs ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
16690
allow_undefined_flag_F77=' -expect_unresolved \*'
16691
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'
16693
hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
16694
hardcode_libdir_separator_F77=:
16697
osf4* | osf5*) # as osf3* with the addition of -msym flag
16698
if test "$GCC" = yes; then
16699
allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
16700
archive_cmds_F77='$CC -shared${allow_undefined_flag} $compiler_flags $libobjs $deplibs ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
16701
hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
16703
allow_undefined_flag_F77=' -expect_unresolved \*'
16704
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'
16705
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~
16706
$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'
16708
# Both c and cxx compiler support -rpath directly
16709
hardcode_libdir_flag_spec_F77='-rpath $libdir'
16711
hardcode_libdir_separator_F77=:
16715
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16716
hardcode_shlibpath_var_F77=no
16717
export_dynamic_flag_spec_F77='${wl}-Bexport'
16718
runpath_var=LD_RUN_PATH
16719
hardcode_runpath_var=yes
16723
no_undefined_flag_F77=' -z text'
16724
if test "$GCC" = yes; then
16725
archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
16726
archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16727
$CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs~$rm $lib.exp'
16729
archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16730
archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16731
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16733
hardcode_libdir_flag_spec_F77='-R$libdir'
16734
hardcode_shlibpath_var_F77=no
16736
solaris2.[0-5] | solaris2.[0-5].*) ;;
16737
*) # Supported since Solaris 2.6 (maybe 2.5.1?)
16738
whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
16740
link_all_deplibs_F77=yes
16744
if test "x$host_vendor" = xsequent; then
16745
# Use $CC to link under sequent, because it throws in some extra .o
16746
# files that make .init and .fini sections work.
16747
archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $compiler_flags $libobjs $deplibs'
16749
archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16751
hardcode_libdir_flag_spec_F77='-L$libdir'
16752
hardcode_direct_F77=yes
16753
hardcode_minus_L_F77=yes
16754
hardcode_shlibpath_var_F77=no
16758
case $host_vendor in
16760
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16761
hardcode_direct_F77=yes # is this really true???
16764
## LD is ld it makes a PLAMLIB
16765
## CC just makes a GrossModule.
16766
archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16767
reload_cmds_F77='$CC -r -o $output$reload_objs'
16768
hardcode_direct_F77=no
16771
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16772
hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
16775
runpath_var='LD_RUN_PATH'
16776
hardcode_shlibpath_var_F77=no
16780
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16781
hardcode_shlibpath_var_F77=no
16782
export_dynamic_flag_spec_F77='-Bexport'
16786
if test -d /usr/nec; then
16787
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16788
hardcode_shlibpath_var_F77=no
16789
runpath_var=LD_RUN_PATH
16790
hardcode_runpath_var=yes
16796
archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16797
hardcode_direct_F77=yes
16798
hardcode_minus_L_F77=no
16799
hardcode_shlibpath_var_F77=no
16800
hardcode_runpath_var=yes
16801
runpath_var=LD_RUN_PATH
16804
sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
16805
no_undefined_flag_F77='${wl}-z ${wl}text'
16806
if test "$GCC" = yes; then
16807
archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
16809
archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
16811
runpath_var='LD_RUN_PATH'
16812
hardcode_shlibpath_var_F77=no
16816
no_undefined_flag_F77=' -z text'
16817
# $CC -shared without GNU ld will not create a library from C++
16818
# object files and a static libstdc++, better avoid it by now
16819
archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16820
archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16821
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16822
hardcode_libdir_flag_spec_F77=
16823
hardcode_shlibpath_var_F77=no
16824
runpath_var='LD_RUN_PATH'
16828
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16829
hardcode_libdir_flag_spec_F77='-L$libdir'
16830
hardcode_shlibpath_var_F77=no
16839
echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
16840
echo "${ECHO_T}$ld_shlibs_F77" >&6
16841
test "$ld_shlibs_F77" = no && can_build_shared=no
16843
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16844
if test "$GCC" = yes; then
16845
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16849
# Do we need to explicitly link libc?
16851
case "x$archive_cmds_need_lc_F77" in
16853
# Assume -lc should be added
16854
archive_cmds_need_lc_F77=yes
16856
if test "$enable_shared" = yes && test "$GCC" = yes; then
16857
case $archive_cmds_F77 in
16859
# FIXME: we may have to deal with multi-command sequences.
16862
# Test whether the compiler implicitly links with -lc since on some
16863
# systems, -lgcc has to come before -lc. If gcc already passes -lc
16864
# to ld, don't add -lc before -lgcc.
16865
echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16866
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
16868
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16870
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16871
(eval $ac_compile) 2>&5
16873
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16874
(exit $ac_status); } 2>conftest.err; then
16877
libobjs=conftest.$ac_objext
16879
wl=$lt_prog_compiler_wl_F77
16885
lt_save_allow_undefined_flag=$allow_undefined_flag_F77
16886
allow_undefined_flag_F77=
16887
if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16888
(eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
16890
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16891
(exit $ac_status); }
16893
archive_cmds_need_lc_F77=no
16895
archive_cmds_need_lc_F77=yes
16897
allow_undefined_flag_F77=$lt_save_allow_undefined_flag
16899
cat conftest.err 1>&5
16902
echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
16903
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
16910
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16911
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
16912
library_names_spec=
16913
libname_spec='lib$name'
16917
postuninstall_cmds=
16921
shlibpath_overrides_runpath=unknown
16923
dynamic_linker="$host_os ld.so"
16924
sys_lib_dlsearch_path_spec="/lib /usr/lib"
16925
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16926
need_lib_prefix=unknown
16927
hardcode_into_libs=no
16929
# when you set need_version to no, make sure it does not cause -set_version
16930
# flags to be left without arguments
16931
need_version=unknown
16936
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16937
shlibpath_var=LIBPATH
16939
# AIX 3 has no versioning support, so we append a major version to the name.
16940
soname_spec='${libname}${release}${shared_ext}$major'
16947
hardcode_into_libs=yes
16948
if test "$host_cpu" = ia64; then
16949
# AIX 5 supports IA64
16950
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16951
shlibpath_var=LD_LIBRARY_PATH
16953
# With GCC up to 2.95.x, collect2 would create an import file
16954
# for dependence libraries. The import file would start with
16955
# the line `#! .'. This would cause the generated library to
16956
# depend on `.', always an invalid library. This was fixed in
16957
# development snapshots of GCC prior to 3.0.
16959
aix4 | aix4.[01] | aix4.[01].*)
16960
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16962
echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
16965
can_build_shared=no
16969
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16970
# soname into executable. Probably we can add versioning support to
16971
# collect2, so additional links can be useful in future.
16972
if test "$aix_use_runtimelinking" = yes; then
16973
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
16974
# instead of lib<name>.a to let people know that these are not
16975
# typical AIX shared libraries.
16976
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16978
# We preserve .a as extension for shared libraries through AIX4.2
16979
# and later when we are not doing run time linking.
16980
library_names_spec='${libname}${release}.a $libname.a'
16981
soname_spec='${libname}${release}${shared_ext}$major'
16983
shlibpath_var=LIBPATH
16988
library_names_spec='$libname.ixlibrary $libname.a'
16989
# Create ${libname}_ixlibrary.a entries in /sys/libs.
16990
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'
16994
library_names_spec='${libname}${shared_ext}'
16995
dynamic_linker="$host_os ld.so"
16996
shlibpath_var=LIBRARY_PATH
17002
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17003
soname_spec='${libname}${release}${shared_ext}$major'
17004
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
17005
shlibpath_var=LD_LIBRARY_PATH
17006
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17007
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
17008
# the default ld.so.conf also contains /usr/contrib/lib and
17009
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17010
# libtool to hard-code these into programs
17013
cygwin* | mingw* | pw32*)
17014
version_type=windows
17019
case $GCC,$host_os in
17020
yes,cygwin* | yes,mingw* | yes,pw32*)
17021
library_names_spec='$libname.dll.a'
17022
# DLL is installed to $(libdir)/../bin by postinstall_cmds
17023
postinstall_cmds='base_file=`basename \${file}`~
17024
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
17025
dldir=$destdir/`dirname \$dlpath`~
17026
test -d \$dldir || mkdir -p \$dldir~
17027
$install_prog $dir/$dlname \$dldir/$dlname'
17028
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17029
dlpath=$dir/\$dldll~
17031
shlibpath_overrides_runpath=yes
17035
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
17036
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17037
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
17040
# MinGW DLLs use traditional 'lib' prefix
17041
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17042
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17043
if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
17044
# It is most probably a Windows format PATH printed by
17045
# mingw gcc, but we are running on Cygwin. Gcc prints its search
17046
# path with ; separators, and with drive letters. We can handle the
17047
# drive letters (cygwin fileutils understands them), so leave them,
17048
# especially as we might pass files found there to a mingw objdump,
17049
# which wouldn't understand a cygwinified path. Ahh.
17050
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17052
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17056
# pw32 DLLs use 'pw' prefix rather than 'lib'
17057
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
17063
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17066
dynamic_linker='Win32 ld.exe'
17067
# FIXME: first we should search . and the directory the executable is in
17071
darwin* | rhapsody*)
17072
dynamic_linker="$host_os dyld"
17073
version_type=darwin
17076
library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17077
soname_spec='${libname}${release}${major}$shared_ext'
17078
shlibpath_overrides_runpath=yes
17079
shlibpath_var=DYLD_LIBRARY_PATH
17080
shrext='$(test .$module = .yes && echo .so || echo .dylib)'
17081
# Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
17082
if test "$GCC" = yes; then
17083
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"`
17085
sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
17087
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
17094
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17095
soname_spec='${libname}${release}${shared_ext}$major'
17096
shlibpath_var=LD_LIBRARY_PATH
17107
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17108
soname_spec='${libname}${release}${shared_ext}$major'
17109
shlibpath_var=LD_LIBRARY_PATH
17110
shlibpath_overrides_runpath=no
17111
hardcode_into_libs=yes
17112
dynamic_linker='GNU ld.so'
17116
objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
17117
version_type=freebsd-$objformat
17118
case $version_type in
17120
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17125
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17129
shlibpath_var=LD_LIBRARY_PATH
17132
shlibpath_overrides_runpath=yes
17134
freebsd3.01* | freebsdelf3.01*)
17135
shlibpath_overrides_runpath=yes
17136
hardcode_into_libs=yes
17139
shlibpath_overrides_runpath=no
17140
hardcode_into_libs=yes
17149
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17150
soname_spec='${libname}${release}${shared_ext}$major'
17151
shlibpath_var=LD_LIBRARY_PATH
17152
hardcode_into_libs=yes
17155
hpux9* | hpux10* | hpux11*)
17156
# Give a soname corresponding to the major version so that dld.sl refuses to
17157
# link against other versions.
17161
case "$host_cpu" in
17164
hardcode_into_libs=yes
17165
dynamic_linker="$host_os dld.so"
17166
shlibpath_var=LD_LIBRARY_PATH
17167
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17168
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17169
soname_spec='${libname}${release}${shared_ext}$major'
17170
if test "X$HPUX_IA64_MODE" = X32; then
17171
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17173
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
17175
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17179
hardcode_into_libs=yes
17180
dynamic_linker="$host_os dld.sl"
17181
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
17182
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17183
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17184
soname_spec='${libname}${release}${shared_ext}$major'
17185
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17186
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17190
dynamic_linker="$host_os dld.sl"
17191
shlibpath_var=SHLIB_PATH
17192
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
17193
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17194
soname_spec='${libname}${release}${shared_ext}$major'
17197
# HP-UX runs *really* slowly unless shared libraries are mode 555.
17198
postinstall_cmds='chmod 555 $lib'
17201
irix5* | irix6* | nonstopux*)
17203
nonstopux*) version_type=nonstopux ;;
17205
if test "$lt_cv_prog_gnu_ld" = yes; then
17213
soname_spec='${libname}${release}${shared_ext}$major'
17214
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17216
irix5* | nonstopux*)
17217
libsuff= shlibsuff=
17220
case $LD in # libtool.m4 will add one of these switches to LD
17221
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
17222
libsuff= shlibsuff= libmagic=32-bit;;
17223
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
17224
libsuff=32 shlibsuff=N32 libmagic=N32;;
17225
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
17226
libsuff=64 shlibsuff=64 libmagic=64-bit;;
17227
*) libsuff= shlibsuff= libmagic=never-match;;
17231
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
17232
shlibpath_overrides_runpath=no
17233
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17234
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
17235
hardcode_into_libs=yes
17238
# No shared lib support for Linux oldld, aout, or coff.
17239
linux*oldld* | linux*aout* | linux*coff*)
17243
# This must be Linux ELF.
17248
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17249
soname_spec='${libname}${release}${shared_ext}$major'
17250
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17252
if test "x$LINUX_64_MODE" = x64; then
17253
# Some platforms are per default 64-bit, so there's no /lib64
17254
if test -d /lib64; then
17258
shlibpath_var=LD_LIBRARY_PATH
17259
shlibpath_overrides_runpath=no
17260
sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
17261
sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
17262
# This implies no fast_install, which is unacceptable.
17263
# Some rework will be needed to allow for fast_install
17264
# before this can be enabled.
17265
hardcode_into_libs=yes
17267
# We used to test for /lib/ld.so.1 and disable shared libraries on
17268
# powerpc, because MkLinux only supported shared libraries with the
17269
# GNU dynamic linker. Since this was broken with cross compilers,
17270
# most powerpc-linux boxes support dynamic linking these days and
17271
# people can always --disable-shared, the test was removed, and we
17272
# assume the GNU/Linux dynamic linker is in use.
17273
dynamic_linker='GNU/Linux ld.so'
17280
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17281
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17282
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17283
dynamic_linker='NetBSD (a.out) ld.so'
17285
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
17286
soname_spec='${libname}${release}${shared_ext}$major'
17287
dynamic_linker='NetBSD ld.elf_so'
17289
shlibpath_var=LD_LIBRARY_PATH
17290
shlibpath_overrides_runpath=yes
17291
hardcode_into_libs=yes
17296
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17297
shlibpath_var=LD_LIBRARY_PATH
17298
shlibpath_overrides_runpath=yes
17305
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17306
soname_spec='${libname}${release}${shared_ext}$major'
17307
shlibpath_var=LD_LIBRARY_PATH
17308
shlibpath_overrides_runpath=yes
17315
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17316
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17317
shlibpath_var=LD_LIBRARY_PATH
17318
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17320
openbsd2.[89] | openbsd2.[89].*)
17321
shlibpath_overrides_runpath=no
17324
shlibpath_overrides_runpath=yes
17328
shlibpath_overrides_runpath=yes
17333
libname_spec='$name'
17336
library_names_spec='$libname${shared_ext} $libname.a'
17337
dynamic_linker='OS/2 ld.exe'
17338
shlibpath_var=LIBPATH
17341
osf3* | osf4* | osf5*)
17345
soname_spec='${libname}${release}${shared_ext}$major'
17346
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17347
shlibpath_var=LD_LIBRARY_PATH
17348
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17349
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
17354
soname_spec='${libname}${release}${shared_ext}$major'
17355
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17356
shlibpath_var=LD_LIBRARY_PATH
17363
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17364
soname_spec='${libname}${release}${shared_ext}$major'
17365
shlibpath_var=LD_LIBRARY_PATH
17366
shlibpath_overrides_runpath=yes
17367
hardcode_into_libs=yes
17368
# ldd complains unless libraries are executable
17369
postinstall_cmds='chmod +x $lib'
17374
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17375
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17376
shlibpath_var=LD_LIBRARY_PATH
17377
shlibpath_overrides_runpath=yes
17378
if test "$with_gnu_ld" = yes; then
17384
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
17386
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17387
soname_spec='${libname}${release}${shared_ext}$major'
17388
shlibpath_var=LD_LIBRARY_PATH
17389
case $host_vendor in
17391
shlibpath_overrides_runpath=no
17393
export_dynamic_flag_spec='${wl}-Blargedynsym'
17394
runpath_var=LD_RUN_PATH
17402
shlibpath_overrides_runpath=no
17403
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
17409
if test -d /usr/nec ;then
17411
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17412
soname_spec='$libname${shared_ext}.$major'
17413
shlibpath_var=LD_LIBRARY_PATH
17419
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17420
soname_spec='${libname}${release}${shared_ext}$major'
17421
shlibpath_var=LD_LIBRARY_PATH
17428
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17429
echo "${ECHO_T}$dynamic_linker" >&6
17430
test "$dynamic_linker" = no && can_build_shared=no
17432
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17433
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
17434
hardcode_action_F77=
17435
if test -n "$hardcode_libdir_flag_spec_F77" || \
17436
test -n "$runpath_var F77" || \
17437
test "X$hardcode_automatic_F77"="Xyes" ; then
17439
# We can hardcode non-existant directories.
17440
if test "$hardcode_direct_F77" != no &&
17441
# If the only mechanism to avoid hardcoding is shlibpath_var, we
17442
# have to relink, otherwise we might link with an installed library
17443
# when we should be linking with a yet-to-be-installed one
17444
## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
17445
test "$hardcode_minus_L_F77" != no; then
17446
# Linking always hardcodes the temporary library directory.
17447
hardcode_action_F77=relink
17449
# We can link without hardcoding, and we can hardcode nonexisting dirs.
17450
hardcode_action_F77=immediate
17453
# We cannot hardcode anything, or else we can only hardcode existing
17455
hardcode_action_F77=unsupported
17457
echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
17458
echo "${ECHO_T}$hardcode_action_F77" >&6
17460
if test "$hardcode_action_F77" = relink; then
17461
# Fast installation is not supported
17462
enable_fast_install=no
17463
elif test "$shlibpath_overrides_runpath" = yes ||
17464
test "$enable_shared" = no; then
17465
# Fast installation is not necessary
17466
enable_fast_install=needless
17471
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
17472
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
17473
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
17474
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
17475
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
17476
echo "$as_me:$LINENO: result: yes" >&5
17477
echo "${ECHO_T}yes" >&6
17479
# FIXME - insert some real tests, host_os isn't really good enough
17482
if test -n "$STRIP" ; then
17483
striplib="$STRIP -x"
17484
echo "$as_me:$LINENO: result: yes" >&5
17485
echo "${ECHO_T}yes" >&6
17487
echo "$as_me:$LINENO: result: no" >&5
17488
echo "${ECHO_T}no" >&6
17492
echo "$as_me:$LINENO: result: no" >&5
17493
echo "${ECHO_T}no" >&6
17500
# The else clause should only fire when bootstrapping the
17501
# libtool distribution, otherwise you forgot to ship ltmain.sh
17502
# with your package, and you will get complaints that there are
17503
# no rules to generate ltmain.sh.
17504
if test -f "$ltmain"; then
17505
# See if we are running on zsh, and set the options which allow our commands through
17506
# without removal of \ escapes.
17507
if test -n "${ZSH_VERSION+set}" ; then
17508
setopt NO_GLOB_SUBST
17510
# Now quote all the things that may contain metacharacters while being
17511
# careful not to overquote the AC_SUBSTed values. We take copies of the
17512
# variables and quote the copies for generation of the libtool script.
17513
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
17514
libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17515
old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17516
deplibs_check_method reload_flag reload_cmds need_locks \
17517
lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17518
lt_cv_sys_global_symbol_to_c_name_address \
17519
sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17520
old_postinstall_cmds old_postuninstall_cmds \
17524
lt_prog_compiler_wl_F77 \
17525
lt_prog_compiler_pic_F77 \
17526
lt_prog_compiler_static_F77 \
17527
lt_prog_compiler_no_builtin_flag_F77 \
17528
export_dynamic_flag_spec_F77 \
17529
thread_safe_flag_spec_F77 \
17530
whole_archive_flag_spec_F77 \
17531
enable_shared_with_static_runtimes_F77 \
17532
old_archive_cmds_F77 \
17533
old_archive_from_new_cmds_F77 \
17534
predep_objects_F77 \
17535
postdep_objects_F77 \
17538
compiler_lib_search_path_F77 \
17540
archive_expsym_cmds_F77 \
17541
postinstall_cmds_F77 \
17542
postuninstall_cmds_F77 \
17543
old_archive_from_expsyms_cmds_F77 \
17544
allow_undefined_flag_F77 \
17545
no_undefined_flag_F77 \
17546
export_symbols_cmds_F77 \
17547
hardcode_libdir_flag_spec_F77 \
17548
hardcode_libdir_flag_spec_ld_F77 \
17549
hardcode_libdir_separator_F77 \
17550
hardcode_automatic_F77 \
17552
module_expsym_cmds_F77 \
17553
lt_cv_prog_compiler_c_o_F77 \
17554
exclude_expsyms_F77 \
17555
include_expsyms_F77; do
17558
old_archive_cmds_F77 | \
17559
old_archive_from_new_cmds_F77 | \
17560
archive_cmds_F77 | \
17561
archive_expsym_cmds_F77 | \
17562
module_cmds_F77 | \
17563
module_expsym_cmds_F77 | \
17564
old_archive_from_expsyms_cmds_F77 | \
17565
export_symbols_cmds_F77 | \
17566
extract_expsyms_cmds | reload_cmds | finish_cmds | \
17567
postinstall_cmds | postuninstall_cmds | \
17568
old_postinstall_cmds | old_postuninstall_cmds | \
17569
sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
17570
# Double-quote double-evaled strings.
17571
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17574
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17580
*'\$0 --fallback-echo"')
17581
lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17587
cat <<__EOF__ >> "$cfgfile"
17588
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
17590
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17592
# Shell to use when invoking shell scripts.
17595
# Whether or not to build shared libraries.
17596
build_libtool_libs=$enable_shared
17598
# Whether or not to build static libraries.
17599
build_old_libs=$enable_static
17601
# Whether or not to add -lc for building shared libraries.
17602
build_libtool_need_lc=$archive_cmds_need_lc_F77
17604
# Whether or not to disallow shared libs when runtime libs are static
17605
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
17607
# Whether or not to optimize for fast installation.
17608
fast_install=$enable_fast_install
17611
host_alias=$host_alias
17614
# An echo program that does not interpret backslashes.
17619
AR_FLAGS=$lt_AR_FLAGS
17624
# A language-specific compiler.
17625
CC=$lt_compiler_F77
17627
# Is the compiler the GNU C compiler?
17633
# The linker used to build libraries.
17636
# Whether we need hard or soft links.
17639
# A BSD-compatible nm program.
17642
# A symbol stripping program
17645
# Used to examine libraries when file_magic_cmd begins "file"
17646
MAGIC_CMD=$MAGIC_CMD
17648
# Used on cygwin: DLL creation program.
17651
# Used on cygwin: object dumper.
17654
# Used on cygwin: assembler.
17657
# The name of the directory that contains temporary libtool files.
17660
# How to create reloadable object files.
17661
reload_flag=$lt_reload_flag
17662
reload_cmds=$lt_reload_cmds
17664
# How to pass a linker flag through the compiler.
17665
wl=$lt_lt_prog_compiler_wl_F77
17667
# Object file suffix (normally "o").
17668
objext="$ac_objext"
17670
# Old archive suffix (normally "a").
17673
# Shared library suffix (normally ".so").
17676
# Executable file suffix (normally "").
17679
# Additional compiler flags for building library objects.
17680
pic_flag=$lt_lt_prog_compiler_pic_F77
17683
# What is the maximum length of a command?
17684
max_cmd_len=$lt_cv_sys_max_cmd_len
17686
# Does compiler simultaneously support -c and -o options?
17687
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
17689
# Must we lock files when doing compilation ?
17690
need_locks=$lt_need_locks
17692
# Do we need the lib prefix for modules?
17693
need_lib_prefix=$need_lib_prefix
17695
# Do we need a version for libraries?
17696
need_version=$need_version
17698
# Whether dlopen is supported.
17699
dlopen_support=$enable_dlopen
17701
# Whether dlopen of programs is supported.
17702
dlopen_self=$enable_dlopen_self
17704
# Whether dlopen of statically linked programs is supported.
17705
dlopen_self_static=$enable_dlopen_self_static
17707
# Compiler flag to prevent dynamic linking.
17708
link_static_flag=$lt_lt_prog_compiler_static_F77
17710
# Compiler flag to turn off builtin functions.
17711
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
17713
# Compiler flag to allow reflexive dlopens.
17714
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
17716
# Compiler flag to generate shared objects directly from archives.
17717
whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
17719
# Compiler flag to generate thread-safe objects.
17720
thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
17722
# Library versioning type.
17723
version_type=$version_type
17725
# Format of library name prefix.
17726
libname_spec=$lt_libname_spec
17728
# List of archive names. First name is the real one, the rest are links.
17729
# The last name is the one that the linker finds with -lNAME.
17730
library_names_spec=$lt_library_names_spec
17732
# The coded name of the library, if different from the real name.
17733
soname_spec=$lt_soname_spec
17735
# Commands used to build and install an old-style archive.
17737
old_archive_cmds=$lt_old_archive_cmds_F77
17738
old_postinstall_cmds=$lt_old_postinstall_cmds
17739
old_postuninstall_cmds=$lt_old_postuninstall_cmds
17741
# Create an old-style archive from a shared archive.
17742
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
17744
# Create a temporary old-style archive to link instead of a shared archive.
17745
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
17747
# Commands used to build and install a shared archive.
17748
archive_cmds=$lt_archive_cmds_F77
17749
archive_expsym_cmds=$lt_archive_expsym_cmds_F77
17750
postinstall_cmds=$lt_postinstall_cmds
17751
postuninstall_cmds=$lt_postuninstall_cmds
17753
# Commands used to build a loadable module (assumed same as above if empty)
17754
module_cmds=$lt_module_cmds_F77
17755
module_expsym_cmds=$lt_module_expsym_cmds_F77
17757
# Commands to strip libraries.
17758
old_striplib=$lt_old_striplib
17759
striplib=$lt_striplib
17761
# Dependencies to place before the objects being linked to create a
17763
predep_objects=$lt_predep_objects_F77
17765
# Dependencies to place after the objects being linked to create a
17767
postdep_objects=$lt_postdep_objects_F77
17769
# Dependencies to place before the objects being linked to create a
17771
predeps=$lt_predeps_F77
17773
# Dependencies to place after the objects being linked to create a
17775
postdeps=$lt_postdeps_F77
17777
# The library search path used internally by the compiler when linking
17778
# a shared library.
17779
compiler_lib_search_path=$lt_compiler_lib_search_path_F77
17781
# Method to check whether dependent libraries are shared objects.
17782
deplibs_check_method=$lt_deplibs_check_method
17784
# Command to use when deplibs_check_method == file_magic.
17785
file_magic_cmd=$lt_file_magic_cmd
17787
# Flag that allows shared libraries with undefined symbols to be built.
17788
allow_undefined_flag=$lt_allow_undefined_flag_F77
17790
# Flag that forces no undefined symbols.
17791
no_undefined_flag=$lt_no_undefined_flag_F77
17793
# Commands used to finish a libtool library installation in a directory.
17794
finish_cmds=$lt_finish_cmds
17796
# Same as above, but a single script fragment to be evaled but not shown.
17797
finish_eval=$lt_finish_eval
17799
# Take the output of nm and produce a listing of raw symbols and C names.
17800
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17802
# Transform the output of nm in a proper C declaration
17803
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17805
# Transform the output of nm in a C name address pair
17806
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17808
# This is the shared library runtime path variable.
17809
runpath_var=$runpath_var
17811
# This is the shared library path variable.
17812
shlibpath_var=$shlibpath_var
17814
# Is shlibpath searched before the hard-coded library search path?
17815
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17817
# How to hardcode a shared library path into an executable.
17818
hardcode_action=$hardcode_action_F77
17820
# Whether we should hardcode library paths into libraries.
17821
hardcode_into_libs=$hardcode_into_libs
17823
# Flag to hardcode \$libdir into a binary during linking.
17824
# This must work even if \$libdir does not exist.
17825
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
17827
# If ld is used when linking, flag to hardcode \$libdir into
17828
# a binary during linking. This must work even if \$libdir does
17830
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
17832
# Whether we need a single -rpath flag with a separated argument.
17833
hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
17835
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
17836
# resulting binary.
17837
hardcode_direct=$hardcode_direct_F77
17839
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
17840
# resulting binary.
17841
hardcode_minus_L=$hardcode_minus_L_F77
17843
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
17844
# the resulting binary.
17845
hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
17847
# Set to yes if building a shared library automatically hardcodes DIR into the library
17848
# and all subsequent libraries and executables linked against it.
17849
hardcode_automatic=$hardcode_automatic_F77
17851
# Variables whose values should be saved in libtool wrapper scripts and
17852
# restored at relink time.
17853
variables_saved_for_relink="$variables_saved_for_relink"
17855
# Whether libtool must link a program against all its dependency libraries.
17856
link_all_deplibs=$link_all_deplibs_F77
17858
# Compile-time system search path for libraries
17859
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17861
# Run-time system search path for libraries
17862
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17864
# Fix the shell variable \$srcfile for the compiler.
17865
fix_srcfile_path="$fix_srcfile_path_F77"
17867
# Set to yes if exported symbols are required.
17868
always_export_symbols=$always_export_symbols_F77
17870
# The commands to list exported symbols.
17871
export_symbols_cmds=$lt_export_symbols_cmds_F77
17873
# The commands to extract the exported symbol list from a shared archive.
17874
extract_expsyms_cmds=$lt_extract_expsyms_cmds
17876
# Symbols that should not be listed in the preloaded symbols.
17877
exclude_expsyms=$lt_exclude_expsyms_F77
17879
# Symbols that must always be exported.
17880
include_expsyms=$lt_include_expsyms_F77
17882
# ### END LIBTOOL TAG CONFIG: $tagname
17888
# If there is no Makefile yet, we rely on a make rule to execute
17889
# `config.status --recheck' to rerun these tests and create the
17890
# libtool script then.
17891
test -f Makefile && make "$ltmain"
17896
ac_cpp='$CPP $CPPFLAGS'
17897
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17898
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17899
ac_compiler_gnu=$ac_cv_c_compiler_gnu
17909
if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
17913
# Source file extension for Java test sources.
17916
# Object file extension for compiled Java test sources.
17920
# Code to be used in simple compile tests
17921
lt_simple_compile_test_code="class foo {}\n"
17923
# Code to be used in simple link tests
17924
lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n'
17926
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
17928
# If no C compiler was specified, use CC.
17931
# Allow CC to be a program name with arguments.
17935
# Allow CC to be a program name with arguments.
17941
# GCJ did not exist at the time GCC didn't implicitly link libc in.
17942
archive_cmds_need_lc_GCJ=no
17945
## There is no encapsulation within the following macros, do not change
17946
## the running order or otherwise move them around unless you know exactly
17947
## what you are doing...
17949
lt_prog_compiler_no_builtin_flag_GCJ=
17951
if test "$GCC" = yes; then
17952
lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
17955
echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
17956
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
17957
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
17958
echo $ECHO_N "(cached) $ECHO_C" >&6
17960
lt_cv_prog_compiler_rtti_exceptions=no
17961
ac_outfile=conftest.$ac_objext
17962
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
17963
lt_compiler_flag="-fno-rtti -fno-exceptions"
17964
# Insert the option either (1) after the last *FLAGS variable, or
17965
# (2) before a word containing "conftest.", or (3) at the end.
17966
# Note that $ac_compile itself does not contain backslashes and begins
17967
# with a dollar sign (not a hyphen), so the echo should work correctly.
17968
# The option is referenced via a variable to avoid confusing sed.
17969
lt_compile=`echo "$ac_compile" | $SED \
17970
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
17971
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17972
-e 's:$: $lt_compiler_flag:'`
17973
(eval echo "\"\$as_me:17973: $lt_compile\"" >&5)
17974
(eval "$lt_compile" 2>conftest.err)
17976
cat conftest.err >&5
17977
echo "$as_me:17977: \$? = $ac_status" >&5
17978
if (exit $ac_status) && test -s "$ac_outfile"; then
17979
# The compiler can only warn and ignore the option if not recognized
17980
# So say no if there are warnings
17981
if test ! -s conftest.err; then
17982
lt_cv_prog_compiler_rtti_exceptions=yes
17988
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
17989
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
17991
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
17992
lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
17999
lt_prog_compiler_wl_GCJ=
18000
lt_prog_compiler_pic_GCJ=
18001
lt_prog_compiler_static_GCJ=
18003
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
18004
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
18006
if test "$GCC" = yes; then
18007
lt_prog_compiler_wl_GCJ='-Wl,'
18008
lt_prog_compiler_static_GCJ='-static'
18012
# All AIX code is PIC.
18013
if test "$host_cpu" = ia64; then
18014
# AIX 5 now supports IA64 processor
18015
lt_prog_compiler_static_GCJ='-Bstatic'
18020
# FIXME: we need at least 68020 code to build shared libraries, but
18021
# adding the `-m68020' flag to GCC prevents building anything better,
18023
lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
18026
beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
18027
# PIC is the default for these OSes.
18030
mingw* | pw32* | os2*)
18031
# This hack is so that the source file can tell whether it is being
18032
# built for inclusion in a dll (and should export symbols for example).
18033
lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
18036
darwin* | rhapsody*)
18037
# PIC is the default on this platform
18038
# Common symbols not allowed in MH_DYLIB files
18039
lt_prog_compiler_pic_GCJ='-fno-common'
18043
# Just because we use GCC doesn't mean we suddenly get shared libraries
18044
# on systems that don't support them.
18045
lt_prog_compiler_can_build_shared_GCJ=no
18050
if test -d /usr/nec; then
18051
lt_prog_compiler_pic_GCJ=-Kconform_pic
18056
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
18057
# not for PA HP-UX.
18058
case "$host_cpu" in
18063
lt_prog_compiler_pic_GCJ='-fPIC'
18069
lt_prog_compiler_pic_GCJ='-fPIC'
18073
# PORTME Check for flag to pass linker flags through the system compiler.
18076
lt_prog_compiler_wl_GCJ='-Wl,'
18077
if test "$host_cpu" = ia64; then
18078
# AIX 5 now supports IA64 processor
18079
lt_prog_compiler_static_GCJ='-Bstatic'
18081
lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
18085
mingw* | pw32* | os2*)
18086
# This hack is so that the source file can tell whether it is being
18087
# built for inclusion in a dll (and should export symbols for example).
18088
lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
18091
hpux9* | hpux10* | hpux11*)
18092
lt_prog_compiler_wl_GCJ='-Wl,'
18093
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
18094
# not for PA HP-UX.
18095
case "$host_cpu" in
18100
lt_prog_compiler_pic_GCJ='+Z'
18103
# Is there a better lt_prog_compiler_static that works with the bundled CC?
18104
lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
18107
irix5* | irix6* | nonstopux*)
18108
lt_prog_compiler_wl_GCJ='-Wl,'
18109
# PIC (with -KPIC) is the default.
18110
lt_prog_compiler_static_GCJ='-non_shared'
18114
lt_prog_compiler_pic_GCJ='-KPIC'
18115
lt_prog_compiler_static_GCJ='-Bstatic'
18121
lt_prog_compiler_wl_GCJ='-Wl,'
18122
lt_prog_compiler_pic_GCJ='-KPIC'
18123
lt_prog_compiler_static_GCJ='-static'
18126
lt_prog_compiler_wl_GCJ='-Wl,'
18127
# All Alpha code is PIC.
18128
lt_prog_compiler_static_GCJ='-non_shared'
18133
osf3* | osf4* | osf5*)
18134
lt_prog_compiler_wl_GCJ='-Wl,'
18135
# All OSF/1 code is PIC.
18136
lt_prog_compiler_static_GCJ='-non_shared'
18140
lt_prog_compiler_pic_GCJ='-Kpic'
18141
lt_prog_compiler_static_GCJ='-dn'
18145
lt_prog_compiler_wl_GCJ='-Wl,'
18146
lt_prog_compiler_pic_GCJ='-KPIC'
18147
lt_prog_compiler_static_GCJ='-Bstatic'
18151
lt_prog_compiler_wl_GCJ='-Qoption ld '
18152
lt_prog_compiler_pic_GCJ='-PIC'
18153
lt_prog_compiler_static_GCJ='-Bstatic'
18156
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
18157
lt_prog_compiler_wl_GCJ='-Wl,'
18158
lt_prog_compiler_pic_GCJ='-KPIC'
18159
lt_prog_compiler_static_GCJ='-Bstatic'
18163
if test -d /usr/nec ;then
18164
lt_prog_compiler_pic_GCJ='-Kconform_pic'
18165
lt_prog_compiler_static_GCJ='-Bstatic'
18170
lt_prog_compiler_pic_GCJ='-pic'
18171
lt_prog_compiler_static_GCJ='-Bstatic'
18175
lt_prog_compiler_can_build_shared_GCJ=no
18180
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
18181
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
18184
# Check to make sure the PIC flag actually works.
18186
if test -n "$lt_prog_compiler_pic_GCJ"; then
18188
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
18189
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
18190
if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
18191
echo $ECHO_N "(cached) $ECHO_C" >&6
18193
lt_prog_compiler_pic_works_GCJ=no
18194
ac_outfile=conftest.$ac_objext
18195
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
18196
lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
18197
# Insert the option either (1) after the last *FLAGS variable, or
18198
# (2) before a word containing "conftest.", or (3) at the end.
18199
# Note that $ac_compile itself does not contain backslashes and begins
18200
# with a dollar sign (not a hyphen), so the echo should work correctly.
18201
# The option is referenced via a variable to avoid confusing sed.
18202
lt_compile=`echo "$ac_compile" | $SED \
18203
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
18204
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18205
-e 's:$: $lt_compiler_flag:'`
18206
(eval echo "\"\$as_me:18206: $lt_compile\"" >&5)
18207
(eval "$lt_compile" 2>conftest.err)
18209
cat conftest.err >&5
18210
echo "$as_me:18210: \$? = $ac_status" >&5
18211
if (exit $ac_status) && test -s "$ac_outfile"; then
18212
# The compiler can only warn and ignore the option if not recognized
18213
# So say no if there are warnings
18214
if test ! -s conftest.err; then
18215
lt_prog_compiler_pic_works_GCJ=yes
18221
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
18222
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
18224
if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
18225
case $lt_prog_compiler_pic_GCJ in
18227
*) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
18230
lt_prog_compiler_pic_GCJ=
18231
lt_prog_compiler_can_build_shared_GCJ=no
18236
# For platforms which do not support PIC, -DPIC is meaningless:
18238
lt_prog_compiler_pic_GCJ=
18241
lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
18245
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
18246
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
18247
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
18248
echo $ECHO_N "(cached) $ECHO_C" >&6
18250
lt_cv_prog_compiler_c_o_GCJ=no
18251
$rm -r conftest 2>/dev/null
18255
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
18257
# According to Tom Tromey, Ian Lance Taylor reported there are C compilers
18258
# that will create temporary files in the current directory regardless of
18259
# the output directory. Thus, making CWD read-only will cause this test
18260
# to fail, enabling locking or at least warning the user not to do parallel
18264
lt_compiler_flag="-o out/conftest2.$ac_objext"
18265
# Insert the option either (1) after the last *FLAGS variable, or
18266
# (2) before a word containing "conftest.", or (3) at the end.
18267
# Note that $ac_compile itself does not contain backslashes and begins
18268
# with a dollar sign (not a hyphen), so the echo should work correctly.
18269
lt_compile=`echo "$ac_compile" | $SED \
18270
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
18271
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18272
-e 's:$: $lt_compiler_flag:'`
18273
(eval echo "\"\$as_me:18273: $lt_compile\"" >&5)
18274
(eval "$lt_compile" 2>out/conftest.err)
18276
cat out/conftest.err >&5
18277
echo "$as_me:18277: \$? = $ac_status" >&5
18278
if (exit $ac_status) && test -s out/conftest2.$ac_objext
18280
# The compiler can only warn and ignore the option if not recognized
18281
# So say no if there are warnings
18282
if test ! -s out/conftest.err; then
18283
lt_cv_prog_compiler_c_o_GCJ=yes
18287
$rm conftest* out/*
18294
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
18295
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
18298
hard_links="nottested"
18299
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
18300
# do not overwrite the value of need_locks provided by the user
18301
echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
18302
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
18305
ln conftest.a conftest.b 2>/dev/null && hard_links=no
18307
ln conftest.a conftest.b 2>&5 || hard_links=no
18308
ln conftest.a conftest.b 2>/dev/null && hard_links=no
18309
echo "$as_me:$LINENO: result: $hard_links" >&5
18310
echo "${ECHO_T}$hard_links" >&6
18311
if test "$hard_links" = no; then
18312
{ echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
18313
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
18320
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
18321
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
18324
allow_undefined_flag_GCJ=
18325
enable_shared_with_static_runtimes_GCJ=no
18327
archive_expsym_cmds_GCJ=
18328
old_archive_From_new_cmds_GCJ=
18329
old_archive_from_expsyms_cmds_GCJ=
18330
export_dynamic_flag_spec_GCJ=
18331
whole_archive_flag_spec_GCJ=
18332
thread_safe_flag_spec_GCJ=
18333
hardcode_libdir_flag_spec_GCJ=
18334
hardcode_libdir_flag_spec_ld_GCJ=
18335
hardcode_libdir_separator_GCJ=
18336
hardcode_direct_GCJ=no
18337
hardcode_minus_L_GCJ=no
18338
hardcode_shlibpath_var_GCJ=unsupported
18339
link_all_deplibs_GCJ=unknown
18340
hardcode_automatic_GCJ=no
18342
module_expsym_cmds_GCJ=
18343
always_export_symbols_GCJ=no
18344
export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
18345
# include_expsyms should be a list of space-separated symbols to be *always*
18346
# included in the symbol list
18347
include_expsyms_GCJ=
18348
# exclude_expsyms can be an extended regexp of symbols to exclude
18349
# it will be wrapped by ` (' and `)$', so one must not match beginning or
18350
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
18351
# as well as any symbol that contains `d'.
18352
exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
18353
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
18354
# platforms (ab)use it in PIC code, but their linkers get confused if
18355
# the symbol is explicitly referenced. Since portable code cannot
18356
# rely on this symbol name, it's probably fine to never include it in
18357
# preloaded symbol tables.
18358
extract_expsyms_cmds=
18361
cygwin* | mingw* | pw32*)
18362
# FIXME: the MSVC++ port hasn't been tested in a loooong time
18363
# When not using gcc, we currently assume that we are using
18364
# Microsoft Visual C++.
18365
if test "$GCC" != yes; then
18375
if test "$with_gnu_ld" = yes; then
18376
# If archive_cmds runs LD, not CC, wlarc should be empty
18379
# See if GNU ld supports shared libraries.
18381
aix3* | aix4* | aix5*)
18382
# On AIX/PPC, the GNU linker is very broken
18383
if test "$host_cpu" != ia64; then
18387
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
18388
*** to be unable to reliably create shared libraries on AIX.
18389
*** Therefore, libtool is disabling shared libraries support. If you
18390
*** really care for shared libraries, you may want to modify your PATH
18391
*** so that a non-GNU linker is found, and then restart.
18398
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)'
18399
hardcode_libdir_flag_spec_GCJ='-L$libdir'
18400
hardcode_minus_L_GCJ=yes
18402
# Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
18403
# that the semantics of dynamic libraries on AmigaOS, at least up
18404
# to version 4, is to share data among multiple programs linked
18405
# with the same dynamic library. Since this doesn't match the
18406
# behavior of shared libraries on other platforms, we can't use
18412
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18413
allow_undefined_flag_GCJ=unsupported
18414
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
18415
# support --undefined. This deserves some investigation. FIXME
18416
archive_cmds_GCJ='$CC -nostart $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
18422
cygwin* | mingw* | pw32*)
18423
# _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
18424
# as there is no search path for DLLs.
18425
hardcode_libdir_flag_spec_GCJ='-L$libdir'
18426
allow_undefined_flag_GCJ=no
18427
always_export_symbols_GCJ=no
18428
enable_shared_with_static_runtimes_GCJ=yes
18429
export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
18431
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
18432
archive_cmds_GCJ='$CC -shared $compiler_flags $libobjs $deplibs -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
18433
# If the export-symbols file already is a .def file (1st line
18434
# is EXPORTS), use it as is; otherwise, prepend...
18435
archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
18436
cp $export_symbols $output_objdir/$soname.def;
18438
echo EXPORTS > $output_objdir/$soname.def;
18439
cat $export_symbols >> $output_objdir/$soname.def;
18441
$CC -shared $output_objdir/$soname.def $compiler_flags $libobjs $deplibs -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
18448
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18449
archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
18452
archive_cmds_GCJ='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
18453
archive_expsym_cmds_GCJ='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18458
if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
18462
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
18463
*** create shared libraries on Solaris systems. Therefore, libtool
18464
*** is disabling shared libraries support. We urge you to upgrade GNU
18465
*** binutils to release 2.9.1 or newer. Another option is to modify
18466
*** your PATH or compiler configuration so that the native linker is
18467
*** used, and then restart.
18470
elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18471
archive_cmds_GCJ='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
18472
archive_expsym_cmds_GCJ='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18479
archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18481
hardcode_direct_GCJ=yes
18482
hardcode_shlibpath_var_GCJ=no
18486
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18487
archive_cmds_GCJ='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
18488
archive_expsym_cmds_GCJ='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18495
if test "$ld_shlibs_GCJ" = yes; then
18496
runpath_var=LD_RUN_PATH
18497
hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
18498
export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
18499
# ancient GNU ld didn't support --whole-archive et. al.
18500
if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
18501
whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
18503
whole_archive_flag_spec_GCJ=
18507
# PORTME fill in a description of your system's linker (not GNU ld)
18510
allow_undefined_flag_GCJ=unsupported
18511
always_export_symbols_GCJ=yes
18512
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'
18513
# Note: this linker hardcodes the directories in LIBPATH if there
18514
# are no directories specified by -L.
18515
hardcode_minus_L_GCJ=yes
18516
if test "$GCC" = yes && test -z "$link_static_flag"; then
18517
# Neither direct hardcoding nor static linking is supported with a
18519
hardcode_direct_GCJ=unsupported
18524
if test "$host_cpu" = ia64; then
18525
# On IA64, the linker does run time linking by default, so we don't
18526
# have to do anything special.
18527
aix_use_runtimelinking=no
18528
exp_sym_flag='-Bexport'
18531
# If we're using GNU nm, then we don't want the "-C" option.
18532
# -C means demangle to AIX nm, but means don't demangle with GNU nm
18533
if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
18534
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'
18536
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'
18539
# KDE requires run time linking. Make it the default.
18540
aix_use_runtimelinking=yes
18541
exp_sym_flag='-bexport'
18542
no_entry_flag='-bnoentry'
18545
# When large executables or shared objects are built, AIX ld can
18546
# have problems creating the table of contents. If linking a library
18547
# or program results in "error TOC overflow" add -mminimal-toc to
18548
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
18549
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
18551
archive_cmds_GCJ=''
18552
hardcode_direct_GCJ=yes
18553
hardcode_libdir_separator_GCJ=':'
18554
link_all_deplibs_GCJ=yes
18556
if test "$GCC" = yes; then
18557
case $host_os in aix4.012|aix4.012.*)
18558
# We only want to do this on AIX 4.2 and lower, the check
18559
# below for broken collect2 doesn't work under 4.3+
18560
collect2name=`${CC} -print-prog-name=collect2`
18561
if test -f "$collect2name" && \
18562
strings "$collect2name" | grep resolve_lib_name >/dev/null
18564
# We have reworked collect2
18565
hardcode_direct_GCJ=yes
18567
# We have old collect2
18568
hardcode_direct_GCJ=unsupported
18569
# It fails to find uninstalled libraries when the uninstalled
18570
# path is not listed in the libpath. Setting hardcode_minus_L
18571
# to unsupported forces relinking
18572
hardcode_minus_L_GCJ=yes
18573
hardcode_libdir_flag_spec_GCJ='-L$libdir'
18574
hardcode_libdir_separator_GCJ=
18577
shared_flag='-shared'
18580
if test "$host_cpu" = ia64; then
18581
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
18582
# chokes on -Wl,-G. The following line is correct:
18585
if test "$aix_use_runtimelinking" = yes; then
18586
shared_flag='-qmkshrobj ${wl}-G'
18588
shared_flag='-qmkshrobj'
18593
# Let the compiler handle the export list.
18594
always_export_symbols_GCJ=no
18595
if test "$aix_use_runtimelinking" = yes; then
18596
# Warning - without using the other runtime loading flags (-brtl),
18597
# -berok will link without error, but may produce a broken library.
18598
allow_undefined_flag_GCJ='-berok'
18599
# Determine the default libpath from the value encoded in an empty executable.
18600
cat >conftest.$ac_ext <<_ACEOF
18603
cat confdefs.h >>conftest.$ac_ext
18604
cat >>conftest.$ac_ext <<_ACEOF
18605
/* end confdefs.h. */
18615
rm -f conftest.$ac_objext conftest$ac_exeext
18616
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18617
(eval $ac_link) 2>conftest.er1
18619
grep -v '^ *+' conftest.er1 >conftest.err
18621
cat conftest.err >&5
18622
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18623
(exit $ac_status); } &&
18624
{ ac_try='test -z "$ac_c_werror_flag"
18625
|| test ! -s conftest.err'
18626
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18627
(eval $ac_try) 2>&5
18629
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18630
(exit $ac_status); }; } &&
18631
{ ac_try='test -s conftest$ac_exeext'
18632
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18633
(eval $ac_try) 2>&5
18635
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18636
(exit $ac_status); }; }; then
18638
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
18640
# Check for a 64-bit object if we didn't find anything.
18641
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; }
18644
echo "$as_me: failed program was:" >&5
18645
sed 's/^/| /' conftest.$ac_ext >&5
18648
rm -f conftest.err conftest.$ac_objext \
18649
conftest$ac_exeext conftest.$ac_ext
18650
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18652
hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
18653
archive_cmds_GCJ="\$CC"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '" $shared_flag"
18654
archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
18656
if test "$host_cpu" = ia64; then
18657
hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
18658
allow_undefined_flag_GCJ="-z nodefs"
18659
archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
18661
# Determine the default libpath from the value encoded in an empty executable.
18662
cat >conftest.$ac_ext <<_ACEOF
18665
cat confdefs.h >>conftest.$ac_ext
18666
cat >>conftest.$ac_ext <<_ACEOF
18667
/* end confdefs.h. */
18677
rm -f conftest.$ac_objext conftest$ac_exeext
18678
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18679
(eval $ac_link) 2>conftest.er1
18681
grep -v '^ *+' conftest.er1 >conftest.err
18683
cat conftest.err >&5
18684
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18685
(exit $ac_status); } &&
18686
{ ac_try='test -z "$ac_c_werror_flag"
18687
|| test ! -s conftest.err'
18688
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18689
(eval $ac_try) 2>&5
18691
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18692
(exit $ac_status); }; } &&
18693
{ ac_try='test -s conftest$ac_exeext'
18694
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18695
(eval $ac_try) 2>&5
18697
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18698
(exit $ac_status); }; }; then
18700
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
18702
# Check for a 64-bit object if we didn't find anything.
18703
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; }
18706
echo "$as_me: failed program was:" >&5
18707
sed 's/^/| /' conftest.$ac_ext >&5
18710
rm -f conftest.err conftest.$ac_objext \
18711
conftest$ac_exeext conftest.$ac_ext
18712
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18714
hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
18715
# Warning - without using the other run time loading flags,
18716
# -berok will link without error, but may produce a broken library.
18717
no_undefined_flag_GCJ=' ${wl}-bernotok'
18718
allow_undefined_flag_GCJ=' ${wl}-berok'
18719
# -bexpall does not export symbols beginning with underscore (_)
18720
always_export_symbols_GCJ=yes
18721
# Exported symbols can be pulled into shared objects from archives
18722
whole_archive_flag_spec_GCJ=' '
18723
archive_cmds_need_lc_GCJ=yes
18724
# This is similar to how AIX traditionally builds it's shared libraries.
18725
archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
18731
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)'
18732
hardcode_libdir_flag_spec_GCJ='-L$libdir'
18733
hardcode_minus_L_GCJ=yes
18734
# see comment about different semantics on the GNU ld section
18739
export_dynamic_flag_spec_GCJ=-rdynamic
18742
cygwin* | mingw* | pw32*)
18743
# When not using gcc, we currently assume that we are using
18744
# Microsoft Visual C++.
18745
# hardcode_libdir_flag_spec is actually meaningless, as there is
18746
# no search path for DLLs.
18747
hardcode_libdir_flag_spec_GCJ=' '
18748
allow_undefined_flag_GCJ=no
18749
# Tell ltmain to make .lib files, not .a files.
18751
# Tell ltmain to make .dll files, not .so files.
18753
# FIXME: Setting linknames here is a bad hack.
18754
archive_cmds_GCJ='$CC -o $lib $compiler_flags $libobjs `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
18755
# The linker will automatically build a .lib file if we build a DLL.
18756
old_archive_From_new_cmds_GCJ='true'
18757
# FIXME: Should let the user specify the lib program.
18758
old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
18759
fix_srcfile_path='`cygpath -w "$srcfile"`'
18760
enable_shared_with_static_runtimes_GCJ=yes
18763
darwin* | rhapsody*)
18764
if test "$GXX" = yes ; then
18765
archive_cmds_need_lc_GCJ=no
18767
rhapsody* | darwin1.[012])
18768
allow_undefined_flag_GCJ='-undefined suppress'
18771
test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
18774
lt_int_apple_cc_single_mod=no
18775
output_verbose_link_cmd='echo'
18776
if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
18777
lt_int_apple_cc_single_mod=yes
18779
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
18780
archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring'
18782
archive_cmds_GCJ='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $compiler_flags $deplibs -install_name $rpath/$soname $verstring'
18784
module_cmds_GCJ='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs'
18785
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
18786
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
18787
archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18789
archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $compiler_flags $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18791
module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18792
hardcode_direct_GCJ=no
18793
hardcode_automatic_GCJ=yes
18794
hardcode_shlibpath_var_GCJ=unsupported
18795
whole_archive_flag_spec_GCJ='-all_load $convenience'
18796
link_all_deplibs_GCJ=yes
18803
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18804
hardcode_libdir_flag_spec_GCJ='-L$libdir'
18805
hardcode_shlibpath_var_GCJ=no
18812
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
18813
# support. Future versions do this automatically, but an explicit c++rt0.o
18814
# does not break anything, and helps significantly (at the cost of a little
18817
archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
18818
hardcode_libdir_flag_spec_GCJ='-R$libdir'
18819
hardcode_direct_GCJ=yes
18820
hardcode_shlibpath_var_GCJ=no
18823
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
18825
archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18826
hardcode_direct_GCJ=yes
18827
hardcode_minus_L_GCJ=yes
18828
hardcode_shlibpath_var_GCJ=no
18831
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
18833
archive_cmds_GCJ='$CC -shared -o $lib $compiler_flags $libobjs $deplibs'
18834
hardcode_libdir_flag_spec_GCJ='-R$libdir'
18835
hardcode_direct_GCJ=yes
18836
hardcode_shlibpath_var_GCJ=no
18840
if test "$GCC" = yes; then
18841
archive_cmds_GCJ='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $compiler_flags $libobjs $deplibs~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
18843
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'
18845
hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
18846
hardcode_libdir_separator_GCJ=:
18847
hardcode_direct_GCJ=yes
18849
# hardcode_minus_L: Not really in the search PATH,
18850
# but as the default location of the library.
18851
hardcode_minus_L_GCJ=yes
18852
export_dynamic_flag_spec_GCJ='${wl}-E'
18856
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
18857
case "$host_cpu" in
18859
archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
18862
archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $compiler_flags $libobjs $deplibs'
18866
case "$host_cpu" in
18868
archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
18871
archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
18875
if test "$with_gnu_ld" = no; then
18876
case "$host_cpu" in
18878
hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
18879
hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
18880
hardcode_libdir_separator_GCJ=:
18881
hardcode_direct_GCJ=no
18882
hardcode_shlibpath_var_GCJ=no
18885
hardcode_libdir_flag_spec_GCJ='-L$libdir'
18886
hardcode_direct_GCJ=no
18887
hardcode_shlibpath_var_GCJ=no
18889
# hardcode_minus_L: Not really in the search PATH,
18890
# but as the default location of the library.
18891
hardcode_minus_L_GCJ=yes
18894
hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
18895
hardcode_libdir_separator_GCJ=:
18896
hardcode_direct_GCJ=yes
18897
export_dynamic_flag_spec_GCJ='${wl}-E'
18899
# hardcode_minus_L: Not really in the search PATH,
18900
# but as the default location of the library.
18901
hardcode_minus_L_GCJ=yes
18907
irix5* | irix6* | nonstopux*)
18908
if test "$GCC" = yes; then
18909
archive_cmds_GCJ='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18911
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'
18912
hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
18914
hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18915
hardcode_libdir_separator_GCJ=:
18916
link_all_deplibs_GCJ=yes
18920
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18921
archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
18923
archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
18925
hardcode_libdir_flag_spec_GCJ='-R$libdir'
18926
hardcode_direct_GCJ=yes
18927
hardcode_shlibpath_var_GCJ=no
18931
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18932
hardcode_direct_GCJ=yes
18933
hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18934
hardcode_libdir_separator_GCJ=:
18935
hardcode_shlibpath_var_GCJ=no
18939
hardcode_direct_GCJ=yes
18940
hardcode_shlibpath_var_GCJ=no
18941
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18942
archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $compiler_flags $libobjs $deplibs'
18943
hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
18944
export_dynamic_flag_spec_GCJ='${wl}-E'
18947
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
18948
archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18949
hardcode_libdir_flag_spec_GCJ='-R$libdir'
18952
archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $compiler_flags $libobjs $deplibs'
18953
hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
18960
hardcode_libdir_flag_spec_GCJ='-L$libdir'
18961
hardcode_minus_L_GCJ=yes
18962
allow_undefined_flag_GCJ=unsupported
18963
archive_cmds_GCJ='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $compiler_flags $libobjs $deplibs$output_objdir/$libname.def'
18964
old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
18968
if test "$GCC" = yes; then
18969
allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
18970
archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $compiler_flags $libobjs $deplibs ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18972
allow_undefined_flag_GCJ=' -expect_unresolved \*'
18973
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'
18975
hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18976
hardcode_libdir_separator_GCJ=:
18979
osf4* | osf5*) # as osf3* with the addition of -msym flag
18980
if test "$GCC" = yes; then
18981
allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
18982
archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $compiler_flags $libobjs $deplibs ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18983
hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18985
allow_undefined_flag_GCJ=' -expect_unresolved \*'
18986
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'
18987
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~
18988
$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'
18990
# Both c and cxx compiler support -rpath directly
18991
hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
18993
hardcode_libdir_separator_GCJ=:
18997
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18998
hardcode_shlibpath_var_GCJ=no
18999
export_dynamic_flag_spec_GCJ='${wl}-Bexport'
19000
runpath_var=LD_RUN_PATH
19001
hardcode_runpath_var=yes
19005
no_undefined_flag_GCJ=' -z text'
19006
if test "$GCC" = yes; then
19007
archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
19008
archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19009
$CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs~$rm $lib.exp'
19011
archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
19012
archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19013
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
19015
hardcode_libdir_flag_spec_GCJ='-R$libdir'
19016
hardcode_shlibpath_var_GCJ=no
19018
solaris2.[0-5] | solaris2.[0-5].*) ;;
19019
*) # Supported since Solaris 2.6 (maybe 2.5.1?)
19020
whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
19022
link_all_deplibs_GCJ=yes
19026
if test "x$host_vendor" = xsequent; then
19027
# Use $CC to link under sequent, because it throws in some extra .o
19028
# files that make .init and .fini sections work.
19029
archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $compiler_flags $libobjs $deplibs'
19031
archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
19033
hardcode_libdir_flag_spec_GCJ='-L$libdir'
19034
hardcode_direct_GCJ=yes
19035
hardcode_minus_L_GCJ=yes
19036
hardcode_shlibpath_var_GCJ=no
19040
case $host_vendor in
19042
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19043
hardcode_direct_GCJ=yes # is this really true???
19046
## LD is ld it makes a PLAMLIB
19047
## CC just makes a GrossModule.
19048
archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
19049
reload_cmds_GCJ='$CC -r -o $output$reload_objs'
19050
hardcode_direct_GCJ=no
19053
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19054
hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
19057
runpath_var='LD_RUN_PATH'
19058
hardcode_shlibpath_var_GCJ=no
19062
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19063
hardcode_shlibpath_var_GCJ=no
19064
export_dynamic_flag_spec_GCJ='-Bexport'
19068
if test -d /usr/nec; then
19069
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19070
hardcode_shlibpath_var_GCJ=no
19071
runpath_var=LD_RUN_PATH
19072
hardcode_runpath_var=yes
19078
archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
19079
hardcode_direct_GCJ=yes
19080
hardcode_minus_L_GCJ=no
19081
hardcode_shlibpath_var_GCJ=no
19082
hardcode_runpath_var=yes
19083
runpath_var=LD_RUN_PATH
19086
sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
19087
no_undefined_flag_GCJ='${wl}-z ${wl}text'
19088
if test "$GCC" = yes; then
19089
archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
19091
archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
19093
runpath_var='LD_RUN_PATH'
19094
hardcode_shlibpath_var_GCJ=no
19098
no_undefined_flag_GCJ=' -z text'
19099
# $CC -shared without GNU ld will not create a library from C++
19100
# object files and a static libstdc++, better avoid it by now
19101
archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
19102
archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19103
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
19104
hardcode_libdir_flag_spec_GCJ=
19105
hardcode_shlibpath_var_GCJ=no
19106
runpath_var='LD_RUN_PATH'
19110
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19111
hardcode_libdir_flag_spec_GCJ='-L$libdir'
19112
hardcode_shlibpath_var_GCJ=no
19121
echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
19122
echo "${ECHO_T}$ld_shlibs_GCJ" >&6
19123
test "$ld_shlibs_GCJ" = no && can_build_shared=no
19125
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
19126
if test "$GCC" = yes; then
19127
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
19131
# Do we need to explicitly link libc?
19133
case "x$archive_cmds_need_lc_GCJ" in
19135
# Assume -lc should be added
19136
archive_cmds_need_lc_GCJ=yes
19138
if test "$enable_shared" = yes && test "$GCC" = yes; then
19139
case $archive_cmds_GCJ in
19141
# FIXME: we may have to deal with multi-command sequences.
19144
# Test whether the compiler implicitly links with -lc since on some
19145
# systems, -lgcc has to come before -lc. If gcc already passes -lc
19146
# to ld, don't add -lc before -lgcc.
19147
echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
19148
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
19150
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
19152
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19153
(eval $ac_compile) 2>&5
19155
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19156
(exit $ac_status); } 2>conftest.err; then
19159
libobjs=conftest.$ac_objext
19161
wl=$lt_prog_compiler_wl_GCJ
19167
lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
19168
allow_undefined_flag_GCJ=
19169
if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
19170
(eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
19172
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19173
(exit $ac_status); }
19175
archive_cmds_need_lc_GCJ=no
19177
archive_cmds_need_lc_GCJ=yes
19179
allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
19181
cat conftest.err 1>&5
19184
echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
19185
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
19192
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
19193
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
19194
library_names_spec=
19195
libname_spec='lib$name'
19199
postuninstall_cmds=
19203
shlibpath_overrides_runpath=unknown
19205
dynamic_linker="$host_os ld.so"
19206
sys_lib_dlsearch_path_spec="/lib /usr/lib"
19207
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
19208
need_lib_prefix=unknown
19209
hardcode_into_libs=no
19211
# when you set need_version to no, make sure it does not cause -set_version
19212
# flags to be left without arguments
19213
need_version=unknown
19218
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
19219
shlibpath_var=LIBPATH
19221
# AIX 3 has no versioning support, so we append a major version to the name.
19222
soname_spec='${libname}${release}${shared_ext}$major'
19229
hardcode_into_libs=yes
19230
if test "$host_cpu" = ia64; then
19231
# AIX 5 supports IA64
19232
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
19233
shlibpath_var=LD_LIBRARY_PATH
19235
# With GCC up to 2.95.x, collect2 would create an import file
19236
# for dependence libraries. The import file would start with
19237
# the line `#! .'. This would cause the generated library to
19238
# depend on `.', always an invalid library. This was fixed in
19239
# development snapshots of GCC prior to 3.0.
19241
aix4 | aix4.[01] | aix4.[01].*)
19242
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
19244
echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
19247
can_build_shared=no
19251
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
19252
# soname into executable. Probably we can add versioning support to
19253
# collect2, so additional links can be useful in future.
19254
if test "$aix_use_runtimelinking" = yes; then
19255
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
19256
# instead of lib<name>.a to let people know that these are not
19257
# typical AIX shared libraries.
19258
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19260
# We preserve .a as extension for shared libraries through AIX4.2
19261
# and later when we are not doing run time linking.
19262
library_names_spec='${libname}${release}.a $libname.a'
19263
soname_spec='${libname}${release}${shared_ext}$major'
19265
shlibpath_var=LIBPATH
19270
library_names_spec='$libname.ixlibrary $libname.a'
19271
# Create ${libname}_ixlibrary.a entries in /sys/libs.
19272
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'
19276
library_names_spec='${libname}${shared_ext}'
19277
dynamic_linker="$host_os ld.so"
19278
shlibpath_var=LIBRARY_PATH
19284
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19285
soname_spec='${libname}${release}${shared_ext}$major'
19286
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
19287
shlibpath_var=LD_LIBRARY_PATH
19288
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
19289
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
19290
# the default ld.so.conf also contains /usr/contrib/lib and
19291
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
19292
# libtool to hard-code these into programs
19295
cygwin* | mingw* | pw32*)
19296
version_type=windows
19301
case $GCC,$host_os in
19302
yes,cygwin* | yes,mingw* | yes,pw32*)
19303
library_names_spec='$libname.dll.a'
19304
# DLL is installed to $(libdir)/../bin by postinstall_cmds
19305
postinstall_cmds='base_file=`basename \${file}`~
19306
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
19307
dldir=$destdir/`dirname \$dlpath`~
19308
test -d \$dldir || mkdir -p \$dldir~
19309
$install_prog $dir/$dlname \$dldir/$dlname'
19310
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
19311
dlpath=$dir/\$dldll~
19313
shlibpath_overrides_runpath=yes
19317
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
19318
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19319
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
19322
# MinGW DLLs use traditional 'lib' prefix
19323
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19324
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
19325
if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
19326
# It is most probably a Windows format PATH printed by
19327
# mingw gcc, but we are running on Cygwin. Gcc prints its search
19328
# path with ; separators, and with drive letters. We can handle the
19329
# drive letters (cygwin fileutils understands them), so leave them,
19330
# especially as we might pass files found there to a mingw objdump,
19331
# which wouldn't understand a cygwinified path. Ahh.
19332
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
19334
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
19338
# pw32 DLLs use 'pw' prefix rather than 'lib'
19339
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
19345
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
19348
dynamic_linker='Win32 ld.exe'
19349
# FIXME: first we should search . and the directory the executable is in
19353
darwin* | rhapsody*)
19354
dynamic_linker="$host_os dyld"
19355
version_type=darwin
19358
library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
19359
soname_spec='${libname}${release}${major}$shared_ext'
19360
shlibpath_overrides_runpath=yes
19361
shlibpath_var=DYLD_LIBRARY_PATH
19362
shrext='$(test .$module = .yes && echo .so || echo .dylib)'
19363
# Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
19364
if test "$GCC" = yes; then
19365
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"`
19367
sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
19369
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
19376
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
19377
soname_spec='${libname}${release}${shared_ext}$major'
19378
shlibpath_var=LD_LIBRARY_PATH
19389
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19390
soname_spec='${libname}${release}${shared_ext}$major'
19391
shlibpath_var=LD_LIBRARY_PATH
19392
shlibpath_overrides_runpath=no
19393
hardcode_into_libs=yes
19394
dynamic_linker='GNU ld.so'
19398
objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
19399
version_type=freebsd-$objformat
19400
case $version_type in
19402
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19407
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
19411
shlibpath_var=LD_LIBRARY_PATH
19414
shlibpath_overrides_runpath=yes
19416
freebsd3.01* | freebsdelf3.01*)
19417
shlibpath_overrides_runpath=yes
19418
hardcode_into_libs=yes
19421
shlibpath_overrides_runpath=no
19422
hardcode_into_libs=yes
19431
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
19432
soname_spec='${libname}${release}${shared_ext}$major'
19433
shlibpath_var=LD_LIBRARY_PATH
19434
hardcode_into_libs=yes
19437
hpux9* | hpux10* | hpux11*)
19438
# Give a soname corresponding to the major version so that dld.sl refuses to
19439
# link against other versions.
19443
case "$host_cpu" in
19446
hardcode_into_libs=yes
19447
dynamic_linker="$host_os dld.so"
19448
shlibpath_var=LD_LIBRARY_PATH
19449
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
19450
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19451
soname_spec='${libname}${release}${shared_ext}$major'
19452
if test "X$HPUX_IA64_MODE" = X32; then
19453
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
19455
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
19457
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
19461
hardcode_into_libs=yes
19462
dynamic_linker="$host_os dld.sl"
19463
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
19464
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
19465
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19466
soname_spec='${libname}${release}${shared_ext}$major'
19467
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
19468
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
19472
dynamic_linker="$host_os dld.sl"
19473
shlibpath_var=SHLIB_PATH
19474
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
19475
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19476
soname_spec='${libname}${release}${shared_ext}$major'
19479
# HP-UX runs *really* slowly unless shared libraries are mode 555.
19480
postinstall_cmds='chmod 555 $lib'
19483
irix5* | irix6* | nonstopux*)
19485
nonstopux*) version_type=nonstopux ;;
19487
if test "$lt_cv_prog_gnu_ld" = yes; then
19495
soname_spec='${libname}${release}${shared_ext}$major'
19496
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
19498
irix5* | nonstopux*)
19499
libsuff= shlibsuff=
19502
case $LD in # libtool.m4 will add one of these switches to LD
19503
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
19504
libsuff= shlibsuff= libmagic=32-bit;;
19505
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
19506
libsuff=32 shlibsuff=N32 libmagic=N32;;
19507
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
19508
libsuff=64 shlibsuff=64 libmagic=64-bit;;
19509
*) libsuff= shlibsuff= libmagic=never-match;;
19513
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
19514
shlibpath_overrides_runpath=no
19515
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
19516
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
19517
hardcode_into_libs=yes
19520
# No shared lib support for Linux oldld, aout, or coff.
19521
linux*oldld* | linux*aout* | linux*coff*)
19525
# This must be Linux ELF.
19530
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19531
soname_spec='${libname}${release}${shared_ext}$major'
19532
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
19534
if test "x$LINUX_64_MODE" = x64; then
19535
# Some platforms are per default 64-bit, so there's no /lib64
19536
if test -d /lib64; then
19540
shlibpath_var=LD_LIBRARY_PATH
19541
shlibpath_overrides_runpath=no
19542
sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
19543
sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
19544
# This implies no fast_install, which is unacceptable.
19545
# Some rework will be needed to allow for fast_install
19546
# before this can be enabled.
19547
hardcode_into_libs=yes
19549
# We used to test for /lib/ld.so.1 and disable shared libraries on
19550
# powerpc, because MkLinux only supported shared libraries with the
19551
# GNU dynamic linker. Since this was broken with cross compilers,
19552
# most powerpc-linux boxes support dynamic linking these days and
19553
# people can always --disable-shared, the test was removed, and we
19554
# assume the GNU/Linux dynamic linker is in use.
19555
dynamic_linker='GNU/Linux ld.so'
19562
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
19563
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19564
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19565
dynamic_linker='NetBSD (a.out) ld.so'
19567
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
19568
soname_spec='${libname}${release}${shared_ext}$major'
19569
dynamic_linker='NetBSD ld.elf_so'
19571
shlibpath_var=LD_LIBRARY_PATH
19572
shlibpath_overrides_runpath=yes
19573
hardcode_into_libs=yes
19578
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19579
shlibpath_var=LD_LIBRARY_PATH
19580
shlibpath_overrides_runpath=yes
19587
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19588
soname_spec='${libname}${release}${shared_ext}$major'
19589
shlibpath_var=LD_LIBRARY_PATH
19590
shlibpath_overrides_runpath=yes
19597
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19598
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19599
shlibpath_var=LD_LIBRARY_PATH
19600
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19602
openbsd2.[89] | openbsd2.[89].*)
19603
shlibpath_overrides_runpath=no
19606
shlibpath_overrides_runpath=yes
19610
shlibpath_overrides_runpath=yes
19615
libname_spec='$name'
19618
library_names_spec='$libname${shared_ext} $libname.a'
19619
dynamic_linker='OS/2 ld.exe'
19620
shlibpath_var=LIBPATH
19623
osf3* | osf4* | osf5*)
19627
soname_spec='${libname}${release}${shared_ext}$major'
19628
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19629
shlibpath_var=LD_LIBRARY_PATH
19630
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
19631
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
19636
soname_spec='${libname}${release}${shared_ext}$major'
19637
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19638
shlibpath_var=LD_LIBRARY_PATH
19645
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19646
soname_spec='${libname}${release}${shared_ext}$major'
19647
shlibpath_var=LD_LIBRARY_PATH
19648
shlibpath_overrides_runpath=yes
19649
hardcode_into_libs=yes
19650
# ldd complains unless libraries are executable
19651
postinstall_cmds='chmod +x $lib'
19656
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19657
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
19658
shlibpath_var=LD_LIBRARY_PATH
19659
shlibpath_overrides_runpath=yes
19660
if test "$with_gnu_ld" = yes; then
19666
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
19668
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19669
soname_spec='${libname}${release}${shared_ext}$major'
19670
shlibpath_var=LD_LIBRARY_PATH
19671
case $host_vendor in
19673
shlibpath_overrides_runpath=no
19675
export_dynamic_flag_spec='${wl}-Blargedynsym'
19676
runpath_var=LD_RUN_PATH
19684
shlibpath_overrides_runpath=no
19685
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
19691
if test -d /usr/nec ;then
19693
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
19694
soname_spec='$libname${shared_ext}.$major'
19695
shlibpath_var=LD_LIBRARY_PATH
19701
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19702
soname_spec='${libname}${release}${shared_ext}$major'
19703
shlibpath_var=LD_LIBRARY_PATH
19710
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
19711
echo "${ECHO_T}$dynamic_linker" >&6
19712
test "$dynamic_linker" = no && can_build_shared=no
19714
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
19715
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
19716
hardcode_action_GCJ=
19717
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
19718
test -n "$runpath_var GCJ" || \
19719
test "X$hardcode_automatic_GCJ"="Xyes" ; then
19721
# We can hardcode non-existant directories.
19722
if test "$hardcode_direct_GCJ" != no &&
19723
# If the only mechanism to avoid hardcoding is shlibpath_var, we
19724
# have to relink, otherwise we might link with an installed library
19725
# when we should be linking with a yet-to-be-installed one
19726
## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
19727
test "$hardcode_minus_L_GCJ" != no; then
19728
# Linking always hardcodes the temporary library directory.
19729
hardcode_action_GCJ=relink
19731
# We can link without hardcoding, and we can hardcode nonexisting dirs.
19732
hardcode_action_GCJ=immediate
19735
# We cannot hardcode anything, or else we can only hardcode existing
19737
hardcode_action_GCJ=unsupported
19739
echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
19740
echo "${ECHO_T}$hardcode_action_GCJ" >&6
19742
if test "$hardcode_action_GCJ" = relink; then
19743
# Fast installation is not supported
19744
enable_fast_install=no
19745
elif test "$shlibpath_overrides_runpath" = yes ||
19746
test "$enable_shared" = no; then
19747
# Fast installation is not necessary
19748
enable_fast_install=needless
19753
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
19754
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
19755
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
19756
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
19757
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
19758
echo "$as_me:$LINENO: result: yes" >&5
19759
echo "${ECHO_T}yes" >&6
19761
# FIXME - insert some real tests, host_os isn't really good enough
19764
if test -n "$STRIP" ; then
19765
striplib="$STRIP -x"
19766
echo "$as_me:$LINENO: result: yes" >&5
19767
echo "${ECHO_T}yes" >&6
19769
echo "$as_me:$LINENO: result: no" >&5
19770
echo "${ECHO_T}no" >&6
19774
echo "$as_me:$LINENO: result: no" >&5
19775
echo "${ECHO_T}no" >&6
19780
if test "x$enable_dlopen" != xyes; then
19781
enable_dlopen=unknown
19782
enable_dlopen_self=unknown
19783
enable_dlopen_self_static=unknown
19790
lt_cv_dlopen="load_add_on"
19792
lt_cv_dlopen_self=yes
19796
lt_cv_dlopen="LoadLibrary"
19801
lt_cv_dlopen="dlopen"
19806
# if libdl is installed we need to link against it
19807
echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
19808
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
19809
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
19810
echo $ECHO_N "(cached) $ECHO_C" >&6
19812
ac_check_lib_save_LIBS=$LIBS
19814
cat >conftest.$ac_ext <<_ACEOF
19817
cat confdefs.h >>conftest.$ac_ext
19818
cat >>conftest.$ac_ext <<_ACEOF
19819
/* end confdefs.h. */
19821
/* Override any gcc2 internal prototype to avoid an error. */
19825
/* We use char because int might match the return type of a gcc2
19826
builtin and then its argument prototype would still apply. */
19836
rm -f conftest.$ac_objext conftest$ac_exeext
19837
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19838
(eval $ac_link) 2>conftest.er1
19840
grep -v '^ *+' conftest.er1 >conftest.err
19842
cat conftest.err >&5
19843
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19844
(exit $ac_status); } &&
19845
{ ac_try='test -z "$ac_c_werror_flag"
19846
|| test ! -s conftest.err'
19847
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19848
(eval $ac_try) 2>&5
19850
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19851
(exit $ac_status); }; } &&
19852
{ ac_try='test -s conftest$ac_exeext'
19853
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19854
(eval $ac_try) 2>&5
19856
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19857
(exit $ac_status); }; }; then
19858
ac_cv_lib_dl_dlopen=yes
19860
echo "$as_me: failed program was:" >&5
19861
sed 's/^/| /' conftest.$ac_ext >&5
19863
ac_cv_lib_dl_dlopen=no
19865
rm -f conftest.err conftest.$ac_objext \
19866
conftest$ac_exeext conftest.$ac_ext
19867
LIBS=$ac_check_lib_save_LIBS
19869
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
19870
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
19871
if test $ac_cv_lib_dl_dlopen = yes; then
19872
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
19875
lt_cv_dlopen="dyld"
19877
lt_cv_dlopen_self=yes
19884
echo "$as_me:$LINENO: checking for shl_load" >&5
19885
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
19886
if test "${ac_cv_func_shl_load+set}" = set; then
19887
echo $ECHO_N "(cached) $ECHO_C" >&6
19889
cat >conftest.$ac_ext <<_ACEOF
19892
cat confdefs.h >>conftest.$ac_ext
19893
cat >>conftest.$ac_ext <<_ACEOF
19894
/* end confdefs.h. */
19895
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
19896
For example, HP-UX 11i <limits.h> declares gettimeofday. */
19897
#define shl_load innocuous_shl_load
19899
/* System header to define __stub macros and hopefully few prototypes,
19900
which can conflict with char shl_load (); below.
19901
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19902
<limits.h> exists even on freestanding compilers. */
19905
# include <limits.h>
19907
# include <assert.h>
19912
/* Override any gcc2 internal prototype to avoid an error. */
19917
/* We use char because int might match the return type of a gcc2
19918
builtin and then its argument prototype would still apply. */
19920
/* The GNU C library defines this for functions which it implements
19921
to always fail with ENOSYS. Some functions are actually named
19922
something starting with __ and the normal name is an alias. */
19923
#if defined (__stub_shl_load) || defined (__stub___shl_load)
19926
char (*f) () = shl_load;
19935
return f != shl_load;
19940
rm -f conftest.$ac_objext conftest$ac_exeext
19941
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19942
(eval $ac_link) 2>conftest.er1
19944
grep -v '^ *+' conftest.er1 >conftest.err
19946
cat conftest.err >&5
19947
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19948
(exit $ac_status); } &&
19949
{ ac_try='test -z "$ac_c_werror_flag"
19950
|| test ! -s conftest.err'
19951
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19952
(eval $ac_try) 2>&5
19954
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19955
(exit $ac_status); }; } &&
19956
{ ac_try='test -s conftest$ac_exeext'
19957
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19958
(eval $ac_try) 2>&5
19960
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19961
(exit $ac_status); }; }; then
19962
ac_cv_func_shl_load=yes
19964
echo "$as_me: failed program was:" >&5
19965
sed 's/^/| /' conftest.$ac_ext >&5
19967
ac_cv_func_shl_load=no
19969
rm -f conftest.err conftest.$ac_objext \
19970
conftest$ac_exeext conftest.$ac_ext
19972
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
19973
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
19974
if test $ac_cv_func_shl_load = yes; then
19975
lt_cv_dlopen="shl_load"
19977
echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
19978
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
19979
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
19980
echo $ECHO_N "(cached) $ECHO_C" >&6
19982
ac_check_lib_save_LIBS=$LIBS
19984
cat >conftest.$ac_ext <<_ACEOF
19987
cat confdefs.h >>conftest.$ac_ext
19988
cat >>conftest.$ac_ext <<_ACEOF
19989
/* end confdefs.h. */
19991
/* Override any gcc2 internal prototype to avoid an error. */
19995
/* We use char because int might match the return type of a gcc2
19996
builtin and then its argument prototype would still apply. */
20006
rm -f conftest.$ac_objext conftest$ac_exeext
20007
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20008
(eval $ac_link) 2>conftest.er1
20010
grep -v '^ *+' conftest.er1 >conftest.err
20012
cat conftest.err >&5
20013
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20014
(exit $ac_status); } &&
20015
{ ac_try='test -z "$ac_c_werror_flag"
20016
|| test ! -s conftest.err'
20017
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20018
(eval $ac_try) 2>&5
20020
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20021
(exit $ac_status); }; } &&
20022
{ ac_try='test -s conftest$ac_exeext'
20023
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20024
(eval $ac_try) 2>&5
20026
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20027
(exit $ac_status); }; }; then
20028
ac_cv_lib_dld_shl_load=yes
20030
echo "$as_me: failed program was:" >&5
20031
sed 's/^/| /' conftest.$ac_ext >&5
20033
ac_cv_lib_dld_shl_load=no
20035
rm -f conftest.err conftest.$ac_objext \
20036
conftest$ac_exeext conftest.$ac_ext
20037
LIBS=$ac_check_lib_save_LIBS
20039
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
20040
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
20041
if test $ac_cv_lib_dld_shl_load = yes; then
20042
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
20044
echo "$as_me:$LINENO: checking for dlopen" >&5
20045
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
20046
if test "${ac_cv_func_dlopen+set}" = set; then
20047
echo $ECHO_N "(cached) $ECHO_C" >&6
20049
cat >conftest.$ac_ext <<_ACEOF
20052
cat confdefs.h >>conftest.$ac_ext
20053
cat >>conftest.$ac_ext <<_ACEOF
20054
/* end confdefs.h. */
20055
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
20056
For example, HP-UX 11i <limits.h> declares gettimeofday. */
20057
#define dlopen innocuous_dlopen
20059
/* System header to define __stub macros and hopefully few prototypes,
20060
which can conflict with char dlopen (); below.
20061
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20062
<limits.h> exists even on freestanding compilers. */
20065
# include <limits.h>
20067
# include <assert.h>
20072
/* Override any gcc2 internal prototype to avoid an error. */
20077
/* We use char because int might match the return type of a gcc2
20078
builtin and then its argument prototype would still apply. */
20080
/* The GNU C library defines this for functions which it implements
20081
to always fail with ENOSYS. Some functions are actually named
20082
something starting with __ and the normal name is an alias. */
20083
#if defined (__stub_dlopen) || defined (__stub___dlopen)
20086
char (*f) () = dlopen;
20095
return f != dlopen;
20100
rm -f conftest.$ac_objext conftest$ac_exeext
20101
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20102
(eval $ac_link) 2>conftest.er1
20104
grep -v '^ *+' conftest.er1 >conftest.err
20106
cat conftest.err >&5
20107
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20108
(exit $ac_status); } &&
20109
{ ac_try='test -z "$ac_c_werror_flag"
20110
|| test ! -s conftest.err'
20111
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20112
(eval $ac_try) 2>&5
20114
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20115
(exit $ac_status); }; } &&
20116
{ ac_try='test -s conftest$ac_exeext'
20117
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20118
(eval $ac_try) 2>&5
20120
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20121
(exit $ac_status); }; }; then
20122
ac_cv_func_dlopen=yes
20124
echo "$as_me: failed program was:" >&5
20125
sed 's/^/| /' conftest.$ac_ext >&5
20127
ac_cv_func_dlopen=no
20129
rm -f conftest.err conftest.$ac_objext \
20130
conftest$ac_exeext conftest.$ac_ext
20132
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
20133
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
20134
if test $ac_cv_func_dlopen = yes; then
20135
lt_cv_dlopen="dlopen"
20137
echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
20138
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
20139
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
20140
echo $ECHO_N "(cached) $ECHO_C" >&6
20142
ac_check_lib_save_LIBS=$LIBS
20144
cat >conftest.$ac_ext <<_ACEOF
20147
cat confdefs.h >>conftest.$ac_ext
20148
cat >>conftest.$ac_ext <<_ACEOF
20149
/* end confdefs.h. */
20151
/* Override any gcc2 internal prototype to avoid an error. */
20155
/* We use char because int might match the return type of a gcc2
20156
builtin and then its argument prototype would still apply. */
20166
rm -f conftest.$ac_objext conftest$ac_exeext
20167
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20168
(eval $ac_link) 2>conftest.er1
20170
grep -v '^ *+' conftest.er1 >conftest.err
20172
cat conftest.err >&5
20173
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20174
(exit $ac_status); } &&
20175
{ ac_try='test -z "$ac_c_werror_flag"
20176
|| test ! -s conftest.err'
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); }; } &&
20182
{ ac_try='test -s conftest$ac_exeext'
20183
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20184
(eval $ac_try) 2>&5
20186
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20187
(exit $ac_status); }; }; then
20188
ac_cv_lib_dl_dlopen=yes
20190
echo "$as_me: failed program was:" >&5
20191
sed 's/^/| /' conftest.$ac_ext >&5
20193
ac_cv_lib_dl_dlopen=no
20195
rm -f conftest.err conftest.$ac_objext \
20196
conftest$ac_exeext conftest.$ac_ext
20197
LIBS=$ac_check_lib_save_LIBS
20199
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
20200
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
20201
if test $ac_cv_lib_dl_dlopen = yes; then
20202
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
20204
echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
20205
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
20206
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
20207
echo $ECHO_N "(cached) $ECHO_C" >&6
20209
ac_check_lib_save_LIBS=$LIBS
20210
LIBS="-lsvld $LIBS"
20211
cat >conftest.$ac_ext <<_ACEOF
20214
cat confdefs.h >>conftest.$ac_ext
20215
cat >>conftest.$ac_ext <<_ACEOF
20216
/* end confdefs.h. */
20218
/* Override any gcc2 internal prototype to avoid an error. */
20222
/* We use char because int might match the return type of a gcc2
20223
builtin and then its argument prototype would still apply. */
20233
rm -f conftest.$ac_objext conftest$ac_exeext
20234
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20235
(eval $ac_link) 2>conftest.er1
20237
grep -v '^ *+' conftest.er1 >conftest.err
20239
cat conftest.err >&5
20240
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20241
(exit $ac_status); } &&
20242
{ ac_try='test -z "$ac_c_werror_flag"
20243
|| test ! -s conftest.err'
20244
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20245
(eval $ac_try) 2>&5
20247
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20248
(exit $ac_status); }; } &&
20249
{ ac_try='test -s conftest$ac_exeext'
20250
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20251
(eval $ac_try) 2>&5
20253
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20254
(exit $ac_status); }; }; then
20255
ac_cv_lib_svld_dlopen=yes
20257
echo "$as_me: failed program was:" >&5
20258
sed 's/^/| /' conftest.$ac_ext >&5
20260
ac_cv_lib_svld_dlopen=no
20262
rm -f conftest.err conftest.$ac_objext \
20263
conftest$ac_exeext conftest.$ac_ext
20264
LIBS=$ac_check_lib_save_LIBS
20266
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
20267
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
20268
if test $ac_cv_lib_svld_dlopen = yes; then
20269
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
20271
echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
20272
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
20273
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
20274
echo $ECHO_N "(cached) $ECHO_C" >&6
20276
ac_check_lib_save_LIBS=$LIBS
20278
cat >conftest.$ac_ext <<_ACEOF
20281
cat confdefs.h >>conftest.$ac_ext
20282
cat >>conftest.$ac_ext <<_ACEOF
20283
/* end confdefs.h. */
20285
/* Override any gcc2 internal prototype to avoid an error. */
20289
/* We use char because int might match the return type of a gcc2
20290
builtin and then its argument prototype would still apply. */
20300
rm -f conftest.$ac_objext conftest$ac_exeext
20301
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20302
(eval $ac_link) 2>conftest.er1
20304
grep -v '^ *+' conftest.er1 >conftest.err
20306
cat conftest.err >&5
20307
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20308
(exit $ac_status); } &&
20309
{ ac_try='test -z "$ac_c_werror_flag"
20310
|| test ! -s conftest.err'
20311
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20312
(eval $ac_try) 2>&5
20314
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20315
(exit $ac_status); }; } &&
20316
{ ac_try='test -s conftest$ac_exeext'
20317
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20318
(eval $ac_try) 2>&5
20320
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20321
(exit $ac_status); }; }; then
20322
ac_cv_lib_dld_dld_link=yes
20324
echo "$as_me: failed program was:" >&5
20325
sed 's/^/| /' conftest.$ac_ext >&5
20327
ac_cv_lib_dld_dld_link=no
20329
rm -f conftest.err conftest.$ac_objext \
20330
conftest$ac_exeext conftest.$ac_ext
20331
LIBS=$ac_check_lib_save_LIBS
20333
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
20334
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
20335
if test $ac_cv_lib_dld_dld_link = yes; then
20336
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
20357
if test "x$lt_cv_dlopen" != xno; then
20363
case $lt_cv_dlopen in
20365
save_CPPFLAGS="$CPPFLAGS"
20366
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
20368
save_LDFLAGS="$LDFLAGS"
20369
eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
20372
LIBS="$lt_cv_dlopen_libs $LIBS"
20374
echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
20375
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
20376
if test "${lt_cv_dlopen_self+set}" = set; then
20377
echo $ECHO_N "(cached) $ECHO_C" >&6
20379
if test "$cross_compiling" = yes; then :
20380
lt_cv_dlopen_self=cross
20382
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
20383
lt_status=$lt_dlunknown
20384
cat > conftest.$ac_ext <<EOF
20385
#line 20385 "configure"
20386
#include "confdefs.h"
20395
# define LT_DLGLOBAL RTLD_GLOBAL
20398
# define LT_DLGLOBAL DL_GLOBAL
20400
# define LT_DLGLOBAL 0
20404
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
20405
find out it does not work in some platform. */
20406
#ifndef LT_DLLAZY_OR_NOW
20408
# define LT_DLLAZY_OR_NOW RTLD_LAZY
20411
# define LT_DLLAZY_OR_NOW DL_LAZY
20414
# define LT_DLLAZY_OR_NOW RTLD_NOW
20417
# define LT_DLLAZY_OR_NOW DL_NOW
20419
# define LT_DLLAZY_OR_NOW 0
20427
extern "C" void exit (int);
20430
void fnord() { int i=42;}
20433
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
20434
int status = $lt_dlunknown;
20438
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
20439
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
20440
/* dlclose (self); */
20446
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20447
(eval $ac_link) 2>&5
20449
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20450
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
20451
(./conftest; exit; ) 2>/dev/null
20453
case x$lt_status in
20454
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
20455
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
20456
x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
20459
# compilation failed
20460
lt_cv_dlopen_self=no
20467
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
20468
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
20470
if test "x$lt_cv_dlopen_self" = xyes; then
20471
LDFLAGS="$LDFLAGS $link_static_flag"
20472
echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
20473
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
20474
if test "${lt_cv_dlopen_self_static+set}" = set; then
20475
echo $ECHO_N "(cached) $ECHO_C" >&6
20477
if test "$cross_compiling" = yes; then :
20478
lt_cv_dlopen_self_static=cross
20480
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
20481
lt_status=$lt_dlunknown
20482
cat > conftest.$ac_ext <<EOF
20483
#line 20483 "configure"
20484
#include "confdefs.h"
20493
# define LT_DLGLOBAL RTLD_GLOBAL
20496
# define LT_DLGLOBAL DL_GLOBAL
20498
# define LT_DLGLOBAL 0
20502
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
20503
find out it does not work in some platform. */
20504
#ifndef LT_DLLAZY_OR_NOW
20506
# define LT_DLLAZY_OR_NOW RTLD_LAZY
20509
# define LT_DLLAZY_OR_NOW DL_LAZY
20512
# define LT_DLLAZY_OR_NOW RTLD_NOW
20515
# define LT_DLLAZY_OR_NOW DL_NOW
20517
# define LT_DLLAZY_OR_NOW 0
20525
extern "C" void exit (int);
20528
void fnord() { int i=42;}
20531
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
20532
int status = $lt_dlunknown;
20536
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
20537
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
20538
/* dlclose (self); */
20544
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20545
(eval $ac_link) 2>&5
20547
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20548
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
20549
(./conftest; exit; ) 2>/dev/null
20551
case x$lt_status in
20552
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
20553
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
20554
x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
20557
# compilation failed
20558
lt_cv_dlopen_self_static=no
20565
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
20566
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
20569
CPPFLAGS="$save_CPPFLAGS"
20570
LDFLAGS="$save_LDFLAGS"
20575
case $lt_cv_dlopen_self in
20576
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
20577
*) enable_dlopen_self=unknown ;;
20580
case $lt_cv_dlopen_self_static in
20581
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
20582
*) enable_dlopen_self_static=unknown ;;
20587
# The else clause should only fire when bootstrapping the
20588
# libtool distribution, otherwise you forgot to ship ltmain.sh
20589
# with your package, and you will get complaints that there are
20590
# no rules to generate ltmain.sh.
20591
if test -f "$ltmain"; then
20592
# See if we are running on zsh, and set the options which allow our commands through
20593
# without removal of \ escapes.
20594
if test -n "${ZSH_VERSION+set}" ; then
20595
setopt NO_GLOB_SUBST
20597
# Now quote all the things that may contain metacharacters while being
20598
# careful not to overquote the AC_SUBSTed values. We take copies of the
20599
# variables and quote the copies for generation of the libtool script.
20600
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
20601
libname_spec library_names_spec soname_spec extract_expsyms_cmds \
20602
old_striplib striplib file_magic_cmd finish_cmds finish_eval \
20603
deplibs_check_method reload_flag reload_cmds need_locks \
20604
lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
20605
lt_cv_sys_global_symbol_to_c_name_address \
20606
sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
20607
old_postinstall_cmds old_postuninstall_cmds \
20611
lt_prog_compiler_wl_GCJ \
20612
lt_prog_compiler_pic_GCJ \
20613
lt_prog_compiler_static_GCJ \
20614
lt_prog_compiler_no_builtin_flag_GCJ \
20615
export_dynamic_flag_spec_GCJ \
20616
thread_safe_flag_spec_GCJ \
20617
whole_archive_flag_spec_GCJ \
20618
enable_shared_with_static_runtimes_GCJ \
20619
old_archive_cmds_GCJ \
20620
old_archive_from_new_cmds_GCJ \
20621
predep_objects_GCJ \
20622
postdep_objects_GCJ \
20625
compiler_lib_search_path_GCJ \
20627
archive_expsym_cmds_GCJ \
20628
postinstall_cmds_GCJ \
20629
postuninstall_cmds_GCJ \
20630
old_archive_from_expsyms_cmds_GCJ \
20631
allow_undefined_flag_GCJ \
20632
no_undefined_flag_GCJ \
20633
export_symbols_cmds_GCJ \
20634
hardcode_libdir_flag_spec_GCJ \
20635
hardcode_libdir_flag_spec_ld_GCJ \
20636
hardcode_libdir_separator_GCJ \
20637
hardcode_automatic_GCJ \
20639
module_expsym_cmds_GCJ \
20640
lt_cv_prog_compiler_c_o_GCJ \
20641
exclude_expsyms_GCJ \
20642
include_expsyms_GCJ; do
20645
old_archive_cmds_GCJ | \
20646
old_archive_from_new_cmds_GCJ | \
20647
archive_cmds_GCJ | \
20648
archive_expsym_cmds_GCJ | \
20649
module_cmds_GCJ | \
20650
module_expsym_cmds_GCJ | \
20651
old_archive_from_expsyms_cmds_GCJ | \
20652
export_symbols_cmds_GCJ | \
20653
extract_expsyms_cmds | reload_cmds | finish_cmds | \
20654
postinstall_cmds | postuninstall_cmds | \
20655
old_postinstall_cmds | old_postuninstall_cmds | \
20656
sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
20657
# Double-quote double-evaled strings.
20658
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
20661
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
20667
*'\$0 --fallback-echo"')
20668
lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
20674
cat <<__EOF__ >> "$cfgfile"
20675
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
20677
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20679
# Shell to use when invoking shell scripts.
20682
# Whether or not to build shared libraries.
20683
build_libtool_libs=$enable_shared
20685
# Whether or not to build static libraries.
20686
build_old_libs=$enable_static
20688
# Whether or not to add -lc for building shared libraries.
20689
build_libtool_need_lc=$archive_cmds_need_lc_GCJ
20691
# Whether or not to disallow shared libs when runtime libs are static
20692
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
20694
# Whether or not to optimize for fast installation.
20695
fast_install=$enable_fast_install
20698
host_alias=$host_alias
20701
# An echo program that does not interpret backslashes.
20706
AR_FLAGS=$lt_AR_FLAGS
20711
# A language-specific compiler.
20712
CC=$lt_compiler_GCJ
20714
# Is the compiler the GNU C compiler?
20720
# The linker used to build libraries.
20723
# Whether we need hard or soft links.
20726
# A BSD-compatible nm program.
20729
# A symbol stripping program
20732
# Used to examine libraries when file_magic_cmd begins "file"
20733
MAGIC_CMD=$MAGIC_CMD
20735
# Used on cygwin: DLL creation program.
20738
# Used on cygwin: object dumper.
20741
# Used on cygwin: assembler.
20744
# The name of the directory that contains temporary libtool files.
20747
# How to create reloadable object files.
20748
reload_flag=$lt_reload_flag
20749
reload_cmds=$lt_reload_cmds
20751
# How to pass a linker flag through the compiler.
20752
wl=$lt_lt_prog_compiler_wl_GCJ
20754
# Object file suffix (normally "o").
20755
objext="$ac_objext"
20757
# Old archive suffix (normally "a").
20760
# Shared library suffix (normally ".so").
20763
# Executable file suffix (normally "").
20766
# Additional compiler flags for building library objects.
20767
pic_flag=$lt_lt_prog_compiler_pic_GCJ
20770
# What is the maximum length of a command?
20771
max_cmd_len=$lt_cv_sys_max_cmd_len
20773
# Does compiler simultaneously support -c and -o options?
20774
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
20776
# Must we lock files when doing compilation ?
20777
need_locks=$lt_need_locks
20779
# Do we need the lib prefix for modules?
20780
need_lib_prefix=$need_lib_prefix
20782
# Do we need a version for libraries?
20783
need_version=$need_version
20785
# Whether dlopen is supported.
20786
dlopen_support=$enable_dlopen
20788
# Whether dlopen of programs is supported.
20789
dlopen_self=$enable_dlopen_self
20791
# Whether dlopen of statically linked programs is supported.
20792
dlopen_self_static=$enable_dlopen_self_static
20794
# Compiler flag to prevent dynamic linking.
20795
link_static_flag=$lt_lt_prog_compiler_static_GCJ
20797
# Compiler flag to turn off builtin functions.
20798
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
20800
# Compiler flag to allow reflexive dlopens.
20801
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
20803
# Compiler flag to generate shared objects directly from archives.
20804
whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
20806
# Compiler flag to generate thread-safe objects.
20807
thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
20809
# Library versioning type.
20810
version_type=$version_type
20812
# Format of library name prefix.
20813
libname_spec=$lt_libname_spec
20815
# List of archive names. First name is the real one, the rest are links.
20816
# The last name is the one that the linker finds with -lNAME.
20817
library_names_spec=$lt_library_names_spec
20819
# The coded name of the library, if different from the real name.
20820
soname_spec=$lt_soname_spec
20822
# Commands used to build and install an old-style archive.
20824
old_archive_cmds=$lt_old_archive_cmds_GCJ
20825
old_postinstall_cmds=$lt_old_postinstall_cmds
20826
old_postuninstall_cmds=$lt_old_postuninstall_cmds
20828
# Create an old-style archive from a shared archive.
20829
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
20831
# Create a temporary old-style archive to link instead of a shared archive.
20832
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
20834
# Commands used to build and install a shared archive.
20835
archive_cmds=$lt_archive_cmds_GCJ
20836
archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
20837
postinstall_cmds=$lt_postinstall_cmds
20838
postuninstall_cmds=$lt_postuninstall_cmds
20840
# Commands used to build a loadable module (assumed same as above if empty)
20841
module_cmds=$lt_module_cmds_GCJ
20842
module_expsym_cmds=$lt_module_expsym_cmds_GCJ
20844
# Commands to strip libraries.
20845
old_striplib=$lt_old_striplib
20846
striplib=$lt_striplib
20848
# Dependencies to place before the objects being linked to create a
20850
predep_objects=$lt_predep_objects_GCJ
20852
# Dependencies to place after the objects being linked to create a
20854
postdep_objects=$lt_postdep_objects_GCJ
20856
# Dependencies to place before the objects being linked to create a
20858
predeps=$lt_predeps_GCJ
20860
# Dependencies to place after the objects being linked to create a
20862
postdeps=$lt_postdeps_GCJ
20864
# The library search path used internally by the compiler when linking
20865
# a shared library.
20866
compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
20868
# Method to check whether dependent libraries are shared objects.
20869
deplibs_check_method=$lt_deplibs_check_method
20871
# Command to use when deplibs_check_method == file_magic.
20872
file_magic_cmd=$lt_file_magic_cmd
20874
# Flag that allows shared libraries with undefined symbols to be built.
20875
allow_undefined_flag=$lt_allow_undefined_flag_GCJ
20877
# Flag that forces no undefined symbols.
20878
no_undefined_flag=$lt_no_undefined_flag_GCJ
20880
# Commands used to finish a libtool library installation in a directory.
20881
finish_cmds=$lt_finish_cmds
20883
# Same as above, but a single script fragment to be evaled but not shown.
20884
finish_eval=$lt_finish_eval
20886
# Take the output of nm and produce a listing of raw symbols and C names.
20887
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20889
# Transform the output of nm in a proper C declaration
20890
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20892
# Transform the output of nm in a C name address pair
20893
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20895
# This is the shared library runtime path variable.
20896
runpath_var=$runpath_var
20898
# This is the shared library path variable.
20899
shlibpath_var=$shlibpath_var
20901
# Is shlibpath searched before the hard-coded library search path?
20902
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20904
# How to hardcode a shared library path into an executable.
20905
hardcode_action=$hardcode_action_GCJ
20907
# Whether we should hardcode library paths into libraries.
20908
hardcode_into_libs=$hardcode_into_libs
20910
# Flag to hardcode \$libdir into a binary during linking.
20911
# This must work even if \$libdir does not exist.
20912
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
20914
# If ld is used when linking, flag to hardcode \$libdir into
20915
# a binary during linking. This must work even if \$libdir does
20917
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
20919
# Whether we need a single -rpath flag with a separated argument.
20920
hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
20922
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
20923
# resulting binary.
20924
hardcode_direct=$hardcode_direct_GCJ
20926
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
20927
# resulting binary.
20928
hardcode_minus_L=$hardcode_minus_L_GCJ
20930
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
20931
# the resulting binary.
20932
hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
20934
# Set to yes if building a shared library automatically hardcodes DIR into the library
20935
# and all subsequent libraries and executables linked against it.
20936
hardcode_automatic=$hardcode_automatic_GCJ
20938
# Variables whose values should be saved in libtool wrapper scripts and
20939
# restored at relink time.
20940
variables_saved_for_relink="$variables_saved_for_relink"
20942
# Whether libtool must link a program against all its dependency libraries.
20943
link_all_deplibs=$link_all_deplibs_GCJ
20945
# Compile-time system search path for libraries
20946
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20948
# Run-time system search path for libraries
20949
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20951
# Fix the shell variable \$srcfile for the compiler.
20952
fix_srcfile_path="$fix_srcfile_path_GCJ"
20954
# Set to yes if exported symbols are required.
20955
always_export_symbols=$always_export_symbols_GCJ
20957
# The commands to list exported symbols.
20958
export_symbols_cmds=$lt_export_symbols_cmds_GCJ
20960
# The commands to extract the exported symbol list from a shared archive.
20961
extract_expsyms_cmds=$lt_extract_expsyms_cmds
20963
# Symbols that should not be listed in the preloaded symbols.
20964
exclude_expsyms=$lt_exclude_expsyms_GCJ
20966
# Symbols that must always be exported.
20967
include_expsyms=$lt_include_expsyms_GCJ
20969
# ### END LIBTOOL TAG CONFIG: $tagname
20975
# If there is no Makefile yet, we rely on a make rule to execute
20976
# `config.status --recheck' to rerun these tests and create the
20977
# libtool script then.
20978
test -f Makefile && make "$ltmain"
20983
ac_cpp='$CPP $CPPFLAGS'
20984
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20985
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20986
ac_compiler_gnu=$ac_cv_c_compiler_gnu
20999
# Source file extension for RC test sources.
21002
# Object file extension for compiled RC test sources.
21006
# Code to be used in simple compile tests
21007
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
21009
# Code to be used in simple link tests
21010
lt_simple_link_test_code="$lt_simple_compile_test_code"
21012
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
21014
# If no C compiler was specified, use CC.
21017
# Allow CC to be a program name with arguments.
21021
# Allow CC to be a program name with arguments.
21026
lt_cv_prog_compiler_c_o_RC=yes
21028
# The else clause should only fire when bootstrapping the
21029
# libtool distribution, otherwise you forgot to ship ltmain.sh
21030
# with your package, and you will get complaints that there are
21031
# no rules to generate ltmain.sh.
21032
if test -f "$ltmain"; then
21033
# See if we are running on zsh, and set the options which allow our commands through
21034
# without removal of \ escapes.
21035
if test -n "${ZSH_VERSION+set}" ; then
21036
setopt NO_GLOB_SUBST
21038
# Now quote all the things that may contain metacharacters while being
21039
# careful not to overquote the AC_SUBSTed values. We take copies of the
21040
# variables and quote the copies for generation of the libtool script.
21041
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
21042
libname_spec library_names_spec soname_spec extract_expsyms_cmds \
21043
old_striplib striplib file_magic_cmd finish_cmds finish_eval \
21044
deplibs_check_method reload_flag reload_cmds need_locks \
21045
lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
21046
lt_cv_sys_global_symbol_to_c_name_address \
21047
sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
21048
old_postinstall_cmds old_postuninstall_cmds \
21052
lt_prog_compiler_wl_RC \
21053
lt_prog_compiler_pic_RC \
21054
lt_prog_compiler_static_RC \
21055
lt_prog_compiler_no_builtin_flag_RC \
21056
export_dynamic_flag_spec_RC \
21057
thread_safe_flag_spec_RC \
21058
whole_archive_flag_spec_RC \
21059
enable_shared_with_static_runtimes_RC \
21060
old_archive_cmds_RC \
21061
old_archive_from_new_cmds_RC \
21062
predep_objects_RC \
21063
postdep_objects_RC \
21066
compiler_lib_search_path_RC \
21068
archive_expsym_cmds_RC \
21069
postinstall_cmds_RC \
21070
postuninstall_cmds_RC \
21071
old_archive_from_expsyms_cmds_RC \
21072
allow_undefined_flag_RC \
21073
no_undefined_flag_RC \
21074
export_symbols_cmds_RC \
21075
hardcode_libdir_flag_spec_RC \
21076
hardcode_libdir_flag_spec_ld_RC \
21077
hardcode_libdir_separator_RC \
21078
hardcode_automatic_RC \
21080
module_expsym_cmds_RC \
21081
lt_cv_prog_compiler_c_o_RC \
21082
exclude_expsyms_RC \
21083
include_expsyms_RC; do
21086
old_archive_cmds_RC | \
21087
old_archive_from_new_cmds_RC | \
21088
archive_cmds_RC | \
21089
archive_expsym_cmds_RC | \
21091
module_expsym_cmds_RC | \
21092
old_archive_from_expsyms_cmds_RC | \
21093
export_symbols_cmds_RC | \
21094
extract_expsyms_cmds | reload_cmds | finish_cmds | \
21095
postinstall_cmds | postuninstall_cmds | \
21096
old_postinstall_cmds | old_postuninstall_cmds | \
21097
sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
21098
# Double-quote double-evaled strings.
21099
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
21102
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
21108
*'\$0 --fallback-echo"')
21109
lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
21115
cat <<__EOF__ >> "$cfgfile"
21116
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
21118
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21120
# Shell to use when invoking shell scripts.
21123
# Whether or not to build shared libraries.
21124
build_libtool_libs=$enable_shared
21126
# Whether or not to build static libraries.
21127
build_old_libs=$enable_static
21129
# Whether or not to add -lc for building shared libraries.
21130
build_libtool_need_lc=$archive_cmds_need_lc_RC
21132
# Whether or not to disallow shared libs when runtime libs are static
21133
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
21135
# Whether or not to optimize for fast installation.
21136
fast_install=$enable_fast_install
21139
host_alias=$host_alias
21142
# An echo program that does not interpret backslashes.
21147
AR_FLAGS=$lt_AR_FLAGS
21152
# A language-specific compiler.
21155
# Is the compiler the GNU C compiler?
21161
# The linker used to build libraries.
21164
# Whether we need hard or soft links.
21167
# A BSD-compatible nm program.
21170
# A symbol stripping program
21173
# Used to examine libraries when file_magic_cmd begins "file"
21174
MAGIC_CMD=$MAGIC_CMD
21176
# Used on cygwin: DLL creation program.
21179
# Used on cygwin: object dumper.
21182
# Used on cygwin: assembler.
21185
# The name of the directory that contains temporary libtool files.
21188
# How to create reloadable object files.
21189
reload_flag=$lt_reload_flag
21190
reload_cmds=$lt_reload_cmds
21192
# How to pass a linker flag through the compiler.
21193
wl=$lt_lt_prog_compiler_wl_RC
21195
# Object file suffix (normally "o").
21196
objext="$ac_objext"
21198
# Old archive suffix (normally "a").
21201
# Shared library suffix (normally ".so").
21204
# Executable file suffix (normally "").
21207
# Additional compiler flags for building library objects.
21208
pic_flag=$lt_lt_prog_compiler_pic_RC
21211
# What is the maximum length of a command?
21212
max_cmd_len=$lt_cv_sys_max_cmd_len
21214
# Does compiler simultaneously support -c and -o options?
21215
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
21217
# Must we lock files when doing compilation ?
21218
need_locks=$lt_need_locks
21220
# Do we need the lib prefix for modules?
21221
need_lib_prefix=$need_lib_prefix
21223
# Do we need a version for libraries?
21224
need_version=$need_version
21226
# Whether dlopen is supported.
21227
dlopen_support=$enable_dlopen
21229
# Whether dlopen of programs is supported.
21230
dlopen_self=$enable_dlopen_self
21232
# Whether dlopen of statically linked programs is supported.
21233
dlopen_self_static=$enable_dlopen_self_static
21235
# Compiler flag to prevent dynamic linking.
21236
link_static_flag=$lt_lt_prog_compiler_static_RC
21238
# Compiler flag to turn off builtin functions.
21239
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
21241
# Compiler flag to allow reflexive dlopens.
21242
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
21244
# Compiler flag to generate shared objects directly from archives.
21245
whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
21247
# Compiler flag to generate thread-safe objects.
21248
thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
21250
# Library versioning type.
21251
version_type=$version_type
21253
# Format of library name prefix.
21254
libname_spec=$lt_libname_spec
21256
# List of archive names. First name is the real one, the rest are links.
21257
# The last name is the one that the linker finds with -lNAME.
21258
library_names_spec=$lt_library_names_spec
21260
# The coded name of the library, if different from the real name.
21261
soname_spec=$lt_soname_spec
21263
# Commands used to build and install an old-style archive.
21265
old_archive_cmds=$lt_old_archive_cmds_RC
21266
old_postinstall_cmds=$lt_old_postinstall_cmds
21267
old_postuninstall_cmds=$lt_old_postuninstall_cmds
21269
# Create an old-style archive from a shared archive.
21270
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
21272
# Create a temporary old-style archive to link instead of a shared archive.
21273
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
21275
# Commands used to build and install a shared archive.
21276
archive_cmds=$lt_archive_cmds_RC
21277
archive_expsym_cmds=$lt_archive_expsym_cmds_RC
21278
postinstall_cmds=$lt_postinstall_cmds
21279
postuninstall_cmds=$lt_postuninstall_cmds
21281
# Commands used to build a loadable module (assumed same as above if empty)
21282
module_cmds=$lt_module_cmds_RC
21283
module_expsym_cmds=$lt_module_expsym_cmds_RC
21285
# Commands to strip libraries.
21286
old_striplib=$lt_old_striplib
21287
striplib=$lt_striplib
21289
# Dependencies to place before the objects being linked to create a
21291
predep_objects=$lt_predep_objects_RC
21293
# Dependencies to place after the objects being linked to create a
21295
postdep_objects=$lt_postdep_objects_RC
21297
# Dependencies to place before the objects being linked to create a
21299
predeps=$lt_predeps_RC
21301
# Dependencies to place after the objects being linked to create a
21303
postdeps=$lt_postdeps_RC
21305
# The library search path used internally by the compiler when linking
21306
# a shared library.
21307
compiler_lib_search_path=$lt_compiler_lib_search_path_RC
21309
# Method to check whether dependent libraries are shared objects.
21310
deplibs_check_method=$lt_deplibs_check_method
21312
# Command to use when deplibs_check_method == file_magic.
21313
file_magic_cmd=$lt_file_magic_cmd
21315
# Flag that allows shared libraries with undefined symbols to be built.
21316
allow_undefined_flag=$lt_allow_undefined_flag_RC
21318
# Flag that forces no undefined symbols.
21319
no_undefined_flag=$lt_no_undefined_flag_RC
21321
# Commands used to finish a libtool library installation in a directory.
21322
finish_cmds=$lt_finish_cmds
21324
# Same as above, but a single script fragment to be evaled but not shown.
21325
finish_eval=$lt_finish_eval
21327
# Take the output of nm and produce a listing of raw symbols and C names.
21328
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21330
# Transform the output of nm in a proper C declaration
21331
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21333
# Transform the output of nm in a C name address pair
21334
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21336
# This is the shared library runtime path variable.
21337
runpath_var=$runpath_var
21339
# This is the shared library path variable.
21340
shlibpath_var=$shlibpath_var
21342
# Is shlibpath searched before the hard-coded library search path?
21343
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21345
# How to hardcode a shared library path into an executable.
21346
hardcode_action=$hardcode_action_RC
21348
# Whether we should hardcode library paths into libraries.
21349
hardcode_into_libs=$hardcode_into_libs
21351
# Flag to hardcode \$libdir into a binary during linking.
21352
# This must work even if \$libdir does not exist.
21353
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
21355
# If ld is used when linking, flag to hardcode \$libdir into
21356
# a binary during linking. This must work even if \$libdir does
21358
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
21360
# Whether we need a single -rpath flag with a separated argument.
21361
hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
21363
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
21364
# resulting binary.
21365
hardcode_direct=$hardcode_direct_RC
21367
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
21368
# resulting binary.
21369
hardcode_minus_L=$hardcode_minus_L_RC
21371
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
21372
# the resulting binary.
21373
hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
21375
# Set to yes if building a shared library automatically hardcodes DIR into the library
21376
# and all subsequent libraries and executables linked against it.
21377
hardcode_automatic=$hardcode_automatic_RC
21379
# Variables whose values should be saved in libtool wrapper scripts and
21380
# restored at relink time.
21381
variables_saved_for_relink="$variables_saved_for_relink"
21383
# Whether libtool must link a program against all its dependency libraries.
21384
link_all_deplibs=$link_all_deplibs_RC
21386
# Compile-time system search path for libraries
21387
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21389
# Run-time system search path for libraries
21390
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21392
# Fix the shell variable \$srcfile for the compiler.
21393
fix_srcfile_path="$fix_srcfile_path_RC"
21395
# Set to yes if exported symbols are required.
21396
always_export_symbols=$always_export_symbols_RC
21398
# The commands to list exported symbols.
21399
export_symbols_cmds=$lt_export_symbols_cmds_RC
21401
# The commands to extract the exported symbol list from a shared archive.
21402
extract_expsyms_cmds=$lt_extract_expsyms_cmds
21404
# Symbols that should not be listed in the preloaded symbols.
21405
exclude_expsyms=$lt_exclude_expsyms_RC
21407
# Symbols that must always be exported.
21408
include_expsyms=$lt_include_expsyms_RC
21410
# ### END LIBTOOL TAG CONFIG: $tagname
21416
# If there is no Makefile yet, we rely on a make rule to execute
21417
# `config.status --recheck' to rerun these tests and create the
21418
# libtool script then.
21419
test -f Makefile && make "$ltmain"
21424
ac_cpp='$CPP $CPPFLAGS'
21425
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21426
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21427
ac_compiler_gnu=$ac_cv_c_compiler_gnu
21434
{ { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
21435
echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
21436
{ (exit 1); exit 1; }; }
21440
# Append the new tag name to the list of available tags.
21441
if test -n "$tagname" ; then
21442
available_tags="$available_tags $tagname"
21448
# Now substitute the updated list of available tags.
21449
if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
21450
mv "${ofile}T" "$ofile"
21454
{ { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
21455
echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
21456
{ (exit 1); exit 1; }; }
21462
# This can be used to rebuild libtool when needed
21463
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
21465
# Always use our own libtool.
21466
LIBTOOL='$(SHELL) $(top_builddir)/libtool --silent'
21468
# Prevent multiple expansion
21503
LIBTOOL_SHELL="/bin/sh ./libtool"
21504
# LIBTOOL="$LIBTOOL --silent"
21505
KDE_PLUGIN="-avoid-version -module -no-undefined \$(KDE_NO_UNDEFINED) \$(KDE_RPATH) \$(KDE_MT_LDFLAGS)"
21508
# we patch configure quite some so we better keep that consistent for incremental runs
21509
AUTOCONF='$(SHELL) $(top_srcdir)/admin/cvs.sh configure || touch configure'
21515
# Extract the first word of "msgfmt", so it can be a program name with args.
21516
set dummy msgfmt; ac_word=$2
21517
echo "$as_me:$LINENO: checking for $ac_word" >&5
21518
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21519
if test "${ac_cv_path_MSGFMT+set}" = set; then
21520
echo $ECHO_N "(cached) $ECHO_C" >&6
21524
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
21527
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
21528
for ac_dir in $PATH; do
21529
test -z "$ac_dir" && ac_dir=.
21530
if test -f $ac_dir/$ac_word; then
21531
if test -n "`$ac_dir/$ac_word --version 2>&1 | grep 'GNU gettext'`"; then
21532
ac_cv_path_MSGFMT="$ac_dir/$ac_word"
21538
test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="msgfmt"
21542
MSGFMT="$ac_cv_path_MSGFMT"
21543
if test -n "$MSGFMT"; then
21544
echo "$as_me:$LINENO: result: $MSGFMT" >&5
21545
echo "${ECHO_T}$MSGFMT" >&6
21547
echo "$as_me:$LINENO: result: no" >&5
21548
echo "${ECHO_T}no" >&6
21551
# Extract the first word of "gmsgfmt", so it can be a program name with args.
21552
set dummy gmsgfmt; ac_word=$2
21553
echo "$as_me:$LINENO: checking for $ac_word" >&5
21554
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21555
if test "${ac_cv_path_GMSGFMT+set}" = set; then
21556
echo $ECHO_N "(cached) $ECHO_C" >&6
21560
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
21563
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21564
for as_dir in $PATH
21567
test -z "$as_dir" && as_dir=.
21568
for ac_exec_ext in '' $ac_executable_extensions; do
21569
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21570
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
21571
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21577
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
21581
GMSGFMT=$ac_cv_path_GMSGFMT
21583
if test -n "$GMSGFMT"; then
21584
echo "$as_me:$LINENO: result: $GMSGFMT" >&5
21585
echo "${ECHO_T}$GMSGFMT" >&6
21587
echo "$as_me:$LINENO: result: no" >&5
21588
echo "${ECHO_T}no" >&6
21592
if test -z "`$GMSGFMT --version 2>&1 | grep 'GNU gettext'`"; then
21593
echo "$as_me:$LINENO: result: found msgfmt program is not GNU msgfmt; ignore it" >&5
21594
echo "${ECHO_T}found msgfmt program is not GNU msgfmt; ignore it" >&6
21601
# Extract the first word of "xgettext", so it can be a program name with args.
21602
set dummy xgettext; ac_word=$2
21603
echo "$as_me:$LINENO: checking for $ac_word" >&5
21604
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21605
if test "${ac_cv_path_XGETTEXT+set}" = set; then
21606
echo $ECHO_N "(cached) $ECHO_C" >&6
21608
case "$XGETTEXT" in
21610
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
21613
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
21614
for ac_dir in $PATH; do
21615
test -z "$ac_dir" && ac_dir=.
21616
if test -f $ac_dir/$ac_word; then
21617
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
21618
ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
21624
test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
21628
XGETTEXT="$ac_cv_path_XGETTEXT"
21629
if test -n "$XGETTEXT"; then
21630
echo "$as_me:$LINENO: result: $XGETTEXT" >&5
21631
echo "${ECHO_T}$XGETTEXT" >&6
21633
echo "$as_me:$LINENO: result: no" >&5
21634
echo "${ECHO_T}no" >&6
21638
if test "$XGETTEXT" != ":"; then
21639
if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
21642
echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5
21643
echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6
21652
if test -z "3.0.0"; then
21653
# Current default Qt version: 3.3
21657
kde_qtsubver=`echo "3.0.0" | sed -e 's#[0-9][0-9]*\.\([0-9][0-9]*\).*#\1#'`
21658
# following is the check if subversion isnt found in passed argument
21659
if test "$kde_qtsubver" = "3.0.0"; then
21662
kde_qtver=`echo "3.0.0" | sed -e 's#^\([0-9][0-9]*\)\..*#\1#'`
21663
if test "$kde_qtver" = "1"; then
21668
if test -z ""; then
21669
if test "$kde_qtver" = "2"; then
21670
if test $kde_qtsubver -gt 0; then
21671
kde_qt_minversion=">= Qt 2.2.2"
21673
kde_qt_minversion=">= Qt 2.0.2"
21676
if test "$kde_qtver" = "3"; then
21677
if test $kde_qtsubver -gt 0; then
21678
if test $kde_qtsubver -gt 1; then
21679
if test $kde_qtsubver -gt 2; then
21680
kde_qt_minversion=">= Qt 3.3"
21682
kde_qt_minversion=">= Qt 3.2"
21685
kde_qt_minversion=">= Qt 3.1 (20021021)"
21688
kde_qt_minversion=">= Qt 3.0"
21691
if test "$kde_qtver" = "1"; then
21692
kde_qt_minversion=">= 1.42 and < 2.0"
21695
kde_qt_minversion=""
21698
if test -z ""; then
21699
if test $kde_qtver = 3; then
21700
if test $kde_qtsubver -gt 0; then
21701
kde_qt_verstring="QT_VERSION >= 0x03@VER@00"
21702
qtsubver=`echo "00$kde_qtsubver" | sed -e 's,.*\(..\)$,\1,'`
21703
kde_qt_verstring=`echo $kde_qt_verstring | sed -e "s,@VER@,$qtsubver,"`
21705
kde_qt_verstring="QT_VERSION >= 300"
21708
if test $kde_qtver = 2; then
21709
if test $kde_qtsubver -gt 0; then
21710
kde_qt_verstring="QT_VERSION >= 222"
21712
kde_qt_verstring="QT_VERSION >= 200"
21715
if test $kde_qtver = 1; then
21716
kde_qt_verstring="QT_VERSION >= 142 && QT_VERSION < 200"
21719
kde_qt_verstring=""
21722
if test $kde_qtver = 3; then
21723
kde_qt_dirs="$QTDIR /usr/lib/qt3 /usr/lib/qt /usr/share/qt3"
21725
if test $kde_qtver = 2; then
21726
kde_qt_dirs="$QTDIR /usr/lib/qt2 /usr/lib/qt"
21728
if test $kde_qtver = 1; then
21729
kde_qt_dirs="$QTDIR /usr/lib/qt"
21736
ac_cpp='$CXXCPP $CPPFLAGS'
21737
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21738
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21739
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21741
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21744
ac_save_CXXFLAGS="$CXXFLAGS"
21745
CXXFLAGS="`echo $CXXFLAGS | sed s/-fno-exceptions//`"
21747
echo "$as_me:$LINENO: checking if C++ programs can be compiled" >&5
21748
echo $ECHO_N "checking if C++ programs can be compiled... $ECHO_C" >&6
21749
if test "${kde_cv_stl_works+set}" = set; then
21750
echo $ECHO_N "(cached) $ECHO_C" >&6
21753
cat >conftest.$ac_ext <<_ACEOF
21756
cat confdefs.h >>conftest.$ac_ext
21757
cat >>conftest.$ac_ext <<_ACEOF
21758
/* end confdefs.h. */
21761
using namespace std;
21767
string astring="Hallo Welt.";
21768
astring.erase(0, 6); // now astring is "Welt"
21775
rm -f conftest.$ac_objext
21776
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21777
(eval $ac_compile) 2>conftest.er1
21779
grep -v '^ *+' conftest.er1 >conftest.err
21781
cat conftest.err >&5
21782
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21783
(exit $ac_status); } &&
21784
{ ac_try='test -z "$ac_cxx_werror_flag"
21785
|| test ! -s conftest.err'
21786
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21787
(eval $ac_try) 2>&5
21789
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21790
(exit $ac_status); }; } &&
21791
{ ac_try='test -s conftest.$ac_objext'
21792
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21793
(eval $ac_try) 2>&5
21795
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21796
(exit $ac_status); }; }; then
21797
kde_cv_stl_works=yes
21799
echo "$as_me: failed program was:" >&5
21800
sed 's/^/| /' conftest.$ac_ext >&5
21802
kde_cv_stl_works=no
21804
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21809
echo "$as_me:$LINENO: result: $kde_cv_stl_works" >&5
21810
echo "${ECHO_T}$kde_cv_stl_works" >&6
21812
if test "$kde_cv_stl_works" = "yes"; then
21815
cat >>confdefs.h <<_ACEOF
21816
#define HAVE_SGI_STL 1
21820
{ { echo "$as_me:$LINENO: error: Your Installation isn't able to compile simple C++ programs.
21821
Check config.log for details - if you're using a Linux distribution you might miss
21822
a package named similar to libstdc++-dev." >&5
21823
echo "$as_me: error: Your Installation isn't able to compile simple C++ programs.
21824
Check config.log for details - if you're using a Linux distribution you might miss
21825
a package named similar to libstdc++-dev." >&2;}
21826
{ (exit 1); exit 1; }; }
21829
CXXFLAGS="$ac_save_CXXFLAGS"
21831
ac_cpp='$CPP $CPPFLAGS'
21832
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21833
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21834
ac_compiler_gnu=$ac_cv_c_compiler_gnu
21839
echo "$as_me:$LINENO: checking for strlcat" >&5
21840
echo $ECHO_N "checking for strlcat... $ECHO_C" >&6
21841
if test "${kde_cv_func_strlcat+set}" = set; then
21842
echo $ECHO_N "(cached) $ECHO_C" >&6
21848
ac_cpp='$CXXCPP $CPPFLAGS'
21849
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21850
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21851
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21853
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21856
save_CXXFLAGS="$CXXFLAGS"
21857
kde_safe_LIBS="$LIBS"
21858
LIBS="$LIBS $X_EXTRA_LIBS"
21859
if test "$GXX" = "yes"; then
21860
CXXFLAGS="$CXXFLAGS -pedantic-errors"
21862
cat >conftest.$ac_ext <<_ACEOF
21865
cat confdefs.h >>conftest.$ac_ext
21866
cat >>conftest.$ac_ext <<_ACEOF
21867
/* end confdefs.h. */
21870
#include <string.h>
21879
strlcat(buf, "KDE function test", sizeof(buf));
21886
rm -f conftest.$ac_objext
21887
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21888
(eval $ac_compile) 2>conftest.er1
21890
grep -v '^ *+' conftest.er1 >conftest.err
21892
cat conftest.err >&5
21893
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21894
(exit $ac_status); } &&
21895
{ ac_try='test -z "$ac_cxx_werror_flag"
21896
|| test ! -s conftest.err'
21897
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21898
(eval $ac_try) 2>&5
21900
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21901
(exit $ac_status); }; } &&
21902
{ ac_try='test -s conftest.$ac_objext'
21903
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21904
(eval $ac_try) 2>&5
21906
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21907
(exit $ac_status); }; }; then
21908
kde_cv_func_strlcat=yes
21910
echo "$as_me: failed program was:" >&5
21911
sed 's/^/| /' conftest.$ac_ext >&5
21913
kde_cv_func_strlcat=no
21915
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21916
CXXFLAGS="$save_CXXFLAGS"
21917
LIBS="$kde_safe_LIBS"
21919
ac_cpp='$CPP $CPPFLAGS'
21920
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21921
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21922
ac_compiler_gnu=$ac_cv_c_compiler_gnu
21928
echo "$as_me:$LINENO: result: $kde_cv_func_strlcat" >&5
21929
echo "${ECHO_T}$kde_cv_func_strlcat" >&6
21931
echo "$as_me:$LINENO: checking if strlcat needs custom prototype" >&5
21932
echo $ECHO_N "checking if strlcat needs custom prototype... $ECHO_C" >&6
21933
if test "${kde_cv_proto_strlcat+set}" = set; then
21934
echo $ECHO_N "(cached) $ECHO_C" >&6
21937
if test "x$kde_cv_func_strlcat" = xyes; then
21938
kde_cv_proto_strlcat=no
21941
setenv|unsetenv|usleep|random|srandom|seteuid|mkstemps|mkstemp|revoke|vsnprintf|strlcpy|strlcat)
21942
kde_cv_proto_strlcat="yes - in libkdefakes"
21945
kde_cv_proto_strlcat=unknown
21950
if test "x$kde_cv_proto_strlcat" = xunknown; then
21955
ac_cpp='$CXXCPP $CPPFLAGS'
21956
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21957
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21958
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21960
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21963
kde_safe_libs=$LIBS
21964
LIBS="$LIBS $X_EXTRA_LIBS"
21965
cat >conftest.$ac_ext <<_ACEOF
21968
cat confdefs.h >>conftest.$ac_ext
21969
cat >>conftest.$ac_ext <<_ACEOF
21970
/* end confdefs.h. */
21973
#include <string.h>
21976
extern "C" unsigned long strlcat(char*, const char*, unsigned long);
21984
strlcat(buf, "KDE function test", sizeof(buf));
21991
rm -f conftest.$ac_objext conftest$ac_exeext
21992
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21993
(eval $ac_link) 2>conftest.er1
21995
grep -v '^ *+' conftest.er1 >conftest.err
21997
cat conftest.err >&5
21998
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21999
(exit $ac_status); } &&
22000
{ ac_try='test -z "$ac_cxx_werror_flag"
22001
|| test ! -s conftest.err'
22002
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22003
(eval $ac_try) 2>&5
22005
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22006
(exit $ac_status); }; } &&
22007
{ ac_try='test -s conftest$ac_exeext'
22008
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22009
(eval $ac_try) 2>&5
22011
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22012
(exit $ac_status); }; }; then
22013
kde_cv_func_strlcat=yes
22014
kde_cv_proto_strlcat=yes
22016
echo "$as_me: failed program was:" >&5
22017
sed 's/^/| /' conftest.$ac_ext >&5
22019
kde_cv_proto_strlcat="strlcat unavailable"
22022
rm -f conftest.err conftest.$ac_objext \
22023
conftest$ac_exeext conftest.$ac_ext
22024
LIBS=$kde_safe_libs
22026
ac_cpp='$CPP $CPPFLAGS'
22027
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22028
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22029
ac_compiler_gnu=$ac_cv_c_compiler_gnu
22035
echo "$as_me:$LINENO: result: $kde_cv_proto_strlcat" >&5
22036
echo "${ECHO_T}$kde_cv_proto_strlcat" >&6
22038
if test "x$kde_cv_func_strlcat" = xyes; then
22040
cat >>confdefs.h <<\_ACEOF
22041
#define HAVE_STRLCAT 1
22046
if test "x$kde_cv_proto_strlcat" = xno; then
22048
cat >>confdefs.h <<\_ACEOF
22049
#define HAVE_STRLCAT_PROTO 1
22060
echo "$as_me:$LINENO: checking for strlcpy" >&5
22061
echo $ECHO_N "checking for strlcpy... $ECHO_C" >&6
22062
if test "${kde_cv_func_strlcpy+set}" = set; then
22063
echo $ECHO_N "(cached) $ECHO_C" >&6
22069
ac_cpp='$CXXCPP $CPPFLAGS'
22070
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22071
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22072
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22074
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22077
save_CXXFLAGS="$CXXFLAGS"
22078
kde_safe_LIBS="$LIBS"
22079
LIBS="$LIBS $X_EXTRA_LIBS"
22080
if test "$GXX" = "yes"; then
22081
CXXFLAGS="$CXXFLAGS -pedantic-errors"
22083
cat >conftest.$ac_ext <<_ACEOF
22086
cat confdefs.h >>conftest.$ac_ext
22087
cat >>conftest.$ac_ext <<_ACEOF
22088
/* end confdefs.h. */
22091
#include <string.h>
22099
strlcpy(buf, "KDE function test", sizeof(buf));
22106
rm -f conftest.$ac_objext
22107
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22108
(eval $ac_compile) 2>conftest.er1
22110
grep -v '^ *+' conftest.er1 >conftest.err
22112
cat conftest.err >&5
22113
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22114
(exit $ac_status); } &&
22115
{ ac_try='test -z "$ac_cxx_werror_flag"
22116
|| test ! -s conftest.err'
22117
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22118
(eval $ac_try) 2>&5
22120
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22121
(exit $ac_status); }; } &&
22122
{ ac_try='test -s conftest.$ac_objext'
22123
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22124
(eval $ac_try) 2>&5
22126
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22127
(exit $ac_status); }; }; then
22128
kde_cv_func_strlcpy=yes
22130
echo "$as_me: failed program was:" >&5
22131
sed 's/^/| /' conftest.$ac_ext >&5
22133
kde_cv_func_strlcpy=no
22135
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22136
CXXFLAGS="$save_CXXFLAGS"
22137
LIBS="$kde_safe_LIBS"
22139
ac_cpp='$CPP $CPPFLAGS'
22140
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22141
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22142
ac_compiler_gnu=$ac_cv_c_compiler_gnu
22148
echo "$as_me:$LINENO: result: $kde_cv_func_strlcpy" >&5
22149
echo "${ECHO_T}$kde_cv_func_strlcpy" >&6
22151
echo "$as_me:$LINENO: checking if strlcpy needs custom prototype" >&5
22152
echo $ECHO_N "checking if strlcpy needs custom prototype... $ECHO_C" >&6
22153
if test "${kde_cv_proto_strlcpy+set}" = set; then
22154
echo $ECHO_N "(cached) $ECHO_C" >&6
22157
if test "x$kde_cv_func_strlcpy" = xyes; then
22158
kde_cv_proto_strlcpy=no
22161
setenv|unsetenv|usleep|random|srandom|seteuid|mkstemps|mkstemp|revoke|vsnprintf|strlcpy|strlcat)
22162
kde_cv_proto_strlcpy="yes - in libkdefakes"
22165
kde_cv_proto_strlcpy=unknown
22170
if test "x$kde_cv_proto_strlcpy" = xunknown; then
22175
ac_cpp='$CXXCPP $CPPFLAGS'
22176
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22177
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22178
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22180
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22183
kde_safe_libs=$LIBS
22184
LIBS="$LIBS $X_EXTRA_LIBS"
22185
cat >conftest.$ac_ext <<_ACEOF
22188
cat confdefs.h >>conftest.$ac_ext
22189
cat >>conftest.$ac_ext <<_ACEOF
22190
/* end confdefs.h. */
22193
#include <string.h>
22196
extern "C" unsigned long strlcpy(char*, const char*, unsigned long);
22203
strlcpy(buf, "KDE function test", sizeof(buf));
22210
rm -f conftest.$ac_objext conftest$ac_exeext
22211
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22212
(eval $ac_link) 2>conftest.er1
22214
grep -v '^ *+' conftest.er1 >conftest.err
22216
cat conftest.err >&5
22217
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22218
(exit $ac_status); } &&
22219
{ ac_try='test -z "$ac_cxx_werror_flag"
22220
|| test ! -s conftest.err'
22221
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22222
(eval $ac_try) 2>&5
22224
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22225
(exit $ac_status); }; } &&
22226
{ ac_try='test -s conftest$ac_exeext'
22227
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22228
(eval $ac_try) 2>&5
22230
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22231
(exit $ac_status); }; }; then
22232
kde_cv_func_strlcpy=yes
22233
kde_cv_proto_strlcpy=yes
22235
echo "$as_me: failed program was:" >&5
22236
sed 's/^/| /' conftest.$ac_ext >&5
22238
kde_cv_proto_strlcpy="strlcpy unavailable"
22241
rm -f conftest.err conftest.$ac_objext \
22242
conftest$ac_exeext conftest.$ac_ext
22243
LIBS=$kde_safe_libs
22245
ac_cpp='$CPP $CPPFLAGS'
22246
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22247
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22248
ac_compiler_gnu=$ac_cv_c_compiler_gnu
22254
echo "$as_me:$LINENO: result: $kde_cv_proto_strlcpy" >&5
22255
echo "${ECHO_T}$kde_cv_proto_strlcpy" >&6
22257
if test "x$kde_cv_func_strlcpy" = xyes; then
22259
cat >>confdefs.h <<\_ACEOF
22260
#define HAVE_STRLCPY 1
22265
if test "x$kde_cv_proto_strlcpy" = xno; then
22267
cat >>confdefs.h <<\_ACEOF
22268
#define HAVE_STRLCPY_PROTO 1
22278
echo "$as_me:$LINENO: checking for main in -lutil" >&5
22279
echo $ECHO_N "checking for main in -lutil... $ECHO_C" >&6
22280
if test "${ac_cv_lib_util_main+set}" = set; then
22281
echo $ECHO_N "(cached) $ECHO_C" >&6
22283
ac_check_lib_save_LIBS=$LIBS
22284
LIBS="-lutil $LIBS"
22285
cat >conftest.$ac_ext <<_ACEOF
22288
cat confdefs.h >>conftest.$ac_ext
22289
cat >>conftest.$ac_ext <<_ACEOF
22290
/* end confdefs.h. */
22301
rm -f conftest.$ac_objext conftest$ac_exeext
22302
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22303
(eval $ac_link) 2>conftest.er1
22305
grep -v '^ *+' conftest.er1 >conftest.err
22307
cat conftest.err >&5
22308
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22309
(exit $ac_status); } &&
22310
{ ac_try='test -z "$ac_c_werror_flag"
22311
|| test ! -s conftest.err'
22312
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22313
(eval $ac_try) 2>&5
22315
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22316
(exit $ac_status); }; } &&
22317
{ ac_try='test -s conftest$ac_exeext'
22318
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22319
(eval $ac_try) 2>&5
22321
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22322
(exit $ac_status); }; }; then
22323
ac_cv_lib_util_main=yes
22325
echo "$as_me: failed program was:" >&5
22326
sed 's/^/| /' conftest.$ac_ext >&5
22328
ac_cv_lib_util_main=no
22330
rm -f conftest.err conftest.$ac_objext \
22331
conftest$ac_exeext conftest.$ac_ext
22332
LIBS=$ac_check_lib_save_LIBS
22334
echo "$as_me:$LINENO: result: $ac_cv_lib_util_main" >&5
22335
echo "${ECHO_T}$ac_cv_lib_util_main" >&6
22336
if test $ac_cv_lib_util_main = yes; then
22340
echo "$as_me:$LINENO: checking for main in -lcompat" >&5
22341
echo $ECHO_N "checking for main in -lcompat... $ECHO_C" >&6
22342
if test "${ac_cv_lib_compat_main+set}" = set; then
22343
echo $ECHO_N "(cached) $ECHO_C" >&6
22345
ac_check_lib_save_LIBS=$LIBS
22346
LIBS="-lcompat $LIBS"
22347
cat >conftest.$ac_ext <<_ACEOF
22350
cat confdefs.h >>conftest.$ac_ext
22351
cat >>conftest.$ac_ext <<_ACEOF
22352
/* end confdefs.h. */
22363
rm -f conftest.$ac_objext conftest$ac_exeext
22364
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22365
(eval $ac_link) 2>conftest.er1
22367
grep -v '^ *+' conftest.er1 >conftest.err
22369
cat conftest.err >&5
22370
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22371
(exit $ac_status); } &&
22372
{ ac_try='test -z "$ac_c_werror_flag"
22373
|| test ! -s conftest.err'
22374
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22375
(eval $ac_try) 2>&5
22377
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22378
(exit $ac_status); }; } &&
22379
{ ac_try='test -s conftest$ac_exeext'
22380
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22381
(eval $ac_try) 2>&5
22383
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22384
(exit $ac_status); }; }; then
22385
ac_cv_lib_compat_main=yes
22387
echo "$as_me: failed program was:" >&5
22388
sed 's/^/| /' conftest.$ac_ext >&5
22390
ac_cv_lib_compat_main=no
22392
rm -f conftest.err conftest.$ac_objext \
22393
conftest$ac_exeext conftest.$ac_ext
22394
LIBS=$ac_check_lib_save_LIBS
22396
echo "$as_me:$LINENO: result: $ac_cv_lib_compat_main" >&5
22397
echo "${ECHO_T}$ac_cv_lib_compat_main" >&6
22398
if test $ac_cv_lib_compat_main = yes; then
22399
LIBCOMPAT="-lcompat"
22403
echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5
22404
echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6
22405
if test "${ac_cv_lib_crypt_crypt+set}" = set; then
22406
echo $ECHO_N "(cached) $ECHO_C" >&6
22408
ac_check_lib_save_LIBS=$LIBS
22409
LIBS="-lcrypt $LIBS"
22410
cat >conftest.$ac_ext <<_ACEOF
22413
cat confdefs.h >>conftest.$ac_ext
22414
cat >>conftest.$ac_ext <<_ACEOF
22415
/* end confdefs.h. */
22417
/* Override any gcc2 internal prototype to avoid an error. */
22421
/* We use char because int might match the return type of a gcc2
22422
builtin and then its argument prototype would still apply. */
22432
rm -f conftest.$ac_objext conftest$ac_exeext
22433
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22434
(eval $ac_link) 2>conftest.er1
22436
grep -v '^ *+' conftest.er1 >conftest.err
22438
cat conftest.err >&5
22439
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22440
(exit $ac_status); } &&
22441
{ ac_try='test -z "$ac_c_werror_flag"
22442
|| test ! -s conftest.err'
22443
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22444
(eval $ac_try) 2>&5
22446
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22447
(exit $ac_status); }; } &&
22448
{ ac_try='test -s conftest$ac_exeext'
22449
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22450
(eval $ac_try) 2>&5
22452
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22453
(exit $ac_status); }; }; then
22454
ac_cv_lib_crypt_crypt=yes
22456
echo "$as_me: failed program was:" >&5
22457
sed 's/^/| /' conftest.$ac_ext >&5
22459
ac_cv_lib_crypt_crypt=no
22461
rm -f conftest.err conftest.$ac_objext \
22462
conftest$ac_exeext conftest.$ac_ext
22463
LIBS=$ac_check_lib_save_LIBS
22465
echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5
22466
echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6
22467
if test $ac_cv_lib_crypt_crypt = yes; then
22468
LIBCRYPT="-lcrypt"; kde_have_crypt=yes
22470
echo "$as_me:$LINENO: checking for crypt in -lc" >&5
22471
echo $ECHO_N "checking for crypt in -lc... $ECHO_C" >&6
22472
if test "${ac_cv_lib_c_crypt+set}" = set; then
22473
echo $ECHO_N "(cached) $ECHO_C" >&6
22475
ac_check_lib_save_LIBS=$LIBS
22477
cat >conftest.$ac_ext <<_ACEOF
22480
cat confdefs.h >>conftest.$ac_ext
22481
cat >>conftest.$ac_ext <<_ACEOF
22482
/* end confdefs.h. */
22484
/* Override any gcc2 internal prototype to avoid an error. */
22488
/* We use char because int might match the return type of a gcc2
22489
builtin and then its argument prototype would still apply. */
22499
rm -f conftest.$ac_objext conftest$ac_exeext
22500
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22501
(eval $ac_link) 2>conftest.er1
22503
grep -v '^ *+' conftest.er1 >conftest.err
22505
cat conftest.err >&5
22506
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22507
(exit $ac_status); } &&
22508
{ ac_try='test -z "$ac_c_werror_flag"
22509
|| test ! -s conftest.err'
22510
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22511
(eval $ac_try) 2>&5
22513
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22514
(exit $ac_status); }; } &&
22515
{ ac_try='test -s conftest$ac_exeext'
22516
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22517
(eval $ac_try) 2>&5
22519
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22520
(exit $ac_status); }; }; then
22521
ac_cv_lib_c_crypt=yes
22523
echo "$as_me: failed program was:" >&5
22524
sed 's/^/| /' conftest.$ac_ext >&5
22526
ac_cv_lib_c_crypt=no
22528
rm -f conftest.err conftest.$ac_objext \
22529
conftest$ac_exeext conftest.$ac_ext
22530
LIBS=$ac_check_lib_save_LIBS
22532
echo "$as_me:$LINENO: result: $ac_cv_lib_c_crypt" >&5
22533
echo "${ECHO_T}$ac_cv_lib_c_crypt" >&6
22534
if test $ac_cv_lib_c_crypt = yes; then
22538
{ echo "$as_me:$LINENO: WARNING: you have no crypt in either libcrypt or libc.
22539
You should install libcrypt from another source or configure with PAM
22541
echo "$as_me: WARNING: you have no crypt in either libcrypt or libc.
22542
You should install libcrypt from another source or configure with PAM
22551
if test $kde_have_crypt = yes; then
22553
cat >>confdefs.h <<_ACEOF
22554
#define HAVE_CRYPT 1
22559
echo "$as_me:$LINENO: checking for socklen_t" >&5
22560
echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
22561
if test "${kde_cv_socklen_t+set}" = set; then
22562
echo $ECHO_N "(cached) $ECHO_C" >&6
22566
ac_cpp='$CXXCPP $CPPFLAGS'
22567
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22568
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22569
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22571
kde_cv_socklen_t=no
22572
cat >conftest.$ac_ext <<_ACEOF
22575
cat confdefs.h >>conftest.$ac_ext
22576
cat >>conftest.$ac_ext <<_ACEOF
22577
/* end confdefs.h. */
22579
#include <sys/types.h>
22580
#include <sys/socket.h>
22587
getpeername(0,0,&len);
22593
rm -f conftest.$ac_objext
22594
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22595
(eval $ac_compile) 2>conftest.er1
22597
grep -v '^ *+' conftest.er1 >conftest.err
22599
cat conftest.err >&5
22600
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22601
(exit $ac_status); } &&
22602
{ ac_try='test -z "$ac_cxx_werror_flag"
22603
|| test ! -s conftest.err'
22604
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22605
(eval $ac_try) 2>&5
22607
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22608
(exit $ac_status); }; } &&
22609
{ ac_try='test -s conftest.$ac_objext'
22610
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22611
(eval $ac_try) 2>&5
22613
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22614
(exit $ac_status); }; }; then
22616
kde_cv_socklen_t=yes
22617
kde_cv_socklen_t_equiv=socklen_t
22620
echo "$as_me: failed program was:" >&5
22621
sed 's/^/| /' conftest.$ac_ext >&5
22624
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22626
ac_cpp='$CPP $CPPFLAGS'
22627
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22628
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22629
ac_compiler_gnu=$ac_cv_c_compiler_gnu
22634
echo "$as_me:$LINENO: result: $kde_cv_socklen_t" >&5
22635
echo "${ECHO_T}$kde_cv_socklen_t" >&6
22636
if test $kde_cv_socklen_t = no; then
22637
echo "$as_me:$LINENO: checking for socklen_t equivalent for socket functions" >&5
22638
echo $ECHO_N "checking for socklen_t equivalent for socket functions... $ECHO_C" >&6
22639
if test "${kde_cv_socklen_t_equiv+set}" = set; then
22640
echo $ECHO_N "(cached) $ECHO_C" >&6
22643
kde_cv_socklen_t_equiv=int
22645
ac_cpp='$CXXCPP $CPPFLAGS'
22646
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22647
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22648
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22650
for t in int size_t unsigned long "unsigned long"; do
22651
cat >conftest.$ac_ext <<_ACEOF
22654
cat confdefs.h >>conftest.$ac_ext
22655
cat >>conftest.$ac_ext <<_ACEOF
22656
/* end confdefs.h. */
22658
#include <sys/types.h>
22659
#include <sys/socket.h>
22666
getpeername(0,0,&len);
22672
rm -f conftest.$ac_objext
22673
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22674
(eval $ac_compile) 2>conftest.er1
22676
grep -v '^ *+' conftest.er1 >conftest.err
22678
cat conftest.err >&5
22679
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22680
(exit $ac_status); } &&
22681
{ ac_try='test -z "$ac_cxx_werror_flag"
22682
|| test ! -s conftest.err'
22683
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22684
(eval $ac_try) 2>&5
22686
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22687
(exit $ac_status); }; } &&
22688
{ ac_try='test -s conftest.$ac_objext'
22689
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22690
(eval $ac_try) 2>&5
22692
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22693
(exit $ac_status); }; }; then
22695
kde_cv_socklen_t_equiv="$t"
22699
echo "$as_me: failed program was:" >&5
22700
sed 's/^/| /' conftest.$ac_ext >&5
22703
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22706
ac_cpp='$CPP $CPPFLAGS'
22707
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22708
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22709
ac_compiler_gnu=$ac_cv_c_compiler_gnu
22714
echo "$as_me:$LINENO: result: $kde_cv_socklen_t_equiv" >&5
22715
echo "${ECHO_T}$kde_cv_socklen_t_equiv" >&6
22718
cat >>confdefs.h <<_ACEOF
22719
#define kde_socklen_t $kde_cv_socklen_t_equiv
22723
cat >>confdefs.h <<_ACEOF
22724
#define ksize_t $kde_cv_socklen_t_equiv
22728
echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
22729
echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
22730
if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
22731
echo $ECHO_N "(cached) $ECHO_C" >&6
22733
ac_check_lib_save_LIBS=$LIBS
22734
LIBS="-ldnet $LIBS"
22735
cat >conftest.$ac_ext <<_ACEOF
22738
cat confdefs.h >>conftest.$ac_ext
22739
cat >>conftest.$ac_ext <<_ACEOF
22740
/* end confdefs.h. */
22742
/* Override any gcc2 internal prototype to avoid an error. */
22746
/* We use char because int might match the return type of a gcc2
22747
builtin and then its argument prototype would still apply. */
22757
rm -f conftest.$ac_objext conftest$ac_exeext
22758
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22759
(eval $ac_link) 2>conftest.er1
22761
grep -v '^ *+' conftest.er1 >conftest.err
22763
cat conftest.err >&5
22764
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22765
(exit $ac_status); } &&
22766
{ ac_try='test -z "$ac_c_werror_flag"
22767
|| test ! -s conftest.err'
22768
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22769
(eval $ac_try) 2>&5
22771
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22772
(exit $ac_status); }; } &&
22773
{ ac_try='test -s conftest$ac_exeext'
22774
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22775
(eval $ac_try) 2>&5
22777
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22778
(exit $ac_status); }; }; then
22779
ac_cv_lib_dnet_dnet_ntoa=yes
22781
echo "$as_me: failed program was:" >&5
22782
sed 's/^/| /' conftest.$ac_ext >&5
22784
ac_cv_lib_dnet_dnet_ntoa=no
22786
rm -f conftest.err conftest.$ac_objext \
22787
conftest$ac_exeext conftest.$ac_ext
22788
LIBS=$ac_check_lib_save_LIBS
22790
echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
22791
echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
22792
if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
22793
X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
22796
if test $ac_cv_lib_dnet_dnet_ntoa = no; then
22797
echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
22798
echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
22799
if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
22800
echo $ECHO_N "(cached) $ECHO_C" >&6
22802
ac_check_lib_save_LIBS=$LIBS
22803
LIBS="-ldnet_stub $LIBS"
22804
cat >conftest.$ac_ext <<_ACEOF
22807
cat confdefs.h >>conftest.$ac_ext
22808
cat >>conftest.$ac_ext <<_ACEOF
22809
/* end confdefs.h. */
22811
/* Override any gcc2 internal prototype to avoid an error. */
22815
/* We use char because int might match the return type of a gcc2
22816
builtin and then its argument prototype would still apply. */
22826
rm -f conftest.$ac_objext conftest$ac_exeext
22827
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22828
(eval $ac_link) 2>conftest.er1
22830
grep -v '^ *+' conftest.er1 >conftest.err
22832
cat conftest.err >&5
22833
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22834
(exit $ac_status); } &&
22835
{ ac_try='test -z "$ac_c_werror_flag"
22836
|| test ! -s conftest.err'
22837
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22838
(eval $ac_try) 2>&5
22840
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22841
(exit $ac_status); }; } &&
22842
{ ac_try='test -s conftest$ac_exeext'
22843
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22844
(eval $ac_try) 2>&5
22846
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22847
(exit $ac_status); }; }; then
22848
ac_cv_lib_dnet_stub_dnet_ntoa=yes
22850
echo "$as_me: failed program was:" >&5
22851
sed 's/^/| /' conftest.$ac_ext >&5
22853
ac_cv_lib_dnet_stub_dnet_ntoa=no
22855
rm -f conftest.err conftest.$ac_objext \
22856
conftest$ac_exeext conftest.$ac_ext
22857
LIBS=$ac_check_lib_save_LIBS
22859
echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
22860
echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
22861
if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
22862
X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
22866
echo "$as_me:$LINENO: checking for inet_ntoa" >&5
22867
echo $ECHO_N "checking for inet_ntoa... $ECHO_C" >&6
22868
if test "${ac_cv_func_inet_ntoa+set}" = set; then
22869
echo $ECHO_N "(cached) $ECHO_C" >&6
22871
cat >conftest.$ac_ext <<_ACEOF
22874
cat confdefs.h >>conftest.$ac_ext
22875
cat >>conftest.$ac_ext <<_ACEOF
22876
/* end confdefs.h. */
22877
/* Define inet_ntoa to an innocuous variant, in case <limits.h> declares inet_ntoa.
22878
For example, HP-UX 11i <limits.h> declares gettimeofday. */
22879
#define inet_ntoa innocuous_inet_ntoa
22881
/* System header to define __stub macros and hopefully few prototypes,
22882
which can conflict with char inet_ntoa (); below.
22883
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22884
<limits.h> exists even on freestanding compilers. */
22887
# include <limits.h>
22889
# include <assert.h>
22894
/* Override any gcc2 internal prototype to avoid an error. */
22899
/* We use char because int might match the return type of a gcc2
22900
builtin and then its argument prototype would still apply. */
22902
/* The GNU C library defines this for functions which it implements
22903
to always fail with ENOSYS. Some functions are actually named
22904
something starting with __ and the normal name is an alias. */
22905
#if defined (__stub_inet_ntoa) || defined (__stub___inet_ntoa)
22908
char (*f) () = inet_ntoa;
22917
return f != inet_ntoa;
22922
rm -f conftest.$ac_objext conftest$ac_exeext
22923
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22924
(eval $ac_link) 2>conftest.er1
22926
grep -v '^ *+' conftest.er1 >conftest.err
22928
cat conftest.err >&5
22929
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22930
(exit $ac_status); } &&
22931
{ ac_try='test -z "$ac_c_werror_flag"
22932
|| test ! -s conftest.err'
22933
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22934
(eval $ac_try) 2>&5
22936
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22937
(exit $ac_status); }; } &&
22938
{ ac_try='test -s conftest$ac_exeext'
22939
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22940
(eval $ac_try) 2>&5
22942
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22943
(exit $ac_status); }; }; then
22944
ac_cv_func_inet_ntoa=yes
22946
echo "$as_me: failed program was:" >&5
22947
sed 's/^/| /' conftest.$ac_ext >&5
22949
ac_cv_func_inet_ntoa=no
22951
rm -f conftest.err conftest.$ac_objext \
22952
conftest$ac_exeext conftest.$ac_ext
22954
echo "$as_me:$LINENO: result: $ac_cv_func_inet_ntoa" >&5
22955
echo "${ECHO_T}$ac_cv_func_inet_ntoa" >&6
22957
if test $ac_cv_func_inet_ntoa = no; then
22958
echo "$as_me:$LINENO: checking for inet_ntoa in -lnsl" >&5
22959
echo $ECHO_N "checking for inet_ntoa in -lnsl... $ECHO_C" >&6
22960
if test "${ac_cv_lib_nsl_inet_ntoa+set}" = set; then
22961
echo $ECHO_N "(cached) $ECHO_C" >&6
22963
ac_check_lib_save_LIBS=$LIBS
22965
cat >conftest.$ac_ext <<_ACEOF
22968
cat confdefs.h >>conftest.$ac_ext
22969
cat >>conftest.$ac_ext <<_ACEOF
22970
/* end confdefs.h. */
22972
/* Override any gcc2 internal prototype to avoid an error. */
22976
/* We use char because int might match the return type of a gcc2
22977
builtin and then its argument prototype would still apply. */
22987
rm -f conftest.$ac_objext conftest$ac_exeext
22988
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22989
(eval $ac_link) 2>conftest.er1
22991
grep -v '^ *+' conftest.er1 >conftest.err
22993
cat conftest.err >&5
22994
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22995
(exit $ac_status); } &&
22996
{ ac_try='test -z "$ac_c_werror_flag"
22997
|| test ! -s conftest.err'
22998
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22999
(eval $ac_try) 2>&5
23001
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23002
(exit $ac_status); }; } &&
23003
{ ac_try='test -s conftest$ac_exeext'
23004
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23005
(eval $ac_try) 2>&5
23007
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23008
(exit $ac_status); }; }; then
23009
ac_cv_lib_nsl_inet_ntoa=yes
23011
echo "$as_me: failed program was:" >&5
23012
sed 's/^/| /' conftest.$ac_ext >&5
23014
ac_cv_lib_nsl_inet_ntoa=no
23016
rm -f conftest.err conftest.$ac_objext \
23017
conftest$ac_exeext conftest.$ac_ext
23018
LIBS=$ac_check_lib_save_LIBS
23020
echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_ntoa" >&5
23021
echo "${ECHO_T}$ac_cv_lib_nsl_inet_ntoa" >&6
23022
if test $ac_cv_lib_nsl_inet_ntoa = yes; then
23023
X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
23027
echo "$as_me:$LINENO: checking for connect" >&5
23028
echo $ECHO_N "checking for connect... $ECHO_C" >&6
23029
if test "${ac_cv_func_connect+set}" = set; then
23030
echo $ECHO_N "(cached) $ECHO_C" >&6
23032
cat >conftest.$ac_ext <<_ACEOF
23035
cat confdefs.h >>conftest.$ac_ext
23036
cat >>conftest.$ac_ext <<_ACEOF
23037
/* end confdefs.h. */
23038
/* Define connect to an innocuous variant, in case <limits.h> declares connect.
23039
For example, HP-UX 11i <limits.h> declares gettimeofday. */
23040
#define connect innocuous_connect
23042
/* System header to define __stub macros and hopefully few prototypes,
23043
which can conflict with char connect (); below.
23044
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23045
<limits.h> exists even on freestanding compilers. */
23048
# include <limits.h>
23050
# include <assert.h>
23055
/* Override any gcc2 internal prototype to avoid an error. */
23060
/* We use char because int might match the return type of a gcc2
23061
builtin and then its argument prototype would still apply. */
23063
/* The GNU C library defines this for functions which it implements
23064
to always fail with ENOSYS. Some functions are actually named
23065
something starting with __ and the normal name is an alias. */
23066
#if defined (__stub_connect) || defined (__stub___connect)
23069
char (*f) () = connect;
23078
return f != connect;
23083
rm -f conftest.$ac_objext conftest$ac_exeext
23084
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23085
(eval $ac_link) 2>conftest.er1
23087
grep -v '^ *+' conftest.er1 >conftest.err
23089
cat conftest.err >&5
23090
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23091
(exit $ac_status); } &&
23092
{ ac_try='test -z "$ac_c_werror_flag"
23093
|| test ! -s conftest.err'
23094
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23095
(eval $ac_try) 2>&5
23097
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23098
(exit $ac_status); }; } &&
23099
{ ac_try='test -s conftest$ac_exeext'
23100
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23101
(eval $ac_try) 2>&5
23103
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23104
(exit $ac_status); }; }; then
23105
ac_cv_func_connect=yes
23107
echo "$as_me: failed program was:" >&5
23108
sed 's/^/| /' conftest.$ac_ext >&5
23110
ac_cv_func_connect=no
23112
rm -f conftest.err conftest.$ac_objext \
23113
conftest$ac_exeext conftest.$ac_ext
23115
echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
23116
echo "${ECHO_T}$ac_cv_func_connect" >&6
23118
if test $ac_cv_func_connect = no; then
23119
echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
23120
echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
23121
if test "${ac_cv_lib_socket_connect+set}" = set; then
23122
echo $ECHO_N "(cached) $ECHO_C" >&6
23124
ac_check_lib_save_LIBS=$LIBS
23125
LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
23126
cat >conftest.$ac_ext <<_ACEOF
23129
cat confdefs.h >>conftest.$ac_ext
23130
cat >>conftest.$ac_ext <<_ACEOF
23131
/* end confdefs.h. */
23133
/* Override any gcc2 internal prototype to avoid an error. */
23137
/* We use char because int might match the return type of a gcc2
23138
builtin and then its argument prototype would still apply. */
23148
rm -f conftest.$ac_objext conftest$ac_exeext
23149
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23150
(eval $ac_link) 2>conftest.er1
23152
grep -v '^ *+' conftest.er1 >conftest.err
23154
cat conftest.err >&5
23155
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23156
(exit $ac_status); } &&
23157
{ ac_try='test -z "$ac_c_werror_flag"
23158
|| test ! -s conftest.err'
23159
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23160
(eval $ac_try) 2>&5
23162
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23163
(exit $ac_status); }; } &&
23164
{ ac_try='test -s conftest$ac_exeext'
23165
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23166
(eval $ac_try) 2>&5
23168
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23169
(exit $ac_status); }; }; then
23170
ac_cv_lib_socket_connect=yes
23172
echo "$as_me: failed program was:" >&5
23173
sed 's/^/| /' conftest.$ac_ext >&5
23175
ac_cv_lib_socket_connect=no
23177
rm -f conftest.err conftest.$ac_objext \
23178
conftest$ac_exeext conftest.$ac_ext
23179
LIBS=$ac_check_lib_save_LIBS
23181
echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
23182
echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
23183
if test $ac_cv_lib_socket_connect = yes; then
23184
X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
23189
echo "$as_me:$LINENO: checking for remove" >&5
23190
echo $ECHO_N "checking for remove... $ECHO_C" >&6
23191
if test "${ac_cv_func_remove+set}" = set; then
23192
echo $ECHO_N "(cached) $ECHO_C" >&6
23194
cat >conftest.$ac_ext <<_ACEOF
23197
cat confdefs.h >>conftest.$ac_ext
23198
cat >>conftest.$ac_ext <<_ACEOF
23199
/* end confdefs.h. */
23200
/* Define remove to an innocuous variant, in case <limits.h> declares remove.
23201
For example, HP-UX 11i <limits.h> declares gettimeofday. */
23202
#define remove innocuous_remove
23204
/* System header to define __stub macros and hopefully few prototypes,
23205
which can conflict with char remove (); below.
23206
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23207
<limits.h> exists even on freestanding compilers. */
23210
# include <limits.h>
23212
# include <assert.h>
23217
/* Override any gcc2 internal prototype to avoid an error. */
23222
/* We use char because int might match the return type of a gcc2
23223
builtin and then its argument prototype would still apply. */
23225
/* The GNU C library defines this for functions which it implements
23226
to always fail with ENOSYS. Some functions are actually named
23227
something starting with __ and the normal name is an alias. */
23228
#if defined (__stub_remove) || defined (__stub___remove)
23231
char (*f) () = remove;
23240
return f != remove;
23245
rm -f conftest.$ac_objext conftest$ac_exeext
23246
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23247
(eval $ac_link) 2>conftest.er1
23249
grep -v '^ *+' conftest.er1 >conftest.err
23251
cat conftest.err >&5
23252
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23253
(exit $ac_status); } &&
23254
{ ac_try='test -z "$ac_c_werror_flag"
23255
|| test ! -s conftest.err'
23256
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23257
(eval $ac_try) 2>&5
23259
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23260
(exit $ac_status); }; } &&
23261
{ ac_try='test -s conftest$ac_exeext'
23262
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23263
(eval $ac_try) 2>&5
23265
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23266
(exit $ac_status); }; }; then
23267
ac_cv_func_remove=yes
23269
echo "$as_me: failed program was:" >&5
23270
sed 's/^/| /' conftest.$ac_ext >&5
23272
ac_cv_func_remove=no
23274
rm -f conftest.err conftest.$ac_objext \
23275
conftest$ac_exeext conftest.$ac_ext
23277
echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
23278
echo "${ECHO_T}$ac_cv_func_remove" >&6
23280
if test $ac_cv_func_remove = no; then
23281
echo "$as_me:$LINENO: checking for remove in -lposix" >&5
23282
echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
23283
if test "${ac_cv_lib_posix_remove+set}" = set; then
23284
echo $ECHO_N "(cached) $ECHO_C" >&6
23286
ac_check_lib_save_LIBS=$LIBS
23287
LIBS="-lposix $LIBS"
23288
cat >conftest.$ac_ext <<_ACEOF
23291
cat confdefs.h >>conftest.$ac_ext
23292
cat >>conftest.$ac_ext <<_ACEOF
23293
/* end confdefs.h. */
23295
/* Override any gcc2 internal prototype to avoid an error. */
23299
/* We use char because int might match the return type of a gcc2
23300
builtin and then its argument prototype would still apply. */
23310
rm -f conftest.$ac_objext conftest$ac_exeext
23311
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23312
(eval $ac_link) 2>conftest.er1
23314
grep -v '^ *+' conftest.er1 >conftest.err
23316
cat conftest.err >&5
23317
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23318
(exit $ac_status); } &&
23319
{ ac_try='test -z "$ac_c_werror_flag"
23320
|| test ! -s conftest.err'
23321
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23322
(eval $ac_try) 2>&5
23324
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23325
(exit $ac_status); }; } &&
23326
{ ac_try='test -s conftest$ac_exeext'
23327
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23328
(eval $ac_try) 2>&5
23330
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23331
(exit $ac_status); }; }; then
23332
ac_cv_lib_posix_remove=yes
23334
echo "$as_me: failed program was:" >&5
23335
sed 's/^/| /' conftest.$ac_ext >&5
23337
ac_cv_lib_posix_remove=no
23339
rm -f conftest.err conftest.$ac_objext \
23340
conftest$ac_exeext conftest.$ac_ext
23341
LIBS=$ac_check_lib_save_LIBS
23343
echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
23344
echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
23345
if test $ac_cv_lib_posix_remove = yes; then
23346
X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
23351
# BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
23352
echo "$as_me:$LINENO: checking for shmat" >&5
23353
echo $ECHO_N "checking for shmat... $ECHO_C" >&6
23354
if test "${ac_cv_func_shmat+set}" = set; then
23355
echo $ECHO_N "(cached) $ECHO_C" >&6
23357
cat >conftest.$ac_ext <<_ACEOF
23360
cat confdefs.h >>conftest.$ac_ext
23361
cat >>conftest.$ac_ext <<_ACEOF
23362
/* end confdefs.h. */
23363
/* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
23364
For example, HP-UX 11i <limits.h> declares gettimeofday. */
23365
#define shmat innocuous_shmat
23367
/* System header to define __stub macros and hopefully few prototypes,
23368
which can conflict with char shmat (); below.
23369
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23370
<limits.h> exists even on freestanding compilers. */
23373
# include <limits.h>
23375
# include <assert.h>
23380
/* Override any gcc2 internal prototype to avoid an error. */
23385
/* We use char because int might match the return type of a gcc2
23386
builtin and then its argument prototype would still apply. */
23388
/* The GNU C library defines this for functions which it implements
23389
to always fail with ENOSYS. Some functions are actually named
23390
something starting with __ and the normal name is an alias. */
23391
#if defined (__stub_shmat) || defined (__stub___shmat)
23394
char (*f) () = shmat;
23408
rm -f conftest.$ac_objext conftest$ac_exeext
23409
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23410
(eval $ac_link) 2>conftest.er1
23412
grep -v '^ *+' conftest.er1 >conftest.err
23414
cat conftest.err >&5
23415
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23416
(exit $ac_status); } &&
23417
{ ac_try='test -z "$ac_c_werror_flag"
23418
|| test ! -s conftest.err'
23419
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23420
(eval $ac_try) 2>&5
23422
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23423
(exit $ac_status); }; } &&
23424
{ ac_try='test -s conftest$ac_exeext'
23425
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23426
(eval $ac_try) 2>&5
23428
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23429
(exit $ac_status); }; }; then
23430
ac_cv_func_shmat=yes
23432
echo "$as_me: failed program was:" >&5
23433
sed 's/^/| /' conftest.$ac_ext >&5
23435
ac_cv_func_shmat=no
23437
rm -f conftest.err conftest.$ac_objext \
23438
conftest$ac_exeext conftest.$ac_ext
23440
echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
23441
echo "${ECHO_T}$ac_cv_func_shmat" >&6
23442
if test $ac_cv_func_shmat = yes; then
23445
echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
23446
echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
23447
if test "${ac_cv_lib_ipc_shmat+set}" = set; then
23448
echo $ECHO_N "(cached) $ECHO_C" >&6
23450
ac_check_lib_save_LIBS=$LIBS
23452
cat >conftest.$ac_ext <<_ACEOF
23455
cat confdefs.h >>conftest.$ac_ext
23456
cat >>conftest.$ac_ext <<_ACEOF
23457
/* end confdefs.h. */
23459
/* Override any gcc2 internal prototype to avoid an error. */
23463
/* We use char because int might match the return type of a gcc2
23464
builtin and then its argument prototype would still apply. */
23474
rm -f conftest.$ac_objext conftest$ac_exeext
23475
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23476
(eval $ac_link) 2>conftest.er1
23478
grep -v '^ *+' conftest.er1 >conftest.err
23480
cat conftest.err >&5
23481
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23482
(exit $ac_status); } &&
23483
{ ac_try='test -z "$ac_c_werror_flag"
23484
|| test ! -s conftest.err'
23485
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23486
(eval $ac_try) 2>&5
23488
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23489
(exit $ac_status); }; } &&
23490
{ ac_try='test -s conftest$ac_exeext'
23491
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23492
(eval $ac_try) 2>&5
23494
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23495
(exit $ac_status); }; }; then
23496
ac_cv_lib_ipc_shmat=yes
23498
echo "$as_me: failed program was:" >&5
23499
sed 's/^/| /' conftest.$ac_ext >&5
23501
ac_cv_lib_ipc_shmat=no
23503
rm -f conftest.err conftest.$ac_objext \
23504
conftest$ac_exeext conftest.$ac_ext
23505
LIBS=$ac_check_lib_save_LIBS
23507
echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
23508
echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
23509
if test $ac_cv_lib_ipc_shmat = yes; then
23510
X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
23516
# more headers that need to be explicitly included on darwin
23519
for ac_header in sys/types.h stdint.h
23521
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23522
if eval "test \"\${$as_ac_Header+set}\" = set"; then
23523
echo "$as_me:$LINENO: checking for $ac_header" >&5
23524
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23525
if eval "test \"\${$as_ac_Header+set}\" = set"; then
23526
echo $ECHO_N "(cached) $ECHO_C" >&6
23528
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23529
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23531
# Is the header compilable?
23532
echo "$as_me:$LINENO: checking $ac_header usability" >&5
23533
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
23534
cat >conftest.$ac_ext <<_ACEOF
23537
cat confdefs.h >>conftest.$ac_ext
23538
cat >>conftest.$ac_ext <<_ACEOF
23539
/* end confdefs.h. */
23540
$ac_includes_default
23541
#include <$ac_header>
23543
rm -f conftest.$ac_objext
23544
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23545
(eval $ac_compile) 2>conftest.er1
23547
grep -v '^ *+' conftest.er1 >conftest.err
23549
cat conftest.err >&5
23550
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23551
(exit $ac_status); } &&
23552
{ ac_try='test -z "$ac_c_werror_flag"
23553
|| test ! -s conftest.err'
23554
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23555
(eval $ac_try) 2>&5
23557
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23558
(exit $ac_status); }; } &&
23559
{ ac_try='test -s conftest.$ac_objext'
23560
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23561
(eval $ac_try) 2>&5
23563
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23564
(exit $ac_status); }; }; then
23565
ac_header_compiler=yes
23567
echo "$as_me: failed program was:" >&5
23568
sed 's/^/| /' conftest.$ac_ext >&5
23570
ac_header_compiler=no
23572
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23573
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23574
echo "${ECHO_T}$ac_header_compiler" >&6
23576
# Is the header present?
23577
echo "$as_me:$LINENO: checking $ac_header presence" >&5
23578
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
23579
cat >conftest.$ac_ext <<_ACEOF
23582
cat confdefs.h >>conftest.$ac_ext
23583
cat >>conftest.$ac_ext <<_ACEOF
23584
/* end confdefs.h. */
23585
#include <$ac_header>
23587
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23588
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23590
grep -v '^ *+' conftest.er1 >conftest.err
23592
cat conftest.err >&5
23593
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23594
(exit $ac_status); } >/dev/null; then
23595
if test -s conftest.err; then
23596
ac_cpp_err=$ac_c_preproc_warn_flag
23597
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23604
if test -z "$ac_cpp_err"; then
23605
ac_header_preproc=yes
23607
echo "$as_me: failed program was:" >&5
23608
sed 's/^/| /' conftest.$ac_ext >&5
23610
ac_header_preproc=no
23612
rm -f conftest.err conftest.$ac_ext
23613
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23614
echo "${ECHO_T}$ac_header_preproc" >&6
23616
# So? What about this header?
23617
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23619
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23620
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23621
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23622
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23623
ac_header_preproc=yes
23626
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23627
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23628
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23629
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23630
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23631
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23632
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23633
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23634
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23635
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23636
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23637
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23640
## ------------------------------------------ ##
23641
## Report this to the AC_PACKAGE_NAME lists. ##
23642
## ------------------------------------------ ##
23645
sed "s/^/$as_me: WARNING: /" >&2
23648
echo "$as_me:$LINENO: checking for $ac_header" >&5
23649
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23650
if eval "test \"\${$as_ac_Header+set}\" = set"; then
23651
echo $ECHO_N "(cached) $ECHO_C" >&6
23653
eval "$as_ac_Header=\$ac_header_preproc"
23655
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23656
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23659
if test `eval echo '${'$as_ac_Header'}'` = yes; then
23660
cat >>confdefs.h <<_ACEOF
23661
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23669
# sys/bitypes.h is needed for uint32_t and friends on Tru64
23671
for ac_header in sys/bitypes.h
23673
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23674
if eval "test \"\${$as_ac_Header+set}\" = set"; then
23675
echo "$as_me:$LINENO: checking for $ac_header" >&5
23676
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23677
if eval "test \"\${$as_ac_Header+set}\" = set"; then
23678
echo $ECHO_N "(cached) $ECHO_C" >&6
23680
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23681
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23683
# Is the header compilable?
23684
echo "$as_me:$LINENO: checking $ac_header usability" >&5
23685
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
23686
cat >conftest.$ac_ext <<_ACEOF
23689
cat confdefs.h >>conftest.$ac_ext
23690
cat >>conftest.$ac_ext <<_ACEOF
23691
/* end confdefs.h. */
23692
$ac_includes_default
23693
#include <$ac_header>
23695
rm -f conftest.$ac_objext
23696
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23697
(eval $ac_compile) 2>conftest.er1
23699
grep -v '^ *+' conftest.er1 >conftest.err
23701
cat conftest.err >&5
23702
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23703
(exit $ac_status); } &&
23704
{ ac_try='test -z "$ac_c_werror_flag"
23705
|| test ! -s conftest.err'
23706
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23707
(eval $ac_try) 2>&5
23709
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23710
(exit $ac_status); }; } &&
23711
{ ac_try='test -s conftest.$ac_objext'
23712
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23713
(eval $ac_try) 2>&5
23715
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23716
(exit $ac_status); }; }; then
23717
ac_header_compiler=yes
23719
echo "$as_me: failed program was:" >&5
23720
sed 's/^/| /' conftest.$ac_ext >&5
23722
ac_header_compiler=no
23724
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23725
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23726
echo "${ECHO_T}$ac_header_compiler" >&6
23728
# Is the header present?
23729
echo "$as_me:$LINENO: checking $ac_header presence" >&5
23730
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
23731
cat >conftest.$ac_ext <<_ACEOF
23734
cat confdefs.h >>conftest.$ac_ext
23735
cat >>conftest.$ac_ext <<_ACEOF
23736
/* end confdefs.h. */
23737
#include <$ac_header>
23739
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23740
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23742
grep -v '^ *+' conftest.er1 >conftest.err
23744
cat conftest.err >&5
23745
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23746
(exit $ac_status); } >/dev/null; then
23747
if test -s conftest.err; then
23748
ac_cpp_err=$ac_c_preproc_warn_flag
23749
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23756
if test -z "$ac_cpp_err"; then
23757
ac_header_preproc=yes
23759
echo "$as_me: failed program was:" >&5
23760
sed 's/^/| /' conftest.$ac_ext >&5
23762
ac_header_preproc=no
23764
rm -f conftest.err conftest.$ac_ext
23765
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23766
echo "${ECHO_T}$ac_header_preproc" >&6
23768
# So? What about this header?
23769
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23771
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23772
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23773
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23774
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23775
ac_header_preproc=yes
23778
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23779
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23780
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23781
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23782
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23783
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23784
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23785
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23786
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23787
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23788
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23789
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23792
## ------------------------------------------ ##
23793
## Report this to the AC_PACKAGE_NAME lists. ##
23794
## ------------------------------------------ ##
23797
sed "s/^/$as_me: WARNING: /" >&2
23800
echo "$as_me:$LINENO: checking for $ac_header" >&5
23801
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23802
if eval "test \"\${$as_ac_Header+set}\" = set"; then
23803
echo $ECHO_N "(cached) $ECHO_C" >&6
23805
eval "$as_ac_Header=\$ac_header_preproc"
23807
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23808
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23811
if test `eval echo '${'$as_ac_Header'}'` = yes; then
23812
cat >>confdefs.h <<_ACEOF
23813
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23821
# darwin requires a poll emulation library
23822
echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
23823
echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6
23824
if test "${ac_cv_lib_poll_poll+set}" = set; then
23825
echo $ECHO_N "(cached) $ECHO_C" >&6
23827
ac_check_lib_save_LIBS=$LIBS
23828
LIBS="-lpoll $LIBS"
23829
cat >conftest.$ac_ext <<_ACEOF
23832
cat confdefs.h >>conftest.$ac_ext
23833
cat >>conftest.$ac_ext <<_ACEOF
23834
/* end confdefs.h. */
23836
/* Override any gcc2 internal prototype to avoid an error. */
23840
/* We use char because int might match the return type of a gcc2
23841
builtin and then its argument prototype would still apply. */
23851
rm -f conftest.$ac_objext conftest$ac_exeext
23852
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23853
(eval $ac_link) 2>conftest.er1
23855
grep -v '^ *+' conftest.er1 >conftest.err
23857
cat conftest.err >&5
23858
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23859
(exit $ac_status); } &&
23860
{ ac_try='test -z "$ac_c_werror_flag"
23861
|| test ! -s conftest.err'
23862
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23863
(eval $ac_try) 2>&5
23865
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23866
(exit $ac_status); }; } &&
23867
{ ac_try='test -s conftest$ac_exeext'
23868
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23869
(eval $ac_try) 2>&5
23871
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23872
(exit $ac_status); }; }; then
23873
ac_cv_lib_poll_poll=yes
23875
echo "$as_me: failed program was:" >&5
23876
sed 's/^/| /' conftest.$ac_ext >&5
23878
ac_cv_lib_poll_poll=no
23880
rm -f conftest.err conftest.$ac_objext \
23881
conftest$ac_exeext conftest.$ac_ext
23882
LIBS=$ac_check_lib_save_LIBS
23884
echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
23885
echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6
23886
if test $ac_cv_lib_poll_poll = yes; then
23891
# CoreAudio framework
23892
if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
23893
echo "$as_me:$LINENO: checking for CoreAudio/CoreAudio.h" >&5
23894
echo $ECHO_N "checking for CoreAudio/CoreAudio.h... $ECHO_C" >&6
23895
if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
23896
echo $ECHO_N "(cached) $ECHO_C" >&6
23898
echo "$as_me:$LINENO: result: $ac_cv_header_CoreAudio_CoreAudio_h" >&5
23899
echo "${ECHO_T}$ac_cv_header_CoreAudio_CoreAudio_h" >&6
23901
# Is the header compilable?
23902
echo "$as_me:$LINENO: checking CoreAudio/CoreAudio.h usability" >&5
23903
echo $ECHO_N "checking CoreAudio/CoreAudio.h usability... $ECHO_C" >&6
23904
cat >conftest.$ac_ext <<_ACEOF
23907
cat confdefs.h >>conftest.$ac_ext
23908
cat >>conftest.$ac_ext <<_ACEOF
23909
/* end confdefs.h. */
23910
$ac_includes_default
23911
#include <CoreAudio/CoreAudio.h>
23913
rm -f conftest.$ac_objext
23914
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23915
(eval $ac_compile) 2>conftest.er1
23917
grep -v '^ *+' conftest.er1 >conftest.err
23919
cat conftest.err >&5
23920
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23921
(exit $ac_status); } &&
23922
{ ac_try='test -z "$ac_c_werror_flag"
23923
|| test ! -s conftest.err'
23924
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23925
(eval $ac_try) 2>&5
23927
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23928
(exit $ac_status); }; } &&
23929
{ ac_try='test -s conftest.$ac_objext'
23930
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23931
(eval $ac_try) 2>&5
23933
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23934
(exit $ac_status); }; }; then
23935
ac_header_compiler=yes
23937
echo "$as_me: failed program was:" >&5
23938
sed 's/^/| /' conftest.$ac_ext >&5
23940
ac_header_compiler=no
23942
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23943
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23944
echo "${ECHO_T}$ac_header_compiler" >&6
23946
# Is the header present?
23947
echo "$as_me:$LINENO: checking CoreAudio/CoreAudio.h presence" >&5
23948
echo $ECHO_N "checking CoreAudio/CoreAudio.h presence... $ECHO_C" >&6
23949
cat >conftest.$ac_ext <<_ACEOF
23952
cat confdefs.h >>conftest.$ac_ext
23953
cat >>conftest.$ac_ext <<_ACEOF
23954
/* end confdefs.h. */
23955
#include <CoreAudio/CoreAudio.h>
23957
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23958
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23960
grep -v '^ *+' conftest.er1 >conftest.err
23962
cat conftest.err >&5
23963
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23964
(exit $ac_status); } >/dev/null; then
23965
if test -s conftest.err; then
23966
ac_cpp_err=$ac_c_preproc_warn_flag
23967
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23974
if test -z "$ac_cpp_err"; then
23975
ac_header_preproc=yes
23977
echo "$as_me: failed program was:" >&5
23978
sed 's/^/| /' conftest.$ac_ext >&5
23980
ac_header_preproc=no
23982
rm -f conftest.err conftest.$ac_ext
23983
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23984
echo "${ECHO_T}$ac_header_preproc" >&6
23986
# So? What about this header?
23987
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23989
{ echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: accepted by the compiler, rejected by the preprocessor!" >&5
23990
echo "$as_me: WARNING: CoreAudio/CoreAudio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23991
{ echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: proceeding with the compiler's result" >&5
23992
echo "$as_me: WARNING: CoreAudio/CoreAudio.h: proceeding with the compiler's result" >&2;}
23993
ac_header_preproc=yes
23996
{ echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: present but cannot be compiled" >&5
23997
echo "$as_me: WARNING: CoreAudio/CoreAudio.h: present but cannot be compiled" >&2;}
23998
{ echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: check for missing prerequisite headers?" >&5
23999
echo "$as_me: WARNING: CoreAudio/CoreAudio.h: check for missing prerequisite headers?" >&2;}
24000
{ echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: see the Autoconf documentation" >&5
24001
echo "$as_me: WARNING: CoreAudio/CoreAudio.h: see the Autoconf documentation" >&2;}
24002
{ echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: section \"Present But Cannot Be Compiled\"" >&5
24003
echo "$as_me: WARNING: CoreAudio/CoreAudio.h: section \"Present But Cannot Be Compiled\"" >&2;}
24004
{ echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: proceeding with the preprocessor's result" >&5
24005
echo "$as_me: WARNING: CoreAudio/CoreAudio.h: proceeding with the preprocessor's result" >&2;}
24006
{ echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: in the future, the compiler will take precedence" >&5
24007
echo "$as_me: WARNING: CoreAudio/CoreAudio.h: in the future, the compiler will take precedence" >&2;}
24010
## ------------------------------------------ ##
24011
## Report this to the AC_PACKAGE_NAME lists. ##
24012
## ------------------------------------------ ##
24015
sed "s/^/$as_me: WARNING: /" >&2
24018
echo "$as_me:$LINENO: checking for CoreAudio/CoreAudio.h" >&5
24019
echo $ECHO_N "checking for CoreAudio/CoreAudio.h... $ECHO_C" >&6
24020
if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
24021
echo $ECHO_N "(cached) $ECHO_C" >&6
24023
ac_cv_header_CoreAudio_CoreAudio_h=$ac_header_preproc
24025
echo "$as_me:$LINENO: result: $ac_cv_header_CoreAudio_CoreAudio_h" >&5
24026
echo "${ECHO_T}$ac_cv_header_CoreAudio_CoreAudio_h" >&6
24029
if test $ac_cv_header_CoreAudio_CoreAudio_h = yes; then
24032
cat >>confdefs.h <<\_ACEOF
24033
#define HAVE_COREAUDIO 1
24036
FRAMEWORK_COREAUDIO="-Xlinker -framework -Xlinker CoreAudio"
24043
echo "$as_me:$LINENO: checking if res_init needs -lresolv" >&5
24044
echo $ECHO_N "checking if res_init needs -lresolv... $ECHO_C" >&6
24045
kde_libs_safe="$LIBS"
24046
LIBS="$LIBS $X_EXTRA_LIBS -lresolv"
24047
cat >conftest.$ac_ext <<_ACEOF
24050
cat confdefs.h >>conftest.$ac_ext
24051
cat >>conftest.$ac_ext <<_ACEOF
24052
/* end confdefs.h. */
24054
#include <sys/types.h>
24055
#include <netinet/in.h>
24056
#include <arpa/nameser.h>
24057
#include <resolv.h>
24069
rm -f conftest.$ac_objext conftest$ac_exeext
24070
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24071
(eval $ac_link) 2>conftest.er1
24073
grep -v '^ *+' conftest.er1 >conftest.err
24075
cat conftest.err >&5
24076
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24077
(exit $ac_status); } &&
24078
{ ac_try='test -z "$ac_c_werror_flag"
24079
|| test ! -s conftest.err'
24080
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24081
(eval $ac_try) 2>&5
24083
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24084
(exit $ac_status); }; } &&
24085
{ ac_try='test -s conftest$ac_exeext'
24086
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24087
(eval $ac_try) 2>&5
24089
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24090
(exit $ac_status); }; }; then
24092
LIBRESOLV="-lresolv"
24093
echo "$as_me:$LINENO: result: yes" >&5
24094
echo "${ECHO_T}yes" >&6
24096
cat >>confdefs.h <<\_ACEOF
24097
#define HAVE_RES_INIT 1
24102
echo "$as_me: failed program was:" >&5
24103
sed 's/^/| /' conftest.$ac_ext >&5
24105
echo "$as_me:$LINENO: result: no" >&5
24106
echo "${ECHO_T}no" >&6
24109
rm -f conftest.err conftest.$ac_objext \
24110
conftest$ac_exeext conftest.$ac_ext
24111
LIBS=$kde_libs_safe
24115
echo "$as_me:$LINENO: checking for res_init" >&5
24116
echo $ECHO_N "checking for res_init... $ECHO_C" >&6
24117
if test "${kde_cv_func_res_init+set}" = set; then
24118
echo $ECHO_N "(cached) $ECHO_C" >&6
24124
ac_cpp='$CXXCPP $CPPFLAGS'
24125
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24126
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24127
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24129
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
24132
save_CXXFLAGS="$CXXFLAGS"
24133
kde_safe_LIBS="$LIBS"
24134
LIBS="$LIBS $X_EXTRA_LIBS"
24135
if test "$GXX" = "yes"; then
24136
CXXFLAGS="$CXXFLAGS -pedantic-errors"
24138
cat >conftest.$ac_ext <<_ACEOF
24141
cat confdefs.h >>conftest.$ac_ext
24142
cat >>conftest.$ac_ext <<_ACEOF
24143
/* end confdefs.h. */
24146
#include <sys/types.h>
24147
#include <netinet/in.h>
24148
#include <arpa/nameser.h>
24149
#include <resolv.h>
24162
rm -f conftest.$ac_objext
24163
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24164
(eval $ac_compile) 2>conftest.er1
24166
grep -v '^ *+' conftest.er1 >conftest.err
24168
cat conftest.err >&5
24169
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24170
(exit $ac_status); } &&
24171
{ ac_try='test -z "$ac_cxx_werror_flag"
24172
|| test ! -s conftest.err'
24173
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24174
(eval $ac_try) 2>&5
24176
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24177
(exit $ac_status); }; } &&
24178
{ ac_try='test -s conftest.$ac_objext'
24179
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24180
(eval $ac_try) 2>&5
24182
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24183
(exit $ac_status); }; }; then
24184
kde_cv_func_res_init=yes
24186
echo "$as_me: failed program was:" >&5
24187
sed 's/^/| /' conftest.$ac_ext >&5
24189
kde_cv_func_res_init=no
24191
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24192
CXXFLAGS="$save_CXXFLAGS"
24193
LIBS="$kde_safe_LIBS"
24195
ac_cpp='$CPP $CPPFLAGS'
24196
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24197
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24198
ac_compiler_gnu=$ac_cv_c_compiler_gnu
24204
echo "$as_me:$LINENO: result: $kde_cv_func_res_init" >&5
24205
echo "${ECHO_T}$kde_cv_func_res_init" >&6
24207
echo "$as_me:$LINENO: checking if res_init needs custom prototype" >&5
24208
echo $ECHO_N "checking if res_init needs custom prototype... $ECHO_C" >&6
24209
if test "${kde_cv_proto_res_init+set}" = set; then
24210
echo $ECHO_N "(cached) $ECHO_C" >&6
24213
if test "x$kde_cv_func_res_init" = xyes; then
24214
kde_cv_proto_res_init=no
24217
setenv|unsetenv|usleep|random|srandom|seteuid|mkstemps|mkstemp|revoke|vsnprintf|strlcpy|strlcat)
24218
kde_cv_proto_res_init="yes - in libkdefakes"
24221
kde_cv_proto_res_init=unknown
24226
if test "x$kde_cv_proto_res_init" = xunknown; then
24231
ac_cpp='$CXXCPP $CPPFLAGS'
24232
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24233
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24234
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24236
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
24239
kde_safe_libs=$LIBS
24240
LIBS="$LIBS $X_EXTRA_LIBS"
24241
cat >conftest.$ac_ext <<_ACEOF
24244
cat confdefs.h >>conftest.$ac_ext
24245
cat >>conftest.$ac_ext <<_ACEOF
24246
/* end confdefs.h. */
24249
#include <sys/types.h>
24250
#include <netinet/in.h>
24251
#include <arpa/nameser.h>
24252
#include <resolv.h>
24255
extern "C" int res_init(void);
24267
rm -f conftest.$ac_objext conftest$ac_exeext
24268
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24269
(eval $ac_link) 2>conftest.er1
24271
grep -v '^ *+' conftest.er1 >conftest.err
24273
cat conftest.err >&5
24274
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24275
(exit $ac_status); } &&
24276
{ ac_try='test -z "$ac_cxx_werror_flag"
24277
|| test ! -s conftest.err'
24278
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24279
(eval $ac_try) 2>&5
24281
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24282
(exit $ac_status); }; } &&
24283
{ ac_try='test -s conftest$ac_exeext'
24284
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24285
(eval $ac_try) 2>&5
24287
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24288
(exit $ac_status); }; }; then
24289
kde_cv_func_res_init=yes
24290
kde_cv_proto_res_init=yes
24292
echo "$as_me: failed program was:" >&5
24293
sed 's/^/| /' conftest.$ac_ext >&5
24295
kde_cv_proto_res_init="res_init unavailable"
24298
rm -f conftest.err conftest.$ac_objext \
24299
conftest$ac_exeext conftest.$ac_ext
24300
LIBS=$kde_safe_libs
24302
ac_cpp='$CPP $CPPFLAGS'
24303
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24304
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24305
ac_compiler_gnu=$ac_cv_c_compiler_gnu
24311
echo "$as_me:$LINENO: result: $kde_cv_proto_res_init" >&5
24312
echo "${ECHO_T}$kde_cv_proto_res_init" >&6
24314
if test "x$kde_cv_func_res_init" = xyes; then
24316
cat >>confdefs.h <<\_ACEOF
24317
#define HAVE_RES_INIT 1
24322
if test "x$kde_cv_proto_res_init" = xno; then
24324
cat >>confdefs.h <<\_ACEOF
24325
#define HAVE_RES_INIT_PROTO 1
24336
LIBSOCKET="$X_EXTRA_LIBS"
24339
echo "$as_me:$LINENO: checking for killpg in -lucb" >&5
24340
echo $ECHO_N "checking for killpg in -lucb... $ECHO_C" >&6
24341
if test "${ac_cv_lib_ucb_killpg+set}" = set; then
24342
echo $ECHO_N "(cached) $ECHO_C" >&6
24344
ac_check_lib_save_LIBS=$LIBS
24346
cat >conftest.$ac_ext <<_ACEOF
24349
cat confdefs.h >>conftest.$ac_ext
24350
cat >>conftest.$ac_ext <<_ACEOF
24351
/* end confdefs.h. */
24353
/* Override any gcc2 internal prototype to avoid an error. */
24357
/* We use char because int might match the return type of a gcc2
24358
builtin and then its argument prototype would still apply. */
24368
rm -f conftest.$ac_objext conftest$ac_exeext
24369
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24370
(eval $ac_link) 2>conftest.er1
24372
grep -v '^ *+' conftest.er1 >conftest.err
24374
cat conftest.err >&5
24375
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24376
(exit $ac_status); } &&
24377
{ ac_try='test -z "$ac_c_werror_flag"
24378
|| test ! -s conftest.err'
24379
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24380
(eval $ac_try) 2>&5
24382
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24383
(exit $ac_status); }; } &&
24384
{ ac_try='test -s conftest$ac_exeext'
24385
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24386
(eval $ac_try) 2>&5
24388
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24389
(exit $ac_status); }; }; then
24390
ac_cv_lib_ucb_killpg=yes
24392
echo "$as_me: failed program was:" >&5
24393
sed 's/^/| /' conftest.$ac_ext >&5
24395
ac_cv_lib_ucb_killpg=no
24397
rm -f conftest.err conftest.$ac_objext \
24398
conftest$ac_exeext conftest.$ac_ext
24399
LIBS=$ac_check_lib_save_LIBS
24401
echo "$as_me:$LINENO: result: $ac_cv_lib_ucb_killpg" >&5
24402
echo "${ECHO_T}$ac_cv_lib_ucb_killpg" >&6
24403
if test $ac_cv_lib_ucb_killpg = yes; then
24408
case $host in *-*-lynxos* )
24409
echo "$as_me:$LINENO: checking LynxOS header file wrappers" >&5
24410
echo $ECHO_N "checking LynxOS header file wrappers... $ECHO_C" >&6
24411
CFLAGS="$CFLAGS -D__NO_INCLUDE_WARN__"
24412
echo "$as_me:$LINENO: result: disabled" >&5
24413
echo "${ECHO_T}disabled" >&6
24414
echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
24415
echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
24416
if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
24417
echo $ECHO_N "(cached) $ECHO_C" >&6
24419
ac_check_lib_save_LIBS=$LIBS
24421
cat >conftest.$ac_ext <<_ACEOF
24424
cat confdefs.h >>conftest.$ac_ext
24425
cat >>conftest.$ac_ext <<_ACEOF
24426
/* end confdefs.h. */
24428
/* Override any gcc2 internal prototype to avoid an error. */
24432
/* We use char because int might match the return type of a gcc2
24433
builtin and then its argument prototype would still apply. */
24434
char gethostbyname ();
24443
rm -f conftest.$ac_objext conftest$ac_exeext
24444
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24445
(eval $ac_link) 2>conftest.er1
24447
grep -v '^ *+' conftest.er1 >conftest.err
24449
cat conftest.err >&5
24450
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24451
(exit $ac_status); } &&
24452
{ ac_try='test -z "$ac_c_werror_flag"
24453
|| test ! -s conftest.err'
24454
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24455
(eval $ac_try) 2>&5
24457
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24458
(exit $ac_status); }; } &&
24459
{ ac_try='test -s conftest$ac_exeext'
24460
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24461
(eval $ac_try) 2>&5
24463
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24464
(exit $ac_status); }; }; then
24465
ac_cv_lib_bsd_gethostbyname=yes
24467
echo "$as_me: failed program was:" >&5
24468
sed 's/^/| /' conftest.$ac_ext >&5
24470
ac_cv_lib_bsd_gethostbyname=no
24472
rm -f conftest.err conftest.$ac_objext \
24473
conftest$ac_exeext conftest.$ac_ext
24474
LIBS=$ac_check_lib_save_LIBS
24476
echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
24477
echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
24478
if test $ac_cv_lib_bsd_gethostbyname = yes; then
24484
echo "$as_me:$LINENO: checking for int" >&5
24485
echo $ECHO_N "checking for int... $ECHO_C" >&6
24486
if test "${ac_cv_type_int+set}" = set; then
24487
echo $ECHO_N "(cached) $ECHO_C" >&6
24489
cat >conftest.$ac_ext <<_ACEOF
24492
cat confdefs.h >>conftest.$ac_ext
24493
cat >>conftest.$ac_ext <<_ACEOF
24494
/* end confdefs.h. */
24495
$ac_includes_default
24507
rm -f conftest.$ac_objext
24508
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24509
(eval $ac_compile) 2>conftest.er1
24511
grep -v '^ *+' conftest.er1 >conftest.err
24513
cat conftest.err >&5
24514
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24515
(exit $ac_status); } &&
24516
{ ac_try='test -z "$ac_c_werror_flag"
24517
|| test ! -s conftest.err'
24518
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24519
(eval $ac_try) 2>&5
24521
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24522
(exit $ac_status); }; } &&
24523
{ ac_try='test -s conftest.$ac_objext'
24524
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24525
(eval $ac_try) 2>&5
24527
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24528
(exit $ac_status); }; }; then
24531
echo "$as_me: failed program was:" >&5
24532
sed 's/^/| /' conftest.$ac_ext >&5
24536
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24538
echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
24539
echo "${ECHO_T}$ac_cv_type_int" >&6
24541
echo "$as_me:$LINENO: checking size of int" >&5
24542
echo $ECHO_N "checking size of int... $ECHO_C" >&6
24543
if test "${ac_cv_sizeof_int+set}" = set; then
24544
echo $ECHO_N "(cached) $ECHO_C" >&6
24546
if test "$ac_cv_type_int" = yes; then
24547
# The cast to unsigned long works around a bug in the HP C Compiler
24548
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24549
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24550
# This bug is HP SR number 8606223364.
24551
if test "$cross_compiling" = yes; then
24552
# Depending upon the size, compute the lo and hi bounds.
24553
cat >conftest.$ac_ext <<_ACEOF
24556
cat confdefs.h >>conftest.$ac_ext
24557
cat >>conftest.$ac_ext <<_ACEOF
24558
/* end confdefs.h. */
24559
$ac_includes_default
24563
static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
24570
rm -f conftest.$ac_objext
24571
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24572
(eval $ac_compile) 2>conftest.er1
24574
grep -v '^ *+' conftest.er1 >conftest.err
24576
cat conftest.err >&5
24577
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24578
(exit $ac_status); } &&
24579
{ ac_try='test -z "$ac_c_werror_flag"
24580
|| test ! -s conftest.err'
24581
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24582
(eval $ac_try) 2>&5
24584
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24585
(exit $ac_status); }; } &&
24586
{ ac_try='test -s conftest.$ac_objext'
24587
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24588
(eval $ac_try) 2>&5
24590
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24591
(exit $ac_status); }; }; then
24594
cat >conftest.$ac_ext <<_ACEOF
24597
cat confdefs.h >>conftest.$ac_ext
24598
cat >>conftest.$ac_ext <<_ACEOF
24599
/* end confdefs.h. */
24600
$ac_includes_default
24604
static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
24611
rm -f conftest.$ac_objext
24612
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24613
(eval $ac_compile) 2>conftest.er1
24615
grep -v '^ *+' conftest.er1 >conftest.err
24617
cat conftest.err >&5
24618
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24619
(exit $ac_status); } &&
24620
{ ac_try='test -z "$ac_c_werror_flag"
24621
|| test ! -s conftest.err'
24622
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24623
(eval $ac_try) 2>&5
24625
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24626
(exit $ac_status); }; } &&
24627
{ ac_try='test -s conftest.$ac_objext'
24628
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24629
(eval $ac_try) 2>&5
24631
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24632
(exit $ac_status); }; }; then
24633
ac_hi=$ac_mid; break
24635
echo "$as_me: failed program was:" >&5
24636
sed 's/^/| /' conftest.$ac_ext >&5
24638
ac_lo=`expr $ac_mid + 1`
24639
if test $ac_lo -le $ac_mid; then
24643
ac_mid=`expr 2 '*' $ac_mid + 1`
24645
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24648
echo "$as_me: failed program was:" >&5
24649
sed 's/^/| /' conftest.$ac_ext >&5
24651
cat >conftest.$ac_ext <<_ACEOF
24654
cat confdefs.h >>conftest.$ac_ext
24655
cat >>conftest.$ac_ext <<_ACEOF
24656
/* end confdefs.h. */
24657
$ac_includes_default
24661
static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
24668
rm -f conftest.$ac_objext
24669
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24670
(eval $ac_compile) 2>conftest.er1
24672
grep -v '^ *+' conftest.er1 >conftest.err
24674
cat conftest.err >&5
24675
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24676
(exit $ac_status); } &&
24677
{ ac_try='test -z "$ac_c_werror_flag"
24678
|| test ! -s conftest.err'
24679
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24680
(eval $ac_try) 2>&5
24682
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24683
(exit $ac_status); }; } &&
24684
{ ac_try='test -s conftest.$ac_objext'
24685
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24686
(eval $ac_try) 2>&5
24688
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24689
(exit $ac_status); }; }; then
24692
cat >conftest.$ac_ext <<_ACEOF
24695
cat confdefs.h >>conftest.$ac_ext
24696
cat >>conftest.$ac_ext <<_ACEOF
24697
/* end confdefs.h. */
24698
$ac_includes_default
24702
static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
24709
rm -f conftest.$ac_objext
24710
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24711
(eval $ac_compile) 2>conftest.er1
24713
grep -v '^ *+' conftest.er1 >conftest.err
24715
cat conftest.err >&5
24716
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24717
(exit $ac_status); } &&
24718
{ ac_try='test -z "$ac_c_werror_flag"
24719
|| test ! -s conftest.err'
24720
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24721
(eval $ac_try) 2>&5
24723
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24724
(exit $ac_status); }; } &&
24725
{ ac_try='test -s conftest.$ac_objext'
24726
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24727
(eval $ac_try) 2>&5
24729
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24730
(exit $ac_status); }; }; then
24731
ac_lo=$ac_mid; break
24733
echo "$as_me: failed program was:" >&5
24734
sed 's/^/| /' conftest.$ac_ext >&5
24736
ac_hi=`expr '(' $ac_mid ')' - 1`
24737
if test $ac_mid -le $ac_hi; then
24741
ac_mid=`expr 2 '*' $ac_mid`
24743
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24746
echo "$as_me: failed program was:" >&5
24747
sed 's/^/| /' conftest.$ac_ext >&5
24751
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24753
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24754
# Binary search between lo and hi bounds.
24755
while test "x$ac_lo" != "x$ac_hi"; do
24756
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24757
cat >conftest.$ac_ext <<_ACEOF
24760
cat confdefs.h >>conftest.$ac_ext
24761
cat >>conftest.$ac_ext <<_ACEOF
24762
/* end confdefs.h. */
24763
$ac_includes_default
24767
static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
24774
rm -f conftest.$ac_objext
24775
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24776
(eval $ac_compile) 2>conftest.er1
24778
grep -v '^ *+' conftest.er1 >conftest.err
24780
cat conftest.err >&5
24781
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24782
(exit $ac_status); } &&
24783
{ ac_try='test -z "$ac_c_werror_flag"
24784
|| test ! -s conftest.err'
24785
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24786
(eval $ac_try) 2>&5
24788
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24789
(exit $ac_status); }; } &&
24790
{ ac_try='test -s conftest.$ac_objext'
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); }; }; then
24798
echo "$as_me: failed program was:" >&5
24799
sed 's/^/| /' conftest.$ac_ext >&5
24801
ac_lo=`expr '(' $ac_mid ')' + 1`
24803
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24806
?*) ac_cv_sizeof_int=$ac_lo;;
24807
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
24808
See \`config.log' for more details." >&5
24809
echo "$as_me: error: cannot compute sizeof (int), 77
24810
See \`config.log' for more details." >&2;}
24811
{ (exit 1); exit 1; }; } ;;
24814
if test "$cross_compiling" = yes; then
24815
{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
24816
See \`config.log' for more details." >&5
24817
echo "$as_me: error: cannot run test program while cross compiling
24818
See \`config.log' for more details." >&2;}
24819
{ (exit 1); exit 1; }; }
24821
cat >conftest.$ac_ext <<_ACEOF
24824
cat confdefs.h >>conftest.$ac_ext
24825
cat >>conftest.$ac_ext <<_ACEOF
24826
/* end confdefs.h. */
24827
$ac_includes_default
24828
long longval () { return (long) (sizeof (int)); }
24829
unsigned long ulongval () { return (long) (sizeof (int)); }
24831
#include <stdlib.h>
24836
FILE *f = fopen ("conftest.val", "w");
24839
if (((long) (sizeof (int))) < 0)
24841
long i = longval ();
24842
if (i != ((long) (sizeof (int))))
24844
fprintf (f, "%ld\n", i);
24848
unsigned long i = ulongval ();
24849
if (i != ((long) (sizeof (int))))
24851
fprintf (f, "%lu\n", i);
24853
exit (ferror (f) || fclose (f) != 0);
24859
rm -f conftest$ac_exeext
24860
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24861
(eval $ac_link) 2>&5
24863
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24864
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24865
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24866
(eval $ac_try) 2>&5
24868
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24869
(exit $ac_status); }; }; then
24870
ac_cv_sizeof_int=`cat conftest.val`
24872
echo "$as_me: program exited with status $ac_status" >&5
24873
echo "$as_me: failed program was:" >&5
24874
sed 's/^/| /' conftest.$ac_ext >&5
24876
( exit $ac_status )
24877
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
24878
See \`config.log' for more details." >&5
24879
echo "$as_me: error: cannot compute sizeof (int), 77
24880
See \`config.log' for more details." >&2;}
24881
{ (exit 1); exit 1; }; }
24883
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24891
echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
24892
echo "${ECHO_T}$ac_cv_sizeof_int" >&6
24893
cat >>confdefs.h <<_ACEOF
24894
#define SIZEOF_INT $ac_cv_sizeof_int
24897
echo "$as_me:$LINENO: checking for short" >&5
24898
echo $ECHO_N "checking for short... $ECHO_C" >&6
24899
if test "${ac_cv_type_short+set}" = set; then
24900
echo $ECHO_N "(cached) $ECHO_C" >&6
24902
cat >conftest.$ac_ext <<_ACEOF
24905
cat confdefs.h >>conftest.$ac_ext
24906
cat >>conftest.$ac_ext <<_ACEOF
24907
/* end confdefs.h. */
24908
$ac_includes_default
24914
if (sizeof (short))
24920
rm -f conftest.$ac_objext
24921
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24922
(eval $ac_compile) 2>conftest.er1
24924
grep -v '^ *+' conftest.er1 >conftest.err
24926
cat conftest.err >&5
24927
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24928
(exit $ac_status); } &&
24929
{ ac_try='test -z "$ac_c_werror_flag"
24930
|| test ! -s conftest.err'
24931
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24932
(eval $ac_try) 2>&5
24934
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24935
(exit $ac_status); }; } &&
24936
{ ac_try='test -s conftest.$ac_objext'
24937
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24938
(eval $ac_try) 2>&5
24940
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24941
(exit $ac_status); }; }; then
24942
ac_cv_type_short=yes
24944
echo "$as_me: failed program was:" >&5
24945
sed 's/^/| /' conftest.$ac_ext >&5
24947
ac_cv_type_short=no
24949
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24951
echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
24952
echo "${ECHO_T}$ac_cv_type_short" >&6
24954
echo "$as_me:$LINENO: checking size of short" >&5
24955
echo $ECHO_N "checking size of short... $ECHO_C" >&6
24956
if test "${ac_cv_sizeof_short+set}" = set; then
24957
echo $ECHO_N "(cached) $ECHO_C" >&6
24959
if test "$ac_cv_type_short" = yes; then
24960
# The cast to unsigned long works around a bug in the HP C Compiler
24961
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24962
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24963
# This bug is HP SR number 8606223364.
24964
if test "$cross_compiling" = yes; then
24965
# Depending upon the size, compute the lo and hi bounds.
24966
cat >conftest.$ac_ext <<_ACEOF
24969
cat confdefs.h >>conftest.$ac_ext
24970
cat >>conftest.$ac_ext <<_ACEOF
24971
/* end confdefs.h. */
24972
$ac_includes_default
24976
static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
24983
rm -f conftest.$ac_objext
24984
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24985
(eval $ac_compile) 2>conftest.er1
24987
grep -v '^ *+' conftest.er1 >conftest.err
24989
cat conftest.err >&5
24990
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24991
(exit $ac_status); } &&
24992
{ ac_try='test -z "$ac_c_werror_flag"
24993
|| test ! -s conftest.err'
24994
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24995
(eval $ac_try) 2>&5
24997
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24998
(exit $ac_status); }; } &&
24999
{ ac_try='test -s conftest.$ac_objext'
25000
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25001
(eval $ac_try) 2>&5
25003
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25004
(exit $ac_status); }; }; then
25007
cat >conftest.$ac_ext <<_ACEOF
25010
cat confdefs.h >>conftest.$ac_ext
25011
cat >>conftest.$ac_ext <<_ACEOF
25012
/* end confdefs.h. */
25013
$ac_includes_default
25017
static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
25024
rm -f conftest.$ac_objext
25025
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25026
(eval $ac_compile) 2>conftest.er1
25028
grep -v '^ *+' conftest.er1 >conftest.err
25030
cat conftest.err >&5
25031
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25032
(exit $ac_status); } &&
25033
{ ac_try='test -z "$ac_c_werror_flag"
25034
|| test ! -s conftest.err'
25035
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25036
(eval $ac_try) 2>&5
25038
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25039
(exit $ac_status); }; } &&
25040
{ ac_try='test -s conftest.$ac_objext'
25041
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25042
(eval $ac_try) 2>&5
25044
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25045
(exit $ac_status); }; }; then
25046
ac_hi=$ac_mid; break
25048
echo "$as_me: failed program was:" >&5
25049
sed 's/^/| /' conftest.$ac_ext >&5
25051
ac_lo=`expr $ac_mid + 1`
25052
if test $ac_lo -le $ac_mid; then
25056
ac_mid=`expr 2 '*' $ac_mid + 1`
25058
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25061
echo "$as_me: failed program was:" >&5
25062
sed 's/^/| /' conftest.$ac_ext >&5
25064
cat >conftest.$ac_ext <<_ACEOF
25067
cat confdefs.h >>conftest.$ac_ext
25068
cat >>conftest.$ac_ext <<_ACEOF
25069
/* end confdefs.h. */
25070
$ac_includes_default
25074
static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
25081
rm -f conftest.$ac_objext
25082
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25083
(eval $ac_compile) 2>conftest.er1
25085
grep -v '^ *+' conftest.er1 >conftest.err
25087
cat conftest.err >&5
25088
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25089
(exit $ac_status); } &&
25090
{ ac_try='test -z "$ac_c_werror_flag"
25091
|| test ! -s conftest.err'
25092
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25093
(eval $ac_try) 2>&5
25095
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25096
(exit $ac_status); }; } &&
25097
{ ac_try='test -s conftest.$ac_objext'
25098
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25099
(eval $ac_try) 2>&5
25101
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25102
(exit $ac_status); }; }; then
25105
cat >conftest.$ac_ext <<_ACEOF
25108
cat confdefs.h >>conftest.$ac_ext
25109
cat >>conftest.$ac_ext <<_ACEOF
25110
/* end confdefs.h. */
25111
$ac_includes_default
25115
static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
25122
rm -f conftest.$ac_objext
25123
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25124
(eval $ac_compile) 2>conftest.er1
25126
grep -v '^ *+' conftest.er1 >conftest.err
25128
cat conftest.err >&5
25129
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25130
(exit $ac_status); } &&
25131
{ ac_try='test -z "$ac_c_werror_flag"
25132
|| test ! -s conftest.err'
25133
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25134
(eval $ac_try) 2>&5
25136
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25137
(exit $ac_status); }; } &&
25138
{ ac_try='test -s conftest.$ac_objext'
25139
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25140
(eval $ac_try) 2>&5
25142
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25143
(exit $ac_status); }; }; then
25144
ac_lo=$ac_mid; break
25146
echo "$as_me: failed program was:" >&5
25147
sed 's/^/| /' conftest.$ac_ext >&5
25149
ac_hi=`expr '(' $ac_mid ')' - 1`
25150
if test $ac_mid -le $ac_hi; then
25154
ac_mid=`expr 2 '*' $ac_mid`
25156
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25159
echo "$as_me: failed program was:" >&5
25160
sed 's/^/| /' conftest.$ac_ext >&5
25164
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25166
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25167
# Binary search between lo and hi bounds.
25168
while test "x$ac_lo" != "x$ac_hi"; do
25169
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25170
cat >conftest.$ac_ext <<_ACEOF
25173
cat confdefs.h >>conftest.$ac_ext
25174
cat >>conftest.$ac_ext <<_ACEOF
25175
/* end confdefs.h. */
25176
$ac_includes_default
25180
static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
25187
rm -f conftest.$ac_objext
25188
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25189
(eval $ac_compile) 2>conftest.er1
25191
grep -v '^ *+' conftest.er1 >conftest.err
25193
cat conftest.err >&5
25194
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25195
(exit $ac_status); } &&
25196
{ ac_try='test -z "$ac_c_werror_flag"
25197
|| test ! -s conftest.err'
25198
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25199
(eval $ac_try) 2>&5
25201
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25202
(exit $ac_status); }; } &&
25203
{ ac_try='test -s conftest.$ac_objext'
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); }; }; then
25211
echo "$as_me: failed program was:" >&5
25212
sed 's/^/| /' conftest.$ac_ext >&5
25214
ac_lo=`expr '(' $ac_mid ')' + 1`
25216
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25219
?*) ac_cv_sizeof_short=$ac_lo;;
25220
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
25221
See \`config.log' for more details." >&5
25222
echo "$as_me: error: cannot compute sizeof (short), 77
25223
See \`config.log' for more details." >&2;}
25224
{ (exit 1); exit 1; }; } ;;
25227
if test "$cross_compiling" = yes; then
25228
{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
25229
See \`config.log' for more details." >&5
25230
echo "$as_me: error: cannot run test program while cross compiling
25231
See \`config.log' for more details." >&2;}
25232
{ (exit 1); exit 1; }; }
25234
cat >conftest.$ac_ext <<_ACEOF
25237
cat confdefs.h >>conftest.$ac_ext
25238
cat >>conftest.$ac_ext <<_ACEOF
25239
/* end confdefs.h. */
25240
$ac_includes_default
25241
long longval () { return (long) (sizeof (short)); }
25242
unsigned long ulongval () { return (long) (sizeof (short)); }
25244
#include <stdlib.h>
25249
FILE *f = fopen ("conftest.val", "w");
25252
if (((long) (sizeof (short))) < 0)
25254
long i = longval ();
25255
if (i != ((long) (sizeof (short))))
25257
fprintf (f, "%ld\n", i);
25261
unsigned long i = ulongval ();
25262
if (i != ((long) (sizeof (short))))
25264
fprintf (f, "%lu\n", i);
25266
exit (ferror (f) || fclose (f) != 0);
25272
rm -f conftest$ac_exeext
25273
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25274
(eval $ac_link) 2>&5
25276
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25277
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25278
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25279
(eval $ac_try) 2>&5
25281
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25282
(exit $ac_status); }; }; then
25283
ac_cv_sizeof_short=`cat conftest.val`
25285
echo "$as_me: program exited with status $ac_status" >&5
25286
echo "$as_me: failed program was:" >&5
25287
sed 's/^/| /' conftest.$ac_ext >&5
25289
( exit $ac_status )
25290
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
25291
See \`config.log' for more details." >&5
25292
echo "$as_me: error: cannot compute sizeof (short), 77
25293
See \`config.log' for more details." >&2;}
25294
{ (exit 1); exit 1; }; }
25296
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25301
ac_cv_sizeof_short=0
25304
echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
25305
echo "${ECHO_T}$ac_cv_sizeof_short" >&6
25306
cat >>confdefs.h <<_ACEOF
25307
#define SIZEOF_SHORT $ac_cv_sizeof_short
25310
echo "$as_me:$LINENO: checking for long" >&5
25311
echo $ECHO_N "checking for long... $ECHO_C" >&6
25312
if test "${ac_cv_type_long+set}" = set; then
25313
echo $ECHO_N "(cached) $ECHO_C" >&6
25315
cat >conftest.$ac_ext <<_ACEOF
25318
cat confdefs.h >>conftest.$ac_ext
25319
cat >>conftest.$ac_ext <<_ACEOF
25320
/* end confdefs.h. */
25321
$ac_includes_default
25333
rm -f conftest.$ac_objext
25334
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25335
(eval $ac_compile) 2>conftest.er1
25337
grep -v '^ *+' conftest.er1 >conftest.err
25339
cat conftest.err >&5
25340
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25341
(exit $ac_status); } &&
25342
{ ac_try='test -z "$ac_c_werror_flag"
25343
|| test ! -s conftest.err'
25344
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25345
(eval $ac_try) 2>&5
25347
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25348
(exit $ac_status); }; } &&
25349
{ ac_try='test -s conftest.$ac_objext'
25350
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25351
(eval $ac_try) 2>&5
25353
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25354
(exit $ac_status); }; }; then
25355
ac_cv_type_long=yes
25357
echo "$as_me: failed program was:" >&5
25358
sed 's/^/| /' conftest.$ac_ext >&5
25362
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25364
echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
25365
echo "${ECHO_T}$ac_cv_type_long" >&6
25367
echo "$as_me:$LINENO: checking size of long" >&5
25368
echo $ECHO_N "checking size of long... $ECHO_C" >&6
25369
if test "${ac_cv_sizeof_long+set}" = set; then
25370
echo $ECHO_N "(cached) $ECHO_C" >&6
25372
if test "$ac_cv_type_long" = yes; then
25373
# The cast to unsigned long works around a bug in the HP C Compiler
25374
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25375
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25376
# This bug is HP SR number 8606223364.
25377
if test "$cross_compiling" = yes; then
25378
# Depending upon the size, compute the lo and hi bounds.
25379
cat >conftest.$ac_ext <<_ACEOF
25382
cat confdefs.h >>conftest.$ac_ext
25383
cat >>conftest.$ac_ext <<_ACEOF
25384
/* end confdefs.h. */
25385
$ac_includes_default
25389
static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
25396
rm -f conftest.$ac_objext
25397
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25398
(eval $ac_compile) 2>conftest.er1
25400
grep -v '^ *+' conftest.er1 >conftest.err
25402
cat conftest.err >&5
25403
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25404
(exit $ac_status); } &&
25405
{ ac_try='test -z "$ac_c_werror_flag"
25406
|| test ! -s conftest.err'
25407
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25408
(eval $ac_try) 2>&5
25410
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25411
(exit $ac_status); }; } &&
25412
{ ac_try='test -s conftest.$ac_objext'
25413
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25414
(eval $ac_try) 2>&5
25416
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25417
(exit $ac_status); }; }; then
25420
cat >conftest.$ac_ext <<_ACEOF
25423
cat confdefs.h >>conftest.$ac_ext
25424
cat >>conftest.$ac_ext <<_ACEOF
25425
/* end confdefs.h. */
25426
$ac_includes_default
25430
static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
25437
rm -f conftest.$ac_objext
25438
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25439
(eval $ac_compile) 2>conftest.er1
25441
grep -v '^ *+' conftest.er1 >conftest.err
25443
cat conftest.err >&5
25444
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25445
(exit $ac_status); } &&
25446
{ ac_try='test -z "$ac_c_werror_flag"
25447
|| test ! -s conftest.err'
25448
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25449
(eval $ac_try) 2>&5
25451
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25452
(exit $ac_status); }; } &&
25453
{ ac_try='test -s conftest.$ac_objext'
25454
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25455
(eval $ac_try) 2>&5
25457
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25458
(exit $ac_status); }; }; then
25459
ac_hi=$ac_mid; break
25461
echo "$as_me: failed program was:" >&5
25462
sed 's/^/| /' conftest.$ac_ext >&5
25464
ac_lo=`expr $ac_mid + 1`
25465
if test $ac_lo -le $ac_mid; then
25469
ac_mid=`expr 2 '*' $ac_mid + 1`
25471
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25474
echo "$as_me: failed program was:" >&5
25475
sed 's/^/| /' conftest.$ac_ext >&5
25477
cat >conftest.$ac_ext <<_ACEOF
25480
cat confdefs.h >>conftest.$ac_ext
25481
cat >>conftest.$ac_ext <<_ACEOF
25482
/* end confdefs.h. */
25483
$ac_includes_default
25487
static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
25494
rm -f conftest.$ac_objext
25495
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25496
(eval $ac_compile) 2>conftest.er1
25498
grep -v '^ *+' conftest.er1 >conftest.err
25500
cat conftest.err >&5
25501
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25502
(exit $ac_status); } &&
25503
{ ac_try='test -z "$ac_c_werror_flag"
25504
|| test ! -s conftest.err'
25505
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25506
(eval $ac_try) 2>&5
25508
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25509
(exit $ac_status); }; } &&
25510
{ ac_try='test -s conftest.$ac_objext'
25511
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25512
(eval $ac_try) 2>&5
25514
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25515
(exit $ac_status); }; }; then
25518
cat >conftest.$ac_ext <<_ACEOF
25521
cat confdefs.h >>conftest.$ac_ext
25522
cat >>conftest.$ac_ext <<_ACEOF
25523
/* end confdefs.h. */
25524
$ac_includes_default
25528
static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
25535
rm -f conftest.$ac_objext
25536
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25537
(eval $ac_compile) 2>conftest.er1
25539
grep -v '^ *+' conftest.er1 >conftest.err
25541
cat conftest.err >&5
25542
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25543
(exit $ac_status); } &&
25544
{ ac_try='test -z "$ac_c_werror_flag"
25545
|| test ! -s conftest.err'
25546
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25547
(eval $ac_try) 2>&5
25549
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25550
(exit $ac_status); }; } &&
25551
{ ac_try='test -s conftest.$ac_objext'
25552
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25553
(eval $ac_try) 2>&5
25555
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25556
(exit $ac_status); }; }; then
25557
ac_lo=$ac_mid; break
25559
echo "$as_me: failed program was:" >&5
25560
sed 's/^/| /' conftest.$ac_ext >&5
25562
ac_hi=`expr '(' $ac_mid ')' - 1`
25563
if test $ac_mid -le $ac_hi; then
25567
ac_mid=`expr 2 '*' $ac_mid`
25569
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25572
echo "$as_me: failed program was:" >&5
25573
sed 's/^/| /' conftest.$ac_ext >&5
25577
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25579
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25580
# Binary search between lo and hi bounds.
25581
while test "x$ac_lo" != "x$ac_hi"; do
25582
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25583
cat >conftest.$ac_ext <<_ACEOF
25586
cat confdefs.h >>conftest.$ac_ext
25587
cat >>conftest.$ac_ext <<_ACEOF
25588
/* end confdefs.h. */
25589
$ac_includes_default
25593
static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
25600
rm -f conftest.$ac_objext
25601
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25602
(eval $ac_compile) 2>conftest.er1
25604
grep -v '^ *+' conftest.er1 >conftest.err
25606
cat conftest.err >&5
25607
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25608
(exit $ac_status); } &&
25609
{ ac_try='test -z "$ac_c_werror_flag"
25610
|| test ! -s conftest.err'
25611
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25612
(eval $ac_try) 2>&5
25614
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25615
(exit $ac_status); }; } &&
25616
{ ac_try='test -s conftest.$ac_objext'
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); }; }; then
25624
echo "$as_me: failed program was:" >&5
25625
sed 's/^/| /' conftest.$ac_ext >&5
25627
ac_lo=`expr '(' $ac_mid ')' + 1`
25629
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25632
?*) ac_cv_sizeof_long=$ac_lo;;
25633
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
25634
See \`config.log' for more details." >&5
25635
echo "$as_me: error: cannot compute sizeof (long), 77
25636
See \`config.log' for more details." >&2;}
25637
{ (exit 1); exit 1; }; } ;;
25640
if test "$cross_compiling" = yes; then
25641
{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
25642
See \`config.log' for more details." >&5
25643
echo "$as_me: error: cannot run test program while cross compiling
25644
See \`config.log' for more details." >&2;}
25645
{ (exit 1); exit 1; }; }
25647
cat >conftest.$ac_ext <<_ACEOF
25650
cat confdefs.h >>conftest.$ac_ext
25651
cat >>conftest.$ac_ext <<_ACEOF
25652
/* end confdefs.h. */
25653
$ac_includes_default
25654
long longval () { return (long) (sizeof (long)); }
25655
unsigned long ulongval () { return (long) (sizeof (long)); }
25657
#include <stdlib.h>
25662
FILE *f = fopen ("conftest.val", "w");
25665
if (((long) (sizeof (long))) < 0)
25667
long i = longval ();
25668
if (i != ((long) (sizeof (long))))
25670
fprintf (f, "%ld\n", i);
25674
unsigned long i = ulongval ();
25675
if (i != ((long) (sizeof (long))))
25677
fprintf (f, "%lu\n", i);
25679
exit (ferror (f) || fclose (f) != 0);
25685
rm -f conftest$ac_exeext
25686
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25687
(eval $ac_link) 2>&5
25689
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25690
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25691
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25692
(eval $ac_try) 2>&5
25694
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25695
(exit $ac_status); }; }; then
25696
ac_cv_sizeof_long=`cat conftest.val`
25698
echo "$as_me: program exited with status $ac_status" >&5
25699
echo "$as_me: failed program was:" >&5
25700
sed 's/^/| /' conftest.$ac_ext >&5
25702
( exit $ac_status )
25703
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
25704
See \`config.log' for more details." >&5
25705
echo "$as_me: error: cannot compute sizeof (long), 77
25706
See \`config.log' for more details." >&2;}
25707
{ (exit 1); exit 1; }; }
25709
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25714
ac_cv_sizeof_long=0
25717
echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
25718
echo "${ECHO_T}$ac_cv_sizeof_long" >&6
25719
cat >>confdefs.h <<_ACEOF
25720
#define SIZEOF_LONG $ac_cv_sizeof_long
25723
echo "$as_me:$LINENO: checking for char *" >&5
25724
echo $ECHO_N "checking for char *... $ECHO_C" >&6
25725
if test "${ac_cv_type_char_p+set}" = set; then
25726
echo $ECHO_N "(cached) $ECHO_C" >&6
25728
cat >conftest.$ac_ext <<_ACEOF
25731
cat confdefs.h >>conftest.$ac_ext
25732
cat >>conftest.$ac_ext <<_ACEOF
25733
/* end confdefs.h. */
25734
$ac_includes_default
25740
if (sizeof (char *))
25746
rm -f conftest.$ac_objext
25747
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25748
(eval $ac_compile) 2>conftest.er1
25750
grep -v '^ *+' conftest.er1 >conftest.err
25752
cat conftest.err >&5
25753
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25754
(exit $ac_status); } &&
25755
{ ac_try='test -z "$ac_c_werror_flag"
25756
|| test ! -s conftest.err'
25757
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25758
(eval $ac_try) 2>&5
25760
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25761
(exit $ac_status); }; } &&
25762
{ ac_try='test -s conftest.$ac_objext'
25763
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25764
(eval $ac_try) 2>&5
25766
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25767
(exit $ac_status); }; }; then
25768
ac_cv_type_char_p=yes
25770
echo "$as_me: failed program was:" >&5
25771
sed 's/^/| /' conftest.$ac_ext >&5
25773
ac_cv_type_char_p=no
25775
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25777
echo "$as_me:$LINENO: result: $ac_cv_type_char_p" >&5
25778
echo "${ECHO_T}$ac_cv_type_char_p" >&6
25780
echo "$as_me:$LINENO: checking size of char *" >&5
25781
echo $ECHO_N "checking size of char *... $ECHO_C" >&6
25782
if test "${ac_cv_sizeof_char_p+set}" = set; then
25783
echo $ECHO_N "(cached) $ECHO_C" >&6
25785
if test "$ac_cv_type_char_p" = yes; then
25786
# The cast to unsigned long works around a bug in the HP C Compiler
25787
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25788
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25789
# This bug is HP SR number 8606223364.
25790
if test "$cross_compiling" = yes; then
25791
# Depending upon the size, compute the lo and hi bounds.
25792
cat >conftest.$ac_ext <<_ACEOF
25795
cat confdefs.h >>conftest.$ac_ext
25796
cat >>conftest.$ac_ext <<_ACEOF
25797
/* end confdefs.h. */
25798
$ac_includes_default
25802
static int test_array [1 - 2 * !(((long) (sizeof (char *))) >= 0)];
25809
rm -f conftest.$ac_objext
25810
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25811
(eval $ac_compile) 2>conftest.er1
25813
grep -v '^ *+' conftest.er1 >conftest.err
25815
cat conftest.err >&5
25816
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25817
(exit $ac_status); } &&
25818
{ ac_try='test -z "$ac_c_werror_flag"
25819
|| test ! -s conftest.err'
25820
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25821
(eval $ac_try) 2>&5
25823
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25824
(exit $ac_status); }; } &&
25825
{ ac_try='test -s conftest.$ac_objext'
25826
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25827
(eval $ac_try) 2>&5
25829
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25830
(exit $ac_status); }; }; then
25833
cat >conftest.$ac_ext <<_ACEOF
25836
cat confdefs.h >>conftest.$ac_ext
25837
cat >>conftest.$ac_ext <<_ACEOF
25838
/* end confdefs.h. */
25839
$ac_includes_default
25843
static int test_array [1 - 2 * !(((long) (sizeof (char *))) <= $ac_mid)];
25850
rm -f conftest.$ac_objext
25851
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25852
(eval $ac_compile) 2>conftest.er1
25854
grep -v '^ *+' conftest.er1 >conftest.err
25856
cat conftest.err >&5
25857
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25858
(exit $ac_status); } &&
25859
{ ac_try='test -z "$ac_c_werror_flag"
25860
|| test ! -s conftest.err'
25861
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25862
(eval $ac_try) 2>&5
25864
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25865
(exit $ac_status); }; } &&
25866
{ ac_try='test -s conftest.$ac_objext'
25867
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25868
(eval $ac_try) 2>&5
25870
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25871
(exit $ac_status); }; }; then
25872
ac_hi=$ac_mid; break
25874
echo "$as_me: failed program was:" >&5
25875
sed 's/^/| /' conftest.$ac_ext >&5
25877
ac_lo=`expr $ac_mid + 1`
25878
if test $ac_lo -le $ac_mid; then
25882
ac_mid=`expr 2 '*' $ac_mid + 1`
25884
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25887
echo "$as_me: failed program was:" >&5
25888
sed 's/^/| /' conftest.$ac_ext >&5
25890
cat >conftest.$ac_ext <<_ACEOF
25893
cat confdefs.h >>conftest.$ac_ext
25894
cat >>conftest.$ac_ext <<_ACEOF
25895
/* end confdefs.h. */
25896
$ac_includes_default
25900
static int test_array [1 - 2 * !(((long) (sizeof (char *))) < 0)];
25907
rm -f conftest.$ac_objext
25908
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25909
(eval $ac_compile) 2>conftest.er1
25911
grep -v '^ *+' conftest.er1 >conftest.err
25913
cat conftest.err >&5
25914
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25915
(exit $ac_status); } &&
25916
{ ac_try='test -z "$ac_c_werror_flag"
25917
|| test ! -s conftest.err'
25918
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25919
(eval $ac_try) 2>&5
25921
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25922
(exit $ac_status); }; } &&
25923
{ ac_try='test -s conftest.$ac_objext'
25924
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25925
(eval $ac_try) 2>&5
25927
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25928
(exit $ac_status); }; }; then
25931
cat >conftest.$ac_ext <<_ACEOF
25934
cat confdefs.h >>conftest.$ac_ext
25935
cat >>conftest.$ac_ext <<_ACEOF
25936
/* end confdefs.h. */
25937
$ac_includes_default
25941
static int test_array [1 - 2 * !(((long) (sizeof (char *))) >= $ac_mid)];
25948
rm -f conftest.$ac_objext
25949
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25950
(eval $ac_compile) 2>conftest.er1
25952
grep -v '^ *+' conftest.er1 >conftest.err
25954
cat conftest.err >&5
25955
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25956
(exit $ac_status); } &&
25957
{ ac_try='test -z "$ac_c_werror_flag"
25958
|| test ! -s conftest.err'
25959
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25960
(eval $ac_try) 2>&5
25962
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25963
(exit $ac_status); }; } &&
25964
{ ac_try='test -s conftest.$ac_objext'
25965
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25966
(eval $ac_try) 2>&5
25968
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25969
(exit $ac_status); }; }; then
25970
ac_lo=$ac_mid; break
25972
echo "$as_me: failed program was:" >&5
25973
sed 's/^/| /' conftest.$ac_ext >&5
25975
ac_hi=`expr '(' $ac_mid ')' - 1`
25976
if test $ac_mid -le $ac_hi; then
25980
ac_mid=`expr 2 '*' $ac_mid`
25982
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25985
echo "$as_me: failed program was:" >&5
25986
sed 's/^/| /' conftest.$ac_ext >&5
25990
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25992
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25993
# Binary search between lo and hi bounds.
25994
while test "x$ac_lo" != "x$ac_hi"; do
25995
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25996
cat >conftest.$ac_ext <<_ACEOF
25999
cat confdefs.h >>conftest.$ac_ext
26000
cat >>conftest.$ac_ext <<_ACEOF
26001
/* end confdefs.h. */
26002
$ac_includes_default
26006
static int test_array [1 - 2 * !(((long) (sizeof (char *))) <= $ac_mid)];
26013
rm -f conftest.$ac_objext
26014
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26015
(eval $ac_compile) 2>conftest.er1
26017
grep -v '^ *+' conftest.er1 >conftest.err
26019
cat conftest.err >&5
26020
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26021
(exit $ac_status); } &&
26022
{ ac_try='test -z "$ac_c_werror_flag"
26023
|| test ! -s conftest.err'
26024
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26025
(eval $ac_try) 2>&5
26027
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26028
(exit $ac_status); }; } &&
26029
{ ac_try='test -s conftest.$ac_objext'
26030
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26031
(eval $ac_try) 2>&5
26033
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26034
(exit $ac_status); }; }; then
26037
echo "$as_me: failed program was:" >&5
26038
sed 's/^/| /' conftest.$ac_ext >&5
26040
ac_lo=`expr '(' $ac_mid ')' + 1`
26042
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26045
?*) ac_cv_sizeof_char_p=$ac_lo;;
26046
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char *), 77
26047
See \`config.log' for more details." >&5
26048
echo "$as_me: error: cannot compute sizeof (char *), 77
26049
See \`config.log' for more details." >&2;}
26050
{ (exit 1); exit 1; }; } ;;
26053
if test "$cross_compiling" = yes; then
26054
{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
26055
See \`config.log' for more details." >&5
26056
echo "$as_me: error: cannot run test program while cross compiling
26057
See \`config.log' for more details." >&2;}
26058
{ (exit 1); exit 1; }; }
26060
cat >conftest.$ac_ext <<_ACEOF
26063
cat confdefs.h >>conftest.$ac_ext
26064
cat >>conftest.$ac_ext <<_ACEOF
26065
/* end confdefs.h. */
26066
$ac_includes_default
26067
long longval () { return (long) (sizeof (char *)); }
26068
unsigned long ulongval () { return (long) (sizeof (char *)); }
26070
#include <stdlib.h>
26075
FILE *f = fopen ("conftest.val", "w");
26078
if (((long) (sizeof (char *))) < 0)
26080
long i = longval ();
26081
if (i != ((long) (sizeof (char *))))
26083
fprintf (f, "%ld\n", i);
26087
unsigned long i = ulongval ();
26088
if (i != ((long) (sizeof (char *))))
26090
fprintf (f, "%lu\n", i);
26092
exit (ferror (f) || fclose (f) != 0);
26098
rm -f conftest$ac_exeext
26099
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26100
(eval $ac_link) 2>&5
26102
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26103
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26104
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26105
(eval $ac_try) 2>&5
26107
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26108
(exit $ac_status); }; }; then
26109
ac_cv_sizeof_char_p=`cat conftest.val`
26111
echo "$as_me: program exited with status $ac_status" >&5
26112
echo "$as_me: failed program was:" >&5
26113
sed 's/^/| /' conftest.$ac_ext >&5
26115
( exit $ac_status )
26116
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (char *), 77
26117
See \`config.log' for more details." >&5
26118
echo "$as_me: error: cannot compute sizeof (char *), 77
26119
See \`config.log' for more details." >&2;}
26120
{ (exit 1); exit 1; }; }
26122
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26127
ac_cv_sizeof_char_p=0
26130
echo "$as_me:$LINENO: result: $ac_cv_sizeof_char_p" >&5
26131
echo "${ECHO_T}$ac_cv_sizeof_char_p" >&6
26132
cat >>confdefs.h <<_ACEOF
26133
#define SIZEOF_CHAR_P $ac_cv_sizeof_char_p
26138
echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
26139
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
26140
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
26141
echo $ECHO_N "(cached) $ECHO_C" >&6
26143
ac_check_lib_save_LIBS=$LIBS
26145
cat >conftest.$ac_ext <<_ACEOF
26148
cat confdefs.h >>conftest.$ac_ext
26149
cat >>conftest.$ac_ext <<_ACEOF
26150
/* end confdefs.h. */
26152
/* Override any gcc2 internal prototype to avoid an error. */
26156
/* We use char because int might match the return type of a gcc2
26157
builtin and then its argument prototype would still apply. */
26167
rm -f conftest.$ac_objext conftest$ac_exeext
26168
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26169
(eval $ac_link) 2>conftest.er1
26171
grep -v '^ *+' conftest.er1 >conftest.err
26173
cat conftest.err >&5
26174
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26175
(exit $ac_status); } &&
26176
{ ac_try='test -z "$ac_c_werror_flag"
26177
|| test ! -s conftest.err'
26178
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26179
(eval $ac_try) 2>&5
26181
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26182
(exit $ac_status); }; } &&
26183
{ ac_try='test -s conftest$ac_exeext'
26184
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26185
(eval $ac_try) 2>&5
26187
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26188
(exit $ac_status); }; }; then
26189
ac_cv_lib_dl_dlopen=yes
26191
echo "$as_me: failed program was:" >&5
26192
sed 's/^/| /' conftest.$ac_ext >&5
26194
ac_cv_lib_dl_dlopen=no
26196
rm -f conftest.err conftest.$ac_objext \
26197
conftest$ac_exeext conftest.$ac_ext
26198
LIBS=$ac_check_lib_save_LIBS
26200
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
26201
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
26202
if test $ac_cv_lib_dl_dlopen = yes; then
26205
ac_cv_have_dlfcn=yes
26210
echo "$as_me:$LINENO: checking for shl_unload in -ldld" >&5
26211
echo $ECHO_N "checking for shl_unload in -ldld... $ECHO_C" >&6
26212
if test "${ac_cv_lib_dld_shl_unload+set}" = set; then
26213
echo $ECHO_N "(cached) $ECHO_C" >&6
26215
ac_check_lib_save_LIBS=$LIBS
26217
cat >conftest.$ac_ext <<_ACEOF
26220
cat confdefs.h >>conftest.$ac_ext
26221
cat >>conftest.$ac_ext <<_ACEOF
26222
/* end confdefs.h. */
26224
/* Override any gcc2 internal prototype to avoid an error. */
26228
/* We use char because int might match the return type of a gcc2
26229
builtin and then its argument prototype would still apply. */
26230
char shl_unload ();
26239
rm -f conftest.$ac_objext conftest$ac_exeext
26240
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26241
(eval $ac_link) 2>conftest.er1
26243
grep -v '^ *+' conftest.er1 >conftest.err
26245
cat conftest.err >&5
26246
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26247
(exit $ac_status); } &&
26248
{ ac_try='test -z "$ac_c_werror_flag"
26249
|| test ! -s conftest.err'
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); }; } &&
26255
{ ac_try='test -s conftest$ac_exeext'
26256
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26257
(eval $ac_try) 2>&5
26259
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26260
(exit $ac_status); }; }; then
26261
ac_cv_lib_dld_shl_unload=yes
26263
echo "$as_me: failed program was:" >&5
26264
sed 's/^/| /' conftest.$ac_ext >&5
26266
ac_cv_lib_dld_shl_unload=no
26268
rm -f conftest.err conftest.$ac_objext \
26269
conftest$ac_exeext conftest.$ac_ext
26270
LIBS=$ac_check_lib_save_LIBS
26272
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_unload" >&5
26273
echo "${ECHO_T}$ac_cv_lib_dld_shl_unload" >&6
26274
if test $ac_cv_lib_dld_shl_unload = yes; then
26277
ac_cv_have_shload=yes
26287
echo "$as_me:$LINENO: checking for size_t" >&5
26288
echo $ECHO_N "checking for size_t... $ECHO_C" >&6
26289
if test "${ac_cv_type_size_t+set}" = set; then
26290
echo $ECHO_N "(cached) $ECHO_C" >&6
26292
cat >conftest.$ac_ext <<_ACEOF
26295
cat confdefs.h >>conftest.$ac_ext
26296
cat >>conftest.$ac_ext <<_ACEOF
26297
/* end confdefs.h. */
26298
$ac_includes_default
26304
if (sizeof (size_t))
26310
rm -f conftest.$ac_objext
26311
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26312
(eval $ac_compile) 2>conftest.er1
26314
grep -v '^ *+' conftest.er1 >conftest.err
26316
cat conftest.err >&5
26317
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26318
(exit $ac_status); } &&
26319
{ ac_try='test -z "$ac_c_werror_flag"
26320
|| test ! -s conftest.err'
26321
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26322
(eval $ac_try) 2>&5
26324
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26325
(exit $ac_status); }; } &&
26326
{ ac_try='test -s conftest.$ac_objext'
26327
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26328
(eval $ac_try) 2>&5
26330
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26331
(exit $ac_status); }; }; then
26332
ac_cv_type_size_t=yes
26334
echo "$as_me: failed program was:" >&5
26335
sed 's/^/| /' conftest.$ac_ext >&5
26337
ac_cv_type_size_t=no
26339
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26341
echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
26342
echo "${ECHO_T}$ac_cv_type_size_t" >&6
26344
echo "$as_me:$LINENO: checking size of size_t" >&5
26345
echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
26346
if test "${ac_cv_sizeof_size_t+set}" = set; then
26347
echo $ECHO_N "(cached) $ECHO_C" >&6
26349
if test "$ac_cv_type_size_t" = yes; then
26350
# The cast to unsigned long works around a bug in the HP C Compiler
26351
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26352
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
26353
# This bug is HP SR number 8606223364.
26354
if test "$cross_compiling" = yes; then
26355
# Depending upon the size, compute the lo and hi bounds.
26356
cat >conftest.$ac_ext <<_ACEOF
26359
cat confdefs.h >>conftest.$ac_ext
26360
cat >>conftest.$ac_ext <<_ACEOF
26361
/* end confdefs.h. */
26362
$ac_includes_default
26366
static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
26373
rm -f conftest.$ac_objext
26374
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26375
(eval $ac_compile) 2>conftest.er1
26377
grep -v '^ *+' conftest.er1 >conftest.err
26379
cat conftest.err >&5
26380
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26381
(exit $ac_status); } &&
26382
{ ac_try='test -z "$ac_c_werror_flag"
26383
|| test ! -s conftest.err'
26384
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26385
(eval $ac_try) 2>&5
26387
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26388
(exit $ac_status); }; } &&
26389
{ ac_try='test -s conftest.$ac_objext'
26390
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26391
(eval $ac_try) 2>&5
26393
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26394
(exit $ac_status); }; }; then
26397
cat >conftest.$ac_ext <<_ACEOF
26400
cat confdefs.h >>conftest.$ac_ext
26401
cat >>conftest.$ac_ext <<_ACEOF
26402
/* end confdefs.h. */
26403
$ac_includes_default
26407
static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
26414
rm -f conftest.$ac_objext
26415
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26416
(eval $ac_compile) 2>conftest.er1
26418
grep -v '^ *+' conftest.er1 >conftest.err
26420
cat conftest.err >&5
26421
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26422
(exit $ac_status); } &&
26423
{ ac_try='test -z "$ac_c_werror_flag"
26424
|| test ! -s conftest.err'
26425
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26426
(eval $ac_try) 2>&5
26428
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26429
(exit $ac_status); }; } &&
26430
{ ac_try='test -s conftest.$ac_objext'
26431
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26432
(eval $ac_try) 2>&5
26434
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26435
(exit $ac_status); }; }; then
26436
ac_hi=$ac_mid; break
26438
echo "$as_me: failed program was:" >&5
26439
sed 's/^/| /' conftest.$ac_ext >&5
26441
ac_lo=`expr $ac_mid + 1`
26442
if test $ac_lo -le $ac_mid; then
26446
ac_mid=`expr 2 '*' $ac_mid + 1`
26448
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26451
echo "$as_me: failed program was:" >&5
26452
sed 's/^/| /' conftest.$ac_ext >&5
26454
cat >conftest.$ac_ext <<_ACEOF
26457
cat confdefs.h >>conftest.$ac_ext
26458
cat >>conftest.$ac_ext <<_ACEOF
26459
/* end confdefs.h. */
26460
$ac_includes_default
26464
static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
26471
rm -f conftest.$ac_objext
26472
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26473
(eval $ac_compile) 2>conftest.er1
26475
grep -v '^ *+' conftest.er1 >conftest.err
26477
cat conftest.err >&5
26478
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26479
(exit $ac_status); } &&
26480
{ ac_try='test -z "$ac_c_werror_flag"
26481
|| test ! -s conftest.err'
26482
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26483
(eval $ac_try) 2>&5
26485
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26486
(exit $ac_status); }; } &&
26487
{ ac_try='test -s conftest.$ac_objext'
26488
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26489
(eval $ac_try) 2>&5
26491
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26492
(exit $ac_status); }; }; then
26495
cat >conftest.$ac_ext <<_ACEOF
26498
cat confdefs.h >>conftest.$ac_ext
26499
cat >>conftest.$ac_ext <<_ACEOF
26500
/* end confdefs.h. */
26501
$ac_includes_default
26505
static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
26512
rm -f conftest.$ac_objext
26513
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26514
(eval $ac_compile) 2>conftest.er1
26516
grep -v '^ *+' conftest.er1 >conftest.err
26518
cat conftest.err >&5
26519
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26520
(exit $ac_status); } &&
26521
{ ac_try='test -z "$ac_c_werror_flag"
26522
|| test ! -s conftest.err'
26523
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26524
(eval $ac_try) 2>&5
26526
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26527
(exit $ac_status); }; } &&
26528
{ ac_try='test -s conftest.$ac_objext'
26529
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26530
(eval $ac_try) 2>&5
26532
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26533
(exit $ac_status); }; }; then
26534
ac_lo=$ac_mid; break
26536
echo "$as_me: failed program was:" >&5
26537
sed 's/^/| /' conftest.$ac_ext >&5
26539
ac_hi=`expr '(' $ac_mid ')' - 1`
26540
if test $ac_mid -le $ac_hi; then
26544
ac_mid=`expr 2 '*' $ac_mid`
26546
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26549
echo "$as_me: failed program was:" >&5
26550
sed 's/^/| /' conftest.$ac_ext >&5
26554
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26556
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26557
# Binary search between lo and hi bounds.
26558
while test "x$ac_lo" != "x$ac_hi"; do
26559
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26560
cat >conftest.$ac_ext <<_ACEOF
26563
cat confdefs.h >>conftest.$ac_ext
26564
cat >>conftest.$ac_ext <<_ACEOF
26565
/* end confdefs.h. */
26566
$ac_includes_default
26570
static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
26577
rm -f conftest.$ac_objext
26578
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26579
(eval $ac_compile) 2>conftest.er1
26581
grep -v '^ *+' conftest.er1 >conftest.err
26583
cat conftest.err >&5
26584
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26585
(exit $ac_status); } &&
26586
{ ac_try='test -z "$ac_c_werror_flag"
26587
|| test ! -s conftest.err'
26588
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26589
(eval $ac_try) 2>&5
26591
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26592
(exit $ac_status); }; } &&
26593
{ ac_try='test -s conftest.$ac_objext'
26594
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26595
(eval $ac_try) 2>&5
26597
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26598
(exit $ac_status); }; }; then
26601
echo "$as_me: failed program was:" >&5
26602
sed 's/^/| /' conftest.$ac_ext >&5
26604
ac_lo=`expr '(' $ac_mid ')' + 1`
26606
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26609
?*) ac_cv_sizeof_size_t=$ac_lo;;
26610
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
26611
See \`config.log' for more details." >&5
26612
echo "$as_me: error: cannot compute sizeof (size_t), 77
26613
See \`config.log' for more details." >&2;}
26614
{ (exit 1); exit 1; }; } ;;
26617
if test "$cross_compiling" = yes; then
26618
{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
26619
See \`config.log' for more details." >&5
26620
echo "$as_me: error: cannot run test program while cross compiling
26621
See \`config.log' for more details." >&2;}
26622
{ (exit 1); exit 1; }; }
26624
cat >conftest.$ac_ext <<_ACEOF
26627
cat confdefs.h >>conftest.$ac_ext
26628
cat >>conftest.$ac_ext <<_ACEOF
26629
/* end confdefs.h. */
26630
$ac_includes_default
26631
long longval () { return (long) (sizeof (size_t)); }
26632
unsigned long ulongval () { return (long) (sizeof (size_t)); }
26634
#include <stdlib.h>
26639
FILE *f = fopen ("conftest.val", "w");
26642
if (((long) (sizeof (size_t))) < 0)
26644
long i = longval ();
26645
if (i != ((long) (sizeof (size_t))))
26647
fprintf (f, "%ld\n", i);
26651
unsigned long i = ulongval ();
26652
if (i != ((long) (sizeof (size_t))))
26654
fprintf (f, "%lu\n", i);
26656
exit (ferror (f) || fclose (f) != 0);
26662
rm -f conftest$ac_exeext
26663
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26664
(eval $ac_link) 2>&5
26666
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26667
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26668
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26669
(eval $ac_try) 2>&5
26671
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26672
(exit $ac_status); }; }; then
26673
ac_cv_sizeof_size_t=`cat conftest.val`
26675
echo "$as_me: program exited with status $ac_status" >&5
26676
echo "$as_me: failed program was:" >&5
26677
sed 's/^/| /' conftest.$ac_ext >&5
26679
( exit $ac_status )
26680
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
26681
See \`config.log' for more details." >&5
26682
echo "$as_me: error: cannot compute sizeof (size_t), 77
26683
See \`config.log' for more details." >&2;}
26684
{ (exit 1); exit 1; }; }
26686
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26691
ac_cv_sizeof_size_t=0
26694
echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
26695
echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
26696
cat >>confdefs.h <<_ACEOF
26697
#define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
26701
echo "$as_me:$LINENO: checking for unsigned long" >&5
26702
echo $ECHO_N "checking for unsigned long... $ECHO_C" >&6
26703
if test "${ac_cv_type_unsigned_long+set}" = set; then
26704
echo $ECHO_N "(cached) $ECHO_C" >&6
26706
cat >conftest.$ac_ext <<_ACEOF
26709
cat confdefs.h >>conftest.$ac_ext
26710
cat >>conftest.$ac_ext <<_ACEOF
26711
/* end confdefs.h. */
26712
$ac_includes_default
26716
if ((unsigned long *) 0)
26718
if (sizeof (unsigned long))
26724
rm -f conftest.$ac_objext
26725
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26726
(eval $ac_compile) 2>conftest.er1
26728
grep -v '^ *+' conftest.er1 >conftest.err
26730
cat conftest.err >&5
26731
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26732
(exit $ac_status); } &&
26733
{ ac_try='test -z "$ac_c_werror_flag"
26734
|| test ! -s conftest.err'
26735
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26736
(eval $ac_try) 2>&5
26738
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26739
(exit $ac_status); }; } &&
26740
{ ac_try='test -s conftest.$ac_objext'
26741
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26742
(eval $ac_try) 2>&5
26744
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26745
(exit $ac_status); }; }; then
26746
ac_cv_type_unsigned_long=yes
26748
echo "$as_me: failed program was:" >&5
26749
sed 's/^/| /' conftest.$ac_ext >&5
26751
ac_cv_type_unsigned_long=no
26753
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26755
echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long" >&5
26756
echo "${ECHO_T}$ac_cv_type_unsigned_long" >&6
26758
echo "$as_me:$LINENO: checking size of unsigned long" >&5
26759
echo $ECHO_N "checking size of unsigned long... $ECHO_C" >&6
26760
if test "${ac_cv_sizeof_unsigned_long+set}" = set; then
26761
echo $ECHO_N "(cached) $ECHO_C" >&6
26763
if test "$ac_cv_type_unsigned_long" = yes; then
26764
# The cast to unsigned long works around a bug in the HP C Compiler
26765
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26766
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
26767
# This bug is HP SR number 8606223364.
26768
if test "$cross_compiling" = yes; then
26769
# Depending upon the size, compute the lo and hi bounds.
26770
cat >conftest.$ac_ext <<_ACEOF
26773
cat confdefs.h >>conftest.$ac_ext
26774
cat >>conftest.$ac_ext <<_ACEOF
26775
/* end confdefs.h. */
26776
$ac_includes_default
26780
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) >= 0)];
26787
rm -f conftest.$ac_objext
26788
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26789
(eval $ac_compile) 2>conftest.er1
26791
grep -v '^ *+' conftest.er1 >conftest.err
26793
cat conftest.err >&5
26794
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26795
(exit $ac_status); } &&
26796
{ ac_try='test -z "$ac_c_werror_flag"
26797
|| test ! -s conftest.err'
26798
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26799
(eval $ac_try) 2>&5
26801
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26802
(exit $ac_status); }; } &&
26803
{ ac_try='test -s conftest.$ac_objext'
26804
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26805
(eval $ac_try) 2>&5
26807
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26808
(exit $ac_status); }; }; then
26811
cat >conftest.$ac_ext <<_ACEOF
26814
cat confdefs.h >>conftest.$ac_ext
26815
cat >>conftest.$ac_ext <<_ACEOF
26816
/* end confdefs.h. */
26817
$ac_includes_default
26821
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) <= $ac_mid)];
26828
rm -f conftest.$ac_objext
26829
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26830
(eval $ac_compile) 2>conftest.er1
26832
grep -v '^ *+' conftest.er1 >conftest.err
26834
cat conftest.err >&5
26835
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26836
(exit $ac_status); } &&
26837
{ ac_try='test -z "$ac_c_werror_flag"
26838
|| test ! -s conftest.err'
26839
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26840
(eval $ac_try) 2>&5
26842
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26843
(exit $ac_status); }; } &&
26844
{ ac_try='test -s conftest.$ac_objext'
26845
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26846
(eval $ac_try) 2>&5
26848
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26849
(exit $ac_status); }; }; then
26850
ac_hi=$ac_mid; break
26852
echo "$as_me: failed program was:" >&5
26853
sed 's/^/| /' conftest.$ac_ext >&5
26855
ac_lo=`expr $ac_mid + 1`
26856
if test $ac_lo -le $ac_mid; then
26860
ac_mid=`expr 2 '*' $ac_mid + 1`
26862
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26865
echo "$as_me: failed program was:" >&5
26866
sed 's/^/| /' conftest.$ac_ext >&5
26868
cat >conftest.$ac_ext <<_ACEOF
26871
cat confdefs.h >>conftest.$ac_ext
26872
cat >>conftest.$ac_ext <<_ACEOF
26873
/* end confdefs.h. */
26874
$ac_includes_default
26878
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) < 0)];
26885
rm -f conftest.$ac_objext
26886
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26887
(eval $ac_compile) 2>conftest.er1
26889
grep -v '^ *+' conftest.er1 >conftest.err
26891
cat conftest.err >&5
26892
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26893
(exit $ac_status); } &&
26894
{ ac_try='test -z "$ac_c_werror_flag"
26895
|| test ! -s conftest.err'
26896
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26897
(eval $ac_try) 2>&5
26899
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26900
(exit $ac_status); }; } &&
26901
{ ac_try='test -s conftest.$ac_objext'
26902
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26903
(eval $ac_try) 2>&5
26905
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26906
(exit $ac_status); }; }; then
26909
cat >conftest.$ac_ext <<_ACEOF
26912
cat confdefs.h >>conftest.$ac_ext
26913
cat >>conftest.$ac_ext <<_ACEOF
26914
/* end confdefs.h. */
26915
$ac_includes_default
26919
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) >= $ac_mid)];
26926
rm -f conftest.$ac_objext
26927
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26928
(eval $ac_compile) 2>conftest.er1
26930
grep -v '^ *+' conftest.er1 >conftest.err
26932
cat conftest.err >&5
26933
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26934
(exit $ac_status); } &&
26935
{ ac_try='test -z "$ac_c_werror_flag"
26936
|| test ! -s conftest.err'
26937
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26938
(eval $ac_try) 2>&5
26940
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26941
(exit $ac_status); }; } &&
26942
{ ac_try='test -s conftest.$ac_objext'
26943
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26944
(eval $ac_try) 2>&5
26946
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26947
(exit $ac_status); }; }; then
26948
ac_lo=$ac_mid; break
26950
echo "$as_me: failed program was:" >&5
26951
sed 's/^/| /' conftest.$ac_ext >&5
26953
ac_hi=`expr '(' $ac_mid ')' - 1`
26954
if test $ac_mid -le $ac_hi; then
26958
ac_mid=`expr 2 '*' $ac_mid`
26960
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26963
echo "$as_me: failed program was:" >&5
26964
sed 's/^/| /' conftest.$ac_ext >&5
26968
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26970
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26971
# Binary search between lo and hi bounds.
26972
while test "x$ac_lo" != "x$ac_hi"; do
26973
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26974
cat >conftest.$ac_ext <<_ACEOF
26977
cat confdefs.h >>conftest.$ac_ext
26978
cat >>conftest.$ac_ext <<_ACEOF
26979
/* end confdefs.h. */
26980
$ac_includes_default
26984
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) <= $ac_mid)];
26991
rm -f conftest.$ac_objext
26992
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26993
(eval $ac_compile) 2>conftest.er1
26995
grep -v '^ *+' conftest.er1 >conftest.err
26997
cat conftest.err >&5
26998
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26999
(exit $ac_status); } &&
27000
{ ac_try='test -z "$ac_c_werror_flag"
27001
|| test ! -s conftest.err'
27002
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27003
(eval $ac_try) 2>&5
27005
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27006
(exit $ac_status); }; } &&
27007
{ ac_try='test -s conftest.$ac_objext'
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); }; }; then
27015
echo "$as_me: failed program was:" >&5
27016
sed 's/^/| /' conftest.$ac_ext >&5
27018
ac_lo=`expr '(' $ac_mid ')' + 1`
27020
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27023
?*) ac_cv_sizeof_unsigned_long=$ac_lo;;
27024
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long), 77
27025
See \`config.log' for more details." >&5
27026
echo "$as_me: error: cannot compute sizeof (unsigned long), 77
27027
See \`config.log' for more details." >&2;}
27028
{ (exit 1); exit 1; }; } ;;
27031
if test "$cross_compiling" = yes; then
27032
{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
27033
See \`config.log' for more details." >&5
27034
echo "$as_me: error: cannot run test program while cross compiling
27035
See \`config.log' for more details." >&2;}
27036
{ (exit 1); exit 1; }; }
27038
cat >conftest.$ac_ext <<_ACEOF
27041
cat confdefs.h >>conftest.$ac_ext
27042
cat >>conftest.$ac_ext <<_ACEOF
27043
/* end confdefs.h. */
27044
$ac_includes_default
27045
long longval () { return (long) (sizeof (unsigned long)); }
27046
unsigned long ulongval () { return (long) (sizeof (unsigned long)); }
27048
#include <stdlib.h>
27053
FILE *f = fopen ("conftest.val", "w");
27056
if (((long) (sizeof (unsigned long))) < 0)
27058
long i = longval ();
27059
if (i != ((long) (sizeof (unsigned long))))
27061
fprintf (f, "%ld\n", i);
27065
unsigned long i = ulongval ();
27066
if (i != ((long) (sizeof (unsigned long))))
27068
fprintf (f, "%lu\n", i);
27070
exit (ferror (f) || fclose (f) != 0);
27076
rm -f conftest$ac_exeext
27077
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27078
(eval $ac_link) 2>&5
27080
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27081
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27082
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27083
(eval $ac_try) 2>&5
27085
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27086
(exit $ac_status); }; }; then
27087
ac_cv_sizeof_unsigned_long=`cat conftest.val`
27089
echo "$as_me: program exited with status $ac_status" >&5
27090
echo "$as_me: failed program was:" >&5
27091
sed 's/^/| /' conftest.$ac_ext >&5
27093
( exit $ac_status )
27094
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long), 77
27095
See \`config.log' for more details." >&5
27096
echo "$as_me: error: cannot compute sizeof (unsigned long), 77
27097
See \`config.log' for more details." >&2;}
27098
{ (exit 1); exit 1; }; }
27100
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27105
ac_cv_sizeof_unsigned_long=0
27108
echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long" >&5
27109
echo "${ECHO_T}$ac_cv_sizeof_unsigned_long" >&6
27110
cat >>confdefs.h <<_ACEOF
27111
#define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
27116
echo "$as_me:$LINENO: checking sizeof size_t == sizeof unsigned long" >&5
27117
echo $ECHO_N "checking sizeof size_t == sizeof unsigned long... $ECHO_C" >&6
27118
cat >conftest.$ac_ext <<_ACEOF
27121
cat confdefs.h >>conftest.$ac_ext
27122
cat >>conftest.$ac_ext <<_ACEOF
27123
/* end confdefs.h. */
27129
#if SIZEOF_SIZE_T != SIZEOF_UNSIGNED_LONG
27137
rm -f conftest.$ac_objext
27138
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27139
(eval $ac_compile) 2>conftest.er1
27141
grep -v '^ *+' conftest.er1 >conftest.err
27143
cat conftest.err >&5
27144
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27145
(exit $ac_status); } &&
27146
{ ac_try='test -z "$ac_c_werror_flag"
27147
|| test ! -s conftest.err'
27148
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27149
(eval $ac_try) 2>&5
27151
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27152
(exit $ac_status); }; } &&
27153
{ ac_try='test -s conftest.$ac_objext'
27154
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27155
(eval $ac_try) 2>&5
27157
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27158
(exit $ac_status); }; }; then
27159
echo "$as_me:$LINENO: result: yes" >&5
27160
echo "${ECHO_T}yes" >&6
27162
echo "$as_me: failed program was:" >&5
27163
sed 's/^/| /' conftest.$ac_ext >&5
27166
echo "$as_me:$LINENO: result: no" >&5
27167
echo "${ECHO_T}no" >&6
27168
{ { echo "$as_me:$LINENO: error:
27169
Apparently on your system our assumption sizeof size_t == sizeof unsigned long
27170
does not apply. Please mail kde-devel@kde.org with a description of your system!
27172
echo "$as_me: error:
27173
Apparently on your system our assumption sizeof size_t == sizeof unsigned long
27174
does not apply. Please mail kde-devel@kde.org with a description of your system!
27176
{ (exit 1); exit 1; }; }
27179
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27182
# darwin needs this to initialize the environment
27184
for ac_header in crt_externs.h
27186
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27187
if eval "test \"\${$as_ac_Header+set}\" = set"; then
27188
echo "$as_me:$LINENO: checking for $ac_header" >&5
27189
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27190
if eval "test \"\${$as_ac_Header+set}\" = set"; then
27191
echo $ECHO_N "(cached) $ECHO_C" >&6
27193
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27194
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27196
# Is the header compilable?
27197
echo "$as_me:$LINENO: checking $ac_header usability" >&5
27198
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27199
cat >conftest.$ac_ext <<_ACEOF
27202
cat confdefs.h >>conftest.$ac_ext
27203
cat >>conftest.$ac_ext <<_ACEOF
27204
/* end confdefs.h. */
27205
$ac_includes_default
27206
#include <$ac_header>
27208
rm -f conftest.$ac_objext
27209
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27210
(eval $ac_compile) 2>conftest.er1
27212
grep -v '^ *+' conftest.er1 >conftest.err
27214
cat conftest.err >&5
27215
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27216
(exit $ac_status); } &&
27217
{ ac_try='test -z "$ac_c_werror_flag"
27218
|| test ! -s conftest.err'
27219
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27220
(eval $ac_try) 2>&5
27222
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27223
(exit $ac_status); }; } &&
27224
{ ac_try='test -s conftest.$ac_objext'
27225
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27226
(eval $ac_try) 2>&5
27228
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27229
(exit $ac_status); }; }; then
27230
ac_header_compiler=yes
27232
echo "$as_me: failed program was:" >&5
27233
sed 's/^/| /' conftest.$ac_ext >&5
27235
ac_header_compiler=no
27237
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27238
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27239
echo "${ECHO_T}$ac_header_compiler" >&6
27241
# Is the header present?
27242
echo "$as_me:$LINENO: checking $ac_header presence" >&5
27243
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27244
cat >conftest.$ac_ext <<_ACEOF
27247
cat confdefs.h >>conftest.$ac_ext
27248
cat >>conftest.$ac_ext <<_ACEOF
27249
/* end confdefs.h. */
27250
#include <$ac_header>
27252
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27253
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27255
grep -v '^ *+' conftest.er1 >conftest.err
27257
cat conftest.err >&5
27258
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27259
(exit $ac_status); } >/dev/null; then
27260
if test -s conftest.err; then
27261
ac_cpp_err=$ac_c_preproc_warn_flag
27262
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27269
if test -z "$ac_cpp_err"; then
27270
ac_header_preproc=yes
27272
echo "$as_me: failed program was:" >&5
27273
sed 's/^/| /' conftest.$ac_ext >&5
27275
ac_header_preproc=no
27277
rm -f conftest.err conftest.$ac_ext
27278
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27279
echo "${ECHO_T}$ac_header_preproc" >&6
27281
# So? What about this header?
27282
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27284
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27285
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27286
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27287
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27288
ac_header_preproc=yes
27291
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27292
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27293
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27294
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27295
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27296
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27297
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27298
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27299
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27300
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27301
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27302
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27305
## ------------------------------------------ ##
27306
## Report this to the AC_PACKAGE_NAME lists. ##
27307
## ------------------------------------------ ##
27310
sed "s/^/$as_me: WARNING: /" >&2
27313
echo "$as_me:$LINENO: checking for $ac_header" >&5
27314
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27315
if eval "test \"\${$as_ac_Header+set}\" = set"; then
27316
echo $ECHO_N "(cached) $ECHO_C" >&6
27318
eval "$as_ac_Header=\$ac_header_preproc"
27320
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27321
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27324
if test `eval echo '${'$as_ac_Header'}'` = yes; then
27325
cat >>confdefs.h <<_ACEOF
27326
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27333
echo "$as_me:$LINENO: checking for _NSGetEnviron" >&5
27334
echo $ECHO_N "checking for _NSGetEnviron... $ECHO_C" >&6
27335
if test "${ac_cv_func__NSGetEnviron+set}" = set; then
27336
echo $ECHO_N "(cached) $ECHO_C" >&6
27338
cat >conftest.$ac_ext <<_ACEOF
27341
cat confdefs.h >>conftest.$ac_ext
27342
cat >>conftest.$ac_ext <<_ACEOF
27343
/* end confdefs.h. */
27344
/* Define _NSGetEnviron to an innocuous variant, in case <limits.h> declares _NSGetEnviron.
27345
For example, HP-UX 11i <limits.h> declares gettimeofday. */
27346
#define _NSGetEnviron innocuous__NSGetEnviron
27348
/* System header to define __stub macros and hopefully few prototypes,
27349
which can conflict with char _NSGetEnviron (); below.
27350
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27351
<limits.h> exists even on freestanding compilers. */
27354
# include <limits.h>
27356
# include <assert.h>
27359
#undef _NSGetEnviron
27361
/* Override any gcc2 internal prototype to avoid an error. */
27366
/* We use char because int might match the return type of a gcc2
27367
builtin and then its argument prototype would still apply. */
27368
char _NSGetEnviron ();
27369
/* The GNU C library defines this for functions which it implements
27370
to always fail with ENOSYS. Some functions are actually named
27371
something starting with __ and the normal name is an alias. */
27372
#if defined (__stub__NSGetEnviron) || defined (__stub____NSGetEnviron)
27375
char (*f) () = _NSGetEnviron;
27384
return f != _NSGetEnviron;
27389
rm -f conftest.$ac_objext conftest$ac_exeext
27390
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27391
(eval $ac_link) 2>conftest.er1
27393
grep -v '^ *+' conftest.er1 >conftest.err
27395
cat conftest.err >&5
27396
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27397
(exit $ac_status); } &&
27398
{ ac_try='test -z "$ac_c_werror_flag"
27399
|| test ! -s conftest.err'
27400
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27401
(eval $ac_try) 2>&5
27403
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27404
(exit $ac_status); }; } &&
27405
{ ac_try='test -s conftest$ac_exeext'
27406
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27407
(eval $ac_try) 2>&5
27409
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27410
(exit $ac_status); }; }; then
27411
ac_cv_func__NSGetEnviron=yes
27413
echo "$as_me: failed program was:" >&5
27414
sed 's/^/| /' conftest.$ac_ext >&5
27416
ac_cv_func__NSGetEnviron=no
27418
rm -f conftest.err conftest.$ac_objext \
27419
conftest$ac_exeext conftest.$ac_ext
27421
echo "$as_me:$LINENO: result: $ac_cv_func__NSGetEnviron" >&5
27422
echo "${ECHO_T}$ac_cv_func__NSGetEnviron" >&6
27423
if test $ac_cv_func__NSGetEnviron = yes; then
27425
cat >>confdefs.h <<\_ACEOF
27426
#define HAVE_NSGETENVIRON 1
27440
for ac_func in vsnprintf snprintf
27442
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27443
echo "$as_me:$LINENO: checking for $ac_func" >&5
27444
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27445
if eval "test \"\${$as_ac_var+set}\" = set"; then
27446
echo $ECHO_N "(cached) $ECHO_C" >&6
27448
cat >conftest.$ac_ext <<_ACEOF
27451
cat confdefs.h >>conftest.$ac_ext
27452
cat >>conftest.$ac_ext <<_ACEOF
27453
/* end confdefs.h. */
27454
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27455
For example, HP-UX 11i <limits.h> declares gettimeofday. */
27456
#define $ac_func innocuous_$ac_func
27458
/* System header to define __stub macros and hopefully few prototypes,
27459
which can conflict with char $ac_func (); below.
27460
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27461
<limits.h> exists even on freestanding compilers. */
27464
# include <limits.h>
27466
# include <assert.h>
27471
/* Override any gcc2 internal prototype to avoid an error. */
27476
/* We use char because int might match the return type of a gcc2
27477
builtin and then its argument prototype would still apply. */
27479
/* The GNU C library defines this for functions which it implements
27480
to always fail with ENOSYS. Some functions are actually named
27481
something starting with __ and the normal name is an alias. */
27482
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27485
char (*f) () = $ac_func;
27494
return f != $ac_func;
27499
rm -f conftest.$ac_objext conftest$ac_exeext
27500
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27501
(eval $ac_link) 2>conftest.er1
27503
grep -v '^ *+' conftest.er1 >conftest.err
27505
cat conftest.err >&5
27506
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27507
(exit $ac_status); } &&
27508
{ ac_try='test -z "$ac_c_werror_flag"
27509
|| test ! -s conftest.err'
27510
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27511
(eval $ac_try) 2>&5
27513
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27514
(exit $ac_status); }; } &&
27515
{ ac_try='test -s conftest$ac_exeext'
27516
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27517
(eval $ac_try) 2>&5
27519
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27520
(exit $ac_status); }; }; then
27521
eval "$as_ac_var=yes"
27523
echo "$as_me: failed program was:" >&5
27524
sed 's/^/| /' conftest.$ac_ext >&5
27526
eval "$as_ac_var=no"
27528
rm -f conftest.err conftest.$ac_objext \
27529
conftest$ac_exeext conftest.$ac_ext
27531
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27532
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27533
if test `eval echo '${'$as_ac_var'}'` = yes; then
27534
cat >>confdefs.h <<_ACEOF
27535
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27549
# Check whether --enable-embedded or --disable-embedded was given.
27550
if test "${enable_embedded+set}" = set; then
27551
enableval="$enable_embedded"
27552
kde_use_qt_emb=$enableval
27558
# Check whether --enable-qtopia or --disable-qtopia was given.
27559
if test "${enable_qtopia+set}" = set; then
27560
enableval="$enable_qtopia"
27561
kde_use_qt_emb_palm=$enableval
27563
kde_use_qt_emb_palm=no
27567
# Check whether --enable-mac or --disable-mac was given.
27568
if test "${enable_mac+set}" = set; then
27569
enableval="$enable_mac"
27570
kde_use_qt_mac=$enableval
27576
if test "$kde_use_qt_emb" = "no" && test "$kde_use_qt_mac" = "no"; then
27578
echo "$as_me:$LINENO: checking for X" >&5
27579
echo $ECHO_N "checking for X... $ECHO_C" >&6
27581
if test "${kde_cv_have_x+set}" = set; then
27582
echo $ECHO_N "(cached) $ECHO_C" >&6
27584
# One or both of the vars are not set, and there is no cached value.
27585
if test "{$x_includes+set}" = set || test "$x_includes" = NONE; then
27588
kde_x_includes=$x_includes
27590
if test "{$x_libraries+set}" = set || test "$x_libraries" = NONE; then
27593
kde_x_libraries=$x_libraries
27596
# below we use the standard autoconf calls
27597
ac_x_libraries=$kde_x_libraries
27598
ac_x_includes=$kde_x_includes
27603
if test "$ac_x_includes" = NO; then
27604
# Guess where to find include files, by looking for this one X11 .h file.
27605
test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h
27607
# First, try using that file with no special directory specified.
27608
cat >conftest.$ac_ext <<_ACEOF
27611
cat confdefs.h >>conftest.$ac_ext
27612
cat >>conftest.$ac_ext <<_ACEOF
27613
/* end confdefs.h. */
27614
#include <$x_direct_test_include>
27616
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27617
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27619
grep -v '^ *+' conftest.er1 >conftest.err
27621
cat conftest.err >&5
27622
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27623
(exit $ac_status); } >/dev/null; then
27624
if test -s conftest.err; then
27625
ac_cpp_err=$ac_c_preproc_warn_flag
27626
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27633
if test -z "$ac_cpp_err"; then
27634
# We can compile using X headers with no special include directory.
27637
echo "$as_me: failed program was:" >&5
27638
sed 's/^/| /' conftest.$ac_ext >&5
27640
# Look for the header file in a standard set of common directories.
27641
# Check X11 before X11Rn because it is often a symlink to the current release.
27644
/usr/X11R6/include \
27645
/usr/X11R5/include \
27646
/usr/X11R4/include \
27649
/usr/include/X11R6 \
27650
/usr/include/X11R5 \
27651
/usr/include/X11R4 \
27653
/usr/local/X11/include \
27654
/usr/local/X11R6/include \
27655
/usr/local/X11R5/include \
27656
/usr/local/X11R4/include \
27658
/usr/local/include/X11 \
27659
/usr/local/include/X11R6 \
27660
/usr/local/include/X11R5 \
27661
/usr/local/include/X11R4 \
27663
/usr/X386/include \
27664
/usr/x386/include \
27665
/usr/XFree86/include/X11 \
27668
/usr/local/include \
27669
/usr/unsupported/include \
27670
/usr/athena/include \
27671
/usr/local/x11r5/include \
27672
/usr/lpp/Xamples/include \
27674
/usr/openwin/include \
27675
/usr/openwin/share/include \
27678
if test -r "$ac_dir/$x_direct_test_include"; then
27679
ac_x_includes=$ac_dir
27684
rm -f conftest.err conftest.$ac_ext
27685
fi # $ac_x_includes = NO
27687
if test "$ac_x_libraries" = NO; then
27688
# Check for the libraries.
27690
test -z "$x_direct_test_library" && x_direct_test_library=Xt
27691
test -z "$x_direct_test_function" && x_direct_test_function=XtMalloc
27693
# See if we find them without any special options.
27694
# Don't add to $LIBS permanently.
27695
ac_save_LIBS="$LIBS"
27696
LIBS="-l$x_direct_test_library $LIBS"
27697
cat >conftest.$ac_ext <<_ACEOF
27700
cat confdefs.h >>conftest.$ac_ext
27701
cat >>conftest.$ac_ext <<_ACEOF
27702
/* end confdefs.h. */
27703
#include <X11/Intrinsic.h>
27707
${x_direct_test_function}(1)
27712
rm -f conftest.$ac_objext conftest$ac_exeext
27713
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27714
(eval $ac_link) 2>conftest.er1
27716
grep -v '^ *+' conftest.er1 >conftest.err
27718
cat conftest.err >&5
27719
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27720
(exit $ac_status); } &&
27721
{ ac_try='test -z "$ac_c_werror_flag"
27722
|| test ! -s conftest.err'
27723
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27724
(eval $ac_try) 2>&5
27726
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27727
(exit $ac_status); }; } &&
27728
{ ac_try='test -s conftest$ac_exeext'
27729
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27730
(eval $ac_try) 2>&5
27732
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27733
(exit $ac_status); }; }; then
27734
LIBS="$ac_save_LIBS"
27735
# We can link X programs with no special library path.
27738
echo "$as_me: failed program was:" >&5
27739
sed 's/^/| /' conftest.$ac_ext >&5
27741
LIBS="$ac_save_LIBS"
27742
# First see if replacing the include by lib works.
27743
# Check X11 before X11Rn because it is often a symlink to the current release.
27744
for ac_dir in `echo "$ac_x_includes" | sed s/include/lib${kdelibsuff}/` \
27745
/usr/X11/lib${kdelibsuff} \
27746
/usr/X11R6/lib${kdelibsuff} \
27747
/usr/X11R5/lib${kdelibsuff} \
27748
/usr/X11R4/lib${kdelibsuff} \
27750
/usr/lib${kdelibsuff}/X11 \
27751
/usr/lib${kdelibsuff}/X11R6 \
27752
/usr/lib${kdelibsuff}/X11R5 \
27753
/usr/lib${kdelibsuff}/X11R4 \
27755
/usr/local/X11/lib${kdelibsuff} \
27756
/usr/local/X11R6/lib${kdelibsuff} \
27757
/usr/local/X11R5/lib${kdelibsuff} \
27758
/usr/local/X11R4/lib${kdelibsuff} \
27760
/usr/local/lib${kdelibsuff}/X11 \
27761
/usr/local/lib${kdelibsuff}/X11R6 \
27762
/usr/local/lib${kdelibsuff}/X11R5 \
27763
/usr/local/lib${kdelibsuff}/X11R4 \
27765
/usr/X386/lib${kdelibsuff} \
27766
/usr/x386/lib${kdelibsuff} \
27767
/usr/XFree86/lib${kdelibsuff}/X11 \
27769
/usr/lib${kdelibsuff} \
27770
/usr/local/lib${kdelibsuff} \
27771
/usr/unsupported/lib${kdelibsuff} \
27772
/usr/athena/lib${kdelibsuff} \
27773
/usr/local/x11r5/lib${kdelibsuff} \
27774
/usr/lpp/Xamples/lib${kdelibsuff} \
27775
/lib/usr/lib${kdelibsuff}/X11 \
27777
/usr/openwin/lib${kdelibsuff} \
27778
/usr/openwin/share/lib${kdelibsuff} \
27781
for ac_extension in a so sl; do
27782
if test -r $ac_dir/lib${x_direct_test_library}.$ac_extension; then
27783
ac_x_libraries=$ac_dir
27789
rm -f conftest.err conftest.$ac_objext \
27790
conftest$ac_exeext conftest.$ac_ext
27791
fi # $ac_x_libraries = NO
27799
rm -fr conftest.dir
27800
if mkdir conftest.dir; then
27802
# Make sure to not put "make" in the Imakefile rules, since we grep it out.
27803
cat >Imakefile <<'_ACEOF'
27805
@echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
27807
if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
27808
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
27809
eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
27810
# Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
27811
for ac_extension in a so sl; do
27812
if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
27813
test -f $ac_im_libdir/libX11.$ac_extension; then
27814
ac_im_usrlibdir=$ac_im_libdir; break
27817
# Screen out bogus values from the imake configuration. They are
27818
# bogus both because they are the default anyway, and because
27819
# using them would break gcc on systems where it needs fixed includes.
27820
case $ac_im_incroot in
27822
*) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
27824
case $ac_im_usrlibdir in
27825
/usr/lib | /lib) ;;
27826
*) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
27830
rm -fr conftest.dir
27833
if test -z "$ac_x_includes"; then
27836
if test -z "$ac_x_libraries"; then
27837
ac_x_libraries="/usr/lib${kdelibsuff}"
27840
#from now on we use our own again
27842
# when the user already gave --x-includes, we ignore
27843
# what the standard autoconf macros told us.
27844
if test "$kde_x_includes" = NO; then
27845
kde_x_includes=$ac_x_includes
27848
# for --x-libraries too
27849
if test "$kde_x_libraries" = NO; then
27850
kde_x_libraries=$ac_x_libraries
27853
if test "$kde_x_includes" = NO; then
27854
{ { echo "$as_me:$LINENO: error: Can't find X includes. Please check your installation and add the correct paths!" >&5
27855
echo "$as_me: error: Can't find X includes. Please check your installation and add the correct paths!" >&2;}
27856
{ (exit 1); exit 1; }; }
27859
if test "$kde_x_libraries" = NO; then
27860
{ { echo "$as_me:$LINENO: error: Can't find X libraries. Please check your installation and add the correct paths!" >&5
27861
echo "$as_me: error: Can't find X libraries. Please check your installation and add the correct paths!" >&2;}
27862
{ (exit 1); exit 1; }; }
27865
# Record where we found X for the cache.
27866
kde_cv_have_x="have_x=yes \
27867
kde_x_includes=$kde_x_includes kde_x_libraries=$kde_x_libraries"
27871
eval "$kde_cv_have_x"
27873
if test "$have_x" != yes; then
27874
echo "$as_me:$LINENO: result: $have_x" >&5
27875
echo "${ECHO_T}$have_x" >&6
27878
echo "$as_me:$LINENO: result: libraries $kde_x_libraries, headers $kde_x_includes" >&5
27879
echo "${ECHO_T}libraries $kde_x_libraries, headers $kde_x_includes" >&6
27882
if test -z "$kde_x_includes" || test "x$kde_x_includes" = xNONE; then
27884
x_includes="."; else
27885
x_includes=$kde_x_includes
27886
X_INCLUDES="-I$x_includes"
27889
if test -z "$kde_x_libraries" || test "x$kde_x_libraries" = xNONE; then
27891
x_libraries="/usr/lib"; else
27892
x_libraries=$kde_x_libraries
27893
X_LDFLAGS="-L$x_libraries"
27895
all_includes="$X_INCLUDES"
27896
all_libraries="$X_LDFLAGS $LDFLAGS_AS_NEEDED"
27898
# Check for libraries that X11R6 Xt/Xaw programs need.
27899
ac_save_LDFLAGS="$LDFLAGS"
27900
LDFLAGS="$LDFLAGS $X_LDFLAGS"
27901
# SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
27902
# check for ICE first), but we must link in the order -lSM -lICE or
27903
# we get undefined symbols. So assume we have SM if we have ICE.
27904
# These have to be linked with before -lX11, unlike the other
27905
# libraries we check for below, so use a different variable.
27906
# --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
27907
echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
27908
echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
27909
if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
27910
echo $ECHO_N "(cached) $ECHO_C" >&6
27912
ac_check_lib_save_LIBS=$LIBS
27913
LIBS="-lICE $X_EXTRA_LIBS $LIBS"
27914
cat >conftest.$ac_ext <<_ACEOF
27917
cat confdefs.h >>conftest.$ac_ext
27918
cat >>conftest.$ac_ext <<_ACEOF
27919
/* end confdefs.h. */
27921
/* Override any gcc2 internal prototype to avoid an error. */
27925
/* We use char because int might match the return type of a gcc2
27926
builtin and then its argument prototype would still apply. */
27927
char IceConnectionNumber ();
27931
IceConnectionNumber ();
27936
rm -f conftest.$ac_objext conftest$ac_exeext
27937
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27938
(eval $ac_link) 2>conftest.er1
27940
grep -v '^ *+' conftest.er1 >conftest.err
27942
cat conftest.err >&5
27943
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27944
(exit $ac_status); } &&
27945
{ ac_try='test -z "$ac_c_werror_flag"
27946
|| test ! -s conftest.err'
27947
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27948
(eval $ac_try) 2>&5
27950
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27951
(exit $ac_status); }; } &&
27952
{ ac_try='test -s conftest$ac_exeext'
27953
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27954
(eval $ac_try) 2>&5
27956
echo "$as_me:$LINENO: \$? = $ac_status" >&5
27957
(exit $ac_status); }; }; then
27958
ac_cv_lib_ICE_IceConnectionNumber=yes
27960
echo "$as_me: failed program was:" >&5
27961
sed 's/^/| /' conftest.$ac_ext >&5
27963
ac_cv_lib_ICE_IceConnectionNumber=no
27965
rm -f conftest.err conftest.$ac_objext \
27966
conftest$ac_exeext conftest.$ac_ext
27967
LIBS=$ac_check_lib_save_LIBS
27969
echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
27970
echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
27971
if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
27975
LDFLAGS="$ac_save_LDFLAGS"
27977
LIB_X11='-lX11 $(LIBSOCKET)'
27979
echo "$as_me:$LINENO: checking for libXext" >&5
27980
echo $ECHO_N "checking for libXext... $ECHO_C" >&6
27981
if test "${kde_cv_have_libXext+set}" = set; then
27982
echo $ECHO_N "(cached) $ECHO_C" >&6
27985
kde_ldflags_safe="$LDFLAGS"
27986
kde_libs_safe="$LIBS"
27988
LDFLAGS="$LDFLAGS $X_LDFLAGS $USER_LDFLAGS"
27989
LIBS="-lXext -lX11 $LIBSOCKET"
27991
cat >conftest.$ac_ext <<_ACEOF
27994
cat confdefs.h >>conftest.$ac_ext
27995
cat >>conftest.$ac_ext <<_ACEOF
27996
/* end confdefs.h. */
27999
#ifdef STDC_HEADERS
28000
# include <stdlib.h>
28007
printf("hello Xext\n");
28013
rm -f conftest.$ac_objext conftest$ac_exeext
28014
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28015
(eval $ac_link) 2>conftest.er1
28017
grep -v '^ *+' conftest.er1 >conftest.err
28019
cat conftest.err >&5
28020
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28021
(exit $ac_status); } &&
28022
{ ac_try='test -z "$ac_c_werror_flag"
28023
|| test ! -s conftest.err'
28024
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28025
(eval $ac_try) 2>&5
28027
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28028
(exit $ac_status); }; } &&
28029
{ ac_try='test -s conftest$ac_exeext'
28030
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28031
(eval $ac_try) 2>&5
28033
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28034
(exit $ac_status); }; }; then
28035
kde_cv_have_libXext=yes
28037
echo "$as_me: failed program was:" >&5
28038
sed 's/^/| /' conftest.$ac_ext >&5
28040
kde_cv_have_libXext=no
28043
rm -f conftest.err conftest.$ac_objext \
28044
conftest$ac_exeext conftest.$ac_ext
28046
LDFLAGS=$kde_ldflags_safe
28047
LIBS=$kde_libs_safe
28052
echo "$as_me:$LINENO: result: $kde_cv_have_libXext" >&5
28053
echo "${ECHO_T}$kde_cv_have_libXext" >&6
28055
if test "$kde_cv_have_libXext" = "no"; then
28056
{ { echo "$as_me:$LINENO: error: We need a working libXext to proceed. Since configure
28057
can't find it itself, we stop here assuming that make wouldn't find
28059
echo "$as_me: error: We need a working libXext to proceed. Since configure
28060
can't find it itself, we stop here assuming that make wouldn't find
28061
them either." >&2;}
28062
{ (exit 1); exit 1; }; }
28068
elif test "$kde_use_qt_emb" = "yes"; then
28070
CXXFLAGS="$CXXFLAGS -fno-rtti"
28071
QTE_NORTTI="-fno-rtti -DQWS"
28081
elif test "$kde_use_qt_mac" = "yes"; then
28082
CXXFLAGS="$CXXFLAGS -DQT_MAC -no-cpp-precomp"
28083
CFLAGS="$CFLAGS -DQT_MAC -no-cpp-precomp"
28109
if test -n "$PTHREAD_LIBS"; then
28110
if test "x$PTHREAD_LIBS" = "x-pthread" ; then
28111
LIBPTHREAD="PTHREAD"
28113
PTHREAD_LIBS_save="$PTHREAD_LIBS"
28114
PTHREAD_LIBS=`echo "$PTHREAD_LIBS_save" | sed -e 's,^-l,,g'`
28115
echo "$as_me:$LINENO: checking for pthread_create in $PTHREAD_LIBS" >&5
28116
echo $ECHO_N "checking for pthread_create in $PTHREAD_LIBS... $ECHO_C" >&6
28118
kde_save_LDFLAGS="$LDFLAGS"
28119
kde_save_LIBS="$LIBS"
28120
LDFLAGS="$LDFLAGS $all_libraries"
28122
aix*) LDFLAGS="-brtl $LDFLAGS"
28123
test "$GCC" = yes && LDFLAGS="-Wl,$LDFLAGS"
28126
as_ac_Lib=`echo "ac_cv_lib_$PTHREAD_LIBS''_pthread_create" | $as_tr_sh`
28127
echo "$as_me:$LINENO: checking for pthread_create in -l$PTHREAD_LIBS" >&5
28128
echo $ECHO_N "checking for pthread_create in -l$PTHREAD_LIBS... $ECHO_C" >&6
28129
if eval "test \"\${$as_ac_Lib+set}\" = set"; then
28130
echo $ECHO_N "(cached) $ECHO_C" >&6
28132
ac_check_lib_save_LIBS=$LIBS
28133
LIBS="-l$PTHREAD_LIBS $LIBS"
28134
cat >conftest.$ac_ext <<_ACEOF
28137
cat confdefs.h >>conftest.$ac_ext
28138
cat >>conftest.$ac_ext <<_ACEOF
28139
/* end confdefs.h. */
28141
/* Override any gcc2 internal prototype to avoid an error. */
28145
/* We use char because int might match the return type of a gcc2
28146
builtin and then its argument prototype would still apply. */
28147
char pthread_create ();
28156
rm -f conftest.$ac_objext conftest$ac_exeext
28157
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28158
(eval $ac_link) 2>conftest.er1
28160
grep -v '^ *+' conftest.er1 >conftest.err
28162
cat conftest.err >&5
28163
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28164
(exit $ac_status); } &&
28165
{ ac_try='test -z "$ac_c_werror_flag"
28166
|| test ! -s conftest.err'
28167
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28168
(eval $ac_try) 2>&5
28170
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28171
(exit $ac_status); }; } &&
28172
{ ac_try='test -s conftest$ac_exeext'
28173
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28174
(eval $ac_try) 2>&5
28176
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28177
(exit $ac_status); }; }; then
28178
eval "$as_ac_Lib=yes"
28180
echo "$as_me: failed program was:" >&5
28181
sed 's/^/| /' conftest.$ac_ext >&5
28183
eval "$as_ac_Lib=no"
28185
rm -f conftest.err conftest.$ac_objext \
28186
conftest$ac_exeext conftest.$ac_ext
28187
LIBS=$ac_check_lib_save_LIBS
28189
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
28190
echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
28191
if test `eval echo '${'$as_ac_Lib'}'` = yes; then
28192
LIBPTHREAD="$PTHREAD_LIBS_save"
28195
LDFLAGS="$kde_save_LDFLAGS"
28196
LIBS="$kde_save_LIBS"
28198
PTHREAD_LIBS="$PTHREAD_LIBS_save"
28202
if test -z "$LIBPTHREAD"; then
28203
echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
28204
echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6
28205
if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
28206
echo $ECHO_N "(cached) $ECHO_C" >&6
28208
ac_check_lib_save_LIBS=$LIBS
28209
LIBS="-lpthread $LIBS"
28210
cat >conftest.$ac_ext <<_ACEOF
28213
cat confdefs.h >>conftest.$ac_ext
28214
cat >>conftest.$ac_ext <<_ACEOF
28215
/* end confdefs.h. */
28217
/* Override any gcc2 internal prototype to avoid an error. */
28221
/* We use char because int might match the return type of a gcc2
28222
builtin and then its argument prototype would still apply. */
28223
char pthread_create ();
28232
rm -f conftest.$ac_objext conftest$ac_exeext
28233
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28234
(eval $ac_link) 2>conftest.er1
28236
grep -v '^ *+' conftest.er1 >conftest.err
28238
cat conftest.err >&5
28239
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28240
(exit $ac_status); } &&
28241
{ ac_try='test -z "$ac_c_werror_flag"
28242
|| test ! -s conftest.err'
28243
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28244
(eval $ac_try) 2>&5
28246
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28247
(exit $ac_status); }; } &&
28248
{ ac_try='test -s conftest$ac_exeext'
28249
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28250
(eval $ac_try) 2>&5
28252
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28253
(exit $ac_status); }; }; then
28254
ac_cv_lib_pthread_pthread_create=yes
28256
echo "$as_me: failed program was:" >&5
28257
sed 's/^/| /' conftest.$ac_ext >&5
28259
ac_cv_lib_pthread_pthread_create=no
28261
rm -f conftest.err conftest.$ac_objext \
28262
conftest$ac_exeext conftest.$ac_ext
28263
LIBS=$ac_check_lib_save_LIBS
28265
echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
28266
echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6
28267
if test $ac_cv_lib_pthread_pthread_create = yes; then
28268
LIBPTHREAD="-lpthread"
28273
if test -z "$LIBPTHREAD" ; then
28274
echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
28275
echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6
28276
kde_safe_libs=$LIBS
28277
LIBS="$LIBS -lpthread"
28278
cat >conftest.$ac_ext <<_ACEOF
28281
cat confdefs.h >>conftest.$ac_ext
28282
cat >>conftest.$ac_ext <<_ACEOF
28283
/* end confdefs.h. */
28284
#include <pthread.h>
28288
(void)pthread_create(0,0,0,0);
28293
rm -f conftest.$ac_objext conftest$ac_exeext
28294
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28295
(eval $ac_link) 2>conftest.er1
28297
grep -v '^ *+' conftest.er1 >conftest.err
28299
cat conftest.err >&5
28300
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28301
(exit $ac_status); } &&
28302
{ ac_try='test -z "$ac_c_werror_flag"
28303
|| test ! -s conftest.err'
28304
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28305
(eval $ac_try) 2>&5
28307
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28308
(exit $ac_status); }; } &&
28309
{ ac_try='test -s conftest$ac_exeext'
28310
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28311
(eval $ac_try) 2>&5
28313
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28314
(exit $ac_status); }; }; then
28316
echo "$as_me:$LINENO: result: yes" >&5
28317
echo "${ECHO_T}yes" >&6
28318
LIBPTHREAD="-lpthread"
28320
echo "$as_me: failed program was:" >&5
28321
sed 's/^/| /' conftest.$ac_ext >&5
28324
echo "$as_me:$LINENO: result: no" >&5
28325
echo "${ECHO_T}no" >&6
28327
rm -f conftest.err conftest.$ac_objext \
28328
conftest$ac_exeext conftest.$ac_ext
28329
LIBS=$kde_safe_libs
28332
if test "x$LIBPTHREAD" = "xPTHREAD" ; then
28340
if test -z "$LIBPTHREAD"; then
28342
echo "$as_me:$LINENO: checking whether $CXX supports -pthread" >&5
28343
echo $ECHO_N "checking whether $CXX supports -pthread... $ECHO_C" >&6
28344
kde_cache=`echo pthread | sed 'y% .=/+-,%____p__%'`
28345
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
28346
echo $ECHO_N "(cached) $ECHO_C" >&6
28352
ac_cpp='$CXXCPP $CPPFLAGS'
28353
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28354
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28355
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28357
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
28360
save_CXXFLAGS="$CXXFLAGS"
28361
CXXFLAGS="$CXXFLAGS -pthread"
28362
cat >conftest.$ac_ext <<_ACEOF
28365
cat confdefs.h >>conftest.$ac_ext
28366
cat >>conftest.$ac_ext <<_ACEOF
28367
/* end confdefs.h. */
28377
rm -f conftest.$ac_objext conftest$ac_exeext
28378
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28379
(eval $ac_link) 2>conftest.er1
28381
grep -v '^ *+' conftest.er1 >conftest.err
28383
cat conftest.err >&5
28384
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28385
(exit $ac_status); } &&
28386
{ ac_try='test -z "$ac_cxx_werror_flag"
28387
|| test ! -s conftest.err'
28388
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28389
(eval $ac_try) 2>&5
28391
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28392
(exit $ac_status); }; } &&
28393
{ ac_try='test -s conftest$ac_exeext'
28394
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28395
(eval $ac_try) 2>&5
28397
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28398
(exit $ac_status); }; }; then
28399
eval "kde_cv_prog_cxx_$kde_cache=yes"
28401
echo "$as_me: failed program was:" >&5
28402
sed 's/^/| /' conftest.$ac_ext >&5
28405
rm -f conftest.err conftest.$ac_objext \
28406
conftest$ac_exeext conftest.$ac_ext
28407
CXXFLAGS="$save_CXXFLAGS"
28409
ac_cpp='$CPP $CPPFLAGS'
28410
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28411
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28412
ac_compiler_gnu=$ac_cv_c_compiler_gnu
28417
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
28418
echo "$as_me:$LINENO: result: yes" >&5
28419
echo "${ECHO_T}yes" >&6
28421
USE_THREADS="-D_THREAD_SAFE -pthread"
28423
echo "$as_me:$LINENO: result: no" >&5
28424
echo "${ECHO_T}no" >&6
28436
echo "$as_me:$LINENO: checking whether $CXX supports -mt" >&5
28437
echo $ECHO_N "checking whether $CXX supports -mt... $ECHO_C" >&6
28438
kde_cache=`echo mt | sed 'y% .=/+-,%____p__%'`
28439
if eval "test \"\${kde_cv_prog_cxx_$kde_cache+set}\" = set"; then
28440
echo $ECHO_N "(cached) $ECHO_C" >&6
28446
ac_cpp='$CXXCPP $CPPFLAGS'
28447
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28448
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28449
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28451
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
28454
save_CXXFLAGS="$CXXFLAGS"
28455
CXXFLAGS="$CXXFLAGS -mt"
28456
cat >conftest.$ac_ext <<_ACEOF
28459
cat confdefs.h >>conftest.$ac_ext
28460
cat >>conftest.$ac_ext <<_ACEOF
28461
/* end confdefs.h. */
28471
rm -f conftest.$ac_objext conftest$ac_exeext
28472
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28473
(eval $ac_link) 2>conftest.er1
28475
grep -v '^ *+' conftest.er1 >conftest.err
28477
cat conftest.err >&5
28478
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28479
(exit $ac_status); } &&
28480
{ ac_try='test -z "$ac_cxx_werror_flag"
28481
|| test ! -s conftest.err'
28482
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28483
(eval $ac_try) 2>&5
28485
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28486
(exit $ac_status); }; } &&
28487
{ ac_try='test -s conftest$ac_exeext'
28488
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28489
(eval $ac_try) 2>&5
28491
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28492
(exit $ac_status); }; }; then
28493
eval "kde_cv_prog_cxx_$kde_cache=yes"
28495
echo "$as_me: failed program was:" >&5
28496
sed 's/^/| /' conftest.$ac_ext >&5
28499
rm -f conftest.err conftest.$ac_objext \
28500
conftest$ac_exeext conftest.$ac_ext
28501
CXXFLAGS="$save_CXXFLAGS"
28503
ac_cpp='$CPP $CPPFLAGS'
28504
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28505
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28506
ac_compiler_gnu=$ac_cv_c_compiler_gnu
28511
if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
28512
echo "$as_me:$LINENO: result: yes" >&5
28513
echo "${ECHO_T}yes" >&6
28517
echo "$as_me:$LINENO: result: no" >&5
28518
echo "${ECHO_T}no" >&6
28523
CPPFLAGS="$CPPFLAGS -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS -DSVR4"
28526
CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE $PTHREAD_CFLAGS"
28529
CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE"
28530
LIBPTHREAD="$LIBPTHREAD -lc_r"
28532
linux*) CPPFLAGS="$CPPFLAGS -D_REENTRANT"
28533
if test "$CXX" = "KCC"; then
28534
CXXFLAGS="$CXXFLAGS --thread_safe"
28535
NOOPT_CXXFLAGS="$NOOPT_CXXFLAGS --thread_safe"
28545
echo "$as_me:$LINENO: checking for extra includes" >&5
28546
echo $ECHO_N "checking for extra includes... $ECHO_C" >&6
28548
# Check whether --with-extra-includes or --without-extra-includes was given.
28549
if test "${with_extra_includes+set}" = set; then
28550
withval="$with_extra_includes"
28551
kde_use_extra_includes="$withval"
28553
kde_use_extra_includes=NONE
28556
kde_extra_includes=
28557
if test -n "$kde_use_extra_includes" && \
28558
test "$kde_use_extra_includes" != "NONE"; then
28562
for dir in $kde_use_extra_includes; do
28563
kde_extra_includes="$kde_extra_includes $dir"
28564
USER_INCLUDES="$USER_INCLUDES -I$dir"
28567
kde_use_extra_includes="added"
28569
kde_use_extra_includes="no"
28573
echo "$as_me:$LINENO: result: $kde_use_extra_includes" >&5
28574
echo "${ECHO_T}$kde_use_extra_includes" >&6
28577
echo "$as_me:$LINENO: checking for extra libs" >&5
28578
echo $ECHO_N "checking for extra libs... $ECHO_C" >&6
28580
# Check whether --with-extra-libs or --without-extra-libs was given.
28581
if test "${with_extra_libs+set}" = set; then
28582
withval="$with_extra_libs"
28583
kde_use_extra_libs=$withval
28585
kde_use_extra_libs=NONE
28588
if test -n "$kde_use_extra_libs" && \
28589
test "$kde_use_extra_libs" != "NONE"; then
28593
for dir in $kde_use_extra_libs; do
28594
kde_extra_libs="$kde_extra_libs $dir"
28595
KDE_EXTRA_RPATH="$KDE_EXTRA_RPATH -R $dir"
28596
USER_LDFLAGS="$USER_LDFLAGS -L$dir"
28599
kde_use_extra_libs="added"
28601
kde_use_extra_libs="no"
28606
echo "$as_me:$LINENO: result: $kde_use_extra_libs" >&5
28607
echo "${ECHO_T}$kde_use_extra_libs" >&6
28612
echo "$as_me:$LINENO: checking for libz" >&5
28613
echo $ECHO_N "checking for libz... $ECHO_C" >&6
28614
if test "${ac_cv_lib_z+set}" = set; then
28615
echo $ECHO_N "(cached) $ECHO_C" >&6
28618
kde_save_LIBS="$LIBS"
28619
LIBS="$all_libraries $USER_LDFLAGS -lz $LIBSOCKET"
28620
kde_save_CFLAGS="$CFLAGS"
28621
CFLAGS="$CFLAGS $all_includes $USER_INCLUDES"
28622
cat >conftest.$ac_ext <<_ACEOF
28625
cat confdefs.h >>conftest.$ac_ext
28626
cat >>conftest.$ac_ext <<_ACEOF
28627
/* end confdefs.h. */
28636
gzFile f = (gzFile) 0;
28637
/* this would segfault.. but we only link, don't run */
28638
(void) gzgets(f, buf, sizeof(buf));
28640
return (zlibVersion() == ZLIB_VERSION);
28646
rm -f conftest.$ac_objext conftest$ac_exeext
28647
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28648
(eval $ac_link) 2>conftest.er1
28650
grep -v '^ *+' conftest.er1 >conftest.err
28652
cat conftest.err >&5
28653
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28654
(exit $ac_status); } &&
28655
{ ac_try='test -z "$ac_c_werror_flag"
28656
|| test ! -s conftest.err'
28657
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28658
(eval $ac_try) 2>&5
28660
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28661
(exit $ac_status); }; } &&
28662
{ ac_try='test -s conftest$ac_exeext'
28663
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28664
(eval $ac_try) 2>&5
28666
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28667
(exit $ac_status); }; }; then
28668
eval "ac_cv_lib_z='-lz'"
28670
echo "$as_me: failed program was:" >&5
28671
sed 's/^/| /' conftest.$ac_ext >&5
28673
eval "ac_cv_lib_z=no"
28675
rm -f conftest.err conftest.$ac_objext \
28676
conftest$ac_exeext conftest.$ac_ext
28677
LIBS="$kde_save_LIBS"
28678
CFLAGS="$kde_save_CFLAGS"
28681
if test ! "$ac_cv_lib_z" = no; then
28683
cat >>confdefs.h <<_ACEOF
28684
#define HAVE_LIBZ 1
28687
LIBZ="$ac_cv_lib_z"
28688
echo "$as_me:$LINENO: result: $ac_cv_lib_z" >&5
28689
echo "${ECHO_T}$ac_cv_lib_z" >&6
28691
{ { echo "$as_me:$LINENO: error: not found.
28692
Possibly configure picks up an outdated version
28693
installed by XFree86. Remove it from your system.
28695
Check your installation and look into config.log" >&5
28696
echo "$as_me: error: not found.
28697
Possibly configure picks up an outdated version
28698
installed by XFree86. Remove it from your system.
28700
Check your installation and look into config.log" >&2;}
28701
{ (exit 1); exit 1; }; }
28709
echo "$as_me:$LINENO: checking for libpng" >&5
28710
echo $ECHO_N "checking for libpng... $ECHO_C" >&6
28711
if test "${ac_cv_lib_png+set}" = set; then
28712
echo $ECHO_N "(cached) $ECHO_C" >&6
28715
kde_save_LIBS="$LIBS"
28716
if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then
28717
LIBS="$LIBS $all_libraries $USER_LDFLAGS -lpng $LIBZ -lm -lX11 $LIBSOCKET"
28719
LIBS="$LIBS $all_libraries $USER_LDFLAGS -lpng $LIBZ -lm"
28721
kde_save_CFLAGS="$CFLAGS"
28722
CFLAGS="$CFLAGS $all_includes $USER_INCLUDES"
28724
cat >conftest.$ac_ext <<_ACEOF
28727
cat confdefs.h >>conftest.$ac_ext
28728
cat >>conftest.$ac_ext <<_ACEOF
28729
/* end confdefs.h. */
28737
png_structp png_ptr = png_create_read_struct( /* image ptr */
28738
PNG_LIBPNG_VER_STRING, 0, 0, 0 );
28739
return( png_ptr != 0 );
28745
rm -f conftest.$ac_objext conftest$ac_exeext
28746
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28747
(eval $ac_link) 2>conftest.er1
28749
grep -v '^ *+' conftest.er1 >conftest.err
28751
cat conftest.err >&5
28752
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28753
(exit $ac_status); } &&
28754
{ ac_try='test -z "$ac_c_werror_flag"
28755
|| test ! -s conftest.err'
28756
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28757
(eval $ac_try) 2>&5
28759
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28760
(exit $ac_status); }; } &&
28761
{ ac_try='test -s conftest$ac_exeext'
28762
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28763
(eval $ac_try) 2>&5
28765
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28766
(exit $ac_status); }; }; then
28767
eval "ac_cv_lib_png='-lpng $LIBZ -lm'"
28769
echo "$as_me: failed program was:" >&5
28770
sed 's/^/| /' conftest.$ac_ext >&5
28772
eval "ac_cv_lib_png=no"
28775
rm -f conftest.err conftest.$ac_objext \
28776
conftest$ac_exeext conftest.$ac_ext
28777
LIBS="$kde_save_LIBS"
28778
CFLAGS="$kde_save_CFLAGS"
28781
if eval "test ! \"`echo $ac_cv_lib_png`\" = no"; then
28783
cat >>confdefs.h <<_ACEOF
28784
#define HAVE_LIBPNG 1
28787
LIBPNG="$ac_cv_lib_png"
28789
echo "$as_me:$LINENO: result: $ac_cv_lib_png" >&5
28790
echo "${ECHO_T}$ac_cv_lib_png" >&6
28792
echo "$as_me:$LINENO: result: no" >&5
28793
echo "${ECHO_T}no" >&6
28800
echo "$as_me:$LINENO: checking for libjpeg6b" >&5
28801
echo $ECHO_N "checking for libjpeg6b... $ECHO_C" >&6
28802
if test "${ac_cv_lib_jpeg_6b+set}" = set; then
28803
echo $ECHO_N "(cached) $ECHO_C" >&6
28806
ac_save_LIBS="$LIBS"
28807
LIBS="$all_libraries $USER_LDFLAGS -ljpeg6b -lm"
28808
ac_save_CFLAGS="$CFLAGS"
28809
CFLAGS="$CFLAGS $all_includes $USER_INCLUDES"
28810
cat >conftest.$ac_ext <<_ACEOF
28813
cat confdefs.h >>conftest.$ac_ext
28814
cat >>conftest.$ac_ext <<_ACEOF
28815
/* end confdefs.h. */
28816
/* Override any gcc2 internal prototype to avoid an error. */
28817
struct jpeg_decompress_struct;
28818
typedef struct jpeg_decompress_struct * j_decompress_ptr;
28819
typedef int size_t;
28823
void jpeg_CreateDecompress(j_decompress_ptr cinfo,
28824
int version, size_t structsize);
28828
/* We use char because int might match the return type of a gcc2
28829
builtin and then its argument prototype would still apply. */
28834
jpeg_CreateDecompress(0L, 0, 0);
28839
rm -f conftest.$ac_objext conftest$ac_exeext
28840
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28841
(eval $ac_link) 2>conftest.er1
28843
grep -v '^ *+' conftest.er1 >conftest.err
28845
cat conftest.err >&5
28846
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28847
(exit $ac_status); } &&
28848
{ ac_try='test -z "$ac_c_werror_flag"
28849
|| test ! -s conftest.err'
28850
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28851
(eval $ac_try) 2>&5
28853
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28854
(exit $ac_status); }; } &&
28855
{ ac_try='test -s conftest$ac_exeext'
28856
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28857
(eval $ac_try) 2>&5
28859
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28860
(exit $ac_status); }; }; then
28861
eval "ac_cv_lib_jpeg_6b=-ljpeg6b"
28863
echo "$as_me: failed program was:" >&5
28864
sed 's/^/| /' conftest.$ac_ext >&5
28866
eval "ac_cv_lib_jpeg_6b=no"
28868
rm -f conftest.err conftest.$ac_objext \
28869
conftest$ac_exeext conftest.$ac_ext
28870
LIBS="$ac_save_LIBS"
28871
CFLAGS="$ac_save_CFLAGS"
28876
if eval "test ! \"`echo $ac_cv_lib_jpeg_6b`\" = no"; then
28877
LIBJPEG="$ac_cv_lib_jpeg_6b"
28878
echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_6b" >&5
28879
echo "${ECHO_T}$ac_cv_lib_jpeg_6b" >&6
28881
echo "$as_me:$LINENO: result: no" >&5
28882
echo "${ECHO_T}no" >&6
28884
echo "$as_me:$LINENO: checking for libjpeg" >&5
28885
echo $ECHO_N "checking for libjpeg... $ECHO_C" >&6
28886
if test "${ac_cv_lib_jpeg_normal+set}" = set; then
28887
echo $ECHO_N "(cached) $ECHO_C" >&6
28890
ac_save_LIBS="$LIBS"
28891
LIBS="$all_libraries $USER_LDFLAGS -ljpeg -lm"
28892
ac_save_CFLAGS="$CFLAGS"
28893
CFLAGS="$CFLAGS $all_includes $USER_INCLUDES"
28894
cat >conftest.$ac_ext <<_ACEOF
28897
cat confdefs.h >>conftest.$ac_ext
28898
cat >>conftest.$ac_ext <<_ACEOF
28899
/* end confdefs.h. */
28900
/* Override any gcc2 internal prototype to avoid an error. */
28901
struct jpeg_decompress_struct;
28902
typedef struct jpeg_decompress_struct * j_decompress_ptr;
28903
typedef int size_t;
28907
void jpeg_CreateDecompress(j_decompress_ptr cinfo,
28908
int version, size_t structsize);
28912
/* We use char because int might match the return type of a gcc2
28913
builtin and then its argument prototype would still apply. */
28918
jpeg_CreateDecompress(0L, 0, 0);
28923
rm -f conftest.$ac_objext conftest$ac_exeext
28924
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28925
(eval $ac_link) 2>conftest.er1
28927
grep -v '^ *+' conftest.er1 >conftest.err
28929
cat conftest.err >&5
28930
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28931
(exit $ac_status); } &&
28932
{ ac_try='test -z "$ac_c_werror_flag"
28933
|| test ! -s conftest.err'
28934
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28935
(eval $ac_try) 2>&5
28937
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28938
(exit $ac_status); }; } &&
28939
{ ac_try='test -s conftest$ac_exeext'
28940
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28941
(eval $ac_try) 2>&5
28943
echo "$as_me:$LINENO: \$? = $ac_status" >&5
28944
(exit $ac_status); }; }; then
28945
eval "ac_cv_lib_jpeg_normal=-ljpeg"
28947
echo "$as_me: failed program was:" >&5
28948
sed 's/^/| /' conftest.$ac_ext >&5
28950
eval "ac_cv_lib_jpeg_normal=no"
28952
rm -f conftest.err conftest.$ac_objext \
28953
conftest$ac_exeext conftest.$ac_ext
28954
LIBS="$ac_save_LIBS"
28955
CFLAGS="$ac_save_CFLAGS"
28960
if eval "test ! \"`echo $ac_cv_lib_jpeg_normal`\" = no"; then
28961
LIBJPEG="$ac_cv_lib_jpeg_normal"
28962
echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_normal" >&5
28963
echo "${ECHO_T}$ac_cv_lib_jpeg_normal" >&6
28965
echo "$as_me:$LINENO: result: no" >&5
28966
echo "${ECHO_T}no" >&6
28979
jpeg_incdirs="$includedir /usr/include /usr/local/include $kde_extra_includes"
28982
for i in $jpeg_incdirs;
28984
for j in jpeglib.h;
28986
echo "configure: 28986: $i/$j" >&5
28987
if test -r "$i/$j"; then
28988
echo "taking that" >&5
28995
test "x$jpeg_incdir" = xNO && jpeg_incdir=
28997
if test -n "$jpeg_incdir" && test -n "$LIBJPEG" ; then
28999
cat >>confdefs.h <<_ACEOF
29000
#define HAVE_LIBJPEG 1
29004
if test -n "$jpeg_incdir" || test -n "$LIBJPEG" ; then
29005
{ echo "$as_me:$LINENO: WARNING:
29006
There is an installation error in jpeg support. You seem to have only one
29007
of either the headers _or_ the libraries installed. You may need to either
29008
provide correct --with-extra-... options, or the development package of
29009
libjpeg6b. You can get a source package of libjpeg from http://www.ijg.org/
29010
Disabling JPEG support.
29012
echo "$as_me: WARNING:
29013
There is an installation error in jpeg support. You seem to have only one
29014
of either the headers _or_ the libraries installed. You may need to either
29015
provide correct --with-extra-... options, or the development package of
29016
libjpeg6b. You can get a source package of libjpeg from http://www.ijg.org/
29017
Disabling JPEG support.
29020
{ echo "$as_me:$LINENO: WARNING: libjpeg not found. disable JPEG support." >&5
29021
echo "$as_me: WARNING: libjpeg not found. disable JPEG support." >&2;}
29033
echo "$as_me:$LINENO: checking for perl" >&5
29034
echo $ECHO_N "checking for perl... $ECHO_C" >&6
29035
if test -n "$PERL"; then
29036
kde_cv_path="$PERL";
29038
kde_cache=`echo perl | sed 'y%./+-%__p_%'`
29040
if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
29041
echo $ECHO_N "(cached) $ECHO_C" >&6
29048
for dir in $PATH; do
29051
if test -z ""; then dirs="$bindir $exec_prefix/bin $prefix/bin $dirs"
29052
else dirs="$dirs $bindir $exec_prefix/bin $prefix/bin"
29056
for dir in $dirs; do
29057
if test -x "$dir/perl"; then
29060
evalstr="$dir/perl 2>&1 "
29061
if eval $evalstr; then
29062
kde_cv_path="$dir/perl"
29066
kde_cv_path="$dir/perl"
29072
eval "kde_cv_path_$kde_cache=$kde_cv_path"
29078
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
29082
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
29083
echo "$as_me:$LINENO: result: not found" >&5
29084
echo "${ECHO_T}not found" >&6
29086
{ { echo "$as_me:$LINENO: error: No Perl found in your $PATH.
29087
We need perl to generate some code." >&5
29088
echo "$as_me: error: No Perl found in your $PATH.
29089
We need perl to generate some code." >&2;}
29090
{ (exit 1); exit 1; }; }
29093
echo "$as_me:$LINENO: result: $kde_cv_path" >&5
29094
echo "${ECHO_T}$kde_cv_path" >&6
29108
# Check whether --enable-mt or --disable-mt was given.
29109
if test "${enable_mt+set}" = set; then
29110
enableval="$enable_mt"
29111
kde_use_qt_mt=$enableval
29114
if test $kde_qtver = 3; then
29128
if test "x$kde_use_qt_mt" = "xyes"; then
29132
if test -z "$LIBPTHREAD"; then
29133
if test -z "$USE_THREADS"; then
29134
kde_check_threading_default=no
29136
kde_check_threading_default=yes
29139
kde_check_threading_default=yes
29141
# Check whether --enable-threading or --disable-threading was given.
29142
if test "${enable_threading+set}" = set; then
29143
enableval="$enable_threading"
29144
kde_use_threading=$enableval
29146
kde_use_threading=$kde_check_threading_default
29148
if test "x$kde_use_threading" = "xyes"; then
29150
cat >>confdefs.h <<\_ACEOF
29151
#define HAVE_LIBPTHREAD 1
29156
if test "x$kde_use_threading" = "xyes"; then
29157
CPPFLAGS="$USE_THREADS -DQT_THREAD_SUPPORT $CPPFLAGS"
29158
KDE_MT_LDFLAGS="$USE_THREADS"
29159
KDE_MT_LIBS="$LIBPTHREAD"
29167
kde_qt_was_given=yes
29169
if test -z "$LIBQT_GLOB"; then
29170
if test "x$kde_use_qt_emb" = "xyes"; then
29171
LIBQT_GLOB="libqte.*"
29173
LIBQT_GLOB="libqt.*"
29177
if test -z "$LIBQT"; then
29178
if test "x$kde_use_qt_emb" = "xyes"; then
29184
kde_int_qt="-l$qtlib"
29186
kde_int_qt="$LIBQT"
29190
if test -z "$LIBQPE"; then
29191
if test "x$kde_use_qt_emb" = "xyes"; then
29192
if test "x$kde_use_qt_emb_palm" = "xyes"; then
29203
if test "x$kde_use_qt_mt" = "xyes"; then
29204
if test -z "$LIBQT"; then
29205
LIBQT="-l$qtlib-mt"
29206
kde_int_qt="-l$qtlib-mt"
29209
kde_int_qt="$qtlib-mt"
29211
LIBQT_GLOB="lib$qtlib-mt.*"
29212
USING_QT_MT="using -mt"
29217
if test $kde_qtver != 1; then
29221
LIBQT="$LIBQT $LIBPNG $LIBJPEG"
29224
if test $kde_qtver = 3; then
29226
LIBQT="$LIBQT $LIBDL"
29229
echo "$as_me:$LINENO: checking for Qt" >&5
29230
echo $ECHO_N "checking for Qt... $ECHO_C" >&6
29232
if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then
29233
LIBQT="$LIBQT $X_PRE_LIBS -lXext -lX11 $LIBSM $LIBSOCKET"
29235
ac_qt_includes=NO ac_qt_libraries=NO ac_qt_bindir=NO
29239
# Check whether --with-qt-dir or --without-qt-dir was given.
29240
if test "${with_qt_dir+set}" = set; then
29241
withval="$with_qt_dir"
29242
ac_qt_includes="$withval"/include
29243
ac_qt_libraries="$withval"/lib${kdelibsuff}
29244
ac_qt_bindir="$withval"/bin
29249
# Check whether --with-qt-includes or --without-qt-includes was given.
29250
if test "${with_qt_includes+set}" = set; then
29251
withval="$with_qt_includes"
29253
ac_qt_includes="$withval"
29257
kde_qt_libs_given=no
29260
# Check whether --with-qt-libraries or --without-qt-libraries was given.
29261
if test "${with_qt_libraries+set}" = set; then
29262
withval="$with_qt_libraries"
29263
ac_qt_libraries="$withval"
29264
kde_qt_libs_given=yes
29268
if test "${ac_cv_have_qt+set}" = set; then
29269
echo $ECHO_N "(cached) $ECHO_C" >&6
29271
#try to guess Qt locations
29274
for dir in $kde_qt_dirs; do
29275
qt_incdirs="$qt_incdirs $dir/include $dir"
29277
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"
29278
if test ! "$ac_qt_includes" = "NO"; then
29279
qt_incdirs="$ac_qt_includes $qt_incdirs"
29282
if test "$kde_qtver" != "1"; then
29283
kde_qt_header=qstyle.h
29285
kde_qt_header=qglobal.h
29290
for i in $qt_incdirs;
29292
for j in $kde_qt_header;
29294
echo "configure: 29294: $i/$j" >&5
29295
if test -r "$i/$j"; then
29296
echo "taking that" >&5
29303
ac_qt_includes="$qt_incdir"
29306
for dir in $kde_qt_dirs; do
29307
qt_libdirs="$qt_libdirs $dir/lib${kdelibsuff} $dir"
29309
qt_libdirs="$QTLIB $qt_libdirs /usr/X11R6/lib /usr/lib /usr/local/qt/lib $x_libraries"
29310
if test ! "$ac_qt_libraries" = "NO"; then
29311
qt_libdir=$ac_qt_libraries
29313
qt_libdirs="$ac_qt_libraries $qt_libdirs"
29314
# if the Qt was given, the chance is too big that libqt.* doesn't exist
29316
for dir in $qt_libdirs; do
29317
try="ls -1 $dir/${LIBQT_GLOB}"
29318
if test -n "`$try 2> /dev/null`"; then qt_libdir=$dir; break; else echo "tried $dir" >&5 ; fi
29321
for a in $qt_libdir/lib`echo ${kde_int_qt} | sed 's,^-l,,'`_incremental.*; do
29322
if test -e "$a"; then
29323
LIBQT="$LIBQT ${kde_int_qt}_incremental"
29328
ac_qt_libraries="$qt_libdir"
29333
ac_cpp='$CXXCPP $CPPFLAGS'
29334
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29335
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29336
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29338
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
29342
ac_cxxflags_safe="$CXXFLAGS"
29343
ac_ldflags_safe="$LDFLAGS"
29344
ac_libs_safe="$LIBS"
29346
CXXFLAGS="$CXXFLAGS -I$qt_incdir $all_includes"
29347
LDFLAGS="$LDFLAGS -L$qt_libdir $all_libraries $USER_LDFLAGS $KDE_MT_LDFLAGS"
29348
LIBS="$LIBS $LIBQT $KDE_MT_LIBS"
29352
cat > conftest.$ac_ext <<EOF
29353
#include "confdefs.h"
29354
#include <qglobal.h>
29355
#include <qapplication.h>
29357
if test "$kde_qtver" = "2"; then
29358
cat >> conftest.$ac_ext <<EOF
29359
#include <qevent.h>
29360
#include <qstring.h>
29361
#include <qstyle.h>
29364
if test $kde_qtsubver -gt 0; then
29365
cat >> conftest.$ac_ext <<EOF
29366
#if QT_VERSION < 210
29373
if test "$kde_qtver" = "3"; then
29374
cat >> conftest.$ac_ext <<EOF
29375
#include <qcursor.h>
29376
#include <qstylefactory.h>
29377
#include <private/qucomextra_p.h>
29381
echo "#if ! ($kde_qt_verstring)" >> conftest.$ac_ext
29382
cat >> conftest.$ac_ext <<EOF
29388
if test "$kde_qtver" = "2"; then
29389
cat >> conftest.$ac_ext <<EOF
29390
QStringList *t = new QStringList();
29393
if test $kde_qtsubver -gt 0; then
29394
cat >> conftest.$ac_ext <<EOF
29396
s.setLatin1("Elvis is alive", 14);
29400
if test "$kde_qtver" = "3"; then
29401
cat >> conftest.$ac_ext <<EOF
29402
(void)QStyleFactory::create(QString::null);
29403
QCursor c(Qt::WhatsThisCursor);
29406
cat >> conftest.$ac_ext <<EOF
29412
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29413
(eval $ac_link) 2>&5
29415
echo "$as_me:$LINENO: \$? = $ac_status" >&5
29416
(exit $ac_status); } && test -s conftest; then
29419
echo "configure: failed program was:" >&5
29420
cat conftest.$ac_ext >&5
29421
ac_qt_libraries="NO"
29424
CXXFLAGS="$ac_cxxflags_safe"
29425
LDFLAGS="$ac_ldflags_safe"
29426
LIBS="$ac_libs_safe"
29429
ac_cpp='$CPP $CPPFLAGS'
29430
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29431
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29432
ac_compiler_gnu=$ac_cv_c_compiler_gnu
29434
if test "$ac_qt_includes" = NO || test "$ac_qt_libraries" = NO; then
29435
ac_cv_have_qt="have_qt=no"
29438
if test "$ac_qt_includes" = NO; then
29439
if test "$ac_qt_libraries" = NO; then
29440
ac_qt_notfound="(headers and libraries)";
29442
ac_qt_notfound="(headers)";
29445
if test "x$kde_use_qt_mt" = "xyes"; then
29447
Make sure that you have compiled Qt with thread support!"
29448
ac_qt_notfound="(library $qtlib-mt)";
29450
ac_qt_notfound="(library $qtlib)";
29454
{ { echo "$as_me:$LINENO: error: Qt ($kde_qt_minversion) $ac_qt_notfound not found. Please check your installation!
29455
For more details about this problem, look at the end of config.log.$missing_qt_mt" >&5
29456
echo "$as_me: error: Qt ($kde_qt_minversion) $ac_qt_notfound not found. Please check your installation!
29457
For more details about this problem, look at the end of config.log.$missing_qt_mt" >&2;}
29458
{ (exit 1); exit 1; }; }
29466
eval "$ac_cv_have_qt"
29468
if test "$have_qt" != yes; then
29469
echo "$as_me:$LINENO: result: $have_qt" >&5
29470
echo "${ECHO_T}$have_qt" >&6;
29472
ac_cv_have_qt="have_qt=yes \
29473
ac_qt_includes=$ac_qt_includes ac_qt_libraries=$ac_qt_libraries"
29474
echo "$as_me:$LINENO: result: libraries $ac_qt_libraries, headers $ac_qt_includes $USING_QT_MT" >&5
29475
echo "${ECHO_T}libraries $ac_qt_libraries, headers $ac_qt_includes $USING_QT_MT" >&6
29477
qt_libraries="$ac_qt_libraries"
29478
qt_includes="$ac_qt_includes"
29481
if test ! "$kde_qt_libs_given" = "yes" && test ! "$kde_qtver" = 3; then
29484
echo "$as_me:$LINENO: checking if Qt compiles without flags" >&5
29485
echo $ECHO_N "checking if Qt compiles without flags... $ECHO_C" >&6
29486
if test "${kde_cv_qt_direct+set}" = set; then
29487
echo $ECHO_N "(cached) $ECHO_C" >&6
29493
ac_cpp='$CXXCPP $CPPFLAGS'
29494
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29495
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29496
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29498
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
29501
ac_LD_LIBRARY_PATH_safe=$LD_LIBRARY_PATH
29502
ac_LIBRARY_PATH="$LIBRARY_PATH"
29503
ac_cxxflags_safe="$CXXFLAGS"
29504
ac_ldflags_safe="$LDFLAGS"
29505
ac_libs_safe="$LIBS"
29507
CXXFLAGS="$CXXFLAGS -I$qt_includes"
29508
LDFLAGS="$LDFLAGS $X_LDFLAGS"
29509
if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then
29510
LIBS="$LIBQT -lXext -lX11 $LIBSOCKET"
29512
LIBS="$LIBQT $LIBSOCKET"
29515
export LD_LIBRARY_PATH
29517
export LIBRARY_PATH
29521
cat > conftest.$ac_ext <<EOF
29522
#include "confdefs.h"
29523
#include <qglobal.h>
29524
#include <qapplication.h>
29526
if test "$kde_qtver" = "2"; then
29527
cat >> conftest.$ac_ext <<EOF
29528
#include <qevent.h>
29529
#include <qstring.h>
29530
#include <qstyle.h>
29533
if test $kde_qtsubver -gt 0; then
29534
cat >> conftest.$ac_ext <<EOF
29535
#if QT_VERSION < 210
29542
if test "$kde_qtver" = "3"; then
29543
cat >> conftest.$ac_ext <<EOF
29544
#include <qcursor.h>
29545
#include <qstylefactory.h>
29546
#include <private/qucomextra_p.h>
29550
echo "#if ! ($kde_qt_verstring)" >> conftest.$ac_ext
29551
cat >> conftest.$ac_ext <<EOF
29557
if test "$kde_qtver" = "2"; then
29558
cat >> conftest.$ac_ext <<EOF
29559
QStringList *t = new QStringList();
29562
if test $kde_qtsubver -gt 0; then
29563
cat >> conftest.$ac_ext <<EOF
29565
s.setLatin1("Elvis is alive", 14);
29569
if test "$kde_qtver" = "3"; then
29570
cat >> conftest.$ac_ext <<EOF
29571
(void)QStyleFactory::create(QString::null);
29572
QCursor c(Qt::WhatsThisCursor);
29575
cat >> conftest.$ac_ext <<EOF
29581
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29582
(eval $ac_link) 2>&5
29584
echo "$as_me:$LINENO: \$? = $ac_status" >&5
29585
(exit $ac_status); } && test -s conftest; then
29586
kde_cv_qt_direct="yes"
29588
kde_cv_qt_direct="no"
29589
echo "configure: failed program was:" >&5
29590
cat conftest.$ac_ext >&5
29594
CXXFLAGS="$ac_cxxflags_safe"
29595
LDFLAGS="$ac_ldflags_safe"
29596
LIBS="$ac_libs_safe"
29598
LD_LIBRARY_PATH="$ac_LD_LIBRARY_PATH_safe"
29599
export LD_LIBRARY_PATH
29600
LIBRARY_PATH="$ac_LIBRARY_PATH"
29601
export LIBRARY_PATH
29603
ac_cpp='$CPP $CPPFLAGS'
29604
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29605
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29606
ac_compiler_gnu=$ac_cv_c_compiler_gnu
29612
if test "$kde_cv_qt_direct" = "yes"; then
29613
echo "$as_me:$LINENO: result: yes" >&5
29614
echo "${ECHO_T}yes" >&6
29617
echo "$as_me:$LINENO: result: no" >&5
29618
echo "${ECHO_T}no" >&6
29627
if test "$qt_includes" = "$x_includes" || test -z "$qt_includes"; then
29630
QT_INCLUDES="-I$qt_includes"
29631
all_includes="$QT_INCLUDES $all_includes"
29634
if test "$qt_libraries" = "$x_libraries" || test -z "$qt_libraries"; then
29637
QT_LDFLAGS="-L$qt_libraries"
29638
all_libraries="$QT_LDFLAGS $all_libraries"
29640
test -z "$KDE_MT_LDFLAGS" || all_libraries="$all_libraries $KDE_MT_LDFLAGS"
29647
for dir in $kde_qt_dirs; do
29648
qt_bindirs="$qt_bindirs $dir/bin $dir/src/moc"
29650
qt_bindirs="$qt_bindirs /usr/bin /usr/X11R6/bin /usr/local/qt/bin"
29651
if test ! "$ac_qt_bindir" = "NO"; then
29652
qt_bindirs="$ac_qt_bindir $qt_bindirs"
29656
echo "$as_me:$LINENO: checking for moc" >&5
29657
echo $ECHO_N "checking for moc... $ECHO_C" >&6
29658
if test -n "$MOC"; then
29659
kde_cv_path="$MOC";
29661
kde_cache=`echo moc | sed 'y%./+-%__p_%'`
29663
if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
29664
echo $ECHO_N "(cached) $ECHO_C" >&6
29671
for dir in $PATH; do
29674
if test -z ""; then dirs="$qt_bindirs $dirs"
29675
else dirs="$dirs $qt_bindirs"
29679
for dir in $dirs; do
29680
if test -x "$dir/moc"; then
29683
evalstr="$dir/moc 2>&1 "
29684
if eval $evalstr; then
29685
kde_cv_path="$dir/moc"
29689
kde_cv_path="$dir/moc"
29695
eval "kde_cv_path_$kde_cache=$kde_cv_path"
29701
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
29705
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
29706
echo "$as_me:$LINENO: result: not found" >&5
29707
echo "${ECHO_T}not found" >&6
29709
{ { echo "$as_me:$LINENO: error: No Qt meta object compiler (moc) found!
29710
Please check whether you installed Qt correctly.
29711
You need to have a running moc binary.
29712
configure tried to run $ac_cv_path_moc and the test didn't
29713
succeed. If configure shouldn't have tried this one, set
29714
the environment variable MOC to the right one before running
29717
echo "$as_me: error: No Qt meta object compiler (moc) found!
29718
Please check whether you installed Qt correctly.
29719
You need to have a running moc binary.
29720
configure tried to run $ac_cv_path_moc and the test didn't
29721
succeed. If configure shouldn't have tried this one, set
29722
the environment variable MOC to the right one before running
29725
{ (exit 1); exit 1; }; }
29728
echo "$as_me:$LINENO: result: $kde_cv_path" >&5
29729
echo "${ECHO_T}$kde_cv_path" >&6
29734
if test -z "$UIC_NOT_NEEDED"; then
29736
echo "$as_me:$LINENO: checking for uic" >&5
29737
echo $ECHO_N "checking for uic... $ECHO_C" >&6
29738
if test -n "$UIC_PATH"; then
29739
kde_cv_path="$UIC_PATH";
29741
kde_cache=`echo uic | sed 'y%./+-%__p_%'`
29743
if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
29744
echo $ECHO_N "(cached) $ECHO_C" >&6
29751
for dir in $PATH; do
29754
if test -z ""; then dirs="$qt_bindirs $dirs"
29755
else dirs="$dirs $qt_bindirs"
29759
for dir in $dirs; do
29760
if test -x "$dir/uic"; then
29763
evalstr="$dir/uic 2>&1 "
29764
if eval $evalstr; then
29765
kde_cv_path="$dir/uic"
29769
kde_cv_path="$dir/uic"
29775
eval "kde_cv_path_$kde_cache=$kde_cv_path"
29781
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
29785
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
29786
echo "$as_me:$LINENO: result: not found" >&5
29787
echo "${ECHO_T}not found" >&6
29790
echo "$as_me:$LINENO: result: $kde_cv_path" >&5
29791
echo "${ECHO_T}$kde_cv_path" >&6
29792
UIC_PATH=$kde_cv_path
29796
if test -z "$UIC_PATH" ; then
29798
{ echo "$as_me:$LINENO: WARNING: No Qt ui compiler (uic) found!
29799
Please check whether you installed Qt correctly.
29800
You need to have a running uic binary.
29801
configure tried to run $ac_cv_path_uic and the test didn't
29802
succeed. If configure shouldn't have tried this one, set
29803
the environment variable UIC to the right one before running
29806
echo "$as_me: WARNING: No Qt ui compiler (uic) found!
29807
Please check whether you installed Qt correctly.
29808
You need to have a running uic binary.
29809
configure tried to run $ac_cv_path_uic and the test didn't
29810
succeed. If configure shouldn't have tried this one, set
29811
the environment variable UIC to the right one before running
29819
if test $kde_qtver = 3; then
29821
echo "$as_me:$LINENO: checking whether uic supports -L " >&5
29822
echo $ECHO_N "checking whether uic supports -L ... $ECHO_C" >&6
29823
kde_cache=`echo L | sed 'y% .=/+-%____p_%'`
29824
if eval "test \"\${kde_cv_prog_uic_$kde_cache+set}\" = set"; then
29825
echo $ECHO_N "(cached) $ECHO_C" >&6
29828
cat >conftest.ui <<EOT
29829
<!DOCTYPE UI><UI version="3" stdsetdef="1"></UI>
29831
ac_uic_testrun="$UIC_PATH -L /nonexistent conftest.ui >/dev/null"
29832
if { (eval echo "$as_me:$LINENO: \"$ac_uic_testrun\"") >&5
29833
(eval $ac_uic_testrun) 2>&5
29835
echo "$as_me:$LINENO: \$? = $ac_status" >&5
29836
(exit $ac_status); }; then
29837
eval "kde_cv_prog_uic_$kde_cache=yes"
29839
eval "kde_cv_prog_uic_$kde_cache=no"
29846
if eval "test \"`echo '$kde_cv_prog_uic_'$kde_cache`\" = yes"; then
29847
echo "$as_me:$LINENO: result: yes" >&5
29848
echo "${ECHO_T}yes" >&6
29850
ac_uic_supports_libpath=yes
29852
echo "$as_me:$LINENO: result: no" >&5
29853
echo "${ECHO_T}no" >&6
29855
ac_uic_supports_libpath=no
29859
echo "$as_me:$LINENO: checking whether uic supports -nounload " >&5
29860
echo $ECHO_N "checking whether uic supports -nounload ... $ECHO_C" >&6
29861
kde_cache=`echo nounload | sed 'y% .=/+-%____p_%'`
29862
if eval "test \"\${kde_cv_prog_uic_$kde_cache+set}\" = set"; then
29863
echo $ECHO_N "(cached) $ECHO_C" >&6
29866
cat >conftest.ui <<EOT
29867
<!DOCTYPE UI><UI version="3" stdsetdef="1"></UI>
29869
ac_uic_testrun="$UIC_PATH -nounload conftest.ui >/dev/null"
29870
if { (eval echo "$as_me:$LINENO: \"$ac_uic_testrun\"") >&5
29871
(eval $ac_uic_testrun) 2>&5
29873
echo "$as_me:$LINENO: \$? = $ac_status" >&5
29874
(exit $ac_status); }; then
29875
eval "kde_cv_prog_uic_$kde_cache=yes"
29877
eval "kde_cv_prog_uic_$kde_cache=no"
29884
if eval "test \"`echo '$kde_cv_prog_uic_'$kde_cache`\" = yes"; then
29885
echo "$as_me:$LINENO: result: yes" >&5
29886
echo "${ECHO_T}yes" >&6
29888
ac_uic_supports_nounload=yes
29890
echo "$as_me:$LINENO: result: no" >&5
29891
echo "${ECHO_T}no" >&6
29893
ac_uic_supports_nounload=no
29897
if test x$ac_uic_supports_libpath = xyes; then
29898
UIC="$UIC -L \$(kde_widgetdir)"
29900
if test x$ac_uic_supports_nounload = xyes; then
29901
UIC="$UIC -nounload"
29906
UIC="echo uic not available: "
29913
if test $kde_qtver = 3; then
29921
if test -n "$LIBJPEG"; then
29922
echo "$as_me:$LINENO: checking if Qt needs $LIBJPEG" >&5
29923
echo $ECHO_N "checking if Qt needs $LIBJPEG... $ECHO_C" >&6
29924
if test "${kde_cv_qt_jpeg+set}" = set; then
29925
echo $ECHO_N "(cached) $ECHO_C" >&6
29931
ac_cpp='$CXXCPP $CPPFLAGS'
29932
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29933
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29934
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29936
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
29939
ac_save_LIBS="$LIBS"
29940
LIBS="$all_libraries $USER_LDFLAGS $LIBQT"
29941
LIBS=`echo $LIBS | sed "s/$LIBJPEG//"`
29942
ac_save_CXXFLAGS="$CXXFLAGS"
29943
CXXFLAGS="$CXXFLAGS $all_includes $USER_INCLUDES"
29944
cat >conftest.$ac_ext <<_ACEOF
29947
cat confdefs.h >>conftest.$ac_ext
29948
cat >>conftest.$ac_ext <<_ACEOF
29949
/* end confdefs.h. */
29950
#include <qapplication.h>
29957
QApplication app(argc, argv);
29962
rm -f conftest.$ac_objext conftest$ac_exeext
29963
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29964
(eval $ac_link) 2>conftest.er1
29966
grep -v '^ *+' conftest.er1 >conftest.err
29968
cat conftest.err >&5
29969
echo "$as_me:$LINENO: \$? = $ac_status" >&5
29970
(exit $ac_status); } &&
29971
{ ac_try='test -z "$ac_cxx_werror_flag"
29972
|| test ! -s conftest.err'
29973
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29974
(eval $ac_try) 2>&5
29976
echo "$as_me:$LINENO: \$? = $ac_status" >&5
29977
(exit $ac_status); }; } &&
29978
{ ac_try='test -s conftest$ac_exeext'
29979
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29980
(eval $ac_try) 2>&5
29982
echo "$as_me:$LINENO: \$? = $ac_status" >&5
29983
(exit $ac_status); }; }; then
29984
eval "kde_cv_qt_jpeg=no"
29986
echo "$as_me: failed program was:" >&5
29987
sed 's/^/| /' conftest.$ac_ext >&5
29989
eval "kde_cv_qt_jpeg=yes"
29991
rm -f conftest.err conftest.$ac_objext \
29992
conftest$ac_exeext conftest.$ac_ext
29993
LIBS="$ac_save_LIBS"
29994
CXXFLAGS="$ac_save_CXXFLAGS"
29996
ac_cpp='$CPP $CPPFLAGS'
29997
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29998
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29999
ac_compiler_gnu=$ac_cv_c_compiler_gnu
30006
if eval "test ! \"`echo $kde_cv_qt_jpeg`\" = no"; then
30007
echo "$as_me:$LINENO: result: yes" >&5
30008
echo "${ECHO_T}yes" >&6
30009
LIBJPEG_QT='$(LIBJPEG)'
30011
echo "$as_me:$LINENO: result: no" >&5
30012
echo "${ECHO_T}no" >&6
30018
if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then
30019
LIB_QT="$kde_int_qt $LIBJPEG_QT "'$(LIBZ) $(LIBPNG) -lXext $(LIB_X11) $(LIBSM)'
30021
LIB_QT="$kde_int_qt $LIBJPEG_QT "'$(LIBZ) $(LIBPNG)'
30023
test -z "$KDE_MT_LIBS" || LIB_QT="$LIB_QT $KDE_MT_LIBS"
30024
for a in $qt_libdir/lib`echo ${kde_int_qt} | sed 's,^-l,,'`_incremental.*; do
30025
if test -e "$a"; then
30026
LIB_QT="$LIB_QT ${kde_int_qt}_incremental"
30043
echo "$as_me:$LINENO: checking for rpath" >&5
30044
echo $ECHO_N "checking for rpath... $ECHO_C" >&6
30045
# Check whether --enable-rpath or --disable-rpath was given.
30046
if test "${enable_rpath+set}" = set; then
30047
enableval="$enable_rpath"
30048
USE_RPATH=$enableval
30053
if test -z "$KDE_RPATH" && test "$USE_RPATH" = "yes"; then
30055
KDE_RPATH="-R \$(kde_libraries)"
30057
if test -n "$qt_libraries"; then
30058
KDE_RPATH="$KDE_RPATH -R \$(qt_libraries)"
30060
if test -n "$X_LDFLAGS"; then
30061
X_RPATH="-R \$(x_libraries)"
30062
KDE_RPATH="$KDE_RPATH $X_RPATH"
30064
if test -n "$KDE_EXTRA_RPATH"; then
30065
KDE_RPATH="$KDE_RPATH \$(KDE_EXTRA_RPATH)"
30071
echo "$as_me:$LINENO: result: $USE_RPATH" >&5
30072
echo "${ECHO_T}$USE_RPATH" >&6
30074
echo "$as_me:$LINENO: checking for KDE" >&5
30075
echo $ECHO_N "checking for KDE... $ECHO_C" >&6
30077
if test "${prefix}" != NONE; then
30078
kde_includes=${includedir}
30081
test "x$exec_prefix" = xNONE && exec_prefix=$prefix
30083
while ac_kde_includes=`eval echo "$tmp"`; test "x$ac_kde_includes" != "x$tmp"; do tmp=$ac_kde_includes; done
30087
kde_libraries=${libdir}
30090
test "x$exec_prefix" = xNONE && exec_prefix=$prefix
30092
while ac_kde_libraries=`eval echo "$tmp"`; test "x$ac_kde_libraries" != "x$tmp"; do tmp=$ac_kde_libraries; done
30103
if test "${ac_cv_have_kde+set}" = set; then
30104
echo $ECHO_N "(cached) $ECHO_C" >&6
30106
#try to guess kde locations
30108
if test "$kde_qtver" = 1; then
30109
kde_check_header="ksock.h"
30110
kde_check_lib="libkdecore.la"
30112
kde_check_header="ksharedptr.h"
30113
kde_check_lib="libkio.la"
30116
if test -z ""; then
30118
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"
30119
test -n "$KDEDIR" && kde_incdirs="$KDEDIR/include $KDEDIR/include/kde $KDEDIR $kde_incdirs"
30120
kde_incdirs="$ac_kde_includes $kde_incdirs"
30123
for i in $kde_incdirs;
30125
for j in $kde_check_header;
30127
echo "configure: 30127: $i/$j" >&5
30128
if test -r "$i/$j"; then
30129
echo "taking that" >&5
30136
ac_kde_includes="$kde_incdir"
30138
if test -n "$ac_kde_includes" && test ! -r "$ac_kde_includes/$kde_check_header"; then
30139
{ { echo "$as_me:$LINENO: error:
30140
in the prefix, you've chosen, are no KDE headers installed. This will fail.
30141
So, check this please and use another prefix!" >&5
30142
echo "$as_me: error:
30143
in the prefix, you've chosen, are no KDE headers installed. This will fail.
30144
So, check this please and use another prefix!" >&2;}
30145
{ (exit 1); exit 1; }; }
30148
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}"
30149
test -n "$KDEDIR" && kde_libdirs="$KDEDIR/lib${kdelibsuff} $KDEDIR $kde_libdirs"
30150
kde_libdirs="$ac_kde_libraries $libdir $kde_libdirs"
30153
for i in $kde_libdirs;
30155
for j in $kde_check_lib;
30157
echo "configure: 30157: $i/$j" >&5
30158
if test -r "$i/$j"; then
30159
echo "taking that" >&5
30166
ac_kde_libraries="$kde_libdir"
30171
for i in $kde_libdirs;
30173
for j in "kde3/plugins/designer/kdewidgets.la";
30175
echo "configure: 30175: $i/$j" >&5
30176
if test -r "$i/$j"; then
30177
echo "taking that" >&5
30185
if test -n "$ac_kde_libraries" && test ! -r "$ac_kde_libraries/$kde_check_lib"; then
30186
{ { echo "$as_me:$LINENO: error:
30187
in the prefix, you've chosen, are no KDE libraries installed. This will fail.
30188
So, check this please and use another prefix!" >&5
30189
echo "$as_me: error:
30190
in the prefix, you've chosen, are no KDE libraries installed. This will fail.
30191
So, check this please and use another prefix!" >&2;}
30192
{ (exit 1); exit 1; }; }
30195
if test -n "$kde_widgetdir" && test ! -r "$kde_widgetdir/kde3/plugins/designer/kdewidgets.la"; then
30196
{ { echo "$as_me:$LINENO: error:
30197
I can't find the designer plugins. These are required and should have been installed
30199
echo "$as_me: error:
30200
I can't find the designer plugins. These are required and should have been installed
30202
{ (exit 1); exit 1; }; }
30205
if test -n "$kde_widgetdir"; then
30206
kde_widgetdir="$kde_widgetdir/kde3/plugins/designer"
30210
if test "$ac_kde_includes" = NO || test "$ac_kde_libraries" = NO || test "$kde_widgetdir" = NO; then
30211
ac_cv_have_kde="have_kde=no"
30213
ac_cv_have_kde="have_kde=yes \
30214
ac_kde_includes=$ac_kde_includes ac_kde_libraries=$ac_kde_libraries"
30218
ac_cv_have_kde="have_kde=no"
30224
eval "$ac_cv_have_kde"
30226
if test "$have_kde" != "yes"; then
30227
if test "${prefix}" = NONE; then
30228
ac_kde_prefix="$ac_default_prefix"
30230
ac_kde_prefix="$prefix"
30232
if test "$exec_prefix" = NONE; then
30233
ac_kde_exec_prefix="$ac_kde_prefix"
30234
echo "$as_me:$LINENO: result: will be installed in $ac_kde_prefix" >&5
30235
echo "${ECHO_T}will be installed in $ac_kde_prefix" >&6
30237
ac_kde_exec_prefix="$exec_prefix"
30238
echo "$as_me:$LINENO: result: will be installed in $ac_kde_prefix and $ac_kde_exec_prefix" >&5
30239
echo "${ECHO_T}will be installed in $ac_kde_prefix and $ac_kde_exec_prefix" >&6
30242
kde_libraries="${libdir}"
30243
kde_includes="${includedir}"
30246
ac_cv_have_kde="have_kde=yes \
30247
ac_kde_includes=$ac_kde_includes ac_kde_libraries=$ac_kde_libraries"
30248
echo "$as_me:$LINENO: result: libraries $ac_kde_libraries, headers $ac_kde_includes" >&5
30249
echo "${ECHO_T}libraries $ac_kde_libraries, headers $ac_kde_includes" >&6
30251
kde_libraries="$ac_kde_libraries"
30252
kde_includes="$ac_kde_includes"
30257
if test "$kde_includes" = "$x_includes" || test "$kde_includes" = "$qt_includes" || test "$kde_includes" = "/usr/include"; then
30260
KDE_INCLUDES="-I$kde_includes"
30261
all_includes="$KDE_INCLUDES $all_includes"
30264
KDE_DEFAULT_CXXFLAGS="-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION"
30266
KDE_LDFLAGS="-L$kde_libraries"
30267
if test ! "$kde_libraries" = "$x_libraries" && test ! "$kde_libraries" = "$qt_libraries" ; then
30268
all_libraries="$KDE_LDFLAGS $all_libraries"
30276
all_libraries="$USER_LDFLAGS $all_libraries"
30277
all_includes="$all_includes $USER_INCLUDES"
30281
if test -z ""; then
30285
if test x$ac_uic_supports_libpath = xyes; then
30287
echo "$as_me:$LINENO: checking if UIC has KDE plugins available" >&5
30288
echo $ECHO_N "checking if UIC has KDE plugins available... $ECHO_C" >&6
30289
if test "${kde_cv_uic_plugins+set}" = set; then
30290
echo $ECHO_N "(cached) $ECHO_C" >&6
30293
cat > actest.ui << EOF
30294
<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
30295
<class>NewConnectionDialog</class>
30296
<widget class="QDialog">
30297
<widget class="KLineEdit">
30298
<property name="name">
30299
<cstring>testInput</cstring>
30308
kde_cv_uic_plugins=no
30309
kde_line="$UIC_PATH -L $kde_widgetdir"
30310
if test x$ac_uic_supports_nounload = xyes; then
30311
kde_line="$kde_line -nounload"
30313
kde_line="$kde_line -impl actest.h actest.ui > actest.cpp"
30314
if { (eval echo "$as_me:$LINENO: \"$kde_line\"") >&5
30315
(eval $kde_line) 2>&5
30317
echo "$as_me:$LINENO: \$? = $ac_status" >&5
30318
(exit $ac_status); }; then
30319
# if you're trying to debug this check and think it's incorrect,
30320
# better check your installation. The check _is_ correct - your
30321
# installation is not.
30322
if test -f actest.cpp && grep klineedit actest.cpp > /dev/null; then
30323
kde_cv_uic_plugins=yes
30326
rm -f actest.ui actest.cpp
30331
echo "$as_me:$LINENO: result: $kde_cv_uic_plugins" >&5
30332
echo "${ECHO_T}$kde_cv_uic_plugins" >&6
30333
if test "$kde_cv_uic_plugins" != yes; then
30334
{ { echo "$as_me:$LINENO: error: you need to install kdelibs first." >&5
30335
echo "$as_me: error: you need to install kdelibs first." >&2;}
30336
{ (exit 1); exit 1; }; }
30342
ac_kde_libraries="$kde_libdir"
30348
# Check whether --enable-path-check or --disable-path-check was given.
30349
if test "${enable_path_check+set}" = set; then
30350
enableval="$enable_path_check"
30352
if test "$enableval" = "no";
30353
then ac_use_path_checking="default"
30354
else ac_use_path_checking=""
30359
if test "$kde_qtver" = 1;
30360
then ac_use_path_checking=""
30361
else ac_use_path_checking="default"
30370
echo "$as_me:$LINENO: checking for KDE paths" >&5
30371
echo $ECHO_N "checking for KDE paths... $ECHO_C" >&6
30373
kde_cached_paths=yes
30374
if test "${kde_cv_all_paths+set}" = set; then
30375
echo $ECHO_N "(cached) $ECHO_C" >&6
30379
if test "$ac_use_path_checking" = "default"; then
30381
if test -z "$kde_htmldir"; then
30382
kde_htmldir='\${datadir}/doc/HTML'
30384
if test -z "$kde_appsdir"; then
30385
kde_appsdir='\${datadir}/applnk'
30387
if test -z "$kde_icondir"; then
30388
kde_icondir='\${datadir}/icons'
30390
if test -z "$kde_sounddir"; then
30391
kde_sounddir='\${datadir}/sounds'
30393
if test -z "$kde_datadir"; then
30394
kde_datadir='\${datadir}/apps'
30396
if test -z "$kde_locale"; then
30397
kde_locale='\${datadir}/locale'
30399
if test -z "$kde_cgidir"; then
30400
kde_cgidir='\${exec_prefix}/cgi-bin'
30402
if test -z "$kde_confdir"; then
30403
kde_confdir='\${datadir}/config'
30405
if test -z "$kde_kcfgdir"; then
30406
kde_kcfgdir='\${datadir}/config.kcfg'
30408
if test -z "$kde_mimedir"; then
30409
kde_mimedir='\${datadir}/mimelnk'
30411
if test -z "$kde_toolbardir"; then
30412
kde_toolbardir='\${datadir}/toolbar'
30414
if test -z "$kde_wallpaperdir"; then
30415
kde_wallpaperdir='\${datadir}/wallpapers'
30417
if test -z "$kde_templatesdir"; then
30418
kde_templatesdir='\${datadir}/templates'
30420
if test -z "$kde_bindir"; then
30421
kde_bindir='\${exec_prefix}/bin'
30423
if test -z "$kde_servicesdir"; then
30424
kde_servicesdir='\${datadir}/services'
30426
if test -z "$kde_servicetypesdir"; then
30427
kde_servicetypesdir='\${datadir}/servicetypes'
30429
if test -z "$kde_moduledir"; then
30430
if test "$kde_qtver" = "2"; then
30431
kde_moduledir='\${libdir}/kde2'
30433
kde_moduledir='\${libdir}/kde3'
30436
if test -z "$kde_styledir"; then
30437
kde_styledir='\${libdir}/kde3/plugins/styles'
30439
if test -z "$kde_widgetdir"; then
30440
kde_widgetdir='\${libdir}/kde3/plugins/designer'
30442
if test -z "$xdg_appsdir"; then
30443
xdg_appsdir='\${datadir}/applications/kde'
30445
if test -z "$xdg_menudir"; then
30446
xdg_menudir='\${sysconfdir}/xdg/menus'
30448
if test -z "$xdg_directorydir"; then
30449
xdg_directorydir='\${datadir}/desktop-directories'
30453
kde_cv_all_paths="kde_have_all_paths=\"yes\" \
30454
kde_htmldir=\"$kde_htmldir\" \
30455
kde_appsdir=\"$kde_appsdir\" \
30456
kde_icondir=\"$kde_icondir\" \
30457
kde_sounddir=\"$kde_sounddir\" \
30458
kde_datadir=\"$kde_datadir\" \
30459
kde_locale=\"$kde_locale\" \
30460
kde_cgidir=\"$kde_cgidir\" \
30461
kde_confdir=\"$kde_confdir\" \
30462
kde_kcfgdir=\"$kde_kcfgdir\" \
30463
kde_mimedir=\"$kde_mimedir\" \
30464
kde_toolbardir=\"$kde_toolbardir\" \
30465
kde_wallpaperdir=\"$kde_wallpaperdir\" \
30466
kde_templatesdir=\"$kde_templatesdir\" \
30467
kde_bindir=\"$kde_bindir\" \
30468
kde_servicesdir=\"$kde_servicesdir\" \
30469
kde_servicetypesdir=\"$kde_servicetypesdir\" \
30470
kde_moduledir=\"$kde_moduledir\" \
30471
kde_styledir=\"$kde_styledir\" \
30472
kde_widgetdir=\"$kde_widgetdir\" \
30473
xdg_appsdir=\"$xdg_appsdir\" \
30474
xdg_menudir=\"$xdg_menudir\" \
30475
xdg_directorydir=\"$xdg_directorydir\" \
30476
kde_result=defaults"
30481
if test $kde_qtver = 1; then
30482
echo "$as_me:$LINENO: result: compiling" >&5
30483
echo "${ECHO_T}compiling" >&6
30486
echo "$as_me:$LINENO: checking for KDE headers installed" >&5
30487
echo $ECHO_N "checking for KDE headers installed... $ECHO_C" >&6
30491
ac_cpp='$CXXCPP $CPPFLAGS'
30492
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30493
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30494
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30496
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
30499
cat > conftest.$ac_ext <<EOF
30500
#ifdef STDC_HEADERS
30501
# include <stdlib.h>
30504
#include "confdefs.h"
30508
printf("kde_htmldir=\\"%s\\"\n", KApplication::kde_htmldir().data());
30509
printf("kde_appsdir=\\"%s\\"\n", KApplication::kde_appsdir().data());
30510
printf("kde_icondir=\\"%s\\"\n", KApplication::kde_icondir().data());
30511
printf("kde_sounddir=\\"%s\\"\n", KApplication::kde_sounddir().data());
30512
printf("kde_datadir=\\"%s\\"\n", KApplication::kde_datadir().data());
30513
printf("kde_locale=\\"%s\\"\n", KApplication::kde_localedir().data());
30514
printf("kde_cgidir=\\"%s\\"\n", KApplication::kde_cgidir().data());
30515
printf("kde_confdir=\\"%s\\"\n", KApplication::kde_configdir().data());
30516
printf("kde_mimedir=\\"%s\\"\n", KApplication::kde_mimedir().data());
30517
printf("kde_toolbardir=\\"%s\\"\n", KApplication::kde_toolbardir().data());
30518
printf("kde_wallpaperdir=\\"%s\\"\n",
30519
KApplication::kde_wallpaperdir().data());
30520
printf("kde_bindir=\\"%s\\"\n", KApplication::kde_bindir().data());
30521
printf("kde_partsdir=\\"%s\\"\n", KApplication::kde_partsdir().data());
30522
printf("kde_servicesdir=\\"/tmp/dummy\\"\n");
30523
printf("kde_servicetypesdir=\\"/tmp/dummy\\"\n");
30524
printf("kde_moduledir=\\"/tmp/dummy\\"\n");
30525
printf("kde_styledir=\\"/tmp/dummy\\"\n");
30526
printf("kde_widgetdir=\\"/tmp/dummy\\"\n");
30527
printf("xdg_appsdir=\\"/tmp/dummy\\"\n");
30528
printf("xdg_menudir=\\"/tmp/dummy\\"\n");
30529
printf("xdg_directorydir=\\"/tmp/dummy\\"\n");
30530
printf("kde_kcfgdir=\\"/tmp/dummy\\"\n");
30535
ac_save_CPPFLAGS=$CPPFLAGS
30536
CPPFLAGS="$all_includes $CPPFLAGS"
30537
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30538
(eval $ac_compile) 2>&5
30540
echo "$as_me:$LINENO: \$? = $ac_status" >&5
30541
(exit $ac_status); }; then
30542
echo "$as_me:$LINENO: result: yes" >&5
30543
echo "${ECHO_T}yes" >&6
30545
{ { echo "$as_me:$LINENO: error: your system is not able to compile a small KDE application!
30546
Check, if you installed the KDE header files correctly.
30547
For more details about this problem, look at the end of config.log." >&5
30548
echo "$as_me: error: your system is not able to compile a small KDE application!
30549
Check, if you installed the KDE header files correctly.
30550
For more details about this problem, look at the end of config.log." >&2;}
30551
{ (exit 1); exit 1; }; }
30553
CPPFLAGS=$ac_save_CPPFLAGS
30556
ac_cpp='$CPP $CPPFLAGS'
30557
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30558
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30559
ac_compiler_gnu=$ac_cv_c_compiler_gnu
30565
if test -n "$USE_RPATH"; then
30567
if test -n "$kde_libraries"; then
30568
KDE_TEST_RPATH="-R $kde_libraries"
30571
if test -n "$qt_libraries"; then
30572
KDE_TEST_RPATH="$KDE_TEST_RPATH -R $qt_libraries"
30575
if test -n "$x_libraries"; then
30576
KDE_TEST_RPATH="$KDE_TEST_RPATH -R $x_libraries"
30579
KDE_TEST_RPATH="$KDE_TEST_RPATH $KDE_EXTRA_RPATH"
30582
echo "$as_me:$LINENO: checking for KDE libraries installed" >&5
30583
echo $ECHO_N "checking for KDE libraries installed... $ECHO_C" >&6
30584
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'
30586
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30587
(eval $ac_link) 2>&5
30589
echo "$as_me:$LINENO: \$? = $ac_status" >&5
30590
(exit $ac_status); } && test -s conftest; then
30591
echo "$as_me:$LINENO: result: yes" >&5
30592
echo "${ECHO_T}yes" >&6
30594
{ { echo "$as_me:$LINENO: error: your system fails at linking a small KDE application!
30595
Check, if your compiler is installed correctly and if you have used the
30596
same compiler to compile Qt and kdelibs as you did use now.
30597
For more details about this problem, look at the end of config.log." >&5
30598
echo "$as_me: error: your system fails at linking a small KDE application!
30599
Check, if your compiler is installed correctly and if you have used the
30600
same compiler to compile Qt and kdelibs as you did use now.
30601
For more details about this problem, look at the end of config.log." >&2;}
30602
{ (exit 1); exit 1; }; }
30605
if eval `KDEDIR= ./conftest 2>&5`; then
30608
kde_result=problems
30611
KDEDIR= ./conftest 2> /dev/null >&5 # make an echo for config.log
30612
kde_have_all_paths=yes
30615
kde_cv_all_paths="kde_have_all_paths=\"yes\" \
30616
kde_htmldir=\"$kde_htmldir\" \
30617
kde_appsdir=\"$kde_appsdir\" \
30618
kde_icondir=\"$kde_icondir\" \
30619
kde_sounddir=\"$kde_sounddir\" \
30620
kde_datadir=\"$kde_datadir\" \
30621
kde_locale=\"$kde_locale\" \
30622
kde_cgidir=\"$kde_cgidir\" \
30623
kde_confdir=\"$kde_confdir\" \
30624
kde_kcfgdir=\"$kde_kcfgdir\" \
30625
kde_mimedir=\"$kde_mimedir\" \
30626
kde_toolbardir=\"$kde_toolbardir\" \
30627
kde_wallpaperdir=\"$kde_wallpaperdir\" \
30628
kde_templatesdir=\"$kde_templatesdir\" \
30629
kde_bindir=\"$kde_bindir\" \
30630
kde_servicesdir=\"$kde_servicesdir\" \
30631
kde_servicetypesdir=\"$kde_servicetypesdir\" \
30632
kde_moduledir=\"$kde_moduledir\" \
30633
kde_styledir=\"$kde_styledir\" \
30634
kde_widgetdir=\"$kde_widgetdir\" \
30635
xdg_appsdir=\"$xdg_appsdir\" \
30636
xdg_menudir=\"$xdg_menudir\" \
30637
xdg_directorydir=\"$xdg_directorydir\" \
30638
kde_result=$kde_result"
30643
{ { echo "$as_me:$LINENO: error: path checking not yet supported for KDE 2" >&5
30644
echo "$as_me: error: path checking not yet supported for KDE 2" >&2;}
30645
{ (exit 1); exit 1; }; }
30650
kde_cached_paths=no
30654
eval "$kde_cv_all_paths"
30655
if test -z "$kde_htmldir" || test -z "$kde_appsdir" ||
30656
test -z "$kde_icondir" || test -z "$kde_sounddir" ||
30657
test -z "$kde_datadir" || test -z "$kde_locale" ||
30658
test -z "$kde_cgidir" || test -z "$kde_confdir" ||
30659
test -z "$kde_kcfgdir" ||
30660
test -z "$kde_mimedir" || test -z "$kde_toolbardir" ||
30661
test -z "$kde_wallpaperdir" || test -z "$kde_templatesdir" ||
30662
test -z "$kde_bindir" || test -z "$kde_servicesdir" ||
30663
test -z "$kde_servicetypesdir" || test -z "$kde_moduledir" ||
30664
test -z "$kde_styledir" || test -z "kde_widgetdir" ||
30665
test -z "$xdg_appsdir" || test -z "$xdg_menudir" || test -z "$xdg_directorydir" ||
30666
test "x$kde_have_all_paths" != "xyes"; then
30667
kde_have_all_paths=no
30670
if test "$kde_have_all_paths" = "no" && test "$kde_cached_paths" = "yes"; then
30671
# wrong values were cached, may be, we can set better ones
30673
kde_htmldir= kde_appsdir= kde_icondir= kde_sounddir=
30674
kde_datadir= kde_locale= kde_cgidir= kde_confdir= kde_kcfgdir=
30675
kde_mimedir= kde_toolbardir= kde_wallpaperdir= kde_templatesdir=
30676
kde_bindir= kde_servicesdir= kde_servicetypesdir= kde_moduledir=
30677
kde_have_all_paths=
30680
xdg_appsdir = xdg_menudir= xdg_directorydir=
30682
if test "$ac_use_path_checking" = "default"; then
30684
if test -z "$kde_htmldir"; then
30685
kde_htmldir='\${datadir}/doc/HTML'
30687
if test -z "$kde_appsdir"; then
30688
kde_appsdir='\${datadir}/applnk'
30690
if test -z "$kde_icondir"; then
30691
kde_icondir='\${datadir}/icons'
30693
if test -z "$kde_sounddir"; then
30694
kde_sounddir='\${datadir}/sounds'
30696
if test -z "$kde_datadir"; then
30697
kde_datadir='\${datadir}/apps'
30699
if test -z "$kde_locale"; then
30700
kde_locale='\${datadir}/locale'
30702
if test -z "$kde_cgidir"; then
30703
kde_cgidir='\${exec_prefix}/cgi-bin'
30705
if test -z "$kde_confdir"; then
30706
kde_confdir='\${datadir}/config'
30708
if test -z "$kde_kcfgdir"; then
30709
kde_kcfgdir='\${datadir}/config.kcfg'
30711
if test -z "$kde_mimedir"; then
30712
kde_mimedir='\${datadir}/mimelnk'
30714
if test -z "$kde_toolbardir"; then
30715
kde_toolbardir='\${datadir}/toolbar'
30717
if test -z "$kde_wallpaperdir"; then
30718
kde_wallpaperdir='\${datadir}/wallpapers'
30720
if test -z "$kde_templatesdir"; then
30721
kde_templatesdir='\${datadir}/templates'
30723
if test -z "$kde_bindir"; then
30724
kde_bindir='\${exec_prefix}/bin'
30726
if test -z "$kde_servicesdir"; then
30727
kde_servicesdir='\${datadir}/services'
30729
if test -z "$kde_servicetypesdir"; then
30730
kde_servicetypesdir='\${datadir}/servicetypes'
30732
if test -z "$kde_moduledir"; then
30733
if test "$kde_qtver" = "2"; then
30734
kde_moduledir='\${libdir}/kde2'
30736
kde_moduledir='\${libdir}/kde3'
30739
if test -z "$kde_styledir"; then
30740
kde_styledir='\${libdir}/kde3/plugins/styles'
30742
if test -z "$kde_widgetdir"; then
30743
kde_widgetdir='\${libdir}/kde3/plugins/designer'
30745
if test -z "$xdg_appsdir"; then
30746
xdg_appsdir='\${datadir}/applications/kde'
30748
if test -z "$xdg_menudir"; then
30749
xdg_menudir='\${sysconfdir}/xdg/menus'
30751
if test -z "$xdg_directorydir"; then
30752
xdg_directorydir='\${datadir}/desktop-directories'
30756
kde_cv_all_paths="kde_have_all_paths=\"yes\" \
30757
kde_htmldir=\"$kde_htmldir\" \
30758
kde_appsdir=\"$kde_appsdir\" \
30759
kde_icondir=\"$kde_icondir\" \
30760
kde_sounddir=\"$kde_sounddir\" \
30761
kde_datadir=\"$kde_datadir\" \
30762
kde_locale=\"$kde_locale\" \
30763
kde_cgidir=\"$kde_cgidir\" \
30764
kde_confdir=\"$kde_confdir\" \
30765
kde_kcfgdir=\"$kde_kcfgdir\" \
30766
kde_mimedir=\"$kde_mimedir\" \
30767
kde_toolbardir=\"$kde_toolbardir\" \
30768
kde_wallpaperdir=\"$kde_wallpaperdir\" \
30769
kde_templatesdir=\"$kde_templatesdir\" \
30770
kde_bindir=\"$kde_bindir\" \
30771
kde_servicesdir=\"$kde_servicesdir\" \
30772
kde_servicetypesdir=\"$kde_servicetypesdir\" \
30773
kde_moduledir=\"$kde_moduledir\" \
30774
kde_styledir=\"$kde_styledir\" \
30775
kde_widgetdir=\"$kde_widgetdir\" \
30776
xdg_appsdir=\"$xdg_appsdir\" \
30777
xdg_menudir=\"$xdg_menudir\" \
30778
xdg_directorydir=\"$xdg_directorydir\" \
30779
kde_result=defaults"
30784
if test $kde_qtver = 1; then
30785
echo "$as_me:$LINENO: result: compiling" >&5
30786
echo "${ECHO_T}compiling" >&6
30789
echo "$as_me:$LINENO: checking for KDE headers installed" >&5
30790
echo $ECHO_N "checking for KDE headers installed... $ECHO_C" >&6
30794
ac_cpp='$CXXCPP $CPPFLAGS'
30795
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30796
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30797
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30799
ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
30802
cat > conftest.$ac_ext <<EOF
30803
#ifdef STDC_HEADERS
30804
# include <stdlib.h>
30807
#include "confdefs.h"
30811
printf("kde_htmldir=\\"%s\\"\n", KApplication::kde_htmldir().data());
30812
printf("kde_appsdir=\\"%s\\"\n", KApplication::kde_appsdir().data());
30813
printf("kde_icondir=\\"%s\\"\n", KApplication::kde_icondir().data());
30814
printf("kde_sounddir=\\"%s\\"\n", KApplication::kde_sounddir().data());
30815
printf("kde_datadir=\\"%s\\"\n", KApplication::kde_datadir().data());
30816
printf("kde_locale=\\"%s\\"\n", KApplication::kde_localedir().data());
30817
printf("kde_cgidir=\\"%s\\"\n", KApplication::kde_cgidir().data());
30818
printf("kde_confdir=\\"%s\\"\n", KApplication::kde_configdir().data());
30819
printf("kde_mimedir=\\"%s\\"\n", KApplication::kde_mimedir().data());
30820
printf("kde_toolbardir=\\"%s\\"\n", KApplication::kde_toolbardir().data());
30821
printf("kde_wallpaperdir=\\"%s\\"\n",
30822
KApplication::kde_wallpaperdir().data());
30823
printf("kde_bindir=\\"%s\\"\n", KApplication::kde_bindir().data());
30824
printf("kde_partsdir=\\"%s\\"\n", KApplication::kde_partsdir().data());
30825
printf("kde_servicesdir=\\"/tmp/dummy\\"\n");
30826
printf("kde_servicetypesdir=\\"/tmp/dummy\\"\n");
30827
printf("kde_moduledir=\\"/tmp/dummy\\"\n");
30828
printf("kde_styledir=\\"/tmp/dummy\\"\n");
30829
printf("kde_widgetdir=\\"/tmp/dummy\\"\n");
30830
printf("xdg_appsdir=\\"/tmp/dummy\\"\n");
30831
printf("xdg_menudir=\\"/tmp/dummy\\"\n");
30832
printf("xdg_directorydir=\\"/tmp/dummy\\"\n");
30833
printf("kde_kcfgdir=\\"/tmp/dummy\\"\n");
30838
ac_save_CPPFLAGS=$CPPFLAGS
30839
CPPFLAGS="$all_includes $CPPFLAGS"
30840
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30841
(eval $ac_compile) 2>&5
30843
echo "$as_me:$LINENO: \$? = $ac_status" >&5
30844
(exit $ac_status); }; then
30845
echo "$as_me:$LINENO: result: yes" >&5
30846
echo "${ECHO_T}yes" >&6
30848
{ { echo "$as_me:$LINENO: error: your system is not able to compile a small KDE application!
30849
Check, if you installed the KDE header files correctly.
30850
For more details about this problem, look at the end of config.log." >&5
30851
echo "$as_me: error: your system is not able to compile a small KDE application!
30852
Check, if you installed the KDE header files correctly.
30853
For more details about this problem, look at the end of config.log." >&2;}
30854
{ (exit 1); exit 1; }; }
30856
CPPFLAGS=$ac_save_CPPFLAGS
30859
ac_cpp='$CPP $CPPFLAGS'
30860
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30861
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30862
ac_compiler_gnu=$ac_cv_c_compiler_gnu
30868
if test -n "$USE_RPATH"; then
30870
if test -n "$kde_libraries"; then
30871
KDE_TEST_RPATH="-R $kde_libraries"
30874
if test -n "$qt_libraries"; then
30875
KDE_TEST_RPATH="$KDE_TEST_RPATH -R $qt_libraries"
30878
if test -n "$x_libraries"; then
30879
KDE_TEST_RPATH="$KDE_TEST_RPATH -R $x_libraries"
30882
KDE_TEST_RPATH="$KDE_TEST_RPATH $KDE_EXTRA_RPATH"
30885
echo "$as_me:$LINENO: checking for KDE libraries installed" >&5
30886
echo $ECHO_N "checking for KDE libraries installed... $ECHO_C" >&6
30887
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'
30889
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30890
(eval $ac_link) 2>&5
30892
echo "$as_me:$LINENO: \$? = $ac_status" >&5
30893
(exit $ac_status); } && test -s conftest; then
30894
echo "$as_me:$LINENO: result: yes" >&5
30895
echo "${ECHO_T}yes" >&6
30897
{ { echo "$as_me:$LINENO: error: your system fails at linking a small KDE application!
30898
Check, if your compiler is installed correctly and if you have used the
30899
same compiler to compile Qt and kdelibs as you did use now.
30900
For more details about this problem, look at the end of config.log." >&5
30901
echo "$as_me: error: your system fails at linking a small KDE application!
30902
Check, if your compiler is installed correctly and if you have used the
30903
same compiler to compile Qt and kdelibs as you did use now.
30904
For more details about this problem, look at the end of config.log." >&2;}
30905
{ (exit 1); exit 1; }; }
30908
if eval `KDEDIR= ./conftest 2>&5`; then
30911
kde_result=problems
30914
KDEDIR= ./conftest 2> /dev/null >&5 # make an echo for config.log
30915
kde_have_all_paths=yes
30918
kde_cv_all_paths="kde_have_all_paths=\"yes\" \
30919
kde_htmldir=\"$kde_htmldir\" \
30920
kde_appsdir=\"$kde_appsdir\" \
30921
kde_icondir=\"$kde_icondir\" \
30922
kde_sounddir=\"$kde_sounddir\" \
30923
kde_datadir=\"$kde_datadir\" \
30924
kde_locale=\"$kde_locale\" \
30925
kde_cgidir=\"$kde_cgidir\" \
30926
kde_confdir=\"$kde_confdir\" \
30927
kde_kcfgdir=\"$kde_kcfgdir\" \
30928
kde_mimedir=\"$kde_mimedir\" \
30929
kde_toolbardir=\"$kde_toolbardir\" \
30930
kde_wallpaperdir=\"$kde_wallpaperdir\" \
30931
kde_templatesdir=\"$kde_templatesdir\" \
30932
kde_bindir=\"$kde_bindir\" \
30933
kde_servicesdir=\"$kde_servicesdir\" \
30934
kde_servicetypesdir=\"$kde_servicetypesdir\" \
30935
kde_moduledir=\"$kde_moduledir\" \
30936
kde_styledir=\"$kde_styledir\" \
30937
kde_widgetdir=\"$kde_widgetdir\" \
30938
xdg_appsdir=\"$xdg_appsdir\" \
30939
xdg_menudir=\"$xdg_menudir\" \
30940
xdg_directorydir=\"$xdg_directorydir\" \
30941
kde_result=$kde_result"
30946
{ { echo "$as_me:$LINENO: error: path checking not yet supported for KDE 2" >&5
30947
echo "$as_me: error: path checking not yet supported for KDE 2" >&2;}
30948
{ (exit 1); exit 1; }; }
30953
eval "$kde_cv_all_paths"
30954
if test -z "$kde_htmldir" || test -z "$kde_appsdir" ||
30955
test -z "$kde_icondir" || test -z "$kde_sounddir" ||
30956
test -z "$kde_datadir" || test -z "$kde_locale" ||
30957
test -z "$kde_cgidir" || test -z "$kde_confdir" ||
30958
test -z "$kde_kcfgdir" ||
30959
test -z "$kde_mimedir" || test -z "$kde_toolbardir" ||
30960
test -z "$kde_wallpaperdir" || test -z "$kde_templatesdir" ||
30961
test -z "$kde_bindir" || test -z "$kde_servicesdir" ||
30962
test -z "$kde_servicetypesdir" || test -z "$kde_moduledir" ||
30963
test -z "$kde_styledir" || test -z "kde_widgetdir" ||
30964
test -z "$xdg_appsdir" || test -z "$xdg_menudir" || test -z "$xdg_directorydir" ||
30965
test "x$kde_have_all_paths" != "xyes"; then
30966
kde_have_all_paths=no
30969
kde_result="$kde_result (cache overridden)"
30971
if test "$kde_have_all_paths" = "no"; then
30972
{ { echo "$as_me:$LINENO: error: configure could not run a little KDE program to test the environment.
30973
Since it had compiled and linked before, it must be a strange problem on your system.
30974
Look at config.log for details. If you are not able to fix this, look at
30975
http://www.kde.org/faq/installation.html or any www.kde.org mirror.
30976
(If you're using an egcs version on Linux, you may update binutils!)
30978
echo "$as_me: error: configure could not run a little KDE program to test the environment.
30979
Since it had compiled and linked before, it must be a strange problem on your system.
30980
Look at config.log for details. If you are not able to fix this, look at
30981
http://www.kde.org/faq/installation.html or any www.kde.org mirror.
30982
(If you're using an egcs version on Linux, you may update binutils!)
30984
{ (exit 1); exit 1; }; }
30987
echo "$as_me:$LINENO: result: $kde_result" >&5
30988
echo "${ECHO_T}$kde_result" >&6
30995
# Check whether --with-arts or --without-arts was given.
30996
if test "${with_arts+set}" = set; then
30997
withval="$with_arts"
30998
build_arts=$withval
31005
if test "$build_arts" '!=' "no"; then
31007
include_ARTS_FALSE='#'
31009
include_ARTS_TRUE='#'
31010
include_ARTS_FALSE=
31013
if test "$build_arts" = "no"; then
31015
cat >>confdefs.h <<\_ACEOF
31016
#define WITHOUT_ARTS 1
31022
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"
31023
test -n "$KDEDIR" && kde_default_bindirs="$KDEDIR/bin $kde_default_bindirs"
31024
if test -n "$KDEDIRS"; then
31027
for dir in $KDEDIRS; do
31028
kde_default_bindirs="$dir/bin $kde_default_bindirs "
31033
kde_default_bindirs="$exec_prefix/bin $prefix/bin $kde_libs_prefix/bin $kde_default_bindirs"
31035
echo "$as_me:$LINENO: checking for dcopidl" >&5
31036
echo $ECHO_N "checking for dcopidl... $ECHO_C" >&6
31037
if test -n "$DCOPIDL"; then
31038
kde_cv_path="$DCOPIDL";
31040
kde_cache=`echo dcopidl | sed 'y%./+-%__p_%'`
31042
if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
31043
echo $ECHO_N "(cached) $ECHO_C" >&6
31050
for dir in $PATH; do
31053
if test -z ""; then dirs="$kde_default_bindirs $dirs"
31054
else dirs="$dirs $kde_default_bindirs"
31058
for dir in $dirs; do
31059
if test -x "$dir/dcopidl"; then
31062
evalstr="$dir/dcopidl 2>&1 "
31063
if eval $evalstr; then
31064
kde_cv_path="$dir/dcopidl"
31068
kde_cv_path="$dir/dcopidl"
31074
eval "kde_cv_path_$kde_cache=$kde_cv_path"
31080
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
31084
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
31085
echo "$as_me:$LINENO: result: not found" >&5
31086
echo "${ECHO_T}not found" >&6
31088
{ { echo "$as_me:$LINENO: error: The important program dcopidl was not found!
31089
Please check whether you installed KDE correctly.
31091
echo "$as_me: error: The important program dcopidl was not found!
31092
Please check whether you installed KDE correctly.
31094
{ (exit 1); exit 1; }; }
31097
echo "$as_me:$LINENO: result: $kde_cv_path" >&5
31098
echo "${ECHO_T}$kde_cv_path" >&6
31099
DCOPIDL=$kde_cv_path
31104
echo "$as_me:$LINENO: checking for dcopidl2cpp" >&5
31105
echo $ECHO_N "checking for dcopidl2cpp... $ECHO_C" >&6
31106
if test -n "$DCOPIDL2CPP"; then
31107
kde_cv_path="$DCOPIDL2CPP";
31109
kde_cache=`echo dcopidl2cpp | sed 'y%./+-%__p_%'`
31111
if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
31112
echo $ECHO_N "(cached) $ECHO_C" >&6
31119
for dir in $PATH; do
31122
if test -z ""; then dirs="$kde_default_bindirs $dirs"
31123
else dirs="$dirs $kde_default_bindirs"
31127
for dir in $dirs; do
31128
if test -x "$dir/dcopidl2cpp"; then
31131
evalstr="$dir/dcopidl2cpp 2>&1 "
31132
if eval $evalstr; then
31133
kde_cv_path="$dir/dcopidl2cpp"
31137
kde_cv_path="$dir/dcopidl2cpp"
31143
eval "kde_cv_path_$kde_cache=$kde_cv_path"
31149
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
31153
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
31154
echo "$as_me:$LINENO: result: not found" >&5
31155
echo "${ECHO_T}not found" >&6
31157
{ { echo "$as_me:$LINENO: error: The important program dcopidl2cpp was not found!
31158
Please check whether you installed KDE correctly.
31160
echo "$as_me: error: The important program dcopidl2cpp was not found!
31161
Please check whether you installed KDE correctly.
31163
{ (exit 1); exit 1; }; }
31166
echo "$as_me:$LINENO: result: $kde_cv_path" >&5
31167
echo "${ECHO_T}$kde_cv_path" >&6
31168
DCOPIDL2CPP=$kde_cv_path
31172
if test "$build_arts" '!=' "no"; then
31174
echo "$as_me:$LINENO: checking for mcopidl" >&5
31175
echo $ECHO_N "checking for mcopidl... $ECHO_C" >&6
31176
if test -n "$MCOPIDL"; then
31177
kde_cv_path="$MCOPIDL";
31179
kde_cache=`echo mcopidl | sed 'y%./+-%__p_%'`
31181
if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
31182
echo $ECHO_N "(cached) $ECHO_C" >&6
31189
for dir in $PATH; do
31192
if test -z ""; then dirs="$kde_default_bindirs $dirs"
31193
else dirs="$dirs $kde_default_bindirs"
31197
for dir in $dirs; do
31198
if test -x "$dir/mcopidl"; then
31201
evalstr="$dir/mcopidl 2>&1 "
31202
if eval $evalstr; then
31203
kde_cv_path="$dir/mcopidl"
31207
kde_cv_path="$dir/mcopidl"
31213
eval "kde_cv_path_$kde_cache=$kde_cv_path"
31219
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
31223
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
31224
echo "$as_me:$LINENO: result: not found" >&5
31225
echo "${ECHO_T}not found" >&6
31227
{ { echo "$as_me:$LINENO: error: The important program mcopidl was not found!
31228
Please check whether you installed aRts correctly or use
31229
--without-arts to compile without aRts support (this will remove functionality).
31231
echo "$as_me: error: The important program mcopidl was not found!
31232
Please check whether you installed aRts correctly or use
31233
--without-arts to compile without aRts support (this will remove functionality).
31235
{ (exit 1); exit 1; }; }
31238
echo "$as_me:$LINENO: result: $kde_cv_path" >&5
31239
echo "${ECHO_T}$kde_cv_path" >&6
31240
MCOPIDL=$kde_cv_path
31245
echo "$as_me:$LINENO: checking for artsc-config" >&5
31246
echo $ECHO_N "checking for artsc-config... $ECHO_C" >&6
31247
if test -n "$ARTSCCONFIG"; then
31248
kde_cv_path="$ARTSCCONFIG";
31250
kde_cache=`echo artsc-config | sed 'y%./+-%__p_%'`
31252
if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
31253
echo $ECHO_N "(cached) $ECHO_C" >&6
31260
for dir in $PATH; do
31263
if test -z ""; then dirs="$kde_default_bindirs $dirs"
31264
else dirs="$dirs $kde_default_bindirs"
31268
for dir in $dirs; do
31269
if test -x "$dir/artsc-config"; then
31272
evalstr="$dir/artsc-config 2>&1 "
31273
if eval $evalstr; then
31274
kde_cv_path="$dir/artsc-config"
31278
kde_cv_path="$dir/artsc-config"
31284
eval "kde_cv_path_$kde_cache=$kde_cv_path"
31290
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
31294
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
31295
echo "$as_me:$LINENO: result: not found" >&5
31296
echo "${ECHO_T}not found" >&6
31298
{ { echo "$as_me:$LINENO: error: The important program artsc-config was not found!
31299
Please check whether you installed aRts correctly or use
31300
--without-arts to compile without aRts support (this will remove functionality).
31302
echo "$as_me: error: The important program artsc-config was not found!
31303
Please check whether you installed aRts correctly or use
31304
--without-arts to compile without aRts support (this will remove functionality).
31306
{ (exit 1); exit 1; }; }
31309
echo "$as_me:$LINENO: result: $kde_cv_path" >&5
31310
echo "${ECHO_T}$kde_cv_path" >&6
31311
ARTSCCONFIG=$kde_cv_path
31317
echo "$as_me:$LINENO: checking for meinproc" >&5
31318
echo $ECHO_N "checking for meinproc... $ECHO_C" >&6
31319
if test -n "$MEINPROC"; then
31320
kde_cv_path="$MEINPROC";
31322
kde_cache=`echo meinproc | sed 'y%./+-%__p_%'`
31324
if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
31325
echo $ECHO_N "(cached) $ECHO_C" >&6
31332
for dir in $PATH; do
31335
if test -z ""; then dirs="$kde_default_bindirs $dirs"
31336
else dirs="$dirs $kde_default_bindirs"
31340
for dir in $dirs; do
31341
if test -x "$dir/meinproc"; then
31344
evalstr="$dir/meinproc 2>&1 "
31345
if eval $evalstr; then
31346
kde_cv_path="$dir/meinproc"
31350
kde_cv_path="$dir/meinproc"
31356
eval "kde_cv_path_$kde_cache=$kde_cv_path"
31362
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
31366
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
31367
echo "$as_me:$LINENO: result: not found" >&5
31368
echo "${ECHO_T}not found" >&6
31371
echo "$as_me:$LINENO: result: $kde_cv_path" >&5
31372
echo "${ECHO_T}$kde_cv_path" >&6
31373
MEINPROC=$kde_cv_path
31380
if test -n "$kde_qtver" && test "$kde_qtver" -lt 3; then
31384
if test "$kde_qtver" = "3"; then
31385
if test "$kde_qtsubver" -le 1; then
31388
if test "$kde_qtsubver" -le 2; then
31394
if test -n "$kde32ornewer"; then
31396
echo "$as_me:$LINENO: checking for kconfig_compiler" >&5
31397
echo $ECHO_N "checking for kconfig_compiler... $ECHO_C" >&6
31398
if test -n "$KCONFIG_COMPILER"; then
31399
kde_cv_path="$KCONFIG_COMPILER";
31401
kde_cache=`echo kconfig_compiler | sed 'y%./+-%__p_%'`
31403
if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
31404
echo $ECHO_N "(cached) $ECHO_C" >&6
31411
for dir in $PATH; do
31414
if test -z ""; then dirs="$kde_default_bindirs $dirs"
31415
else dirs="$dirs $kde_default_bindirs"
31419
for dir in $dirs; do
31420
if test -x "$dir/kconfig_compiler"; then
31423
evalstr="$dir/kconfig_compiler 2>&1 "
31424
if eval $evalstr; then
31425
kde_cv_path="$dir/kconfig_compiler"
31429
kde_cv_path="$dir/kconfig_compiler"
31435
eval "kde_cv_path_$kde_cache=$kde_cv_path"
31441
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
31445
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
31446
echo "$as_me:$LINENO: result: not found" >&5
31447
echo "${ECHO_T}not found" >&6
31449
{ { echo "$as_me:$LINENO: error: The important program kconfig_compiler was not found!
31450
Please check whether you installed KDE correctly.
31452
echo "$as_me: error: The important program kconfig_compiler was not found!
31453
Please check whether you installed KDE correctly.
31455
{ (exit 1); exit 1; }; }
31458
echo "$as_me:$LINENO: result: $kde_cv_path" >&5
31459
echo "${ECHO_T}$kde_cv_path" >&6
31460
KCONFIG_COMPILER=$kde_cv_path
31465
echo "$as_me:$LINENO: checking for dcopidlng" >&5
31466
echo $ECHO_N "checking for dcopidlng... $ECHO_C" >&6
31467
if test -n "$DCOPIDLNG"; then
31468
kde_cv_path="$DCOPIDLNG";
31470
kde_cache=`echo dcopidlng | sed 'y%./+-%__p_%'`
31472
if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
31473
echo $ECHO_N "(cached) $ECHO_C" >&6
31480
for dir in $PATH; do
31483
if test -z ""; then dirs="$kde_default_bindirs $dirs"
31484
else dirs="$dirs $kde_default_bindirs"
31488
for dir in $dirs; do
31489
if test -x "$dir/dcopidlng"; then
31492
evalstr="$dir/dcopidlng 2>&1 "
31493
if eval $evalstr; then
31494
kde_cv_path="$dir/dcopidlng"
31498
kde_cv_path="$dir/dcopidlng"
31504
eval "kde_cv_path_$kde_cache=$kde_cv_path"
31510
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
31514
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
31515
echo "$as_me:$LINENO: result: not found" >&5
31516
echo "${ECHO_T}not found" >&6
31518
{ { echo "$as_me:$LINENO: error: The important program dcopidlng was not found!
31519
Please check whether you installed KDE correctly.
31521
echo "$as_me: error: The important program dcopidlng was not found!
31522
Please check whether you installed KDE correctly.
31524
{ (exit 1); exit 1; }; }
31527
echo "$as_me:$LINENO: result: $kde_cv_path" >&5
31528
echo "${ECHO_T}$kde_cv_path" >&6
31529
DCOPIDLNG=$kde_cv_path
31534
if test -n "$kde33ornewer"; then
31536
echo "$as_me:$LINENO: checking for makekdewidgets" >&5
31537
echo $ECHO_N "checking for makekdewidgets... $ECHO_C" >&6
31538
if test -n "$MAKEKDEWIDGETS"; then
31539
kde_cv_path="$MAKEKDEWIDGETS";
31541
kde_cache=`echo makekdewidgets | sed 'y%./+-%__p_%'`
31543
if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
31544
echo $ECHO_N "(cached) $ECHO_C" >&6
31551
for dir in $PATH; do
31554
if test -z ""; then dirs="$kde_default_bindirs $dirs"
31555
else dirs="$dirs $kde_default_bindirs"
31559
for dir in $dirs; do
31560
if test -x "$dir/makekdewidgets"; then
31563
evalstr="$dir/makekdewidgets 2>&1 "
31564
if eval $evalstr; then
31565
kde_cv_path="$dir/makekdewidgets"
31569
kde_cv_path="$dir/makekdewidgets"
31575
eval "kde_cv_path_$kde_cache=$kde_cv_path"
31581
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
31585
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
31586
echo "$as_me:$LINENO: result: not found" >&5
31587
echo "${ECHO_T}not found" >&6
31589
{ { echo "$as_me:$LINENO: error: The important program makekdewidgets was not found!
31590
Please check whether you installed KDE correctly.
31592
echo "$as_me: error: The important program makekdewidgets was not found!
31593
Please check whether you installed KDE correctly.
31595
{ (exit 1); exit 1; }; }
31598
echo "$as_me:$LINENO: result: $kde_cv_path" >&5
31599
echo "${ECHO_T}$kde_cv_path" >&6
31600
MAKEKDEWIDGETS=$kde_cv_path
31607
echo "$as_me:$LINENO: checking for xmllint" >&5
31608
echo $ECHO_N "checking for xmllint... $ECHO_C" >&6
31609
if test -n "$XMLLINT"; then
31610
kde_cv_path="$XMLLINT";
31612
kde_cache=`echo xmllint | sed 'y%./+-%__p_%'`
31614
if eval "test \"\${kde_cv_path_$kde_cache+set}\" = set"; then
31615
echo $ECHO_N "(cached) $ECHO_C" >&6
31622
for dir in $PATH; do
31625
if test -z ""; then dirs="${prefix}/bin ${exec_prefix}/bin $dirs"
31626
else dirs="$dirs ${prefix}/bin ${exec_prefix}/bin"
31630
for dir in $dirs; do
31631
if test -x "$dir/xmllint"; then
31634
evalstr="$dir/xmllint 2>&1 "
31635
if eval $evalstr; then
31636
kde_cv_path="$dir/xmllint"
31640
kde_cv_path="$dir/xmllint"
31646
eval "kde_cv_path_$kde_cache=$kde_cv_path"
31652
eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
31656
if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
31657
echo "$as_me:$LINENO: result: not found" >&5
31658
echo "${ECHO_T}not found" >&6
31661
echo "$as_me:$LINENO: result: $kde_cv_path" >&5
31662
echo "${ECHO_T}$kde_cv_path" >&6
31663
XMLLINT=$kde_cv_path
31668
if test -n "$MEINPROC" && test ! "$MEINPROC" = "compiled"; then
31669
kde_sharedirs="/usr/share/kde /usr/local/share /usr/share /opt/kde3/share /opt/kde/share $prefix/share"
31670
test -n "$KDEDIR" && kde_sharedirs="$KDEDIR/share $kde_sharedirs"
31672
KDE_XSL_STYLESHEET=NO
31673
for i in $kde_sharedirs;
31675
for j in apps/ksgmltools2/customization/kde-chunk.xsl;
31677
echo "configure: 31677: $i/$j" >&5
31678
if test -r "$i/$j"; then
31679
echo "taking that" >&5
31680
KDE_XSL_STYLESHEET=$i
31686
if test "$KDE_XSL_STYLESHEET" = "NO"; then
31687
KDE_XSL_STYLESHEET=""
31689
KDE_XSL_STYLESHEET="$KDE_XSL_STYLESHEET/apps/ksgmltools2/customization/kde-chunk.xsl"
31693
DCOP_DEPENDENCIES='$(DCOPIDL)'
31694
if test -n "$kde32ornewer"; then
31695
KCFG_DEPENDENCIES='$(KCONFIG_COMPILER)'
31696
DCOP_DEPENDENCIES='$(DCOPIDL) $(DCOPIDLNG)'
31732
kdeinitdir='$(kde_moduledir)'
31736
if test "$kde_qtver" = 1; then
31737
kde_minidir="$kde_icondir/mini"
31739
# for KDE 1 - this breaks KDE2 apps using minidir, but
31740
# that's the plan ;-/
31741
kde_minidir="/dev/null"
31749
if test $kde_qtver = 3; then
31750
LIB_KDECORE="-lkdecore"
31752
LIB_KDEUI="-lkdeui"
31762
LIB_KHTML="-lkhtml"
31764
LIB_KSPELL="-lkspell"
31766
LIB_KPARTS="-lkparts"
31768
LIB_KDEPRINT="-lkdeprint"
31770
LIB_KUTILS="-lkutils"
31772
LIB_KDEPIM="-lkdepim"
31774
LIB_KIMPROXY="-lkimproxy"
31776
LIB_KNEWSTUFF="-lknewstuff"
31778
# these are for backward compatibility
31779
LIB_KSYCOCA="-lkio"
31783
elif test $kde_qtver = 2; then
31784
LIB_KDECORE="-lkdecore"
31786
LIB_KDEUI="-lkdeui"
31790
LIB_KSYCOCA="-lksycoca"
31794
LIB_KFILE="-lkfile"
31798
LIB_KHTML="-lkhtml"
31800
LIB_KSPELL="-lkspell"
31802
LIB_KPARTS="-lkparts"
31804
LIB_KDEPRINT="-lkdeprint"
31807
LIB_KDECORE="-lkdecore -lXext $(LIB_QT)"
31809
LIB_KDEUI="-lkdeui $(LIB_KDECORE)"
31811
LIB_KFM="-lkfm $(LIB_KDECORE)"
31813
LIB_KFILE="-lkfile $(LIB_KFM) $(LIB_KDEUI)"
31815
LIB_KAB="-lkab $(LIB_KIMGIO) $(LIB_KDECORE)"
31822
#PKG_CHECK_MODULES(GTK1, gtk+ >= 1.2.0, use_gtk1="yes",use_gtk1="no")
31826
if test -z "$PKG_CONFIG"; then
31827
# Extract the first word of "pkg-config", so it can be a program name with args.
31828
set dummy pkg-config; ac_word=$2
31829
echo "$as_me:$LINENO: checking for $ac_word" >&5
31830
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31831
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31832
echo $ECHO_N "(cached) $ECHO_C" >&6
31834
case $PKG_CONFIG in
31836
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31839
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31840
for as_dir in $PATH
31843
test -z "$as_dir" && as_dir=.
31844
for ac_exec_ext in '' $ac_executable_extensions; do
31845
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31846
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31847
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31853
test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
31857
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31859
if test -n "$PKG_CONFIG"; then
31860
echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31861
echo "${ECHO_T}$PKG_CONFIG" >&6
31863
echo "$as_me:$LINENO: result: no" >&5
31864
echo "${ECHO_T}no" >&6
31869
if test "$PKG_CONFIG" = "no" ; then
31870
echo "*** The pkg-config script could not be found. Make sure it is"
31871
echo "*** in your path, or set the PKG_CONFIG environment variable"
31872
echo "*** to the full path to pkg-config."
31873
echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
31875
PKG_CONFIG_MIN_VERSION=0.9.0
31876
if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
31877
echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.2.0" >&5
31878
echo $ECHO_N "checking for gtk+-2.0 >= 2.2.0... $ECHO_C" >&6
31880
if $PKG_CONFIG --exists "gtk+-2.0 >= 2.2.0" ; then
31881
echo "$as_me:$LINENO: result: yes" >&5
31882
echo "${ECHO_T}yes" >&6
31885
echo "$as_me:$LINENO: checking GTK2_CFLAGS" >&5
31886
echo $ECHO_N "checking GTK2_CFLAGS... $ECHO_C" >&6
31887
GTK2_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.2.0"`
31888
echo "$as_me:$LINENO: result: $GTK2_CFLAGS" >&5
31889
echo "${ECHO_T}$GTK2_CFLAGS" >&6
31891
echo "$as_me:$LINENO: checking GTK2_LIBS" >&5
31892
echo $ECHO_N "checking GTK2_LIBS... $ECHO_C" >&6
31893
GTK2_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.2.0"`
31894
echo "$as_me:$LINENO: result: $GTK2_LIBS" >&5
31895
echo "${ECHO_T}$GTK2_LIBS" >&6
31899
## If we have a custom action on failure, don't print errors, but
31900
## do set a variable so people can do so.
31901
GTK2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.2.0"`
31908
echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
31909
echo "*** See http://www.freedesktop.org/software/pkgconfig"
31913
if test $succeeded = yes; then
31922
if test -z "$PKG_CONFIG"; then
31923
# Extract the first word of "pkg-config", so it can be a program name with args.
31924
set dummy pkg-config; ac_word=$2
31925
echo "$as_me:$LINENO: checking for $ac_word" >&5
31926
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31927
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31928
echo $ECHO_N "(cached) $ECHO_C" >&6
31930
case $PKG_CONFIG in
31932
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31935
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31936
for as_dir in $PATH
31939
test -z "$as_dir" && as_dir=.
31940
for ac_exec_ext in '' $ac_executable_extensions; do
31941
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31942
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31943
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31949
test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
31953
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31955
if test -n "$PKG_CONFIG"; then
31956
echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31957
echo "${ECHO_T}$PKG_CONFIG" >&6
31959
echo "$as_me:$LINENO: result: no" >&5
31960
echo "${ECHO_T}no" >&6
31965
if test "$PKG_CONFIG" = "no" ; then
31966
echo "*** The pkg-config script could not be found. Make sure it is"
31967
echo "*** in your path, or set the PKG_CONFIG environment variable"
31968
echo "*** to the full path to pkg-config."
31969
echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
31971
PKG_CONFIG_MIN_VERSION=0.9.0
31972
if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
31973
echo "$as_me:$LINENO: checking for libbonoboui-2.0 >= 2.4.0" >&5
31974
echo $ECHO_N "checking for libbonoboui-2.0 >= 2.4.0... $ECHO_C" >&6
31976
if $PKG_CONFIG --exists "libbonoboui-2.0 >= 2.4.0" ; then
31977
echo "$as_me:$LINENO: result: yes" >&5
31978
echo "${ECHO_T}yes" >&6
31981
echo "$as_me:$LINENO: checking LIBBONOBOUI_CFLAGS" >&5
31982
echo $ECHO_N "checking LIBBONOBOUI_CFLAGS... $ECHO_C" >&6
31983
LIBBONOBOUI_CFLAGS=`$PKG_CONFIG --cflags "libbonoboui-2.0 >= 2.4.0"`
31984
echo "$as_me:$LINENO: result: $LIBBONOBOUI_CFLAGS" >&5
31985
echo "${ECHO_T}$LIBBONOBOUI_CFLAGS" >&6
31987
echo "$as_me:$LINENO: checking LIBBONOBOUI_LIBS" >&5
31988
echo $ECHO_N "checking LIBBONOBOUI_LIBS... $ECHO_C" >&6
31989
LIBBONOBOUI_LIBS=`$PKG_CONFIG --libs "libbonoboui-2.0 >= 2.4.0"`
31990
echo "$as_me:$LINENO: result: $LIBBONOBOUI_LIBS" >&5
31991
echo "${ECHO_T}$LIBBONOBOUI_LIBS" >&6
31993
LIBBONOBOUI_CFLAGS=""
31994
LIBBONOBOUI_LIBS=""
31995
## If we have a custom action on failure, don't print errors, but
31996
## do set a variable so people can do so.
31997
LIBBONOBOUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libbonoboui-2.0 >= 2.4.0"`
32004
echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
32005
echo "*** See http://www.freedesktop.org/software/pkgconfig"
32009
if test $succeeded = yes; then
32010
use_libbonoboui="yes"
32012
use_libbonoboui="no"
32016
GTK_VERSION=`$PKG_CONFIG --variable=gtk_binary_version gtk+-2.0`
32017
GTK_LIBPREFIX=`$PKG_CONFIG --variable=libdir gtk+-2.0`
32018
GTK_PREFIX=`$PKG_CONFIG --variable=prefix gtk+-2.0`
32019
#GTK1_VERSION=`$PKG_CONFIG --variable=gtk_binary_version gtk+`
32020
#GTK1_LIBPREFIX=`$PKG_CONFIG --variable=libdir gtk+`
32021
#GTK1_PREFIX=`$PKG_CONFIG --variable=prefix gtk+`
32022
LIBBONOBOUI_LIBPREFIX=`$PKG_CONFIG --variable=libdir libbonoboui-2.0`
32023
LIBBONOBOUI_PREFIX=`$PKG_CONFIG --variable=prefix libbonoboui-2.0`
32024
KDE_PREFIX=`$KDECONFIG --prefix`
32030
#AC_SUBST(GTK1_VERSION)
32031
#AC_SUBST(GTK1_LIBPREFIX)
32032
#AC_SUBST(GTK1_PREFIX)
32034
#AC_SUBST(GTK1_CFLAGS)
32040
echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
32041
echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
32042
if test "${ac_cv_c_bigendian+set}" = set; then
32043
echo $ECHO_N "(cached) $ECHO_C" >&6
32045
# See if sys/param.h defines the BYTE_ORDER macro.
32046
cat >conftest.$ac_ext <<_ACEOF
32049
cat confdefs.h >>conftest.$ac_ext
32050
cat >>conftest.$ac_ext <<_ACEOF
32051
/* end confdefs.h. */
32052
#include <sys/types.h>
32053
#include <sys/param.h>
32058
#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
32059
bogus endian macros
32066
rm -f conftest.$ac_objext
32067
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32068
(eval $ac_compile) 2>conftest.er1
32070
grep -v '^ *+' conftest.er1 >conftest.err
32072
cat conftest.err >&5
32073
echo "$as_me:$LINENO: \$? = $ac_status" >&5
32074
(exit $ac_status); } &&
32075
{ ac_try='test -z "$ac_c_werror_flag"
32076
|| test ! -s conftest.err'
32077
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32078
(eval $ac_try) 2>&5
32080
echo "$as_me:$LINENO: \$? = $ac_status" >&5
32081
(exit $ac_status); }; } &&
32082
{ ac_try='test -s conftest.$ac_objext'
32083
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32084
(eval $ac_try) 2>&5
32086
echo "$as_me:$LINENO: \$? = $ac_status" >&5
32087
(exit $ac_status); }; }; then
32088
# It does; now see whether it defined to BIG_ENDIAN or not.
32089
cat >conftest.$ac_ext <<_ACEOF
32092
cat confdefs.h >>conftest.$ac_ext
32093
cat >>conftest.$ac_ext <<_ACEOF
32094
/* end confdefs.h. */
32095
#include <sys/types.h>
32096
#include <sys/param.h>
32101
#if BYTE_ORDER != BIG_ENDIAN
32109
rm -f conftest.$ac_objext
32110
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32111
(eval $ac_compile) 2>conftest.er1
32113
grep -v '^ *+' conftest.er1 >conftest.err
32115
cat conftest.err >&5
32116
echo "$as_me:$LINENO: \$? = $ac_status" >&5
32117
(exit $ac_status); } &&
32118
{ ac_try='test -z "$ac_c_werror_flag"
32119
|| test ! -s conftest.err'
32120
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32121
(eval $ac_try) 2>&5
32123
echo "$as_me:$LINENO: \$? = $ac_status" >&5
32124
(exit $ac_status); }; } &&
32125
{ ac_try='test -s conftest.$ac_objext'
32126
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32127
(eval $ac_try) 2>&5
32129
echo "$as_me:$LINENO: \$? = $ac_status" >&5
32130
(exit $ac_status); }; }; then
32131
ac_cv_c_bigendian=yes
32133
echo "$as_me: failed program was:" >&5
32134
sed 's/^/| /' conftest.$ac_ext >&5
32136
ac_cv_c_bigendian=no
32138
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32140
echo "$as_me: failed program was:" >&5
32141
sed 's/^/| /' conftest.$ac_ext >&5
32143
# It does not; compile a test program.
32144
if test "$cross_compiling" = yes; then
32145
# try to guess the endianness by grepping values into an object file
32146
ac_cv_c_bigendian=unknown
32147
cat >conftest.$ac_ext <<_ACEOF
32150
cat confdefs.h >>conftest.$ac_ext
32151
cat >>conftest.$ac_ext <<_ACEOF
32152
/* end confdefs.h. */
32153
short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
32154
short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
32155
void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
32156
short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
32157
short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
32158
void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
32162
_ascii (); _ebcdic ();
32167
rm -f conftest.$ac_objext
32168
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32169
(eval $ac_compile) 2>conftest.er1
32171
grep -v '^ *+' conftest.er1 >conftest.err
32173
cat conftest.err >&5
32174
echo "$as_me:$LINENO: \$? = $ac_status" >&5
32175
(exit $ac_status); } &&
32176
{ ac_try='test -z "$ac_c_werror_flag"
32177
|| test ! -s conftest.err'
32178
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32179
(eval $ac_try) 2>&5
32181
echo "$as_me:$LINENO: \$? = $ac_status" >&5
32182
(exit $ac_status); }; } &&
32183
{ ac_try='test -s conftest.$ac_objext'
32184
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32185
(eval $ac_try) 2>&5
32187
echo "$as_me:$LINENO: \$? = $ac_status" >&5
32188
(exit $ac_status); }; }; then
32189
if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
32190
ac_cv_c_bigendian=yes
32192
if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
32193
if test "$ac_cv_c_bigendian" = unknown; then
32194
ac_cv_c_bigendian=no
32196
# finding both strings is unlikely to happen, but who knows?
32197
ac_cv_c_bigendian=unknown
32201
echo "$as_me: failed program was:" >&5
32202
sed 's/^/| /' conftest.$ac_ext >&5
32205
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32207
cat >conftest.$ac_ext <<_ACEOF
32210
cat confdefs.h >>conftest.$ac_ext
32211
cat >>conftest.$ac_ext <<_ACEOF
32212
/* end confdefs.h. */
32216
/* Are we little or big endian? From Harbison&Steele. */
32220
char c[sizeof (long)];
32223
exit (u.c[sizeof (long) - 1] == 1);
32226
rm -f conftest$ac_exeext
32227
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32228
(eval $ac_link) 2>&5
32230
echo "$as_me:$LINENO: \$? = $ac_status" >&5
32231
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
32232
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32233
(eval $ac_try) 2>&5
32235
echo "$as_me:$LINENO: \$? = $ac_status" >&5
32236
(exit $ac_status); }; }; then
32237
ac_cv_c_bigendian=no
32239
echo "$as_me: program exited with status $ac_status" >&5
32240
echo "$as_me: failed program was:" >&5
32241
sed 's/^/| /' conftest.$ac_ext >&5
32243
( exit $ac_status )
32244
ac_cv_c_bigendian=yes
32246
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32249
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32251
echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
32252
echo "${ECHO_T}$ac_cv_c_bigendian" >&6
32253
case $ac_cv_c_bigendian in
32256
cat >>confdefs.h <<\_ACEOF
32257
#define WORDS_BIGENDIAN 1
32263
{ { echo "$as_me:$LINENO: error: unknown endianness
32264
presetting ac_cv_c_bigendian=no (or yes) will help" >&5
32265
echo "$as_me: error: unknown endianness
32266
presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
32267
{ (exit 1); exit 1; }; } ;;
32271
echo "$as_me:$LINENO: checking for MAXPATHLEN" >&5
32272
echo $ECHO_N "checking for MAXPATHLEN... $ECHO_C" >&6
32273
if test "${ac_cv_maxpathlen+set}" = set; then
32274
echo $ECHO_N "(cached) $ECHO_C" >&6
32277
cat > conftest.$ac_ext <<EOF
32278
#ifdef STDC_HEADERS
32279
# include <stdlib.h>
32282
#include <sys/param.h>
32284
#define MAXPATHLEN 1024
32287
KDE_HELLO MAXPATHLEN
32291
ac_try="$ac_cpp conftest.$ac_ext 2>/dev/null | grep '^KDE_HELLO' >conftest.out"
32293
if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32294
(eval $ac_try) 2>&5
32296
echo "$as_me:$LINENO: \$? = $ac_status" >&5
32297
(exit $ac_status); } && test -s conftest.out; then
32298
ac_cv_maxpathlen=`sed 's#KDE_HELLO ##' conftest.out`
32300
ac_cv_maxpathlen=1024
32308
echo "$as_me:$LINENO: result: $ac_cv_maxpathlen" >&5
32309
echo "${ECHO_T}$ac_cv_maxpathlen" >&6
32311
cat >>confdefs.h <<_ACEOF
32312
#define KDEMAXPATHLEN $ac_cv_maxpathlen
32319
DO_NOT_COMPILE="$DO_NOT_COMPILE CVS debian bsd-port admin"
32322
if test ! -s $srcdir/subdirs; then
32323
files=`cd $srcdir && ls -1`
32324
dirs=`for i in $files; do if test -d $i; then echo $i; fi; done`
32326
echo $i >> $srcdir/subdirs
32331
if test -s $srcdir/inst-apps; then
32332
ac_topsubdirs="`cat $srcdir/inst-apps`"
32333
elif test -s $srcdir/subdirs; then
32334
ac_topsubdirs="`cat $srcdir/subdirs`"
32337
for i in $ac_topsubdirs; do
32338
echo "$as_me:$LINENO: checking if $i should be compiled" >&5
32339
echo $ECHO_N "checking if $i should be compiled... $ECHO_C" >&6
32340
if test -d $srcdir/$i; then
32342
for j in $DO_NOT_COMPILE; do
32343
if test $i = $j; then
32350
echo "$as_me:$LINENO: result: $install_it" >&5
32351
echo "${ECHO_T}$install_it" >&6
32352
vari=`echo $i | sed -e 's,[-+.@],_,g'`
32353
if test $install_it = "yes"; then
32354
TOPSUBDIRS="$TOPSUBDIRS $i"
32355
eval "$vari""_SUBDIR_included=yes"
32357
eval "$vari""_SUBDIR_included=no"
32363
ac_config_files="$ac_config_files Makefile"
32365
ac_config_files="$ac_config_files autopackage/Makefile"
32367
ac_config_files="$ac_config_files autopackage/default.apspec"
32369
#AC_CONFIG_FILES([ gtk1/Makefile ])
32370
ac_config_files="$ac_config_files src/Makefile"
32372
ac_config_files="$ac_config_files kcm_gtk/Makefile"
32374
cat >confcache <<\_ACEOF
32375
# This file is a shell script that caches the results of configure
32376
# tests run on this system so they can be shared between configure
32377
# scripts and configure runs, see configure's option --config-cache.
32378
# It is not useful on other systems. If it contains results you don't
32379
# want to keep, you may remove or edit it.
32381
# config.status only pays attention to the cache file if you give it
32382
# the --recheck option to rerun configure.
32384
# `ac_cv_env_foo' variables (set or unset) will be overridden when
32385
# loading this file, other *unset* `ac_cv_foo' will be assigned the
32386
# following values.
32390
# The following way of writing the cache mishandles newlines in values,
32391
# but we know of no workaround that is simple, portable, and efficient.
32392
# So, don't put newlines in cache variables' values.
32393
# Ultrix sh set writes to stderr and can't be redirected directly,
32394
# and sets the high bit in the cache file unless we assign to the vars.
32397
case `(ac_space=' '; set | grep ac_space) 2>&1` in
32399
# `set' does not quote correctly, so add quotes (double-quote
32400
# substitution turns \\\\ into \\, and sed turns \\ into \).
32403
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
32406
# `set' quotes correctly as required by POSIX, so do not add quotes.
32408
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
32415
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
32417
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
32419
if diff $cache_file confcache >/dev/null 2>&1; then :; else
32420
if test -w $cache_file; then
32421
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
32422
cat confcache >$cache_file
32424
echo "not updating unwritable cache $cache_file"
32429
test "x$prefix" = xNONE && prefix=$ac_default_prefix
32430
# Let make expand exec_prefix.
32431
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
32433
# VPATH may cause trouble with some makes, so we remove $(srcdir),
32434
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
32435
# trailing colons and then remove the whole line if VPATH becomes empty
32436
# (actually we leave an empty line to preserve line numbers).
32437
if test "x$srcdir" = x.; then
32438
ac_vpsub='/^[ ]*VPATH[ ]*=/{
32439
s/:*\$(srcdir):*/:/;
32440
s/:*\${srcdir}:*/:/;
32442
s/^\([^=]*=[ ]*\):*/\1/;
32448
DEFS=-DHAVE_CONFIG_H
32452
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
32453
# 1. Remove the extension, and $U if already installed.
32454
ac_i=`echo "$ac_i" |
32455
sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
32457
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
32458
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
32460
LIBOBJS=$ac_libobjs
32462
LTLIBOBJS=$ac_ltlibobjs
32465
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
32466
{ { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
32467
Usually this means the macro was only invoked conditionally." >&5
32468
echo "$as_me: error: conditional \"AMDEP\" was never defined.
32469
Usually this means the macro was only invoked conditionally." >&2;}
32470
{ (exit 1); exit 1; }; }
32472
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
32473
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
32474
Usually this means the macro was only invoked conditionally." >&5
32475
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
32476
Usually this means the macro was only invoked conditionally." >&2;}
32477
{ (exit 1); exit 1; }; }
32479
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
32480
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
32481
Usually this means the macro was only invoked conditionally." >&5
32482
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
32483
Usually this means the macro was only invoked conditionally." >&2;}
32484
{ (exit 1); exit 1; }; }
32486
if test -z "${unsermake_enable_pch_TRUE}" && test -z "${unsermake_enable_pch_FALSE}"; then
32487
{ { echo "$as_me:$LINENO: error: conditional \"unsermake_enable_pch\" was never defined.
32488
Usually this means the macro was only invoked conditionally." >&5
32489
echo "$as_me: error: conditional \"unsermake_enable_pch\" was never defined.
32490
Usually this means the macro was only invoked conditionally." >&2;}
32491
{ (exit 1); exit 1; }; }
32493
if test -z "${include_ARTS_TRUE}" && test -z "${include_ARTS_FALSE}"; then
32494
{ { echo "$as_me:$LINENO: error: conditional \"include_ARTS\" was never defined.
32495
Usually this means the macro was only invoked conditionally." >&5
32496
echo "$as_me: error: conditional \"include_ARTS\" was never defined.
32497
Usually this means the macro was only invoked conditionally." >&2;}
32498
{ (exit 1); exit 1; }; }
32501
: ${CONFIG_STATUS=./config.status}
32502
ac_clean_files_save=$ac_clean_files
32503
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
32504
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
32505
echo "$as_me: creating $CONFIG_STATUS" >&6;}
32506
cat >$CONFIG_STATUS <<_ACEOF
32508
# Generated by $as_me.
32509
# Run this file to recreate the current configuration.
32510
# Compiler output produced by configure, useful for debugging
32511
# configure, is in config.log if it exists.
32514
ac_cs_recheck=false
32516
SHELL=\${CONFIG_SHELL-$SHELL}
32519
cat >>$CONFIG_STATUS <<\_ACEOF
32520
## --------------------- ##
32521
## M4sh Initialization. ##
32522
## --------------------- ##
32524
# Be Bourne compatible
32525
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
32528
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
32529
# is contrary to our usage. Disable this feature.
32530
alias -g '${1+"$@"}'='"$@"'
32531
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
32534
DUALCASE=1; export DUALCASE # for MKS sh
32536
# Support unset when possible.
32537
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
32544
# Work around bugs in pre-3.0 UWIN ksh.
32545
$as_unset ENV MAIL MAILPATH
32552
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
32553
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
32554
LC_TELEPHONE LC_TIME
32556
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
32557
eval $as_var=C; export $as_var
32563
# Required to use basename.
32564
if expr a : '\(a\)' >/dev/null 2>&1; then
32570
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
32571
as_basename=basename
32577
# Name of the executable.
32578
as_me=`$as_basename "$0" ||
32579
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
32580
X"$0" : 'X\(//\)$' \| \
32581
X"$0" : 'X\(/\)$' \| \
32582
. : '\(.\)' 2>/dev/null ||
32584
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
32585
/^X\/\(\/\/\)$/{ s//\1/; q; }
32586
/^X\/\(\/\).*/{ s//\1/; q; }
32590
# PATH needs CR, and LINENO needs CR and PATH.
32591
# Avoid depending upon Character Ranges.
32592
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
32593
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
32594
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
32595
as_cr_digits='0123456789'
32596
as_cr_alnum=$as_cr_Letters$as_cr_digits
32598
# The user is always right.
32599
if test "${PATH_SEPARATOR+set}" != set; then
32600
echo "#! /bin/sh" >conf$$.sh
32601
echo "exit 0" >>conf$$.sh
32603
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
32612
as_lineno_1=$LINENO
32613
as_lineno_2=$LINENO
32614
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
32615
test "x$as_lineno_1" != "x$as_lineno_2" &&
32616
test "x$as_lineno_3" = "x$as_lineno_2" || {
32617
# Find who we are. Look in the path if we contain no path at all
32620
*[\\/]* ) as_myself=$0 ;;
32621
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32622
for as_dir in $PATH
32625
test -z "$as_dir" && as_dir=.
32626
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
32631
# We did not find ourselves, most probably we were run as `sh COMMAND'
32632
# in which case we are not to be found in the path.
32633
if test "x$as_myself" = x; then
32636
if test ! -f "$as_myself"; then
32637
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
32638
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
32639
{ (exit 1); exit 1; }; }
32641
case $CONFIG_SHELL in
32643
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32644
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
32647
test -z "$as_dir" && as_dir=.
32648
for as_base in sh bash ksh sh5; do
32651
if ("$as_dir/$as_base" -c '
32652
as_lineno_1=$LINENO
32653
as_lineno_2=$LINENO
32654
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
32655
test "x$as_lineno_1" != "x$as_lineno_2" &&
32656
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
32657
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
32658
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
32659
CONFIG_SHELL=$as_dir/$as_base
32660
export CONFIG_SHELL
32661
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
32669
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
32670
# uniformly replaced by the line number. The first 'sed' inserts a
32671
# line-number line before each line; the second 'sed' does the real
32672
# work. The second script uses 'N' to pair each line-number line
32673
# with the numbered line, and appends trailing '-' during
32674
# substitution so that $LINENO is not a special case at line end.
32675
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
32676
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
32677
sed '=' <$as_myself |
32682
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
32685
s,^['$as_cr_digits']*\n,,
32686
' >$as_me.lineno &&
32687
chmod +x $as_me.lineno ||
32688
{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
32689
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
32690
{ (exit 1); exit 1; }; }
32692
# Don't try to exec as it changes $[0], causing all sort of problems
32693
# (the dirname of $[0] is not the place where we might find the
32694
# original and so on. Autoconf is especially sensible to this).
32696
# Exit status is that of the last command.
32701
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
32702
*c*,-n*) ECHO_N= ECHO_C='
32704
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
32705
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
32708
if expr a : '\(a\)' >/dev/null 2>&1; then
32714
rm -f conf$$ conf$$.exe conf$$.file
32716
if ln -s conf$$.file conf$$ 2>/dev/null; then
32717
# We could just check for DJGPP; but this test a) works b) is more generic
32718
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
32719
if test -f conf$$.exe; then
32720
# Don't use ln at all; we don't have any links
32725
elif ln conf$$.file conf$$ 2>/dev/null; then
32730
rm -f conf$$ conf$$.exe conf$$.file
32732
if mkdir -p . 2>/dev/null; then
32735
test -d ./-p && rmdir ./-p
32739
as_executable_p="test -f"
32741
# Sed expression to map a string onto a valid CPP name.
32742
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
32744
# Sed expression to map a string onto a valid variable name.
32745
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
32749
# We need space, tab and new line, in precisely that order.
32759
# Open the log real soon, to keep \$[0] and so on meaningful, and to
32760
# report actual input values of CONFIG_FILES etc. instead of their
32761
# values after options handling. Logging --version etc. is OK.
32765
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
32766
## Running $as_me. ##
32771
This file was extended by $as_me, which was
32772
generated by GNU Autoconf 2.59. Invocation command line was
32774
CONFIG_FILES = $CONFIG_FILES
32775
CONFIG_HEADERS = $CONFIG_HEADERS
32776
CONFIG_LINKS = $CONFIG_LINKS
32777
CONFIG_COMMANDS = $CONFIG_COMMANDS
32781
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
32785
# Files that config.status was made for.
32786
if test -n "$ac_config_files"; then
32787
echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
32790
if test -n "$ac_config_headers"; then
32791
echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
32794
if test -n "$ac_config_links"; then
32795
echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
32798
if test -n "$ac_config_commands"; then
32799
echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
32802
cat >>$CONFIG_STATUS <<\_ACEOF
32805
\`$as_me' instantiates files from templates according to the
32806
current configuration.
32808
Usage: $0 [OPTIONS] [FILE]...
32810
-h, --help print this help, then exit
32811
-V, --version print version number, then exit
32812
-q, --quiet do not print progress messages
32813
-d, --debug don't remove temporary files
32814
--recheck update $as_me by reconfiguring in the same conditions
32815
--file=FILE[:TEMPLATE]
32816
instantiate the configuration file FILE
32817
--header=FILE[:TEMPLATE]
32818
instantiate the configuration header FILE
32820
Configuration files:
32823
Configuration headers:
32826
Configuration commands:
32829
Report bugs to <bug-autoconf@gnu.org>."
32832
cat >>$CONFIG_STATUS <<_ACEOF
32835
configured by $0, generated by GNU Autoconf 2.59,
32836
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
32838
Copyright (C) 2003 Free Software Foundation, Inc.
32839
This config.status script is free software; the Free Software Foundation
32840
gives unlimited permission to copy, distribute and modify it."
32845
cat >>$CONFIG_STATUS <<\_ACEOF
32846
# If no file are specified by the user, then we need to provide default
32847
# value. By we need to know if files were specified by the user.
32853
ac_option=`expr "x$1" : 'x\([^=]*\)='`
32854
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
32862
*) # This is not an option, so the user has probably given explicit
32865
ac_need_defaults=false;;
32869
# Handling of the options.
32871
cat >>$CONFIG_STATUS <<\_ACEOF
32872
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
32874
--version | --vers* | -V )
32875
echo "$ac_cs_version"; exit 0 ;;
32877
# Conflict between --help and --header
32878
{ { echo "$as_me:$LINENO: error: ambiguous option: $1
32879
Try \`$0 --help' for more information." >&5
32880
echo "$as_me: error: ambiguous option: $1
32881
Try \`$0 --help' for more information." >&2;}
32882
{ (exit 1); exit 1; }; };;
32883
--help | --hel | -h )
32884
echo "$ac_cs_usage"; exit 0 ;;
32885
--debug | --d* | -d )
32887
--file | --fil | --fi | --f )
32889
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
32890
ac_need_defaults=false;;
32891
--header | --heade | --head | --hea )
32893
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
32894
ac_need_defaults=false;;
32895
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
32896
| -silent | --silent | --silen | --sile | --sil | --si | --s)
32899
# This is an error.
32900
-*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
32901
Try \`$0 --help' for more information." >&5
32902
echo "$as_me: error: unrecognized option: $1
32903
Try \`$0 --help' for more information." >&2;}
32904
{ (exit 1); exit 1; }; } ;;
32906
*) ac_config_targets="$ac_config_targets $1" ;;
32912
ac_configure_extra_args=
32914
if $ac_cs_silent; then
32916
ac_configure_extra_args="$ac_configure_extra_args --silent"
32920
cat >>$CONFIG_STATUS <<_ACEOF
32921
if \$ac_cs_recheck; then
32922
echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
32923
exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
32928
cat >>$CONFIG_STATUS <<_ACEOF
32930
# INIT-COMMANDS section.
32933
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
32939
cat >>$CONFIG_STATUS <<\_ACEOF
32940
for ac_config_target in $ac_config_targets
32942
case "$ac_config_target" in
32943
# Handling of arguments.
32944
"Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
32945
"autopackage/Makefile" ) CONFIG_FILES="$CONFIG_FILES autopackage/Makefile" ;;
32946
"autopackage/default.apspec" ) CONFIG_FILES="$CONFIG_FILES autopackage/default.apspec" ;;
32947
"src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
32948
"kcm_gtk/Makefile" ) CONFIG_FILES="$CONFIG_FILES kcm_gtk/Makefile" ;;
32949
"depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
32950
"config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
32951
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
32952
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
32953
{ (exit 1); exit 1; }; };;
32957
# If the user did not use the arguments to specify the items to instantiate,
32958
# then the envvar interface is used. Set only those that are not.
32959
# We use the long form for the default assignment because of an extremely
32960
# bizarre bug on SunOS 4.1.3.
32961
if $ac_need_defaults; then
32962
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
32963
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
32964
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
32967
# Have a temporary directory for convenience. Make it in the build tree
32968
# simply because there is no reason to put it here, and in addition,
32969
# creating and moving files from /tmp can sometimes cause problems.
32970
# Create a temporary directory, and hook for its removal unless debugging.
32973
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
32974
trap '{ (exit 1); exit 1; }' 1 2 13 15
32977
# Create a (secure) tmp directory for tmp files.
32980
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
32981
test -n "$tmp" && test -d "$tmp"
32984
tmp=./confstat$$-$RANDOM
32985
(umask 077 && mkdir $tmp)
32988
echo "$me: cannot create a temporary directory in ." >&2
32989
{ (exit 1); exit 1; }
32994
cat >>$CONFIG_STATUS <<_ACEOF
32997
# CONFIG_FILES section.
33000
# No need to generate the scripts if there are no CONFIG_FILES.
33001
# This happens for instance when ./config.status config.h
33002
if test -n "\$CONFIG_FILES"; then
33003
# Protect against being on the right side of a sed subst in config.status.
33004
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
33005
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
33006
s,@SHELL@,$SHELL,;t t
33007
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
33008
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
33009
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
33010
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
33011
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
33012
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
33013
s,@exec_prefix@,$exec_prefix,;t t
33014
s,@prefix@,$prefix,;t t
33015
s,@program_transform_name@,$program_transform_name,;t t
33016
s,@bindir@,$bindir,;t t
33017
s,@sbindir@,$sbindir,;t t
33018
s,@libexecdir@,$libexecdir,;t t
33019
s,@datadir@,$datadir,;t t
33020
s,@sysconfdir@,$sysconfdir,;t t
33021
s,@sharedstatedir@,$sharedstatedir,;t t
33022
s,@localstatedir@,$localstatedir,;t t
33023
s,@libdir@,$libdir,;t t
33024
s,@includedir@,$includedir,;t t
33025
s,@oldincludedir@,$oldincludedir,;t t
33026
s,@infodir@,$infodir,;t t
33027
s,@mandir@,$mandir,;t t
33028
s,@build_alias@,$build_alias,;t t
33029
s,@host_alias@,$host_alias,;t t
33030
s,@target_alias@,$target_alias,;t t
33031
s,@DEFS@,$DEFS,;t t
33032
s,@ECHO_C@,$ECHO_C,;t t
33033
s,@ECHO_N@,$ECHO_N,;t t
33034
s,@ECHO_T@,$ECHO_T,;t t
33035
s,@LIBS@,$LIBS,;t t
33036
s,@build@,$build,;t t
33037
s,@build_cpu@,$build_cpu,;t t
33038
s,@build_vendor@,$build_vendor,;t t
33039
s,@build_os@,$build_os,;t t
33040
s,@host@,$host,;t t
33041
s,@host_cpu@,$host_cpu,;t t
33042
s,@host_vendor@,$host_vendor,;t t
33043
s,@host_os@,$host_os,;t t
33044
s,@target@,$target,;t t
33045
s,@target_cpu@,$target_cpu,;t t
33046
s,@target_vendor@,$target_vendor,;t t
33047
s,@target_os@,$target_os,;t t
33048
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
33049
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
33050
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
33051
s,@CYGPATH_W@,$CYGPATH_W,;t t
33052
s,@PACKAGE@,$PACKAGE,;t t
33053
s,@VERSION@,$VERSION,;t t
33054
s,@ACLOCAL@,$ACLOCAL,;t t
33055
s,@AUTOCONF@,$AUTOCONF,;t t
33056
s,@AUTOMAKE@,$AUTOMAKE,;t t
33057
s,@AUTOHEADER@,$AUTOHEADER,;t t
33058
s,@MAKEINFO@,$MAKEINFO,;t t
33059
s,@install_sh@,$install_sh,;t t
33060
s,@STRIP@,$STRIP,;t t
33061
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
33062
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
33063
s,@mkdir_p@,$mkdir_p,;t t
33065
s,@SET_MAKE@,$SET_MAKE,;t t
33066
s,@am__leading_dot@,$am__leading_dot,;t t
33067
s,@AMTAR@,$AMTAR,;t t
33068
s,@am__tar@,$am__tar,;t t
33069
s,@am__untar@,$am__untar,;t t
33070
s,@KDECONFIG@,$KDECONFIG,;t t
33071
s,@kde_libs_prefix@,$kde_libs_prefix,;t t
33072
s,@kde_libs_htmldir@,$kde_libs_htmldir,;t t
33073
s,@CONF_FILES@,$CONF_FILES,;t t
33075
s,@CFLAGS@,$CFLAGS,;t t
33076
s,@LDFLAGS@,$LDFLAGS,;t t
33077
s,@CPPFLAGS@,$CPPFLAGS,;t t
33078
s,@ac_ct_CC@,$ac_ct_CC,;t t
33079
s,@EXEEXT@,$EXEEXT,;t t
33080
s,@OBJEXT@,$OBJEXT,;t t
33081
s,@DEPDIR@,$DEPDIR,;t t
33082
s,@am__include@,$am__include,;t t
33083
s,@am__quote@,$am__quote,;t t
33084
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
33085
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
33086
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
33087
s,@CCDEPMODE@,$CCDEPMODE,;t t
33088
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
33089
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
33092
s,@CXXFLAGS@,$CXXFLAGS,;t t
33093
s,@ac_ct_CXX@,$ac_ct_CXX,;t t
33094
s,@CXXDEPMODE@,$CXXDEPMODE,;t t
33095
s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
33096
s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
33097
s,@WOVERLOADED_VIRTUAL@,$WOVERLOADED_VIRTUAL,;t t
33098
s,@HAVE_GCC_VISIBILITY@,$HAVE_GCC_VISIBILITY,;t t
33099
s,@unsermake_enable_pch_TRUE@,$unsermake_enable_pch_TRUE,;t t
33100
s,@unsermake_enable_pch_FALSE@,$unsermake_enable_pch_FALSE,;t t
33101
s,@USE_EXCEPTIONS@,$USE_EXCEPTIONS,;t t
33102
s,@USE_RTTI@,$USE_RTTI,;t t
33103
s,@CXXCPP@,$CXXCPP,;t t
33104
s,@NOOPT_CXXFLAGS@,$NOOPT_CXXFLAGS,;t t
33105
s,@NOOPT_CFLAGS@,$NOOPT_CFLAGS,;t t
33106
s,@ENABLE_PERMISSIVE_FLAG@,$ENABLE_PERMISSIVE_FLAG,;t t
33107
s,@LDFLAGS_AS_NEEDED@,$LDFLAGS_AS_NEEDED,;t t
33108
s,@KDE_USE_FINAL_TRUE@,$KDE_USE_FINAL_TRUE,;t t
33109
s,@KDE_USE_FINAL_FALSE@,$KDE_USE_FINAL_FALSE,;t t
33110
s,@KDE_USE_CLOSURE_TRUE@,$KDE_USE_CLOSURE_TRUE,;t t
33111
s,@KDE_USE_CLOSURE_FALSE@,$KDE_USE_CLOSURE_FALSE,;t t
33112
s,@KDE_NO_UNDEFINED@,$KDE_NO_UNDEFINED,;t t
33113
s,@KDE_USE_NMCHECK_TRUE@,$KDE_USE_NMCHECK_TRUE,;t t
33114
s,@KDE_USE_NMCHECK_FALSE@,$KDE_USE_NMCHECK_FALSE,;t t
33115
s,@EGREP@,$EGREP,;t t
33116
s,@LN_S@,$LN_S,;t t
33117
s,@ECHO@,$ECHO,;t t
33119
s,@ac_ct_AR@,$ac_ct_AR,;t t
33120
s,@RANLIB@,$RANLIB,;t t
33121
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
33123
s,@FFLAGS@,$FFLAGS,;t t
33124
s,@ac_ct_F77@,$ac_ct_F77,;t t
33125
s,@LIBTOOL@,$LIBTOOL,;t t
33126
s,@KDE_PLUGIN@,$KDE_PLUGIN,;t t
33127
s,@MSGFMT@,$MSGFMT,;t t
33128
s,@GMSGFMT@,$GMSGFMT,;t t
33129
s,@XGETTEXT@,$XGETTEXT,;t t
33130
s,@LIBUTIL@,$LIBUTIL,;t t
33131
s,@LIBCOMPAT@,$LIBCOMPAT,;t t
33132
s,@LIBCRYPT@,$LIBCRYPT,;t t
33133
s,@LIBRESOLV@,$LIBRESOLV,;t t
33134
s,@LIB_POLL@,$LIB_POLL,;t t
33135
s,@FRAMEWORK_COREAUDIO@,$FRAMEWORK_COREAUDIO,;t t
33136
s,@LIBSOCKET@,$LIBSOCKET,;t t
33137
s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
33138
s,@LIBUCB@,$LIBUCB,;t t
33139
s,@LIBDL@,$LIBDL,;t t
33140
s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
33141
s,@LIB_X11@,$LIB_X11,;t t
33142
s,@LIB_XRENDER@,$LIB_XRENDER,;t t
33143
s,@LIBSM@,$LIBSM,;t t
33144
s,@X_INCLUDES@,$X_INCLUDES,;t t
33145
s,@X_LDFLAGS@,$X_LDFLAGS,;t t
33146
s,@x_includes@,$x_includes,;t t
33147
s,@x_libraries@,$x_libraries,;t t
33148
s,@QTE_NORTTI@,$QTE_NORTTI,;t t
33149
s,@LIB_XEXT@,$LIB_XEXT,;t t
33150
s,@LIBPTHREAD@,$LIBPTHREAD,;t t
33151
s,@USE_THREADS@,$USE_THREADS,;t t
33152
s,@KDE_MT_LDFLAGS@,$KDE_MT_LDFLAGS,;t t
33153
s,@KDE_MT_LIBS@,$KDE_MT_LIBS,;t t
33154
s,@USER_INCLUDES@,$USER_INCLUDES,;t t
33155
s,@USER_LDFLAGS@,$USER_LDFLAGS,;t t
33156
s,@LIBZ@,$LIBZ,;t t
33157
s,@LIBPNG@,$LIBPNG,;t t
33158
s,@LIBJPEG@,$LIBJPEG,;t t
33159
s,@qt_libraries@,$qt_libraries,;t t
33160
s,@qt_includes@,$qt_includes,;t t
33161
s,@QT_INCLUDES@,$QT_INCLUDES,;t t
33162
s,@QT_LDFLAGS@,$QT_LDFLAGS,;t t
33163
s,@PERL@,$PERL,;t t
33166
s,@UIC_TR@,$UIC_TR,;t t
33167
s,@LIB_QT@,$LIB_QT,;t t
33168
s,@LIB_QPE@,$LIB_QPE,;t t
33169
s,@kde_qtver@,$kde_qtver,;t t
33170
s,@KDE_EXTRA_RPATH@,$KDE_EXTRA_RPATH,;t t
33171
s,@KDE_RPATH@,$KDE_RPATH,;t t
33172
s,@X_RPATH@,$X_RPATH,;t t
33173
s,@kde_libraries@,$kde_libraries,;t t
33174
s,@kde_includes@,$kde_includes,;t t
33175
s,@KDE_LDFLAGS@,$KDE_LDFLAGS,;t t
33176
s,@KDE_INCLUDES@,$KDE_INCLUDES,;t t
33177
s,@all_includes@,$all_includes,;t t
33178
s,@all_libraries@,$all_libraries,;t t
33179
s,@AUTODIRS@,$AUTODIRS,;t t
33180
s,@include_ARTS_TRUE@,$include_ARTS_TRUE,;t t
33181
s,@include_ARTS_FALSE@,$include_ARTS_FALSE,;t t
33182
s,@MAKEKDEWIDGETS@,$MAKEKDEWIDGETS,;t t
33183
s,@KCONFIG_COMPILER@,$KCONFIG_COMPILER,;t t
33184
s,@KCFG_DEPENDENCIES@,$KCFG_DEPENDENCIES,;t t
33185
s,@DCOPIDLNG@,$DCOPIDLNG,;t t
33186
s,@DCOPIDL@,$DCOPIDL,;t t
33187
s,@DCOPIDL2CPP@,$DCOPIDL2CPP,;t t
33188
s,@DCOP_DEPENDENCIES@,$DCOP_DEPENDENCIES,;t t
33189
s,@MCOPIDL@,$MCOPIDL,;t t
33190
s,@ARTSCCONFIG@,$ARTSCCONFIG,;t t
33191
s,@MEINPROC@,$MEINPROC,;t t
33192
s,@KDE_XSL_STYLESHEET@,$KDE_XSL_STYLESHEET,;t t
33193
s,@XMLLINT@,$XMLLINT,;t t
33194
s,@kde_htmldir@,$kde_htmldir,;t t
33195
s,@kde_appsdir@,$kde_appsdir,;t t
33196
s,@kde_icondir@,$kde_icondir,;t t
33197
s,@kde_sounddir@,$kde_sounddir,;t t
33198
s,@kde_datadir@,$kde_datadir,;t t
33199
s,@kde_locale@,$kde_locale,;t t
33200
s,@kde_confdir@,$kde_confdir,;t t
33201
s,@kde_kcfgdir@,$kde_kcfgdir,;t t
33202
s,@kde_mimedir@,$kde_mimedir,;t t
33203
s,@kde_wallpaperdir@,$kde_wallpaperdir,;t t
33204
s,@kde_bindir@,$kde_bindir,;t t
33205
s,@xdg_appsdir@,$xdg_appsdir,;t t
33206
s,@xdg_menudir@,$xdg_menudir,;t t
33207
s,@xdg_directorydir@,$xdg_directorydir,;t t
33208
s,@kde_templatesdir@,$kde_templatesdir,;t t
33209
s,@kde_servicesdir@,$kde_servicesdir,;t t
33210
s,@kde_servicetypesdir@,$kde_servicetypesdir,;t t
33211
s,@kde_moduledir@,$kde_moduledir,;t t
33212
s,@kdeinitdir@,$kdeinitdir,;t t
33213
s,@kde_styledir@,$kde_styledir,;t t
33214
s,@kde_widgetdir@,$kde_widgetdir,;t t
33215
s,@LIB_KDECORE@,$LIB_KDECORE,;t t
33216
s,@LIB_KDEUI@,$LIB_KDEUI,;t t
33217
s,@LIB_KIO@,$LIB_KIO,;t t
33218
s,@LIB_SMB@,$LIB_SMB,;t t
33219
s,@LIB_KAB@,$LIB_KAB,;t t
33220
s,@LIB_KABC@,$LIB_KABC,;t t
33221
s,@LIB_KHTML@,$LIB_KHTML,;t t
33222
s,@LIB_KSPELL@,$LIB_KSPELL,;t t
33223
s,@LIB_KPARTS@,$LIB_KPARTS,;t t
33224
s,@LIB_KDEPRINT@,$LIB_KDEPRINT,;t t
33225
s,@LIB_KUTILS@,$LIB_KUTILS,;t t
33226
s,@LIB_KDEPIM@,$LIB_KDEPIM,;t t
33227
s,@LIB_KIMPROXY@,$LIB_KIMPROXY,;t t
33228
s,@LIB_KNEWSTUFF@,$LIB_KNEWSTUFF,;t t
33229
s,@LIB_KSYCOCA@,$LIB_KSYCOCA,;t t
33230
s,@LIB_KFILE@,$LIB_KFILE,;t t
33231
s,@LIB_KFM@,$LIB_KFM,;t t
33232
s,@PKG_CONFIG@,$PKG_CONFIG,;t t
33233
s,@GTK2_CFLAGS@,$GTK2_CFLAGS,;t t
33234
s,@GTK2_LIBS@,$GTK2_LIBS,;t t
33235
s,@LIBBONOBOUI_CFLAGS@,$LIBBONOBOUI_CFLAGS,;t t
33236
s,@LIBBONOBOUI_LIBS@,$LIBBONOBOUI_LIBS,;t t
33237
s,@QTENGINE_CFLAGS@,$QTENGINE_CFLAGS,;t t
33238
s,@QTENGINE_LIBS@,$QTENGINE_LIBS,;t t
33239
s,@GTK_VERSION@,$GTK_VERSION,;t t
33240
s,@GTK_LIBPREFIX@,$GTK_LIBPREFIX,;t t
33241
s,@GTK_PREFIX@,$GTK_PREFIX,;t t
33242
s,@KDE_PREFIX@,$KDE_PREFIX,;t t
33243
s,@TOPSUBDIRS@,$TOPSUBDIRS,;t t
33244
s,@LIBOBJS@,$LIBOBJS,;t t
33245
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
33250
cat >>$CONFIG_STATUS <<\_ACEOF
33251
# Split the substitutions into bite-sized pieces for seds with
33252
# small command number limits, like on Digital OSF/1 and HP-UX.
33253
ac_max_sed_lines=48
33254
ac_sed_frag=1 # Number of current file.
33255
ac_beg=1 # First line for current file.
33256
ac_end=$ac_max_sed_lines # Line after last line for current file.
33259
while $ac_more_lines; do
33260
if test $ac_beg -gt 1; then
33261
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
33263
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
33265
if test ! -s $tmp/subs.frag; then
33266
ac_more_lines=false
33268
# The purpose of the label and of the branching condition is to
33269
# speed up the sed processing (if there are no `@' at all, there
33270
# is no need to browse any of the substitutions).
33271
# These are the two extra sed commands mentioned above.
33273
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
33274
if test -z "$ac_sed_cmds"; then
33275
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
33277
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
33279
ac_sed_frag=`expr $ac_sed_frag + 1`
33281
ac_end=`expr $ac_end + $ac_max_sed_lines`
33284
if test -z "$ac_sed_cmds"; then
33287
fi # test -n "$CONFIG_FILES"
33290
cat >>$CONFIG_STATUS <<\_ACEOF
33291
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
33292
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
33294
- | *:- | *:-:* ) # input from stdin
33296
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
33297
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
33298
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
33299
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
33300
* ) ac_file_in=$ac_file.in ;;
33303
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
33304
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
33305
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33306
X"$ac_file" : 'X\(//\)[^/]' \| \
33307
X"$ac_file" : 'X\(//\)$' \| \
33308
X"$ac_file" : 'X\(/\)' \| \
33309
. : '\(.\)' 2>/dev/null ||
33311
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
33312
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
33313
/^X\(\/\/\)$/{ s//\1/; q; }
33314
/^X\(\/\).*/{ s//\1/; q; }
33316
{ if $as_mkdir_p; then
33321
while test ! -d "$as_dir"; do
33322
as_dirs="$as_dir $as_dirs"
33323
as_dir=`(dirname "$as_dir") 2>/dev/null ||
33324
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33325
X"$as_dir" : 'X\(//\)[^/]' \| \
33326
X"$as_dir" : 'X\(//\)$' \| \
33327
X"$as_dir" : 'X\(/\)' \| \
33328
. : '\(.\)' 2>/dev/null ||
33330
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
33331
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
33332
/^X\(\/\/\)$/{ s//\1/; q; }
33333
/^X\(\/\).*/{ s//\1/; q; }
33336
test ! -n "$as_dirs" || mkdir $as_dirs
33337
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
33338
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
33339
{ (exit 1); exit 1; }; }; }
33343
if test "$ac_dir" != .; then
33344
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
33345
# A "../" for each directory in $ac_dir_suffix.
33346
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
33348
ac_dir_suffix= ac_top_builddir=
33352
.) # No --srcdir option. We are building in place.
33354
if test -z "$ac_top_builddir"; then
33357
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
33359
[\\/]* | ?:[\\/]* ) # Absolute path.
33360
ac_srcdir=$srcdir$ac_dir_suffix;
33361
ac_top_srcdir=$srcdir ;;
33362
*) # Relative path.
33363
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
33364
ac_top_srcdir=$ac_top_builddir$srcdir ;;
33367
# Do not use `cd foo && pwd` to compute absolute paths, because
33368
# the directories may not exist.
33370
.) ac_abs_builddir="$ac_dir";;
33373
.) ac_abs_builddir=`pwd`;;
33374
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
33375
*) ac_abs_builddir=`pwd`/"$ac_dir";;
33378
case $ac_abs_builddir in
33379
.) ac_abs_top_builddir=${ac_top_builddir}.;;
33381
case ${ac_top_builddir}. in
33382
.) ac_abs_top_builddir=$ac_abs_builddir;;
33383
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
33384
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
33387
case $ac_abs_builddir in
33388
.) ac_abs_srcdir=$ac_srcdir;;
33391
.) ac_abs_srcdir=$ac_abs_builddir;;
33392
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
33393
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
33396
case $ac_abs_builddir in
33397
.) ac_abs_top_srcdir=$ac_top_srcdir;;
33399
case $ac_top_srcdir in
33400
.) ac_abs_top_srcdir=$ac_abs_builddir;;
33401
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
33402
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
33408
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
33409
*) ac_INSTALL=$ac_top_builddir$INSTALL ;;
33412
if test x"$ac_file" != x-; then
33413
{ echo "$as_me:$LINENO: creating $ac_file" >&5
33414
echo "$as_me: creating $ac_file" >&6;}
33417
# Let's still pretend it is `configure' which instantiates (i.e., don't
33418
# use $as_me), people would be surprised to read:
33419
# /* config.h. Generated by config.status. */
33420
if test x"$ac_file" = x-; then
33423
configure_input="$ac_file. "
33425
configure_input=$configure_input"Generated from `echo $ac_file_in |
33426
sed 's,.*/,,'` by configure."
33428
# First look for the input files in the build tree, otherwise in the
33430
ac_file_inputs=`IFS=:
33431
for f in $ac_file_in; do
33433
-) echo $tmp/stdin ;;
33435
# Absolute (can't be DOS-style, as IFS=:)
33436
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
33437
echo "$as_me: error: cannot find input file: $f" >&2;}
33438
{ (exit 1); exit 1; }; }
33441
if test -f "$f"; then
33444
elif test -f "$srcdir/$f"; then
33449
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
33450
echo "$as_me: error: cannot find input file: $f" >&2;}
33451
{ (exit 1); exit 1; }; }
33454
done` || { (exit 1); exit 1; }
33456
cat >>$CONFIG_STATUS <<_ACEOF
33460
cat >>$CONFIG_STATUS <<\_ACEOF
33462
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
33463
s,@configure_input@,$configure_input,;t t
33464
s,@srcdir@,$ac_srcdir,;t t
33465
s,@abs_srcdir@,$ac_abs_srcdir,;t t
33466
s,@top_srcdir@,$ac_top_srcdir,;t t
33467
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
33468
s,@builddir@,$ac_builddir,;t t
33469
s,@abs_builddir@,$ac_abs_builddir,;t t
33470
s,@top_builddir@,$ac_top_builddir,;t t
33471
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
33472
s,@INSTALL@,$ac_INSTALL,;t t
33473
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
33475
if test x"$ac_file" != x-; then
33476
mv $tmp/out $ac_file
33484
cat >>$CONFIG_STATUS <<\_ACEOF
33487
# CONFIG_HEADER section.
33490
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
33491
# NAME is the cpp macro being defined and VALUE is the value it is being given.
33493
# ac_d sets the value in "#define NAME VALUE" lines.
33494
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
33495
ac_dB='[ ].*$,\1#\2'
33498
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
33499
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
33500
ac_uB='$,\1#\2define\3'
33504
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
33505
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
33507
- | *:- | *:-:* ) # input from stdin
33509
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
33510
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
33511
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
33512
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
33513
* ) ac_file_in=$ac_file.in ;;
33516
test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
33517
echo "$as_me: creating $ac_file" >&6;}
33519
# First look for the input files in the build tree, otherwise in the
33521
ac_file_inputs=`IFS=:
33522
for f in $ac_file_in; do
33524
-) echo $tmp/stdin ;;
33526
# Absolute (can't be DOS-style, as IFS=:)
33527
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
33528
echo "$as_me: error: cannot find input file: $f" >&2;}
33529
{ (exit 1); exit 1; }; }
33530
# Do quote $f, to prevent DOS paths from being IFS'd.
33533
if test -f "$f"; then
33536
elif test -f "$srcdir/$f"; then
33541
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
33542
echo "$as_me: error: cannot find input file: $f" >&2;}
33543
{ (exit 1); exit 1; }; }
33546
done` || { (exit 1); exit 1; }
33547
# Remove the trailing spaces.
33548
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
33552
# Transform confdefs.h into two sed scripts, `conftest.defines' and
33553
# `conftest.undefs', that substitutes the proper values into
33554
# config.h.in to produce config.h. The first handles `#define'
33555
# templates, and the second `#undef' templates.
33556
# And first: Protect against being on the right side of a sed subst in
33557
# config.status. Protect against being in an unquoted here document
33558
# in config.status.
33559
rm -f conftest.defines conftest.undefs
33560
# Using a here document instead of a string reduces the quoting nightmare.
33561
# Putting comments in sed scripts is not portable.
33563
# `end' is used to avoid that the second main sed command (meant for
33564
# 0-ary CPP macros) applies to n-ary macro definitions.
33565
# See the Autoconf documentation for `clear'.
33566
cat >confdef2sed.sed <<\_ACEOF
33571
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
33573
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
33576
# If some macros were called several times there might be several times
33577
# the same #defines, which is useless. Nevertheless, we may not want to
33578
# sort them, since we want the *last* AC-DEFINE to be honored.
33579
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
33580
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
33581
rm -f confdef2sed.sed
33583
# This sed command replaces #undef with comments. This is necessary, for
33584
# example, in the case of _POSIX_SOURCE, which is predefined and required
33585
# on some systems where configure will not decide to define it.
33586
cat >>conftest.undefs <<\_ACEOF
33587
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
33590
# Break up conftest.defines because some shells have a limit on the size
33591
# of here documents, and old seds have small limits too (100 cmds).
33592
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
33593
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
33594
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
33595
echo ' :' >>$CONFIG_STATUS
33596
rm -f conftest.tail
33597
while grep . conftest.defines >/dev/null
33599
# Write a limited-size here document to $tmp/defines.sed.
33600
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
33601
# Speed up: don't consider the non `#define' lines.
33602
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
33603
# Work around the forget-to-reset-the-flag bug.
33604
echo 't clr' >>$CONFIG_STATUS
33605
echo ': clr' >>$CONFIG_STATUS
33606
sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
33608
sed -f $tmp/defines.sed $tmp/in >$tmp/out
33610
mv $tmp/out $tmp/in
33612
sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
33613
rm -f conftest.defines
33614
mv conftest.tail conftest.defines
33616
rm -f conftest.defines
33617
echo ' fi # grep' >>$CONFIG_STATUS
33618
echo >>$CONFIG_STATUS
33620
# Break up conftest.undefs because some shells have a limit on the size
33621
# of here documents, and old seds have small limits too (100 cmds).
33622
echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
33623
rm -f conftest.tail
33624
while grep . conftest.undefs >/dev/null
33626
# Write a limited-size here document to $tmp/undefs.sed.
33627
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
33628
# Speed up: don't consider the non `#undef'
33629
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
33630
# Work around the forget-to-reset-the-flag bug.
33631
echo 't clr' >>$CONFIG_STATUS
33632
echo ': clr' >>$CONFIG_STATUS
33633
sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
33635
sed -f $tmp/undefs.sed $tmp/in >$tmp/out
33637
mv $tmp/out $tmp/in
33639
sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
33640
rm -f conftest.undefs
33641
mv conftest.tail conftest.undefs
33643
rm -f conftest.undefs
33645
cat >>$CONFIG_STATUS <<\_ACEOF
33646
# Let's still pretend it is `configure' which instantiates (i.e., don't
33647
# use $as_me), people would be surprised to read:
33648
# /* config.h. Generated by config.status. */
33649
if test x"$ac_file" = x-; then
33650
echo "/* Generated by configure. */" >$tmp/config.h
33652
echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
33654
cat $tmp/in >>$tmp/config.h
33656
if test x"$ac_file" != x-; then
33657
if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
33658
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
33659
echo "$as_me: $ac_file is unchanged" >&6;}
33661
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
33662
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33663
X"$ac_file" : 'X\(//\)[^/]' \| \
33664
X"$ac_file" : 'X\(//\)$' \| \
33665
X"$ac_file" : 'X\(/\)' \| \
33666
. : '\(.\)' 2>/dev/null ||
33668
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
33669
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
33670
/^X\(\/\/\)$/{ s//\1/; q; }
33671
/^X\(\/\).*/{ s//\1/; q; }
33673
{ if $as_mkdir_p; then
33678
while test ! -d "$as_dir"; do
33679
as_dirs="$as_dir $as_dirs"
33680
as_dir=`(dirname "$as_dir") 2>/dev/null ||
33681
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33682
X"$as_dir" : 'X\(//\)[^/]' \| \
33683
X"$as_dir" : 'X\(//\)$' \| \
33684
X"$as_dir" : 'X\(/\)' \| \
33685
. : '\(.\)' 2>/dev/null ||
33687
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
33688
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
33689
/^X\(\/\/\)$/{ s//\1/; q; }
33690
/^X\(\/\).*/{ s//\1/; q; }
33693
test ! -n "$as_dirs" || mkdir $as_dirs
33694
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
33695
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
33696
{ (exit 1); exit 1; }; }; }
33699
mv $tmp/config.h $ac_file
33703
rm -f $tmp/config.h
33705
# Compute $ac_file's index in $config_headers.
33707
for _am_header in $config_headers :; do
33708
case $_am_header in
33709
$ac_file | $ac_file:* )
33712
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
33715
echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
33716
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33717
X$ac_file : 'X\(//\)[^/]' \| \
33718
X$ac_file : 'X\(//\)$' \| \
33719
X$ac_file : 'X\(/\)' \| \
33720
. : '\(.\)' 2>/dev/null ||
33722
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
33723
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
33724
/^X\(\/\/\)$/{ s//\1/; q; }
33725
/^X\(\/\).*/{ s//\1/; q; }
33726
s/.*/./; q'`/stamp-h$_am_stamp_count
33729
cat >>$CONFIG_STATUS <<\_ACEOF
33732
# CONFIG_COMMANDS section.
33734
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
33735
ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
33736
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
33737
ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
33738
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33739
X"$ac_dest" : 'X\(//\)[^/]' \| \
33740
X"$ac_dest" : 'X\(//\)$' \| \
33741
X"$ac_dest" : 'X\(/\)' \| \
33742
. : '\(.\)' 2>/dev/null ||
33744
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
33745
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
33746
/^X\(\/\/\)$/{ s//\1/; q; }
33747
/^X\(\/\).*/{ s//\1/; q; }
33749
{ if $as_mkdir_p; then
33754
while test ! -d "$as_dir"; do
33755
as_dirs="$as_dir $as_dirs"
33756
as_dir=`(dirname "$as_dir") 2>/dev/null ||
33757
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33758
X"$as_dir" : 'X\(//\)[^/]' \| \
33759
X"$as_dir" : 'X\(//\)$' \| \
33760
X"$as_dir" : 'X\(/\)' \| \
33761
. : '\(.\)' 2>/dev/null ||
33763
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
33764
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
33765
/^X\(\/\/\)$/{ s//\1/; q; }
33766
/^X\(\/\).*/{ s//\1/; q; }
33769
test ! -n "$as_dirs" || mkdir $as_dirs
33770
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
33771
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
33772
{ (exit 1); exit 1; }; }; }
33776
if test "$ac_dir" != .; then
33777
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
33778
# A "../" for each directory in $ac_dir_suffix.
33779
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
33781
ac_dir_suffix= ac_top_builddir=
33785
.) # No --srcdir option. We are building in place.
33787
if test -z "$ac_top_builddir"; then
33790
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
33792
[\\/]* | ?:[\\/]* ) # Absolute path.
33793
ac_srcdir=$srcdir$ac_dir_suffix;
33794
ac_top_srcdir=$srcdir ;;
33795
*) # Relative path.
33796
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
33797
ac_top_srcdir=$ac_top_builddir$srcdir ;;
33800
# Do not use `cd foo && pwd` to compute absolute paths, because
33801
# the directories may not exist.
33803
.) ac_abs_builddir="$ac_dir";;
33806
.) ac_abs_builddir=`pwd`;;
33807
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
33808
*) ac_abs_builddir=`pwd`/"$ac_dir";;
33811
case $ac_abs_builddir in
33812
.) ac_abs_top_builddir=${ac_top_builddir}.;;
33814
case ${ac_top_builddir}. in
33815
.) ac_abs_top_builddir=$ac_abs_builddir;;
33816
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
33817
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
33820
case $ac_abs_builddir in
33821
.) ac_abs_srcdir=$ac_srcdir;;
33824
.) ac_abs_srcdir=$ac_abs_builddir;;
33825
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
33826
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
33829
case $ac_abs_builddir in
33830
.) ac_abs_top_srcdir=$ac_top_srcdir;;
33832
case $ac_top_srcdir in
33833
.) ac_abs_top_srcdir=$ac_abs_builddir;;
33834
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
33835
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
33840
{ echo "$as_me:$LINENO: executing $ac_dest commands" >&5
33841
echo "$as_me: executing $ac_dest commands" >&6;}
33843
depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
33844
# Strip MF so we end up with the name of the file.
33845
mf=`echo "$mf" | sed -e 's/:.*$//'`
33846
# Check whether this is an Automake generated Makefile or not.
33847
# We used to match only the files named `Makefile.in', but
33848
# some people rename them; so instead we look at the file content.
33849
# Grep'ing the first line is not enough: some people post-process
33850
# each Makefile.in and add a new line on top of each file to say so.
33851
# So let's grep whole file.
33852
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
33853
dirpart=`(dirname "$mf") 2>/dev/null ||
33854
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33855
X"$mf" : 'X\(//\)[^/]' \| \
33856
X"$mf" : 'X\(//\)$' \| \
33857
X"$mf" : 'X\(/\)' \| \
33858
. : '\(.\)' 2>/dev/null ||
33860
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
33861
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
33862
/^X\(\/\/\)$/{ s//\1/; q; }
33863
/^X\(\/\).*/{ s//\1/; q; }
33868
# Extract the definition of DEPDIR, am__include, and am__quote
33869
# from the Makefile without running `make'.
33870
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
33871
test -z "$DEPDIR" && continue
33872
am__include=`sed -n 's/^am__include = //p' < "$mf"`
33873
test -z "am__include" && continue
33874
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
33875
# When using ansi2knr, U may be empty or an underscore; expand it
33876
U=`sed -n 's/^U = //p' < "$mf"`
33877
# Find all dependency output files, they are included files with
33878
# $(DEPDIR) in their names. We invoke sed twice because it is the
33879
# simplest approach to changing $(DEPDIR) to its actual value in the
33881
for file in `sed -n "
33882
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
33883
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
33884
# Make sure the directory exists.
33885
test -f "$dirpart/$file" && continue
33886
fdir=`(dirname "$file") 2>/dev/null ||
33887
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33888
X"$file" : 'X\(//\)[^/]' \| \
33889
X"$file" : 'X\(//\)$' \| \
33890
X"$file" : 'X\(/\)' \| \
33891
. : '\(.\)' 2>/dev/null ||
33893
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
33894
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
33895
/^X\(\/\/\)$/{ s//\1/; q; }
33896
/^X\(\/\).*/{ s//\1/; q; }
33898
{ if $as_mkdir_p; then
33899
mkdir -p $dirpart/$fdir
33901
as_dir=$dirpart/$fdir
33903
while test ! -d "$as_dir"; do
33904
as_dirs="$as_dir $as_dirs"
33905
as_dir=`(dirname "$as_dir") 2>/dev/null ||
33906
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33907
X"$as_dir" : 'X\(//\)[^/]' \| \
33908
X"$as_dir" : 'X\(//\)$' \| \
33909
X"$as_dir" : 'X\(/\)' \| \
33910
. : '\(.\)' 2>/dev/null ||
33912
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
33913
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
33914
/^X\(\/\/\)$/{ s//\1/; q; }
33915
/^X\(\/\).*/{ s//\1/; q; }
33918
test ! -n "$as_dirs" || mkdir $as_dirs
33919
fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
33920
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
33921
{ (exit 1); exit 1; }; }; }
33923
# echo "creating $dirpart/$file"
33924
echo '# dummy' > "$dirpart/$file"
33932
cat >>$CONFIG_STATUS <<\_ACEOF
33934
{ (exit 0); exit 0; }
33936
chmod +x $CONFIG_STATUS
33937
ac_clean_files=$ac_clean_files_save
33940
# configure is writing to config.log, and then calls config.status.
33941
# config.status does its own redirection, appending to config.log.
33942
# Unfortunately, on DOS this fails, as config.log is still kept open
33943
# by configure, so config.status won't be able to write to it; its
33944
# output is simply discarded. So we exec the FD to /dev/null,
33945
# effectively closing config.log, so it can be properly (re)opened and
33946
# appended to by config.status. When coming back to configure, we
33947
# need to make the FD available again.
33948
if test "$no_create" != yes; then
33950
ac_config_status_args=
33951
test "$silent" = yes &&
33952
ac_config_status_args="$ac_config_status_args --quiet"
33954
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
33956
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
33957
# would make configure fail if this is the last instruction.
33958
$ac_cs_success || { (exit 1); exit 1; }
33962
if test "x$use_libbonoboui" = "xno"; then
33964
echo "********************************************************************"
33965
echo " WARNING: You do not have the bonobo development packages installed"
33966
echo " These are not required, but strongly recommended, as they improve"
33967
echo " some aspects of the theme engine."
33968
echo "********************************************************************"
33972
cat >>confdefs.h <<\_ACEOF
33973
#define HAVE_BONOBO 1
33978
if test "$all_tests" = "bad"; then
33979
if test ! "$cache_file" = "/dev/null"; then
33981
echo "Please remove the file $cache_file after changing your setup"
33982
echo "so that configure will find the changes next time."
33987
echo "Good - your configure finished. Start make now"